Application Gateway routing Internet traffic to a virtual network (internal mode) API Management instance which services a web API hosted in an Azure Web App.

{"type": "microsoft.web/serverfarms", "apiversion": "2020-06-01", "name": "[parameters('hostingplanlivesite')]", "location": "[parameters('location')]", "tags": {"displayname": "hostingplan"}, "sku": {"name": "[parameters('pricingtierlivesite')]", "capacity": 1}, "properties": {"name": "[parameters('hostingplanlivesite')]"}}{"type": "microsoft.web/sites", "apiversion": "2020-06-01", "name": "[parameters('livesitename')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.web/serverfarms", parameters('hostingplanlivesite'))]", "[resourceid('microsoft.insights/components", parameters('livesitename'))]"], "tags": {"[format('{0}:{1}", "hidden-related", resourceid('microsoft.web/serverfarms", parameters('hostingplanlivesite')))]": "empty", "displayname": "website"}, "properties": {"name": "[parameters('livesitename')]", "serverfarmid": "[resourceid('microsoft.web/serverfarms", parameters('hostingplanlivesite'))]", "mintlsversion": "1.2", "siteconfig": {"connectionstrings": [{"name": "cmsconnectionstring", "connectionstring": "[if(empty(parameters('connectionstringdatabasename')),"",concat('data source=tcp:", reference(resourceid('microsoft.sql/servers", parameters('sqlservername'))).fullyqualifieddomainname, ",1433;initial catalog=", parameters('connectionstringdatabasename'), ";user id=", parameters('sqladministratorlogin'), "@", parameters('sqlservername'), ";password=", parameters('sqladministratorpassword'), ";'))]", "type": "sqlserver"}], "appsettings": [{"name": "appinsights_instrumentationkey", "value": "[reference(variables('instrumentationkey')).instrumentationkey]"}]}}}{"type": "microsoft.web/serverfarms", "apiversion": "2020-06-01", "name": "[parameters('hostingplanadministration')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('pricingtieradministration')]", "capacity": 1}, "tags": {"displayname": "hostingplan"}, "properties": {"name": "[parameters('hostingplanadministration')]"}}{"type": "microsoft.web/sites", "apiversion": "2020-06-01", "name": "[parameters('administrationsitename')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.web/serverfarms", parameters('hostingplanadministration'))]"], "tags": {"[format('{0}:{1}", "hidden-related", resourceid('microsoft.web/serverfarms", parameters('hostingplanadministration')))]": "resource", "displayname": "administration"}, "properties": {"name": "[parameters('administrationsitename')]", "serverfarmid": "[resourceid('microsoft.web/serverfarms", parameters('hostingplanadministration'))]", "mintlsversion": "1.2", "siteconfig": {"connectionstrings": [{"name": "cmsconnectionstring", "connectionstring": "[if(empty(parameters('connectionstringdatabasename')),"",concat('data source=tcp:", reference(resourceid('microsoft.sql/servers/", parameters('sqlservername'))).fullyqualifieddomainname, ",1433;initial catalog=", parameters('connectionstringdatabasename'), ";user id=", parameters('sqladministratorlogin'), "@", parameters('sqlservername'), ";password=", parameters('sqladministratorpassword'), ";'))]", "type": "sqlserver"}]}}}