Establish connection to a VNET via an ExpressRoute circuit

{"type": "microsoft.network/virtualnetworks", "apiversion": "2020-06-01", "name": "[variables('vnetname')]", "location": "[variables('location')]", "properties": {"addressspace": {"addressprefixes": ["172.16.0.0/16"]}, "enableddosprotection": false, "enablevmprotection": false, "subnets": [{"name": "[parameters('frontendsubnet')]", "properties": {"addressprefix": "172.16.0.0/24", "serviceendpoints": [{"service": "microsoft.sql"}], "privateendpointnetworkpolicies": "disabled", "privatelinkservicenetworkpolicies": "disabled"}}, {"name": "[parameters('backendsubnet')]", "properties": {"addressprefix": "172.16.1.0/24", "privateendpointnetworkpolicies": "disabled", "privatelinkservicenetworkpolicies": "disabled"}}, {"name": "[parameters('gatewaysubnet')]", "properties": {"addressprefix": "172.16.255.0/27", "privateendpointnetworkpolicies": "disabled", "privatelinkservicenetworkpolicies": "disabled"}}]}}{"type": "microsoft.network/virtualnetworks/subnets", "apiversion": "2020-06-01", "name": "[concat(variables('vnetname'), "/",parameters('frontendsubnet'))]", "dependson": ["[resourceid('microsoft.network/virtualnetworks", variables('vnetname'))]"], "properties": {"addressprefix": "172.16.0.0/24", "serviceendpoints": [{"service": "microsoft.sql"}], "privateendpointnetworkpolicies": "disabled", "privatelinkservicenetworkpolicies": "disabled"}}{"type": "microsoft.network/virtualnetworks/subnets", "apiversion": "2020-06-01", "name": "[concat(variables('vnetname'), "/",parameters('backendsubnet'))]", "dependson": ["[resourceid('microsoft.network/virtualnetworks", variables('vnetname'))]"], "properties": {"addressprefix": "172.16.1.0/24", "privateendpointnetworkpolicies": "disabled", "privatelinkservicenetworkpolicies": "disabled"}}{"type": "microsoft.network/virtualnetworks/subnets", "apiversion": "2020-06-01", "name": "[concat(variables('vnetname'), "/",parameters('gatewaysubnet'))]", "dependson": ["[resourceid('microsoft.network/virtualnetworks", variables('vnetname'))]"], "properties": {"addressprefix": "172.16.255.0/27", "privateendpointnetworkpolicies": "disabled", "privatelinkservicenetworkpolicies": "disabled"}}{"type": "microsoft.network/networkinterfaces", "apiversion": "2020-06-01", "name": "[variables('nicname')]", "location": "[variables('location')]", "dependson": ["[resourceid('microsoft.network/virtualnetworks", variables('vnetname'))]"], "properties": {"ipconfigurations": [{"name": "[concat( parameters('stackname'),"vmip')]", "properties": {"privateipallocationmethod": "dynamic", "subnet": {"id": "[resourceid('microsoft.network/virtualnetworks/subnets", variables('vnetname'), parameters('backendsubnet'))]"}}}]}}{"type": "microsoft.network/privateendpoints", "apiversion": "2019-04-01", "name": "[variables('privatedbendpointname')]", "location": "[variables('location')]", "dependson": ["[resourceid('microsoft.network/virtualnetworks", variables('vnetname'))]", "[resourceid('microsoft.sql/servers", parameters('stackname'))]"], "properties": {"subnet": {"id": "[resourceid('microsoft.network/virtualnetworks/subnets", variables('vnetname'), parameters('backendsubnet'))]"}, "privatelinkserviceconnections": [{"name": "[variables('privatedbendpointname')]", "properties": {"privatelinkserviceid": "[resourceid('microsoft.sql/servers",parameters('stackname'))]", "groupids": ["sqlserver"]}}]}}{"type": "microsoft.network/privatednszones", "apiversion": "2020-06-01", "name": "[variables('privatedbdnszonename')]", "location": "global", "dependson": ["[resourceid('microsoft.network/virtualnetworks", variables('vnetname'))]"]}{"type": "microsoft.network/privatednszones/virtualnetworklinks", "apiversion": "2020-06-01", "name": "[concat(variables('privatedbdnszonename'), "/", variables('privatedbdnszonename'), "-link')]", "location": "global", "dependson": ["[resourceid('microsoft.network/privatednszones", variables('privatedbdnszonename'))]", "[resourceid('microsoft.network/virtualnetworks", variables('vnetname'))]"], "properties": {"registrationenabled": false, "virtualnetwork": {"id": "[resourceid('microsoft.network/virtualnetworks", variables('vnetname'))]"}}}{"type": "microsoft.network/privateendpoints/privatednszonegroups", "apiversion": "2020-03-01", "name": "[variables('privatedbdnsgroupname')]", "location": "[variables('location')]", "dependson": ["[resourceid('microsoft.network/privatednszones", variables('privatedbdnszonename'))]", "[variables('privatedbendpointname')]"], "properties": {"privatednszoneconfigs": [{"name": "config1", "properties": {"privatednszoneid": "[resourceid('microsoft.network/privatednszones", variables('privatedbdnszonename'))]"}}]}}{"apiversion": "2020-06-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('gatewaypublicipname')]", "location": "[variables('location')]", "properties": {"publicipallocationmethod": "dynamic"}}