|
194 | 194 | "resources": [ |
195 | 195 | { |
196 | 196 | "type": "Microsoft.Resources/deployments", |
197 | | - "apiVersion": "${azure.apiVersion}", |
198 | | - "name": "${admin.admin.start}", |
| 197 | + "apiVersion": "2020-06-01", |
| 198 | + "name": "pid-88e1c590-988c-51bb-bbd3-4929629bfb9c", |
199 | 199 | "properties": { |
200 | 200 | "mode": "Incremental", |
201 | 201 | "template": { |
|
208 | 208 | }, |
209 | 209 | { |
210 | 210 | "type": "Microsoft.Network/networkSecurityGroups", |
211 | | - "apiVersion": "${azure.apiVersion}", |
| 211 | + "apiVersion": "2020-06-01", |
212 | 212 | "name": "[variables('name_networkSecurityGroup')]", |
213 | 213 | "location": "[parameters('location')]", |
214 | 214 | "properties": { |
|
257 | 257 | }, |
258 | 258 | { |
259 | 259 | "type": "Microsoft.Storage/storageAccounts", |
260 | | - "apiVersion": "${azure.apiVersion2}", |
| 260 | + "apiVersion": "2019-06-01", |
261 | 261 | "name": "[variables('name_storageAccount')]", |
262 | 262 | "location": "[parameters('location')]", |
263 | 263 | "sku": { |
|
273 | 273 | }, |
274 | 274 | { |
275 | 275 | "type": "Microsoft.Storage/storageAccounts/fileServices", |
276 | | - "apiVersion": "${azure.apiVersion2}", |
| 276 | + "apiVersion": "2019-06-01", |
277 | 277 | "name": "[concat(variables('name_storageAccount'), '/default')]", |
278 | 278 | "dependsOn": [ |
279 | 279 | "[variables('ref_storage')]" |
|
285 | 285 | }, |
286 | 286 | { |
287 | 287 | "type": "Microsoft.Storage/storageAccounts/fileServices/shares", |
288 | | - "apiVersion": "${azure.apiVersion2}", |
| 288 | + "apiVersion": "2019-06-01", |
289 | 289 | "name": "[concat(variables('name_storageAccount'), '/default/', variables('name_share'))]", |
290 | 290 | "dependsOn": [ |
291 | 291 | "[variables('ref_fileService')]", |
|
297 | 297 | }, |
298 | 298 | { |
299 | 299 | "type": "Microsoft.Network/publicIPAddresses", |
300 | | - "apiVersion": "${azure.apiVersion}", |
| 300 | + "apiVersion": "2020-06-01", |
301 | 301 | "name": "[variables('name_publicIPAddress')]", |
302 | 302 | "location": "[parameters('location')]", |
303 | 303 | "properties": { |
|
309 | 309 | }, |
310 | 310 | { |
311 | 311 | "type": "Microsoft.Network/virtualNetworks", |
312 | | - "apiVersion": "${azure.apiVersion}", |
| 312 | + "apiVersion": "2020-06-01", |
313 | 313 | "name": "[variables('name_virtualNetwork')]", |
314 | 314 | "location": "[parameters('location')]", |
315 | 315 | "dependsOn": [ |
|
336 | 336 | }, |
337 | 337 | { |
338 | 338 | "type": "Microsoft.Network/networkInterfaces", |
339 | | - "apiVersion": "${azure.apiVersion}", |
| 339 | + "apiVersion": "2020-06-01", |
340 | 340 | "name": "[variables('name_nic')]", |
341 | 341 | "location": "[parameters('location')]", |
342 | 342 | "dependsOn": [ |
|
365 | 365 | }, |
366 | 366 | { |
367 | 367 | "type": "Microsoft.Compute/virtualMachines", |
368 | | - "apiVersion": "${azure.apiVersion}", |
| 368 | + "apiVersion": "2020-06-01", |
369 | 369 | "name": "[parameters('adminVMName')]", |
370 | 370 | "location": "[parameters('location')]", |
371 | 371 | "dependsOn": [ |
|
407 | 407 | "diagnosticsProfile": { |
408 | 408 | "bootDiagnostics": { |
409 | 409 | "enabled": true, |
410 | | - "storageUri": "[reference(resourceId('Microsoft.Storage/storageAccounts/', variables('name_storageAccount')), '${azure.apiVersion2}').primaryEndpoints.blob]" |
| 410 | + "storageUri": "[reference(resourceId('Microsoft.Storage/storageAccounts/', variables('name_storageAccount')), '2019-06-01').primaryEndpoints.blob]" |
411 | 411 | } |
412 | 412 | } |
413 | 413 | }, |
|
420 | 420 | { |
421 | 421 | "name": "[concat(parameters('adminVMName'),'/newuserscript')]", |
422 | 422 | "type": "Microsoft.Compute/virtualMachines/extensions", |
423 | | - "apiVersion": "${azure.apiVersion}", |
| 423 | + "apiVersion": "2020-06-01", |
424 | 424 | "location": "[parameters('location')]", |
425 | 425 | "dependsOn": [ |
426 | 426 | "[resourceId('Microsoft.Compute/virtualMachines/', parameters('adminVMName'))]", |
|
437 | 437 | ] |
438 | 438 | }, |
439 | 439 | "protectedSettings": { |
440 | | - "commandToExecute": "[concat('sh',' ',variables('name_scriptFile'),' <<< \"',parameters('wlsDomainName'),' ',parameters('wlsUserName'),' ',parameters('wlsPassword'),' ',parameters('adminVMName'),' ', variables('const_wlsHome'),' ',variables('name_storageAccount'),' ',listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('name_storageAccount')), '${azure.apiVersion2}').keys[0].value,' ',variables('const_mountPointPath'),' ',string(parameters('enableHTTPAdminListenPort')),' ', if(parameters('enableCustomDNS'), parameters('customDNSName'), reference(variables('name_publicIPAddress')).dnsSettings.fqdn), '\"')]" |
| 440 | + "commandToExecute": "[concat('sh',' ',variables('name_scriptFile'),' <<< \"',parameters('wlsDomainName'),' ',parameters('wlsUserName'),' ',parameters('wlsPassword'),' ',parameters('adminVMName'),' ', variables('const_wlsHome'),' ',variables('name_storageAccount'),' ',listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('name_storageAccount')), '2019-06-01').keys[0].value,' ',variables('const_mountPointPath'),' ',string(parameters('enableHTTPAdminListenPort')),' ', if(parameters('enableCustomDNS'), parameters('customDNSName'), reference(variables('name_publicIPAddress')).dnsSettings.fqdn), '\"')]" |
441 | 441 | } |
442 | 442 | } |
443 | 443 | }, |
444 | 444 | { |
445 | 445 | "type": "Microsoft.Resources/deployments", |
446 | | - "apiVersion": "${azure.apiVersion}", |
447 | | - "name": "${admin.admin.end}", |
| 446 | + "apiVersion": "2020-06-01", |
| 447 | + "name": "admin.admin.end", |
448 | 448 | "dependsOn": [ |
449 | 449 | "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" |
450 | 450 | ], |
|
460 | 460 | }, |
461 | 461 | { |
462 | 462 | "type": "Microsoft.Resources/deployments", |
463 | | - "apiVersion": "${azure.apiVersion}", |
464 | | - "name": "${from.owls-122130-jdk8-ol74}", |
| 463 | + "apiVersion": "2020-06-01", |
| 464 | + "name": "pid-caa3ea2b-cdec-55ee-8510-854ed10d7ebe", |
465 | 465 | "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122130-jdk8-ol74'), bool('true'), bool('false'))]", |
466 | 466 | "dependsOn": [ |
467 | 467 | "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" |
|
478 | 478 | }, |
479 | 479 | { |
480 | 480 | "type": "Microsoft.Resources/deployments", |
481 | | - "apiVersion": "${azure.apiVersion}", |
482 | | - "name": "${from.owls-122130-jdk8-ol73}", |
| 481 | + "apiVersion": "2020-06-01", |
| 482 | + "name": "pid-bf1d0f1a-cb9a-5453-bf70-42b4efe8c15e", |
483 | 483 | "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'from.owls-122130-jdk8-ol73'), bool('true'), bool('false'))]", |
484 | 484 | "dependsOn": [ |
485 | 485 | "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" |
|
496 | 496 | }, |
497 | 497 | { |
498 | 498 | "type": "Microsoft.Resources/deployments", |
499 | | - "apiVersion": "${azure.apiVersion}", |
500 | | - "name": "${from.owls-122140-jdk8-ol76}", |
| 499 | + "apiVersion": "2020-06-01", |
| 500 | + "name": "pid-bde756bb-ce96-54d5-a478-04d9bd87e9db", |
501 | 501 | "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'from.owls-122140-jdk8-ol76'), bool('true'), bool('false'))]", |
502 | 502 | "dependsOn": [ |
503 | 503 | "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" |
|
514 | 514 | }, |
515 | 515 | { |
516 | 516 | "type": "Microsoft.Resources/deployments", |
517 | | - "apiVersion": "${azure.apiVersion}", |
518 | | - "name": "${from.owls-141100-jdk8-ol76}", |
| 517 | + "apiVersion": "2020-06-01", |
| 518 | + "name": "pid-b6f00a34-1478-5a10-9a84-49c4051b57b8", |
519 | 519 | "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol76'), bool('true'), bool('false'))]", |
520 | 520 | "dependsOn": [ |
521 | 521 | "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" |
|
532 | 532 | }, |
533 | 533 | { |
534 | 534 | "type": "Microsoft.Resources/deployments", |
535 | | - "apiVersion": "${azure.apiVersion}", |
536 | | - "name": "${from.owls-141100-jdk11-ol76}", |
| 535 | + "apiVersion": "2020-06-01", |
| 536 | + "name": "pid-afc8f9c5-8c5d-5d1b-ab4d-3116ca908bfd", |
537 | 537 | "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol76'), bool('true'), bool('false'))]", |
538 | 538 | "dependsOn": [ |
539 | 539 | "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" |
|
550 | 550 | }, |
551 | 551 | { |
552 | 552 | "type": "Microsoft.Resources/deployments", |
553 | | - "apiVersion": "${azure.apiVersion}", |
554 | | - "name": "${from.owls-122140-jdk8-rhel76}", |
| 553 | + "apiVersion": "2020-06-01", |
| 554 | + "name": "0a52f317-8b40-4a77-9f3c-7607fc3ebfb7wls", |
555 | 555 | "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-rhel76'), bool('true'), bool('false'))]", |
556 | 556 | "dependsOn": [ |
557 | 557 | "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" |
|
568 | 568 | }, |
569 | 569 | { |
570 | 570 | "type": "Microsoft.Resources/deployments", |
571 | | - "apiVersion": "${azure.apiVersion}", |
572 | | - "name": "${from.owls-141100-jdk8-rhel76}", |
| 571 | + "apiVersion": "2020-06-01", |
| 572 | + "name": "26ec5cf5-dd84-4764-97cf-4f830facbf66wls", |
573 | 573 | "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-rhel76'), bool('true'), bool('false'))]", |
574 | 574 | "dependsOn": [ |
575 | 575 | "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" |
|
586 | 586 | }, |
587 | 587 | { |
588 | 588 | "type": "Microsoft.Resources/deployments", |
589 | | - "apiVersion": "${azure.apiVersion}", |
590 | | - "name": "${from.owls-141100-jdk11-rhel76}", |
| 589 | + "apiVersion": "2020-06-01", |
| 590 | + "name": "ada2e3e6-faef-4339-aaac-40bcdc4484ecwls", |
591 | 591 | "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-rhel76'), bool('true'), bool('false'))]", |
592 | 592 | "dependsOn": [ |
593 | 593 | "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" |
|
0 commit comments