ภาษา

MachineLearningExtensions.GetMachineLearningWorkspacesAsync Method

Definition

Overloads

Name Description
GetMachineLearningWorkspacesAsync(SubscriptionResource, String, String, String, CancellationToken)

Lists all the available machine learning workspaces under the specified subscription. <item> Mocking. To mock this method, please mock GetMachineLearningWorkspacesAsync(String, String, String, CancellationToken) instead. </item>

GetMachineLearningWorkspacesAsync(SubscriptionResource, String, String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces
  • Operation Id: Workspaces_ListBySubscription
<item>MockingTo mock this method, please mock GetMachineLearningWorkspaces(String, String, CancellationToken) instead.</item>

GetMachineLearningWorkspacesAsync(SubscriptionResource, String, String, String, CancellationToken)

Source:
MachineLearningExtensions.cs

Lists all the available machine learning workspaces under the specified subscription. <item> Mocking. To mock this method, please mock GetMachineLearningWorkspacesAsync(String, String, String, CancellationToken) instead. </item>

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

kind
String

Kind of workspace.

skip
String

Continuation token for pagination.

aiCapabilities
String
cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to

GetMachineLearningWorkspacesAsync(SubscriptionResource, String, String, CancellationToken)

Source:
MachineLearningExtensions.cs

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces
  • Operation Id: Workspaces_ListBySubscription
<item>MockingTo mock this method, please mock GetMachineLearningWorkspaces(String, String, CancellationToken) instead.</item>
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