Dela via


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.EventHub.IDisasterRecoveryConfigsOperations operations, string resourceGroupName, string namespaceName, string alias);
static member FailOver : Microsoft.Azure.Management.EventHub.IDisasterRecoveryConfigsOperations * string * string * string -> unit
<Extension()>
Public Sub FailOver (operations As IDisasterRecoveryConfigsOperations, resourceGroupName As String, namespaceName As String, alias As String)

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

Applies to