Freigeben über


ServiceBusNamespaceResource.GetServiceBusPrivateEndpointConnectionAsync Methode

Definition

Ruft eine Beschreibung für die angegebene Private Endpunktverbindung ab.

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

Parameter

privateEndpointConnectionName
String

Der Name von 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: