Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit 51b4124

Browse files
Adding new preview api version for new fields (Azure#27830)
* Adding all files from most recent api version * adding new enum value * Modified examples * Readme file changes * resolving comment and prettier check * removing additional property: nullable * moving the description to be in line with other configs in the file * fixing model validation failure * fixing go sdk violation * actual fix for go sdk generation * Minor description fix --------- Co-authored-by: Govardhana D K (from Dev Box) <[email protected]>
1 parent bd6f467 commit 51b4124

33 files changed

+10717
-1
lines changed

specification/databox/resource-manager/Microsoft.DataBox/preview/2024-03-01-preview/databox.json

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