MachineLearningExtensions.GetMachineLearningWorkspaces Method

Definition

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces
  • Operation Id: Workspaces_ListBySubscription

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