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


IWorkspacesOperations.ListByResourceGroupWithHttpMessagesAsync Metódus

Definíció

Lekéri a munkaterületek listáját a megadott erőforráscsoporton belül.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.BatchAI.Models.Workspace>>> ListByResourceGroupWithHttpMessagesAsync (string resourceGroupName, Microsoft.Azure.Management.BatchAI.Models.WorkspacesListByResourceGroupOptions workspacesListByResourceGroupOptions = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByResourceGroupWithHttpMessagesAsync : string * Microsoft.Azure.Management.BatchAI.Models.WorkspacesListByResourceGroupOptions * 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.Workspace>>>
Public Function ListByResourceGroupWithHttpMessagesAsync (resourceGroupName As String, Optional workspacesListByResourceGroupOptions As WorkspacesListByResourceGroupOptions = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of Workspace)))

Paraméterek

resourceGroupName
String

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

workspacesListByResourceGroupOptions
WorkspacesListByResourceGroupOptions

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: