Skip to content

Commit 4b9165d

Browse files
author
Teo Magnino Chaban
committed
Add resize APIs
1 parent e16eabd commit 4b9165d

File tree

3 files changed

+516
-0
lines changed

3 files changed

+516
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,390 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
4+
"resourceGroupName": "testrg123",
5+
"workspaceName": "workspaces123",
6+
"computeName": "compute123",
7+
"api-version": "2023-08-01-preview"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"value": [
13+
{
14+
"name": "Standard_DS1_v2",
15+
"family": "standardDSv2Family",
16+
"vCPUs": 1,
17+
"gpus": 0,
18+
"osVhdSizeMB": 1047552,
19+
"maxResourceVolumeMB": 7168,
20+
"memoryGB": 3.5,
21+
"lowPriorityCapable": true,
22+
"premiumIO": true,
23+
"estimatedVMPrices": {
24+
"billingCurrency": "USD",
25+
"unitOfMeasure": "OneHour",
26+
"values": [
27+
{
28+
"retailPrice": 0.13,
29+
"osType": "Windows",
30+
"vmTier": "Standard"
31+
},
32+
{
33+
"retailPrice": 0.01,
34+
"osType": "Linux",
35+
"vmTier": "LowPriority"
36+
},
37+
{
38+
"retailPrice": 0.07,
39+
"osType": "Linux",
40+
"vmTier": "Standard"
41+
},
42+
{
43+
"retailPrice": 0.05,
44+
"osType": "Windows",
45+
"vmTier": "LowPriority"
46+
}
47+
]
48+
},
49+
"supportedComputeTypes": [
50+
"AmlCompute",
51+
"ComputeInstance"
52+
]
53+
},
54+
{
55+
"name": "Standard_DS2_v2",
56+
"family": "standardDSv2Family",
57+
"vCPUs": 2,
58+
"gpus": 0,
59+
"osVhdSizeMB": 1047552,
60+
"maxResourceVolumeMB": 14336,
61+
"memoryGB": 7.0,
62+
"lowPriorityCapable": true,
63+
"premiumIO": true,
64+
"estimatedVMPrices": {
65+
"billingCurrency": "USD",
66+
"unitOfMeasure": "OneHour",
67+
"values": [
68+
{
69+
"retailPrice": 0.03,
70+
"osType": "Linux",
71+
"vmTier": "LowPriority"
72+
},
73+
{
74+
"retailPrice": 0.15,
75+
"osType": "Linux",
76+
"vmTier": "Standard"
77+
},
78+
{
79+
"retailPrice": 0.1,
80+
"osType": "Windows",
81+
"vmTier": "LowPriority"
82+
},
83+
{
84+
"retailPrice": 0.25,
85+
"osType": "Windows",
86+
"vmTier": "Standard"
87+
}
88+
]
89+
},
90+
"supportedComputeTypes": [
91+
"AmlCompute",
92+
"ComputeInstance",
93+
"MIR"
94+
]
95+
},
96+
{
97+
"name": "Standard_DS3_v2",
98+
"family": "standardDSv2Family",
99+
"vCPUs": 4,
100+
"gpus": 0,
101+
"osVhdSizeMB": 1047552,
102+
"maxResourceVolumeMB": 28672,
103+
"memoryGB": 14.0,
104+
"lowPriorityCapable": true,
105+
"premiumIO": true,
106+
"estimatedVMPrices": {
107+
"billingCurrency": "USD",
108+
"unitOfMeasure": "OneHour",
109+
"values": [
110+
{
111+
"retailPrice": 0.2,
112+
"osType": "Windows",
113+
"vmTier": "LowPriority"
114+
},
115+
{
116+
"retailPrice": 0.06,
117+
"osType": "Linux",
118+
"vmTier": "LowPriority"
119+
},
120+
{
121+
"retailPrice": 0.5,
122+
"osType": "Windows",
123+
"vmTier": "Standard"
124+
},
125+
{
126+
"retailPrice": 0.29,
127+
"osType": "Linux",
128+
"vmTier": "Standard"
129+
}
130+
]
131+
},
132+
"supportedComputeTypes": [
133+
"AmlCompute",
134+
"ComputeInstance",
135+
"MIR"
136+
]
137+
},
138+
{
139+
"name": "Standard_DS4_v2",
140+
"family": "standardDSv2Family",
141+
"vCPUs": 8,
142+
"gpus": 0,
143+
"osVhdSizeMB": 1047552,
144+
"maxResourceVolumeMB": 57344,
145+
"memoryGB": 28.0,
146+
"lowPriorityCapable": true,
147+
"premiumIO": true,
148+
"estimatedVMPrices": {
149+
"billingCurrency": "USD",
150+
"unitOfMeasure": "OneHour",
151+
"values": [
152+
{
153+
"retailPrice": 0.12,
154+
"osType": "Linux",
155+
"vmTier": "LowPriority"
156+
},
157+
{
158+
"retailPrice": 0.4,
159+
"osType": "Windows",
160+
"vmTier": "LowPriority"
161+
},
162+
{
163+
"retailPrice": 1.01,
164+
"osType": "Windows",
165+
"vmTier": "Standard"
166+
},
167+
{
168+
"retailPrice": 0.58,
169+
"osType": "Linux",
170+
"vmTier": "Standard"
171+
}
172+
]
173+
},
174+
"supportedComputeTypes": [
175+
"AmlCompute",
176+
"ComputeInstance",
177+
"MIR"
178+
]
179+
},
180+
{
181+
"name": "Standard_DS5_v2",
182+
"family": "standardDSv2Family",
183+
"vCPUs": 16,
184+
"gpus": 0,
185+
"osVhdSizeMB": 1047552,
186+
"maxResourceVolumeMB": 114688,
187+
"memoryGB": 56.0,
188+
"lowPriorityCapable": true,
189+
"premiumIO": true,
190+
"estimatedVMPrices": {
191+
"billingCurrency": "USD",
192+
"unitOfMeasure": "OneHour",
193+
"values": [
194+
{
195+
"retailPrice": 1.17,
196+
"osType": "Linux",
197+
"vmTier": "Standard"
198+
},
199+
{
200+
"retailPrice": 0.81,
201+
"osType": "Windows",
202+
"vmTier": "LowPriority"
203+
},
204+
{
205+
"retailPrice": 2.02,
206+
"osType": "Windows",
207+
"vmTier": "Standard"
208+
},
209+
{
210+
"retailPrice": 0.23,
211+
"osType": "Linux",
212+
"vmTier": "LowPriority"
213+
}
214+
]
215+
},
216+
"supportedComputeTypes": [
217+
"AmlCompute",
218+
"ComputeInstance",
219+
"MIR"
220+
]
221+
},
222+
{
223+
"name": "Standard_DS11_v2",
224+
"family": "standardDSv2Family",
225+
"vCPUs": 2,
226+
"gpus": 0,
227+
"osVhdSizeMB": 1047552,
228+
"maxResourceVolumeMB": 28672,
229+
"memoryGB": 14.0,
230+
"lowPriorityCapable": true,
231+
"premiumIO": true,
232+
"estimatedVMPrices": {
233+
"billingCurrency": "USD",
234+
"unitOfMeasure": "OneHour",
235+
"values": [
236+
{
237+
"retailPrice": 0.26,
238+
"osType": "Windows",
239+
"vmTier": "Standard"
240+
},
241+
{
242+
"retailPrice": 0.18,
243+
"osType": "Linux",
244+
"vmTier": "Standard"
245+
},
246+
{
247+
"retailPrice": 0.11,
248+
"osType": "Windows",
249+
"vmTier": "LowPriority"
250+
},
251+
{
252+
"retailPrice": 0.04,
253+
"osType": "Linux",
254+
"vmTier": "LowPriority"
255+
}
256+
]
257+
},
258+
"supportedComputeTypes": [
259+
"AmlCompute",
260+
"ComputeInstance"
261+
]
262+
},
263+
{
264+
"name": "Standard_DS12_v2",
265+
"family": "standardDSv2Family",
266+
"vCPUs": 4,
267+
"gpus": 0,
268+
"osVhdSizeMB": 1047552,
269+
"maxResourceVolumeMB": 57344,
270+
"memoryGB": 28.0,
271+
"lowPriorityCapable": true,
272+
"premiumIO": true,
273+
"estimatedVMPrices": {
274+
"billingCurrency": "USD",
275+
"unitOfMeasure": "OneHour",
276+
"values": [
277+
{
278+
"retailPrice": 0.37,
279+
"osType": "Linux",
280+
"vmTier": "Standard"
281+
},
282+
{
283+
"retailPrice": 0.53,
284+
"osType": "Windows",
285+
"vmTier": "Standard"
286+
},
287+
{
288+
"retailPrice": 0.21,
289+
"osType": "Windows",
290+
"vmTier": "LowPriority"
291+
},
292+
{
293+
"retailPrice": 0.07,
294+
"osType": "Linux",
295+
"vmTier": "LowPriority"
296+
}
297+
]
298+
},
299+
"supportedComputeTypes": [
300+
"AmlCompute",
301+
"ComputeInstance"
302+
]
303+
},
304+
{
305+
"name": "Standard_DS13_v2",
306+
"family": "standardDSv2Family",
307+
"vCPUs": 8,
308+
"gpus": 0,
309+
"osVhdSizeMB": 1047552,
310+
"maxResourceVolumeMB": 114688,
311+
"memoryGB": 56.0,
312+
"lowPriorityCapable": true,
313+
"premiumIO": true,
314+
"estimatedVMPrices": {
315+
"billingCurrency": "USD",
316+
"unitOfMeasure": "OneHour",
317+
"values": [
318+
{
319+
"retailPrice": 0.15,
320+
"osType": "Linux",
321+
"vmTier": "LowPriority"
322+
},
323+
{
324+
"retailPrice": 0.42,
325+
"osType": "Windows",
326+
"vmTier": "LowPriority"
327+
},
328+
{
329+
"retailPrice": 0.74,
330+
"osType": "Linux",
331+
"vmTier": "Standard"
332+
},
333+
{
334+
"retailPrice": 1.06,
335+
"osType": "Windows",
336+
"vmTier": "Standard"
337+
}
338+
]
339+
},
340+
"supportedComputeTypes": [
341+
"AmlCompute",
342+
"ComputeInstance"
343+
]
344+
},
345+
{
346+
"name": "Standard_DS14_v2",
347+
"family": "standardDSv2Family",
348+
"vCPUs": 16,
349+
"gpus": 0,
350+
"osVhdSizeMB": 1047552,
351+
"maxResourceVolumeMB": 229376,
352+
"memoryGB": 112.0,
353+
"lowPriorityCapable": true,
354+
"premiumIO": true,
355+
"estimatedVMPrices": {
356+
"billingCurrency": "USD",
357+
"unitOfMeasure": "OneHour",
358+
"values": [
359+
{
360+
"retailPrice": 0.3,
361+
"osType": "Linux",
362+
"vmTier": "LowPriority"
363+
},
364+
{
365+
"retailPrice": 1.48,
366+
"osType": "Linux",
367+
"vmTier": "Standard"
368+
},
369+
{
370+
"retailPrice": 0.84,
371+
"osType": "Windows",
372+
"vmTier": "LowPriority"
373+
},
374+
{
375+
"retailPrice": 2.11,
376+
"osType": "Windows",
377+
"vmTier": "Standard"
378+
}
379+
]
380+
},
381+
"supportedComputeTypes": [
382+
"AmlCompute",
383+
"ComputeInstance"
384+
]
385+
}
386+
]
387+
}
388+
}
389+
}
390+
}

0 commit comments

Comments
 (0)