Partilhar via


NetworkExtensions.GetApplicationGatewayAsync Método

Definição

Obtém o gateway de aplicativo especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}
  • Operação IdApplicationGateways_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ApplicationGatewayResource>> GetApplicationGatewayAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string applicationGatewayName, System.Threading.CancellationToken cancellationToken = default);
static member GetApplicationGatewayAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ApplicationGatewayResource>>
<Extension()>
Public Function GetApplicationGatewayAsync (resourceGroupResource As ResourceGroupResource, applicationGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplicationGatewayResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

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

applicationGatewayName
String

O nome do gateway de aplicativo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

applicationGatewayName é nulo.

Aplica-se a