You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)
apt / 2.0.29 / Ubuntu 16.04 / bash
When I'm trying to add tag to application-gateway resource with following command:
az network application-gateway create <some arguments> --tags env=dev costCenter=development
I'm getting following error:
Deployment template parse failed: 'Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Data.Entities.Tags.TagsDictionary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path ''.'.
The text was updated successfully, but these errors were encountered:
tjprescott
added
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Network
az network vnet/lb/nic/dns/etc...
labels
Mar 28, 2018
Thank you for the report @sshepel. We'll get a fix into the next release. As a workaround, you can create the application gateway and then use the update command to add the tags:
az network application-gateway create -g <rg> -n <name> ... --no-wait
az network application-gateway wait -g <rg> -n <name> --exists
az network application-gateway update -g <rg> -n <name> --tags <key=val> <key=val>
haroldrandom
added
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Network
az network vnet/lb/nic/dns/etc...
labels
Oct 25, 2019
Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (
az --version
) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)When I'm trying to add tag to
application-gateway
resource with following command:I'm getting following error:
JSON template snippet from the debug output:
The text was updated successfully, but these errors were encountered: