@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
91 lines • 2.88 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.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 deletionPolicy: string;
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
readonly project?: 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.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 | undefined>;
}
//# sourceMappingURL=getConfig.d.ts.map