你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FeatureSupportOperationsExtensions.ValidateAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
它将验证服务中是否支持具有资源属性的给定功能
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
取消标记。