共用方式為


PoolOperationsExtensions.ListByBatchAccountAsync 方法

定義

列出指定帳戶中的所有集區。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.Pool>> ListByBatchAccountAsync (this Microsoft.Azure.Management.Batch.IPoolOperations operations, string resourceGroupName, string accountName, int? maxresults = default, string select = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByBatchAccountAsync : Microsoft.Azure.Management.Batch.IPoolOperations * string * string * Nullable<int> * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.Pool>>
<Extension()>
Public Function ListByBatchAccountAsync (operations As IPoolOperations, resourceGroupName As String, accountName As String, Optional maxresults As Nullable(Of Integer) = Nothing, Optional select As String = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Pool))

參數

operations
IPoolOperations

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

resourceGroupName
String

包含 Batch 帳戶的資源組名。

accountName
String

Batch 帳戶的名稱。

maxresults
Nullable<Int32>

回應中要傳回的專案數目上限。

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

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於