UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

119 lines (118 loc) 6.97 kB
/** * API token, basic auth in the `username:password` format or `anonymous` (string literal). May alternatively be set via the `GRAFANA_AUTH` environment variable. */ export declare const auth: string | undefined; /** * 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. */ export declare const caCert: string | undefined; /** * Access Policy Token for Grafana Cloud. May alternatively be set via the `GRAFANA_CLOUD_ACCESS_POLICY_TOKEN` environment variable. */ export declare const cloudAccessPolicyToken: string | undefined; /** * Grafana Cloud's API URL. May alternatively be set via the `GRAFANA_CLOUD_API_URL` environment variable. */ export declare const cloudApiUrl: string | undefined; /** * A Grafana Cloud Provider access token. May alternatively be set via the `GRAFANA_CLOUD_PROVIDER_ACCESS_TOKEN` environment variable. */ export declare const cloudProviderAccessToken: string | undefined; /** * A Grafana Cloud Provider backend address. May alternatively be set via the `GRAFANA_CLOUD_PROVIDER_URL` environment variable. */ export declare const cloudProviderUrl: string | undefined; /** * A Grafana Connections API access token. May alternatively be set via the `GRAFANA_CONNECTIONS_API_ACCESS_TOKEN` environment variable. */ export declare const connectionsApiAccessToken: string | undefined; /** * A Grafana Connections API address. May alternatively be set via the `GRAFANA_CONNECTIONS_API_URL` environment variable. */ export declare const connectionsApiUrl: string | undefined; /** * A Grafana Fleet Management basic auth in the `username:password` format. May alternatively be set via the `GRAFANA_FLEET_MANAGEMENT_AUTH` environment variable. */ export declare const fleetManagementAuth: string | undefined; /** * A Grafana Fleet Management API address. May alternatively be set via the `GRAFANA_FLEET_MANAGEMENT_URL` environment variable. */ export declare const fleetManagementUrl: string | undefined; /** * A Grafana Frontend Observability API access token. May alternatively be set via the `GRAFANA_FRONTEND_O11Y_API_ACCESS_TOKEN` environment variable. */ export declare const frontendO11yApiAccessToken: string | undefined; /** * The Grafana Frontend Observability API URL. This is optional, and should only be set to override the default API. May alternatively be set via the `GRAFANA_FRONTEND_O11Y_API_URL` environment variable. */ export declare const frontendO11yApiUrl: string | undefined; /** * Optional. HTTP headers mapping keys to values used for accessing the Grafana and Grafana Cloud APIs. May alternatively be set via the `GRAFANA_HTTP_HEADERS` environment variable in JSON format. */ export declare const httpHeaders: { [key: string]: string; } | undefined; /** * Skip TLS certificate verification. May alternatively be set via the `GRAFANA_INSECURE_SKIP_VERIFY` environment variable. */ export declare const insecureSkipVerify: boolean | undefined; /** * The k6 Cloud API token. May alternatively be set via the `GRAFANA_K6_ACCESS_TOKEN` environment variable. */ export declare const k6AccessToken: string | undefined; /** * The k6 Cloud API url. May alternatively be set via the `GRAFANA_K6_URL` environment variable. */ export declare const k6Url: string | undefined; /** * A Grafana OnCall access token. May alternatively be set via the `GRAFANA_ONCALL_ACCESS_TOKEN` environment variable. This is only required when using a dedicated OnCall API token. When using Grafana Cloud, OnCall can be accessed through the `auth` and `url` provider attributes instead. */ export declare const oncallAccessToken: string | undefined; /** * A Grafana OnCall backend address. May alternatively be set via the `GRAFANA_ONCALL_URL` environment variable. This is only required when using Grafana OnCall OSS. In Grafana Cloud, the OnCall URL is automatically inferred from the Grafana instance URL. */ export declare const oncallUrl: string | undefined; /** * The Grafana org ID, if you are using a self-hosted OSS or enterprise Grafana instance. May alternatively be set via the `GRAFANA_ORG_ID` environment variable. */ export declare const orgId: number | undefined; /** * The amount of retries to use for Grafana API and Grafana Cloud API calls. May alternatively be set via the `GRAFANA_RETRIES` environment variable. */ export declare const retries: number | undefined; /** * 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. */ export declare const retryStatusCodes: string[] | undefined; /** * 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. */ export declare const retryWait: number | undefined; /** * A Synthetic Monitoring access token. May alternatively be set via the `GRAFANA_SM_ACCESS_TOKEN` environment variable. */ export declare const smAccessToken: string | undefined; /** * Synthetic monitoring backend address. May alternatively be set via the `GRAFANA_SM_URL` environment variable. The correct value for each service region is cited in the [Synthetic Monitoring documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url). Note the `smUrl` value is optional, but it must correspond with the value specified as the `regionSlug` in the `grafana.cloud.Stack` resource. Also note that when a Terraform configuration contains multiple provider instances managing SM resources associated with the same Grafana stack, specifying an explicit `smUrl` set to the same value for each provider ensures all providers interact with the same SM API. */ export declare const smUrl: string | undefined; /** * The Grafana stack ID, if you are using a Grafana Cloud stack. May alternatively be set via the `GRAFANA_STACK_ID` environment variable. */ export declare const stackId: number | undefined; /** * Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate. */ export declare const storeDashboardSha256: boolean | undefined; /** * 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. */ export declare const tlsCert: string | undefined; /** * 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. */ export declare const tlsKey: string | undefined; /** * The root URL of a Grafana server. May alternatively be set via the `GRAFANA_URL` environment variable. */ export declare const url: string | undefined;