Partilhar via


ServiceBusDisasterRecoveryResource.FailOver 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 Azure.Response FailOver (Azure.ResourceManager.ServiceBus.Models.FailoverProperties failoverProperties = default, System.Threading.CancellationToken cancellationToken = default);
abstract member FailOver : Azure.ResourceManager.ServiceBus.Models.FailoverProperties * System.Threading.CancellationToken -> Azure.Response
override this.FailOver : Azure.ResourceManager.ServiceBus.Models.FailoverProperties * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function FailOver (Optional failoverProperties As FailoverProperties = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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