CmdID

CmdID / az / az network / az network watcher / az network watcher troubleshooting

az network watcher troubleshooting start

Troubleshoot issues with VPN connections or gateway connectivity. Azure CLI reference

1 example 6 options Its page in the Azure CLI reference

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

Examples

from the Azure CLI, each command read by CmdID

Start a troubleshooting operation on a VPN Connection.

az network watcher troubleshooting start -g MyResourceGroup --resource MyVPNConnection --resource-type vpnConnection --storage-account MyStorageAccount --storage-path https://{storageAccountName}.blob.core.windows.net/{containerName}Identify
-gName of resource group.
--resourceName or ID of the resource to troubleshoot.
--resource-typeThe type of target resource to troubleshoot, if resource ID is not specified.
--storage-accountName or ID of the storage account in which to store the troubleshooting results.
--storage-pathFully qualified URI to the storage blob container in which to store the troubleshooting results.

Options

6 in the Azure CLI reference
--resource-type, -tThe type of target resource to troubleshoot, if resource ID is not specified.
--storage-accountName or ID of the storage account in which to store the troubleshooting results.
--storage-pathFully qualified URI to the storage blob container in which to store the troubleshooting results.
--target-resource-idThe target resource to troubleshoot.
--watcher-nameName of the network watcher.
--watcher-rgName of the resource group the watcher is in.