Share via


MockableMachineLearningSubscriptionResource.GetMachineLearningWorkspacesAsync Method

Definition

Lists all the available machine learning workspaces under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces
  • Operation Id: Workspaces_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource> GetMachineLearningWorkspacesAsync (string skip = default, string kind = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMachineLearningWorkspacesAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>
override this.GetMachineLearningWorkspacesAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>
Public Overridable Function GetMachineLearningWorkspacesAsync (Optional skip As String = Nothing, Optional kind As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MachineLearningWorkspaceResource)

Parameters

skip
String

Continuation token for pagination.

kind
String

Kind of workspace.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to