Delen via


MachineLearningModelVersionCollection Class

Definition

A class representing a collection of MachineLearningModelVersionResource and their operations. Each MachineLearningModelVersionResource in the collection will belong to the same instance of MachineLearningModelContainerResource. To get a MachineLearningModelVersionCollection instance call the GetMachineLearningModelVersions method from an instance of MachineLearningModelContainerResource.

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

Constructors

MachineLearningModelVersionCollection()

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

Create or update version.

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

Create or update version.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}
  • Operation Id: ModelVersions_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningModelVersionResource
GetAll(MachineLearningModelVersionCollectionGetAllOptions, CancellationToken)

List model versions.

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

List model versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions
  • Operation Id: ModelVersions_List
GetAllAsync(MachineLearningModelVersionCollectionGetAllOptions, CancellationToken)

List model versions.

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

List model versions.

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

Get version.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MachineLearningModelVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to