Establish connection to a VNET via an ExpressRoute circuit
{"apiversion": "2015-06-15", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[variables('publicipaddresstype')]", "dnssettings": {"domainnamelabel": "[parameters('dnslabelprefix')]"}}}{"apiversion": "2015-06-15", "type": "microsoft.network/virtualnetworks", "name": "[variables('virtualnetworkname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[variables('addressprefix')]"]}, "subnets": [{"name": "[variables('subnetname')]", "properties": {"addressprefix": "[variables('subnetprefix')]"}}]}}{"apiversion": "2015-06-15", "type": "microsoft.network/networkinterfaces", "name": "[variables('nicname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/publicipaddresses/", variables('publicipaddressname'))]", "[resourceid('microsoft.network/virtualnetworks/", variables('virtualnetworkname'))]", "[resourceid('microsoft.network/networksecuritygroups/", variables('nsgname'))]"], "properties": {"ipconfigurations": [{"name": "ipconfig1", "properties": {"privateipallocationmethod": "dynamic", "publicipaddress": {"id": "[resourceid('microsoft.network/publicipaddresses",variables('publicipaddressname'))]"}, "subnet": {"id": "[variables('subnetref')]"}}}], "networksecuritygroup": {"id": "[resourceid('microsoft.network/networksecuritygroups", variables('nsgname'))]"}}}{"apiversion": "2015-06-15", "type": "microsoft.network/networksecuritygroups", "name": "[variables('nsgname')]", "location": "[parameters('location')]", "properties": {"securityrules": [{"name": "default-allow-ssh", "properties": {"protocol": "tcp", "sourceportrange": "*", "destinationportrange": "22", "sourceaddressprefix": "*", "destinationaddressprefix": "*", "access": "allow", "priority": 1000, "direction": "inbound"}}, {"name": "5000-5009", "properties": {"protocol": "tcp", "sourceportrange": "*", "destinationportrange": "5000-5009", "sourceaddressprefix": "*", "destinationaddressprefix": "*", "access": "allow", "priority": 1001, "direction": "inbound"}}, {"name": "8000", "properties": {"protocol": "tcp", "sourceportrange": "*", "destinationportrange": "8000", "sourceaddressprefix": "*", "destinationaddressprefix": "*", "access": "allow", "priority": 1002, "direction": "inbound"}}, {"name": "5555", "properties": {"protocol": "tcp", "sourceportrange": "*", "destinationportrange": "5555", "sourceaddressprefix": "*", "destinationaddressprefix": "*", "access": "allow", "priority": 1003, "direction": "inbound"}}, {"name": "9200", "properties": {"protocol": "tcp", "sourceportrange": "*", "destinationportrange": "9200", "sourceaddressprefix": "*", "destinationaddressprefix": "*", "access": "allow", "priority": 1004, "direction": "inbound"}}]}} 