ClusterReplicationTopology

class oci.redis.models.ClusterReplicationTopology(**kwargs)

Bases: object

Defines 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

[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]