Share via


MachineLearningDataVersionCollection Class

Definition

A class representing a collection of MachineLearningDataVersionResource and their operations. Each MachineLearningDataVersionResource in the collection will belong to the same instance of MachineLearningDataContainerResource. To get a MachineLearningDataVersionCollection instance call the GetMachineLearningDataVersions method from an instance of MachineLearningDataContainerResource.

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

Constructors

MachineLearningDataVersionCollection()

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

Create or update version.

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

Create or update version.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get version.

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

List data versions in the data container

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

List data versions in the data container

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

Get version.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MachineLearningDataVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to