MachineLearningExtensions.GetMachineLearningWorkspaces 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
GetMachineLearningWorkspaces(ResourceGroupResource) |
Gets a collection of MachineLearningWorkspaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMachineLearningWorkspaces() instead. |
GetMachineLearningWorkspaces(SubscriptionResource, String, String, CancellationToken) |
Lists all the available machine learning workspaces under the specified subscription.
|
GetMachineLearningWorkspaces(ResourceGroupResource)
- Source:
- MachineLearningExtensions.cs
- Source:
- MachineLearningExtensions.cs
Gets a collection of MachineLearningWorkspaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMachineLearningWorkspaces() instead.
public static Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceCollection GetMachineLearningWorkspaces (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetMachineLearningWorkspaces : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceCollection
<Extension()>
Public Function GetMachineLearningWorkspaces (resourceGroupResource As ResourceGroupResource) As MachineLearningWorkspaceCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of MachineLearningWorkspaceResources and their operations over a MachineLearningWorkspaceResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetMachineLearningWorkspaces(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
public static Azure.Pageable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource> GetMachineLearningWorkspaces (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skip = default, string kind = default, System.Threading.CancellationToken cancellationToken = default);
static member GetMachineLearningWorkspaces : Azure.ResourceManager.Resources.SubscriptionResource * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>
<Extension()>
Public Function GetMachineLearningWorkspaces (subscriptionResource As SubscriptionResource, Optional skip As String = Nothing, Optional kind As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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
A collection of MachineLearningWorkspaceResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET