Share via


MachineLearningCodeVersionCollection.GetAllAsync Method

Definition

List versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions
  • Operation Id: CodeVersions_List
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningCodeVersionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningCodeVersionResource> GetAllAsync (string orderBy = default, int? top = default, string skip = default, string hash = default, string hashVersion = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int> * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningCodeVersionResource>
override this.GetAllAsync : string * Nullable<int> * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningCodeVersionResource>
Public Overridable Function GetAllAsync (Optional orderBy As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skip As String = Nothing, Optional hash As String = Nothing, Optional hashVersion As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MachineLearningCodeVersionResource)

Parameters

orderBy
String

Ordering of list.

top
Nullable<Int32>

Maximum number of records to return.

skip
String

Continuation token for pagination.

hash
String

If specified, return CodeVersion assets with specified content hash value, regardless of name.

hashVersion
String

Hash algorithm version when listing by hash.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of MachineLearningCodeVersionResource that may take multiple service requests to iterate over.

Applies to