PoolOperationsExtensions.ListAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET