InstanceState class

Input properties used for looking up and filtering Instance resources.

Constructors

InstanceState({Input<List<InstanceCluster>?>? clusters, Input<String?>? deletionPolicy, Input<bool?>? deletionProtection, Input<String?>? displayName, Input<String?>? edition, Input<Map<String, String>?>? effectiveLabels, Input<bool?>? forceDestroy, Input<String?>? instanceType, Input<Map<String, String>?>? labels, Input<String?>? name, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<Map<String, String>?>? tags})
Creates a new InstanceState. clusters A block of cluster configuration options. This can be specified at least once, and up deletionPolicy (Optional) Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". deletionProtection Whether or not to allow this provider to destroy the instance. Unless this field is set to false displayName The human-readable display name of the Bigtable instance. Defaults to the instance name. edition The edition of the Bigtable instance. One of "ENTERPRISE" or "ENTERPRISE_PLUS". Defaults to "ENTERPRISE". Details can be found at the Cloud Bigtable editions page. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. forceDestroy Deleting a BigTable instance can be blocked if any backups are present in the instance. When forceDestroy is set to true, the Provider will delete all backups found in the BigTable instance before attempting to delete the instance itself. Defaults to false. instanceType The instance type to create. One of "DEVELOPMENT" or "PRODUCTION". Defaults to "PRODUCTION". labels A set of key/value label pairs to assign to the resource. Label keys must follow the requirements at https://docs.cloud.google.com/resource-manager/docs/creating-managing-labels#requirements. name The name (also called Instance Id in the Cloud Console) of the Cloud Bigtable instance. Must be 6-33 characters and must only contain hyphens, lowercase letters and numbers. project The ID of the project in which the resource belongs. If it pulumiLabels The combination of labels configured directly on the resource and default labels configured on the provider. tags A set of key/value label pairs to assign to the resource. Tags must follow the requirements at create and manage tags.
const
InstanceState.fromMap(Map<String, dynamic> map)
factory

Properties

clusters → Input<List<InstanceCluster>?>?
A block of cluster configuration options. This can be specified at least once, and up to as many as possible within 8 cloud regions. Removing the field entirely from the config will cause the provider to default to the backend value. See structure below.
final
deletionPolicy → Input<String?>?
(Optional) 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 or not to allow this provider to destroy the instance. Unless this field is set to false in the statefile, a pulumi destroy or pulumi up that would delete the instance will fail.
final
displayName → Input<String?>?
The human-readable display name of the Bigtable instance. Defaults to the instance name.
final
edition → Input<String?>?
The edition of the Bigtable instance. One of "ENTERPRISE" or "ENTERPRISE_PLUS". Defaults to "ENTERPRISE". Details can be found at the Cloud Bigtable editions page.
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
forceDestroy → Input<bool?>?
Deleting a BigTable instance can be blocked if any backups are present in the instance. When forceDestroy is set to true, the Provider will delete all backups found in the BigTable instance before attempting to delete the instance itself. Defaults to false.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceType → Input<String?>?
The instance type to create. One of "DEVELOPMENT" or "PRODUCTION". Defaults to "PRODUCTION". It is recommended to leave this field unspecified since the distinction between "DEVELOPMENT" and "PRODUCTION" instances is going away, and all instances will become "PRODUCTION" instances. This means that new and existing "DEVELOPMENT" instances will be converted to "PRODUCTION" instances. It is recommended for users to use "PRODUCTION" instances in any case, since a 1-node "PRODUCTION" instance is functionally identical to a "DEVELOPMENT" instance, but without the accompanying restrictions.
final
labels → Input<Map<String, String>?>?
A set of key/value label pairs to assign to the resource. Label keys must follow the requirements at https://docs.cloud.google.com/resource-manager/docs/creating-managing-labels#requirements.
final
name → Input<String?>?
The name (also called Instance Id in the Cloud Console) of the Cloud Bigtable instance. Must be 6-33 characters and must only contain hyphens, lowercase letters and numbers.
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
tags → Input<Map<String, String>?>?
A set of key/value label pairs to assign to the resource. Tags must follow the requirements at create and manage tags.
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