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

AppServiceExtensions.VerifyHostingEnvironmentVnetAsync 方法

定义

有关通过分析网络安全组规则来验证此 VNET 是否与应用服务环境兼容的说明。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet
  • 操作 IdVerifyHostingEnvironmentVnet
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.VirtualNetworkValidationFailureDetails>> VerifyHostingEnvironmentVnetAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkValidationContent content, System.Threading.CancellationToken cancellationToken = default);
static member VerifyHostingEnvironmentVnetAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkValidationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.VirtualNetworkValidationFailureDetails>>
<Extension()>
Public Function VerifyHostingEnvironmentVnetAsync (subscriptionResource As SubscriptionResource, content As AppServiceVirtualNetworkValidationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualNetworkValidationFailureDetails))

参数

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 将对其执行的实例。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于