CmdID / az / az network / az network watcher / az network watcher packet-capture
az network watcher packet-capture stop
Stop a running packet capture session. Azure CLI reference
1 example 3 options Its page in the Azure CLI reference
Examples
Stop a running packet capture session.
az network watcher packet-capture stop -l westus -n MyPacketCaptureIdentify-lLocation.-nName of the packet capture session.Options
--name, -nName of the packet capture session.--watcher-nameName of the network watcher.--watcher-rgName of the resource group the watcher is in.