IPoolOperations.ListByBatchAccountWithHttpMessagesAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列出指定帳戶中的所有集區。
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.Pool>>> ListByBatchAccountWithHttpMessagesAsync (string resourceGroupName, string accountName, int? maxresults = default, string select = default, string filter = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByBatchAccountWithHttpMessagesAsync : string * string * Nullable<int> * string * string * 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.Batch.Models.Pool>>>
Public Function ListByBatchAccountWithHttpMessagesAsync (resourceGroupName As String, accountName As String, Optional maxresults As Nullable(Of Integer) = Nothing, Optional select As String = Nothing, Optional filter As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of Pool)))
參數
- resourceGroupName
- String
包含 Batch 帳戶的資源群組名稱。
- accountName
- String
Batch 帳戶的名稱。
- select
- String
應該傳回的屬性逗號分隔清單。 例如「properties/provisioningState」。 只有屬性/ 下的最上層屬性才適用于選取範圍。
- filter
- String
OData 篩選運算式。 篩選的有效屬性包括:
name properties/allocationState properties/allocationStateTransitionTime properties/creationTime properties/provisioningState properties/provisioningStateTransitionTime properties/lastModified properties/vmSize properties/interNodeCommunication properties/scaleSettings/autoScale properties/scaleSettings/fixedScale
- customHeaders
- Dictionary<String,List<String>>
將新增至要求的標頭。
- cancellationToken
- CancellationToken
取消語彙基元。
傳回
例外狀況
當作業傳回不正確狀態碼時擲回
無法還原序列化回應時擲回
當必要參數為 Null 時擲回