MachineLearningRegistryCodeVersionCollection Class

Definition

A class representing a collection of MachineLearningRegistryCodeVersionResource and their operations. Each MachineLearningRegistryCodeVersionResource in the collection will belong to the same instance of MachineLearningRegistryCodeContainerResource. To get a MachineLearningRegistryCodeVersionCollection instance call the GetMachineLearningRegistryCodeVersions method from an instance of MachineLearningRegistryCodeContainerResource.

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

Constructors

MachineLearningRegistryCodeVersionCollection()

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

Create or update version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}
  • Operation Id: RegistryCodeVersions_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryCodeVersionResource
CreateOrUpdateAsync(WaitUntil, String, MachineLearningCodeVersionData, CancellationToken)

Create or update version.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}
  • Operation Id: RegistryCodeVersions_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryCodeVersionResource
GetAll(String, Nullable<Int32>, String, CancellationToken)

List versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions
  • Operation Id: RegistryCodeVersions_List
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningRegistryCodeVersionResource
GetAllAsync(String, Nullable<Int32>, String, CancellationToken)

List versions.

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

Get version.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MachineLearningRegistryCodeVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to