Share via


OperationOperationsExtensions.ValidateAsync Method

Definition

Validate operation for specified backed up item. This is a synchronous operation.

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

Parameters

operations
IOperationOperations

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