Share via


WorkspacePrivateEndpointConnectionCollection.GetAllAsync Method

Definition

List private endpoint connections.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_ListByWorkspace
  • Default Api Version: 2024-04-03
  • Resource: WorkspacePrivateEndpointConnectionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WorkspacePrivateEndpointConnectionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of WorkspacePrivateEndpointConnectionResource that may take multiple service requests to iterate over.

Applies to