|
4 | 4 | "metadata": { |
5 | 5 | "_generator": { |
6 | 6 | "name": "bicep", |
7 | | - "version": "0.34.44.8038", |
8 | | - "templateHash": "18140604143517495412" |
| 7 | + "version": "0.41.2.15936", |
| 8 | + "templateHash": "12918842436261158023" |
9 | 9 | } |
10 | 10 | }, |
11 | 11 | "parameters": { |
12 | 12 | "name": { |
13 | 13 | "type": "string", |
| 14 | + "minLength": 1, |
| 15 | + "maxLength": 15, |
14 | 16 | "metadata": { |
15 | 17 | "description": "The name of the resource." |
16 | 18 | } |
|
64 | 66 | "resources": [ |
65 | 67 | { |
66 | 68 | "type": "Microsoft.Compute/virtualMachines", |
67 | | - "apiVersion": "2024-11-01", |
| 69 | + "apiVersion": "2025-04-01", |
68 | 70 | "name": "[parameters('name')]", |
69 | 71 | "location": "[parameters('location')]", |
70 | 72 | "identity": { |
|
133 | 135 | }, |
134 | 136 | { |
135 | 137 | "type": "Microsoft.Compute/disks", |
136 | | - "apiVersion": "2023-10-02", |
| 138 | + "apiVersion": "2025-01-02", |
137 | 139 | "name": "[parameters('name')]", |
138 | 140 | "location": "[parameters('location')]", |
139 | 141 | "sku": { |
|
148 | 150 | }, |
149 | 151 | { |
150 | 152 | "type": "Microsoft.Compute/virtualMachines/extensions", |
151 | | - "apiVersion": "2024-03-01", |
| 153 | + "apiVersion": "2025-04-01", |
152 | 154 | "name": "[format('{0}/{1}', parameters('name'), 'AzureMonitorWindowsAgent')]", |
153 | 155 | "location": "[parameters('location')]", |
154 | 156 | "properties": { |
|
188 | 190 | { |
189 | 191 | "type": "Microsoft.Maintenance/configurationAssignments", |
190 | 192 | "apiVersion": "2023-04-01", |
191 | | - "scope": "[format('Microsoft.Compute/virtualMachines/{0}', parameters('name'))]", |
| 193 | + "scope": "[resourceId('Microsoft.Compute/virtualMachines', parameters('name'))]", |
192 | 194 | "name": "[parameters('name')]", |
193 | 195 | "location": "[parameters('location')]", |
194 | 196 | "properties": { |
|
201 | 203 | }, |
202 | 204 | { |
203 | 205 | "type": "Microsoft.Compute/virtualMachines", |
204 | | - "apiVersion": "2024-07-01", |
| 206 | + "apiVersion": "2025-04-01", |
205 | 207 | "name": "[parameters('name')]", |
206 | 208 | "location": "[parameters('location')]", |
207 | 209 | "zones": [ |
|
247 | 249 | }, |
248 | 250 | { |
249 | 251 | "type": "Microsoft.Network/networkInterfaces", |
250 | | - "apiVersion": "2023-06-01", |
| 252 | + "apiVersion": "2025-05-01", |
251 | 253 | "name": "[parameters('nicName')]", |
252 | 254 | "location": "[parameters('location')]", |
253 | 255 | "properties": { |
|
266 | 268 | }, |
267 | 269 | { |
268 | 270 | "type": "Microsoft.Compute/virtualMachines", |
269 | | - "apiVersion": "2024-03-01", |
| 271 | + "apiVersion": "2025-04-01", |
270 | 272 | "name": "[parameters('name')]", |
271 | 273 | "location": "[parameters('location')]", |
272 | 274 | "identity": { |
273 | 275 | "type": "SystemAssigned" |
274 | 276 | }, |
275 | 277 | "properties": { |
276 | 278 | "hardwareProfile": { |
277 | | - "vmSize": "Standard_D8d_v5" |
| 279 | + "vmSize": "Standard_D8ds_v6" |
278 | 280 | }, |
279 | 281 | "osProfile": { |
280 | 282 | "computerName": "[parameters('name')]", |
|
287 | 289 | "storageProfile": { |
288 | 290 | "imageReference": { |
289 | 291 | "publisher": "MicrosoftCblMariner", |
290 | | - "offer": "Cbl-Mariner", |
291 | | - "sku": "cbl-mariner-2-gen2", |
| 292 | + "offer": "azure-linux-3", |
| 293 | + "sku": "azure-linux-3-gen2", |
292 | 294 | "version": "latest" |
293 | 295 | }, |
294 | 296 | "osDisk": { |
|
0 commit comments