Skip to content

Commit 58be094

Browse files
utsrkrUttaran Sarkar
andauthored
Add new API version 2023-03-01 for databox (#24857)
* initial commit - previous version * add new version * add new version in readme * fix validation checks * fix readme file --------- Co-authored-by: Uttaran Sarkar <utsarka@microsoft.com>
1 parent 978acdc commit 58be094

33 files changed

Lines changed: 10486 additions & 2 deletions

specification/databox/resource-manager/Microsoft.DataBox/stable/2023-03-01/databox.json

Lines changed: 7083 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 283 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,283 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "YourSubscriptionId",
4+
"resourceGroupName": "YourResourceGroupName",
5+
"location": "westus",
6+
"api-version": "2023-03-01",
7+
"Accept-Language": [
8+
"en-US"
9+
],
10+
"User-Agent": [
11+
"vscode-restclient"
12+
],
13+
"Content-Type": [
14+
"application/json; charset=utf-8"
15+
],
16+
"Content-Length": [
17+
"84"
18+
],
19+
"availableSkuRequest": {
20+
"transferType": "ImportToAzure",
21+
"country": "XX",
22+
"location": "westus"
23+
}
24+
},
25+
"responses": {
26+
"200": {
27+
"body": {
28+
"value": [
29+
{
30+
"sku": {
31+
"name": "DataBox"
32+
},
33+
"enabled": true,
34+
"properties": {
35+
"dataLocationToServiceLocationMap": [
36+
{
37+
"dataLocation": "westus",
38+
"serviceLocation": "westus"
39+
},
40+
{
41+
"dataLocation": "centralus",
42+
"serviceLocation": "westus"
43+
},
44+
{
45+
"dataLocation": "eastus",
46+
"serviceLocation": "westus"
47+
},
48+
{
49+
"dataLocation": "eastus2",
50+
"serviceLocation": "westus"
51+
},
52+
{
53+
"dataLocation": "northcentralus",
54+
"serviceLocation": "westus"
55+
},
56+
{
57+
"dataLocation": "southcentralus",
58+
"serviceLocation": "westus"
59+
},
60+
{
61+
"dataLocation": "westcentralus",
62+
"serviceLocation": "westus"
63+
},
64+
{
65+
"dataLocation": "westus2",
66+
"serviceLocation": "westus"
67+
},
68+
{
69+
"dataLocation": "centraluseuap",
70+
"serviceLocation": "centraluseuap"
71+
},
72+
{
73+
"dataLocation": "eastus2euap",
74+
"serviceLocation": "eastus2euap"
75+
}
76+
],
77+
"capacity": {
78+
"usable": "80",
79+
"maximum": "100"
80+
},
81+
"costs": [
82+
{
83+
"meterId": "0cf23ffc-0b64-49e6-9bdd-1db885349042",
84+
"meterType": "DataBoxServiceFee",
85+
"multiplier": 1
86+
},
87+
{
88+
"meterId": "a701f058-119b-4713-a923-bed7da4b7801",
89+
"meterType": "DataBoxShippingFee",
90+
"multiplier": 1
91+
},
92+
{
93+
"meterId": "049fa331-0a48-4a81-9991-a6bef3c79fed",
94+
"meterType": "DataBoxExtraDayFee",
95+
"multiplier": 1
96+
},
97+
{
98+
"meterId": "c3ea978d-6a0a-4632-b094-4fffcafcb057",
99+
"meterType": "DataBoxLostOrDamagedDeviceFee",
100+
"multiplier": 1
101+
}
102+
],
103+
"apiVersions": [
104+
"2018-01-01"
105+
],
106+
"disabledReason": "None",
107+
"countriesWithinCommerceBoundary": [
108+
"XX"
109+
]
110+
}
111+
},
112+
{
113+
"sku": {
114+
"name": "DataBoxDisk"
115+
},
116+
"enabled": true,
117+
"properties": {
118+
"dataLocationToServiceLocationMap": [
119+
{
120+
"dataLocation": "westus",
121+
"serviceLocation": "westus"
122+
},
123+
{
124+
"dataLocation": "centralus",
125+
"serviceLocation": "westus"
126+
},
127+
{
128+
"dataLocation": "eastus",
129+
"serviceLocation": "westus"
130+
},
131+
{
132+
"dataLocation": "eastus2",
133+
"serviceLocation": "westus"
134+
},
135+
{
136+
"dataLocation": "northcentralus",
137+
"serviceLocation": "westus"
138+
},
139+
{
140+
"dataLocation": "southcentralus",
141+
"serviceLocation": "westus"
142+
},
143+
{
144+
"dataLocation": "westcentralus",
145+
"serviceLocation": "westus"
146+
},
147+
{
148+
"dataLocation": "westus2",
149+
"serviceLocation": "westus"
150+
},
151+
{
152+
"dataLocation": "centraluseuap",
153+
"serviceLocation": "centraluseuap"
154+
},
155+
{
156+
"dataLocation": "eastus2euap",
157+
"serviceLocation": "eastus2euap"
158+
}
159+
],
160+
"capacity": {
161+
"usable": "35",
162+
"maximum": "40"
163+
},
164+
"costs": [
165+
{
166+
"meterId": "d95cd8b5-b6f1-4cd9-ae86-a016d1945d6f",
167+
"meterType": "DataBoxDiskServiceFee",
168+
"multiplier": 1
169+
},
170+
{
171+
"meterId": "4b8cf572-cb04-4ef3-9528-2cda4e9b544e",
172+
"meterType": "DataBoxDiskShippingFee",
173+
"multiplier": 1
174+
},
175+
{
176+
"meterId": "b6ae9bbf-815d-49dd-bb2b-77c497b72ba4",
177+
"meterType": "DataBoxDiskDailyUsageFee",
178+
"multiplier": 1
179+
},
180+
{
181+
"meterId": "08bc0ea1-6c82-421b-b953-2a7a65810d2e",
182+
"meterType": "DataBoxDiskLostDeviceFee",
183+
"multiplier": 1
184+
}
185+
],
186+
"apiVersions": [
187+
"2018-01-01"
188+
],
189+
"disabledReason": "None",
190+
"countriesWithinCommerceBoundary": [
191+
"XX"
192+
]
193+
}
194+
},
195+
{
196+
"sku": {
197+
"name": "DataBoxHeavy"
198+
},
199+
"enabled": true,
200+
"properties": {
201+
"dataLocationToServiceLocationMap": [
202+
{
203+
"dataLocation": "westus",
204+
"serviceLocation": "westus"
205+
},
206+
{
207+
"dataLocation": "centralus",
208+
"serviceLocation": "westus"
209+
},
210+
{
211+
"dataLocation": "eastus",
212+
"serviceLocation": "westus"
213+
},
214+
{
215+
"dataLocation": "eastus2",
216+
"serviceLocation": "westus"
217+
},
218+
{
219+
"dataLocation": "northcentralus",
220+
"serviceLocation": "westus"
221+
},
222+
{
223+
"dataLocation": "southcentralus",
224+
"serviceLocation": "westus"
225+
},
226+
{
227+
"dataLocation": "westcentralus",
228+
"serviceLocation": "westus"
229+
},
230+
{
231+
"dataLocation": "westus2",
232+
"serviceLocation": "westus"
233+
},
234+
{
235+
"dataLocation": "centraluseuap",
236+
"serviceLocation": "centraluseuap"
237+
},
238+
{
239+
"dataLocation": "eastus2euap",
240+
"serviceLocation": "eastus2euap"
241+
}
242+
],
243+
"capacity": {
244+
"usable": "800",
245+
"maximum": "1000"
246+
},
247+
"costs": [
248+
{
249+
"meterId": "d0dccaaf-3de9-4c7a-ba97-f83551b90126",
250+
"meterType": "DataBoxHeavyServiceFee",
251+
"multiplier": 1
252+
},
253+
{
254+
"meterId": "7b49d11f-d4f7-4029-a197-04998fd282f9",
255+
"meterType": "DataBoxHeavyShippingFee",
256+
"multiplier": 1
257+
},
258+
{
259+
"meterId": "c2c66d53-11b4-4f11-9642-43c7c336f0b7",
260+
"meterType": "DataBoxHeavyExtraDayFee",
261+
"multiplier": 1
262+
},
263+
{
264+
"meterId": "188dcd7e-fbd7-4a41-aa42-162b81b0510f",
265+
"meterType": "DataBoxHeavyLostOrDamagedDeviceFee",
266+
"multiplier": 1
267+
}
268+
],
269+
"apiVersions": [
270+
"2018-01-01"
271+
],
272+
"disabledReason": "None",
273+
"requiredFeature": "HeavyCreateAccess",
274+
"countriesWithinCommerceBoundary": [
275+
"XX"
276+
]
277+
}
278+
}
279+
]
280+
}
281+
}
282+
}
283+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "YourSubscriptionId",
4+
"resourceGroupName": "YourResourceGroupName",
5+
"jobName": "TestJobName1",
6+
"api-version": "2023-03-01",
7+
"Accept-Language": [
8+
"en-US"
9+
],
10+
"User-Agent": [
11+
"vscode-restclient"
12+
],
13+
"Content-Type": [
14+
"application/json; charset=utf-8"
15+
],
16+
"Content-Length": [
17+
"118"
18+
],
19+
"shipmentPickUpRequest": {
20+
"startTime": "2019-09-20T18:30:00Z",
21+
"endTime": "2019-09-22T18:30:00Z",
22+
"shipmentLocation": "Front desk"
23+
}
24+
},
25+
"responses": {
26+
"200": {
27+
"body": {
28+
"confirmationNumber": "XXXXXXXXXXX",
29+
"readyByTime": "2019-09-20T18:30:00Z"
30+
}
31+
}
32+
}
33+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "YourSubscriptionId",
4+
"resourceGroupName": "YourResourceGroupName",
5+
"jobName": "TestJobName1",
6+
"api-version": "2023-03-01",
7+
"$expand": "details",
8+
"accept-language": [
9+
"en-US"
10+
],
11+
"User-Agent": [
12+
"vscode-restclient"
13+
],
14+
"Content-Type": [
15+
"application/json; charset=utf-8"
16+
],
17+
"Content-Length": [
18+
"60"
19+
],
20+
"mitigateJobRequest": {
21+
"serialNumberCustomerResolutionMap": {
22+
"testDISK-1": "MoveToCleanUpDevice",
23+
"testDISK-2": "Resume"
24+
}
25+
}
26+
},
27+
"responses": {
28+
"204": {}
29+
}
30+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "YourSubscriptionId",
4+
"resourceGroupName": "YourResourceGroupName",
5+
"jobName": "TestJobName1",
6+
"api-version": "2023-03-01",
7+
"$expand": "details",
8+
"Accept-Language": [
9+
"en-US"
10+
],
11+
"User-Agent": [
12+
"vscode-restclient"
13+
],
14+
"Content-Type": [
15+
"application/json; charset=utf-8"
16+
],
17+
"Content-Length": [
18+
"30"
19+
],
20+
"cancellationReason": {
21+
"reason": "CancelTest"
22+
}
23+
},
24+
"responses": {
25+
"204": {}
26+
}
27+
}

0 commit comments

Comments
 (0)