Azure / Azure/azure-cli

az network nsg show fails when --expand is passed

Open
#19,392 3 comments 0 reactions 1 assignee Claimed by @kairu-ms View on GitHub
act-quality-productivity-squad feature-request Network
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 10h
Merged PRs (30d)
64

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`az network nsg show`

**Errors:**
```
argument --expand: expected one argument

```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- `az network nsg show -n {} -o {} --expand`

Entering the parameter "--expand" will cause 'az network nsg show' to fail as shown above. The documentation and --help for the command do not state an argument is needed, nor what it would be.

## Expected Behavior
Either doc/help, or behaviour, is wrong.

## Environment Summary
```
Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-debian-bullseye-sid
Python 3.6.10
Installer: DEB

azure-cli 2.27.2

Extensions:
vm-repair 0.3.7
azure-firewall 0.12.0
ssh 0.1.5

```
## Additional Context

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.