@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
146 lines (145 loc) • 5.59 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* ## Example Usage
*
* ## Import
*
* ```sh
* $ pulumi import grafana:cloud/providerAzureCredential:ProviderAzureCredential name "{{ stack_id }}:{{ resource_id }}"
* ```
*
* @deprecated grafana.cloud/providerazurecredential.ProviderAzureCredential has been deprecated in favor of grafana.cloudprovider/azurecredential.AzureCredential
*/
export declare class ProviderAzureCredential extends pulumi.CustomResource {
/**
* Get an existing ProviderAzureCredential 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?: ProviderAzureCredentialState, opts?: pulumi.CustomResourceOptions): ProviderAzureCredential;
/**
* Returns true if the given object is an instance of ProviderAzureCredential. 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 ProviderAzureCredential;
/**
* The list of auto discovery configurations.
*/
readonly autoDiscoveryConfigurations: pulumi.Output<outputs.cloud.ProviderAzureCredentialAutoDiscoveryConfiguration[] | undefined>;
/**
* The client ID of the Azure Credential.
*/
readonly clientId: pulumi.Output<string>;
/**
* The client secret of the Azure Credential.
*/
readonly clientSecret: pulumi.Output<string>;
/**
* The name of the Azure Credential.
*/
readonly name: pulumi.Output<string>;
/**
* The list of tag filters to apply to resources.
*/
readonly resourceDiscoveryTagFilters: pulumi.Output<outputs.cloud.ProviderAzureCredentialResourceDiscoveryTagFilter[] | undefined>;
/**
* The ID given by the Grafana Cloud Provider API to this Azure Credential resource.
*/
readonly resourceId: pulumi.Output<string>;
/**
* The list of resource tags to add to metrics.
*/
readonly resourceTagsToAddToMetrics: pulumi.Output<string[] | undefined>;
readonly stackId: pulumi.Output<string>;
/**
* The tenant ID of the Azure Credential.
*/
readonly tenantId: pulumi.Output<string>;
/**
* Create a ProviderAzureCredential 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/providerazurecredential.ProviderAzureCredential has been deprecated in favor of grafana.cloudprovider/azurecredential.AzureCredential */
constructor(name: string, args: ProviderAzureCredentialArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ProviderAzureCredential resources.
*/
export interface ProviderAzureCredentialState {
/**
* The list of auto discovery configurations.
*/
autoDiscoveryConfigurations?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAzureCredentialAutoDiscoveryConfiguration>[]>;
/**
* The client ID of the Azure Credential.
*/
clientId?: pulumi.Input<string>;
/**
* The client secret of the Azure Credential.
*/
clientSecret?: pulumi.Input<string>;
/**
* The name of the Azure Credential.
*/
name?: pulumi.Input<string>;
/**
* The list of tag filters to apply to resources.
*/
resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAzureCredentialResourceDiscoveryTagFilter>[]>;
/**
* The ID given by the Grafana Cloud Provider API to this Azure Credential resource.
*/
resourceId?: pulumi.Input<string>;
/**
* The list of resource tags to add to metrics.
*/
resourceTagsToAddToMetrics?: pulumi.Input<pulumi.Input<string>[]>;
stackId?: pulumi.Input<string>;
/**
* The tenant ID of the Azure Credential.
*/
tenantId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ProviderAzureCredential resource.
*/
export interface ProviderAzureCredentialArgs {
/**
* The list of auto discovery configurations.
*/
autoDiscoveryConfigurations?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAzureCredentialAutoDiscoveryConfiguration>[]>;
/**
* The client ID of the Azure Credential.
*/
clientId: pulumi.Input<string>;
/**
* The client secret of the Azure Credential.
*/
clientSecret: pulumi.Input<string>;
/**
* The name of the Azure Credential.
*/
name?: pulumi.Input<string>;
/**
* The list of tag filters to apply to resources.
*/
resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAzureCredentialResourceDiscoveryTagFilter>[]>;
/**
* The list of resource tags to add to metrics.
*/
resourceTagsToAddToMetrics?: pulumi.Input<pulumi.Input<string>[]>;
stackId: pulumi.Input<string>;
/**
* The tenant ID of the Azure Credential.
*/
tenantId: pulumi.Input<string>;
}