Partilhar via


AppServiceExtensions.VerifyHostingEnvironmentVnetAsync Método

Definição

Descrição de Verifica se essa VNET é compatível com um Ambiente do Serviço de Aplicativo analisando as regras do Grupo de Segurança de Rede.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet
  • Operação 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))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

content
AppServiceVirtualNetworkValidationContent

Informações da VNET.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a