Delen via


FailoverGroupReadOnlyEndpoint Class

Definition

Read-only endpoint of the failover group instance.

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

Constructors

FailoverGroupReadOnlyEndpoint()

Initializes a new instance of FailoverGroupReadOnlyEndpoint.

Properties

FailoverPolicy

Failover policy of the read-only endpoint for the failover group.

TargetServer

The target partner server where the read-only endpoint points to.

Explicit Interface Implementations

IJsonModel<FailoverGroupReadOnlyEndpoint>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FailoverGroupReadOnlyEndpoint>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FailoverGroupReadOnlyEndpoint>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FailoverGroupReadOnlyEndpoint>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FailoverGroupReadOnlyEndpoint>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to