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

ReplicaConfig

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

Replica configuration for the instance.

interface ReplicaConfig {
readonly lastActiveSyncTime?: Date;
peerInstance?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "READY"
| "REMOVING"
| "FAILED";
readonly stateReasons?: "STATE_REASON_UNSPECIFIED" | "PEER_INSTANCE_UNREACHABLE" | "REMOVE_FAILED"[];
}

§Properties

§
readonly lastActiveSyncTime?: Date
[src]

Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.

§
peerInstance?: string
[src]

Optional. The peer instance.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "READY" | "REMOVING" | "FAILED"
[src]

Output only. The replica state.

§
readonly stateReasons?: "STATE_REASON_UNSPECIFIED" | "PEER_INSTANCE_UNREACHABLE" | "REMOVE_FAILED"[]
[src]

Output only. Additional information about the replication state, if available.