EnvironmentArgs

data class EnvironmentArgs(val config: Output<EnvironmentConfigArgs>? = null, val labels: Output<Map<String, String>>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val region: Output<String>? = null, val storageConfig: Output<EnvironmentStorageConfigArgs>? = null) : ConvertibleToJava<EnvironmentArgs>

Import

Environment can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{region}}/environments/{{name}}

  • {{project}}/{{region}}/{{name}}

  • {{name}} When using the pulumi import command, Environment can be imported using one of the formats above. For example:

$ pulumi import gcp:composer/environment:Environment default projects/{{project}}/locations/{{region}}/environments/{{name}}
$ pulumi import gcp:composer/environment:Environment default {{project}}/{{region}}/{{name}}
$ pulumi import gcp:composer/environment:Environment default {{name}}

Constructors

Link copied to clipboard
constructor(config: Output<EnvironmentConfigArgs>? = null, labels: Output<Map<String, String>>? = null, name: Output<String>? = null, project: Output<String>? = null, region: Output<String>? = null, storageConfig: Output<EnvironmentStorageConfigArgs>? = null)

Properties

Link copied to clipboard
val config: Output<EnvironmentConfigArgs>? = null

Configuration parameters for this environment.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must conform to the regular expression (a-z?)?. No more than 64 labels can be associated with a given environment. Both keys and values must be <= 128 bytes in size. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

Link copied to clipboard
val name: Output<String>? = null

Name of the environment.

Link copied to clipboard
val project: Output<String>? = null

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

Link copied to clipboard
val region: Output<String>? = null

The location or Compute Engine region for the environment.

Link copied to clipboard

Configuration options for storage used by Composer environment.

Functions

Link copied to clipboard
open override fun toJava(): EnvironmentArgs