다음을 통해 공유


FailoverGroupReadWriteEndpoint Class

Definition

Read-write endpoint of the failover group instance.

public class FailoverGroupReadWriteEndpoint : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.Models.FailoverGroupReadWriteEndpoint>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.Models.FailoverGroupReadWriteEndpoint>
type FailoverGroupReadWriteEndpoint = class
    interface IJsonModel<FailoverGroupReadWriteEndpoint>
    interface IPersistableModel<FailoverGroupReadWriteEndpoint>
Public Class FailoverGroupReadWriteEndpoint
Implements IJsonModel(Of FailoverGroupReadWriteEndpoint), IPersistableModel(Of FailoverGroupReadWriteEndpoint)
Inheritance
FailoverGroupReadWriteEndpoint
Implements

Constructors

FailoverGroupReadWriteEndpoint(ReadWriteEndpointFailoverPolicy)

Initializes a new instance of FailoverGroupReadWriteEndpoint.

Properties

FailoverPolicy

Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

FailoverWithDataLossGracePeriodMinutes

Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

Explicit Interface Implementations

IJsonModel<FailoverGroupReadWriteEndpoint>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FailoverGroupReadWriteEndpoint>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FailoverGroupReadWriteEndpoint>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FailoverGroupReadWriteEndpoint>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FailoverGroupReadWriteEndpoint>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to