Language

FailOver Class

Definition

[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.FailOverTypeConverter))]
public class FailOver : Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IFailOver
[<Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.FailOverTypeConverter))>]
type FailOver = class
    interface IFailOver
    interface IJsonSerializable
Public Class FailOver
Implements IFailOver
Inheritance
FailOver
Attributes
Implements

Constructors

Name Description
FailOver()

Creates an new FailOver instance.

Properties

Name Description
Force

If Force is false then graceful failover is attempted after ensuring no data loss. If Force flag is set to true, Forced failover is attempted with possible data loss.

PrimaryLocation

Query parameter for the new primary location after failover.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of FailOver.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FailOver.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IFailOver.

FromJsonString(String)

Creates a new instance of FailOver, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of FailOver into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to