Bagikan melalui


BackupRecoveryPointResource.TriggerRestore Method

Definition

Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use GetProtectedItemOperationResult API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/restore
  • Operation Id: Restores_Trigger
public virtual Azure.ResourceManager.ArmOperation TriggerRestore (Azure.WaitUntil waitUntil, Azure.ResourceManager.RecoveryServicesBackup.Models.TriggerRestoreContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member TriggerRestore : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesBackup.Models.TriggerRestoreContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.TriggerRestore : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesBackup.Models.TriggerRestoreContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function TriggerRestore (waitUntil As WaitUntil, content As TriggerRestoreContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
TriggerRestoreContent

resource restore request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to