Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CrossClusterReplicationConfig

import type { CrossClusterReplicationConfig } from "https://googleapis.deno.dev/v1/redis:v1.ts";

Cross cluster replication config.

interface CrossClusterReplicationConfig {
readonly clusterRole?:
| "CLUSTER_ROLE_UNSPECIFIED"
| "NONE"
| "PRIMARY"
| "SECONDARY";
readonly membership?: Membership;
primaryCluster?: RemoteCluster;
secondaryClusters?: RemoteCluster[];
readonly updateTime?: Date;
}

§Properties

§
readonly clusterRole?: "CLUSTER_ROLE_UNSPECIFIED" | "NONE" | "PRIMARY" | "SECONDARY"
[src]

Output only. The role of the cluster in cross cluster replication.

§
readonly membership?: Membership
[src]

Output only. An output only view of all the member clusters participating in the cross cluster replication. This view will be provided by every member cluster irrespective of its cluster role(primary or secondary). A primary cluster can provide information about all the secondary clusters replicating from it. However, a secondary cluster only knows about the primary cluster from which it is replicating. However, for scenarios, where the primary cluster is unavailable(e.g. regional outage), a GetCluster request can be sent to any other member cluster and this field will list all the member clusters participating in cross cluster replication.

§
primaryCluster?: RemoteCluster
[src]

Details of the primary cluster that is used as the replication source for this secondary cluster. This field is only set for a secondary cluster.

§
secondaryClusters?: RemoteCluster[]
[src]

List of secondary clusters that are replicating from this primary cluster. This field is only set for a primary cluster.

§
readonly updateTime?: Date
[src]

Output only. The last time cross cluster replication config was updated.