@lbrlabs/pulumi-grafana
Version:
A Pulumi package for creating and managing grafana.
90 lines (89 loc) • 4.32 kB
TypeScript
/**
* 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 (or API key) for Grafana Cloud. May alternatively be set via the `GRAFANA_CLOUD_API_KEY` environment
* variable.
*/
export declare const cloudApiKey: 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;
/**
* 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;
/**
* A Grafana OnCall access token. May alternatively be set via the `GRAFANA_ONCALL_ACCESS_TOKEN` environment variable.
*/
export declare const oncallAccessToken: string | undefined;
/**
* An Grafana OnCall backend address. May alternatively be set via the `GRAFANA_ONCALL_URL` environment variable.
*/
export declare const oncallUrl: string | undefined;
/**
* Deprecated: Use the `org_id` attributes on resources instead.
*/
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/monitor-public-endpoints/private-probes/#probe-api-server-url).
* Note the `sm_url` value is optional, but it must correspond with the value specified as the `region_slug` 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 `sm_url` set to the same value for
* each provider ensures all providers interact with the same SM API.
*/
export declare const smUrl: string | 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;