CmdID / az / az elastic / az elastic monitor
az elastic monitor associate-traffic-filter
Associate a traffic filter with your Elastic monitor resource to control and manage network traffic. Azure CLI extensions reference
1 example 2 options Its page in the Azure CLI extensions reference
Examples
AssociateTrafficFilter_Associate
az elastic monitor associate-traffic-filter --resource-group myResourceGroup --monitor-name myMonitor --ruleset-id 31d91b5afb6f4c2eaaf104c97b1991ddIdentify--resource-groupName of resource group.--monitor-nameMonitor resource name--ruleset-idRuleset Id of the filterOptions
--monitor-nameMonitor resource name--ruleset-idRuleset Id of the filter