Open kshimazu-ms opened 1 year ago
"az network firewall policy rule-collection-group show" does not show location property as below.
{ "etag": "xxx", "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/firewallPolicies/xxx/ruleCollectionGroups/DefaultNetworkRuleCollectionGroup", "name": "DefaultNetworkRuleCollectionGroup", "priority": 200, "provisioningState": "Succeeded", "resourceGroup": "xxx", "ruleCollections": [ { "action": { "type": "Allow" }, "name": "fw_collection_network", "priority": 110, "ruleCollectionType": "FirewallPolicyFilterRuleCollection", "rules": [ { "destinationAddresses": [], "destinationFqdns": [], "destinationIpGroups": [ "/subscriptions/xxx/resourceGroups/azure-rg/providers/Microsoft.Network/ipGroups/xxx" ], "destinationPorts": [ "" ], "ipProtocols": [ "UDP", "ICMP", "TCP" ], "name": "all-allow", "ruleType": "NetworkRule", "sourceAddresses": [ "" ], "sourceIpGroups": [] } ] } ], "type": "Microsoft.Network/FirewallPolicies/RuleCollectionGroups" }
However, the location property was successfully responded from the API call with --debug. xxx@Azure:~$ az network firewall policy rule-collection-group show -g xxx --policy-name xxx--name DefaultNetworkRuleCollectionGroup --debug
Thank you for opening this issue, we will look into it.
Describe the bug
"az network firewall policy rule-collection-group show" does not show location property as below.
{ "etag": "xxx", "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/firewallPolicies/xxx/ruleCollectionGroups/DefaultNetworkRuleCollectionGroup", "name": "DefaultNetworkRuleCollectionGroup", "priority": 200, "provisioningState": "Succeeded", "resourceGroup": "xxx", "ruleCollections": [ { "action": { "type": "Allow" }, "name": "fw_collection_network", "priority": 110, "ruleCollectionType": "FirewallPolicyFilterRuleCollection", "rules": [ { "destinationAddresses": [], "destinationFqdns": [], "destinationIpGroups": [ "/subscriptions/xxx/resourceGroups/azure-rg/providers/Microsoft.Network/ipGroups/xxx" ], "destinationPorts": [ "" ], "ipProtocols": [ "UDP", "ICMP", "TCP" ], "name": "all-allow", "ruleType": "NetworkRule", "sourceAddresses": [ "" ], "sourceIpGroups": [] } ] } ], "type": "Microsoft.Network/FirewallPolicies/RuleCollectionGroups" }
However, the location property was successfully responded from the API call with --debug. xxx@Azure:~$ az network firewall policy rule-collection-group show -g xxx --policy-name xxx--name DefaultNetworkRuleCollectionGroup --debug