Freigeben über


EventHubsDisasterRecoveryResource.FailOverAsync(CancellationToken) Methode

Definition

Ruft GEO DR-Failover auf, und konfigurieren Sie den Alias neu, um auf den sekundären Namespace zu verweisen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/failover
  • Vorgang IdDisasterRecoveryConfigs_FailOver
public virtual System.Threading.Tasks.Task<Azure.Response> FailOverAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member FailOverAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.FailOverAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function FailOverAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: