Compartilhar via


DataReplicationProtectedItemResource.PlannedFailover Método

Definição

Executa o recuperação panejada no item protegido.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/plannedFailover
  • Operação IdProtectedItem_PlannedFailover
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesDataReplication.Models.PlannedFailoverModel> PlannedFailover (Azure.WaitUntil waitUntil, Azure.ResourceManager.RecoveryServicesDataReplication.Models.PlannedFailoverModel body = default, System.Threading.CancellationToken cancellationToken = default);
abstract member PlannedFailover : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesDataReplication.Models.PlannedFailoverModel * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesDataReplication.Models.PlannedFailoverModel>
override this.PlannedFailover : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesDataReplication.Models.PlannedFailoverModel * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesDataReplication.Models.PlannedFailoverModel>
Public Overridable Function PlannedFailover (waitUntil As WaitUntil, Optional body As PlannedFailoverModel = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of PlannedFailoverModel)

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

body
PlannedFailoverModel

Modelo de failover planejado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a