ClusterArgs class
The set of arguments for Cluster. The set of arguments for Cluster.
Constructors
-
ClusterArgs({Input<
ClusterConfig> ? clusterConfig, required Input<String> clusterId, Input<ClusterDefaultStorageType> ? defaultStorageType, Input<EncryptionConfig> ? encryptionConfig, required Input<String> instanceId, Input<String> ? location, Input<String> ? name, Input<String> ? project, Input<int> ? serveNodes}) -
Creates a new ClusterArgs.
clusterConfigConfiguration for this cluster.clusterIdRequired. The ID to be used when referring to the new cluster within its instance, e.g., justmyclusterrather thanprojects/myproject/instances/myinstance/clusters/mycluster.defaultStorageTypeImmutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.encryptionConfigImmutable. The encryption configuration for CMEK-protected clusters.instanceIdRequired.locationImmutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the formprojects/{project}/locations/{zone}.nameThe unique name of the cluster. Values are of the formprojects/{project}/instances/{instance}/clusters/a-z*.projectOptional.serveNodesThe number of nodes in the cluster. If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.const -
ClusterArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
clusterConfig
→ Input<
ClusterConfig> ? -
Configuration for this cluster.
final
-
clusterId
→ Input<
String> -
Required. The ID to be used when referring to the new cluster within its instance, e.g., just
myclusterrather thanprojects/myproject/instances/myinstance/clusters/mycluster.final -
defaultStorageType
→ Input<
ClusterDefaultStorageType> ? -
Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
final
-
encryptionConfig
→ Input<
EncryptionConfig> ? -
Immutable. The encryption configuration for CMEK-protected clusters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceId
→ Input<
String> -
final
-
location
→ Input<
String> ? -
Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form
projects/{project}/locations/{zone}.final -
name
→ Input<
String> ? -
The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*.final -
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serveNodes
→ Input<
int> ? -
The number of nodes in the cluster. If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.
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