InstanceState class

Input properties used for looking up and filtering Instance resources.

Constructors

InstanceState({Input<String?>? createTime, Input<String?>? deletionPolicy, Input<Map<String, String>?>? effectiveLabels, Input<List<InstanceHostConfig>?>? hostConfigs, Input<String?>? instanceId, Input<String?>? kmsKey, Input<Map<String, String>?>? labels, Input<String?>? location, Input<String?>? name, Input<InstancePrivateConfig?>? privateConfig, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<String?>? state, Input<String?>? stateNote, Input<String?>? updateTime, Input<InstanceWorkforceIdentityFederationConfig?>? workforceIdentityFederationConfig})
Creates a new InstanceState. createTime Time the Instance was created in UTC. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to PREVENT. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. hostConfigs A list of hostnames for this instance. instanceId The name for the Instance. kmsKey Customer-managed encryption key name, in the format projects//locations//keyRings//cryptoKeys/. labels Labels as key value pairs. location The location for the Instance. name The resource name for the Instance. privateConfig Private settings for private instance. project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource state The current state of the Instance. stateNote Provides information about the current instance state. updateTime Time the Instance was updated in UTC. workforceIdentityFederationConfig Configuration for Workforce Identity Federation to support third party identity provider.
const
InstanceState.fromMap(Map<String, dynamic> map)
factory

Properties

createTime → Input<String?>?
Time the Instance was created in UTC.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to PREVENT. 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
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
hashCode → int
The hash code for this object.
no setterinherited
hostConfigs → Input<List<InstanceHostConfig>?>?
A list of hostnames for this instance. Structure is documented below.
final
instanceId → Input<String?>?
The name for the Instance.
final
kmsKey → Input<String?>?
Customer-managed encryption key name, in the format projects//locations//keyRings//cryptoKeys/.
final
labels → Input<Map<String, String>?>?
Labels as key value pairs.
final
location → Input<String?>?
The location for the Instance.
final
name → Input<String?>?
The resource name for the Instance.
final
privateConfig → Input<InstancePrivateConfig?>?
Private settings for private instance. Structure is documented below.
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
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → Input<String?>?
The current state of the Instance.
final
stateNote → Input<String?>?
Provides information about the current instance state.
final
updateTime → Input<String?>?
Time the Instance was updated in UTC.
final
workforceIdentityFederationConfig → Input<InstanceWorkforceIdentityFederationConfig?>?
Configuration for Workforce Identity Federation to support third party identity provider. If unset, defaults to the Google OIDC IdP. Structure is documented below.
final

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