Share via


MachineLearningEnvironmentVersionCollection Class

Definition

A class representing a collection of MachineLearningEnvironmentVersionResource and their operations. Each MachineLearningEnvironmentVersionResource in the collection will belong to the same instance of MachineLearningEnvironmentContainerResource. To get a MachineLearningEnvironmentVersionCollection instance call the GetMachineLearningEnvironmentVersions method from an instance of MachineLearningEnvironmentContainerResource.

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

Constructors

MachineLearningEnvironmentVersionCollection()

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

Creates or updates an EnvironmentVersion.

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

Creates or updates an EnvironmentVersion.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get version.

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

List versions.

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

List versions.

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

Get version.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MachineLearningEnvironmentVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to