@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
57 lines (56 loc) • 1.64 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving sets of cloud IPs. See https://grafana.com/docs/grafana-cloud/reference/allow-list/ for more info
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const test = grafana.cloud.getIps({});
* ```
*/
export declare function getIps(opts?: pulumi.InvokeOptions): Promise<GetIpsResult>;
/**
* A collection of values returned by getIps.
*/
export interface GetIpsResult {
/**
* Set of IP addresses that are used for hosted alerts.
*/
readonly hostedAlerts: string[];
/**
* Set of IP addresses that are used for hosted Grafana.
*/
readonly hostedGrafanas: string[];
/**
* Set of IP addresses that are used for hosted logs.
*/
readonly hostedLogs: string[];
/**
* Set of IP addresses that are used for hosted metrics.
*/
readonly hostedMetrics: string[];
/**
* Set of IP addresses that are used for hosted traces.
*/
readonly hostedTraces: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
}
/**
* Data source for retrieving sets of cloud IPs. See https://grafana.com/docs/grafana-cloud/reference/allow-list/ for more info
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const test = grafana.cloud.getIps({});
* ```
*/
export declare function getIpsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpsResult>;