DisasterRecoveryConfigsOperationsExtensions.FailOverAsync 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 System.Threading.Tasks.Task FailOverAsync (this Microsoft.Azure.Management.ServiceBus.IDisasterRecoveryConfigsOperations operations, string resourceGroupName, string namespaceName, string alias, Microsoft.Azure.Management.ServiceBus.Models.FailoverProperties parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member FailOverAsync : Microsoft.Azure.Management.ServiceBus.IDisasterRecoveryConfigsOperations * string * string * string * Microsoft.Azure.Management.ServiceBus.Models.FailoverProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function FailOverAsync (operations As IDisasterRecoveryConfigsOperations, resourceGroupName As String, namespaceName As String, alias As String, Optional parameters As FailoverProperties = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
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)
- cancellationToken
- CancellationToken
The cancellation token.