MockableMachineLearningSubscriptionResource.GetMachineLearningWorkspacesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetMachineLearningWorkspacesAsync(String, String, CancellationToken) |
Lists all the available machine learning workspaces under the specified subscription.
|
| GetMachineLearningWorkspacesAsync(String, String, String, CancellationToken) |
Lists all the available machine learning workspaces under the specified subscription.
|
GetMachineLearningWorkspacesAsync(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
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
GetMachineLearningWorkspacesAsync(String, 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.
- Default Api Version. : 2026-07-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource> GetMachineLearningWorkspacesAsync(string kind = default, string skip = default, string aiCapabilities = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMachineLearningWorkspacesAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>
override this.GetMachineLearningWorkspacesAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>
Public Overridable Function GetMachineLearningWorkspacesAsync (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
- 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.