Azure / Azure/azure-cli

'.' syntax not supported for "az network lb update" command to set tags

Open
#23,004 8 comments 0 reactions 1 assignee Claimed by @necusjz View on GitHub
act-quality-productivity-squad Auto-Assign customer-reported Network
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

I am using the command "az network lb update " to set tags for load balancer.

Ex: az network lb update -g MyResourceGroup -n MyLb --set tags.CostCenter=MyBusinessGroup

Any tags containing a '.' is not supported in this.
For ex: Ex: az network lb update -g MyResourceGroup -n MyLb --set tags.sample.test=myvalue

And I am getting error as below:
"Couldn't find 'sample' in 'tags'.

Could you please suggest.

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.