Partilhar via


EventHubsDisasterRecoveryResource.FailOverAsync(CancellationToken) Método

Definição

Invoca o failover de RECUPERAÇÃO GEOGRÁFICA e reconfigura o alias para apontar para o namespace secundário

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/failover
  • IdDisasterRecoveryConfigs_FailOver de operação
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)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a