Establish connection to a VNET via an ExpressRoute circuit
{"condition": "[parameters('rebuildvnet')]", "apiversion": "2020-05-01", "type": "microsoft.network/virtualnetworks", "name": "[parameters('vnetname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[parameters('vnetaddressprefix')]"]}}, "resources": [{"condition": "[parameters('rebuildvnet')]", "apiversion": "2020-05-01", "type": "subnets", "location": "[parameters('location')]", "name": "[parameters('subnet1name')]", "dependson": ["[resourceid('microsoft.network/virtualnetworks", parameters('vnetname'))]"], "properties": {"addressprefix": "[parameters('subnet1prefix')]", "delegations": [{"name": "integrationserviceenvironments", "properties": {"servicename": "microsoft.logic/integrationserviceenvironments"}}]}}, {"condition": "[parameters('rebuildvnet')]", "apiversion": "2020-05-01", "type": "subnets", "location": "[parameters('location')]", "name": "[parameters('subnet2name')]", "dependson": ["[resourceid('microsoft.network/virtualnetworks/", parameters('vnetname'))]", "[resourceid('microsoft.network/virtualnetworks/subnets", parameters('vnetname'), parameters('subnet1name'))]"], "properties": {"addressprefix": "[parameters('subnet2prefix')]"}}, {"condition": "[parameters('rebuildvnet')]", "apiversion": "2020-05-01", "type": "subnets", "location": "[parameters('location')]", "name": "[parameters('subnet3name')]", "dependson": ["[resourceid('microsoft.network/virtualnetworks/", parameters('vnetname'))]", "[resourceid('microsoft.network/virtualnetworks/subnets", parameters('vnetname'), parameters('subnet2name'))]"], "properties": {"addressprefix": "[parameters('subnet3prefix')]"}}, {"condition": "[parameters('rebuildvnet')]", "apiversion": "2020-05-01", "type": "subnets", "location": "[parameters('location')]", "name": "[parameters('subnet4name')]", "dependson": ["[resourceid('microsoft.network/virtualnetworks/", parameters('vnetname'))]", "[resourceid('microsoft.network/virtualnetworks/subnets", parameters('vnetname'), parameters('subnet3name'))]"], "properties": {"addressprefix": "[parameters('subnet4prefix')]"}}]} 