@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
107 lines (106 loc) • 4.15 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* Manages Grafana Application Observability configurations using the Grafana APIs.
*
* This resource allows you to enable or disable application observability features.
*
* **Note**: This is a singleton resource. The UID is automatically set to "global" and there can only be one per namespace.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumiverse/grafana";
*
* const example = new grafana.cloud.v1alpha1.ProductActivationAppO11yConfig("example", {
* metadata: {
* uid: "global",
* },
* spec: {
* enabled: true,
* },
* });
* ```
*
* ## Import
*
* !/bin/bash
* Import an existing app observability config by its UID
*
* ```sh
* $ pulumi import grafana:cloud/v1alpha1/productActivationAppO11yConfig:ProductActivationAppO11yConfig example my-app-o11y-config
* ```
*/
export declare class ProductActivationAppO11yConfig extends pulumi.CustomResource {
/**
* Get an existing ProductActivationAppO11yConfig 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?: ProductActivationAppO11yConfigState, opts?: pulumi.CustomResourceOptions): ProductActivationAppO11yConfig;
/**
* Returns true if the given object is an instance of ProductActivationAppO11yConfig. 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 ProductActivationAppO11yConfig;
/**
* The metadata of the resource.
*/
readonly metadata: pulumi.Output<outputs.cloud.v1alpha1.ProductActivationAppO11yConfigMetadata | undefined>;
/**
* Options for applying the resource.
*/
readonly options: pulumi.Output<outputs.cloud.v1alpha1.ProductActivationAppO11yConfigOptions | undefined>;
/**
* The spec of the resource.
*/
readonly spec: pulumi.Output<outputs.cloud.v1alpha1.ProductActivationAppO11yConfigSpec | undefined>;
/**
* Create a ProductActivationAppO11yConfig 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?: ProductActivationAppO11yConfigArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ProductActivationAppO11yConfig resources.
*/
export interface ProductActivationAppO11yConfigState {
/**
* The metadata of the resource.
*/
metadata?: pulumi.Input<inputs.cloud.v1alpha1.ProductActivationAppO11yConfigMetadata>;
/**
* Options for applying the resource.
*/
options?: pulumi.Input<inputs.cloud.v1alpha1.ProductActivationAppO11yConfigOptions>;
/**
* The spec of the resource.
*/
spec?: pulumi.Input<inputs.cloud.v1alpha1.ProductActivationAppO11yConfigSpec>;
}
/**
* The set of arguments for constructing a ProductActivationAppO11yConfig resource.
*/
export interface ProductActivationAppO11yConfigArgs {
/**
* The metadata of the resource.
*/
metadata?: pulumi.Input<inputs.cloud.v1alpha1.ProductActivationAppO11yConfigMetadata>;
/**
* Options for applying the resource.
*/
options?: pulumi.Input<inputs.cloud.v1alpha1.ProductActivationAppO11yConfigOptions>;
/**
* The spec of the resource.
*/
spec?: pulumi.Input<inputs.cloud.v1alpha1.ProductActivationAppO11yConfigSpec>;
}