import * as pulumi from "@pulumi/pulumi"; /** * Manages Grafana Cloud Plugin Installations. * * * [Plugin Catalog](https://grafana.com/grafana/plugins/) * * Required access policy scopes: * * * stack-plugins:read * * stack-plugins:write * * stack-plugins:delete * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumiverse/grafana"; * * const test = new grafana.cloud.PluginInstallation("test", { * stackSlug: "stackname", * slug: "some-plugin", * version: "1.2.3", * }); * ``` * * ## Import * * ```sh * $ pulumi import grafana:index/cloudPluginInstallation:CloudPluginInstallation name "{{ stackSlug }}:{{ pluginSlug }}" * ``` * * @deprecated grafana.index/cloudplugininstallation.CloudPluginInstallation has been deprecated in favor of grafana.cloud/plugininstallation.PluginInstallation */ 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, 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; /** * The stack id to which the plugin should be installed. */ readonly stackSlug: pulumi.Output; /** * Version of the plugin to be installed. */ readonly version: pulumi.Output; /** * 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. */ /** @deprecated grafana.index/cloudplugininstallation.CloudPluginInstallation has been deprecated in favor of grafana.cloud/plugininstallation.PluginInstallation */ 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; /** * The stack id to which the plugin should be installed. */ stackSlug?: pulumi.Input; /** * Version of the plugin to be installed. */ version?: pulumi.Input; } /** * The set of arguments for constructing a CloudPluginInstallation resource. */ export interface CloudPluginInstallationArgs { /** * Slug of the plugin to be installed. */ slug: pulumi.Input; /** * The stack id to which the plugin should be installed. */ stackSlug: pulumi.Input; /** * Version of the plugin to be installed. */ version: pulumi.Input; }