-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
az-cli list
is unaccurate compare to az-cli show
#27702
Comments
Hi @gesnaud, 2.53.0 is not the latest Azure CLI(2.53.1). If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli. |
Thank you for opening this issue, we will look into it. |
@gesnaud Could you please kindly provide the debug log for the above two commands (by appending |
Hi @necusjz ! Sure, here it is! az network private-dns zone show:
az network private-dns zone list:
Thnaks and have a nice day 🖖🏻 |
It's clear that the wrong number comes from service side, let's wait for their feedback. |
Describe the bug
When displaying attributes values with
az-cli list
, some values are false regarding the result ofaz-cli show
The
show
command 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
numberOfVirtualNetworkLinks
values are not the same even if it is the same resource.Related command
az network private-dns zone list -g
your_rg
az network private-dns zone show -g
your_rg
-nyour_pdz
Errors
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
The text was updated successfully, but these errors were encountered: