Compartir a través de


HostPoolResource.GetHostPoolPrivateEndpointConnectionAsync Método

Definición

Obtenga una conexión de punto de conexión privado.

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

Parámetros

privateEndpointConnectionName
String

Nombre de la conexión de punto de conexión privado asociada al recurso de Azure.

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