CmdID / az / az network / az network watcher
az network watcher configure
Configure the Network Watcher service for different regions. Azure CLI reference
1 example 3 options Its page in the Azure CLI reference
Examples
Configure Network Watcher for the West US region.
az network watcher configure -g NetworkWatcherRG -l westus --enabled trueIdentify-gName of resource group.-lSpace-separated list of locations to configure.--enabledEnabled status of Network Watcher in the specified regions.Options
--enabledEnabled status of Network Watcher in the specified regions.--locations, -lSpace-separated list of locations to configure.--resource-group, -gName of resource group.