File tree Expand file tree Collapse file tree
src/main/java/com/microsoft/azure/vmagent Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1479,7 +1479,7 @@ public ListBoxModel doFillStorageAccountTypeItems(@QueryParameter String virtual
14791479 model .add (SkuName .STANDARD_LRS .toString ());
14801480
14811481 /*As introduced in Azure Docs, the size contains 'S' supports premium storage*/
1482- if (virtualMachineSize .matches (".*_[a-zA-Z]([0-9]+[Mm ]?[Ss]|[Ss][0-9]+).*" )) {
1482+ if (virtualMachineSize .matches (".*_[a-zA-Z]([0-9]+[aAMm ]?[Ss]|[Ss][0-9]+).*" )) {
14831483 model .add (SkuName .PREMIUM_LRS .toString ());
14841484 }
14851485 return model ;
@@ -1494,7 +1494,7 @@ public ListBoxModel doFillOsDiskStorageAccountTypeItems(@QueryParameter String v
14941494 model .add (DiskSkuTypes .STANDARD_SSD_LRS .toString ());
14951495
14961496 /*As introduced in Azure Docs, the size contains 'S' supports premium storage*/
1497- if (virtualMachineSize .matches (".*_[a-zA-Z]([0-9]+[Mm ]?[Ss]|[Ss][0-9]+).*" )) {
1497+ if (virtualMachineSize .matches (".*_[a-zA-Z]([0-9]+[aAMm ]?[Ss]|[Ss][0-9]+).*" )) {
14981498 model .add (DiskSkuTypes .PREMIUM_LRS .toString ());
14991499 }
15001500 return model ;
You can’t perform that action at this time.
0 commit comments