InstanceArgs class
The set of arguments for Instance. The set of arguments for Instance.
Constructors
-
InstanceArgs({Input<
List< ? clusters, Input<InstanceCluster> ?>String?> ? deletionPolicy, Input<bool?> ? deletionProtection, Input<String?> ? displayName, Input<String?> ? edition, Input<bool?> ? forceDestroy, Input<String?> ? instanceType, Input<Map< ? labels, Input<String, String> ?>String?> ? name, Input<String?> ? project, Input<Map< ? tags})String, String> ?> -
Creates a new InstanceArgs.
clustersA block of cluster configuration options. This can be specified at least once, and updeletionPolicy(Optional) Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".deletionProtectionWhether or not to allow this provider to destroy the instance. Unless this field is set to falsedisplayNameThe human-readable display name of the Bigtable instance. Defaults to the instancename.editionThe edition of the Bigtable instance. One of "ENTERPRISE" or "ENTERPRISE_PLUS". Defaults to "ENTERPRISE". Details can be found at the Cloud Bigtable editions page.forceDestroyDeleting a BigTable instance can be blocked if any backups are present in the instance. WhenforceDestroyis set to true, the Provider will delete all backups found in the BigTable instance before attempting to delete the instance itself. Defaults to false.instanceTypeThe instance type to create. One of"DEVELOPMENT"or"PRODUCTION". Defaults to"PRODUCTION".labelsA 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.nameThe 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.projectThe ID of the project in which the resource belongs. If ittagsA set of key/value label pairs to assign to the resource. Tags must follow the requirements at create and manage tags.const -
InstanceArgs.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 destroyorpulumi upthat 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
-
forceDestroy
→ Input<
bool?> ? -
Deleting a BigTable instance can be blocked if any backups are present in the instance. When
forceDestroyis 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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
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