PoolOperationsExtensions.ListByBatchAccountAsync 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 in the specified account.
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))
Parameters
- operations
- IPoolOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group that contains the Batch account.
- accountName
- String
The name of the Batch account.
- select
- String
Comma separated list of properties that should be returned. e.g. "properties/provisioningState". Only top level properties under properties/ are valid for selection.
- filter
- String
OData filter expression. Valid properties for filtering are:
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
The cancellation token.
Returns
Applies to
Azure SDK for .NET