Link to reference content:
https://docs.microsoft.com/en-us/cli/azure/storage/account?view=azure-cli-latest#az-storage-account-show
All of these parameters are listed as optional:
az storage account show [--expand]
[--ids]
[--name]
[--resource-group]
[--subscription]
Azure Cloud Shell syntax and error:
$ az storage account show --resource-group RG1inAzCLI --subscription dbradish-msft
(--name | --ids) are required
$
Issue #14110 is a similar issue.
UPDATE: There must be an IF...THEN...ELSE sitting behind this reference command which does NOT require the --ids if the --name parameter is specified. So maybe what we really need to do is find a way to communicate this in our documentation.
Link to reference content:
https://docs.microsoft.com/en-us/cli/azure/storage/account?view=azure-cli-latest#az-storage-account-show
All of these parameters are listed as optional:
az storage account show [--expand]
[--ids]
[--name]
[--resource-group]
[--subscription]
Azure Cloud Shell syntax and error:
$ az storage account show --resource-group RG1inAzCLI --subscription dbradish-msft
(--name | --ids) are required
$
Issue #14110 is a similar issue.
UPDATE: There must be an IF...THEN...ELSE sitting behind this reference command which does NOT require the
--idsif the--nameparameter is specified. So maybe what we really need to do is find a way to communicate this in our documentation.