Megosztás a következőn keresztül:


IExperimentsOperations.ListByWorkspaceWithHttpMessagesAsync Metódus

Definíció

Lekéri a kísérletek listáját a megadott munkaterületen belül.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.BatchAI.Models.Experiment>>> ListByWorkspaceWithHttpMessagesAsync (string resourceGroupName, string workspaceName, Microsoft.Azure.Management.BatchAI.Models.ExperimentsListByWorkspaceOptions experimentsListByWorkspaceOptions = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByWorkspaceWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.BatchAI.Models.ExperimentsListByWorkspaceOptions * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.BatchAI.Models.Experiment>>>
Public Function ListByWorkspaceWithHttpMessagesAsync (resourceGroupName As String, workspaceName As String, Optional experimentsListByWorkspaceOptions As ExperimentsListByWorkspaceOptions = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of Experiment)))

Paraméterek

resourceGroupName
String

Annak az erőforráscsoportnak a neve, amelyhez az erőforrás tartozik.

workspaceName
String

A munkaterület neve. A munkaterületek nevei csak alfanumerikus karakterek, valamint kötőjel (-) és aláhúzásjel (_) kombinációját tartalmazhatják. A névnek 1–64 karakter hosszúságúnak kell lennie.

experimentsListByWorkspaceOptions
ExperimentsListByWorkspaceOptions

A művelet további paraméterei

customHeaders
Dictionary<String,List<String>>

A kérelemhez hozzáadandó fejlécek.

cancellationToken
CancellationToken

A lemondási jogkivonat.

Válaszok

Kivételek

A művelet érvénytelen állapotkód visszaadásakor lett eldobva

A válasz deszerializálásának sikertelenségével kapcsolatos hiba

A kötelező paraméter null értékének megadásakor történik

A következőre érvényes: