CmdID / az / az vm / az vm monitor / az vm monitor metrics
az vm monitor metrics tail
List the metric values for a VM. Azure CLI reference
12 options Its page in the Azure CLI reference
Options
--aggregationThe list of aggregation types (space-separated) to retrieve.--dimensionThe list of dimensions (space-separated) the metrics are queried into.--filterA string used to reduce the set of metric data returned.--intervalThe interval over which to aggregate metrics, in ##h##m format.--metadataReturn the metadata values instead of metric data--metricsSpace-separated list of metric names to retrieve.--namespaceNamespace to query metric definitions for.--offsetTime offset of the query range, in ##d##h format.--orderbyAggregation to use for sorting results and the direction of the sort.--resource-group-name, --start-time, --end-time--resourceName or ID of a virtual machine--topMax number of records to retrieve.