PoolOperations.ListPoolUsageMetrics 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.
Enumerates pool usage metrics.
public Microsoft.Azure.Batch.IPagedEnumerable<Microsoft.Azure.Batch.PoolUsageMetrics> ListPoolUsageMetrics (DateTime? startTime = default, DateTime? endTime = default, Microsoft.Azure.Batch.DetailLevel detailLevel = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.ListPoolUsageMetrics : Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Batch.DetailLevel * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> Microsoft.Azure.Batch.IPagedEnumerable<Microsoft.Azure.Batch.PoolUsageMetrics>
Public Function ListPoolUsageMetrics (Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional detailLevel As DetailLevel = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As IPagedEnumerable(Of PoolUsageMetrics)
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 metrics asynchronously or synchronously.
Remarks
This method returns immediately; the metrics data is retrieved from the Batch service only when the collection is enumerated. Retrieval is non-atomic; metrics data is retrieved in pages during enumeration of the collection.
Applies to
Azure SDK for .NET