@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
104 lines • 3.31 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* To get more information about RuntimeConfigs, see:
*
* * [API documentation](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs)
* * How-to Guides
* * [Runtime Configurator Fundamentals](https://cloud.google.com/deployment-manager/runtime-configurator/)
*
* > **Warning:** This datasource is in beta, and should be used with the terraform-provider-google-beta provider.
* See Provider Versions for more details on beta datasources.
*
* ## 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 {
readonly deletionPolicy: string;
/**
* 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;
}
/**
* To get more information about RuntimeConfigs, see:
*
* * [API documentation](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs)
* * How-to Guides
* * [Runtime Configurator Fundamentals](https://cloud.google.com/deployment-manager/runtime-configurator/)
*
* > **Warning:** This datasource is in beta, and should be used with the terraform-provider-google-beta provider.
* See Provider Versions for more details on beta datasources.
*
* ## 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 | undefined>;
}
//# sourceMappingURL=getVariable.d.ts.map