Az network firewall

From UVOO Tech Wiki
Jump to navigation Jump to search

Cheat sheet with common commands

az network firewall list --query '[].networkRuleCollections[].rules'
az network firewall list --query '[].networkRuleCollections[].rules[].name'
az network firewall list --query '[].networkRuleCollections[].rules[].sourceAddresses'
az network firewall list --query '[].networkRuleCollections[].rules[].destinationAddresses'



az network firewall network-rule list --firewall-name $FW -g $RG -c MyRuleCollectionName --query 'rules'