你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ValidateOperationOperationsExtensions.BeginTriggerAsync 方法

定义

以异步操作的形式验证指定备份项的操作。 返回可以使用 GetValidateOperationResult API 跟踪的跟踪标头。

public static System.Threading.Tasks.Task BeginTriggerAsync (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 BeginTriggerAsync : 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 BeginTriggerAsync (operations As IValidateOperationOperations, vaultName As String, resourceGroupName As String, parameters As ValidateOperationRequest, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
IValidateOperationOperations

此扩展方法的操作组。

vaultName
String

恢复服务保管库的名称。

resourceGroupName
String

恢复服务保管库所在的资源组的名称。

parameters
ValidateOperationRequest

资源验证操作请求

cancellationToken
CancellationToken

取消标记。

返回

适用于