config

package
v0.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuth

func GetAuth(ctx *pulumi.Context) string

API token, basic auth in the `username:password` format or `anonymous` (string literal). May alternatively be set via the `GRAFANA_AUTH` environment variable.

func GetCaCert

func GetCaCert(ctx *pulumi.Context) string

Certificate CA bundle (file path or literal value) to use to verify the Grafana server's certificate. May alternatively be set via the `GRAFANA_CA_CERT` environment variable.

func GetCloudAccessPolicyToken

func GetCloudAccessPolicyToken(ctx *pulumi.Context) string

Access Policy Token for Grafana Cloud. May alternatively be set via the `GRAFANA_CLOUD_ACCESS_POLICY_TOKEN` environment variable.

func GetCloudApiKey deprecated

func GetCloudApiKey(ctx *pulumi.Context) string

Deprecated: Use `cloudAccessPolicyToken` instead.

Deprecated: Use `cloudAccessPolicyToken` instead.

func GetCloudApiUrl

func GetCloudApiUrl(ctx *pulumi.Context) string

Grafana Cloud's API URL. May alternatively be set via the `GRAFANA_CLOUD_API_URL` environment variable.

func GetInsecureSkipVerify

func GetInsecureSkipVerify(ctx *pulumi.Context) bool

Skip TLS certificate verification. May alternatively be set via the `GRAFANA_INSECURE_SKIP_VERIFY` environment variable.

func GetOncallAccessToken

func GetOncallAccessToken(ctx *pulumi.Context) string

A Grafana OnCall access token. May alternatively be set via the `GRAFANA_ONCALL_ACCESS_TOKEN` environment variable.

func GetOncallUrl

func GetOncallUrl(ctx *pulumi.Context) string

An Grafana OnCall backend address. May alternatively be set via the `GRAFANA_ONCALL_URL` environment variable.

func GetOrgId deprecated

func GetOrgId(ctx *pulumi.Context) int

Deprecated: Use the `orgId` attributes on resources instead.

Deprecated: Use the `orgId` attributes on resources instead.

func GetRetries

func GetRetries(ctx *pulumi.Context) int

The amount of retries to use for Grafana API and Grafana Cloud API calls. May alternatively be set via the `GRAFANA_RETRIES` environment variable.

func GetRetryStatusCodes

func GetRetryStatusCodes(ctx *pulumi.Context) string

The status codes to retry on for Grafana API and Grafana Cloud API calls. Use `x` as a digit wildcard. Defaults to 429 and 5xx. May alternatively be set via the `GRAFANA_RETRY_STATUS_CODES` environment variable.

func GetRetryWait

func GetRetryWait(ctx *pulumi.Context) int

The amount of time in seconds to wait between retries for Grafana API and Grafana Cloud API calls. May alternatively be set via the `GRAFANA_RETRY_WAIT` environment variable.

func GetSmAccessToken

func GetSmAccessToken(ctx *pulumi.Context) string

A Synthetic Monitoring access token. May alternatively be set via the `GRAFANA_SM_ACCESS_TOKEN` environment variable.

func GetSmUrl

func GetSmUrl(ctx *pulumi.Context) string

func GetStoreDashboardSha256

func GetStoreDashboardSha256(ctx *pulumi.Context) bool

Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate.

func GetTlsCert

func GetTlsCert(ctx *pulumi.Context) string

Client TLS certificate (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the `GRAFANA_TLS_CERT` environment variable.

func GetTlsKey

func GetTlsKey(ctx *pulumi.Context) string

Client TLS key (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the `GRAFANA_TLS_KEY` environment variable.

func GetUrl

func GetUrl(ctx *pulumi.Context) string

The root URL of a Grafana server. May alternatively be set via the `GRAFANA_URL` environment variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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