Compartir a través de


RelayNamespaceResource.GetRelayPrivateEndpointConnectionAsync Método

Definición

Obtiene una descripción para el nombre de conexión de punto de conexión privado especificado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • IdPrivateEndpointConnections_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayPrivateEndpointConnectionResource>> GetRelayPrivateEndpointConnectionAsync (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRelayPrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayPrivateEndpointConnectionResource>>
override this.GetRelayPrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayPrivateEndpointConnectionResource>>
Public Overridable Function GetRelayPrivateEndpointConnectionAsync (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RelayPrivateEndpointConnectionResource))

Parámetros

privateEndpointConnectionName
String

Nombre de PrivateEndpointConnection.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

privateEndpointConnectionName es una cadena vacía y se espera que no esté vacía.

privateEndpointConnectionName es null.

Se aplica a