Share via


WorkspacesOperationsExtensions.ListBySubscriptionAsync Method

Definition

Lists all the available workspaces under the specified subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.HealthcareApis.Models.Workspace>> ListBySubscriptionAsync (this Microsoft.Azure.Management.HealthcareApis.IWorkspacesOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.HealthcareApis.IWorkspacesOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.HealthcareApis.Models.Workspace>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As IWorkspacesOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Workspace))

Parameters

operations
IWorkspacesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to