Establish connection to a VNET via an ExpressRoute circuit
{"type": "microsoft.network/networkinterfaces", "apiversion": "2020-07-01", "name": "[variables('networkinterfacename')]", "location": "[variables('location')]", "dependson": ["[resourceid('microsoft.network/networksecuritygroups/", variables('networksecuritygroupname'))]", "[resourceid('microsoft.network/virtualnetworks/", variables('virtualnetworkname'))]", "[resourceid('microsoft.network/publicipaddresses/", variables('publicipaddressname'))]"], "properties": {"ipconfigurations": [{"name": "ipconfig1", "properties": {"subnet": {"id": "[variables('subnetref')]"}, "privateipallocationmethod": "dynamic", "publicipaddress": {"id": "[resourceid('microsoft.network/publicipaddresses",variables('publicipaddressname'))]"}}}], "networksecuritygroup": {"id": "[resourceid('microsoft.network/networksecuritygroups", variables('networksecuritygroupname'))]"}}}{"type": "microsoft.network/networksecuritygroups", "apiversion": "2020-07-01", "name": "[variables('networksecuritygroupname')]", "location": "[variables('location')]", "properties": {"securityrules": [{"name": "ssh", "properties": {"priority": 1000, "protocol": "tcp", "access": "allow", "direction": "inbound", "sourceaddressprefix": "*", "sourceportrange": "*", "destinationaddressprefix": "*", "destinationportrange": "22"}}]}}{"type": "microsoft.network/virtualnetworks", "apiversion": "2020-07-01", "name": "[variables('virtualnetworkname')]", "location": "[variables('location')]", "properties": {"addressspace": {"addressprefixes": "[variables('addressprefixes')]"}, "subnets": "[variables('subnets')]"}}{"type": "microsoft.network/publicipaddresses", "apiversion": "2020-07-01", "name": "[variables('publicipaddressname')]", "location": "[variables('location')]", "properties": {"publicipallocationmethod": "dynamic", "dnssettings": {"domainnamelabel": "[concat('ros-vm-", uniquestring(resourcegroup().id))]"}}, "sku": {"name": "basic"}} 