import * as pulumi from "@pulumi/pulumi"; /** * Tag data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up the "production" tag by its name. * const scmTagDs = scm.getTag({ * id: "66cbe56c-0300-4905-8455-d384978a0082", * }); * export const tagOutputs = { * productionId: scmTagDs.then(scmTagDs => scmTagDs.id), * productionColor: scmTagDs.then(scmTagDs => scmTagDs.color), * productionFolder: scmTagDs.then(scmTagDs => scmTagDs.folder), * productionSnippet: scmTagDs.then(scmTagDs => scmTagDs.snippet), * productionDevice: scmTagDs.then(scmTagDs => scmTagDs.device), * }; * ``` */ export declare function getTag(args: GetTagArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTag. */ export interface GetTagArgs { /** * The device in which the resource is defined */ device?: string; folder?: string; /** * The UUID of the tag */ id: string; name?: string; snippet?: string; } /** * A collection of values returned by getTag. */ export interface GetTagResult { readonly color: string; readonly comments: string; /** * The device in which the resource is defined */ readonly device: string; readonly folder: string; /** * The UUID of the tag */ readonly id: string; readonly name: string; readonly snippet: string; readonly tfid: string; } /** * Tag data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up the "production" tag by its name. * const scmTagDs = scm.getTag({ * id: "66cbe56c-0300-4905-8455-d384978a0082", * }); * export const tagOutputs = { * productionId: scmTagDs.then(scmTagDs => scmTagDs.id), * productionColor: scmTagDs.then(scmTagDs => scmTagDs.color), * productionFolder: scmTagDs.then(scmTagDs => scmTagDs.folder), * productionSnippet: scmTagDs.then(scmTagDs => scmTagDs.snippet), * productionDevice: scmTagDs.then(scmTagDs => scmTagDs.device), * }; * ``` */ export declare function getTagOutput(args: GetTagOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTag. */ export interface GetTagOutputArgs { /** * The device in which the resource is defined */ device?: pulumi.Input; folder?: pulumi.Input; /** * The UUID of the tag */ id: pulumi.Input; name?: pulumi.Input; snippet?: pulumi.Input; } //# sourceMappingURL=getTag.d.ts.map