Compartir a través de


VirtualWorkspaceResource.GetWorkspacePrivateEndpointConnectionAsync 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/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • IdPrivateEndpointConnections_GetByWorkspace de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>> GetWorkspacePrivateEndpointConnectionAsync (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkspacePrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>>
override this.GetWorkspacePrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>>
Public Overridable Function GetWorkspacePrivateEndpointConnectionAsync (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WorkspacePrivateEndpointConnectionResource))

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 esperaba que no estuviera vacía.

privateEndpointConnectionName es null.

Se aplica a