@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
108 lines (107 loc) • 3.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Example Usage
*
* ## Import
*
* ```sh
* $ pulumi import grafana:frontendObservability/app:App name "{{ stack_id }}:{{ name }}"
* ```
*/
export declare class App extends pulumi.CustomResource {
/**
* Get an existing App resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AppState, opts?: pulumi.CustomResourceOptions): App;
/**
* Returns true if the given object is an instance of App. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is App;
/**
* A list of allowed origins for CORS.
*/
readonly allowedOrigins: pulumi.Output<string[]>;
/**
* The collector URL Grafana Cloud Frontend Observability. Use this endpoint to send your Telemetry.
*/
readonly collectorEndpoint: pulumi.Output<string>;
/**
* The extra attributes to append in each signal.
*/
readonly extraLogAttributes: pulumi.Output<{
[key: string]: string;
}>;
readonly name: pulumi.Output<string>;
/**
* The key-value settings of the Frontend Observability app. Available Settings: `{combineLabData=(0|1)}`
*/
readonly settings: pulumi.Output<{
[key: string]: string;
}>;
readonly stackId: pulumi.Output<number>;
/**
* Create a App resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: AppArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering App resources.
*/
export interface AppState {
/**
* A list of allowed origins for CORS.
*/
allowedOrigins?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The collector URL Grafana Cloud Frontend Observability. Use this endpoint to send your Telemetry.
*/
collectorEndpoint?: pulumi.Input<string>;
/**
* The extra attributes to append in each signal.
*/
extraLogAttributes?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
name?: pulumi.Input<string>;
/**
* The key-value settings of the Frontend Observability app. Available Settings: `{combineLabData=(0|1)}`
*/
settings?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
stackId?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a App resource.
*/
export interface AppArgs {
/**
* A list of allowed origins for CORS.
*/
allowedOrigins: pulumi.Input<pulumi.Input<string>[]>;
/**
* The extra attributes to append in each signal.
*/
extraLogAttributes: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
name?: pulumi.Input<string>;
/**
* The key-value settings of the Frontend Observability app. Available Settings: `{combineLabData=(0|1)}`
*/
settings: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
stackId: pulumi.Input<number>;
}