Azure Resource Manager Template Structure
Share this post
By now you should have an understanding of Azure Resource Manager and the template capability it has to offer. In this step, we’ll delve into the details of Azure Resource Manager templates and understand what it means and how it works.
What is an Azure Resource Manager Template?
The Azure Resource Manager service provisions resources in an Azure account and enables you to work with the resources in your solution (virtual machines, storage accounts, and virtual networks, for example) as a group. You can deploy, update, or delete all the resources in your solution as a group. You use a template for deployment, and that template can work for different environments.
Azure Resource Manager Template Structure
An Azure Resource Manager template consists of JSON and expressions that you can use to construct values for your deployment. You must limit the size of your template to 1 megabyte (MB), and each parameter file to 64 kilobytes (KB). The 1 MB limit applies to the final state of the template after it has been expanded with iterative resource definitions and values for variables and parameters.
**{**
**"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",**
**"contentVersion": "",**
**"parameters": {**** ****},**
**"variables": {**** ****},**
**"resources": [**** ****],**
**"outputs": {**** ****}**
**}**
- Schema: Location of the JSON schema file that describes the version of the template language.
- ContentVersion: Version of the template (such as 1.0.0.0).
- Parameters: Optional values that are provided when deployment is executed to customise resource deployment.
- Resources: A manageable item that is available through Azure. Some common resources are a virtual machine, storage account, web app, database, and virtual network, but there are many more.
- Outputs: Values that are returned after deployment.
Share this post
Microsoft Future Ready: DevOps Development, Implementation and Azure Automation

Microsoft Future Ready: DevOps Development, Implementation and Azure Automation

Our purpose is to transform access to education.
We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.
We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.
Learn more about how FutureLearn is transforming access to education
Register to receive updates
-
Create an account to receive our newsletter, course recommendations and promotions.
Register for free