Skill 3.3.5
Describe Azure Resource Manager (ARM) and ARM templates
Key Concepts
Every request to create, update or delete an Azure resource, whether from the portal, the Azure CLI, Azure PowerShell, an SDK or the REST API, goes to Azure Resource Manager. ARM authenticates and authorizes the request and then sends it to the appropriate service, so all tools give consistent results. ARM provides the management layer features: resource groups, Azure RBAC, tags, resource locks and Azure Policy. It also lets you deploy, manage and monitor resources as a group, redeploy them consistently, and define dependencies so that resources are deployed in the correct order.
An ARM template is a declarative JSON file that defines the infrastructure and configuration to deploy, with sections for parameters, variables, resources and outputs. Benefits include declarative syntax, repeatable results, orchestration (ARM deploys resources in the right order and in parallel where possible), modular files that can be linked or nested, and extensibility with deployment scripts. Bicep is a domain-specific language with a simpler syntax than JSON that compiles to an ARM template and supports every resource type from the day it is released.