clusterType property

String? clusterType
getter/setter pair

The type of the cluster.

This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. CreateCluster vs. CreateSecondaryCluster

Output only. Possible string values are:

  • "CLUSTER_TYPE_UNSPECIFIED" : The type of the cluster is unknown.
  • "PRIMARY" : Primary cluster that support read and write operations.
  • "SECONDARY" : Secondary cluster that is replicating from another region. This only supports read.

Implementation

core.String? clusterType;