Compartilhar via


NetworkExtensions.GetApplicationGateway Método

Definição

Obtém o gateway de aplicativo especificado.

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

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual 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 era esperado que não estivesse vazio.

applicationGatewayName é nulo.

Aplica-se a