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"
| "PROMOTING"
| "PAUSING"
| "PAUSED"
| "RESUMING";
readonly stateReasons?:
| "STATE_REASON_UNSPECIFIED"
| "PEER_INSTANCE_UNREACHABLE"
| "REMOVE_FAILED"
| "PAUSE_FAILED"
| "RESUME_FAILED"[];
readonly stateUpdateTime?: Date;
}

§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" | "PROMOTING" | "PAUSING" | "PAUSED" | "RESUMING"
[src]

Output only. The replica state.

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

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

§
readonly stateUpdateTime?: Date
[src]

Output only. The time when the replica state was updated.