共用方式為


MachineLearningWorkspaceCollection Class

Definition

A class representing a collection of MachineLearningWorkspaceResource and their operations. Each MachineLearningWorkspaceResource in the collection will belong to the same instance of ResourceGroupResource. To get a MachineLearningWorkspaceCollection instance call the GetMachineLearningWorkspaces method from an instance of ResourceGroupResource.

public class MachineLearningWorkspaceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>
type MachineLearningWorkspaceCollection = class
    inherit ArmCollection
    interface seq<MachineLearningWorkspaceResource>
    interface IEnumerable
    interface IAsyncEnumerable<MachineLearningWorkspaceResource>
Public Class MachineLearningWorkspaceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of MachineLearningWorkspaceResource), IEnumerable(Of MachineLearningWorkspaceResource)
Inheritance
MachineLearningWorkspaceCollection
Implements

Constructors

MachineLearningWorkspaceCollection()

Initializes a new instance of the MachineLearningWorkspaceCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, MachineLearningWorkspaceData, CancellationToken)

Creates or updates a workspace with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}
  • Operation Id: Workspaces_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceResource
CreateOrUpdateAsync(WaitUntil, String, MachineLearningWorkspaceData, CancellationToken)

Creates or updates a workspace with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}
  • Operation Id: Workspaces_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceResource
Get(String, CancellationToken)

Gets the properties of the specified machine learning workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceResource
GetAll(String, String, CancellationToken)

Lists all the available machine learning workspaces under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces
  • Operation Id: Workspaces_ListByResourceGroup
GetAllAsync(String, String, CancellationToken)

Lists all the available machine learning workspaces under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces
  • Operation Id: Workspaces_ListByResourceGroup
GetAsync(String, CancellationToken)

Gets the properties of the specified machine learning workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<MachineLearningWorkspaceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MachineLearningWorkspaceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to