DisasterRecoveryConfigsOperationsExtensions.FailOver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)