Documentation ¶
Index ¶
- func GetApiKey(ctx *pulumi.Context) string
- func GetApiUrl(ctx *pulumi.Context) string
- func GetAppKey(ctx *pulumi.Context) string
- func GetHttpClientRetryEnabled(ctx *pulumi.Context) bool
- func GetHttpClientRetryTimeout(ctx *pulumi.Context) int
- func GetValidate(ctx *pulumi.Context) bool
- func PkgVersion() (semver.Version, error)
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/.
func GetAppKey ¶
(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
Enables request retries on HTTP status codes 429 and 5xx.
func GetHttpClientRetryTimeout ¶ added in v3.2.0
The HTTP request retry timeout period.
func GetValidate ¶
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 ¶
PkgVersion uses reflection to determine the version of the current package.
Types ¶
This section is empty.