Поделиться через


PartnerServerInfo Class

Definition

Partner server information for the failover group.

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

Constructors

PartnerServerInfo(ResourceIdentifier)

Initializes a new instance of PartnerServerInfo.

Properties

Id

Resource identifier of the partner server.

Location

Geo location of the partner server.

ReplicationRole

Replication role of the partner server.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PartnerServerInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PartnerServerInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PartnerServerInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PartnerServerInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PartnerServerInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to