Freigeben über


ApplicationGatewayCollection.GetAsync(String, CancellationToken) Methode

Definition

Ruft das angegebene Anwendungsgateway ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}
  • Vorgang IdApplicationGateways_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ApplicationGatewayResource>> GetAsync (string applicationGatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ApplicationGatewayResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ApplicationGatewayResource>>
Public Overridable Function GetAsync (applicationGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplicationGatewayResource))

Parameter

applicationGatewayName
String

Der Name des Anwendungsgateways.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

applicationGatewayName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

applicationGatewayName ist NULL.

Gilt für: