Difference between revisions of "Az network firewall"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "Cheat sheet with common commands ``` az network firewall list --query '[].networkRuleCollections[].rules' az network firewall network-rule list --firewall-name $FW -g $RG...")
 
 
Line 3: Line 3:
 
```
 
```
 
az network firewall list --query '[].networkRuleCollections[].rules'
 
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'
  
  

Latest revision as of 15:39, 24 May 2022

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'