共用方式為


DisasterRecoveryConfigsOperationsExtensions.FailOver Method

Definition

Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace

public static void FailOver (this Microsoft.Azure.Management.ServiceBus.IDisasterRecoveryConfigsOperations operations, string resourceGroupName, string namespaceName, string alias, Microsoft.Azure.Management.ServiceBus.Models.FailoverProperties parameters = default);
static member FailOver : Microsoft.Azure.Management.ServiceBus.IDisasterRecoveryConfigsOperations * string * string * string * Microsoft.Azure.Management.ServiceBus.Models.FailoverProperties -> unit
<Extension()>
Public Sub FailOver (operations As IDisasterRecoveryConfigsOperations, resourceGroupName As String, namespaceName As String, alias As String, Optional parameters As FailoverProperties = Nothing)

Parameters

operations
IDisasterRecoveryConfigsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The namespace name

alias
String

The Disaster Recovery configuration name

parameters
FailoverProperties

Parameters required to create an Alias(Disaster Recovery configuration)

Applies to