CmdID / az / az network / az network watcher / az network watcher connection-monitor
az network watcher connection-monitor query
Query a snapshot of the most recent connection state of a connection monitor. Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--connection-monitor-name, --name, -nConnection monitor name.--network-watcher-nameThe name of the Network Watcher resource.--resource-group-name, -gName of resource group.