Share via


MockableSynapseSubscriptionResource.GetSynapseWorkspaces Method

Definition

Returns a list of workspaces in a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Synapse/workspaces
  • Operation Id: Workspaces_List
public virtual Azure.Pageable<Azure.ResourceManager.Synapse.SynapseWorkspaceResource> GetSynapseWorkspaces (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSynapseWorkspaces : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Synapse.SynapseWorkspaceResource>
override this.GetSynapseWorkspaces : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Synapse.SynapseWorkspaceResource>
Public Overridable Function GetSynapseWorkspaces (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