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

    Builds and executes requests for operations under /v2/droplets/{droplet_id}/destroy_with_associated_resources/retry

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

    Hierarchy

    Index

    Methods

    post

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

      If the status of a request to destroy a Droplet with its associated resourcesreported any errors, it can be retried by sending a POST request to the/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/retry endpoint.Only one destroy can be active at a time per Droplet. If a retry is issuedwhile another destroy is in progress for the Droplet a 409 status code willbe returned. A successful response will include a 202 response code and nocontent.

      Parameters

      • 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 409 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

    • If the status of a request to destroy a Droplet with its associated resourcesreported any errors, it can be retried by sending a POST request to the/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/retry endpoint.Only one destroy can be active at a time per Droplet. If a retry is issuedwhile another destroy is in progress for the Droplet a 409 status code willbe returned. A successful response will include a 202 response code and nocontent.

      Parameters

      • OptionalrequestConfiguration: RequestConfiguration<object>

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

      Returns RequestInformation

    • Parameters

      • rawUrl: string

      Returns RetryRequestBuilder