I can't read from the doc: https://learn.microsoft.com/en-us/azure/azure-resource-manager/resource-group-authoring-templates#variables if it is possible to create an array of complex objects. I think the "Variable-complex-type-value" is a bit vague.
Is it possible to create something like
{
"variables" : {
"appsettings" : [
{"name" :"1","value" :"v1"},
{"name":"2","value" :"v2"}
]
}
I want to be able to reference this in the appsettings of siteconfig, like this
{
...
properties:{
"siteconfig" :{
"appsettings" :"[variables('appsettings')]"
}
}
...
}
Is this even possible?
I am not in a position right now where I can try this at a computer so that is why I am asking here.