PoolOperationsExtensions.ListByBatchAccountAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列出指定帳戶中的所有集區。
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 帳戶的名稱。
- 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
取消語彙基元。