Freigeben über


ApplicationGatewayPrivateEndpointConnectionCollection.GetIfExistsAsync Methode

Definition

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

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

Parameter

connectionName
String

Der Name der privaten Endpunktverbindung des Anwendungsgateways.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

connectionName ist NULL.

Gilt für: