ProviderArgs

data class ProviderArgs(val apiEndpoint: Output<String>? = null, val httpRetryMax: Output<Int>? = null, val httpRetryWaitMax: Output<Double>? = null, val httpRetryWaitMin: Output<Double>? = null, val requestsPerSecond: Output<Double>? = null, val spacesAccessId: Output<String>? = null, val spacesEndpoint: Output<String>? = null, val spacesSecretKey: Output<String>? = null, val token: Output<String>? = null) : ConvertibleToJava<ProviderArgs>

The provider type for the digitalocean package. By default, resources use package-wide configuration settings, however an explicit Provider instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.

Constructors

Link copied to clipboard
constructor(apiEndpoint: Output<String>? = null, httpRetryMax: Output<Int>? = null, httpRetryWaitMax: Output<Double>? = null, httpRetryWaitMin: Output<Double>? = null, requestsPerSecond: Output<Double>? = null, spacesAccessId: Output<String>? = null, spacesEndpoint: Output<String>? = null, spacesSecretKey: Output<String>? = null, token: Output<String>? = null)

Properties

Link copied to clipboard
val apiEndpoint: Output<String>? = null

The URL to use for the DigitalOcean API.

Link copied to clipboard
val httpRetryMax: Output<Int>? = null

The maximum number of retries on a failed API request.

Link copied to clipboard
val httpRetryWaitMax: Output<Double>? = null

The maximum wait time (in seconds) between failed API requests.

Link copied to clipboard
val httpRetryWaitMin: Output<Double>? = null

The minimum wait time (in seconds) between failed API requests.

Link copied to clipboard
val requestsPerSecond: Output<Double>? = null

The rate of requests per second to limit the HTTP client.

Link copied to clipboard
val spacesAccessId: Output<String>? = null

The access key ID for Spaces API operations.

Link copied to clipboard
val spacesEndpoint: Output<String>? = null

The URL to use for the DigitalOcean Spaces API.

Link copied to clipboard
val spacesSecretKey: Output<String>? = null

The secret access key for Spaces API operations.

Link copied to clipboard
val token: Output<String>? = null

The token key for API operations.

Functions

Link copied to clipboard
open override fun toJava(): ProviderArgs