EventHubsNamespaceResource.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.
GeoDR Failover
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/failover
- Operation Id: Namespaces_Failover
- Default Api Version: 2025-05-01-preview
- Resource: EventHubsNamespaceResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EventHubs.Models.EventHubsNamespaceFailOver> FailOver(Azure.WaitUntil waitUntil, Azure.ResourceManager.EventHubs.Models.EventHubsNamespaceFailOver eventHubsNamespaceFailOver, System.Threading.CancellationToken cancellationToken = default);
abstract member FailOver : Azure.WaitUntil * Azure.ResourceManager.EventHubs.Models.EventHubsNamespaceFailOver * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EventHubs.Models.EventHubsNamespaceFailOver>
override this.FailOver : Azure.WaitUntil * Azure.ResourceManager.EventHubs.Models.EventHubsNamespaceFailOver * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EventHubs.Models.EventHubsNamespaceFailOver>
Public Overridable Function FailOver (waitUntil As WaitUntil, eventHubsNamespaceFailOver As EventHubsNamespaceFailOver, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of EventHubsNamespaceFailOver)
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- eventHubsNamespaceFailOver
- EventHubsNamespaceFailOver
Parameters for updating a namespace resource.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
eventHubsNamespaceFailOver is null.