Partilhar via


ReplicationProtectedItemResource.ApplyRecoveryPointAsync Método

Definição

A operação para alterar o ponto de recuperação de um item protegido por replicação com failover.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint
  • Operação IdReplicationProtectedItems_ApplyRecoveryPoint
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectedItemResource>> ApplyRecoveryPointAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryApplyRecoveryPointContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ApplyRecoveryPointAsync : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryApplyRecoveryPointContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectedItemResource>>
override this.ApplyRecoveryPointAsync : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryApplyRecoveryPointContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectedItemResource>>
Public Overridable Function ApplyRecoveryPointAsync (waitUntil As WaitUntil, content As SiteRecoveryApplyRecoveryPointContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ReplicationProtectedItemResource))

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.

content
SiteRecoveryApplyRecoveryPointContent

O ApplyRecoveryPointInput.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a