UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

87 lines (86 loc) 2.95 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Example Usage */ export declare function getAzureCredential(args: GetAzureCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetAzureCredentialResult>; /** * A collection of arguments for invoking getAzureCredential. */ export interface GetAzureCredentialArgs { /** * The list of auto discovery configurations. */ autoDiscoveryConfigurations?: inputs.cloudProvider.GetAzureCredentialAutoDiscoveryConfiguration[]; /** * The list of tag filters to apply to resources. */ resourceDiscoveryTagFilters?: inputs.cloudProvider.GetAzureCredentialResourceDiscoveryTagFilter[]; /** * The ID given by the Grafana Cloud Provider API to this Azure Credential resource. */ resourceId: string; stackId: string; } /** * A collection of values returned by getAzureCredential. */ export interface GetAzureCredentialResult { /** * The list of auto discovery configurations. */ readonly autoDiscoveryConfigurations?: outputs.cloudProvider.GetAzureCredentialAutoDiscoveryConfiguration[]; /** * The client ID of the Azure Credential. */ readonly clientId: string; /** * The client secret of the Azure Credential. */ readonly clientSecret: string; readonly id: string; /** * The name of the Azure Credential. */ readonly name: string; /** * The list of tag filters to apply to resources. */ readonly resourceDiscoveryTagFilters?: outputs.cloudProvider.GetAzureCredentialResourceDiscoveryTagFilter[]; /** * The ID given by the Grafana Cloud Provider API to this Azure Credential resource. */ readonly resourceId: string; /** * The list of resource tags to add to metrics. */ readonly resourceTagsToAddToMetrics: string[]; readonly stackId: string; /** * The tenant ID of the Azure Credential. */ readonly tenantId: string; } /** * ## Example Usage */ export declare function getAzureCredentialOutput(args: GetAzureCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAzureCredentialResult>; /** * A collection of arguments for invoking getAzureCredential. */ export interface GetAzureCredentialOutputArgs { /** * The list of auto discovery configurations. */ autoDiscoveryConfigurations?: pulumi.Input<pulumi.Input<inputs.cloudProvider.GetAzureCredentialAutoDiscoveryConfigurationArgs>[]>; /** * The list of tag filters to apply to resources. */ resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloudProvider.GetAzureCredentialResourceDiscoveryTagFilterArgs>[]>; /** * The ID given by the Grafana Cloud Provider API to this Azure Credential resource. */ resourceId: pulumi.Input<string>; stackId: pulumi.Input<string>; }