@pulumi/cloud-sdk - v2026.10.9
    Preparing search index...

    Class ApiClientConfiguration

    Connection settings shared by every generated apis.* class.

    Index
    • Parameters

      • apiHost: string = "https://api.pulumi.com/api/"

        API base URL, including the /api/ prefix and a trailing slash, e.g. https://api.pulumi.com/api/.

      • source: string = "pulumi-cloud-sdk"

        Value sent as the X-Pulumi-Source header.

      • getToken: () => string | null = ...

        Returns the Pulumi access token, sent as Authorization: token <token>. Return null for unauthenticated requests.

      • version: number = 8

        API version negotiated via the Accept: application/vnd.pulumi+<version> header.

      • errorHandler: (error: ApiError) => void = ...

        Optional hook invoked with every settled error, in addition to the rejected Future. Throwing from it is swallowed.

      Returns ApiClientConfiguration

    apiHost: string = "https://api.pulumi.com/api/"

    API base URL, including the /api/ prefix and a trailing slash, e.g. https://api.pulumi.com/api/.

    errorHandler: (error: ApiError) => void = ...

    Optional hook invoked with every settled error, in addition to the rejected Future. Throwing from it is swallowed.

    getToken: () => string | null = ...

    Returns the Pulumi access token, sent as Authorization: token <token>. Return null for unauthenticated requests.

    source: string = "pulumi-cloud-sdk"

    Value sent as the X-Pulumi-Source header.

    version: number = 8

    API version negotiated via the Accept: application/vnd.pulumi+<version> header.