UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

85 lines (84 loc) 2.21 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const run_service = gcp.runtimeconfig.getVariable({ * parent: "my-service", * name: "prod-variables/hostname", * }); * ``` */ export declare function getVariable(args: GetVariableArgs, opts?: pulumi.InvokeOptions): Promise<GetVariableResult>; /** * A collection of arguments for invoking getVariable. */ export interface GetVariableArgs { /** * The name of the Runtime Configurator configuration. */ name: string; /** * The name of the RuntimeConfig resource containing this variable. * * - - - */ parent: string; /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: string; } /** * A collection of values returned by getVariable. */ export interface GetVariableResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly parent: string; readonly project?: string; readonly text: string; readonly updateTime: string; readonly value: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const run_service = gcp.runtimeconfig.getVariable({ * parent: "my-service", * name: "prod-variables/hostname", * }); * ``` */ export declare function getVariableOutput(args: GetVariableOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVariableResult>; /** * A collection of arguments for invoking getVariable. */ export interface GetVariableOutputArgs { /** * The name of the Runtime Configurator configuration. */ name: pulumi.Input<string>; /** * The name of the RuntimeConfig resource containing this variable. * * - - - */ parent: pulumi.Input<string>; /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: pulumi.Input<string>; }