你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PoolOperationsExtensions.ListAsync 方法

定义

列出指定帐户中的所有池。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.CloudPool>> ListAsync (this Microsoft.Azure.Batch.Protocol.IPoolOperations operations, Microsoft.Azure.Batch.Protocol.Models.PoolListOptions poolListOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Batch.Protocol.IPoolOperations * Microsoft.Azure.Batch.Protocol.Models.PoolListOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.CloudPool>>
<Extension()>
Public Function ListAsync (operations As IPoolOperations, Optional poolListOptions As PoolListOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of CloudPool))

参数

operations
IPoolOperations

此扩展方法的操作组。

poolListOptions
PoolListOptions

操作的其他参数

cancellationToken
CancellationToken

取消标记。

返回

适用于