Compartilhar via


ServiceBusDisasterRecoveryResource.FailOverAsync 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.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/failover
  • IdDisasterRecoveryConfigs_FailOver de operação
public virtual System.Threading.Tasks.Task<Azure.Response> FailOverAsync (Azure.ResourceManager.ServiceBus.Models.FailoverProperties failoverProperties = default, System.Threading.CancellationToken cancellationToken = default);
abstract member FailOverAsync : Azure.ResourceManager.ServiceBus.Models.FailoverProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.FailOverAsync : Azure.ResourceManager.ServiceBus.Models.FailoverProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function FailOverAsync (Optional failoverProperties As FailoverProperties = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parâmetros

failoverProperties
FailoverProperties

Parâmetros necessários para criar um Alias (configuração de recuperação de desastre).

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a