Supported metrics for Microsoft.Network/virtualNetworks

The following table lists the metrics available for the Microsoft.Network/virtualNetworks resource type.

Table headings

Metric - The metric display name as it appears in the Azure portal.
Name in Rest API - Metric name as referred to in the REST API.
Unit - Unit of measure.
Aggregation - The default aggregation type. Valid values: Average, Minimum, Maximum, Total, Count.
Dimensions - Dimensions available for the metric.
Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
DS Export- Whether the metric is exportable to Azure Monitor Logs via Diagnostic Settings.

For information on exporting metrics, see - Metrics export using data collection rules and Create diagnostic settings in Azure Monitor.

For information on metric retention, see Azure Monitor Metrics overview.

For a list of supported logs, see Supported log categories - Microsoft.Network/virtualNetworks

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Inbound bytes dropped DDoS

Inbound bytes dropped DDoS
BytesDroppedDDoS BytesPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound bytes forwarded DDoS

Inbound bytes forwarded DDoS
BytesForwardedDDoS BytesPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound bytes DDoS

Inbound bytes DDoS
BytesInDDoS BytesPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound SYN packets to trigger DDoS mitigation

Inbound SYN packets to trigger DDoS mitigation
DDoSTriggerSYNPackets CountPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound TCP packets to trigger DDoS mitigation

Inbound TCP packets to trigger DDoS mitigation
DDoSTriggerTCPPackets CountPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound UDP packets to trigger DDoS mitigation

Inbound UDP packets to trigger DDoS mitigation
DDoSTriggerUDPPackets CountPerSecond Maximum ProtectedIPAddress PT1M Yes
Under DDoS attack or not

Under DDoS attack or not
IfUnderDDoSAttack Count Maximum ProtectedIPAddress PT1M Yes
Inbound packets dropped DDoS

Inbound packets dropped DDoS
PacketsDroppedDDoS CountPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound packets forwarded DDoS

Inbound packets forwarded DDoS
PacketsForwardedDDoS CountPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound packets DDoS

Inbound packets DDoS
PacketsInDDoS CountPerSecond Maximum ProtectedIPAddress PT1M Yes
Round trip time for Pings to a VM

Round trip time for Pings sent to a destination VM
PingMeshAverageRoundtripMs MilliSeconds Average SourceCustomerAddress, DestinationCustomerAddress PT1M, PT1H Yes
Failed Pings to a VM

Percent of number of failed Pings to total sent Pings of a destination VM
PingMeshProbesFailedPercent Percent Average SourceCustomerAddress, DestinationCustomerAddress PT1M, PT1H Yes
Inbound TCP bytes dropped DDoS

Inbound TCP bytes dropped DDoS
TCPBytesDroppedDDoS BytesPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound TCP bytes forwarded DDoS

Inbound TCP bytes forwarded DDoS
TCPBytesForwardedDDoS BytesPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound TCP bytes DDoS

Inbound TCP bytes DDoS
TCPBytesInDDoS BytesPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound TCP packets dropped DDoS

Inbound TCP packets dropped DDoS
TCPPacketsDroppedDDoS CountPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound TCP packets forwarded DDoS

Inbound TCP packets forwarded DDoS
TCPPacketsForwardedDDoS CountPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound TCP packets DDoS

Inbound TCP packets DDoS
TCPPacketsInDDoS CountPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound UDP bytes dropped DDoS

Inbound UDP bytes dropped DDoS
UDPBytesDroppedDDoS BytesPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound UDP bytes forwarded DDoS

Inbound UDP bytes forwarded DDoS
UDPBytesForwardedDDoS BytesPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound UDP bytes DDoS

Inbound UDP bytes DDoS
UDPBytesInDDoS BytesPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound UDP packets dropped DDoS

Inbound UDP packets dropped DDoS
UDPPacketsDroppedDDoS CountPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound UDP packets forwarded DDoS

Inbound UDP packets forwarded DDoS
UDPPacketsForwardedDDoS CountPerSecond Maximum ProtectedIPAddress PT1M Yes
Inbound UDP packets DDoS

Inbound UDP packets DDoS
UDPPacketsInDDoS CountPerSecond Maximum ProtectedIPAddress PT1M Yes

Next steps