Replica interface

Replica properties of a server

Properties

capacity

Replicas allowed for a server. NOTE: This property will not be serialized. It can only be populated by the server.

promoteMode

Sets the promote mode for a replica server. This is a write only property.

promoteOption

Sets the promote options for a replica server. This is a write only property.

replicationState

Gets the replication state of a replica server. This property is returned only for replicas api call. Supported values are Active, Catchup, Provisioning, Updating, Broken, Reconfiguring NOTE: This property will not be serialized. It can only be populated by the server.

role

Used to indicate role of the server in replication set.

Property Details

capacity

Replicas allowed for a server. NOTE: This property will not be serialized. It can only be populated by the server.

capacity?: number

Property Value

number

promoteMode

Sets the promote mode for a replica server. This is a write only property.

promoteMode?: string

Property Value

string

promoteOption

Sets the promote options for a replica server. This is a write only property.

promoteOption?: string

Property Value

string

replicationState

Gets the replication state of a replica server. This property is returned only for replicas api call. Supported values are Active, Catchup, Provisioning, Updating, Broken, Reconfiguring NOTE: This property will not be serialized. It can only be populated by the server.

replicationState?: string

Property Value

string

role

Used to indicate role of the server in replication set.

role?: string

Property Value

string