Share via


MachineLearningComponentVersionCollection Class

Definition

A class representing a collection of MachineLearningComponentVersionResource and their operations. Each MachineLearningComponentVersionResource in the collection will belong to the same instance of MachineLearningComponentContainerResource. To get a MachineLearningComponentVersionCollection instance call the GetMachineLearningComponentVersions method from an instance of MachineLearningComponentContainerResource.

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

Constructors

MachineLearningComponentVersionCollection()

Initializes a new instance of the MachineLearningComponentVersionCollection 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, MachineLearningComponentVersionData, CancellationToken)

Create or update version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}
  • Operation Id: ComponentVersions_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningComponentVersionResource
CreateOrUpdateAsync(WaitUntil, String, MachineLearningComponentVersionData, CancellationToken)

Create or update version.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}
  • Operation Id: ComponentVersions_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningComponentVersionResource
GetAll(String, Nullable<Int32>, String, Nullable<MachineLearningListViewType>, String, CancellationToken)

List component versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions
  • Operation Id: ComponentVersions_List
GetAllAsync(String, Nullable<Int32>, String, Nullable<MachineLearningListViewType>, String, CancellationToken)

List component versions.

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

Get version.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}
  • Operation Id: ComponentVersions_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningComponentVersionResource
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<MachineLearningComponentVersionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MachineLearningComponentVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to