PoolOperations.ListPoolNodeCounts 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 the number of nodes in each state, grouped by pool.
public Microsoft.Azure.Batch.IPagedEnumerable<Microsoft.Azure.Batch.PoolNodeCounts> ListPoolNodeCounts (Microsoft.Azure.Batch.DetailLevel detailLevel = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.ListPoolNodeCounts : Microsoft.Azure.Batch.DetailLevel * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> Microsoft.Azure.Batch.IPagedEnumerable<Microsoft.Azure.Batch.PoolNodeCounts>
Public Function ListPoolNodeCounts (Optional detailLevel As DetailLevel = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As IPagedEnumerable(Of PoolNodeCounts)
Parameters
- detailLevel
- DetailLevel
A DetailLevel used for filtering the list and for controlling which properties are retrieved from the service.
- additionalBehaviors
- IEnumerable<BatchClientBehavior>
A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors and detailLevel
.
Returns
An IPagedEnumerable<T> that can be used to enumerate pool node count details asynchronously or synchronously.
Remarks
This method returns immediately; the pool counts are retrieved from the Batch service only when the collection is enumerated. Retrieval is non-atomic; pool counts are retrieved in pages during enumeration of the collection.