InstanceState class
Input properties used for looking up and filtering Instance resources.
Constructors
-
InstanceState({Input<
String?> ? createTime, Input<String?> ? deletionPolicy, Input<Map< ? effectiveLabels, Input<String, String> ?>List< ? hostConfigs, Input<InstanceHostConfig> ?>String?> ? instanceId, Input<String?> ? kmsKey, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<InstancePrivateConfig?> ? privateConfig, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? state, Input<String?> ? stateNote, Input<String?> ? updateTime, Input<InstanceWorkforceIdentityFederationConfig?> ? workforceIdentityFederationConfig}) -
Creates a new InstanceState.
createTimeTime the Instance was created in UTC.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to PREVENT.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.hostConfigsA list of hostnames for this instance.instanceIdThe name for the Instance.kmsKeyCustomer-managed encryption key name, in the format projects//locations//keyRings//cryptoKeys/.labelsLabels as key value pairs.locationThe location for the Instance.nameThe resource name for the Instance.privateConfigPrivate settings for private instance.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcestateThe current state of the Instance.stateNoteProvides information about the current instance state.updateTimeTime the Instance was updated in UTC.workforceIdentityFederationConfigConfiguration 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