EnvironmentState class

Input properties used for looking up and filtering Environment resources.

Constructors

EnvironmentState({Input<String?>? aliasesJson, Input<String?>? contact, Input<String?>? contactEmails, Input<String?>? contactPhone, Input<String?>? dataAccessScopesJson, Input<String?>? deletionPolicy, Input<bool?>? deletionProtection, Input<String?>? description, Input<String?>? displayName, Input<String?>? environmentId, Input<String?>? instance, Input<String?>? location, Input<String?>? name, Input<String?>? project, Input<int?>? retentionDuration})
Creates a new EnvironmentState. aliasesJson Environment nicknames. contact MAX_NAME_LENGTH = 256 contactEmails MAX_NAME_LENGTH = 256 contactPhone MAX_NAME_LENGTH = 256 dataAccessScopesJson data access scopes. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deletionProtection Whether Terraform will be prevented from destroying the environment. Deleting an environment will remove all its data and all playbooks, environments, integrations instances, reports and agents related to the environment. Once you delete an environment, it cannot be reversed. Deleting environments via terraform destroy or pulumi up will only succeed if this field is false in the Terraform state. description MAX_NAME_LENGTH = 256 displayName Name of the environment environmentId Id of the environment record. instance Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. location Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. name Identifier. The unique name(ID) of the Environment. project The ID of the project in which the resource belongs. retentionDuration Environment data retention in months.
const
EnvironmentState.fromMap(Map<String, dynamic> map)
factory

Properties

aliasesJson → Input<String?>?
Environment nicknames.
final
contact → Input<String?>?
MAX_NAME_LENGTH = 256 Name of the contact for the environment.
final
contactEmails → Input<String?>?
MAX_NAME_LENGTH = 256 Email of the contact for the environment. Multiple emails can be sepereated with the ; character.
final
contactPhone → Input<String?>?
MAX_NAME_LENGTH = 256 Phone number of the contact for the environment.
final
dataAccessScopesJson → Input<String?>?
data access scopes.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
deletionProtection → Input<bool?>?
Whether Terraform will be prevented from destroying the environment. Deleting an environment will remove all its data and all playbooks, environments, integrations instances, reports and agents related to the environment. Once you delete an environment, it cannot be reversed. Deleting environments via terraform destroy or pulumi up will only succeed if this field is false in the Terraform state.
final
description → Input<String?>?
MAX_NAME_LENGTH = 256 Description of the environment.
final
displayName → Input<String?>?
Name of the environment MAX_NAME_LENGTH = 256
final
environmentId → Input<String?>?
Id of the environment record.
final
hashCode → int
The hash code for this object.
no setterinherited
instance → Input<String?>?
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
final
location → Input<String?>?
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
final
name → Input<String?>?
Identifier. The unique name(ID) of the Environment. Format: projects/{project}/locations/{location}/instances/{instance}/environments/{environment}
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
retentionDuration → Input<int?>?
Environment data retention in months.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited