Skip to content

Commit a197579

Browse files
author
Hovsep
authored
Merge pull request #2493 from MSSedusch/dev
fix VM size information
2 parents 1e93de2 + 655e230 commit a197579

File tree

1 file changed

+51
-9
lines changed
  • src/ResourceManager/Compute/Commands.Compute/Extension/AEM

1 file changed

+51
-9
lines changed

src/ResourceManager/Compute/Commands.Compute/Extension/AEM/AEMHelper.cs

Lines changed: 51 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -153,53 +153,95 @@ internal AzureSLA GetVMSLA(VirtualMachine virtualMachine)
153153
switch (virtualMachine.HardwareProfile.VmSize)
154154
{
155155
case "Standard_DS1":
156-
case "Standard_DS1_v2":
157156
result.HasSLA = true;
158157
result.IOPS = 3200;
159158
result.TP = 32;
160159
break;
160+
case "Standard_DS1_v2":
161+
result.HasSLA = true;
162+
result.IOPS = 3200;
163+
result.TP = 48;
164+
break;
161165
case "Standard_DS2":
162-
case "Standard_DS2_v2":
163166
result.HasSLA = true;
164167
result.IOPS = 6400;
165168
result.TP = 64;
166169
break;
170+
case "Standard_DS2_v2":
171+
result.HasSLA = true;
172+
result.IOPS = 6400;
173+
result.TP = 96;
174+
break;
167175
case "Standard_DS3":
168-
case "Standard_DS3_v2":
169176
result.HasSLA = true;
170177
result.IOPS = 12800;
171178
result.TP = 128;
172179
break;
180+
case "Standard_DS3_v2":
181+
result.HasSLA = true;
182+
result.IOPS = 12800;
183+
result.TP = 192;
184+
break;
173185
case "Standard_DS4":
174-
case "Standard_DS4_v2":
175186
result.HasSLA = true;
176187
result.IOPS = 25600;
177188
result.TP = 256;
178189
break;
190+
case "Standard_DS4_v2":
191+
result.HasSLA = true;
192+
result.IOPS = 25600;
193+
result.TP = 384;
194+
break;
195+
case "Standard_DS5_v2":
196+
result.HasSLA = true;
197+
result.IOPS = 51200;
198+
result.TP = 768;
199+
break;
179200
case "Standard_DS11":
180-
case "Standard_DS11_v2":
181201
result.HasSLA = true;
182202
result.IOPS = 6400;
183203
result.TP = 64;
184204
break;
205+
case "Standard_DS11_v2":
206+
result.HasSLA = true;
207+
result.IOPS = 6400;
208+
result.TP = 96;
209+
break;
185210
case "Standard_DS12":
186-
case "Standard_DS12_v2":
187211
result.HasSLA = true;
188212
result.IOPS = 12800;
189213
result.TP = 128;
190214
break;
215+
case "Standard_DS12_v2":
216+
result.HasSLA = true;
217+
result.IOPS = 12800;
218+
result.TP = 192;
219+
break;
191220
case "Standard_DS13":
192-
case "Standard_DS13_v2":
193221
result.HasSLA = true;
194222
result.IOPS = 25600;
195223
result.TP = 256;
196224
break;
225+
case "Standard_DS13_v2":
226+
result.HasSLA = true;
227+
result.IOPS = 25600;
228+
result.TP = 384;
229+
break;
197230
case "Standard_DS14":
198-
case "Standard_DS14_v2":
199231
result.HasSLA = true;
200-
result.IOPS = 50000;
232+
result.IOPS = 51200;
201233
result.TP = 512;
202234
break;
235+
case "Standard_DS14_v2":
236+
result.HasSLA = true;
237+
result.IOPS = 51200;
238+
result.TP = 768;
239+
break;
240+
case "Standard_DS15_v2":
241+
result.HasSLA = true;
242+
result.IOPS = 64000;
243+
result.TP = 960;
244+
break;
203245
case "Standard_GS1":
204246
result.HasSLA = true;
205247
result.IOPS = 5000;

0 commit comments

Comments
 (0)