UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

72 lines (71 loc) 2.14 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieves a config item. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const example = scm.getTag({ * id: "1234-56-789", * }); * ``` */ export declare function getTag(args: GetTagArgs, opts?: pulumi.InvokeOptions): Promise<GetTagResult>; /** * A collection of arguments for invoking getTag. */ export interface GetTagArgs { /** * The Id param. */ id: string; } /** * A collection of values returned by getTag. */ export interface GetTagResult { /** * The Color param. String must be one of these: `"Red"`, `"Green"`, `"Blue"`, `"Yellow"`, `"Copper"`, `"Orange"`, `"Purple"`, `"Gray"`, `"Light Green"`, `"Cyan"`, `"Light Gray"`, `"Blue Gray"`, `"Lime"`, `"Black"`, `"Gold"`, `"Brown"`, `"Olive"`, `"Maroon"`, `"Red-Orange"`, `"Yellow-Orange"`, `"Forest Green"`, `"Turquoise Blue"`, `"Azure Blue"`, `"Cerulean Blue"`, `"Midnight Blue"`, `"Medium Blue"`, `"Cobalt Blue"`, `"Violet Blue"`, `"Blue Violet"`, `"Medium Violet"`, `"Medium Rose"`, `"Lavender"`, `"Orchid"`, `"Thistle"`, `"Peach"`, `"Salmon"`, `"Magenta"`, `"Red Violet"`, `"Mahogany"`, `"Burnt Sienna"`, `"Chestnut"`. */ readonly color: string; /** * The Comments param. String length must not exceed 1023 characters. */ readonly comments: string; /** * The Id param. */ readonly id: string; /** * The Name param. String length must not exceed 127 characters. */ readonly name: string; readonly tfid: string; } /** * Retrieves a config item. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const example = scm.getTag({ * id: "1234-56-789", * }); * ``` */ export declare function getTagOutput(args: GetTagOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTagResult>; /** * A collection of arguments for invoking getTag. */ export interface GetTagOutputArgs { /** * The Id param. */ id: pulumi.Input<string>; }