Azure Classroomnotes 28/Dec/2021

ARM Template Structure

  • ARM Template is a json file that defines the infrastructure which you want to create
  • Refer Here to understand the syntax of ARM Template
  "$schema": "",
  "contentVersion": "",
  "apiProfile": "",
  "parameters": {  },
  "variables": {  },
  "functions": [  ],
  "resources": [  ],
  "outputs": {  }

Activity 1: Lets create a virtual network using ARM Template

  • Manual steps:
  • Create a resource group
  • Inputs:
    • Location
    • Resource Group
    • Name of Vnet
    • address space of virtual network
    • subnets
  • Lets try to write an ARM Template for this
  • Create the basic skeleton with only required fields Refer Here
  • For creating resources we would be using template reference Refer Here
  • For virtual network Refer Here
  • Refer Here for the changes done.
  • Now create a resource group, as we are going to do resource group deployment
  • Now create a custom template deployment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner