CmdID

CmdID / az / az network / az network watcher / az network watcher packet-capture

az network watcher packet-capture delete

Delete a packet capture session. Azure CLI reference

2 examples 3 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

Delete a packet capture session. This only deletes the session and not the capture file.

az network watcher packet-capture delete -n packetCaptureName -l westcentralusIdentify
-nName of the packet capture session.
-lLocation.

Delete a packet capture session. (autogenerated)

az network watcher packet-capture delete --location westcentralus --name packetCaptureName --subscription MySubscriptionIdentify
--locationLocation.
--nameName of the packet capture session.
--subscriptionName or ID of subscription.

Options

3 in the Azure CLI reference
--name, -nName of the packet capture session.
--watcher-nameName of the network watcher.
--watcher-rgName of the resource group the watcher is in.