Sdílet prostřednictvím


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);
abstract member GetAllAsync : Nullable<int> * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchAccountPoolResource>
override this.GetAllAsync : Nullable<int> * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchAccountPoolResource>
Public Overridable Function GetAllAsync (Optional maxresults As Nullable(Of Integer) = Nothing, Optional select As String = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BatchAccountPoolResource)

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