@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
69 lines (68 loc) • 1.96 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving sets of cloud IPs.
*
* * [Official documentation](https://grafana.com/docs/grafana-cloud/reference/allow-list/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumiverse/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 the OTLP Gateway.
*/
readonly hostedOtlps: string[];
/**
* Set of IP addresses that are used for hosted profiles.
*/
readonly hostedProfiles: string[];
/**
* Set of IP addresses that are used for hosted traces.
*/
readonly hostedTraces: string[];
/**
* The ID of this datasource. This is an internal identifier used by the provider to track this datasource.
*/
readonly id: string;
}
/**
* Data source for retrieving sets of cloud IPs.
*
* * [Official documentation](https://grafana.com/docs/grafana-cloud/reference/allow-list/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumiverse/grafana";
*
* const test = grafana.cloud.getIps({});
* ```
*/
export declare function getIpsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpsResult>;