config

package
v2.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 9 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 GetValidate added in v2.2.0

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 added in v2.16.0

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