Share via


MockableQuantumSubscriptionResource.GetQuantumWorkspacesAsync Method

Definition

Gets the list of Workspaces within a Subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Quantum/workspaces
  • Operation Id: Workspaces_ListBySubscription
  • Default Api Version: 2023-11-13-preview
  • Resource: QuantumWorkspaceResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Quantum.QuantumWorkspaceResource> GetQuantumWorkspacesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetQuantumWorkspacesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quantum.QuantumWorkspaceResource>
override this.GetQuantumWorkspacesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quantum.QuantumWorkspaceResource>
Public Overridable Function GetQuantumWorkspacesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of QuantumWorkspaceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to