Freigeben über


ApplicationGatewayPrivateEndpointConnectionCollection.GetIfExists Methode

Definition

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}
  • Vorgangs-IdApplicationGatewayPrivateEndpointConnections_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Network.ApplicationGatewayPrivateEndpointConnectionResource> GetIfExists (string connectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.ApplicationGatewayPrivateEndpointConnectionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.ApplicationGatewayPrivateEndpointConnectionResource>
Public Overridable Function GetIfExists (connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As 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: