다음을 통해 공유


PartnerRegionInfo Class

Definition

Partner region information for the failover group.

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

Constructors

PartnerRegionInfo()

Initializes a new instance of PartnerRegionInfo.

Properties

Location

Geo location of the partner managed instances.

ReplicationRole

Replication role of the partner managed instances.

Explicit Interface Implementations

IJsonModel<PartnerRegionInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PartnerRegionInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PartnerRegionInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PartnerRegionInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PartnerRegionInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to