config

package
v4.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApiKey

func GetApiKey(ctx *pulumi.Context) string

(Required unless validate is false) Datadog API key. This can also be set via the DD_API_KEY environment variable.

func GetApiUrl

func GetApiUrl(ctx *pulumi.Context) string

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

func GetAppKey(ctx *pulumi.Context) string

(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

func GetHttpClientRetryBackoffBase(ctx *pulumi.Context) int

The HTTP request retry back off base. Defaults to 2.

func GetHttpClientRetryBackoffMultiplier added in v4.16.0

func GetHttpClientRetryBackoffMultiplier(ctx *pulumi.Context) int

The HTTP request retry back off multiplier. Defaults to 2.

func GetHttpClientRetryEnabled

func GetHttpClientRetryEnabled(ctx *pulumi.Context) string

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

func GetHttpClientRetryMaxRetries(ctx *pulumi.Context) int

The HTTP request maximum retry number. Defaults to 3.

func GetHttpClientRetryTimeout

func GetHttpClientRetryTimeout(ctx *pulumi.Context) int

The HTTP request retry timeout period. Defaults to 60 seconds.

func GetValidate

func GetValidate(ctx *pulumi.Context) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL