共用方式為


ExperimentsOperationsExtensions.ListByWorkspaceAsync 方法

定義

取得指定工作區內的實驗清單。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.BatchAI.Models.Experiment>> ListByWorkspaceAsync (this Microsoft.Azure.Management.BatchAI.IExperimentsOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.BatchAI.Models.ExperimentsListByWorkspaceOptions experimentsListByWorkspaceOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByWorkspaceAsync : Microsoft.Azure.Management.BatchAI.IExperimentsOperations * string * string * Microsoft.Azure.Management.BatchAI.Models.ExperimentsListByWorkspaceOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.BatchAI.Models.Experiment>>
<Extension()>
Public Function ListByWorkspaceAsync (operations As IExperimentsOperations, resourceGroupName As String, workspaceName As String, Optional experimentsListByWorkspaceOptions As ExperimentsListByWorkspaceOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Experiment))

參數

operations
IExperimentsOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源所屬資源群組的名稱。

workspaceName
String

工作區的名稱。 工作區名稱只能包含英數位元的組合,以及虛線 () 和底線 (_) 。 名稱長度必須介於 1 到 64 個字元之間。

experimentsListByWorkspaceOptions
ExperimentsListByWorkspaceOptions

作業的其他參數

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於