Batch pool usage metrics - az batch pool usage-metrics

View usage metrics of your Batch pools.

Commands

az batch pool usage-metrics list Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.

az batch pool usage-metrics list

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.

az batch pool usage-metrics list [--account-endpoint]
[--account-key]
[--account-name]
[--end-time]
[--filter]
[--start-time]

Optional Parameters

--account-endpoint

Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT.

--account-key

Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY.

--account-name

Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT.

--end-time

The latest time from which to include metrics. This must be at least two hours before the current time. If not specified this defaults to the end time of the last aggregation interval currently available.

--filter

An OData $filter clause. If this is not specified the response includes all pools that existed in the account in the time range of the returned aggregation intervals.

--start-time

The earliest time from which to include metrics. This must be at least two and a half hours before the current time. If not specified this defaults to the start time of the last aggregation interval currently available.