RestoresOperationsExtensions.TriggerAsync(IRestoresOperations, String, String, String, String, String, String, RestoreRequestResource, CancellationToken) Method

Definition

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

public static System.Threading.Tasks.Task TriggerAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IRestoresOperations operations, string vaultName, string resourceGroupName, string fabricName, string containerName, string protectedItemName, string recoveryPointId, Microsoft.Azure.Management.RecoveryServices.Backup.Models.RestoreRequestResource parameters, System.Threading.CancellationToken cancellationToken = null);
static member TriggerAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IRestoresOperations * string * string * string * string * string * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.RestoreRequestResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

operations
IRestoresOperations

The operations group for this extension method.

vaultName
System.String

The name of the recovery services vault.

resourceGroupName
System.String

The name of the resource group where the recovery services vault is present.

fabricName
System.String

Fabric name associated with the backed up items.

containerName
System.String

Container name associated with the backed up items.

protectedItemName
System.String

Backed up item to be restored.

recoveryPointId
System.String

Recovery point ID which represents the backed up data to be restored.

parameters
RestoreRequestResource

resource restore request

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to