ClusterReplicationTopology¶
-
class
oci.redis.models.ClusterReplicationTopology(**kwargs)¶ Bases:
objectDefines the replication topology of an OCI cache cluster, including the primary cluster and associated secondary clusters participating in replication.
Methods
__init__(**kwargs)Initializes a new ClusterReplicationTopology object with values from keyword arguments. Attributes
primary_cluster[Required] Gets the primary_cluster of this ClusterReplicationTopology. secondary_clusters[Required] Gets the secondary_clusters of this ClusterReplicationTopology. -
__init__(**kwargs)¶ Initializes a new ClusterReplicationTopology object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - primary_cluster (oci.redis.models.MemberCluster) – The value to assign to the primary_cluster property of this ClusterReplicationTopology.
- secondary_clusters (list[oci.redis.models.MemberCluster]) – The value to assign to the secondary_clusters property of this ClusterReplicationTopology.
-
primary_cluster¶ [Required] Gets the primary_cluster of this ClusterReplicationTopology.
Returns: The primary_cluster of this ClusterReplicationTopology. Return type: oci.redis.models.MemberCluster
-
secondary_clusters¶ [Required] Gets the secondary_clusters of this ClusterReplicationTopology. The list of secondary clusters that replicate data from the primary cluster.
Returns: The secondary_clusters of this ClusterReplicationTopology. Return type: list[oci.redis.models.MemberCluster]
-