So, now that we have successfully deployed our first resource, let's continue with expanding our template to other resources:
- In order to demonstrate the dependencies between the resources, let's introduce next the App Service instance, which will be hosting the users API. Technically, this App Service only has a single dependency—the App Service Plan—that will be hosting the App Service (that is, the ServerFarm resource type):
{
"type": "Microsoft.Web/serverfarms",
"name": "[parameters('resourceNameServicePlan')]",
"kind": "app",
// removed for brevity
},
{
"type": "Microsoft.Web/sites",
"name": "[parameters('resourceNameUsersApi')]",
"dependsOn": [
"[resourceId...