@lbrlabs/pulumi-grafana
Version:
A Pulumi package for creating and managing grafana.
97 lines (96 loc) • 3.26 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Manages Grafana Cloud Plugin Installations.
*
* * [Plugin Catalog](https://grafana.com/grafana/plugins/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@lbrlabs/pulumi-grafana";
*
* const test = new grafana.CloudPluginInstallation("test", {
* slug: "some-plugin",
* stackSlug: "stackname",
* version: "1.2.3",
* });
* ```
*
* ## Import
*
* ```sh
* $ pulumi import grafana:index/cloudPluginInstallation:CloudPluginInstallation plugin_name {{stack_slug}}_{{plugin_slug}}
* ```
*/
export declare class CloudPluginInstallation extends pulumi.CustomResource {
/**
* Get an existing CloudPluginInstallation 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?: CloudPluginInstallationState, opts?: pulumi.CustomResourceOptions): CloudPluginInstallation;
/**
* Returns true if the given object is an instance of CloudPluginInstallation. 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 CloudPluginInstallation;
/**
* Slug of the plugin to be installed.
*/
readonly slug: pulumi.Output<string>;
/**
* The stack id to which the plugin should be installed.
*/
readonly stackSlug: pulumi.Output<string>;
/**
* Version of the plugin to be installed.
*/
readonly version: pulumi.Output<string>;
/**
* Create a CloudPluginInstallation 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: CloudPluginInstallationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CloudPluginInstallation resources.
*/
export interface CloudPluginInstallationState {
/**
* Slug of the plugin to be installed.
*/
slug?: pulumi.Input<string>;
/**
* The stack id to which the plugin should be installed.
*/
stackSlug?: pulumi.Input<string>;
/**
* Version of the plugin to be installed.
*/
version?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a CloudPluginInstallation resource.
*/
export interface CloudPluginInstallationArgs {
/**
* Slug of the plugin to be installed.
*/
slug: pulumi.Input<string>;
/**
* The stack id to which the plugin should be installed.
*/
stackSlug: pulumi.Input<string>;
/**
* Version of the plugin to be installed.
*/
version: pulumi.Input<string>;
}