CmdID

CmdID / az / az network / az network watcher

az network watcher test-connectivity

Test if a connection can be established between a Virtual Machine and a given endpoint. Azure CLI reference

11 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

11 in the Azure CLI reference
--dest-addressIP address or URI at which to receive traffic.
--dest-portPort number on which to receive traffic.
--dest-resourceName or ID of the resource to receive traffic.
--headers-objList of HTTP headers.
--methodHTTP method to use.
--protocolProtocol to test on.
--source-portPort number from which to originate traffic.
--source-resourceName or ID of the resource from which to originate traffic.
--valid-status-codesSpace-separated list of HTTP status codes considered valid.
--watcher-nameName of the network watcher resource.
--watcher-rgName of the resource group the watcher is in.