Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
// Explicit dependency
{
"name": "contoso.com",
"type": "Microsoft.Network/dnsZones",
"apiVersion": "2018-05-01",
"location": "global",
"properties": {}
},
{
"name": "euw-contoso",
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2020-11-01",
"location": "[resourceGroup().location]",
"properties": {
"addressSpace": {
"addressPrefixes": [
"10.0.0.0/16"
]
}
},
"dependsOn": [
"[resourceId('Microsoft.Network/dnsZones', 'contoso.com')]"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment