@digitalocean/dots - v1.0.1
    Preparing search index...

    Builds and executes requests for operations under /v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id}/recycle

    interface RecycleRequestBuilder {
        post(
            body: RecyclePostRequestBody,
            requestConfiguration?: RequestConfiguration<object>,
        ): Promise<void>;
        toPostRequestInformation(
            body: RecyclePostRequestBody,
            requestConfiguration?: RequestConfiguration<object>,
        ): RequestInformation;
        withUrl(rawUrl: string): RecycleRequestBuilder;
    }

    Hierarchy

    Index

    Methods

    post

    • post(
          body: RecyclePostRequestBody,
          requestConfiguration?: RequestConfiguration<object>,
      ): Promise<void>

      The endpoint has been deprecated. Please use the DELETE/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID/nodes/$NODE_IDmethod instead.

      Parameters

      • body: RecyclePostRequestBody

        The request body

      • OptionalrequestConfiguration: RequestConfiguration<object>

        Configuration for the request such as headers, query parameters, and middleware options.

      Returns Promise<void>

      error when the service returns a 401 status code

      error when the service returns a 404 status code

      error when the service returns a 429 status code

      error when the service returns a 500 status code

      error when the service returns a 4XX or 5XX status code

    • The endpoint has been deprecated. Please use the DELETE/v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID/nodes/$NODE_IDmethod instead.

      Parameters

      • body: RecyclePostRequestBody

        The request body

      • OptionalrequestConfiguration: RequestConfiguration<object>

        Configuration for the request such as headers, query parameters, and middleware options.

      Returns RequestInformation

    • Parameters

      • rawUrl: string

      Returns RecycleRequestBuilder