@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
73 lines (72 loc) • 2.04 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Example Usage
*/
export declare function getApp(args: GetAppArgs, opts?: pulumi.InvokeOptions): Promise<GetAppResult>;
/**
* A collection of arguments for invoking getApp.
*/
export interface GetAppArgs {
/**
* The name of the Frontend Observability App. Part of the Terraform Resource ID.
*/
name: string;
/**
* The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.
*/
stackId: number;
}
/**
* A collection of values returned by getApp.
*/
export interface GetAppResult {
/**
* A list of allowed origins for CORS.
*/
readonly allowedOrigins: string[];
/**
* The collector URL Grafana Cloud Frontend Observability. Use this endpoint to send your Telemetry.
*/
readonly collectorEndpoint: string;
/**
* The extra attributes to append in each signal.
*/
readonly extraLogAttributes: {
[]: string;
};
/**
* The Terraform Resource ID. This auto-generated from Frontend Observability API.
*/
readonly id: number;
/**
* The name of the Frontend Observability App. Part of the Terraform Resource ID.
*/
readonly name: string;
/**
* The settings of the Frontend Observability App.
*/
readonly settings: {
[]: string;
};
/**
* The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.
*/
readonly stackId: number;
}
/**
* ## Example Usage
*/
export declare function getAppOutput(args: GetAppOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppResult>;
/**
* A collection of arguments for invoking getApp.
*/
export interface GetAppOutputArgs {
/**
* The name of the Frontend Observability App. Part of the Terraform Resource ID.
*/
name: pulumi.Input<string>;
/**
* The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.
*/
stackId: pulumi.Input<number>;
}