Language

IReplica Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ReplicaTypeConverter))]
public interface IReplica : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ReplicaTypeConverter))>]
type IReplica = interface
    interface IJsonSerializable
Public Interface IReplica
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Name Description
Capacity

Maximum number of read replicas allowed for a server.

PromoteMode

Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server.

PromoteOption

Data synchronization option to use when processing the operation specified in the promoteMode property. This property is write only.

Role

Role of the server in a replication set.

TionState

Indicates the replication state of a read replica. This property is returned only when the target server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to