Azure / Azure/azure-cli

Cannot update resource tags of a VNet

Open
#16,665 2 comments 0 reactions 1 assignee Assigned to @kairu-ms View on GitHub
act-quality-productivity-squad feature-request Network Network - Virtual Network
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

## Describe the bug

The `az network vnet update` command is missing the `--tags` parameter to update resource tags.

**Command Name**
`az network vnet update`

**Errors:**
```
UnrecognizedArgumentError: unrecognized arguments: --tags mytag=value
```

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

- _Put any pre-requisite steps here..._
- `az network vnet update -g {} -n {} --tags {}`

## Expected Behavior

## Environment Summary
```
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.18.0

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