From 0128a3727bc33370741d708dace4d407ac08e0c8 Mon Sep 17 00:00:00 2001 From: Christian Smith Date: Sat, 4 Mar 2017 10:24:04 +1100 Subject: [PATCH] Support for more VM sizes when adding a pool --- .../AzureBlast/AzureBlast.Web/AzureBlast.Web.csproj | 1 + .../AzureBlast/AzureBlast.Web/Models/NewPoolModel.cs | 12 ++++++++++++ .../AzureBlast/AzureBlast.Web/Views/Pool/New.cshtml | 11 +++++++---- LifeSciences/AzureBlast/README.md | 2 +- 4 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 LifeSciences/AzureBlast/AzureBlast.Web/Models/NewPoolModel.cs diff --git a/LifeSciences/AzureBlast/AzureBlast.Web/AzureBlast.Web.csproj b/LifeSciences/AzureBlast/AzureBlast.Web/AzureBlast.Web.csproj index b0acc8c..401dd57 100644 --- a/LifeSciences/AzureBlast/AzureBlast.Web/AzureBlast.Web.csproj +++ b/LifeSciences/AzureBlast/AzureBlast.Web/AzureBlast.Web.csproj @@ -305,6 +305,7 @@ Global.asax + diff --git a/LifeSciences/AzureBlast/AzureBlast.Web/Models/NewPoolModel.cs b/LifeSciences/AzureBlast/AzureBlast.Web/Models/NewPoolModel.cs new file mode 100644 index 0000000..a4a97ec --- /dev/null +++ b/LifeSciences/AzureBlast/AzureBlast.Web/Models/NewPoolModel.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace Microsoft.Azure.Blast.Web.Models +{ + public class NewPoolModel + { + public List VirtualMachineSizes { get; set; } + } +} \ No newline at end of file diff --git a/LifeSciences/AzureBlast/AzureBlast.Web/Views/Pool/New.cshtml b/LifeSciences/AzureBlast/AzureBlast.Web/Views/Pool/New.cshtml index 7897176..6a23680 100644 --- a/LifeSciences/AzureBlast/AzureBlast.Web/Views/Pool/New.cshtml +++ b/LifeSciences/AzureBlast/AzureBlast.Web/Views/Pool/New.cshtml @@ -1,4 +1,5 @@ -@{ +@model Microsoft.Azure.Blast.Web.Models.NewPoolModel +@{ ViewBag.Title = "New Pool"; } @@ -35,12 +36,14 @@
diff --git a/LifeSciences/AzureBlast/README.md b/LifeSciences/AzureBlast/README.md index d4cbf29..a91385f 100644 --- a/LifeSciences/AzureBlast/README.md +++ b/LifeSciences/AzureBlast/README.md @@ -67,7 +67,7 @@ Keep note of the 'Application ID' that's output from the above command. The portal deployment is automated using the ARM template below which will create the Azure storage, batch and web application. -Most of the parameters should be self explanatory and defaults shouldn't need to be changed. Details on Azure Web App instance sizes and pricing can be wound [here](https://azure.microsoft.com/en-au/pricing/details/app-service/). +Most of the parameters should be self explanatory and defaults shouldn't need to be changed. Details on Azure Web App instance sizes and pricing can be found [here](https://azure.microsoft.com/en-au/pricing/details/app-service/). The deployment will ask for the following information