Share via


BatchAccountPoolCollection.GetAllAsync Method

Definition

Lists all of the pools in the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools
  • Operation Id: Pool_ListByBatchAccount
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchAccountPoolResource> GetAllAsync(int? maxresults = default, string select = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);

Parameters

maxresults
Nullable<Int32>

The maximum number of items to return in the response.

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 to use.

Returns

An async collection of BatchAccountPoolResource that may take multiple service requests to iterate over.

Applies to

Product Versions
Azure SDK for .NET Latest, Preview