Establish connection to a VNET via an ExpressRoute circuit
{"apiversion": "2020-05-01", "type": "microsoft.network/publicipaddresses", "name": "[parameters('publicipname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[parameters('publicipaddresstype')]"}}{"apiversion": "2020-05-01", "type": "microsoft.network/networkinterfaces", "name": "[parameters('nicname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/publicipaddresses/", parameters('publicipname'))]"], "properties": {"ipconfigurations": [{"name": "ipconfig1", "properties": {"privateipallocationmethod": "dynamic", "publicipaddress": {"id": "[resourceid('microsoft.network/publicipaddresses", parameters('publicipname'))]"}, "subnet": {"id": "[resourceid(parameters('virtualnetworkresourcegroup'), "microsoft.network/virtualnetworks/subnets", parameters('virtualnetworkname'), parameters('subnet1name'))]"}}}]}} 