ValidateOperationOperationsExtensions.TriggerAsync Method

Definition

Validate operation for specified backed up item in the form of an asynchronous operation. Returns tracking headers which can be tracked using GetValidateOperationResult API.

public static System.Threading.Tasks.Task TriggerAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IValidateOperationOperations operations, string vaultName, string resourceGroupName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.ValidateOperationRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member TriggerAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IValidateOperationOperations * string * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.ValidateOperationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function TriggerAsync (operations As IValidateOperationOperations, vaultName As String, resourceGroupName As String, parameters As ValidateOperationRequest, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IValidateOperationOperations

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

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

parameters
ValidateOperationRequest

resource validate operation request

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to