BatchAccountPoolCollection.GetAll 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.
- 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
- 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
Azure SDK for .NET