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

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

    interface HistoryRequestBuilder {
        get(
            requestConfiguration?: RequestConfiguration<
                HistoryRequestBuilderGetQueryParameters,
            >,
        ): Promise<undefined | HistoryGetResponse>;
        toGetRequestInformation(
            requestConfiguration?: RequestConfiguration<
                HistoryRequestBuilderGetQueryParameters,
            >,
        ): RequestInformation;
        withUrl(rawUrl: string): HistoryRequestBuilder;
    }

    Hierarchy

    Index

    Methods

    • To list all of the scaling history events of an autoscale pool, send a GET request to /v2/droplets/autoscale/$AUTOSCALE_POOL_ID/history.The response body will be a JSON object with a key of history. This will beset to an array containing objects each representing a history event.

      Parameters

      Returns Promise<undefined | HistoryGetResponse>

      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 all of the scaling history events of an autoscale pool, send a GET request to /v2/droplets/autoscale/$AUTOSCALE_POOL_ID/history.The response body will be a JSON object with a key of history. This will beset to an array containing objects each representing a history event.

      Parameters

      Returns RequestInformation

    • Parameters

      • rawUrl: string

      Returns HistoryRequestBuilder