Compartilhar via


EventHubsPrivateEndpointConnectionCollection.Get Método

Definição

Obtém uma descrição para o nome de conexão do ponto de extremidade privado especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operação 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)

Parâmetros

privateEndpointConnectionName
String

O nome PrivateEndpointConnection.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

privateEndpointConnectionName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

privateEndpointConnectionName é nulo.

Aplica-se a