Config

Manages a RuntimeConfig resource in Google Cloud. For more information, see the official documentation, or the JSON API.

Create a Config Resource

new Config(name: string, args?: ConfigArgs, opts?: CustomResourceOptions);
def Config(resource_name, opts=None, description=None, name=None, project=None, __props__=None);
func NewConfig(ctx *Context, name string, args *ConfigArgs, opts ...ResourceOption) (*Config, error)
public Config(string name, ConfigArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Config Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Config resource accepts the following input properties:

Description string

The description to associate with the runtime config.

Name string

The name of the runtime config.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Description string

The description to associate with the runtime config.

Name string

The name of the runtime config.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

description string

The description to associate with the runtime config.

name string

The name of the runtime config.

project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

description str

The description to associate with the runtime config.

name str

The name of the runtime config.

project str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Outputs

All input properties are implicitly available as output properties. Additionally, the Config resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Config Resource

Get an existing Config resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ConfigState, opts?: CustomResourceOptions): Config
static get(resource_name, id, opts=None, description=None, name=None, project=None, __props__=None);
func GetConfig(ctx *Context, name string, id IDInput, state *ConfigState, opts ...ResourceOption) (*Config, error)
public static Config Get(string name, Input<string> id, ConfigState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Description string

The description to associate with the runtime config.

Name string

The name of the runtime config.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Description string

The description to associate with the runtime config.

Name string

The name of the runtime config.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

description string

The description to associate with the runtime config.

name string

The name of the runtime config.

project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

description str

The description to associate with the runtime config.

name str

The name of the runtime config.

project str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.