config

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0 Imports: 10 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/.

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 GetHttpClientRetryEnabled added in v3.2.0

func GetHttpClientRetryEnabled(ctx *pulumi.Context) bool

Enables request retries on HTTP status codes 429 and 5xx.

func GetHttpClientRetryTimeout added in v3.2.0

func GetHttpClientRetryTimeout(ctx *pulumi.Context) int

The HTTP request retry timeout period.

func GetValidate

func GetValidate(ctx *pulumi.Context) bool

Enables validation of the provided API and APP keys during provider initialization. Default is true. When false, api_key and app_key won't be checked.

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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