-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathubuntu2304.json
97 lines (97 loc) · 4.6 KB
/
ubuntu2304.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"virtualMachines_ubuntu2304_name": {
"defaultValue": "ubuntu2304",
"type": "String"
},
"disks_ubuntu2304_OsDisk_1_bb3280e27c05423083d33618cfe462b3_externalid": {
"defaultValue": "/subscriptions/5a350c6e-733a-47d7-b2d1-9151e0622418/resourceGroups/DEFAULTRESOURCEGROUP-SEA/providers/Microsoft.Compute/disks/ubuntu2304_OsDisk_1_bb3280e27c05423083d33618cfe462b3",
"type": "String"
},
"networkInterfaces_ubuntu2304760_z1_externalid": {
"defaultValue": "/subscriptions/5a350c6e-733a-47d7-b2d1-9151e0622418/resourceGroups/DefaultResourceGroup-SEA/providers/Microsoft.Network/networkInterfaces/ubuntu2304760_z1",
"type": "String"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Compute/virtualMachines",
"apiVersion": "2023-03-01",
"name": "[parameters('virtualMachines_ubuntu2304_name')]",
"location": "southeastasia",
"zones": [
"1"
],
"properties": {
"hardwareProfile": {
"vmSize": "Standard_B2ms"
},
"additionalCapabilities": {
"hibernationEnabled": false
},
"storageProfile": {
"imageReference": {
"publisher": "canonical",
"offer": "0001-com-ubuntu-server-lunar",
"sku": "23_04-gen2",
"version": "latest"
},
"osDisk": {
"osType": "Linux",
"name": "[concat(parameters('virtualMachines_ubuntu2304_name'), '_OsDisk_1_bb3280e27c05423083d33618cfe462b3')]",
"createOption": "FromImage",
"caching": "ReadWrite",
"managedDisk": {
"id": "[parameters('disks_ubuntu2304_OsDisk_1_bb3280e27c05423083d33618cfe462b3_externalid')]"
},
"deleteOption": "Delete"
},
"dataDisks": [],
"diskControllerType": "SCSI"
},
"osProfile": {
"computerName": "[parameters('virtualMachines_ubuntu2304_name')]",
"adminUsername": "azureuser",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/azureuser/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCvvb3TXHKMzq9TaLCGs4/D5huFkqgD+P2eS+f1xEjkRce7AesMbDUtsGQKlu8dHA0nfSku7jDZlNG+j0bh+6GIHEeHfhwvsm1FRT0sXtlWeOY6E4qBa81rqmBYHr8CNVPYk/qCsjrSBmt0v2SzyPyufpLpCwNtddHggukR5Zz5yWfjjMGp+emLz83dzkPNDc3nOSrKnh8pcUjPCD9t3sDc21/0KT1V0cMPKNNELspYIrdIP9MQZdq8AW6/TGJ5+FaxJWPx8tufuVgnKBzVljrlQpt2NATFn192LFXak4bZfCRGxNMU8b7vABhBKQBjQgPa3uqJ1+txVEM+ID8+f4LDX8vAg3uoUyFn6Asg2VGBnTqkcs6CV1dJObRa+gOWIDnk4yla+pAd9PhAiu/TJ0k4m+z58FKtz+Xwh98b30YmDgpnoifnkOhrucqJIEhHwSauZxrqTcMenfY49vYmVF30ctSqLfwpFui7lj7jRRRINhSqXjrCcd5Z0TCAu1Q0cu0= generated-by-azure"
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault",
"assessmentMode": "ImageDefault"
},
"enableVMAgentPlatformUpdates": false
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {
"networkInterfaces": [
{
"id": "[parameters('networkInterfaces_ubuntu2304760_z1_externalid')]",
"properties": {
"deleteOption": "Detach"
}
}
]
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true
}
}
}
}
]
}