-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az-cli list is unaccurate compare to az-cli show #27702
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamNetworkaz network vnet/lb/nic/dns/etc...az network vnet/lb/nic/dns/etc...Network - DNSaz network dnsaz network dnsService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-quality-productivity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamNetworkaz network vnet/lb/nic/dns/etc...az network vnet/lb/nic/dns/etc...Network - DNSaz network dnsaz network dnsService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-quality-productivity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
When displaying attributes values with
az-cli list, some values are false regarding the result ofaz-cli showThe
showcommand is the true one (because i double check with JOSN view in azure portal).Below an example with private dns zones (i did not test with other resources), you could observe that the
numberOfVirtualNetworkLinksvalues are not the same even if it is the same resource.Related command
az network private-dns zone list -g
your_rgaz network private-dns zone show -g
your_rg-nyour_pdzErrors
No error message, values are just wrong.
Issue script & Debug output
Please check above
Expected behavior
The values should be the same whatever the command used
Environment Summary
Additional context
No response