1+ {
2+ "$schema" : " https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#" ,
3+ "contentVersion" : " 1.0.0.0" ,
4+ "parameters" : {
5+ "virtualMachines_shikshana_production_name" : {
6+ "defaultValue" : " shikshana-production" ,
7+ "type" : " String"
8+ },
9+ "disks_shikshana_production_OsDisk_1_8dbe5095835347e2abc249e683f0f8ac_externalid" : {
10+ "defaultValue" : " /subscriptions/3d015b01-4da7-481a-a0d9-60448622bf7d/resourceGroups/SHIKSHANA-RG/providers/Microsoft.Compute/disks/shikshana-production_OsDisk_1_8dbe5095835347e2abc249e683f0f8ac" ,
11+ "type" : " String"
12+ },
13+ "networkInterfaces_shikshana_production246_z1_externalid" : {
14+ "defaultValue" : " /subscriptions/3d015b01-4da7-481a-a0d9-60448622bf7d/resourceGroups/Shikshana-RG/providers/Microsoft.Network/networkInterfaces/shikshana-production246_z1" ,
15+ "type" : " String"
16+ }
17+ },
18+ "variables" : {},
19+ "resources" : [
20+ {
21+ "type" : " Microsoft.Compute/virtualMachines" ,
22+ "apiVersion" : " 2024-11-01" ,
23+ "name" : " [parameters('virtualMachines_shikshana_production_name')]" ,
24+ "location" : " centralindia" ,
25+ "tags" : {
26+ "env" : " prod"
27+ },
28+ "zones" : [
29+ " 1"
30+ ],
31+ "identity" : {
32+ "type" : " SystemAssigned"
33+ },
34+ "properties" : {
35+ "hardwareProfile" : {
36+ "vmSize" : " Standard_B4ms"
37+ },
38+ "additionalCapabilities" : {
39+ "hibernationEnabled" : false
40+ },
41+ "storageProfile" : {
42+ "imageReference" : {
43+ "publisher" : " canonical" ,
44+ "offer" : " ubuntu-24_04-lts" ,
45+ "sku" : " server" ,
46+ "version" : " latest"
47+ },
48+ "osDisk" : {
49+ "osType" : " Linux" ,
50+ "name" : " [concat(parameters('virtualMachines_shikshana_production_name'), '_OsDisk_1_8dbe5095835347e2abc249e683f0f8ac')]" ,
51+ "createOption" : " FromImage" ,
52+ "caching" : " ReadWrite" ,
53+ "managedDisk" : {
54+ "storageAccountType" : " Premium_LRS" ,
55+ "id" : " [parameters('disks_shikshana_production_OsDisk_1_8dbe5095835347e2abc249e683f0f8ac_externalid')]"
56+ },
57+ "deleteOption" : " Delete" ,
58+ "diskSizeGB" : 30
59+ },
60+ "dataDisks" : [],
61+ "diskControllerType" : " SCSI"
62+ },
63+ "osProfile" : {
64+ "computerName" : " [parameters('virtualMachines_shikshana_production_name')]" ,
65+ "adminUsername" : " azureuser" ,
66+ "linuxConfiguration" : {
67+ "disablePasswordAuthentication" : true ,
68+ "ssh" : {
69+ "publicKeys" : [
70+ {
71+ "path" : " /home/azureuser/.ssh/authorized_keys" ,
72+ "keyData" : " ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDGN5/JiAPjI4ipml4nQRnnCX+tHkKtjPKAZ2pwq/issC4YuNZqGetZxw+1Qvj5ZKJkK7n3w4d3phyYal35/iuaY4rTuj7d8IQBcFnv8LtwfxIp1FFGyY5WatUASYyAMfSuPaxZiNlwJUfr5QBwDwpajnlrasjgUTMq6BZ51iieN+6vqLhdHSteR8y2vt2E0yLEcl1YKafSE0cjzP5C/mBeesGYgVKFB/IhzOl753y6Tyxl1WU31paHb6VFzCTgQ8X/7YlfSjcG5YYZJQsf/V4LyrgTJ9Q9fDCQWsPyteZMfIac5rkFx7RXGL0WJ2/cZcenelsj3FhqlYEhmyxgUH+e+zEQQbRbcRT95RvcfjTl4Y0nA+3crhgR569yvmsG1AJu2tTZYwobpLRzGr8xZIIR7F32SkjcPdXHdLngFPO7bD3l5xPNWJRbRPto7axfllDkddLWzbWkLrs+2bQpWXhFQ303/uQ1NnPHSBZ4egNRux16e77h2VsRgvTeZu46HYE= generated-by-azure"
73+ }
74+ ]
75+ },
76+ "provisionVMAgent" : true ,
77+ "patchSettings" : {
78+ "patchMode" : " ImageDefault" ,
79+ "assessmentMode" : " ImageDefault"
80+ }
81+ },
82+ "secrets" : [],
83+ "allowExtensionOperations" : true ,
84+ "requireGuestProvisionSignal" : true
85+ },
86+ "securityProfile" : {
87+ "uefiSettings" : {
88+ "secureBootEnabled" : true ,
89+ "vTpmEnabled" : true
90+ },
91+ "securityType" : " TrustedLaunch"
92+ },
93+ "networkProfile" : {
94+ "networkInterfaces" : [
95+ {
96+ "id" : " [parameters('networkInterfaces_shikshana_production246_z1_externalid')]" ,
97+ "properties" : {
98+ "deleteOption" : " Delete"
99+ }
100+ }
101+ ]
102+ },
103+ "diagnosticsProfile" : {
104+ "bootDiagnostics" : {
105+ "enabled" : true
106+ }
107+ }
108+ }
109+ }
110+ ]
111+ }
0 commit comments