Share via


MachineLearningCodeVersionCollection.GetAll 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.Pageable<Azure.ResourceManager.MachineLearning.MachineLearningCodeVersionResource> GetAll (string orderBy = default, int? top = default, string skip = default, string hash = default, string hashVersion = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * Nullable<int> * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MachineLearning.MachineLearningCodeVersionResource>
override this.GetAll : string * Nullable<int> * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MachineLearning.MachineLearningCodeVersionResource>
Public Overridable Function GetAll (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 Pageable(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

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

Applies to