Quotes in --set parameter of redis update command given in the doc looks inaccurate #22498
Labels
Auto-Assign
Auto assign by bot
CXP Attention
This issue is handled by CXP team.
Documentation
needs-team-attention
This issue needs attention from Azure service team or SDK team
Redis Cache
[Enter feedback here]
I followed az redis update doc to update shardCount for an existing redis instance.
If double quotes are included in --set parameter like --set "shardCount"="1", An usage error promoted to me
If try this, another error promoted to me
If --set doesn't include double quotes like --set shardCount=1, command worked for me and updated the redis instance with a desired shard count in couple minutes later.
az redis update --subscription xxxxxx --name {my redis} --resource-group {my resourcegroup} --set shardCount=1 --output json
Thus, I am wondering the sample command with double quotes in --set parameter below in the doc is inaccurate.
az redis update --name MyRedisCache --resource-group MyResourceGroup --set "shardCount"="2"
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: