@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
72 lines (71 loc) • 1.79 kB
TypeScript
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.getConfig({
* name: "my-service",
* });
* ```
*/
export declare function getConfig(args: GetConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigResult>;
/**
* A collection of arguments for invoking getConfig.
*/
export interface GetConfigArgs {
/**
* The name of the Runtime Configurator configuration.
*
* - - -
*/
name: 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 getConfig.
*/
export interface GetConfigResult {
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
readonly project?: string;
}
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const run_service = gcp.runtimeconfig.getConfig({
* name: "my-service",
* });
* ```
*/
export declare function getConfigOutput(args: GetConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigResult>;
/**
* A collection of arguments for invoking getConfig.
*/
export interface GetConfigOutputArgs {
/**
* The name of the Runtime Configurator configuration.
*
* - - -
*/
name: pulumi.Input<string>;
/**
* The project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
project?: pulumi.Input<string>;
}