InstancePartitionState class

Input properties used for looking up and filtering InstancePartition resources.

Constructors

InstancePartitionState({Input<InstancePartitionAutoscalingConfig?>? autoscalingConfig, Input<String?>? config, Input<String?>? deletionPolicy, Input<String?>? displayName, Input<String?>? instance, Input<String?>? name, Input<int?>? nodeCount, Input<int?>? processingUnits, Input<String?>? project, Input<String?>? state})
Creates a new InstancePartitionState. autoscalingConfig The autoscaling configuration. Autoscaling is enabled if this field is set. config The name of the instance partition's configuration (similar to a region) which deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. displayName The descriptive name for this instance partition as it appears in UIs. instance The instance to create the instance partition in. name A unique identifier for the instance partition, which cannot be changed after nodeCount The number of nodes allocated to this instance partition. One node equals processingUnits The number of processing units allocated to this instance partition. project The ID of the project in which the resource belongs. state The current instance partition state. Possible values are:
const
InstancePartitionState.fromMap(Map<String, dynamic> map)
factory

Properties

autoscalingConfig → Input<InstancePartitionAutoscalingConfig?>?
The autoscaling configuration. Autoscaling is enabled if this field is set. Exactly one of either node_count, processing_units, or autoscalingConfig must be present. When autoscaling is enabled, nodeCount and processingUnits are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance partition. Structure is documented below.
final
config → Input<String?>?
The name of the instance partition's configuration (similar to a region) which defines the geographic placement and replication of data in this instance partition.
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
displayName → Input<String?>?
The descriptive name for this instance partition as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
final
hashCode → int
The hash code for this object.
no setterinherited
instance → Input<String?>?
The instance to create the instance partition in.
final
name → Input<String?>?
A unique identifier for the instance partition, which cannot be changed after the instance partition is created. The name must be between 2 and 64 characters and match the regular expression a-z0-9\-{0,61}a-z0-9.
final
nodeCount → Input<int?>?
The number of nodes allocated to this instance partition. One node equals 1000 processing units. Exactly one of either node_count, processing_units, or autoscalingConfig must be present.
final
processingUnits → Input<int?>?
The number of processing units allocated to this instance partition. Exactly one of either node_count, processing_units, or autoscalingConfig must be present.
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
state → Input<String?>?
The current instance partition state. Possible values are: CREATING: The instance partition is being created. Resources are being allocated for the instance partition. READY: The instance partition has been allocated resources and is ready for use.
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