Description
Query to all az group lock Issues
https://github.com/Azure/azure-cli/issues?q=is%3Aissue+is%3Aopen+group+lock+in%3Atitle%2Cbody+
Describe the bug
az group lock show
does not work without optional parameters being supplied.
To Reproduce
az group lock show #fails with unexpected error
az group lock show -g MyResourceGroup #fails with unexpected error
az group lock show -g MyResourceGroup -n MyLockName #succeeds
Expected behavior
All group locks for the current active subscription should be listed as there is no concept of "current active lock". If RG and lockName are actually required, then we need to update our _params.py information.
Environment summary
Azure Cloud Shell
Autogen content link
https://learn.microsoft.com/en-us/cli/azure/group/lock?view=azure-cli-latest#az-group-lock-show