Although most of the resources are declared as top-level resources within the resources section of ARM templates, there are resources that are child resources of these top-level resources and declared within them. Examples of such child resources include the databases resource within the Microsoft.Sql/servers resource. The typical implementation of declaring the child resource within the parent resource is shown next:
{ "name": "[variables('sqlserverName')]", "type": "Microsoft.Sql/servers", "location": "[parameters('location')]", "tags": { "displayName": "SqlServer" }, "apiVersion": "2014-04-01", "properties": { "administratorLogin": "[parameters('sqlAdministratorLogin')]", "administratorLoginPassword": ...