你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MachineLearningEnvironmentVersionCollection.GetAllAsync 方法

定义

列出版本。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions
  • 操作IdEnvironmentVersions_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningEnvironmentVersionResource> 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.MachineLearningEnvironmentVersionResource>
override this.GetAllAsync : string * Nullable<int> * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningListViewType> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.MachineLearningEnvironmentVersionResource>
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 MachineLearningEnvironmentVersionResource)

参数

orderBy
String

列表排序。

top
Nullable<Int32>

要返回的最大记录数。

skip
String

分页的继续标记。

listViewType
Nullable<MachineLearningListViewType>

包括/排除 (的视图类型,例如) 存档实体。

stage
String

用于包括/排除 (的阶段,例如) 存档实体。 优先于 listViewType。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 MachineLearningEnvironmentVersionResource ,可能需要循环访问多个服务请求。

适用于