Share via


SynapseWorkspaceCollection.GetAll(CancellationToken) Method

Definition

Returns a list of workspaces in a resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces
  • Operation Id: Workspaces_ListByResourceGroup
public virtual Azure.Pageable<Azure.ResourceManager.Synapse.SynapseWorkspaceResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Synapse.SynapseWorkspaceResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Synapse.SynapseWorkspaceResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SynapseWorkspaceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SynapseWorkspaceResource that may take multiple service requests to iterate over.

Applies to