Establish connection to a VNET via an ExpressRoute circuit
{"type": "microsoft.network/virtualnetworks/subnets", "apiversion": "2020-04-01", "name": "[format('{0}/{1}", parameters('existingvnetname'), parameters('containersubnetname'))]", "properties": {"addressprefix": "[parameters('containersubnetaddressprefix')]", "serviceendpoints": [{"service": "microsoft.storage", "locations": ["[parameters('location')]"]}], "delegations": [{"name": "cloudshelldelegation", "properties": {"servicename": "microsoft.containerinstance/containergroups"}}]}}{"type": "microsoft.network/networkprofiles", "apiversion": "2019-11-01", "name": "[variables('networkprofilename')]", "location": "[parameters('location')]", "properties": {"containernetworkinterfaceconfigurations": [{"name": "[format('eth-{0}", parameters('containersubnetname'))]", "properties": {"ipconfigurations": [{"name": "[format('ipconfig-{0}", parameters('containersubnetname'))]", "properties": {"subnet": {"id": "[resourceid('microsoft.network/virtualnetworks/subnets", parameters('existingvnetname'), parameters('containersubnetname'))]"}}}]}}]}, "dependson": ["[resourceid('microsoft.network/virtualnetworks/subnets", parameters('existingvnetname'), parameters('containersubnetname'))]"]} 