Freigeben über


EventHubsPrivateEndpointConnectionCollection.Get Methode

Definition

Ruft eine Beschreibung für den angegebenen Namen der Verbindung zum privaten Endpunkt ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Vorgang IdPrivateEndpointConnections_Get
public virtual Azure.Response<Azure.ResourceManager.EventHubs.EventHubsPrivateEndpointConnectionResource> Get (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.EventHubsPrivateEndpointConnectionResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.EventHubsPrivateEndpointConnectionResource>
Public Overridable Function Get (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EventHubsPrivateEndpointConnectionResource)

Parameter

privateEndpointConnectionName
String

Der Name "PrivateEndpointConnection".

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

privateEndpointConnectionName ist NULL.

Gilt für: