Documentation ¶
Index ¶
- func GetApiKey(ctx *pulumi.Context) string
- func GetApiUrl(ctx *pulumi.Context) string
- func GetAppKey(ctx *pulumi.Context) string
- func GetHttpClientRetryBackoffBase(ctx *pulumi.Context) int
- func GetHttpClientRetryBackoffMultiplier(ctx *pulumi.Context) int
- func GetHttpClientRetryEnabled(ctx *pulumi.Context) string
- func GetHttpClientRetryMaxRetries(ctx *pulumi.Context) int
- func GetHttpClientRetryTimeout(ctx *pulumi.Context) int
- func GetValidate(ctx *pulumi.Context) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApiKey ¶
(Required unless validate is false) Datadog API key. This can also be set via the DD_API_KEY environment variable.
func GetApiUrl ¶
The API URL. This can also be set via the DD_HOST environment variable. Note that this URL must not end with the `/api/` path. For example, `https://api.datadoghq.com/` is a correct value, while `https://api.datadoghq.com/api/` is not. And if you're working with "EU" version of Datadog, use `https://api.datadoghq.eu/`. Other Datadog region examples: `https://api.us5.datadoghq.com/`, `https://api.us3.datadoghq.com/` and `https://api.ddog-gov.com/`. See https://docs.datadoghq.com/getting_started/site/ for all available regions.
func GetAppKey ¶
(Required unless validate is false) Datadog APP key. This can also be set via the DD_APP_KEY environment variable.
func GetHttpClientRetryBackoffBase ¶ added in v4.16.0
The HTTP request retry back off base. Defaults to 2.
func GetHttpClientRetryBackoffMultiplier ¶ added in v4.16.0
The HTTP request retry back off multiplier. Defaults to 2.
func GetHttpClientRetryEnabled ¶
Enables request retries on HTTP status codes 429 and 5xx. Valid values are [`true`, `false`]. Defaults to `true`.
func GetHttpClientRetryMaxRetries ¶ added in v4.16.0
The HTTP request maximum retry number. Defaults to 3.
func GetHttpClientRetryTimeout ¶
The HTTP request retry timeout period. Defaults to 60 seconds.
func GetValidate ¶
Enables validation of the provided API key during provider initialization. Valid values are [`true`, `false`]. Default is true. When false, apiKey won't be checked.
Types ¶
This section is empty.