CmdID / az / az network / az network watcher
az network watcher run-configuration-diagnostic
Run a configuration diagnostic on a target resource. Azure CLI reference
4 options Its page in the Azure CLI reference
Options
--queriesJSON list of queries to use.--resourceName or ID of the target resource to diagnose.--watcher-nameName of the network watcher.--watcher-rgName of the resource group the watcher is in.