It is obvious to create a single deployment template for deploying a single resource. But the more advanced your deployment scenarios get, the more interesting it becomes to create a decomposed template design.
Azure Resource Manager allows you to link templates, also referred to as nested templates.
The following guidance helps to decide between a single template or a decomposed nested template design.
- Create a single template for a single tier application
- Create a nested template deployment for a multitier application
- Use nested templates for optional deployment
Within an Azure Resource Manager deployment template you can create a resource of the type
"Microsoft.Resources/deployments". This templateLink property in this resource allows you to reference another deployment template.