Delen via


MockableHealthcareApisSubscriptionResource.GetHealthcareApisWorkspacesAsync Method

Definition

Lists all the available workspaces under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/workspaces
  • Operation Id: Workspaces_ListBySubscription
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceResource> GetHealthcareApisWorkspacesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHealthcareApisWorkspacesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceResource>
override this.GetHealthcareApisWorkspacesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceResource>
Public Overridable Function GetHealthcareApisWorkspacesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HealthcareApisWorkspaceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to