共用方式為


MachineLearningComponentVersionCollection.GetAllAsync Method

Definition

List component versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions
  • Operation Id: ComponentVersions_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionResource> GetAllAsync (string orderBy = default, int? top = default, string skip = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningListViewType? listViewType = default, string stage = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int> * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningListViewType> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionResource>
override this.GetAllAsync : string * Nullable<int> * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningListViewType> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionResource>
Public Overridable Function GetAllAsync (Optional orderBy As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skip As String = Nothing, Optional listViewType As Nullable(Of MachineLearningListViewType) = Nothing, Optional stage As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MachineLearningComponentVersionResource)

Parameters

orderBy
String

Ordering of list.

top
Nullable<Int32>

Maximum number of records to return.

skip
String

Continuation token for pagination.

listViewType
Nullable<MachineLearningListViewType>

View type for including/excluding (for example) archived entities.

stage
String

Component stage.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to