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": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "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






Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%