Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.runtimeconfig/v1beta1.Config
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new RuntimeConfig resource. The configuration name must be unique within project.
Create Config Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Config(name: string, args?: ConfigArgs, opts?: CustomResourceOptions);
@overload
def Config(resource_name: str,
args: Optional[ConfigArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Config(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None)
func NewConfig(ctx *Context, name string, args *ConfigArgs, opts ...ResourceOption) (*Config, error)
public Config(string name, ConfigArgs? args = null, CustomResourceOptions? opts = null)
public Config(String name, ConfigArgs args)
public Config(String name, ConfigArgs args, CustomResourceOptions options)
type: google-native:runtimeconfig/v1beta1:Config
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
- args ConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args ConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleconfigResourceResourceFromRuntimeconfigv1beta1 = new GoogleNative.RuntimeConfig.V1Beta1.Config("exampleconfigResourceResourceFromRuntimeconfigv1beta1", new()
{
Description = "string",
Name = "string",
Project = "string",
RequestId = "string",
});
example, err := runtimeconfig.NewConfig(ctx, "exampleconfigResourceResourceFromRuntimeconfigv1beta1", &runtimeconfig.ConfigArgs{
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
})
var exampleconfigResourceResourceFromRuntimeconfigv1beta1 = new Config("exampleconfigResourceResourceFromRuntimeconfigv1beta1", ConfigArgs.builder()
.description("string")
.name("string")
.project("string")
.requestId("string")
.build());
exampleconfig_resource_resource_from_runtimeconfigv1beta1 = google_native.runtimeconfig.v1beta1.Config("exampleconfigResourceResourceFromRuntimeconfigv1beta1",
description="string",
name="string",
project="string",
request_id="string")
const exampleconfigResourceResourceFromRuntimeconfigv1beta1 = new google_native.runtimeconfig.v1beta1.Config("exampleconfigResourceResourceFromRuntimeconfigv1beta1", {
description: "string",
name: "string",
project: "string",
requestId: "string",
});
type: google-native:runtimeconfig/v1beta1:Config
properties:
description: string
name: string
project: string
requestId: string
Config Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Config resource accepts the following input properties:
- Description string
- An optional description of the RuntimeConfig object.
- Name string
- The resource name of a runtime config. The name must have the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME] The
[PROJECT_ID]
must be a valid project ID, and[CONFIG_NAME]
is an arbitrary name that matches the[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?
regular expression. The length of[CONFIG_NAME]
must be less than 64 characters. You pick the RuntimeConfig resource name, but the server will validate that the name adheres to this format. After you create the resource, you cannot change the resource's name. - Project string
- Request
Id string - An optional but recommended unique
request_id
. If the server receives twocreate()
requests with the samerequest_id
, then the second request will be ignored and the first resource created and stored in the backend is returned. Emptyrequest_id
fields are ignored. It is responsibility of the client to ensure uniqueness of therequest_id
strings.request_id
strings are limited to 64 characters.
- Description string
- An optional description of the RuntimeConfig object.
- Name string
- The resource name of a runtime config. The name must have the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME] The
[PROJECT_ID]
must be a valid project ID, and[CONFIG_NAME]
is an arbitrary name that matches the[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?
regular expression. The length of[CONFIG_NAME]
must be less than 64 characters. You pick the RuntimeConfig resource name, but the server will validate that the name adheres to this format. After you create the resource, you cannot change the resource's name. - Project string
- Request
Id string - An optional but recommended unique
request_id
. If the server receives twocreate()
requests with the samerequest_id
, then the second request will be ignored and the first resource created and stored in the backend is returned. Emptyrequest_id
fields are ignored. It is responsibility of the client to ensure uniqueness of therequest_id
strings.request_id
strings are limited to 64 characters.
- description String
- An optional description of the RuntimeConfig object.
- name String
- The resource name of a runtime config. The name must have the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME] The
[PROJECT_ID]
must be a valid project ID, and[CONFIG_NAME]
is an arbitrary name that matches the[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?
regular expression. The length of[CONFIG_NAME]
must be less than 64 characters. You pick the RuntimeConfig resource name, but the server will validate that the name adheres to this format. After you create the resource, you cannot change the resource's name. - project String
- request
Id String - An optional but recommended unique
request_id
. If the server receives twocreate()
requests with the samerequest_id
, then the second request will be ignored and the first resource created and stored in the backend is returned. Emptyrequest_id
fields are ignored. It is responsibility of the client to ensure uniqueness of therequest_id
strings.request_id
strings are limited to 64 characters.
- description string
- An optional description of the RuntimeConfig object.
- name string
- The resource name of a runtime config. The name must have the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME] The
[PROJECT_ID]
must be a valid project ID, and[CONFIG_NAME]
is an arbitrary name that matches the[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?
regular expression. The length of[CONFIG_NAME]
must be less than 64 characters. You pick the RuntimeConfig resource name, but the server will validate that the name adheres to this format. After you create the resource, you cannot change the resource's name. - project string
- request
Id string - An optional but recommended unique
request_id
. If the server receives twocreate()
requests with the samerequest_id
, then the second request will be ignored and the first resource created and stored in the backend is returned. Emptyrequest_id
fields are ignored. It is responsibility of the client to ensure uniqueness of therequest_id
strings.request_id
strings are limited to 64 characters.
- description str
- An optional description of the RuntimeConfig object.
- name str
- The resource name of a runtime config. The name must have the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME] The
[PROJECT_ID]
must be a valid project ID, and[CONFIG_NAME]
is an arbitrary name that matches the[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?
regular expression. The length of[CONFIG_NAME]
must be less than 64 characters. You pick the RuntimeConfig resource name, but the server will validate that the name adheres to this format. After you create the resource, you cannot change the resource's name. - project str
- request_
id str - An optional but recommended unique
request_id
. If the server receives twocreate()
requests with the samerequest_id
, then the second request will be ignored and the first resource created and stored in the backend is returned. Emptyrequest_id
fields are ignored. It is responsibility of the client to ensure uniqueness of therequest_id
strings.request_id
strings are limited to 64 characters.
- description String
- An optional description of the RuntimeConfig object.
- name String
- The resource name of a runtime config. The name must have the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME] The
[PROJECT_ID]
must be a valid project ID, and[CONFIG_NAME]
is an arbitrary name that matches the[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?
regular expression. The length of[CONFIG_NAME]
must be less than 64 characters. You pick the RuntimeConfig resource name, but the server will validate that the name adheres to this format. After you create the resource, you cannot change the resource's name. - project String
- request
Id String - An optional but recommended unique
request_id
. If the server receives twocreate()
requests with the samerequest_id
, then the second request will be ignored and the first resource created and stored in the backend is returned. Emptyrequest_id
fields are ignored. It is responsibility of the client to ensure uniqueness of therequest_id
strings.request_id
strings are limited to 64 characters.
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 string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.