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

FeatureSupportOperationsExtensions.ValidateAsync 方法

定义

它将验证服务中是否支持具有资源属性的给定功能

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

参数

operations
IFeatureSupportOperations

此扩展方法的操作组。

azureRegion
String

要命中 Api 的 Azure 区域

parameters
FeatureSupportRequest

功能支持请求对象

cancellationToken
CancellationToken

取消标记。

返回

适用于