PoolOperationsExtensions.ListByBatchAccountAsync(IPoolOperations, String, String, Nullable<Int32>, String, String, CancellationToken) Method

Definition

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, Nullable<int> maxresults = null, string select = null, string filter = null, System.Threading.CancellationToken cancellationToken = null);
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>>

Parameters

operations
IPoolOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group that contains the Batch account.

accountName
System.String

The name of the Batch account.

maxresults
System.Nullable<System.Int32>

The maximum number of items to return in the response.

select
System.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
System.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
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Pool>>

Applies to