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

    Builds and executes requests for operations under /v2/droplets/autoscale/{autoscale_pool_id}/members

    interface MembersRequestBuilder {
        get(
            requestConfiguration?: RequestConfiguration<
                MembersRequestBuilderGetQueryParameters,
            >,
        ): Promise<undefined | MembersGetResponse>;
        toGetRequestInformation(
            requestConfiguration?: RequestConfiguration<
                MembersRequestBuilderGetQueryParameters,
            >,
        ): RequestInformation;
        withUrl(rawUrl: string): MembersRequestBuilder;
    }

    Hierarchy

    Index

    Methods

    • To list the Droplets in an autoscale pool, send a GET request to /v2/droplets/autoscale/$AUTOSCALE_POOL_ID/members.The response body will be a JSON object with a key of droplets. This will beset to an array containing information about each of the Droplets in the autoscale pool.

      Parameters

      Returns Promise<undefined | MembersGetResponse>

      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

    • To list the Droplets in an autoscale pool, send a GET request to /v2/droplets/autoscale/$AUTOSCALE_POOL_ID/members.The response body will be a JSON object with a key of droplets. This will beset to an array containing information about each of the Droplets in the autoscale pool.

      Parameters

      Returns RequestInformation

    • Parameters

      • rawUrl: string

      Returns MembersRequestBuilder