Delen via


PoolOperationsExtensions.ListUsageMetrics Method

Definition

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.PoolUsageMetrics> ListUsageMetrics (this Microsoft.Azure.Batch.Protocol.IPoolOperations operations, Microsoft.Azure.Batch.Protocol.Models.PoolListUsageMetricsOptions poolListUsageMetricsOptions = default);
static member ListUsageMetrics : Microsoft.Azure.Batch.Protocol.IPoolOperations * Microsoft.Azure.Batch.Protocol.Models.PoolListUsageMetricsOptions -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.PoolUsageMetrics>
<Extension()>
Public Function ListUsageMetrics (operations As IPoolOperations, Optional poolListUsageMetricsOptions As PoolListUsageMetricsOptions = Nothing) As IPage(Of PoolUsageMetrics)

Parameters

operations
IPoolOperations

The operations group for this extension method.

poolListUsageMetricsOptions
PoolListUsageMetricsOptions

Additional parameters for the operation

Returns

Remarks

If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Applies to