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

ReplicationCluster

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

A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Only applicable to MySQL.

interface ReplicationCluster {
readonly drReplica?: boolean;
failoverDrReplicaName?: string;
}

§Properties

§
readonly drReplica?: boolean
[src]

Output only. Read-only field that indicates whether the replica is a DR replica. This field is not set if the instance is a primary instance.

§
failoverDrReplicaName?: string
[src]

Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Set this field to a replica name to designate a DR replica for a primary instance. Remove the replica name to remove the DR replica designation.