共用方式為


MachineLearningEnvironmentVersionCollection.GetAll Method

Definition

List versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions
  • Operation Id: EnvironmentVersions_List
public virtual Azure.Pageable<Azure.ResourceManager.MachineLearning.MachineLearningEnvironmentVersionResource> GetAll (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 GetAll : string * Nullable<int> * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningListViewType> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MachineLearning.MachineLearningEnvironmentVersionResource>
override this.GetAll : string * Nullable<int> * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningListViewType> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MachineLearning.MachineLearningEnvironmentVersionResource>
Public Overridable Function GetAll (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 Pageable(Of MachineLearningEnvironmentVersionResource)

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

Stage for including/excluding (for example) archived entities. Takes priority over listViewType.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to