az network watcher troubleshooting

(PREVIEW) Commands to manage Network Watcher troubleshooting sessions.

Commands

az network watcher troubleshooting show Show results of the last troubleshooting operation.
az network watcher troubleshooting start Troubleshoot issues with VPN connections or gateway connectivity.

az network watcher troubleshooting show

Show results of the last troubleshooting operation.

az network watcher troubleshooting show --resource
[--resource-group]
[--resource-type {vnetGateway, vpnConnection}]

Required Parameters

--resource

Name or ID of the resource to troubleshoot.

Optional Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--resource-type -t
accepted values: vnetGateway, vpnConnection

az network watcher troubleshooting start

Troubleshoot issues with VPN connections or gateway connectivity.

az network watcher troubleshooting start --resource
--storage-account
--storage-path
[--no-wait]
[--resource-group]
[--resource-type {vnetGateway, vpnConnection}]

Required Parameters

--resource

Name or ID of the resource to troubleshoot.

--storage-account

Name or ID of the storage account in which to store the troubleshooting results.

--storage-path

Fully qualified URI to the storage blob container at which to store the troubleshooting results.

Optional Parameters

--no-wait

Do not wait for the long running operation to finish.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--resource-type -t

The type of target resource to troubleshoot, if resource ID is not specified.

accepted values: vnetGateway, vpnConnection