共用方式為


MachineLearningExtensions.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 static Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource> GetMachineLearningWorkspacesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skip = default, string kind = default, System.Threading.CancellationToken cancellationToken = default);
static member GetMachineLearningWorkspacesAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>
<Extension()>
Public Function GetMachineLearningWorkspacesAsync (subscriptionResource As SubscriptionResource, Optional skip As String = Nothing, Optional kind As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MachineLearningWorkspaceResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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.

Exceptions

subscriptionResource is null.

Applies to