Fixes to the VM sizes in Usage simulation.

This commit is contained in:
Shital Savekar 2017-09-28 18:18:38 +05:30
Родитель 5a969bec32
Коммит 603cd21d45
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -110,7 +110,7 @@
$overFlowErrors += TestUsage -currentStatus $currentStatus -text $identifierText -AllowedUsagePercentage $AllowedUsagePercentage $overFlowErrors += TestUsage -currentStatus $currentStatus -text $identifierText -AllowedUsagePercentage $AllowedUsagePercentage
$premiumVMs += 1 $premiumVMs += 1
} }
elseif ( $testVMSize.StartsWith("DS") -and $testVMSize.EndsWith("v3")) elseif ( $testVMSize.StartsWith("D") -and $testVMSize.EndsWith("s_v3"))
{ {
$identifierText = "Standard DSv3 Family Cores" $identifierText = "Standard DSv3 Family Cores"
$currentStatus = SetUsage -currentStatus $currentStatus -text $identifierText -usage $testVMUsage -AllowedUsagePercentage $AllowedUsagePercentage $currentStatus = SetUsage -currentStatus $currentStatus -text $identifierText -usage $testVMUsage -AllowedUsagePercentage $AllowedUsagePercentage
@ -130,7 +130,7 @@
$currentStatus = SetUsage -currentStatus $currentStatus -text $identifierText -usage $testVMUsage -AllowedUsagePercentage $AllowedUsagePercentage $currentStatus = SetUsage -currentStatus $currentStatus -text $identifierText -usage $testVMUsage -AllowedUsagePercentage $AllowedUsagePercentage
$overFlowErrors += TestUsage -currentStatus $currentStatus -text $identifierText -AllowedUsagePercentage $AllowedUsagePercentage $overFlowErrors += TestUsage -currentStatus $currentStatus -text $identifierText -AllowedUsagePercentage $AllowedUsagePercentage
} }
elseif ( $testVMSize.StartsWith("D") -and !$testVMSize.StartsWith("DS") -and $testVMSize.EndsWith("v3")) elseif ( $testVMSize.StartsWith("D") -and !$testVMSize.EndsWith("s_v3") -and $testVMSize.EndsWith("v3"))
{ {
$identifierText = "Standard Dv3 Family Cores" $identifierText = "Standard Dv3 Family Cores"
$currentStatus = SetUsage -currentStatus $currentStatus -text $identifierText -usage $testVMUsage -AllowedUsagePercentage $AllowedUsagePercentage $currentStatus = SetUsage -currentStatus $currentStatus -text $identifierText -usage $testVMUsage -AllowedUsagePercentage $AllowedUsagePercentage
@ -145,14 +145,14 @@
#endregion #endregion
#region E-Series postmartem #region E-Series postmartem
elseif ( $testVMSize.StartsWith("ES") -and $testVMSize.EndsWith("v3")) elseif ( $testVMSize.StartsWith("E") -and $testVMSize.EndsWith("s_v3"))
{ {
$identifierText = "Standard ESv3 Family Cores" $identifierText = "Standard ESv3 Family Cores"
$currentStatus = SetUsage -currentStatus $currentStatus -text $identifierText -usage $testVMUsage -AllowedUsagePercentage $AllowedUsagePercentage $currentStatus = SetUsage -currentStatus $currentStatus -text $identifierText -usage $testVMUsage -AllowedUsagePercentage $AllowedUsagePercentage
$overFlowErrors += TestUsage -currentStatus $currentStatus -text $identifierText -AllowedUsagePercentage $AllowedUsagePercentage $overFlowErrors += TestUsage -currentStatus $currentStatus -text $identifierText -AllowedUsagePercentage $AllowedUsagePercentage
$premiumVMs += 1 $premiumVMs += 1
} }
elseif ( $testVMSize.StartsWith("E") -and !$testVMSize.StartsWith("ES") -and $testVMSize.EndsWith("v3")) elseif ( $testVMSize.StartsWith("E") -and !$testVMSize.EndsWith("s_v3") -and $testVMSize.EndsWith("v3"))
{ {
$identifierText = "Standard Ev3 Family Cores" $identifierText = "Standard Ev3 Family Cores"
$currentStatus = SetUsage -currentStatus $currentStatus -text $identifierText -usage $testVMUsage -AllowedUsagePercentage $AllowedUsagePercentage $currentStatus = SetUsage -currentStatus $currentStatus -text $identifierText -usage $testVMUsage -AllowedUsagePercentage $AllowedUsagePercentage