Share via


ManagedInstancePairInfo Class

Definition

Pairs of Managed Instances in the failover group.

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

Constructors

ManagedInstancePairInfo()

Initializes a new instance of ManagedInstancePairInfo.

Properties

PartnerManagedInstanceId

Id of Partner Managed Instance in pair.

PrimaryManagedInstanceId

Id of Primary Managed Instance in pair.

Explicit Interface Implementations

IJsonModel<ManagedInstancePairInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedInstancePairInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedInstancePairInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedInstancePairInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedInstancePairInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to