Azure ARM Template

Introduction

  1. ARM known as Azure Resource Manager; it is basically a JSON file describing the resource(s) to be created. ARM is used by Azure in almost in all deployments also it can be exported, modified, uploaded, and deployed, also it can also be created from scratch.
  2. ARM template is a declarative way of deploying resources

Declarative

  1. Describes the end result
  2. Allows “What-If” operation
  3. Can deploy multiple resources at once
  4. Can be integrated in CI/CD processes
  5. Can be source controlled
  6. Used by ARM template

Imperative

  1. Sends instructions to run
  2. Error prone
  3. Can’t be verified
  4. Can’t be source controlled
  5. Suited for quick and dirty operations
  6. Used by Azure CLI, PowerShell