IWorkspacesOperations.ListByResourceGroupWithHttpMessagesAsync Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
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:
Azure SDK for .NET