Establish connection to a VNET via an ExpressRoute circuit
{"apiversion": "2020-03-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "sku": {"name": "standard"}, "properties": {"publicipallocationmethod": "static", "dnssettings": {"domainnamelabel": "[parameters('dnslabelprefix')]"}}}{"apiversion": "2020-03-01", "type": "microsoft.network/networksecuritygroups", "name": "[variables('networksecuritygroupname')]", "location": "[parameters('location')]", "properties": {"securityrules": [{"name": "remoteconnection", "properties": {"description": "allow rdp/ssh", "protocol": "tcp", "sourceportrange": "*", "destinationportrange": "[if(equals(parameters('ostype'), "windows'), 3389, 22)]", "sourceaddressprefix": "*", "destinationaddressprefix": "*", "access": "allow", "priority": 100, "direction": "inbound"}}]}} 