Azure ARM template - reference other stuff
Here’s how to reference other resources in templates. You will be doing this at some point:
How to reference something in the same template:
[javascript]
“outputs”: {
“NewStorage”: {
“value”: “[reference(parameters(‘storageAccountName’))]”,
“type” : “object”
}
}
[/javascript]
How to reference something in a different template, but same resource-group:
How to reference something in a different resource group entirely:
How to query a resource in a different resource group:
How to query a resource in the same resource-group: