PostgreSqlFlexibleServersReplica Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Replica properties of a server.
public class PostgreSqlFlexibleServersReplica : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersReplica>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersReplica>
type PostgreSqlFlexibleServersReplica = class
interface IJsonModel<PostgreSqlFlexibleServersReplica>
interface IPersistableModel<PostgreSqlFlexibleServersReplica>
Public Class PostgreSqlFlexibleServersReplica
Implements IJsonModel(Of PostgreSqlFlexibleServersReplica), IPersistableModel(Of PostgreSqlFlexibleServersReplica)
- Inheritance
-
PostgreSqlFlexibleServersReplica
- Implements
Constructors
PostgreSqlFlexibleServersReplica() |
Initializes a new instance of PostgreSqlFlexibleServersReplica. |
Properties
Capacity |
Replicas allowed for a 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. |
Role |
Used to indicate role of the server in replication set. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<PostgreSqlFlexibleServersReplica>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<PostgreSqlFlexibleServersReplica>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<PostgreSqlFlexibleServersReplica>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<PostgreSqlFlexibleServersReplica>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<PostgreSqlFlexibleServersReplica>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |