Share via


InstanceFailoverGroupReadWriteEndpoint Class

Definition

Read-write endpoint of the failover group instance.

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

Constructors

InstanceFailoverGroupReadWriteEndpoint(ReadWriteEndpointFailoverPolicy)

Initializes a new instance of InstanceFailoverGroupReadWriteEndpoint.

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<InstanceFailoverGroupReadWriteEndpoint>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<InstanceFailoverGroupReadWriteEndpoint>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<InstanceFailoverGroupReadWriteEndpoint>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InstanceFailoverGroupReadWriteEndpoint>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<InstanceFailoverGroupReadWriteEndpoint>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to