ClusterArgs constructor
- 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.
clusterConfig Configuration for this cluster.
clusterId Required. The ID to be used when referring to the new cluster within its instance, e.g., just mycluster rather than projects/myproject/instances/myinstance/clusters/mycluster.
defaultStorageType Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
encryptionConfig Immutable. The encryption configuration for CMEK-protected clusters.
instanceId Required.
location 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}.
name The unique name of the cluster. Values are of the form projects/{project}/instances/{instance}/clusters/a-z*.
project Optional.
serveNodes 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.
Implementation
const ClusterArgs({
this.clusterConfig,
required this.clusterId,
this.defaultStorageType,
this.encryptionConfig,
required this.instanceId,
this.location,
this.name,
this.project,
this.serveNodes,
});