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/hostingenvironments", "apiversion": "2020-12-01", "name": "[parameters('asename')]", "location": "[parameters('location')]", "kind": "asev2", "tags": {"displayname": "deploy ase"}, "dependson": ["microsoft.resources/deployments/buildorupdateasenetworking"], "properties": {"name": "[parameters('asename')]", "location": "[parameters('location')]", "ipssladdresscount": 0, "internalloadbalancingmode": "[parameters('internalloadbalancingmode')]", "virtualnetwork": {"id": "[variables('subnetid')]"}}}{"type": "microsoft.web/serverfarms", "apiversion": "2020-12-01", "name": "[parameters('serverfarmsaseaspname')]", "location": "[parameters('location')]", "sku": {"name": "i1", "tier": "isolated"}, "tags": {"displayname": "deploy app service"}, "kind": "app", "properties": {"name": "[parameters('serverfarmsaseaspname')]", "workersize": "0", "workersizeid": "0", "numberofworkers": "1", "reserved": false, "hostingenvironment": "[parameters('asename')]"}, "dependson": ["[resourceid('microsoft.web/hostingenvironments", parameters('asename'))]"]}{"type": "microsoft.web/sites", "apiversion": "2020-12-01", "name": "[parameters('applicationname')]", "location": "[parameters('location')]", "tags": {"displayname": "deploy web app"}, "kind": "app", "properties": {"enabled": true, "serverfarmid": "[resourceid('microsoft.web/serverfarms", parameters('serverfarmsaseaspname'))]", "reserved": false, "scmsitealsostopped": false, "hostingenvironmentprofile": {"id": "[resourceid('microsoft.web/hostingenvironments", parameters('asename'))]"}, "clientaffinityenabled": true, "clientcertenabled": false, "hostnamesdisabled": false, "containersize": 0, "dailymemorytimequota": 0, "httpsonly": false}, "dependson": ["[resourceid('microsoft.web/serverfarms", parameters('serverfarmsaseaspname'))]", "[resourceid('microsoft.web/hostingenvironments", parameters('asename'))]"]} 