Documentation ¶
Index ¶
- func GetAuth(ctx *pulumi.Context) string
- func GetCaCert(ctx *pulumi.Context) string
- func GetCloudAccessPolicyToken(ctx *pulumi.Context) string
- func GetCloudApiKey(ctx *pulumi.Context) stringdeprecated
- func GetCloudApiUrl(ctx *pulumi.Context) string
- func GetInsecureSkipVerify(ctx *pulumi.Context) bool
- func GetOncallAccessToken(ctx *pulumi.Context) string
- func GetOncallUrl(ctx *pulumi.Context) string
- func GetOrgId(ctx *pulumi.Context) intdeprecated
- func GetRetries(ctx *pulumi.Context) int
- func GetRetryStatusCodes(ctx *pulumi.Context) string
- func GetRetryWait(ctx *pulumi.Context) int
- func GetSmAccessToken(ctx *pulumi.Context) string
- func GetSmUrl(ctx *pulumi.Context) string
- func GetStoreDashboardSha256(ctx *pulumi.Context) bool
- func GetTlsCert(ctx *pulumi.Context) string
- func GetTlsKey(ctx *pulumi.Context) string
- func GetUrl(ctx *pulumi.Context) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuth ¶
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 ¶
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 ¶
Access Policy Token for Grafana Cloud. May alternatively be set via the `GRAFANA_CLOUD_ACCESS_POLICY_TOKEN` environment variable.
func GetCloudApiKey
deprecated
func GetCloudApiUrl ¶
Grafana Cloud's API URL. May alternatively be set via the `GRAFANA_CLOUD_API_URL` environment variable.
func GetInsecureSkipVerify ¶
Skip TLS certificate verification. May alternatively be set via the `GRAFANA_INSECURE_SKIP_VERIFY` environment variable.
func GetOncallAccessToken ¶
A Grafana OnCall access token. May alternatively be set via the `GRAFANA_ONCALL_ACCESS_TOKEN` environment variable.
func GetOncallUrl ¶
An Grafana OnCall backend address. May alternatively be set via the `GRAFANA_ONCALL_URL` environment variable.
func GetRetries ¶
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 ¶
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 ¶
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 ¶
A Synthetic Monitoring access token. May alternatively be set via the `GRAFANA_SM_ACCESS_TOKEN` environment variable.
func GetStoreDashboardSha256 ¶
Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate.
func GetTlsCert ¶
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.
Types ¶
This section is empty.