Share via


FailoverProperties Class

Definition

Safe failover is to indicate the service should wait for pending replication to finish before switching to the secondary.

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

Constructors

FailoverProperties()

Initializes a new instance of FailoverProperties.

Properties

IsSafeFailover

Safe failover is to indicate the service should wait for pending replication to finish before switching to the secondary.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FailoverProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FailoverProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FailoverProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FailoverProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FailoverProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to