Sdílet prostřednictvím


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

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

Applies to