Compartilhar via


WebSiteSlotResource.GetNetworkFeatureAsync(String, CancellationToken) Método

Definição

Descrição para Obtém todos os recursos de rede usados pelo aplicativo (ou slot de implantação, se especificado).

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}
  • Operação IdWebApps_ListNetworkFeaturesSlot
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.NetworkFeatureResource>> GetNetworkFeatureAsync (string view, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkFeatureAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.NetworkFeatureResource>>
override this.GetNetworkFeatureAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.NetworkFeatureResource>>
Public Overridable Function GetNetworkFeatureAsync (view As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkFeatureResource))

Parâmetros

view
String

O tipo de exibição. Somente há suporte para "resumo" no momento.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

view é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

view é nulo.

Aplica-se a