Azure / Azure/azure-cli

az storage account show | command is requiring non-required parameters

Open
#14,119 4 comments 0 reactions 2 assignees Claimed by @calvinhzy View on GitHub
act-codegen-extensibility-squad OKR3.2 Candidate Similar-Issue Storage
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.