--ip-tags not parsing per docs for az network public-ip update #26730
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Network
az network vnet/lb/nic/dns/etc...
Milestone
Describe the bug
On https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/configure-routing-preference-virtual-machine-cli there is an example like so:
I modified this example to set RoutingPreference=Internet on an existing public ip:
That fails with:
According to
az network public-ip update --help
I thought
"RoutingPreference=Internet"
would be TYPE=VAL format.Related command
az network public-ip update
Errors
Failed to parse '--ip-tags' argument: dict type value expected, got 'Internet'(<class 'str'>)
Issue script & Debug output
Expected behavior
The command would have updated the ip address to use internet routing as talked about here: https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/routing-preference-overview
Environment Summary
Additional context
No response
The text was updated successfully, but these errors were encountered: