@azure/arm-databox 3.0.0 → 5.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +72 -73
  4. package/dist/index.js +5592 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/dataBoxManagementClient.d.ts +29 -0
  9. package/dist-esm/src/dataBoxManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/dataBoxManagementClient.js +89 -0
  11. package/dist-esm/src/dataBoxManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +2157 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +168 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +163 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/dist-esm/src/models/mappers.js +3911 -0
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +24 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +176 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/dist-esm/src/operations/index.js +11 -0
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/jobs.d.ts +161 -0
  37. package/dist-esm/src/operations/jobs.d.ts.map +1 -0
  38. package/dist-esm/src/operations/jobs.js +687 -0
  39. package/dist-esm/src/operations/jobs.js.map +1 -0
  40. package/dist-esm/src/operations/operations.d.ts +32 -0
  41. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/operations.js +120 -0
  43. package/dist-esm/src/operations/operations.js.map +1 -0
  44. package/dist-esm/src/operations/service.d.ts +83 -0
  45. package/dist-esm/src/operations/service.d.ts.map +1 -0
  46. package/dist-esm/src/operations/service.js +307 -0
  47. package/dist-esm/src/operations/service.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  49. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  51. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/jobs.d.ts +115 -0
  53. package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/jobs.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/jobs.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  57. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/service.d.ts +54 -0
  61. package/dist-esm/src/operationsInterfaces/service.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/service.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/service.js.map +1 -0
  64. package/dist-esm/test/sampleTest.d.ts +2 -0
  65. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  66. package/dist-esm/test/sampleTest.js +40 -0
  67. package/dist-esm/test/sampleTest.js.map +1 -0
  68. package/package.json +65 -31
  69. package/review/arm-databox.api.md +1376 -0
  70. package/rollup.config.js +181 -30
  71. package/src/dataBoxManagementClient.ts +113 -29
  72. package/src/index.ts +12 -0
  73. package/src/lroImpl.ts +34 -0
  74. package/src/models/index.ts +1924 -1354
  75. package/src/models/mappers.ts +3160 -1086
  76. package/src/models/parameters.ts +144 -54
  77. package/src/operations/index.ts +3 -5
  78. package/src/operations/jobs.ts +702 -480
  79. package/src/operations/operations.ts +89 -75
  80. package/src/operations/service.ts +342 -127
  81. package/src/operationsInterfaces/index.ts +11 -0
  82. package/src/operationsInterfaces/jobs.ts +205 -0
  83. package/src/operationsInterfaces/operations.ts +22 -0
  84. package/src/operationsInterfaces/service.ts +107 -0
  85. package/tsconfig.json +3 -3
  86. package/types/arm-databox.d.ts +2558 -0
  87. package/types/tsdoc-metadata.json +11 -0
  88. package/dist/arm-databox.js +0 -3090
  89. package/dist/arm-databox.js.map +0 -1
  90. package/dist/arm-databox.min.js +0 -1
  91. package/dist/arm-databox.min.js.map +0 -1
  92. package/esm/dataBoxManagementClient.d.ts +0 -20
  93. package/esm/dataBoxManagementClient.d.ts.map +0 -1
  94. package/esm/dataBoxManagementClient.js +0 -35
  95. package/esm/dataBoxManagementClient.js.map +0 -1
  96. package/esm/dataBoxManagementClientContext.d.ts +0 -16
  97. package/esm/dataBoxManagementClientContext.d.ts.map +0 -1
  98. package/esm/dataBoxManagementClientContext.js +0 -57
  99. package/esm/dataBoxManagementClientContext.js.map +0 -1
  100. package/esm/models/index.d.ts +0 -1754
  101. package/esm/models/index.d.ts.map +0 -1
  102. package/esm/models/index.js +0 -8
  103. package/esm/models/index.js.map +0 -1
  104. package/esm/models/jobsMappers.d.ts +0 -2
  105. package/esm/models/jobsMappers.d.ts.map +0 -1
  106. package/esm/models/jobsMappers.js +0 -9
  107. package/esm/models/jobsMappers.js.map +0 -1
  108. package/esm/models/mappers.d.ts +0 -75
  109. package/esm/models/mappers.d.ts.map +0 -1
  110. package/esm/models/mappers.js +0 -2020
  111. package/esm/models/mappers.js.map +0 -1
  112. package/esm/models/operationsMappers.d.ts +0 -2
  113. package/esm/models/operationsMappers.d.ts.map +0 -1
  114. package/esm/models/operationsMappers.js +0 -9
  115. package/esm/models/operationsMappers.js.map +0 -1
  116. package/esm/models/parameters.d.ts +0 -12
  117. package/esm/models/parameters.d.ts.map +0 -1
  118. package/esm/models/parameters.js +0 -122
  119. package/esm/models/parameters.js.map +0 -1
  120. package/esm/models/serviceMappers.d.ts +0 -2
  121. package/esm/models/serviceMappers.d.ts.map +0 -1
  122. package/esm/models/serviceMappers.js +0 -9
  123. package/esm/models/serviceMappers.js.map +0 -1
  124. package/esm/operations/index.d.ts.map +0 -1
  125. package/esm/operations/index.js +0 -13
  126. package/esm/operations/index.js.map +0 -1
  127. package/esm/operations/jobs.d.ts +0 -245
  128. package/esm/operations/jobs.d.ts.map +0 -1
  129. package/esm/operations/jobs.js +0 -444
  130. package/esm/operations/jobs.js.map +0 -1
  131. package/esm/operations/operations.d.ts +0 -46
  132. package/esm/operations/operations.d.ts.map +0 -1
  133. package/esm/operations/operations.js +0 -77
  134. package/esm/operations/operations.js.map +0 -1
  135. package/esm/operations/service.d.ts +0 -79
  136. package/esm/operations/service.d.ts.map +0 -1
  137. package/esm/operations/service.js +0 -126
  138. package/esm/operations/service.js.map +0 -1
  139. package/src/dataBoxManagementClientContext.ts +0 -69
  140. package/src/models/jobsMappers.ts +0 -55
  141. package/src/models/operationsMappers.ts +0 -15
  142. package/src/models/serviceMappers.ts +0 -22
@@ -0,0 +1,3911 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export const OperationList = {
9
+ type: {
10
+ name: "Composite",
11
+ className: "OperationList",
12
+ modelProperties: {
13
+ value: {
14
+ serializedName: "value",
15
+ readOnly: true,
16
+ type: {
17
+ name: "Sequence",
18
+ element: {
19
+ type: {
20
+ name: "Composite",
21
+ className: "Operation"
22
+ }
23
+ }
24
+ }
25
+ },
26
+ nextLink: {
27
+ serializedName: "nextLink",
28
+ type: {
29
+ name: "String"
30
+ }
31
+ }
32
+ }
33
+ }
34
+ };
35
+ export const Operation = {
36
+ type: {
37
+ name: "Composite",
38
+ className: "Operation",
39
+ modelProperties: {
40
+ name: {
41
+ serializedName: "name",
42
+ readOnly: true,
43
+ type: {
44
+ name: "String"
45
+ }
46
+ },
47
+ display: {
48
+ serializedName: "display",
49
+ type: {
50
+ name: "Composite",
51
+ className: "OperationDisplay"
52
+ }
53
+ },
54
+ properties: {
55
+ serializedName: "properties",
56
+ readOnly: true,
57
+ type: {
58
+ name: "Dictionary",
59
+ value: { type: { name: "any" } }
60
+ }
61
+ },
62
+ origin: {
63
+ serializedName: "origin",
64
+ readOnly: true,
65
+ type: {
66
+ name: "String"
67
+ }
68
+ },
69
+ isDataAction: {
70
+ serializedName: "isDataAction",
71
+ type: {
72
+ name: "Boolean"
73
+ }
74
+ }
75
+ }
76
+ }
77
+ };
78
+ export const OperationDisplay = {
79
+ type: {
80
+ name: "Composite",
81
+ className: "OperationDisplay",
82
+ modelProperties: {
83
+ provider: {
84
+ serializedName: "provider",
85
+ type: {
86
+ name: "String"
87
+ }
88
+ },
89
+ resource: {
90
+ serializedName: "resource",
91
+ type: {
92
+ name: "String"
93
+ }
94
+ },
95
+ operation: {
96
+ serializedName: "operation",
97
+ type: {
98
+ name: "String"
99
+ }
100
+ },
101
+ description: {
102
+ serializedName: "description",
103
+ type: {
104
+ name: "String"
105
+ }
106
+ }
107
+ }
108
+ }
109
+ };
110
+ export const ApiError = {
111
+ type: {
112
+ name: "Composite",
113
+ className: "ApiError",
114
+ modelProperties: {
115
+ error: {
116
+ serializedName: "error",
117
+ type: {
118
+ name: "Composite",
119
+ className: "ErrorDetail"
120
+ }
121
+ }
122
+ }
123
+ }
124
+ };
125
+ export const ErrorDetail = {
126
+ type: {
127
+ name: "Composite",
128
+ className: "ErrorDetail",
129
+ modelProperties: {
130
+ code: {
131
+ serializedName: "code",
132
+ required: true,
133
+ type: {
134
+ name: "String"
135
+ }
136
+ },
137
+ message: {
138
+ serializedName: "message",
139
+ required: true,
140
+ type: {
141
+ name: "String"
142
+ }
143
+ },
144
+ details: {
145
+ serializedName: "details",
146
+ type: {
147
+ name: "Sequence",
148
+ element: {
149
+ type: {
150
+ name: "Composite",
151
+ className: "Details"
152
+ }
153
+ }
154
+ }
155
+ },
156
+ target: {
157
+ serializedName: "target",
158
+ type: {
159
+ name: "String"
160
+ }
161
+ }
162
+ }
163
+ }
164
+ };
165
+ export const Details = {
166
+ type: {
167
+ name: "Composite",
168
+ className: "Details",
169
+ modelProperties: {
170
+ code: {
171
+ serializedName: "code",
172
+ required: true,
173
+ type: {
174
+ name: "String"
175
+ }
176
+ },
177
+ message: {
178
+ serializedName: "message",
179
+ required: true,
180
+ type: {
181
+ name: "String"
182
+ }
183
+ }
184
+ }
185
+ }
186
+ };
187
+ export const JobResourceList = {
188
+ type: {
189
+ name: "Composite",
190
+ className: "JobResourceList",
191
+ modelProperties: {
192
+ value: {
193
+ serializedName: "value",
194
+ type: {
195
+ name: "Sequence",
196
+ element: {
197
+ type: {
198
+ name: "Composite",
199
+ className: "JobResource"
200
+ }
201
+ }
202
+ }
203
+ },
204
+ nextLink: {
205
+ serializedName: "nextLink",
206
+ type: {
207
+ name: "String"
208
+ }
209
+ }
210
+ }
211
+ }
212
+ };
213
+ export const CloudError = {
214
+ type: {
215
+ name: "Composite",
216
+ className: "CloudError",
217
+ modelProperties: {
218
+ code: {
219
+ serializedName: "code",
220
+ type: {
221
+ name: "String"
222
+ }
223
+ },
224
+ message: {
225
+ serializedName: "message",
226
+ type: {
227
+ name: "String"
228
+ }
229
+ },
230
+ target: {
231
+ serializedName: "target",
232
+ type: {
233
+ name: "String"
234
+ }
235
+ },
236
+ details: {
237
+ serializedName: "details",
238
+ readOnly: true,
239
+ type: {
240
+ name: "Sequence",
241
+ element: {
242
+ type: {
243
+ name: "Composite",
244
+ className: "CloudError"
245
+ }
246
+ }
247
+ }
248
+ },
249
+ additionalInfo: {
250
+ serializedName: "additionalInfo",
251
+ readOnly: true,
252
+ type: {
253
+ name: "Sequence",
254
+ element: {
255
+ type: {
256
+ name: "Composite",
257
+ className: "AdditionalErrorInfo"
258
+ }
259
+ }
260
+ }
261
+ }
262
+ }
263
+ }
264
+ };
265
+ export const AdditionalErrorInfo = {
266
+ type: {
267
+ name: "Composite",
268
+ className: "AdditionalErrorInfo",
269
+ modelProperties: {
270
+ type: {
271
+ serializedName: "type",
272
+ type: {
273
+ name: "String"
274
+ }
275
+ },
276
+ info: {
277
+ serializedName: "info",
278
+ type: {
279
+ name: "Dictionary",
280
+ value: { type: { name: "any" } }
281
+ }
282
+ }
283
+ }
284
+ }
285
+ };
286
+ export const JobDetails = {
287
+ type: {
288
+ name: "Composite",
289
+ className: "JobDetails",
290
+ uberParent: "JobDetails",
291
+ polymorphicDiscriminator: {
292
+ serializedName: "jobDetailsType",
293
+ clientName: "jobDetailsType"
294
+ },
295
+ modelProperties: {
296
+ jobStages: {
297
+ serializedName: "jobStages",
298
+ readOnly: true,
299
+ type: {
300
+ name: "Sequence",
301
+ element: {
302
+ type: {
303
+ name: "Composite",
304
+ className: "JobStages"
305
+ }
306
+ }
307
+ }
308
+ },
309
+ contactDetails: {
310
+ serializedName: "contactDetails",
311
+ type: {
312
+ name: "Composite",
313
+ className: "ContactDetails"
314
+ }
315
+ },
316
+ shippingAddress: {
317
+ serializedName: "shippingAddress",
318
+ type: {
319
+ name: "Composite",
320
+ className: "ShippingAddress"
321
+ }
322
+ },
323
+ deliveryPackage: {
324
+ serializedName: "deliveryPackage",
325
+ type: {
326
+ name: "Composite",
327
+ className: "PackageShippingDetails"
328
+ }
329
+ },
330
+ returnPackage: {
331
+ serializedName: "returnPackage",
332
+ type: {
333
+ name: "Composite",
334
+ className: "PackageShippingDetails"
335
+ }
336
+ },
337
+ dataImportDetails: {
338
+ serializedName: "dataImportDetails",
339
+ type: {
340
+ name: "Sequence",
341
+ element: {
342
+ type: {
343
+ name: "Composite",
344
+ className: "DataImportDetails"
345
+ }
346
+ }
347
+ }
348
+ },
349
+ dataExportDetails: {
350
+ serializedName: "dataExportDetails",
351
+ type: {
352
+ name: "Sequence",
353
+ element: {
354
+ type: {
355
+ name: "Composite",
356
+ className: "DataExportDetails"
357
+ }
358
+ }
359
+ }
360
+ },
361
+ jobDetailsType: {
362
+ serializedName: "jobDetailsType",
363
+ required: true,
364
+ type: {
365
+ name: "Enum",
366
+ allowedValues: [
367
+ "DataBox",
368
+ "DataBoxDisk",
369
+ "DataBoxHeavy",
370
+ "DataBoxCustomerDisk"
371
+ ]
372
+ }
373
+ },
374
+ preferences: {
375
+ serializedName: "preferences",
376
+ type: {
377
+ name: "Composite",
378
+ className: "Preferences"
379
+ }
380
+ },
381
+ copyLogDetails: {
382
+ serializedName: "copyLogDetails",
383
+ readOnly: true,
384
+ type: {
385
+ name: "Sequence",
386
+ element: {
387
+ type: {
388
+ name: "Composite",
389
+ className: "CopyLogDetails"
390
+ }
391
+ }
392
+ }
393
+ },
394
+ reverseShipmentLabelSasKey: {
395
+ serializedName: "reverseShipmentLabelSasKey",
396
+ readOnly: true,
397
+ type: {
398
+ name: "String"
399
+ }
400
+ },
401
+ chainOfCustodySasKey: {
402
+ serializedName: "chainOfCustodySasKey",
403
+ readOnly: true,
404
+ type: {
405
+ name: "String"
406
+ }
407
+ },
408
+ keyEncryptionKey: {
409
+ serializedName: "keyEncryptionKey",
410
+ type: {
411
+ name: "Composite",
412
+ className: "KeyEncryptionKey"
413
+ }
414
+ },
415
+ expectedDataSizeInTeraBytes: {
416
+ serializedName: "expectedDataSizeInTeraBytes",
417
+ type: {
418
+ name: "Number"
419
+ }
420
+ },
421
+ actions: {
422
+ serializedName: "actions",
423
+ readOnly: true,
424
+ type: {
425
+ name: "Sequence",
426
+ element: {
427
+ type: {
428
+ name: "Enum",
429
+ allowedValues: ["None", "MoveToCleanUpDevice", "Resume"]
430
+ }
431
+ }
432
+ }
433
+ },
434
+ lastMitigationActionOnJob: {
435
+ serializedName: "lastMitigationActionOnJob",
436
+ type: {
437
+ name: "Composite",
438
+ className: "LastMitigationActionOnJob"
439
+ }
440
+ },
441
+ datacenterAddress: {
442
+ serializedName: "datacenterAddress",
443
+ type: {
444
+ name: "Composite",
445
+ className: "DatacenterAddressResponse"
446
+ }
447
+ },
448
+ dataCenterCode: {
449
+ serializedName: "dataCenterCode",
450
+ readOnly: true,
451
+ type: {
452
+ name: "String"
453
+ }
454
+ }
455
+ }
456
+ }
457
+ };
458
+ export const JobStages = {
459
+ type: {
460
+ name: "Composite",
461
+ className: "JobStages",
462
+ modelProperties: {
463
+ stageName: {
464
+ serializedName: "stageName",
465
+ readOnly: true,
466
+ type: {
467
+ name: "String"
468
+ }
469
+ },
470
+ displayName: {
471
+ serializedName: "displayName",
472
+ readOnly: true,
473
+ type: {
474
+ name: "String"
475
+ }
476
+ },
477
+ stageStatus: {
478
+ serializedName: "stageStatus",
479
+ readOnly: true,
480
+ type: {
481
+ name: "Enum",
482
+ allowedValues: [
483
+ "None",
484
+ "InProgress",
485
+ "Succeeded",
486
+ "Failed",
487
+ "Cancelled",
488
+ "Cancelling",
489
+ "SucceededWithErrors",
490
+ "WaitingForCustomerAction",
491
+ "SucceededWithWarnings",
492
+ "WaitingForCustomerActionForKek",
493
+ "WaitingForCustomerActionForCleanUp",
494
+ "CustomerActionPerformedForCleanUp"
495
+ ]
496
+ }
497
+ },
498
+ stageTime: {
499
+ serializedName: "stageTime",
500
+ readOnly: true,
501
+ type: {
502
+ name: "DateTime"
503
+ }
504
+ },
505
+ jobStageDetails: {
506
+ serializedName: "jobStageDetails",
507
+ readOnly: true,
508
+ type: {
509
+ name: "Dictionary",
510
+ value: { type: { name: "any" } }
511
+ }
512
+ }
513
+ }
514
+ }
515
+ };
516
+ export const ContactDetails = {
517
+ type: {
518
+ name: "Composite",
519
+ className: "ContactDetails",
520
+ modelProperties: {
521
+ contactName: {
522
+ serializedName: "contactName",
523
+ required: true,
524
+ type: {
525
+ name: "String"
526
+ }
527
+ },
528
+ phone: {
529
+ serializedName: "phone",
530
+ required: true,
531
+ type: {
532
+ name: "String"
533
+ }
534
+ },
535
+ phoneExtension: {
536
+ serializedName: "phoneExtension",
537
+ type: {
538
+ name: "String"
539
+ }
540
+ },
541
+ mobile: {
542
+ serializedName: "mobile",
543
+ type: {
544
+ name: "String"
545
+ }
546
+ },
547
+ emailList: {
548
+ serializedName: "emailList",
549
+ required: true,
550
+ type: {
551
+ name: "Sequence",
552
+ element: {
553
+ type: {
554
+ name: "String"
555
+ }
556
+ }
557
+ }
558
+ },
559
+ notificationPreference: {
560
+ serializedName: "notificationPreference",
561
+ type: {
562
+ name: "Sequence",
563
+ element: {
564
+ type: {
565
+ name: "Composite",
566
+ className: "NotificationPreference"
567
+ }
568
+ }
569
+ }
570
+ }
571
+ }
572
+ }
573
+ };
574
+ export const NotificationPreference = {
575
+ type: {
576
+ name: "Composite",
577
+ className: "NotificationPreference",
578
+ modelProperties: {
579
+ stageName: {
580
+ serializedName: "stageName",
581
+ required: true,
582
+ type: {
583
+ name: "String"
584
+ }
585
+ },
586
+ sendNotification: {
587
+ defaultValue: true,
588
+ serializedName: "sendNotification",
589
+ required: true,
590
+ type: {
591
+ name: "Boolean"
592
+ }
593
+ }
594
+ }
595
+ }
596
+ };
597
+ export const ShippingAddress = {
598
+ type: {
599
+ name: "Composite",
600
+ className: "ShippingAddress",
601
+ modelProperties: {
602
+ streetAddress1: {
603
+ serializedName: "streetAddress1",
604
+ required: true,
605
+ type: {
606
+ name: "String"
607
+ }
608
+ },
609
+ streetAddress2: {
610
+ serializedName: "streetAddress2",
611
+ type: {
612
+ name: "String"
613
+ }
614
+ },
615
+ streetAddress3: {
616
+ serializedName: "streetAddress3",
617
+ type: {
618
+ name: "String"
619
+ }
620
+ },
621
+ city: {
622
+ serializedName: "city",
623
+ type: {
624
+ name: "String"
625
+ }
626
+ },
627
+ stateOrProvince: {
628
+ serializedName: "stateOrProvince",
629
+ type: {
630
+ name: "String"
631
+ }
632
+ },
633
+ country: {
634
+ serializedName: "country",
635
+ required: true,
636
+ type: {
637
+ name: "String"
638
+ }
639
+ },
640
+ postalCode: {
641
+ serializedName: "postalCode",
642
+ type: {
643
+ name: "String"
644
+ }
645
+ },
646
+ zipExtendedCode: {
647
+ serializedName: "zipExtendedCode",
648
+ type: {
649
+ name: "String"
650
+ }
651
+ },
652
+ companyName: {
653
+ serializedName: "companyName",
654
+ type: {
655
+ name: "String"
656
+ }
657
+ },
658
+ addressType: {
659
+ defaultValue: "None",
660
+ serializedName: "addressType",
661
+ type: {
662
+ name: "Enum",
663
+ allowedValues: ["None", "Residential", "Commercial"]
664
+ }
665
+ }
666
+ }
667
+ }
668
+ };
669
+ export const PackageShippingDetails = {
670
+ type: {
671
+ name: "Composite",
672
+ className: "PackageShippingDetails",
673
+ modelProperties: {
674
+ trackingUrl: {
675
+ serializedName: "trackingUrl",
676
+ readOnly: true,
677
+ type: {
678
+ name: "String"
679
+ }
680
+ },
681
+ carrierName: {
682
+ serializedName: "carrierName",
683
+ readOnly: true,
684
+ type: {
685
+ name: "String"
686
+ }
687
+ },
688
+ trackingId: {
689
+ serializedName: "trackingId",
690
+ readOnly: true,
691
+ type: {
692
+ name: "String"
693
+ }
694
+ }
695
+ }
696
+ }
697
+ };
698
+ export const DataImportDetails = {
699
+ type: {
700
+ name: "Composite",
701
+ className: "DataImportDetails",
702
+ modelProperties: {
703
+ accountDetails: {
704
+ serializedName: "accountDetails",
705
+ type: {
706
+ name: "Composite",
707
+ className: "DataAccountDetails"
708
+ }
709
+ },
710
+ logCollectionLevel: {
711
+ serializedName: "logCollectionLevel",
712
+ type: {
713
+ name: "Enum",
714
+ allowedValues: ["Error", "Verbose"]
715
+ }
716
+ }
717
+ }
718
+ }
719
+ };
720
+ export const DataAccountDetails = {
721
+ type: {
722
+ name: "Composite",
723
+ className: "DataAccountDetails",
724
+ uberParent: "DataAccountDetails",
725
+ polymorphicDiscriminator: {
726
+ serializedName: "dataAccountType",
727
+ clientName: "dataAccountType"
728
+ },
729
+ modelProperties: {
730
+ dataAccountType: {
731
+ serializedName: "dataAccountType",
732
+ required: true,
733
+ type: {
734
+ name: "Enum",
735
+ allowedValues: ["StorageAccount", "ManagedDisk"]
736
+ }
737
+ },
738
+ sharePassword: {
739
+ serializedName: "sharePassword",
740
+ type: {
741
+ name: "String"
742
+ }
743
+ }
744
+ }
745
+ }
746
+ };
747
+ export const DataExportDetails = {
748
+ type: {
749
+ name: "Composite",
750
+ className: "DataExportDetails",
751
+ modelProperties: {
752
+ transferConfiguration: {
753
+ serializedName: "transferConfiguration",
754
+ type: {
755
+ name: "Composite",
756
+ className: "TransferConfiguration"
757
+ }
758
+ },
759
+ logCollectionLevel: {
760
+ serializedName: "logCollectionLevel",
761
+ type: {
762
+ name: "Enum",
763
+ allowedValues: ["Error", "Verbose"]
764
+ }
765
+ },
766
+ accountDetails: {
767
+ serializedName: "accountDetails",
768
+ type: {
769
+ name: "Composite",
770
+ className: "DataAccountDetails"
771
+ }
772
+ }
773
+ }
774
+ }
775
+ };
776
+ export const TransferConfiguration = {
777
+ type: {
778
+ name: "Composite",
779
+ className: "TransferConfiguration",
780
+ modelProperties: {
781
+ transferConfigurationType: {
782
+ serializedName: "transferConfigurationType",
783
+ required: true,
784
+ type: {
785
+ name: "Enum",
786
+ allowedValues: ["TransferAll", "TransferUsingFilter"]
787
+ }
788
+ },
789
+ transferFilterDetails: {
790
+ serializedName: "transferFilterDetails",
791
+ type: {
792
+ name: "Composite",
793
+ className: "TransferConfigurationTransferFilterDetails"
794
+ }
795
+ },
796
+ transferAllDetails: {
797
+ serializedName: "transferAllDetails",
798
+ type: {
799
+ name: "Composite",
800
+ className: "TransferConfigurationTransferAllDetails"
801
+ }
802
+ }
803
+ }
804
+ }
805
+ };
806
+ export const TransferConfigurationTransferFilterDetails = {
807
+ type: {
808
+ name: "Composite",
809
+ className: "TransferConfigurationTransferFilterDetails",
810
+ modelProperties: {
811
+ include: {
812
+ serializedName: "include",
813
+ type: {
814
+ name: "Composite",
815
+ className: "TransferFilterDetails"
816
+ }
817
+ }
818
+ }
819
+ }
820
+ };
821
+ export const TransferFilterDetails = {
822
+ type: {
823
+ name: "Composite",
824
+ className: "TransferFilterDetails",
825
+ modelProperties: {
826
+ dataAccountType: {
827
+ serializedName: "dataAccountType",
828
+ required: true,
829
+ type: {
830
+ name: "Enum",
831
+ allowedValues: ["StorageAccount", "ManagedDisk"]
832
+ }
833
+ },
834
+ blobFilterDetails: {
835
+ serializedName: "blobFilterDetails",
836
+ type: {
837
+ name: "Composite",
838
+ className: "BlobFilterDetails"
839
+ }
840
+ },
841
+ azureFileFilterDetails: {
842
+ serializedName: "azureFileFilterDetails",
843
+ type: {
844
+ name: "Composite",
845
+ className: "AzureFileFilterDetails"
846
+ }
847
+ },
848
+ filterFileDetails: {
849
+ serializedName: "filterFileDetails",
850
+ type: {
851
+ name: "Sequence",
852
+ element: {
853
+ type: {
854
+ name: "Composite",
855
+ className: "FilterFileDetails"
856
+ }
857
+ }
858
+ }
859
+ }
860
+ }
861
+ }
862
+ };
863
+ export const BlobFilterDetails = {
864
+ type: {
865
+ name: "Composite",
866
+ className: "BlobFilterDetails",
867
+ modelProperties: {
868
+ blobPrefixList: {
869
+ serializedName: "blobPrefixList",
870
+ type: {
871
+ name: "Sequence",
872
+ element: {
873
+ type: {
874
+ name: "String"
875
+ }
876
+ }
877
+ }
878
+ },
879
+ blobPathList: {
880
+ serializedName: "blobPathList",
881
+ type: {
882
+ name: "Sequence",
883
+ element: {
884
+ type: {
885
+ name: "String"
886
+ }
887
+ }
888
+ }
889
+ },
890
+ containerList: {
891
+ serializedName: "containerList",
892
+ type: {
893
+ name: "Sequence",
894
+ element: {
895
+ type: {
896
+ name: "String"
897
+ }
898
+ }
899
+ }
900
+ }
901
+ }
902
+ }
903
+ };
904
+ export const AzureFileFilterDetails = {
905
+ type: {
906
+ name: "Composite",
907
+ className: "AzureFileFilterDetails",
908
+ modelProperties: {
909
+ filePrefixList: {
910
+ serializedName: "filePrefixList",
911
+ type: {
912
+ name: "Sequence",
913
+ element: {
914
+ type: {
915
+ name: "String"
916
+ }
917
+ }
918
+ }
919
+ },
920
+ filePathList: {
921
+ serializedName: "filePathList",
922
+ type: {
923
+ name: "Sequence",
924
+ element: {
925
+ type: {
926
+ name: "String"
927
+ }
928
+ }
929
+ }
930
+ },
931
+ fileShareList: {
932
+ serializedName: "fileShareList",
933
+ type: {
934
+ name: "Sequence",
935
+ element: {
936
+ type: {
937
+ name: "String"
938
+ }
939
+ }
940
+ }
941
+ }
942
+ }
943
+ }
944
+ };
945
+ export const FilterFileDetails = {
946
+ type: {
947
+ name: "Composite",
948
+ className: "FilterFileDetails",
949
+ modelProperties: {
950
+ filterFileType: {
951
+ serializedName: "filterFileType",
952
+ required: true,
953
+ type: {
954
+ name: "Enum",
955
+ allowedValues: ["AzureBlob", "AzureFile"]
956
+ }
957
+ },
958
+ filterFilePath: {
959
+ serializedName: "filterFilePath",
960
+ required: true,
961
+ type: {
962
+ name: "String"
963
+ }
964
+ }
965
+ }
966
+ }
967
+ };
968
+ export const TransferConfigurationTransferAllDetails = {
969
+ type: {
970
+ name: "Composite",
971
+ className: "TransferConfigurationTransferAllDetails",
972
+ modelProperties: {
973
+ include: {
974
+ serializedName: "include",
975
+ type: {
976
+ name: "Composite",
977
+ className: "TransferAllDetails"
978
+ }
979
+ }
980
+ }
981
+ }
982
+ };
983
+ export const TransferAllDetails = {
984
+ type: {
985
+ name: "Composite",
986
+ className: "TransferAllDetails",
987
+ modelProperties: {
988
+ dataAccountType: {
989
+ serializedName: "dataAccountType",
990
+ required: true,
991
+ type: {
992
+ name: "Enum",
993
+ allowedValues: ["StorageAccount", "ManagedDisk"]
994
+ }
995
+ },
996
+ transferAllBlobs: {
997
+ serializedName: "transferAllBlobs",
998
+ type: {
999
+ name: "Boolean"
1000
+ }
1001
+ },
1002
+ transferAllFiles: {
1003
+ serializedName: "transferAllFiles",
1004
+ type: {
1005
+ name: "Boolean"
1006
+ }
1007
+ }
1008
+ }
1009
+ }
1010
+ };
1011
+ export const Preferences = {
1012
+ type: {
1013
+ name: "Composite",
1014
+ className: "Preferences",
1015
+ modelProperties: {
1016
+ preferredDataCenterRegion: {
1017
+ serializedName: "preferredDataCenterRegion",
1018
+ type: {
1019
+ name: "Sequence",
1020
+ element: {
1021
+ type: {
1022
+ name: "String"
1023
+ }
1024
+ }
1025
+ }
1026
+ },
1027
+ transportPreferences: {
1028
+ serializedName: "transportPreferences",
1029
+ type: {
1030
+ name: "Composite",
1031
+ className: "TransportPreferences"
1032
+ }
1033
+ },
1034
+ encryptionPreferences: {
1035
+ serializedName: "encryptionPreferences",
1036
+ type: {
1037
+ name: "Composite",
1038
+ className: "EncryptionPreferences"
1039
+ }
1040
+ }
1041
+ }
1042
+ }
1043
+ };
1044
+ export const TransportPreferences = {
1045
+ type: {
1046
+ name: "Composite",
1047
+ className: "TransportPreferences",
1048
+ modelProperties: {
1049
+ preferredShipmentType: {
1050
+ serializedName: "preferredShipmentType",
1051
+ required: true,
1052
+ type: {
1053
+ name: "Enum",
1054
+ allowedValues: ["CustomerManaged", "MicrosoftManaged"]
1055
+ }
1056
+ }
1057
+ }
1058
+ }
1059
+ };
1060
+ export const EncryptionPreferences = {
1061
+ type: {
1062
+ name: "Composite",
1063
+ className: "EncryptionPreferences",
1064
+ modelProperties: {
1065
+ doubleEncryption: {
1066
+ defaultValue: "Disabled",
1067
+ serializedName: "doubleEncryption",
1068
+ type: {
1069
+ name: "Enum",
1070
+ allowedValues: ["Enabled", "Disabled"]
1071
+ }
1072
+ }
1073
+ }
1074
+ }
1075
+ };
1076
+ export const CopyLogDetails = {
1077
+ type: {
1078
+ name: "Composite",
1079
+ className: "CopyLogDetails",
1080
+ uberParent: "CopyLogDetails",
1081
+ polymorphicDiscriminator: {
1082
+ serializedName: "copyLogDetailsType",
1083
+ clientName: "copyLogDetailsType"
1084
+ },
1085
+ modelProperties: {
1086
+ copyLogDetailsType: {
1087
+ serializedName: "copyLogDetailsType",
1088
+ required: true,
1089
+ type: {
1090
+ name: "Enum",
1091
+ allowedValues: [
1092
+ "DataBox",
1093
+ "DataBoxDisk",
1094
+ "DataBoxHeavy",
1095
+ "DataBoxCustomerDisk"
1096
+ ]
1097
+ }
1098
+ }
1099
+ }
1100
+ }
1101
+ };
1102
+ export const KeyEncryptionKey = {
1103
+ type: {
1104
+ name: "Composite",
1105
+ className: "KeyEncryptionKey",
1106
+ modelProperties: {
1107
+ kekType: {
1108
+ defaultValue: "MicrosoftManaged",
1109
+ serializedName: "kekType",
1110
+ required: true,
1111
+ type: {
1112
+ name: "Enum",
1113
+ allowedValues: ["MicrosoftManaged", "CustomerManaged"]
1114
+ }
1115
+ },
1116
+ identityProperties: {
1117
+ serializedName: "identityProperties",
1118
+ type: {
1119
+ name: "Composite",
1120
+ className: "IdentityProperties"
1121
+ }
1122
+ },
1123
+ kekUrl: {
1124
+ serializedName: "kekUrl",
1125
+ type: {
1126
+ name: "String"
1127
+ }
1128
+ },
1129
+ kekVaultResourceID: {
1130
+ serializedName: "kekVaultResourceID",
1131
+ type: {
1132
+ name: "String"
1133
+ }
1134
+ }
1135
+ }
1136
+ }
1137
+ };
1138
+ export const IdentityProperties = {
1139
+ type: {
1140
+ name: "Composite",
1141
+ className: "IdentityProperties",
1142
+ modelProperties: {
1143
+ type: {
1144
+ serializedName: "type",
1145
+ type: {
1146
+ name: "String"
1147
+ }
1148
+ },
1149
+ userAssigned: {
1150
+ serializedName: "userAssigned",
1151
+ type: {
1152
+ name: "Composite",
1153
+ className: "UserAssignedProperties"
1154
+ }
1155
+ }
1156
+ }
1157
+ }
1158
+ };
1159
+ export const UserAssignedProperties = {
1160
+ type: {
1161
+ name: "Composite",
1162
+ className: "UserAssignedProperties",
1163
+ modelProperties: {
1164
+ resourceId: {
1165
+ serializedName: "resourceId",
1166
+ type: {
1167
+ name: "String"
1168
+ }
1169
+ }
1170
+ }
1171
+ }
1172
+ };
1173
+ export const LastMitigationActionOnJob = {
1174
+ type: {
1175
+ name: "Composite",
1176
+ className: "LastMitigationActionOnJob",
1177
+ modelProperties: {
1178
+ actionDateTimeInUtc: {
1179
+ serializedName: "actionDateTimeInUtc",
1180
+ type: {
1181
+ name: "DateTime"
1182
+ }
1183
+ },
1184
+ isPerformedByCustomer: {
1185
+ serializedName: "isPerformedByCustomer",
1186
+ type: {
1187
+ name: "Boolean"
1188
+ }
1189
+ },
1190
+ customerResolution: {
1191
+ serializedName: "customerResolution",
1192
+ type: {
1193
+ name: "Enum",
1194
+ allowedValues: ["None", "MoveToCleanUpDevice", "Resume"]
1195
+ }
1196
+ }
1197
+ }
1198
+ }
1199
+ };
1200
+ export const DatacenterAddressResponse = {
1201
+ type: {
1202
+ name: "Composite",
1203
+ className: "DatacenterAddressResponse",
1204
+ uberParent: "DatacenterAddressResponse",
1205
+ polymorphicDiscriminator: {
1206
+ serializedName: "datacenterAddressType",
1207
+ clientName: "datacenterAddressType"
1208
+ },
1209
+ modelProperties: {
1210
+ datacenterAddressType: {
1211
+ serializedName: "datacenterAddressType",
1212
+ required: true,
1213
+ type: {
1214
+ name: "Enum",
1215
+ allowedValues: [
1216
+ "DatacenterAddressLocation",
1217
+ "DatacenterAddressInstruction"
1218
+ ]
1219
+ }
1220
+ },
1221
+ supportedCarriersForReturnShipment: {
1222
+ serializedName: "supportedCarriersForReturnShipment",
1223
+ readOnly: true,
1224
+ type: {
1225
+ name: "Sequence",
1226
+ element: {
1227
+ type: {
1228
+ name: "String"
1229
+ }
1230
+ }
1231
+ }
1232
+ },
1233
+ dataCenterAzureLocation: {
1234
+ serializedName: "dataCenterAzureLocation",
1235
+ readOnly: true,
1236
+ type: {
1237
+ name: "String"
1238
+ }
1239
+ }
1240
+ }
1241
+ }
1242
+ };
1243
+ export const JobDeliveryInfo = {
1244
+ type: {
1245
+ name: "Composite",
1246
+ className: "JobDeliveryInfo",
1247
+ modelProperties: {
1248
+ scheduledDateTime: {
1249
+ serializedName: "scheduledDateTime",
1250
+ type: {
1251
+ name: "DateTime"
1252
+ }
1253
+ }
1254
+ }
1255
+ }
1256
+ };
1257
+ export const SystemData = {
1258
+ type: {
1259
+ name: "Composite",
1260
+ className: "SystemData",
1261
+ modelProperties: {
1262
+ createdBy: {
1263
+ serializedName: "createdBy",
1264
+ readOnly: true,
1265
+ type: {
1266
+ name: "String"
1267
+ }
1268
+ },
1269
+ createdByType: {
1270
+ serializedName: "createdByType",
1271
+ readOnly: true,
1272
+ type: {
1273
+ name: "String"
1274
+ }
1275
+ },
1276
+ createdAt: {
1277
+ serializedName: "createdAt",
1278
+ readOnly: true,
1279
+ type: {
1280
+ name: "DateTime"
1281
+ }
1282
+ },
1283
+ lastModifiedBy: {
1284
+ serializedName: "lastModifiedBy",
1285
+ readOnly: true,
1286
+ type: {
1287
+ name: "String"
1288
+ }
1289
+ },
1290
+ lastModifiedByType: {
1291
+ serializedName: "lastModifiedByType",
1292
+ readOnly: true,
1293
+ type: {
1294
+ name: "String"
1295
+ }
1296
+ },
1297
+ lastModifiedAt: {
1298
+ serializedName: "lastModifiedAt",
1299
+ readOnly: true,
1300
+ type: {
1301
+ name: "DateTime"
1302
+ }
1303
+ }
1304
+ }
1305
+ }
1306
+ };
1307
+ export const Resource = {
1308
+ type: {
1309
+ name: "Composite",
1310
+ className: "Resource",
1311
+ modelProperties: {
1312
+ location: {
1313
+ serializedName: "location",
1314
+ required: true,
1315
+ type: {
1316
+ name: "String"
1317
+ }
1318
+ },
1319
+ tags: {
1320
+ serializedName: "tags",
1321
+ type: {
1322
+ name: "Dictionary",
1323
+ value: { type: { name: "String" } }
1324
+ }
1325
+ },
1326
+ sku: {
1327
+ serializedName: "sku",
1328
+ type: {
1329
+ name: "Composite",
1330
+ className: "Sku"
1331
+ }
1332
+ },
1333
+ identity: {
1334
+ serializedName: "identity",
1335
+ type: {
1336
+ name: "Composite",
1337
+ className: "ResourceIdentity"
1338
+ }
1339
+ }
1340
+ }
1341
+ }
1342
+ };
1343
+ export const Sku = {
1344
+ type: {
1345
+ name: "Composite",
1346
+ className: "Sku",
1347
+ modelProperties: {
1348
+ name: {
1349
+ serializedName: "name",
1350
+ required: true,
1351
+ type: {
1352
+ name: "Enum",
1353
+ allowedValues: [
1354
+ "DataBox",
1355
+ "DataBoxDisk",
1356
+ "DataBoxHeavy",
1357
+ "DataBoxCustomerDisk"
1358
+ ]
1359
+ }
1360
+ },
1361
+ displayName: {
1362
+ serializedName: "displayName",
1363
+ type: {
1364
+ name: "String"
1365
+ }
1366
+ },
1367
+ family: {
1368
+ serializedName: "family",
1369
+ type: {
1370
+ name: "String"
1371
+ }
1372
+ }
1373
+ }
1374
+ }
1375
+ };
1376
+ export const ResourceIdentity = {
1377
+ type: {
1378
+ name: "Composite",
1379
+ className: "ResourceIdentity",
1380
+ modelProperties: {
1381
+ type: {
1382
+ defaultValue: "None",
1383
+ serializedName: "type",
1384
+ type: {
1385
+ name: "String"
1386
+ }
1387
+ },
1388
+ principalId: {
1389
+ serializedName: "principalId",
1390
+ readOnly: true,
1391
+ type: {
1392
+ name: "String"
1393
+ }
1394
+ },
1395
+ tenantId: {
1396
+ serializedName: "tenantId",
1397
+ readOnly: true,
1398
+ type: {
1399
+ name: "String"
1400
+ }
1401
+ },
1402
+ userAssignedIdentities: {
1403
+ serializedName: "userAssignedIdentities",
1404
+ type: {
1405
+ name: "Dictionary",
1406
+ value: {
1407
+ type: { name: "Composite", className: "UserAssignedIdentity" }
1408
+ }
1409
+ }
1410
+ }
1411
+ }
1412
+ }
1413
+ };
1414
+ export const UserAssignedIdentity = {
1415
+ type: {
1416
+ name: "Composite",
1417
+ className: "UserAssignedIdentity",
1418
+ modelProperties: {
1419
+ principalId: {
1420
+ serializedName: "principalId",
1421
+ readOnly: true,
1422
+ type: {
1423
+ name: "String"
1424
+ }
1425
+ },
1426
+ clientId: {
1427
+ serializedName: "clientId",
1428
+ readOnly: true,
1429
+ type: {
1430
+ name: "String"
1431
+ }
1432
+ }
1433
+ }
1434
+ }
1435
+ };
1436
+ export const MitigateJobRequest = {
1437
+ type: {
1438
+ name: "Composite",
1439
+ className: "MitigateJobRequest",
1440
+ modelProperties: {
1441
+ customerResolutionCode: {
1442
+ serializedName: "customerResolutionCode",
1443
+ required: true,
1444
+ type: {
1445
+ name: "Enum",
1446
+ allowedValues: ["None", "MoveToCleanUpDevice", "Resume"]
1447
+ }
1448
+ }
1449
+ }
1450
+ }
1451
+ };
1452
+ export const MarkDevicesShippedRequest = {
1453
+ type: {
1454
+ name: "Composite",
1455
+ className: "MarkDevicesShippedRequest",
1456
+ modelProperties: {
1457
+ deliverToDcPackageDetails: {
1458
+ serializedName: "deliverToDcPackageDetails",
1459
+ type: {
1460
+ name: "Composite",
1461
+ className: "PackageCarrierInfo"
1462
+ }
1463
+ }
1464
+ }
1465
+ }
1466
+ };
1467
+ export const PackageCarrierInfo = {
1468
+ type: {
1469
+ name: "Composite",
1470
+ className: "PackageCarrierInfo",
1471
+ modelProperties: {
1472
+ carrierName: {
1473
+ serializedName: "carrierName",
1474
+ type: {
1475
+ name: "String"
1476
+ }
1477
+ },
1478
+ trackingId: {
1479
+ serializedName: "trackingId",
1480
+ type: {
1481
+ name: "String"
1482
+ }
1483
+ }
1484
+ }
1485
+ }
1486
+ };
1487
+ export const AvailableSkuRequest = {
1488
+ type: {
1489
+ name: "Composite",
1490
+ className: "AvailableSkuRequest",
1491
+ modelProperties: {
1492
+ transferType: {
1493
+ serializedName: "transferType",
1494
+ required: true,
1495
+ type: {
1496
+ name: "Enum",
1497
+ allowedValues: ["ImportToAzure", "ExportFromAzure"]
1498
+ }
1499
+ },
1500
+ country: {
1501
+ serializedName: "country",
1502
+ required: true,
1503
+ type: {
1504
+ name: "String"
1505
+ }
1506
+ },
1507
+ location: {
1508
+ serializedName: "location",
1509
+ required: true,
1510
+ type: {
1511
+ name: "String"
1512
+ }
1513
+ },
1514
+ skuNames: {
1515
+ serializedName: "skuNames",
1516
+ type: {
1517
+ name: "Sequence",
1518
+ element: {
1519
+ type: {
1520
+ name: "Enum",
1521
+ allowedValues: [
1522
+ "DataBox",
1523
+ "DataBoxDisk",
1524
+ "DataBoxHeavy",
1525
+ "DataBoxCustomerDisk"
1526
+ ]
1527
+ }
1528
+ }
1529
+ }
1530
+ }
1531
+ }
1532
+ }
1533
+ };
1534
+ export const AvailableSkusResult = {
1535
+ type: {
1536
+ name: "Composite",
1537
+ className: "AvailableSkusResult",
1538
+ modelProperties: {
1539
+ value: {
1540
+ serializedName: "value",
1541
+ readOnly: true,
1542
+ type: {
1543
+ name: "Sequence",
1544
+ element: {
1545
+ type: {
1546
+ name: "Composite",
1547
+ className: "SkuInformation"
1548
+ }
1549
+ }
1550
+ }
1551
+ },
1552
+ nextLink: {
1553
+ serializedName: "nextLink",
1554
+ type: {
1555
+ name: "String"
1556
+ }
1557
+ }
1558
+ }
1559
+ }
1560
+ };
1561
+ export const SkuInformation = {
1562
+ type: {
1563
+ name: "Composite",
1564
+ className: "SkuInformation",
1565
+ modelProperties: {
1566
+ sku: {
1567
+ serializedName: "sku",
1568
+ type: {
1569
+ name: "Composite",
1570
+ className: "Sku"
1571
+ }
1572
+ },
1573
+ enabled: {
1574
+ serializedName: "enabled",
1575
+ readOnly: true,
1576
+ type: {
1577
+ name: "Boolean"
1578
+ }
1579
+ },
1580
+ dataLocationToServiceLocationMap: {
1581
+ serializedName: "properties.dataLocationToServiceLocationMap",
1582
+ readOnly: true,
1583
+ type: {
1584
+ name: "Sequence",
1585
+ element: {
1586
+ type: {
1587
+ name: "Composite",
1588
+ className: "DataLocationToServiceLocationMap"
1589
+ }
1590
+ }
1591
+ }
1592
+ },
1593
+ capacity: {
1594
+ serializedName: "properties.capacity",
1595
+ type: {
1596
+ name: "Composite",
1597
+ className: "SkuCapacity"
1598
+ }
1599
+ },
1600
+ costs: {
1601
+ serializedName: "properties.costs",
1602
+ readOnly: true,
1603
+ type: {
1604
+ name: "Sequence",
1605
+ element: {
1606
+ type: {
1607
+ name: "Composite",
1608
+ className: "SkuCost"
1609
+ }
1610
+ }
1611
+ }
1612
+ },
1613
+ apiVersions: {
1614
+ serializedName: "properties.apiVersions",
1615
+ readOnly: true,
1616
+ type: {
1617
+ name: "Sequence",
1618
+ element: {
1619
+ type: {
1620
+ name: "String"
1621
+ }
1622
+ }
1623
+ }
1624
+ },
1625
+ disabledReason: {
1626
+ serializedName: "properties.disabledReason",
1627
+ readOnly: true,
1628
+ type: {
1629
+ name: "Enum",
1630
+ allowedValues: [
1631
+ "None",
1632
+ "Country",
1633
+ "Region",
1634
+ "Feature",
1635
+ "OfferType",
1636
+ "NoSubscriptionInfo"
1637
+ ]
1638
+ }
1639
+ },
1640
+ disabledReasonMessage: {
1641
+ serializedName: "properties.disabledReasonMessage",
1642
+ readOnly: true,
1643
+ type: {
1644
+ name: "String"
1645
+ }
1646
+ },
1647
+ requiredFeature: {
1648
+ serializedName: "properties.requiredFeature",
1649
+ readOnly: true,
1650
+ type: {
1651
+ name: "String"
1652
+ }
1653
+ }
1654
+ }
1655
+ }
1656
+ };
1657
+ export const DataLocationToServiceLocationMap = {
1658
+ type: {
1659
+ name: "Composite",
1660
+ className: "DataLocationToServiceLocationMap",
1661
+ modelProperties: {
1662
+ dataLocation: {
1663
+ serializedName: "dataLocation",
1664
+ readOnly: true,
1665
+ type: {
1666
+ name: "String"
1667
+ }
1668
+ },
1669
+ serviceLocation: {
1670
+ serializedName: "serviceLocation",
1671
+ readOnly: true,
1672
+ type: {
1673
+ name: "String"
1674
+ }
1675
+ }
1676
+ }
1677
+ }
1678
+ };
1679
+ export const SkuCapacity = {
1680
+ type: {
1681
+ name: "Composite",
1682
+ className: "SkuCapacity",
1683
+ modelProperties: {
1684
+ usable: {
1685
+ serializedName: "usable",
1686
+ readOnly: true,
1687
+ type: {
1688
+ name: "String"
1689
+ }
1690
+ },
1691
+ maximum: {
1692
+ serializedName: "maximum",
1693
+ readOnly: true,
1694
+ type: {
1695
+ name: "String"
1696
+ }
1697
+ }
1698
+ }
1699
+ }
1700
+ };
1701
+ export const SkuCost = {
1702
+ type: {
1703
+ name: "Composite",
1704
+ className: "SkuCost",
1705
+ modelProperties: {
1706
+ meterId: {
1707
+ serializedName: "meterId",
1708
+ readOnly: true,
1709
+ type: {
1710
+ name: "String"
1711
+ }
1712
+ },
1713
+ meterType: {
1714
+ serializedName: "meterType",
1715
+ readOnly: true,
1716
+ type: {
1717
+ name: "String"
1718
+ }
1719
+ },
1720
+ multiplier: {
1721
+ serializedName: "multiplier",
1722
+ readOnly: true,
1723
+ type: {
1724
+ name: "Number"
1725
+ }
1726
+ }
1727
+ }
1728
+ }
1729
+ };
1730
+ export const ValidationInputRequest = {
1731
+ type: {
1732
+ name: "Composite",
1733
+ className: "ValidationInputRequest",
1734
+ uberParent: "ValidationInputRequest",
1735
+ polymorphicDiscriminator: {
1736
+ serializedName: "validationType",
1737
+ clientName: "validationType"
1738
+ },
1739
+ modelProperties: {
1740
+ validationType: {
1741
+ serializedName: "validationType",
1742
+ required: true,
1743
+ type: {
1744
+ name: "Enum",
1745
+ allowedValues: [
1746
+ "ValidateAddress",
1747
+ "ValidateSubscriptionIsAllowedToCreateJob",
1748
+ "ValidatePreferences",
1749
+ "ValidateCreateOrderLimit",
1750
+ "ValidateSkuAvailability",
1751
+ "ValidateDataTransferDetails"
1752
+ ]
1753
+ }
1754
+ }
1755
+ }
1756
+ }
1757
+ };
1758
+ export const AddressValidationOutput = {
1759
+ type: {
1760
+ name: "Composite",
1761
+ className: "AddressValidationOutput",
1762
+ modelProperties: {
1763
+ validationType: {
1764
+ serializedName: "properties.validationType",
1765
+ type: {
1766
+ name: "Enum",
1767
+ allowedValues: [
1768
+ "ValidateAddress",
1769
+ "ValidateSubscriptionIsAllowedToCreateJob",
1770
+ "ValidatePreferences",
1771
+ "ValidateCreateOrderLimit",
1772
+ "ValidateSkuAvailability",
1773
+ "ValidateDataTransferDetails"
1774
+ ]
1775
+ }
1776
+ },
1777
+ error: {
1778
+ serializedName: "properties.error",
1779
+ type: {
1780
+ name: "Composite",
1781
+ className: "CloudError"
1782
+ }
1783
+ },
1784
+ validationStatus: {
1785
+ serializedName: "properties.validationStatus",
1786
+ readOnly: true,
1787
+ type: {
1788
+ name: "Enum",
1789
+ allowedValues: ["Valid", "Invalid", "Ambiguous"]
1790
+ }
1791
+ },
1792
+ alternateAddresses: {
1793
+ serializedName: "properties.alternateAddresses",
1794
+ readOnly: true,
1795
+ type: {
1796
+ name: "Sequence",
1797
+ element: {
1798
+ type: {
1799
+ name: "Composite",
1800
+ className: "ShippingAddress"
1801
+ }
1802
+ }
1803
+ }
1804
+ }
1805
+ }
1806
+ }
1807
+ };
1808
+ export const ValidationInputResponse = {
1809
+ type: {
1810
+ name: "Composite",
1811
+ className: "ValidationInputResponse",
1812
+ uberParent: "ValidationInputResponse",
1813
+ polymorphicDiscriminator: {
1814
+ serializedName: "validationType",
1815
+ clientName: "validationType"
1816
+ },
1817
+ modelProperties: {
1818
+ validationType: {
1819
+ serializedName: "validationType",
1820
+ required: true,
1821
+ type: {
1822
+ name: "Enum",
1823
+ allowedValues: [
1824
+ "ValidateAddress",
1825
+ "ValidateSubscriptionIsAllowedToCreateJob",
1826
+ "ValidatePreferences",
1827
+ "ValidateCreateOrderLimit",
1828
+ "ValidateSkuAvailability",
1829
+ "ValidateDataTransferDetails"
1830
+ ]
1831
+ }
1832
+ },
1833
+ error: {
1834
+ serializedName: "error",
1835
+ type: {
1836
+ name: "Composite",
1837
+ className: "CloudError"
1838
+ }
1839
+ }
1840
+ }
1841
+ }
1842
+ };
1843
+ export const ValidationRequest = {
1844
+ type: {
1845
+ name: "Composite",
1846
+ className: "ValidationRequest",
1847
+ uberParent: "ValidationRequest",
1848
+ polymorphicDiscriminator: {
1849
+ serializedName: "validationCategory",
1850
+ clientName: "validationCategory"
1851
+ },
1852
+ modelProperties: {
1853
+ validationCategory: {
1854
+ defaultValue: "JobCreationValidation",
1855
+ isConstant: true,
1856
+ serializedName: "validationCategory",
1857
+ type: {
1858
+ name: "String"
1859
+ }
1860
+ },
1861
+ individualRequestDetails: {
1862
+ serializedName: "individualRequestDetails",
1863
+ required: true,
1864
+ type: {
1865
+ name: "Sequence",
1866
+ element: {
1867
+ type: {
1868
+ name: "Composite",
1869
+ className: "ValidationInputRequest"
1870
+ }
1871
+ }
1872
+ }
1873
+ }
1874
+ }
1875
+ }
1876
+ };
1877
+ export const ValidationResponse = {
1878
+ type: {
1879
+ name: "Composite",
1880
+ className: "ValidationResponse",
1881
+ modelProperties: {
1882
+ status: {
1883
+ serializedName: "properties.status",
1884
+ readOnly: true,
1885
+ type: {
1886
+ name: "Enum",
1887
+ allowedValues: [
1888
+ "AllValidToProceed",
1889
+ "InputsRevisitRequired",
1890
+ "CertainInputValidationsSkipped"
1891
+ ]
1892
+ }
1893
+ },
1894
+ individualResponseDetails: {
1895
+ serializedName: "properties.individualResponseDetails",
1896
+ readOnly: true,
1897
+ type: {
1898
+ name: "Sequence",
1899
+ element: {
1900
+ type: {
1901
+ name: "Composite",
1902
+ className: "ValidationInputResponse"
1903
+ }
1904
+ }
1905
+ }
1906
+ }
1907
+ }
1908
+ }
1909
+ };
1910
+ export const JobResourceUpdateParameter = {
1911
+ type: {
1912
+ name: "Composite",
1913
+ className: "JobResourceUpdateParameter",
1914
+ modelProperties: {
1915
+ tags: {
1916
+ serializedName: "tags",
1917
+ type: {
1918
+ name: "Dictionary",
1919
+ value: { type: { name: "String" } }
1920
+ }
1921
+ },
1922
+ identity: {
1923
+ serializedName: "identity",
1924
+ type: {
1925
+ name: "Composite",
1926
+ className: "ResourceIdentity"
1927
+ }
1928
+ },
1929
+ details: {
1930
+ serializedName: "properties.details",
1931
+ type: {
1932
+ name: "Composite",
1933
+ className: "UpdateJobDetails"
1934
+ }
1935
+ }
1936
+ }
1937
+ }
1938
+ };
1939
+ export const UpdateJobDetails = {
1940
+ type: {
1941
+ name: "Composite",
1942
+ className: "UpdateJobDetails",
1943
+ modelProperties: {
1944
+ contactDetails: {
1945
+ serializedName: "contactDetails",
1946
+ type: {
1947
+ name: "Composite",
1948
+ className: "ContactDetails"
1949
+ }
1950
+ },
1951
+ shippingAddress: {
1952
+ serializedName: "shippingAddress",
1953
+ type: {
1954
+ name: "Composite",
1955
+ className: "ShippingAddress"
1956
+ }
1957
+ },
1958
+ keyEncryptionKey: {
1959
+ serializedName: "keyEncryptionKey",
1960
+ type: {
1961
+ name: "Composite",
1962
+ className: "KeyEncryptionKey"
1963
+ }
1964
+ },
1965
+ returnToCustomerPackageDetails: {
1966
+ serializedName: "returnToCustomerPackageDetails",
1967
+ type: {
1968
+ name: "Composite",
1969
+ className: "PackageCarrierDetails"
1970
+ }
1971
+ }
1972
+ }
1973
+ }
1974
+ };
1975
+ export const PackageCarrierDetails = {
1976
+ type: {
1977
+ name: "Composite",
1978
+ className: "PackageCarrierDetails",
1979
+ modelProperties: {
1980
+ carrierAccountNumber: {
1981
+ serializedName: "carrierAccountNumber",
1982
+ type: {
1983
+ name: "String"
1984
+ }
1985
+ },
1986
+ carrierName: {
1987
+ serializedName: "carrierName",
1988
+ type: {
1989
+ name: "String"
1990
+ }
1991
+ },
1992
+ trackingId: {
1993
+ serializedName: "trackingId",
1994
+ type: {
1995
+ name: "String"
1996
+ }
1997
+ }
1998
+ }
1999
+ }
2000
+ };
2001
+ export const ShipmentPickUpRequest = {
2002
+ type: {
2003
+ name: "Composite",
2004
+ className: "ShipmentPickUpRequest",
2005
+ modelProperties: {
2006
+ startTime: {
2007
+ serializedName: "startTime",
2008
+ required: true,
2009
+ type: {
2010
+ name: "DateTime"
2011
+ }
2012
+ },
2013
+ endTime: {
2014
+ serializedName: "endTime",
2015
+ required: true,
2016
+ type: {
2017
+ name: "DateTime"
2018
+ }
2019
+ },
2020
+ shipmentLocation: {
2021
+ serializedName: "shipmentLocation",
2022
+ required: true,
2023
+ type: {
2024
+ name: "String"
2025
+ }
2026
+ }
2027
+ }
2028
+ }
2029
+ };
2030
+ export const ShipmentPickUpResponse = {
2031
+ type: {
2032
+ name: "Composite",
2033
+ className: "ShipmentPickUpResponse",
2034
+ modelProperties: {
2035
+ confirmationNumber: {
2036
+ serializedName: "confirmationNumber",
2037
+ readOnly: true,
2038
+ type: {
2039
+ name: "String"
2040
+ }
2041
+ },
2042
+ readyByTime: {
2043
+ serializedName: "readyByTime",
2044
+ readOnly: true,
2045
+ type: {
2046
+ name: "DateTime"
2047
+ }
2048
+ }
2049
+ }
2050
+ }
2051
+ };
2052
+ export const CancellationReason = {
2053
+ type: {
2054
+ name: "Composite",
2055
+ className: "CancellationReason",
2056
+ modelProperties: {
2057
+ reason: {
2058
+ serializedName: "reason",
2059
+ required: true,
2060
+ type: {
2061
+ name: "String"
2062
+ }
2063
+ }
2064
+ }
2065
+ }
2066
+ };
2067
+ export const UnencryptedCredentialsList = {
2068
+ type: {
2069
+ name: "Composite",
2070
+ className: "UnencryptedCredentialsList",
2071
+ modelProperties: {
2072
+ value: {
2073
+ serializedName: "value",
2074
+ type: {
2075
+ name: "Sequence",
2076
+ element: {
2077
+ type: {
2078
+ name: "Composite",
2079
+ className: "UnencryptedCredentials"
2080
+ }
2081
+ }
2082
+ }
2083
+ },
2084
+ nextLink: {
2085
+ serializedName: "nextLink",
2086
+ type: {
2087
+ name: "String"
2088
+ }
2089
+ }
2090
+ }
2091
+ }
2092
+ };
2093
+ export const UnencryptedCredentials = {
2094
+ type: {
2095
+ name: "Composite",
2096
+ className: "UnencryptedCredentials",
2097
+ modelProperties: {
2098
+ jobName: {
2099
+ serializedName: "jobName",
2100
+ readOnly: true,
2101
+ type: {
2102
+ name: "String"
2103
+ }
2104
+ },
2105
+ jobSecrets: {
2106
+ serializedName: "jobSecrets",
2107
+ type: {
2108
+ name: "Composite",
2109
+ className: "JobSecrets"
2110
+ }
2111
+ }
2112
+ }
2113
+ }
2114
+ };
2115
+ export const JobSecrets = {
2116
+ type: {
2117
+ name: "Composite",
2118
+ className: "JobSecrets",
2119
+ uberParent: "JobSecrets",
2120
+ polymorphicDiscriminator: {
2121
+ serializedName: "jobSecretsType",
2122
+ clientName: "jobSecretsType"
2123
+ },
2124
+ modelProperties: {
2125
+ jobSecretsType: {
2126
+ serializedName: "jobSecretsType",
2127
+ required: true,
2128
+ type: {
2129
+ name: "Enum",
2130
+ allowedValues: [
2131
+ "DataBox",
2132
+ "DataBoxDisk",
2133
+ "DataBoxHeavy",
2134
+ "DataBoxCustomerDisk"
2135
+ ]
2136
+ }
2137
+ },
2138
+ dcAccessSecurityCode: {
2139
+ serializedName: "dcAccessSecurityCode",
2140
+ type: {
2141
+ name: "Composite",
2142
+ className: "DcAccessSecurityCode"
2143
+ }
2144
+ },
2145
+ error: {
2146
+ serializedName: "error",
2147
+ type: {
2148
+ name: "Composite",
2149
+ className: "CloudError"
2150
+ }
2151
+ }
2152
+ }
2153
+ }
2154
+ };
2155
+ export const DcAccessSecurityCode = {
2156
+ type: {
2157
+ name: "Composite",
2158
+ className: "DcAccessSecurityCode",
2159
+ modelProperties: {
2160
+ reverseDCAccessCode: {
2161
+ serializedName: "reverseDCAccessCode",
2162
+ type: {
2163
+ name: "String"
2164
+ }
2165
+ },
2166
+ forwardDCAccessCode: {
2167
+ serializedName: "forwardDCAccessCode",
2168
+ type: {
2169
+ name: "String"
2170
+ }
2171
+ }
2172
+ }
2173
+ }
2174
+ };
2175
+ export const RegionConfigurationRequest = {
2176
+ type: {
2177
+ name: "Composite",
2178
+ className: "RegionConfigurationRequest",
2179
+ modelProperties: {
2180
+ scheduleAvailabilityRequest: {
2181
+ serializedName: "scheduleAvailabilityRequest",
2182
+ type: {
2183
+ name: "Composite",
2184
+ className: "ScheduleAvailabilityRequest"
2185
+ }
2186
+ },
2187
+ transportAvailabilityRequest: {
2188
+ serializedName: "transportAvailabilityRequest",
2189
+ type: {
2190
+ name: "Composite",
2191
+ className: "TransportAvailabilityRequest"
2192
+ }
2193
+ },
2194
+ datacenterAddressRequest: {
2195
+ serializedName: "datacenterAddressRequest",
2196
+ type: {
2197
+ name: "Composite",
2198
+ className: "DatacenterAddressRequest"
2199
+ }
2200
+ }
2201
+ }
2202
+ }
2203
+ };
2204
+ export const ScheduleAvailabilityRequest = {
2205
+ type: {
2206
+ name: "Composite",
2207
+ className: "ScheduleAvailabilityRequest",
2208
+ uberParent: "ScheduleAvailabilityRequest",
2209
+ polymorphicDiscriminator: {
2210
+ serializedName: "skuName",
2211
+ clientName: "skuName"
2212
+ },
2213
+ modelProperties: {
2214
+ storageLocation: {
2215
+ serializedName: "storageLocation",
2216
+ required: true,
2217
+ type: {
2218
+ name: "String"
2219
+ }
2220
+ },
2221
+ skuName: {
2222
+ serializedName: "skuName",
2223
+ required: true,
2224
+ type: {
2225
+ name: "Enum",
2226
+ allowedValues: [
2227
+ "DataBox",
2228
+ "DataBoxDisk",
2229
+ "DataBoxHeavy",
2230
+ "DataBoxCustomerDisk"
2231
+ ]
2232
+ }
2233
+ },
2234
+ country: {
2235
+ serializedName: "country",
2236
+ type: {
2237
+ name: "String"
2238
+ }
2239
+ }
2240
+ }
2241
+ }
2242
+ };
2243
+ export const TransportAvailabilityRequest = {
2244
+ type: {
2245
+ name: "Composite",
2246
+ className: "TransportAvailabilityRequest",
2247
+ modelProperties: {
2248
+ skuName: {
2249
+ serializedName: "skuName",
2250
+ type: {
2251
+ name: "Enum",
2252
+ allowedValues: [
2253
+ "DataBox",
2254
+ "DataBoxDisk",
2255
+ "DataBoxHeavy",
2256
+ "DataBoxCustomerDisk"
2257
+ ]
2258
+ }
2259
+ }
2260
+ }
2261
+ }
2262
+ };
2263
+ export const DatacenterAddressRequest = {
2264
+ type: {
2265
+ name: "Composite",
2266
+ className: "DatacenterAddressRequest",
2267
+ modelProperties: {
2268
+ storageLocation: {
2269
+ serializedName: "storageLocation",
2270
+ required: true,
2271
+ type: {
2272
+ name: "String"
2273
+ }
2274
+ },
2275
+ skuName: {
2276
+ serializedName: "skuName",
2277
+ required: true,
2278
+ type: {
2279
+ name: "Enum",
2280
+ allowedValues: [
2281
+ "DataBox",
2282
+ "DataBoxDisk",
2283
+ "DataBoxHeavy",
2284
+ "DataBoxCustomerDisk"
2285
+ ]
2286
+ }
2287
+ }
2288
+ }
2289
+ }
2290
+ };
2291
+ export const RegionConfigurationResponse = {
2292
+ type: {
2293
+ name: "Composite",
2294
+ className: "RegionConfigurationResponse",
2295
+ modelProperties: {
2296
+ scheduleAvailabilityResponse: {
2297
+ serializedName: "scheduleAvailabilityResponse",
2298
+ type: {
2299
+ name: "Composite",
2300
+ className: "ScheduleAvailabilityResponse"
2301
+ }
2302
+ },
2303
+ transportAvailabilityResponse: {
2304
+ serializedName: "transportAvailabilityResponse",
2305
+ type: {
2306
+ name: "Composite",
2307
+ className: "TransportAvailabilityResponse"
2308
+ }
2309
+ },
2310
+ datacenterAddressResponse: {
2311
+ serializedName: "datacenterAddressResponse",
2312
+ type: {
2313
+ name: "Composite",
2314
+ className: "DatacenterAddressResponse"
2315
+ }
2316
+ }
2317
+ }
2318
+ }
2319
+ };
2320
+ export const ScheduleAvailabilityResponse = {
2321
+ type: {
2322
+ name: "Composite",
2323
+ className: "ScheduleAvailabilityResponse",
2324
+ modelProperties: {
2325
+ availableDates: {
2326
+ serializedName: "availableDates",
2327
+ readOnly: true,
2328
+ type: {
2329
+ name: "Sequence",
2330
+ element: {
2331
+ type: {
2332
+ name: "DateTime"
2333
+ }
2334
+ }
2335
+ }
2336
+ }
2337
+ }
2338
+ }
2339
+ };
2340
+ export const TransportAvailabilityResponse = {
2341
+ type: {
2342
+ name: "Composite",
2343
+ className: "TransportAvailabilityResponse",
2344
+ modelProperties: {
2345
+ transportAvailabilityDetails: {
2346
+ serializedName: "transportAvailabilityDetails",
2347
+ readOnly: true,
2348
+ type: {
2349
+ name: "Sequence",
2350
+ element: {
2351
+ type: {
2352
+ name: "Composite",
2353
+ className: "TransportAvailabilityDetails"
2354
+ }
2355
+ }
2356
+ }
2357
+ }
2358
+ }
2359
+ }
2360
+ };
2361
+ export const TransportAvailabilityDetails = {
2362
+ type: {
2363
+ name: "Composite",
2364
+ className: "TransportAvailabilityDetails",
2365
+ modelProperties: {
2366
+ shipmentType: {
2367
+ serializedName: "shipmentType",
2368
+ readOnly: true,
2369
+ type: {
2370
+ name: "Enum",
2371
+ allowedValues: ["CustomerManaged", "MicrosoftManaged"]
2372
+ }
2373
+ }
2374
+ }
2375
+ }
2376
+ };
2377
+ export const AccountCredentialDetails = {
2378
+ type: {
2379
+ name: "Composite",
2380
+ className: "AccountCredentialDetails",
2381
+ modelProperties: {
2382
+ accountName: {
2383
+ serializedName: "accountName",
2384
+ readOnly: true,
2385
+ type: {
2386
+ name: "String"
2387
+ }
2388
+ },
2389
+ dataAccountType: {
2390
+ serializedName: "dataAccountType",
2391
+ readOnly: true,
2392
+ type: {
2393
+ name: "Enum",
2394
+ allowedValues: ["StorageAccount", "ManagedDisk"]
2395
+ }
2396
+ },
2397
+ accountConnectionString: {
2398
+ serializedName: "accountConnectionString",
2399
+ readOnly: true,
2400
+ type: {
2401
+ name: "String"
2402
+ }
2403
+ },
2404
+ shareCredentialDetails: {
2405
+ serializedName: "shareCredentialDetails",
2406
+ readOnly: true,
2407
+ type: {
2408
+ name: "Sequence",
2409
+ element: {
2410
+ type: {
2411
+ name: "Composite",
2412
+ className: "ShareCredentialDetails"
2413
+ }
2414
+ }
2415
+ }
2416
+ }
2417
+ }
2418
+ }
2419
+ };
2420
+ export const ShareCredentialDetails = {
2421
+ type: {
2422
+ name: "Composite",
2423
+ className: "ShareCredentialDetails",
2424
+ modelProperties: {
2425
+ shareName: {
2426
+ serializedName: "shareName",
2427
+ readOnly: true,
2428
+ type: {
2429
+ name: "String"
2430
+ }
2431
+ },
2432
+ shareType: {
2433
+ serializedName: "shareType",
2434
+ readOnly: true,
2435
+ type: {
2436
+ name: "Enum",
2437
+ allowedValues: [
2438
+ "UnknownType",
2439
+ "HCS",
2440
+ "BlockBlob",
2441
+ "PageBlob",
2442
+ "AzureFile",
2443
+ "ManagedDisk"
2444
+ ]
2445
+ }
2446
+ },
2447
+ userName: {
2448
+ serializedName: "userName",
2449
+ readOnly: true,
2450
+ type: {
2451
+ name: "String"
2452
+ }
2453
+ },
2454
+ password: {
2455
+ serializedName: "password",
2456
+ readOnly: true,
2457
+ type: {
2458
+ name: "String"
2459
+ }
2460
+ },
2461
+ supportedAccessProtocols: {
2462
+ serializedName: "supportedAccessProtocols",
2463
+ readOnly: true,
2464
+ type: {
2465
+ name: "Sequence",
2466
+ element: {
2467
+ type: {
2468
+ name: "Enum",
2469
+ allowedValues: ["SMB", "NFS"]
2470
+ }
2471
+ }
2472
+ }
2473
+ }
2474
+ }
2475
+ }
2476
+ };
2477
+ export const ApplianceNetworkConfiguration = {
2478
+ type: {
2479
+ name: "Composite",
2480
+ className: "ApplianceNetworkConfiguration",
2481
+ modelProperties: {
2482
+ name: {
2483
+ serializedName: "name",
2484
+ readOnly: true,
2485
+ type: {
2486
+ name: "String"
2487
+ }
2488
+ },
2489
+ macAddress: {
2490
+ serializedName: "macAddress",
2491
+ readOnly: true,
2492
+ type: {
2493
+ name: "String"
2494
+ }
2495
+ }
2496
+ }
2497
+ }
2498
+ };
2499
+ export const ArmBaseObject = {
2500
+ type: {
2501
+ name: "Composite",
2502
+ className: "ArmBaseObject",
2503
+ modelProperties: {
2504
+ name: {
2505
+ serializedName: "name",
2506
+ readOnly: true,
2507
+ type: {
2508
+ name: "String"
2509
+ }
2510
+ },
2511
+ id: {
2512
+ serializedName: "id",
2513
+ readOnly: true,
2514
+ type: {
2515
+ name: "String"
2516
+ }
2517
+ },
2518
+ type: {
2519
+ serializedName: "type",
2520
+ readOnly: true,
2521
+ type: {
2522
+ name: "String"
2523
+ }
2524
+ }
2525
+ }
2526
+ }
2527
+ };
2528
+ export const CopyProgress = {
2529
+ type: {
2530
+ name: "Composite",
2531
+ className: "CopyProgress",
2532
+ modelProperties: {
2533
+ storageAccountName: {
2534
+ serializedName: "storageAccountName",
2535
+ readOnly: true,
2536
+ type: {
2537
+ name: "String"
2538
+ }
2539
+ },
2540
+ transferType: {
2541
+ serializedName: "transferType",
2542
+ readOnly: true,
2543
+ type: {
2544
+ name: "Enum",
2545
+ allowedValues: ["ImportToAzure", "ExportFromAzure"]
2546
+ }
2547
+ },
2548
+ dataAccountType: {
2549
+ serializedName: "dataAccountType",
2550
+ readOnly: true,
2551
+ type: {
2552
+ name: "Enum",
2553
+ allowedValues: ["StorageAccount", "ManagedDisk"]
2554
+ }
2555
+ },
2556
+ accountId: {
2557
+ serializedName: "accountId",
2558
+ readOnly: true,
2559
+ type: {
2560
+ name: "String"
2561
+ }
2562
+ },
2563
+ bytesProcessed: {
2564
+ serializedName: "bytesProcessed",
2565
+ readOnly: true,
2566
+ type: {
2567
+ name: "Number"
2568
+ }
2569
+ },
2570
+ totalBytesToProcess: {
2571
+ serializedName: "totalBytesToProcess",
2572
+ readOnly: true,
2573
+ type: {
2574
+ name: "Number"
2575
+ }
2576
+ },
2577
+ filesProcessed: {
2578
+ serializedName: "filesProcessed",
2579
+ readOnly: true,
2580
+ type: {
2581
+ name: "Number"
2582
+ }
2583
+ },
2584
+ totalFilesToProcess: {
2585
+ serializedName: "totalFilesToProcess",
2586
+ readOnly: true,
2587
+ type: {
2588
+ name: "Number"
2589
+ }
2590
+ },
2591
+ invalidFilesProcessed: {
2592
+ serializedName: "invalidFilesProcessed",
2593
+ readOnly: true,
2594
+ type: {
2595
+ name: "Number"
2596
+ }
2597
+ },
2598
+ invalidFileBytesUploaded: {
2599
+ serializedName: "invalidFileBytesUploaded",
2600
+ readOnly: true,
2601
+ type: {
2602
+ name: "Number"
2603
+ }
2604
+ },
2605
+ renamedContainerCount: {
2606
+ serializedName: "renamedContainerCount",
2607
+ readOnly: true,
2608
+ type: {
2609
+ name: "Number"
2610
+ }
2611
+ },
2612
+ filesErroredOut: {
2613
+ serializedName: "filesErroredOut",
2614
+ readOnly: true,
2615
+ type: {
2616
+ name: "Number"
2617
+ }
2618
+ },
2619
+ directoriesErroredOut: {
2620
+ serializedName: "directoriesErroredOut",
2621
+ readOnly: true,
2622
+ type: {
2623
+ name: "Number"
2624
+ }
2625
+ },
2626
+ invalidDirectoriesProcessed: {
2627
+ serializedName: "invalidDirectoriesProcessed",
2628
+ readOnly: true,
2629
+ type: {
2630
+ name: "Number"
2631
+ }
2632
+ },
2633
+ isEnumerationInProgress: {
2634
+ serializedName: "isEnumerationInProgress",
2635
+ readOnly: true,
2636
+ type: {
2637
+ name: "Boolean"
2638
+ }
2639
+ }
2640
+ }
2641
+ }
2642
+ };
2643
+ export const ImportDiskDetails = {
2644
+ type: {
2645
+ name: "Composite",
2646
+ className: "ImportDiskDetails",
2647
+ modelProperties: {
2648
+ manifestFile: {
2649
+ serializedName: "manifestFile",
2650
+ required: true,
2651
+ type: {
2652
+ name: "String"
2653
+ }
2654
+ },
2655
+ manifestHash: {
2656
+ serializedName: "manifestHash",
2657
+ required: true,
2658
+ type: {
2659
+ name: "String"
2660
+ }
2661
+ },
2662
+ bitLockerKey: {
2663
+ serializedName: "bitLockerKey",
2664
+ required: true,
2665
+ type: {
2666
+ name: "String"
2667
+ }
2668
+ },
2669
+ backupManifestCloudPath: {
2670
+ serializedName: "backupManifestCloudPath",
2671
+ readOnly: true,
2672
+ type: {
2673
+ name: "String"
2674
+ }
2675
+ }
2676
+ }
2677
+ }
2678
+ };
2679
+ export const ExportDiskDetails = {
2680
+ type: {
2681
+ name: "Composite",
2682
+ className: "ExportDiskDetails",
2683
+ modelProperties: {
2684
+ manifestFile: {
2685
+ serializedName: "manifestFile",
2686
+ readOnly: true,
2687
+ type: {
2688
+ name: "String"
2689
+ }
2690
+ },
2691
+ manifestHash: {
2692
+ serializedName: "manifestHash",
2693
+ readOnly: true,
2694
+ type: {
2695
+ name: "String"
2696
+ }
2697
+ },
2698
+ backupManifestCloudPath: {
2699
+ serializedName: "backupManifestCloudPath",
2700
+ readOnly: true,
2701
+ type: {
2702
+ name: "String"
2703
+ }
2704
+ }
2705
+ }
2706
+ }
2707
+ };
2708
+ export const DiskSecret = {
2709
+ type: {
2710
+ name: "Composite",
2711
+ className: "DiskSecret",
2712
+ modelProperties: {
2713
+ diskSerialNumber: {
2714
+ serializedName: "diskSerialNumber",
2715
+ readOnly: true,
2716
+ type: {
2717
+ name: "String"
2718
+ }
2719
+ },
2720
+ bitLockerKey: {
2721
+ serializedName: "bitLockerKey",
2722
+ readOnly: true,
2723
+ type: {
2724
+ name: "String"
2725
+ }
2726
+ }
2727
+ }
2728
+ }
2729
+ };
2730
+ export const DataBoxDiskCopyProgress = {
2731
+ type: {
2732
+ name: "Composite",
2733
+ className: "DataBoxDiskCopyProgress",
2734
+ modelProperties: {
2735
+ serialNumber: {
2736
+ serializedName: "serialNumber",
2737
+ readOnly: true,
2738
+ type: {
2739
+ name: "String"
2740
+ }
2741
+ },
2742
+ bytesCopied: {
2743
+ serializedName: "bytesCopied",
2744
+ readOnly: true,
2745
+ type: {
2746
+ name: "Number"
2747
+ }
2748
+ },
2749
+ percentComplete: {
2750
+ serializedName: "percentComplete",
2751
+ readOnly: true,
2752
+ type: {
2753
+ name: "Number"
2754
+ }
2755
+ },
2756
+ status: {
2757
+ serializedName: "status",
2758
+ readOnly: true,
2759
+ type: {
2760
+ name: "String"
2761
+ }
2762
+ }
2763
+ }
2764
+ }
2765
+ };
2766
+ export const DataBoxHeavySecret = {
2767
+ type: {
2768
+ name: "Composite",
2769
+ className: "DataBoxHeavySecret",
2770
+ modelProperties: {
2771
+ deviceSerialNumber: {
2772
+ serializedName: "deviceSerialNumber",
2773
+ readOnly: true,
2774
+ type: {
2775
+ name: "String"
2776
+ }
2777
+ },
2778
+ devicePassword: {
2779
+ serializedName: "devicePassword",
2780
+ readOnly: true,
2781
+ type: {
2782
+ name: "String"
2783
+ }
2784
+ },
2785
+ networkConfigurations: {
2786
+ serializedName: "networkConfigurations",
2787
+ readOnly: true,
2788
+ type: {
2789
+ name: "Sequence",
2790
+ element: {
2791
+ type: {
2792
+ name: "Composite",
2793
+ className: "ApplianceNetworkConfiguration"
2794
+ }
2795
+ }
2796
+ }
2797
+ },
2798
+ encodedValidationCertPubKey: {
2799
+ serializedName: "encodedValidationCertPubKey",
2800
+ readOnly: true,
2801
+ type: {
2802
+ name: "String"
2803
+ }
2804
+ },
2805
+ accountCredentialDetails: {
2806
+ serializedName: "accountCredentialDetails",
2807
+ readOnly: true,
2808
+ type: {
2809
+ name: "Sequence",
2810
+ element: {
2811
+ type: {
2812
+ name: "Composite",
2813
+ className: "AccountCredentialDetails"
2814
+ }
2815
+ }
2816
+ }
2817
+ }
2818
+ }
2819
+ }
2820
+ };
2821
+ export const DataBoxSecret = {
2822
+ type: {
2823
+ name: "Composite",
2824
+ className: "DataBoxSecret",
2825
+ modelProperties: {
2826
+ deviceSerialNumber: {
2827
+ serializedName: "deviceSerialNumber",
2828
+ readOnly: true,
2829
+ type: {
2830
+ name: "String"
2831
+ }
2832
+ },
2833
+ devicePassword: {
2834
+ serializedName: "devicePassword",
2835
+ readOnly: true,
2836
+ type: {
2837
+ name: "String"
2838
+ }
2839
+ },
2840
+ networkConfigurations: {
2841
+ serializedName: "networkConfigurations",
2842
+ readOnly: true,
2843
+ type: {
2844
+ name: "Sequence",
2845
+ element: {
2846
+ type: {
2847
+ name: "Composite",
2848
+ className: "ApplianceNetworkConfiguration"
2849
+ }
2850
+ }
2851
+ }
2852
+ },
2853
+ encodedValidationCertPubKey: {
2854
+ serializedName: "encodedValidationCertPubKey",
2855
+ readOnly: true,
2856
+ type: {
2857
+ name: "String"
2858
+ }
2859
+ },
2860
+ accountCredentialDetails: {
2861
+ serializedName: "accountCredentialDetails",
2862
+ readOnly: true,
2863
+ type: {
2864
+ name: "Sequence",
2865
+ element: {
2866
+ type: {
2867
+ name: "Composite",
2868
+ className: "AccountCredentialDetails"
2869
+ }
2870
+ }
2871
+ }
2872
+ }
2873
+ }
2874
+ }
2875
+ };
2876
+ export const DataBoxCustomerDiskJobDetails = {
2877
+ serializedName: "DataBoxCustomerDisk",
2878
+ type: {
2879
+ name: "Composite",
2880
+ className: "DataBoxCustomerDiskJobDetails",
2881
+ uberParent: "JobDetails",
2882
+ polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,
2883
+ modelProperties: Object.assign(Object.assign({}, JobDetails.type.modelProperties), { importDiskDetailsCollection: {
2884
+ serializedName: "importDiskDetailsCollection",
2885
+ type: {
2886
+ name: "Dictionary",
2887
+ value: { type: { name: "Composite", className: "ImportDiskDetails" } }
2888
+ }
2889
+ }, exportDiskDetailsCollection: {
2890
+ serializedName: "exportDiskDetailsCollection",
2891
+ readOnly: true,
2892
+ type: {
2893
+ name: "Dictionary",
2894
+ value: { type: { name: "Composite", className: "ExportDiskDetails" } }
2895
+ }
2896
+ }, copyProgress: {
2897
+ serializedName: "copyProgress",
2898
+ readOnly: true,
2899
+ type: {
2900
+ name: "Sequence",
2901
+ element: {
2902
+ type: {
2903
+ name: "Composite",
2904
+ className: "DataBoxCustomerDiskCopyProgress"
2905
+ }
2906
+ }
2907
+ }
2908
+ }, deliverToDcPackageDetails: {
2909
+ serializedName: "deliverToDcPackageDetails",
2910
+ type: {
2911
+ name: "Composite",
2912
+ className: "PackageCarrierInfo"
2913
+ }
2914
+ }, returnToCustomerPackageDetails: {
2915
+ serializedName: "returnToCustomerPackageDetails",
2916
+ type: {
2917
+ name: "Composite",
2918
+ className: "PackageCarrierDetails"
2919
+ }
2920
+ }, enableManifestBackup: {
2921
+ defaultValue: false,
2922
+ serializedName: "enableManifestBackup",
2923
+ type: {
2924
+ name: "Boolean"
2925
+ }
2926
+ } })
2927
+ }
2928
+ };
2929
+ export const DataBoxDiskJobDetails = {
2930
+ serializedName: "DataBoxDisk",
2931
+ type: {
2932
+ name: "Composite",
2933
+ className: "DataBoxDiskJobDetails",
2934
+ uberParent: "JobDetails",
2935
+ polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,
2936
+ modelProperties: Object.assign(Object.assign({}, JobDetails.type.modelProperties), { preferredDisks: {
2937
+ serializedName: "preferredDisks",
2938
+ type: {
2939
+ name: "Dictionary",
2940
+ value: { type: { name: "Number" } }
2941
+ }
2942
+ }, copyProgress: {
2943
+ serializedName: "copyProgress",
2944
+ readOnly: true,
2945
+ type: {
2946
+ name: "Sequence",
2947
+ element: {
2948
+ type: {
2949
+ name: "Composite",
2950
+ className: "DataBoxDiskCopyProgress"
2951
+ }
2952
+ }
2953
+ }
2954
+ }, disksAndSizeDetails: {
2955
+ serializedName: "disksAndSizeDetails",
2956
+ readOnly: true,
2957
+ type: {
2958
+ name: "Dictionary",
2959
+ value: { type: { name: "Number" } }
2960
+ }
2961
+ }, passkey: {
2962
+ serializedName: "passkey",
2963
+ type: {
2964
+ name: "String"
2965
+ }
2966
+ } })
2967
+ }
2968
+ };
2969
+ export const DataBoxHeavyJobDetails = {
2970
+ serializedName: "DataBoxHeavy",
2971
+ type: {
2972
+ name: "Composite",
2973
+ className: "DataBoxHeavyJobDetails",
2974
+ uberParent: "JobDetails",
2975
+ polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,
2976
+ modelProperties: Object.assign(Object.assign({}, JobDetails.type.modelProperties), { copyProgress: {
2977
+ serializedName: "copyProgress",
2978
+ readOnly: true,
2979
+ type: {
2980
+ name: "Sequence",
2981
+ element: {
2982
+ type: {
2983
+ name: "Composite",
2984
+ className: "CopyProgress"
2985
+ }
2986
+ }
2987
+ }
2988
+ }, devicePassword: {
2989
+ serializedName: "devicePassword",
2990
+ type: {
2991
+ name: "String"
2992
+ }
2993
+ } })
2994
+ }
2995
+ };
2996
+ export const DataBoxJobDetails = {
2997
+ serializedName: "DataBox",
2998
+ type: {
2999
+ name: "Composite",
3000
+ className: "DataBoxJobDetails",
3001
+ uberParent: "JobDetails",
3002
+ polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,
3003
+ modelProperties: Object.assign(Object.assign({}, JobDetails.type.modelProperties), { copyProgress: {
3004
+ serializedName: "copyProgress",
3005
+ readOnly: true,
3006
+ type: {
3007
+ name: "Sequence",
3008
+ element: {
3009
+ type: {
3010
+ name: "Composite",
3011
+ className: "CopyProgress"
3012
+ }
3013
+ }
3014
+ }
3015
+ }, devicePassword: {
3016
+ serializedName: "devicePassword",
3017
+ type: {
3018
+ name: "String"
3019
+ }
3020
+ } })
3021
+ }
3022
+ };
3023
+ export const ManagedDiskDetails = {
3024
+ serializedName: "ManagedDisk",
3025
+ type: {
3026
+ name: "Composite",
3027
+ className: "ManagedDiskDetails",
3028
+ uberParent: "DataAccountDetails",
3029
+ polymorphicDiscriminator: DataAccountDetails.type.polymorphicDiscriminator,
3030
+ modelProperties: Object.assign(Object.assign({}, DataAccountDetails.type.modelProperties), { resourceGroupId: {
3031
+ serializedName: "resourceGroupId",
3032
+ required: true,
3033
+ type: {
3034
+ name: "String"
3035
+ }
3036
+ }, stagingStorageAccountId: {
3037
+ serializedName: "stagingStorageAccountId",
3038
+ required: true,
3039
+ type: {
3040
+ name: "String"
3041
+ }
3042
+ } })
3043
+ }
3044
+ };
3045
+ export const StorageAccountDetails = {
3046
+ serializedName: "StorageAccount",
3047
+ type: {
3048
+ name: "Composite",
3049
+ className: "StorageAccountDetails",
3050
+ uberParent: "DataAccountDetails",
3051
+ polymorphicDiscriminator: DataAccountDetails.type.polymorphicDiscriminator,
3052
+ modelProperties: Object.assign(Object.assign({}, DataAccountDetails.type.modelProperties), { storageAccountId: {
3053
+ serializedName: "storageAccountId",
3054
+ required: true,
3055
+ type: {
3056
+ name: "String"
3057
+ }
3058
+ } })
3059
+ }
3060
+ };
3061
+ export const DataBoxAccountCopyLogDetails = {
3062
+ serializedName: "DataBox",
3063
+ type: {
3064
+ name: "Composite",
3065
+ className: "DataBoxAccountCopyLogDetails",
3066
+ uberParent: "CopyLogDetails",
3067
+ polymorphicDiscriminator: CopyLogDetails.type.polymorphicDiscriminator,
3068
+ modelProperties: Object.assign(Object.assign({}, CopyLogDetails.type.modelProperties), { accountName: {
3069
+ serializedName: "accountName",
3070
+ readOnly: true,
3071
+ type: {
3072
+ name: "String"
3073
+ }
3074
+ }, copyLogLink: {
3075
+ serializedName: "copyLogLink",
3076
+ readOnly: true,
3077
+ type: {
3078
+ name: "String"
3079
+ }
3080
+ }, copyVerboseLogLink: {
3081
+ serializedName: "copyVerboseLogLink",
3082
+ readOnly: true,
3083
+ type: {
3084
+ name: "String"
3085
+ }
3086
+ } })
3087
+ }
3088
+ };
3089
+ export const DataBoxCustomerDiskCopyLogDetails = {
3090
+ serializedName: "DataBoxCustomerDisk",
3091
+ type: {
3092
+ name: "Composite",
3093
+ className: "DataBoxCustomerDiskCopyLogDetails",
3094
+ uberParent: "CopyLogDetails",
3095
+ polymorphicDiscriminator: CopyLogDetails.type.polymorphicDiscriminator,
3096
+ modelProperties: Object.assign(Object.assign({}, CopyLogDetails.type.modelProperties), { serialNumber: {
3097
+ serializedName: "serialNumber",
3098
+ readOnly: true,
3099
+ type: {
3100
+ name: "String"
3101
+ }
3102
+ }, errorLogLink: {
3103
+ serializedName: "errorLogLink",
3104
+ readOnly: true,
3105
+ type: {
3106
+ name: "String"
3107
+ }
3108
+ }, verboseLogLink: {
3109
+ serializedName: "verboseLogLink",
3110
+ readOnly: true,
3111
+ type: {
3112
+ name: "String"
3113
+ }
3114
+ } })
3115
+ }
3116
+ };
3117
+ export const DataBoxDiskCopyLogDetails = {
3118
+ serializedName: "DataBoxDisk",
3119
+ type: {
3120
+ name: "Composite",
3121
+ className: "DataBoxDiskCopyLogDetails",
3122
+ uberParent: "CopyLogDetails",
3123
+ polymorphicDiscriminator: CopyLogDetails.type.polymorphicDiscriminator,
3124
+ modelProperties: Object.assign(Object.assign({}, CopyLogDetails.type.modelProperties), { diskSerialNumber: {
3125
+ serializedName: "diskSerialNumber",
3126
+ readOnly: true,
3127
+ type: {
3128
+ name: "String"
3129
+ }
3130
+ }, errorLogLink: {
3131
+ serializedName: "errorLogLink",
3132
+ readOnly: true,
3133
+ type: {
3134
+ name: "String"
3135
+ }
3136
+ }, verboseLogLink: {
3137
+ serializedName: "verboseLogLink",
3138
+ readOnly: true,
3139
+ type: {
3140
+ name: "String"
3141
+ }
3142
+ } })
3143
+ }
3144
+ };
3145
+ export const DataBoxHeavyAccountCopyLogDetails = {
3146
+ serializedName: "DataBoxHeavy",
3147
+ type: {
3148
+ name: "Composite",
3149
+ className: "DataBoxHeavyAccountCopyLogDetails",
3150
+ uberParent: "CopyLogDetails",
3151
+ polymorphicDiscriminator: CopyLogDetails.type.polymorphicDiscriminator,
3152
+ modelProperties: Object.assign(Object.assign({}, CopyLogDetails.type.modelProperties), { accountName: {
3153
+ serializedName: "accountName",
3154
+ readOnly: true,
3155
+ type: {
3156
+ name: "String"
3157
+ }
3158
+ }, copyLogLink: {
3159
+ serializedName: "copyLogLink",
3160
+ readOnly: true,
3161
+ type: {
3162
+ name: "Sequence",
3163
+ element: {
3164
+ type: {
3165
+ name: "String"
3166
+ }
3167
+ }
3168
+ }
3169
+ }, copyVerboseLogLink: {
3170
+ serializedName: "copyVerboseLogLink",
3171
+ readOnly: true,
3172
+ type: {
3173
+ name: "Sequence",
3174
+ element: {
3175
+ type: {
3176
+ name: "String"
3177
+ }
3178
+ }
3179
+ }
3180
+ } })
3181
+ }
3182
+ };
3183
+ export const DatacenterAddressInstructionResponse = {
3184
+ serializedName: "DatacenterAddressInstruction",
3185
+ type: {
3186
+ name: "Composite",
3187
+ className: "DatacenterAddressInstructionResponse",
3188
+ uberParent: "DatacenterAddressResponse",
3189
+ polymorphicDiscriminator: DatacenterAddressResponse.type.polymorphicDiscriminator,
3190
+ modelProperties: Object.assign(Object.assign({}, DatacenterAddressResponse.type.modelProperties), { communicationInstruction: {
3191
+ serializedName: "communicationInstruction",
3192
+ readOnly: true,
3193
+ type: {
3194
+ name: "String"
3195
+ }
3196
+ } })
3197
+ }
3198
+ };
3199
+ export const DatacenterAddressLocationResponse = {
3200
+ serializedName: "DatacenterAddressLocation",
3201
+ type: {
3202
+ name: "Composite",
3203
+ className: "DatacenterAddressLocationResponse",
3204
+ uberParent: "DatacenterAddressResponse",
3205
+ polymorphicDiscriminator: DatacenterAddressResponse.type.polymorphicDiscriminator,
3206
+ modelProperties: Object.assign(Object.assign({}, DatacenterAddressResponse.type.modelProperties), { contactPersonName: {
3207
+ serializedName: "contactPersonName",
3208
+ readOnly: true,
3209
+ type: {
3210
+ name: "String"
3211
+ }
3212
+ }, company: {
3213
+ serializedName: "company",
3214
+ readOnly: true,
3215
+ type: {
3216
+ name: "String"
3217
+ }
3218
+ }, street1: {
3219
+ serializedName: "street1",
3220
+ readOnly: true,
3221
+ type: {
3222
+ name: "String"
3223
+ }
3224
+ }, street2: {
3225
+ serializedName: "street2",
3226
+ readOnly: true,
3227
+ type: {
3228
+ name: "String"
3229
+ }
3230
+ }, street3: {
3231
+ serializedName: "street3",
3232
+ readOnly: true,
3233
+ type: {
3234
+ name: "String"
3235
+ }
3236
+ }, city: {
3237
+ serializedName: "city",
3238
+ readOnly: true,
3239
+ type: {
3240
+ name: "String"
3241
+ }
3242
+ }, state: {
3243
+ serializedName: "state",
3244
+ readOnly: true,
3245
+ type: {
3246
+ name: "String"
3247
+ }
3248
+ }, zip: {
3249
+ serializedName: "zip",
3250
+ readOnly: true,
3251
+ type: {
3252
+ name: "String"
3253
+ }
3254
+ }, country: {
3255
+ serializedName: "country",
3256
+ readOnly: true,
3257
+ type: {
3258
+ name: "String"
3259
+ }
3260
+ }, phone: {
3261
+ serializedName: "phone",
3262
+ readOnly: true,
3263
+ type: {
3264
+ name: "String"
3265
+ }
3266
+ }, phoneExtension: {
3267
+ serializedName: "phoneExtension",
3268
+ readOnly: true,
3269
+ type: {
3270
+ name: "String"
3271
+ }
3272
+ }, addressType: {
3273
+ serializedName: "addressType",
3274
+ readOnly: true,
3275
+ type: {
3276
+ name: "String"
3277
+ }
3278
+ }, additionalShippingInformation: {
3279
+ serializedName: "additionalShippingInformation",
3280
+ readOnly: true,
3281
+ type: {
3282
+ name: "String"
3283
+ }
3284
+ } })
3285
+ }
3286
+ };
3287
+ export const JobResource = {
3288
+ type: {
3289
+ name: "Composite",
3290
+ className: "JobResource",
3291
+ modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { name: {
3292
+ serializedName: "name",
3293
+ readOnly: true,
3294
+ type: {
3295
+ name: "String"
3296
+ }
3297
+ }, id: {
3298
+ serializedName: "id",
3299
+ readOnly: true,
3300
+ type: {
3301
+ name: "String"
3302
+ }
3303
+ }, type: {
3304
+ serializedName: "type",
3305
+ readOnly: true,
3306
+ type: {
3307
+ name: "String"
3308
+ }
3309
+ }, systemData: {
3310
+ serializedName: "systemData",
3311
+ type: {
3312
+ name: "Composite",
3313
+ className: "SystemData"
3314
+ }
3315
+ }, transferType: {
3316
+ serializedName: "properties.transferType",
3317
+ required: true,
3318
+ type: {
3319
+ name: "Enum",
3320
+ allowedValues: ["ImportToAzure", "ExportFromAzure"]
3321
+ }
3322
+ }, isCancellable: {
3323
+ serializedName: "properties.isCancellable",
3324
+ readOnly: true,
3325
+ type: {
3326
+ name: "Boolean"
3327
+ }
3328
+ }, isDeletable: {
3329
+ serializedName: "properties.isDeletable",
3330
+ readOnly: true,
3331
+ type: {
3332
+ name: "Boolean"
3333
+ }
3334
+ }, isShippingAddressEditable: {
3335
+ serializedName: "properties.isShippingAddressEditable",
3336
+ readOnly: true,
3337
+ type: {
3338
+ name: "Boolean"
3339
+ }
3340
+ }, isPrepareToShipEnabled: {
3341
+ serializedName: "properties.isPrepareToShipEnabled",
3342
+ readOnly: true,
3343
+ type: {
3344
+ name: "Boolean"
3345
+ }
3346
+ }, status: {
3347
+ serializedName: "properties.status",
3348
+ readOnly: true,
3349
+ type: {
3350
+ name: "String"
3351
+ }
3352
+ }, startTime: {
3353
+ serializedName: "properties.startTime",
3354
+ readOnly: true,
3355
+ type: {
3356
+ name: "DateTime"
3357
+ }
3358
+ }, error: {
3359
+ serializedName: "properties.error",
3360
+ type: {
3361
+ name: "Composite",
3362
+ className: "CloudError"
3363
+ }
3364
+ }, details: {
3365
+ serializedName: "properties.details",
3366
+ type: {
3367
+ name: "Composite",
3368
+ className: "JobDetails"
3369
+ }
3370
+ }, cancellationReason: {
3371
+ serializedName: "properties.cancellationReason",
3372
+ readOnly: true,
3373
+ type: {
3374
+ name: "String"
3375
+ }
3376
+ }, deliveryType: {
3377
+ defaultValue: "NonScheduled",
3378
+ serializedName: "properties.deliveryType",
3379
+ type: {
3380
+ name: "Enum",
3381
+ allowedValues: ["NonScheduled", "Scheduled"]
3382
+ }
3383
+ }, deliveryInfo: {
3384
+ serializedName: "properties.deliveryInfo",
3385
+ type: {
3386
+ name: "Composite",
3387
+ className: "JobDeliveryInfo"
3388
+ }
3389
+ }, isCancellableWithoutFee: {
3390
+ serializedName: "properties.isCancellableWithoutFee",
3391
+ readOnly: true,
3392
+ type: {
3393
+ name: "Boolean"
3394
+ }
3395
+ } })
3396
+ }
3397
+ };
3398
+ export const ValidateAddress = {
3399
+ serializedName: "ValidateAddress",
3400
+ type: {
3401
+ name: "Composite",
3402
+ className: "ValidateAddress",
3403
+ uberParent: "ValidationInputRequest",
3404
+ polymorphicDiscriminator: ValidationInputRequest.type.polymorphicDiscriminator,
3405
+ modelProperties: Object.assign(Object.assign({}, ValidationInputRequest.type.modelProperties), { shippingAddress: {
3406
+ serializedName: "shippingAddress",
3407
+ type: {
3408
+ name: "Composite",
3409
+ className: "ShippingAddress"
3410
+ }
3411
+ }, deviceType: {
3412
+ serializedName: "deviceType",
3413
+ required: true,
3414
+ type: {
3415
+ name: "Enum",
3416
+ allowedValues: [
3417
+ "DataBox",
3418
+ "DataBoxDisk",
3419
+ "DataBoxHeavy",
3420
+ "DataBoxCustomerDisk"
3421
+ ]
3422
+ }
3423
+ }, transportPreferences: {
3424
+ serializedName: "transportPreferences",
3425
+ type: {
3426
+ name: "Composite",
3427
+ className: "TransportPreferences"
3428
+ }
3429
+ } })
3430
+ }
3431
+ };
3432
+ export const CreateOrderLimitForSubscriptionValidationRequest = {
3433
+ serializedName: "ValidateCreateOrderLimit",
3434
+ type: {
3435
+ name: "Composite",
3436
+ className: "CreateOrderLimitForSubscriptionValidationRequest",
3437
+ uberParent: "ValidationInputRequest",
3438
+ polymorphicDiscriminator: ValidationInputRequest.type.polymorphicDiscriminator,
3439
+ modelProperties: Object.assign(Object.assign({}, ValidationInputRequest.type.modelProperties), { deviceType: {
3440
+ serializedName: "deviceType",
3441
+ required: true,
3442
+ type: {
3443
+ name: "Enum",
3444
+ allowedValues: [
3445
+ "DataBox",
3446
+ "DataBoxDisk",
3447
+ "DataBoxHeavy",
3448
+ "DataBoxCustomerDisk"
3449
+ ]
3450
+ }
3451
+ } })
3452
+ }
3453
+ };
3454
+ export const DataTransferDetailsValidationRequest = {
3455
+ serializedName: "ValidateDataTransferDetails",
3456
+ type: {
3457
+ name: "Composite",
3458
+ className: "DataTransferDetailsValidationRequest",
3459
+ uberParent: "ValidationInputRequest",
3460
+ polymorphicDiscriminator: ValidationInputRequest.type.polymorphicDiscriminator,
3461
+ modelProperties: Object.assign(Object.assign({}, ValidationInputRequest.type.modelProperties), { dataExportDetails: {
3462
+ serializedName: "dataExportDetails",
3463
+ type: {
3464
+ name: "Sequence",
3465
+ element: {
3466
+ type: {
3467
+ name: "Composite",
3468
+ className: "DataExportDetails"
3469
+ }
3470
+ }
3471
+ }
3472
+ }, dataImportDetails: {
3473
+ serializedName: "dataImportDetails",
3474
+ type: {
3475
+ name: "Sequence",
3476
+ element: {
3477
+ type: {
3478
+ name: "Composite",
3479
+ className: "DataImportDetails"
3480
+ }
3481
+ }
3482
+ }
3483
+ }, deviceType: {
3484
+ serializedName: "deviceType",
3485
+ required: true,
3486
+ type: {
3487
+ name: "Enum",
3488
+ allowedValues: [
3489
+ "DataBox",
3490
+ "DataBoxDisk",
3491
+ "DataBoxHeavy",
3492
+ "DataBoxCustomerDisk"
3493
+ ]
3494
+ }
3495
+ }, transferType: {
3496
+ serializedName: "transferType",
3497
+ required: true,
3498
+ type: {
3499
+ name: "Enum",
3500
+ allowedValues: ["ImportToAzure", "ExportFromAzure"]
3501
+ }
3502
+ } })
3503
+ }
3504
+ };
3505
+ export const PreferencesValidationRequest = {
3506
+ serializedName: "ValidatePreferences",
3507
+ type: {
3508
+ name: "Composite",
3509
+ className: "PreferencesValidationRequest",
3510
+ uberParent: "ValidationInputRequest",
3511
+ polymorphicDiscriminator: ValidationInputRequest.type.polymorphicDiscriminator,
3512
+ modelProperties: Object.assign(Object.assign({}, ValidationInputRequest.type.modelProperties), { preference: {
3513
+ serializedName: "preference",
3514
+ type: {
3515
+ name: "Composite",
3516
+ className: "Preferences"
3517
+ }
3518
+ }, deviceType: {
3519
+ serializedName: "deviceType",
3520
+ required: true,
3521
+ type: {
3522
+ name: "Enum",
3523
+ allowedValues: [
3524
+ "DataBox",
3525
+ "DataBoxDisk",
3526
+ "DataBoxHeavy",
3527
+ "DataBoxCustomerDisk"
3528
+ ]
3529
+ }
3530
+ } })
3531
+ }
3532
+ };
3533
+ export const SkuAvailabilityValidationRequest = {
3534
+ serializedName: "ValidateSkuAvailability",
3535
+ type: {
3536
+ name: "Composite",
3537
+ className: "SkuAvailabilityValidationRequest",
3538
+ uberParent: "ValidationInputRequest",
3539
+ polymorphicDiscriminator: ValidationInputRequest.type.polymorphicDiscriminator,
3540
+ modelProperties: Object.assign(Object.assign({}, ValidationInputRequest.type.modelProperties), { deviceType: {
3541
+ serializedName: "deviceType",
3542
+ required: true,
3543
+ type: {
3544
+ name: "Enum",
3545
+ allowedValues: [
3546
+ "DataBox",
3547
+ "DataBoxDisk",
3548
+ "DataBoxHeavy",
3549
+ "DataBoxCustomerDisk"
3550
+ ]
3551
+ }
3552
+ }, transferType: {
3553
+ serializedName: "transferType",
3554
+ required: true,
3555
+ type: {
3556
+ name: "Enum",
3557
+ allowedValues: ["ImportToAzure", "ExportFromAzure"]
3558
+ }
3559
+ }, country: {
3560
+ serializedName: "country",
3561
+ required: true,
3562
+ type: {
3563
+ name: "String"
3564
+ }
3565
+ }, location: {
3566
+ serializedName: "location",
3567
+ required: true,
3568
+ type: {
3569
+ name: "String"
3570
+ }
3571
+ } })
3572
+ }
3573
+ };
3574
+ export const SubscriptionIsAllowedToCreateJobValidationRequest = {
3575
+ serializedName: "ValidateSubscriptionIsAllowedToCreateJob",
3576
+ type: {
3577
+ name: "Composite",
3578
+ className: "SubscriptionIsAllowedToCreateJobValidationRequest",
3579
+ uberParent: "ValidationInputRequest",
3580
+ polymorphicDiscriminator: ValidationInputRequest.type.polymorphicDiscriminator,
3581
+ modelProperties: Object.assign({}, ValidationInputRequest.type.modelProperties)
3582
+ }
3583
+ };
3584
+ export const AddressValidationProperties = {
3585
+ serializedName: "ValidateAddress",
3586
+ type: {
3587
+ name: "Composite",
3588
+ className: "AddressValidationProperties",
3589
+ uberParent: "ValidationInputResponse",
3590
+ polymorphicDiscriminator: ValidationInputResponse.type.polymorphicDiscriminator,
3591
+ modelProperties: Object.assign(Object.assign({}, ValidationInputResponse.type.modelProperties), { validationStatus: {
3592
+ serializedName: "validationStatus",
3593
+ readOnly: true,
3594
+ type: {
3595
+ name: "Enum",
3596
+ allowedValues: ["Valid", "Invalid", "Ambiguous"]
3597
+ }
3598
+ }, alternateAddresses: {
3599
+ serializedName: "alternateAddresses",
3600
+ readOnly: true,
3601
+ type: {
3602
+ name: "Sequence",
3603
+ element: {
3604
+ type: {
3605
+ name: "Composite",
3606
+ className: "ShippingAddress"
3607
+ }
3608
+ }
3609
+ }
3610
+ } })
3611
+ }
3612
+ };
3613
+ export const CreateOrderLimitForSubscriptionValidationResponseProperties = {
3614
+ serializedName: "ValidateCreateOrderLimit",
3615
+ type: {
3616
+ name: "Composite",
3617
+ className: "CreateOrderLimitForSubscriptionValidationResponseProperties",
3618
+ uberParent: "ValidationInputResponse",
3619
+ polymorphicDiscriminator: ValidationInputResponse.type.polymorphicDiscriminator,
3620
+ modelProperties: Object.assign(Object.assign({}, ValidationInputResponse.type.modelProperties), { status: {
3621
+ serializedName: "status",
3622
+ readOnly: true,
3623
+ type: {
3624
+ name: "Enum",
3625
+ allowedValues: ["Valid", "Invalid", "Skipped"]
3626
+ }
3627
+ } })
3628
+ }
3629
+ };
3630
+ export const DataTransferDetailsValidationResponseProperties = {
3631
+ serializedName: "ValidateDataTransferDetails",
3632
+ type: {
3633
+ name: "Composite",
3634
+ className: "DataTransferDetailsValidationResponseProperties",
3635
+ uberParent: "ValidationInputResponse",
3636
+ polymorphicDiscriminator: ValidationInputResponse.type.polymorphicDiscriminator,
3637
+ modelProperties: Object.assign(Object.assign({}, ValidationInputResponse.type.modelProperties), { status: {
3638
+ serializedName: "status",
3639
+ readOnly: true,
3640
+ type: {
3641
+ name: "Enum",
3642
+ allowedValues: ["Valid", "Invalid", "Skipped"]
3643
+ }
3644
+ } })
3645
+ }
3646
+ };
3647
+ export const PreferencesValidationResponseProperties = {
3648
+ serializedName: "ValidatePreferences",
3649
+ type: {
3650
+ name: "Composite",
3651
+ className: "PreferencesValidationResponseProperties",
3652
+ uberParent: "ValidationInputResponse",
3653
+ polymorphicDiscriminator: ValidationInputResponse.type.polymorphicDiscriminator,
3654
+ modelProperties: Object.assign(Object.assign({}, ValidationInputResponse.type.modelProperties), { status: {
3655
+ serializedName: "status",
3656
+ readOnly: true,
3657
+ type: {
3658
+ name: "Enum",
3659
+ allowedValues: ["Valid", "Invalid", "Skipped"]
3660
+ }
3661
+ } })
3662
+ }
3663
+ };
3664
+ export const SkuAvailabilityValidationResponseProperties = {
3665
+ serializedName: "ValidateSkuAvailability",
3666
+ type: {
3667
+ name: "Composite",
3668
+ className: "SkuAvailabilityValidationResponseProperties",
3669
+ uberParent: "ValidationInputResponse",
3670
+ polymorphicDiscriminator: ValidationInputResponse.type.polymorphicDiscriminator,
3671
+ modelProperties: Object.assign(Object.assign({}, ValidationInputResponse.type.modelProperties), { status: {
3672
+ serializedName: "status",
3673
+ readOnly: true,
3674
+ type: {
3675
+ name: "Enum",
3676
+ allowedValues: ["Valid", "Invalid", "Skipped"]
3677
+ }
3678
+ } })
3679
+ }
3680
+ };
3681
+ export const SubscriptionIsAllowedToCreateJobValidationResponseProperties = {
3682
+ serializedName: "ValidateSubscriptionIsAllowedToCreateJob",
3683
+ type: {
3684
+ name: "Composite",
3685
+ className: "SubscriptionIsAllowedToCreateJobValidationResponseProperties",
3686
+ uberParent: "ValidationInputResponse",
3687
+ polymorphicDiscriminator: ValidationInputResponse.type.polymorphicDiscriminator,
3688
+ modelProperties: Object.assign(Object.assign({}, ValidationInputResponse.type.modelProperties), { status: {
3689
+ serializedName: "status",
3690
+ readOnly: true,
3691
+ type: {
3692
+ name: "Enum",
3693
+ allowedValues: ["Valid", "Invalid", "Skipped"]
3694
+ }
3695
+ } })
3696
+ }
3697
+ };
3698
+ export const CreateJobValidations = {
3699
+ serializedName: "JobCreationValidation",
3700
+ type: {
3701
+ name: "Composite",
3702
+ className: "CreateJobValidations",
3703
+ uberParent: "ValidationRequest",
3704
+ polymorphicDiscriminator: ValidationRequest.type.polymorphicDiscriminator,
3705
+ modelProperties: Object.assign({}, ValidationRequest.type.modelProperties)
3706
+ }
3707
+ };
3708
+ export const CustomerDiskJobSecrets = {
3709
+ serializedName: "DataBoxCustomerDisk",
3710
+ type: {
3711
+ name: "Composite",
3712
+ className: "CustomerDiskJobSecrets",
3713
+ uberParent: "JobSecrets",
3714
+ polymorphicDiscriminator: JobSecrets.type.polymorphicDiscriminator,
3715
+ modelProperties: Object.assign(Object.assign({}, JobSecrets.type.modelProperties), { diskSecrets: {
3716
+ serializedName: "diskSecrets",
3717
+ readOnly: true,
3718
+ type: {
3719
+ name: "Sequence",
3720
+ element: {
3721
+ type: {
3722
+ name: "Composite",
3723
+ className: "DiskSecret"
3724
+ }
3725
+ }
3726
+ }
3727
+ }, carrierAccountNumber: {
3728
+ serializedName: "carrierAccountNumber",
3729
+ readOnly: true,
3730
+ type: {
3731
+ name: "String"
3732
+ }
3733
+ } })
3734
+ }
3735
+ };
3736
+ export const DataBoxDiskJobSecrets = {
3737
+ serializedName: "DataBoxDisk",
3738
+ type: {
3739
+ name: "Composite",
3740
+ className: "DataBoxDiskJobSecrets",
3741
+ uberParent: "JobSecrets",
3742
+ polymorphicDiscriminator: JobSecrets.type.polymorphicDiscriminator,
3743
+ modelProperties: Object.assign(Object.assign({}, JobSecrets.type.modelProperties), { diskSecrets: {
3744
+ serializedName: "diskSecrets",
3745
+ readOnly: true,
3746
+ type: {
3747
+ name: "Sequence",
3748
+ element: {
3749
+ type: {
3750
+ name: "Composite",
3751
+ className: "DiskSecret"
3752
+ }
3753
+ }
3754
+ }
3755
+ }, passKey: {
3756
+ serializedName: "passKey",
3757
+ readOnly: true,
3758
+ type: {
3759
+ name: "String"
3760
+ }
3761
+ }, isPasskeyUserDefined: {
3762
+ serializedName: "isPasskeyUserDefined",
3763
+ readOnly: true,
3764
+ type: {
3765
+ name: "Boolean"
3766
+ }
3767
+ } })
3768
+ }
3769
+ };
3770
+ export const DataBoxHeavyJobSecrets = {
3771
+ serializedName: "DataBoxHeavy",
3772
+ type: {
3773
+ name: "Composite",
3774
+ className: "DataBoxHeavyJobSecrets",
3775
+ uberParent: "JobSecrets",
3776
+ polymorphicDiscriminator: JobSecrets.type.polymorphicDiscriminator,
3777
+ modelProperties: Object.assign(Object.assign({}, JobSecrets.type.modelProperties), { cabinetPodSecrets: {
3778
+ serializedName: "cabinetPodSecrets",
3779
+ readOnly: true,
3780
+ type: {
3781
+ name: "Sequence",
3782
+ element: {
3783
+ type: {
3784
+ name: "Composite",
3785
+ className: "DataBoxHeavySecret"
3786
+ }
3787
+ }
3788
+ }
3789
+ } })
3790
+ }
3791
+ };
3792
+ export const DataboxJobSecrets = {
3793
+ serializedName: "DataBox",
3794
+ type: {
3795
+ name: "Composite",
3796
+ className: "DataboxJobSecrets",
3797
+ uberParent: "JobSecrets",
3798
+ polymorphicDiscriminator: JobSecrets.type.polymorphicDiscriminator,
3799
+ modelProperties: Object.assign(Object.assign({}, JobSecrets.type.modelProperties), { podSecrets: {
3800
+ serializedName: "podSecrets",
3801
+ type: {
3802
+ name: "Sequence",
3803
+ element: {
3804
+ type: {
3805
+ name: "Composite",
3806
+ className: "DataBoxSecret"
3807
+ }
3808
+ }
3809
+ }
3810
+ } })
3811
+ }
3812
+ };
3813
+ export const DataBoxScheduleAvailabilityRequest = {
3814
+ serializedName: "DataBox",
3815
+ type: {
3816
+ name: "Composite",
3817
+ className: "DataBoxScheduleAvailabilityRequest",
3818
+ uberParent: "ScheduleAvailabilityRequest",
3819
+ polymorphicDiscriminator: ScheduleAvailabilityRequest.type.polymorphicDiscriminator,
3820
+ modelProperties: Object.assign({}, ScheduleAvailabilityRequest.type.modelProperties)
3821
+ }
3822
+ };
3823
+ export const DiskScheduleAvailabilityRequest = {
3824
+ serializedName: "DataBoxDisk",
3825
+ type: {
3826
+ name: "Composite",
3827
+ className: "DiskScheduleAvailabilityRequest",
3828
+ uberParent: "ScheduleAvailabilityRequest",
3829
+ polymorphicDiscriminator: ScheduleAvailabilityRequest.type.polymorphicDiscriminator,
3830
+ modelProperties: Object.assign(Object.assign({}, ScheduleAvailabilityRequest.type.modelProperties), { expectedDataSizeInTeraBytes: {
3831
+ serializedName: "expectedDataSizeInTeraBytes",
3832
+ required: true,
3833
+ type: {
3834
+ name: "Number"
3835
+ }
3836
+ } })
3837
+ }
3838
+ };
3839
+ export const HeavyScheduleAvailabilityRequest = {
3840
+ serializedName: "DataBoxHeavy",
3841
+ type: {
3842
+ name: "Composite",
3843
+ className: "HeavyScheduleAvailabilityRequest",
3844
+ uberParent: "ScheduleAvailabilityRequest",
3845
+ polymorphicDiscriminator: ScheduleAvailabilityRequest.type.polymorphicDiscriminator,
3846
+ modelProperties: Object.assign({}, ScheduleAvailabilityRequest.type.modelProperties)
3847
+ }
3848
+ };
3849
+ export const DataBoxCustomerDiskCopyProgress = {
3850
+ type: {
3851
+ name: "Composite",
3852
+ className: "DataBoxCustomerDiskCopyProgress",
3853
+ modelProperties: Object.assign(Object.assign({}, CopyProgress.type.modelProperties), { serialNumber: {
3854
+ serializedName: "serialNumber",
3855
+ readOnly: true,
3856
+ type: {
3857
+ name: "String"
3858
+ }
3859
+ }, copyStatus: {
3860
+ serializedName: "copyStatus",
3861
+ readOnly: true,
3862
+ type: {
3863
+ name: "String"
3864
+ }
3865
+ } })
3866
+ }
3867
+ };
3868
+ export let discriminators = {
3869
+ JobDetails: JobDetails,
3870
+ DataAccountDetails: DataAccountDetails,
3871
+ CopyLogDetails: CopyLogDetails,
3872
+ DatacenterAddressResponse: DatacenterAddressResponse,
3873
+ ValidationInputRequest: ValidationInputRequest,
3874
+ ValidationInputResponse: ValidationInputResponse,
3875
+ ValidationRequest: ValidationRequest,
3876
+ JobSecrets: JobSecrets,
3877
+ ScheduleAvailabilityRequest: ScheduleAvailabilityRequest,
3878
+ "JobDetails.DataBoxCustomerDisk": DataBoxCustomerDiskJobDetails,
3879
+ "JobDetails.DataBoxDisk": DataBoxDiskJobDetails,
3880
+ "JobDetails.DataBoxHeavy": DataBoxHeavyJobDetails,
3881
+ "JobDetails.DataBox": DataBoxJobDetails,
3882
+ "DataAccountDetails.ManagedDisk": ManagedDiskDetails,
3883
+ "DataAccountDetails.StorageAccount": StorageAccountDetails,
3884
+ "CopyLogDetails.DataBox": DataBoxAccountCopyLogDetails,
3885
+ "CopyLogDetails.DataBoxCustomerDisk": DataBoxCustomerDiskCopyLogDetails,
3886
+ "CopyLogDetails.DataBoxDisk": DataBoxDiskCopyLogDetails,
3887
+ "CopyLogDetails.DataBoxHeavy": DataBoxHeavyAccountCopyLogDetails,
3888
+ "DatacenterAddressResponse.DatacenterAddressInstruction": DatacenterAddressInstructionResponse,
3889
+ "DatacenterAddressResponse.DatacenterAddressLocation": DatacenterAddressLocationResponse,
3890
+ "ValidationInputRequest.ValidateAddress": ValidateAddress,
3891
+ "ValidationInputRequest.ValidateCreateOrderLimit": CreateOrderLimitForSubscriptionValidationRequest,
3892
+ "ValidationInputRequest.ValidateDataTransferDetails": DataTransferDetailsValidationRequest,
3893
+ "ValidationInputRequest.ValidatePreferences": PreferencesValidationRequest,
3894
+ "ValidationInputRequest.ValidateSkuAvailability": SkuAvailabilityValidationRequest,
3895
+ "ValidationInputRequest.ValidateSubscriptionIsAllowedToCreateJob": SubscriptionIsAllowedToCreateJobValidationRequest,
3896
+ "ValidationInputResponse.ValidateAddress": AddressValidationProperties,
3897
+ "ValidationInputResponse.ValidateCreateOrderLimit": CreateOrderLimitForSubscriptionValidationResponseProperties,
3898
+ "ValidationInputResponse.ValidateDataTransferDetails": DataTransferDetailsValidationResponseProperties,
3899
+ "ValidationInputResponse.ValidatePreferences": PreferencesValidationResponseProperties,
3900
+ "ValidationInputResponse.ValidateSkuAvailability": SkuAvailabilityValidationResponseProperties,
3901
+ "ValidationInputResponse.ValidateSubscriptionIsAllowedToCreateJob": SubscriptionIsAllowedToCreateJobValidationResponseProperties,
3902
+ "ValidationRequest.JobCreationValidation": CreateJobValidations,
3903
+ "JobSecrets.DataBoxCustomerDisk": CustomerDiskJobSecrets,
3904
+ "JobSecrets.DataBoxDisk": DataBoxDiskJobSecrets,
3905
+ "JobSecrets.DataBoxHeavy": DataBoxHeavyJobSecrets,
3906
+ "JobSecrets.DataBox": DataboxJobSecrets,
3907
+ "ScheduleAvailabilityRequest.DataBox": DataBoxScheduleAvailabilityRequest,
3908
+ "ScheduleAvailabilityRequest.DataBoxDisk": DiskScheduleAvailabilityRequest,
3909
+ "ScheduleAvailabilityRequest.DataBoxHeavy": HeavyScheduleAvailabilityRequest
3910
+ };
3911
+ //# sourceMappingURL=mappers.js.map