@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
110 lines (109 loc) • 4.7 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Manages Grafana Kubernetes Observability configurations using the Grafana APIs.
*
* This resource allows you to enable or disable Kubernetes 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.ProductActivationK8sO11yConfig("example", {
* metadata: {
* uid: "global",
* },
* spec: {
* enabled: true,
* },
* });
* ```
*
* ## Import
*
* !/bin/bash
* Import an existing Kubernetes observability config by its UID
*
* ```sh
* $ pulumi import grafana:cloud/productActivationK8sO11yConfigV1Alpha1:ProductActivationK8sO11yConfigV1Alpha1 example my-k8s-o11y-config
* ```
*
* @deprecated grafana.cloud/productactivationk8so11yconfigv1alpha1.ProductActivationK8sO11yConfigV1Alpha1 has been deprecated in favor of grafana.cloud/v1alpha1/productactivationk8so11yconfig.ProductActivationK8sO11yConfig
*/
export declare class ProductActivationK8sO11yConfigV1Alpha1 extends pulumi.CustomResource {
/**
* Get an existing ProductActivationK8sO11yConfigV1Alpha1 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?: ProductActivationK8sO11yConfigV1Alpha1State, opts?: pulumi.CustomResourceOptions): ProductActivationK8sO11yConfigV1Alpha1;
/**
* Returns true if the given object is an instance of ProductActivationK8sO11yConfigV1Alpha1. 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 ProductActivationK8sO11yConfigV1Alpha1;
/**
* The metadata of the resource.
*/
readonly metadata: pulumi.Output<outputs.cloud.ProductActivationK8sO11yConfigV1Alpha1Metadata | undefined>;
/**
* Options for applying the resource.
*/
readonly options: pulumi.Output<outputs.cloud.ProductActivationK8sO11yConfigV1Alpha1Options | undefined>;
/**
* The spec of the resource.
*/
readonly spec: pulumi.Output<outputs.cloud.ProductActivationK8sO11yConfigV1Alpha1Spec | undefined>;
/**
* Create a ProductActivationK8sO11yConfigV1Alpha1 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.
*/
/** @deprecated grafana.cloud/productactivationk8so11yconfigv1alpha1.ProductActivationK8sO11yConfigV1Alpha1 has been deprecated in favor of grafana.cloud/v1alpha1/productactivationk8so11yconfig.ProductActivationK8sO11yConfig */
constructor(name: string, args?: ProductActivationK8sO11yConfigV1Alpha1Args, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ProductActivationK8sO11yConfigV1Alpha1 resources.
*/
export interface ProductActivationK8sO11yConfigV1Alpha1State {
/**
* The metadata of the resource.
*/
metadata?: pulumi.Input<inputs.cloud.ProductActivationK8sO11yConfigV1Alpha1Metadata>;
/**
* Options for applying the resource.
*/
options?: pulumi.Input<inputs.cloud.ProductActivationK8sO11yConfigV1Alpha1Options>;
/**
* The spec of the resource.
*/
spec?: pulumi.Input<inputs.cloud.ProductActivationK8sO11yConfigV1Alpha1Spec>;
}
/**
* The set of arguments for constructing a ProductActivationK8sO11yConfigV1Alpha1 resource.
*/
export interface ProductActivationK8sO11yConfigV1Alpha1Args {
/**
* The metadata of the resource.
*/
metadata?: pulumi.Input<inputs.cloud.ProductActivationK8sO11yConfigV1Alpha1Metadata>;
/**
* Options for applying the resource.
*/
options?: pulumi.Input<inputs.cloud.ProductActivationK8sO11yConfigV1Alpha1Options>;
/**
* The spec of the resource.
*/
spec?: pulumi.Input<inputs.cloud.ProductActivationK8sO11yConfigV1Alpha1Spec>;
}