From df2ae35bf8ca79b2e550384a42c6c54ec394ee72 Mon Sep 17 00:00:00 2001 From: elijahneo <31119358+elijahneo@users.noreply.github.com> Date: Wed, 3 Jan 2018 16:22:26 +0800 Subject: [PATCH 1/4] Update azuredeploy.json --- .../azuredeploy.json | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/101-availabilityset-multiplevm-create/azuredeploy.json b/101-availabilityset-multiplevm-create/azuredeploy.json index d44b57c8..6abe69d0 100644 --- a/101-availabilityset-multiplevm-create/azuredeploy.json +++ b/101-availabilityset-multiplevm-create/azuredeploy.json @@ -23,7 +23,22 @@ 2, 3, 4, - 5 + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20 ], "metadata": { "description": "Number of VMs to deploy, limit 5 since this sample is using a single storage account" @@ -348,4 +363,4 @@ } ], "outputs": { } -} \ No newline at end of file +} From 19f0ffba5b864a6c859aa1c25c9fbcec20cb4929 Mon Sep 17 00:00:00 2001 From: elijahneo <31119358+elijahneo@users.noreply.github.com> Date: Wed, 3 Jan 2018 17:00:01 +0800 Subject: [PATCH 2/4] Update azuredeploy.json --- .../azuredeploy.json | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/101-availabilityset-multiplevm-create/azuredeploy.json b/101-availabilityset-multiplevm-create/azuredeploy.json index 6abe69d0..a5e9b69d 100644 --- a/101-availabilityset-multiplevm-create/azuredeploy.json +++ b/101-availabilityset-multiplevm-create/azuredeploy.json @@ -72,6 +72,18 @@ "2012-R2-Datacenter", "2016-Datacenter" ], + "vmSize": { + "type": "string", + "allowedValues": [ + "Standard_A1", + "Standard_A3", + "Standard_A7" + ], + "metadata": { + "description": "The size of the AD VMs Created" + }, + "defaultValue": "Standard_A1" + }, "metadata": { "description": "The Windows version for the VM. This will pick a fully patched image of this given Windows version. Allowed values: 2008-R2-SP1, 2012-Datacenter, 2012-R2-Datacenter." } @@ -80,7 +92,6 @@ "variables": { "availabilitySetName": "[toLower(concat('aSet-', resourceGroup().name))]", "storageAccountType": "Standard_LRS", - "VMSize": "Standard_A1", "dnsPrefix": "[tolower(concat('vmdns', resourceGroup().name))]", "windowsImageVersion": "latest", "dataDiskSize": 2, @@ -301,7 +312,7 @@ "id": "[resourceId('Microsoft.Compute/availabilitySets',variables('availabilitySetName'))]" }, "hardwareProfile": { - "vmSize": "[variables('vmSize')]" + "vmSize": "[parameters('vmSize')]" }, "osProfile": { "computerName": "[concat(parameters('vmNamePrefix'), copyIndex())]", From e0cb3a81c8b8216f04cc69f1ed1da17c9bfc34a5 Mon Sep 17 00:00:00 2001 From: elijahneo <31119358+elijahneo@users.noreply.github.com> Date: Wed, 3 Jan 2018 17:14:46 +0800 Subject: [PATCH 3/4] Update azuredeploy.json --- 101-availabilityset-multiplevm-create/azuredeploy.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/101-availabilityset-multiplevm-create/azuredeploy.json b/101-availabilityset-multiplevm-create/azuredeploy.json index a5e9b69d..c1e3b1cb 100644 --- a/101-availabilityset-multiplevm-create/azuredeploy.json +++ b/101-availabilityset-multiplevm-create/azuredeploy.json @@ -72,6 +72,10 @@ "2012-R2-Datacenter", "2016-Datacenter" ], + "metadata": { + "description": "The Windows version for the VM. This will pick a fully patched image of this given Windows version. Allowed values: 2008-R2-SP1, 2012-Datacenter, 2012-R2-Datacenter." + } + }, "vmSize": { "type": "string", "allowedValues": [ @@ -83,10 +87,6 @@ "description": "The size of the AD VMs Created" }, "defaultValue": "Standard_A1" - }, - "metadata": { - "description": "The Windows version for the VM. This will pick a fully patched image of this given Windows version. Allowed values: 2008-R2-SP1, 2012-Datacenter, 2012-R2-Datacenter." - } } }, "variables": { From cee530ebe5ea8f71a7fc78fa5d9bef8ef6fcbab8 Mon Sep 17 00:00:00 2001 From: elijahneo <31119358+elijahneo@users.noreply.github.com> Date: Wed, 3 Jan 2018 21:25:50 +0800 Subject: [PATCH 4/4] Update azuredeploy.json --- 101-availabilityset-multiplevm-create/azuredeploy.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/101-availabilityset-multiplevm-create/azuredeploy.json b/101-availabilityset-multiplevm-create/azuredeploy.json index c1e3b1cb..cdb769b2 100644 --- a/101-availabilityset-multiplevm-create/azuredeploy.json +++ b/101-availabilityset-multiplevm-create/azuredeploy.json @@ -69,11 +69,11 @@ "type": "string", "defaultValue": "2016-Datacenter", "allowedValues": [ - "2012-R2-Datacenter", + "2016-Datacenter-Server-Core", "2016-Datacenter" ], "metadata": { - "description": "The Windows version for the VM. This will pick a fully patched image of this given Windows version. Allowed values: 2008-R2-SP1, 2012-Datacenter, 2012-R2-Datacenter." + "description": "The Windows version for the VM. This will pick a fully patched image of this given Windows version. Allowed values: 2016-Datacenter, 2016-Datacenter-Server-Corer." } }, "vmSize": {