Megosztás a következőn keresztül:


PoolOperationsExtensions.ListAsync Method

Definition

Lists all of the Pools which be mounted

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))

Parameters

operations
IPoolOperations

The operations group for this extension method.

poolListOptions
PoolListOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to