Compartilhar via


MachineLearningRegistryModelVersionCollection Class

Definition

A class representing a collection of MachineLearningRegistryModelVersionResource and their operations. Each MachineLearningRegistryModelVersionResource in the collection will belong to the same instance of MachineLearningRegistryModelContainerResource. To get a MachineLearningRegistryModelVersionCollection instance call the GetMachineLearningRegistryModelVersions method from an instance of MachineLearningRegistryModelContainerResource.

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

Constructors

MachineLearningRegistryModelVersionCollection()

Initializes a new instance of the MachineLearningRegistryModelVersionCollection 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/registries/{registryName}/models/{modelName}/versions/{version}
  • Operation Id: RegistryModelVersions_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryModelVersionResource
CreateOrUpdateAsync(WaitUntil, String, MachineLearningModelVersionData, CancellationToken)

Create or update version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}
  • Operation Id: RegistryModelVersions_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryModelVersionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}
  • Operation Id: RegistryModelVersions_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryModelVersionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}
  • Operation Id: RegistryModelVersions_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryModelVersionResource
Get(String, CancellationToken)

Get version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}
  • Operation Id: RegistryModelVersions_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryModelVersionResource
GetAll(MachineLearningRegistryModelVersionCollectionGetAllOptions, CancellationToken)

List versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions
  • Operation Id: RegistryModelVersions_List
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryModelVersionResource
GetAllAsync(MachineLearningRegistryModelVersionCollectionGetAllOptions, CancellationToken)

List versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions
  • Operation Id: RegistryModelVersions_List
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryModelVersionResource
GetAsync(String, CancellationToken)

Get version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}
  • Operation Id: RegistryModelVersions_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryModelVersionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}
  • Operation Id: RegistryModelVersions_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryModelVersionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}
  • Operation Id: RegistryModelVersions_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryModelVersionResource
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<MachineLearningRegistryModelVersionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MachineLearningRegistryModelVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to