clusterRole

@JvmName(name = "ywuyyussnbfhtbul")
suspend fun clusterRole(value: Output<String>)
@JvmName(name = "svkuluvxperjxsar")
suspend fun clusterRole(value: String?)

Parameters

value

The role of the cluster in cross cluster replication. Supported values are:

  1. CLUSTER_ROLE_UNSPECIFIED: This is an independent cluster that has never participated in cross cluster replication. It allows both reads and writes.

  2. NONE: This is an independent cluster that previously participated in cross cluster replication(either as a PRIMARY or SECONDARY cluster). It allows both reads and writes.

  3. PRIMARY: This cluster serves as the replication source for secondary clusters that are replicating from it. Any data written to it is automatically replicated to its secondary clusters. It allows both reads and writes.

  4. SECONDARY: This cluster replicates data from the primary cluster. It allows only reads. Possible values are: CLUSTER_ROLE_UNSPECIFIED, NONE, PRIMARY, SECONDARY.