@azure/arm-databox 5.1.0 → 6.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 (479) hide show
  1. package/README.md +12 -10
  2. package/dist/browser/api/dataBoxManagementContext.d.ts +20 -0
  3. package/dist/browser/api/dataBoxManagementContext.js +25 -0
  4. package/dist/browser/api/dataBoxManagementContext.js.map +1 -0
  5. package/dist/browser/api/index.d.ts +5 -0
  6. package/dist/browser/api/index.js +5 -0
  7. package/dist/browser/api/index.js.map +1 -0
  8. package/dist/browser/api/jobs/index.d.ts +3 -0
  9. package/dist/browser/api/jobs/index.js +4 -0
  10. package/dist/browser/api/jobs/index.js.map +1 -0
  11. package/dist/browser/api/jobs/operations.d.ts +47 -0
  12. package/dist/browser/api/jobs/operations.js +309 -0
  13. package/dist/browser/api/jobs/operations.js.map +1 -0
  14. package/dist/browser/api/jobs/options.d.ts +46 -0
  15. package/dist/browser/api/jobs/options.js +4 -0
  16. package/dist/browser/api/jobs/options.js.map +1 -0
  17. package/dist/browser/api/operations/index.d.ts +3 -0
  18. package/dist/browser/api/operations/index.js +4 -0
  19. package/dist/browser/api/operations/index.js.map +1 -0
  20. package/dist/browser/api/operations/operations.d.ts +10 -0
  21. package/dist/browser/api/operations/operations.js +31 -0
  22. package/dist/browser/api/operations/operations.js.map +1 -0
  23. package/dist/browser/api/operations/options.d.ts +5 -0
  24. package/dist/browser/api/operations/options.js +4 -0
  25. package/dist/browser/api/operations/options.js.map +1 -0
  26. package/dist/browser/api/operations.d.ts +9 -0
  27. package/dist/browser/api/operations.js +35 -0
  28. package/dist/browser/api/operations.js.map +1 -0
  29. package/dist/browser/api/options.d.ts +5 -0
  30. package/dist/browser/api/options.js +4 -0
  31. package/dist/browser/api/options.js.map +1 -0
  32. package/dist/browser/api/service/index.d.ts +3 -0
  33. package/dist/browser/api/service/index.js +4 -0
  34. package/dist/browser/api/service/index.js.map +1 -0
  35. package/dist/browser/api/service/operations.d.ts +30 -0
  36. package/dist/browser/api/service/operations.js +183 -0
  37. package/dist/browser/api/service/operations.js.map +1 -0
  38. package/dist/browser/api/service/options.d.ts +20 -0
  39. package/dist/browser/api/service/options.js +4 -0
  40. package/dist/browser/api/service/options.js.map +1 -0
  41. package/dist/browser/classic/index.d.ts +4 -0
  42. package/dist/browser/classic/index.js +4 -0
  43. package/dist/browser/classic/index.js.map +1 -0
  44. package/dist/browser/classic/jobs/index.d.ts +43 -0
  45. package/dist/browser/classic/jobs/index.js +48 -0
  46. package/dist/browser/classic/jobs/index.js.map +1 -0
  47. package/dist/browser/classic/operations/index.d.ts +11 -0
  48. package/dist/browser/classic/operations/index.js +14 -0
  49. package/dist/browser/classic/operations/index.js.map +1 -0
  50. package/dist/browser/classic/service/index.d.ts +21 -0
  51. package/dist/browser/classic/service/index.js +19 -0
  52. package/dist/browser/classic/service/index.js.map +1 -0
  53. package/dist/browser/dataBoxManagementClient.d.ts +22 -28
  54. package/dist/browser/dataBoxManagementClient.js +39 -129
  55. package/dist/browser/dataBoxManagementClient.js.map +1 -1
  56. package/dist/browser/index.d.ts +16 -3
  57. package/dist/browser/index.js +7 -11
  58. package/dist/browser/index.js.map +1 -1
  59. package/dist/browser/logger.d.ts +2 -0
  60. package/dist/browser/logger.js +5 -0
  61. package/dist/browser/logger.js.map +1 -0
  62. package/dist/browser/models/index.d.ts +2 -2653
  63. package/dist/browser/models/index.js +3 -273
  64. package/dist/browser/models/index.js.map +1 -1
  65. package/dist/{react-native/models/index.d.ts → browser/models/models.d.ts} +1755 -2206
  66. package/dist/browser/models/models.js +2705 -0
  67. package/dist/browser/models/models.js.map +1 -0
  68. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  69. package/dist/browser/restorePollerHelpers.js +96 -0
  70. package/dist/browser/restorePollerHelpers.js.map +1 -0
  71. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  72. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  73. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  74. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  75. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  76. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  77. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  78. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  79. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  80. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  81. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  82. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  83. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  84. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  85. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  86. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  87. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  88. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  89. package/dist/commonjs/api/dataBoxManagementContext.d.ts +20 -0
  90. package/dist/commonjs/api/dataBoxManagementContext.js +47 -0
  91. package/dist/commonjs/api/dataBoxManagementContext.js.map +7 -0
  92. package/dist/commonjs/api/index.d.ts +5 -0
  93. package/dist/commonjs/api/index.js +31 -0
  94. package/dist/commonjs/api/index.js.map +7 -0
  95. package/dist/commonjs/api/jobs/index.d.ts +3 -0
  96. package/dist/commonjs/api/jobs/index.js +46 -0
  97. package/dist/commonjs/api/jobs/index.js.map +7 -0
  98. package/dist/commonjs/api/jobs/operations.d.ts +47 -0
  99. package/dist/commonjs/api/jobs/operations.js +457 -0
  100. package/dist/commonjs/api/jobs/operations.js.map +7 -0
  101. package/dist/commonjs/api/jobs/options.d.ts +46 -0
  102. package/dist/commonjs/api/jobs/options.js +16 -0
  103. package/dist/commonjs/api/jobs/options.js.map +7 -0
  104. package/dist/commonjs/api/operations/index.d.ts +3 -0
  105. package/dist/commonjs/api/operations/index.js +28 -0
  106. package/dist/commonjs/api/operations/index.js.map +7 -0
  107. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  108. package/dist/commonjs/api/operations/operations.js +68 -0
  109. package/dist/commonjs/api/operations/operations.js.map +7 -0
  110. package/dist/commonjs/api/operations/options.d.ts +5 -0
  111. package/dist/commonjs/api/operations/options.js +16 -0
  112. package/dist/commonjs/api/operations/options.js.map +7 -0
  113. package/dist/commonjs/api/operations.d.ts +9 -0
  114. package/dist/commonjs/api/operations.js +72 -0
  115. package/dist/commonjs/api/operations.js.map +7 -0
  116. package/dist/commonjs/api/options.d.ts +5 -0
  117. package/dist/commonjs/api/options.js +16 -0
  118. package/dist/commonjs/api/options.js.map +7 -0
  119. package/dist/commonjs/api/service/index.d.ts +3 -0
  120. package/dist/commonjs/api/service/index.js +38 -0
  121. package/dist/commonjs/api/service/index.js.map +7 -0
  122. package/dist/commonjs/api/service/operations.d.ts +30 -0
  123. package/dist/commonjs/api/service/operations.js +288 -0
  124. package/dist/commonjs/api/service/operations.js.map +7 -0
  125. package/dist/commonjs/api/service/options.d.ts +20 -0
  126. package/dist/commonjs/api/service/options.js +16 -0
  127. package/dist/commonjs/api/service/options.js.map +7 -0
  128. package/dist/commonjs/classic/index.d.ts +4 -0
  129. package/dist/commonjs/classic/index.js +16 -0
  130. package/dist/commonjs/classic/index.js.map +7 -0
  131. package/dist/commonjs/classic/jobs/index.d.ts +43 -0
  132. package/dist/commonjs/classic/jobs/index.js +78 -0
  133. package/dist/commonjs/classic/jobs/index.js.map +7 -0
  134. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  135. package/dist/commonjs/classic/operations/index.js +38 -0
  136. package/dist/commonjs/classic/operations/index.js.map +7 -0
  137. package/dist/commonjs/classic/service/index.d.ts +21 -0
  138. package/dist/commonjs/classic/service/index.js +61 -0
  139. package/dist/commonjs/classic/service/index.js.map +7 -0
  140. package/dist/commonjs/dataBoxManagementClient.d.ts +22 -28
  141. package/dist/commonjs/dataBoxManagementClient.js +64 -138
  142. package/dist/commonjs/dataBoxManagementClient.js.map +7 -1
  143. package/dist/commonjs/index.d.ts +16 -3
  144. package/dist/commonjs/index.js +56 -19
  145. package/dist/commonjs/index.js.map +7 -1
  146. package/dist/commonjs/logger.d.ts +2 -0
  147. package/dist/commonjs/logger.js +29 -0
  148. package/dist/commonjs/logger.js.map +7 -0
  149. package/dist/commonjs/models/index.d.ts +2 -2653
  150. package/dist/commonjs/models/index.js +42 -277
  151. package/dist/commonjs/models/index.js.map +7 -1
  152. package/dist/commonjs/models/models.d.ts +2203 -0
  153. package/dist/commonjs/models/models.js +2645 -0
  154. package/dist/commonjs/models/models.js.map +7 -0
  155. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  156. package/dist/commonjs/restorePollerHelpers.js +109 -0
  157. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  158. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  159. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  160. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  161. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  162. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  163. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  164. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  165. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  166. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  167. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  168. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  169. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  170. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  171. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  172. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  173. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  174. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  175. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  176. package/dist/commonjs/tsdoc-metadata.json +11 -11
  177. package/dist/esm/api/dataBoxManagementContext.d.ts +20 -0
  178. package/dist/esm/api/dataBoxManagementContext.js +25 -0
  179. package/dist/esm/api/dataBoxManagementContext.js.map +1 -0
  180. package/dist/esm/api/index.d.ts +5 -0
  181. package/dist/esm/api/index.js +5 -0
  182. package/dist/esm/api/index.js.map +1 -0
  183. package/dist/esm/api/jobs/index.d.ts +3 -0
  184. package/dist/esm/api/jobs/index.js +4 -0
  185. package/dist/esm/api/jobs/index.js.map +1 -0
  186. package/dist/esm/api/jobs/operations.d.ts +47 -0
  187. package/dist/esm/api/jobs/operations.js +309 -0
  188. package/dist/esm/api/jobs/operations.js.map +1 -0
  189. package/dist/esm/api/jobs/options.d.ts +46 -0
  190. package/dist/esm/api/jobs/options.js +4 -0
  191. package/dist/esm/api/jobs/options.js.map +1 -0
  192. package/dist/esm/api/operations/index.d.ts +3 -0
  193. package/dist/esm/api/operations/index.js +4 -0
  194. package/dist/esm/api/operations/index.js.map +1 -0
  195. package/dist/esm/api/operations/operations.d.ts +10 -0
  196. package/dist/esm/api/operations/operations.js +31 -0
  197. package/dist/esm/api/operations/operations.js.map +1 -0
  198. package/dist/esm/api/operations/options.d.ts +5 -0
  199. package/dist/esm/api/operations/options.js +4 -0
  200. package/dist/esm/api/operations/options.js.map +1 -0
  201. package/dist/esm/api/operations.d.ts +9 -0
  202. package/dist/esm/api/operations.js +35 -0
  203. package/dist/esm/api/operations.js.map +1 -0
  204. package/dist/esm/api/options.d.ts +5 -0
  205. package/dist/esm/api/options.js +4 -0
  206. package/dist/esm/api/options.js.map +1 -0
  207. package/dist/esm/api/service/index.d.ts +3 -0
  208. package/dist/esm/api/service/index.js +4 -0
  209. package/dist/esm/api/service/index.js.map +1 -0
  210. package/dist/esm/api/service/operations.d.ts +30 -0
  211. package/dist/esm/api/service/operations.js +183 -0
  212. package/dist/esm/api/service/operations.js.map +1 -0
  213. package/dist/esm/api/service/options.d.ts +20 -0
  214. package/dist/esm/api/service/options.js +4 -0
  215. package/dist/esm/api/service/options.js.map +1 -0
  216. package/dist/esm/classic/index.d.ts +4 -0
  217. package/dist/esm/classic/index.js +4 -0
  218. package/dist/esm/classic/index.js.map +1 -0
  219. package/dist/esm/classic/jobs/index.d.ts +43 -0
  220. package/dist/esm/classic/jobs/index.js +48 -0
  221. package/dist/esm/classic/jobs/index.js.map +1 -0
  222. package/dist/esm/classic/operations/index.d.ts +11 -0
  223. package/dist/esm/classic/operations/index.js +14 -0
  224. package/dist/esm/classic/operations/index.js.map +1 -0
  225. package/dist/esm/classic/service/index.d.ts +21 -0
  226. package/dist/esm/classic/service/index.js +19 -0
  227. package/dist/esm/classic/service/index.js.map +1 -0
  228. package/dist/esm/dataBoxManagementClient.d.ts +22 -28
  229. package/dist/esm/dataBoxManagementClient.js +39 -129
  230. package/dist/esm/dataBoxManagementClient.js.map +1 -1
  231. package/dist/esm/index.d.ts +16 -3
  232. package/dist/esm/index.js +7 -11
  233. package/dist/esm/index.js.map +1 -1
  234. package/dist/esm/logger.d.ts +2 -0
  235. package/dist/esm/logger.js +5 -0
  236. package/dist/esm/logger.js.map +1 -0
  237. package/dist/esm/models/index.d.ts +2 -2653
  238. package/dist/esm/models/index.js +3 -273
  239. package/dist/esm/models/index.js.map +1 -1
  240. package/dist/esm/models/models.d.ts +2203 -0
  241. package/dist/esm/models/models.js +2705 -0
  242. package/dist/esm/models/models.js.map +1 -0
  243. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  244. package/dist/esm/restorePollerHelpers.js +96 -0
  245. package/dist/esm/restorePollerHelpers.js.map +1 -0
  246. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  247. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  248. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  249. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  250. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  251. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  252. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  253. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  254. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  255. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  256. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  257. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  258. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  259. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  260. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  261. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  262. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  263. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  264. package/package.json +165 -108
  265. package/CHANGELOG.md +0 -50
  266. package/dist/browser/dataBoxManagementClient.d.ts.map +0 -1
  267. package/dist/browser/index.d.ts.map +0 -1
  268. package/dist/browser/lroImpl.d.ts +0 -11
  269. package/dist/browser/lroImpl.d.ts.map +0 -1
  270. package/dist/browser/lroImpl.js +0 -21
  271. package/dist/browser/lroImpl.js.map +0 -1
  272. package/dist/browser/models/index.d.ts.map +0 -1
  273. package/dist/browser/models/mappers.d.ts +0 -178
  274. package/dist/browser/models/mappers.d.ts.map +0 -1
  275. package/dist/browser/models/mappers.js +0 -4764
  276. package/dist/browser/models/mappers.js.map +0 -1
  277. package/dist/browser/models/parameters.d.ts +0 -24
  278. package/dist/browser/models/parameters.d.ts.map +0 -1
  279. package/dist/browser/models/parameters.js +0 -176
  280. package/dist/browser/models/parameters.js.map +0 -1
  281. package/dist/browser/operations/index.d.ts +0 -4
  282. package/dist/browser/operations/index.d.ts.map +0 -1
  283. package/dist/browser/operations/index.js +0 -11
  284. package/dist/browser/operations/index.js.map +0 -1
  285. package/dist/browser/operations/jobs.d.ts +0 -161
  286. package/dist/browser/operations/jobs.d.ts.map +0 -1
  287. package/dist/browser/operations/jobs.js +0 -724
  288. package/dist/browser/operations/jobs.js.map +0 -1
  289. package/dist/browser/operations/operations.d.ts +0 -32
  290. package/dist/browser/operations/operations.d.ts.map +0 -1
  291. package/dist/browser/operations/operations.js +0 -133
  292. package/dist/browser/operations/operations.js.map +0 -1
  293. package/dist/browser/operations/service.d.ts +0 -83
  294. package/dist/browser/operations/service.d.ts.map +0 -1
  295. package/dist/browser/operations/service.js +0 -320
  296. package/dist/browser/operations/service.js.map +0 -1
  297. package/dist/browser/operationsInterfaces/index.d.ts +0 -4
  298. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  299. package/dist/browser/operationsInterfaces/index.js +0 -11
  300. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  301. package/dist/browser/operationsInterfaces/jobs.d.ts +0 -115
  302. package/dist/browser/operationsInterfaces/jobs.d.ts.map +0 -1
  303. package/dist/browser/operationsInterfaces/jobs.js +0 -9
  304. package/dist/browser/operationsInterfaces/jobs.js.map +0 -1
  305. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  306. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  307. package/dist/browser/operationsInterfaces/operations.js +0 -9
  308. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  309. package/dist/browser/operationsInterfaces/service.d.ts +0 -54
  310. package/dist/browser/operationsInterfaces/service.d.ts.map +0 -1
  311. package/dist/browser/operationsInterfaces/service.js +0 -9
  312. package/dist/browser/operationsInterfaces/service.js.map +0 -1
  313. package/dist/browser/pagingHelper.d.ts +0 -13
  314. package/dist/browser/pagingHelper.d.ts.map +0 -1
  315. package/dist/browser/pagingHelper.js +0 -32
  316. package/dist/browser/pagingHelper.js.map +0 -1
  317. package/dist/commonjs/dataBoxManagementClient.d.ts.map +0 -1
  318. package/dist/commonjs/index.d.ts.map +0 -1
  319. package/dist/commonjs/lroImpl.d.ts +0 -11
  320. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  321. package/dist/commonjs/lroImpl.js +0 -24
  322. package/dist/commonjs/lroImpl.js.map +0 -1
  323. package/dist/commonjs/models/index.d.ts.map +0 -1
  324. package/dist/commonjs/models/mappers.d.ts +0 -178
  325. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  326. package/dist/commonjs/models/mappers.js +0 -4769
  327. package/dist/commonjs/models/mappers.js.map +0 -1
  328. package/dist/commonjs/models/parameters.d.ts +0 -24
  329. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  330. package/dist/commonjs/models/parameters.js +0 -179
  331. package/dist/commonjs/models/parameters.js.map +0 -1
  332. package/dist/commonjs/operations/index.d.ts +0 -4
  333. package/dist/commonjs/operations/index.d.ts.map +0 -1
  334. package/dist/commonjs/operations/index.js +0 -14
  335. package/dist/commonjs/operations/index.js.map +0 -1
  336. package/dist/commonjs/operations/jobs.d.ts +0 -161
  337. package/dist/commonjs/operations/jobs.d.ts.map +0 -1
  338. package/dist/commonjs/operations/jobs.js +0 -728
  339. package/dist/commonjs/operations/jobs.js.map +0 -1
  340. package/dist/commonjs/operations/operations.d.ts +0 -32
  341. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  342. package/dist/commonjs/operations/operations.js +0 -137
  343. package/dist/commonjs/operations/operations.js.map +0 -1
  344. package/dist/commonjs/operations/service.d.ts +0 -83
  345. package/dist/commonjs/operations/service.d.ts.map +0 -1
  346. package/dist/commonjs/operations/service.js +0 -324
  347. package/dist/commonjs/operations/service.js.map +0 -1
  348. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -4
  349. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  350. package/dist/commonjs/operationsInterfaces/index.js +0 -14
  351. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  352. package/dist/commonjs/operationsInterfaces/jobs.d.ts +0 -115
  353. package/dist/commonjs/operationsInterfaces/jobs.d.ts.map +0 -1
  354. package/dist/commonjs/operationsInterfaces/jobs.js +0 -10
  355. package/dist/commonjs/operationsInterfaces/jobs.js.map +0 -1
  356. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  357. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  358. package/dist/commonjs/operationsInterfaces/operations.js +0 -10
  359. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
  360. package/dist/commonjs/operationsInterfaces/service.d.ts +0 -54
  361. package/dist/commonjs/operationsInterfaces/service.d.ts.map +0 -1
  362. package/dist/commonjs/operationsInterfaces/service.js +0 -10
  363. package/dist/commonjs/operationsInterfaces/service.js.map +0 -1
  364. package/dist/commonjs/pagingHelper.d.ts +0 -13
  365. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  366. package/dist/commonjs/pagingHelper.js +0 -36
  367. package/dist/commonjs/pagingHelper.js.map +0 -1
  368. package/dist/esm/dataBoxManagementClient.d.ts.map +0 -1
  369. package/dist/esm/index.d.ts.map +0 -1
  370. package/dist/esm/lroImpl.d.ts +0 -11
  371. package/dist/esm/lroImpl.d.ts.map +0 -1
  372. package/dist/esm/lroImpl.js +0 -21
  373. package/dist/esm/lroImpl.js.map +0 -1
  374. package/dist/esm/models/index.d.ts.map +0 -1
  375. package/dist/esm/models/mappers.d.ts +0 -178
  376. package/dist/esm/models/mappers.d.ts.map +0 -1
  377. package/dist/esm/models/mappers.js +0 -4764
  378. package/dist/esm/models/mappers.js.map +0 -1
  379. package/dist/esm/models/parameters.d.ts +0 -24
  380. package/dist/esm/models/parameters.d.ts.map +0 -1
  381. package/dist/esm/models/parameters.js +0 -176
  382. package/dist/esm/models/parameters.js.map +0 -1
  383. package/dist/esm/operations/index.d.ts +0 -4
  384. package/dist/esm/operations/index.d.ts.map +0 -1
  385. package/dist/esm/operations/index.js +0 -11
  386. package/dist/esm/operations/index.js.map +0 -1
  387. package/dist/esm/operations/jobs.d.ts +0 -161
  388. package/dist/esm/operations/jobs.d.ts.map +0 -1
  389. package/dist/esm/operations/jobs.js +0 -724
  390. package/dist/esm/operations/jobs.js.map +0 -1
  391. package/dist/esm/operations/operations.d.ts +0 -32
  392. package/dist/esm/operations/operations.d.ts.map +0 -1
  393. package/dist/esm/operations/operations.js +0 -133
  394. package/dist/esm/operations/operations.js.map +0 -1
  395. package/dist/esm/operations/service.d.ts +0 -83
  396. package/dist/esm/operations/service.d.ts.map +0 -1
  397. package/dist/esm/operations/service.js +0 -320
  398. package/dist/esm/operations/service.js.map +0 -1
  399. package/dist/esm/operationsInterfaces/index.d.ts +0 -4
  400. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  401. package/dist/esm/operationsInterfaces/index.js +0 -11
  402. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  403. package/dist/esm/operationsInterfaces/jobs.d.ts +0 -115
  404. package/dist/esm/operationsInterfaces/jobs.d.ts.map +0 -1
  405. package/dist/esm/operationsInterfaces/jobs.js +0 -9
  406. package/dist/esm/operationsInterfaces/jobs.js.map +0 -1
  407. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  408. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  409. package/dist/esm/operationsInterfaces/operations.js +0 -9
  410. package/dist/esm/operationsInterfaces/operations.js.map +0 -1
  411. package/dist/esm/operationsInterfaces/service.d.ts +0 -54
  412. package/dist/esm/operationsInterfaces/service.d.ts.map +0 -1
  413. package/dist/esm/operationsInterfaces/service.js +0 -9
  414. package/dist/esm/operationsInterfaces/service.js.map +0 -1
  415. package/dist/esm/pagingHelper.d.ts +0 -13
  416. package/dist/esm/pagingHelper.d.ts.map +0 -1
  417. package/dist/esm/pagingHelper.js +0 -32
  418. package/dist/esm/pagingHelper.js.map +0 -1
  419. package/dist/react-native/dataBoxManagementClient.d.ts +0 -31
  420. package/dist/react-native/dataBoxManagementClient.d.ts.map +0 -1
  421. package/dist/react-native/dataBoxManagementClient.js +0 -135
  422. package/dist/react-native/dataBoxManagementClient.js.map +0 -1
  423. package/dist/react-native/index.d.ts +0 -5
  424. package/dist/react-native/index.d.ts.map +0 -1
  425. package/dist/react-native/index.js +0 -13
  426. package/dist/react-native/index.js.map +0 -1
  427. package/dist/react-native/lroImpl.d.ts +0 -11
  428. package/dist/react-native/lroImpl.d.ts.map +0 -1
  429. package/dist/react-native/lroImpl.js +0 -21
  430. package/dist/react-native/lroImpl.js.map +0 -1
  431. package/dist/react-native/models/index.d.ts.map +0 -1
  432. package/dist/react-native/models/index.js +0 -274
  433. package/dist/react-native/models/index.js.map +0 -1
  434. package/dist/react-native/models/mappers.d.ts +0 -178
  435. package/dist/react-native/models/mappers.d.ts.map +0 -1
  436. package/dist/react-native/models/mappers.js +0 -4764
  437. package/dist/react-native/models/mappers.js.map +0 -1
  438. package/dist/react-native/models/parameters.d.ts +0 -24
  439. package/dist/react-native/models/parameters.d.ts.map +0 -1
  440. package/dist/react-native/models/parameters.js +0 -176
  441. package/dist/react-native/models/parameters.js.map +0 -1
  442. package/dist/react-native/operations/index.d.ts +0 -4
  443. package/dist/react-native/operations/index.d.ts.map +0 -1
  444. package/dist/react-native/operations/index.js +0 -11
  445. package/dist/react-native/operations/index.js.map +0 -1
  446. package/dist/react-native/operations/jobs.d.ts +0 -161
  447. package/dist/react-native/operations/jobs.d.ts.map +0 -1
  448. package/dist/react-native/operations/jobs.js +0 -724
  449. package/dist/react-native/operations/jobs.js.map +0 -1
  450. package/dist/react-native/operations/operations.d.ts +0 -32
  451. package/dist/react-native/operations/operations.d.ts.map +0 -1
  452. package/dist/react-native/operations/operations.js +0 -133
  453. package/dist/react-native/operations/operations.js.map +0 -1
  454. package/dist/react-native/operations/service.d.ts +0 -83
  455. package/dist/react-native/operations/service.d.ts.map +0 -1
  456. package/dist/react-native/operations/service.js +0 -320
  457. package/dist/react-native/operations/service.js.map +0 -1
  458. package/dist/react-native/operationsInterfaces/index.d.ts +0 -4
  459. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  460. package/dist/react-native/operationsInterfaces/index.js +0 -11
  461. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  462. package/dist/react-native/operationsInterfaces/jobs.d.ts +0 -115
  463. package/dist/react-native/operationsInterfaces/jobs.d.ts.map +0 -1
  464. package/dist/react-native/operationsInterfaces/jobs.js +0 -9
  465. package/dist/react-native/operationsInterfaces/jobs.js.map +0 -1
  466. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  467. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  468. package/dist/react-native/operationsInterfaces/operations.js +0 -9
  469. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  470. package/dist/react-native/operationsInterfaces/service.d.ts +0 -54
  471. package/dist/react-native/operationsInterfaces/service.d.ts.map +0 -1
  472. package/dist/react-native/operationsInterfaces/service.js +0 -9
  473. package/dist/react-native/operationsInterfaces/service.js.map +0 -1
  474. package/dist/react-native/package.json +0 -3
  475. package/dist/react-native/pagingHelper.d.ts +0 -13
  476. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  477. package/dist/react-native/pagingHelper.js +0 -32
  478. package/dist/react-native/pagingHelper.js.map +0 -1
  479. package/review/arm-databox.api.md +0 -1514
@@ -1,49 +1,67 @@
1
- import * as coreClient from "@azure/core-client";
2
- export type JobDetailsUnion = JobDetails | DataBoxCustomerDiskJobDetails | DataBoxDiskJobDetails | DataBoxHeavyJobDetails | DataBoxJobDetails;
3
- export type DataAccountDetailsUnion = DataAccountDetails | ManagedDiskDetails | StorageAccountDetails;
4
- export type CopyLogDetailsUnion = CopyLogDetails | DataBoxAccountCopyLogDetails | DataBoxCustomerDiskCopyLogDetails | DataBoxDiskCopyLogDetails | DataBoxHeavyAccountCopyLogDetails;
5
- export type DatacenterAddressResponseUnion = DatacenterAddressResponse | DatacenterAddressInstructionResponse | DatacenterAddressLocationResponse;
6
- export type ValidationInputRequestUnion = ValidationInputRequest | ValidateAddress | CreateOrderLimitForSubscriptionValidationRequest | DataTransferDetailsValidationRequest | PreferencesValidationRequest | SkuAvailabilityValidationRequest | SubscriptionIsAllowedToCreateJobValidationRequest;
7
- export type ValidationInputResponseUnion = ValidationInputResponse | AddressValidationProperties | CreateOrderLimitForSubscriptionValidationResponseProperties | DataTransferDetailsValidationResponseProperties | PreferencesValidationResponseProperties | SkuAvailabilityValidationResponseProperties | SubscriptionIsAllowedToCreateJobValidationResponseProperties;
8
- export type ValidationRequestUnion = ValidationRequest | CreateJobValidations;
9
- export type JobSecretsUnion = JobSecrets | CustomerDiskJobSecrets | DataBoxDiskJobSecrets | DataBoxHeavyJobSecrets | DataboxJobSecrets;
10
- export type ScheduleAvailabilityRequestUnion = ScheduleAvailabilityRequest | DataBoxScheduleAvailabilityRequest | DiskScheduleAvailabilityRequest | HeavyScheduleAvailabilityRequest;
11
- export type GranularCopyLogDetailsUnion = GranularCopyLogDetails | DataBoxDiskGranularCopyLogDetails;
12
- /** Operation Collection. */
13
- export interface OperationList {
14
- /**
15
- * List of operations.
16
- * NOTE: This property will not be serialized. It can only be populated by the server.
17
- */
1
+ /**
2
+ * This file contains only generated model types and their (de)serializers.
3
+ * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
4
+ */
5
+ /** The Mitigate Job captured from request body for Mitigate API */
6
+ export interface MitigateJobRequest {
7
+ /** Resolution code for the job */
8
+ customerResolutionCode?: CustomerResolutionCode;
9
+ /** Serial number and the customer resolution code corresponding to each serial number */
10
+ serialNumberCustomerResolutionMap?: Record<string, CustomerResolutionCode>;
11
+ }
12
+ export declare function mitigateJobRequestSerializer(item: MitigateJobRequest): any;
13
+ /** Resolution code provided by customer. */
14
+ export type CustomerResolutionCode = "None" | "MoveToCleanUpDevice" | "Resume" | "Restart" | "ReachOutToOperation";
15
+ /** model interface ApiError */
16
+ export interface ApiError {
17
+ /** The error detail. */
18
+ error: ErrorDetail;
19
+ }
20
+ export declare function apiErrorDeserializer(item: any): ApiError;
21
+ /** model interface ErrorDetail */
22
+ export interface ErrorDetail {
23
+ /** Error code. */
24
+ code: string;
25
+ /** Error message. */
26
+ message: string;
27
+ /** Error target. */
28
+ details?: Details[];
29
+ /** Additional error info. */
30
+ target?: string;
31
+ }
32
+ export declare function errorDetailDeserializer(item: any): ErrorDetail;
33
+ export declare function detailsArrayDeserializer(result: Array<Details>): any[];
34
+ /** model interface Details */
35
+ export interface Details {
36
+ /** Error code. */
37
+ code: string;
38
+ /** Error message. */
39
+ message: string;
40
+ }
41
+ export declare function detailsDeserializer(item: any): Details;
42
+ /** The paginated list of connected cluster API operations. */
43
+ export interface _OperationList {
44
+ /** The list of connected cluster API operations. */
18
45
  readonly value?: Operation[];
19
- /** Link for the next set of operations. */
46
+ /** The link to fetch the next page of connected cluster API operations. */
20
47
  nextLink?: string;
21
48
  }
49
+ export declare function _operationListDeserializer(item: any): _OperationList;
50
+ export declare function operationArrayDeserializer(result: Array<Operation>): any[];
22
51
  /** Operation entity. */
23
52
  export interface Operation {
24
- /**
25
- * Name of the operation. Format: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action}
26
- * NOTE: This property will not be serialized. It can only be populated by the server.
27
- */
53
+ /** Name of the operation. Format: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action} */
28
54
  readonly name?: string;
29
- /**
30
- * Operation display values.
31
- * NOTE: This property will not be serialized. It can only be populated by the server.
32
- */
55
+ /** Operation display values. */
33
56
  readonly display?: OperationDisplay;
34
- /**
35
- * Operation properties.
36
- * NOTE: This property will not be serialized. It can only be populated by the server.
37
- */
38
- readonly properties?: Record<string, unknown>;
39
- /**
40
- * Origin of the operation. Can be : user|system|user,system
41
- * NOTE: This property will not be serialized. It can only be populated by the server.
42
- */
57
+ /** Operation properties. */
58
+ readonly properties?: Record<string, any>;
59
+ /** Origin of the operation. Can be : user|system|user,system */
43
60
  readonly origin?: string;
44
61
  /** Indicates whether the operation is a data action */
45
62
  isDataAction?: boolean;
46
63
  }
64
+ export declare function operationDeserializer(item: any): Operation;
47
65
  /** Operation display */
48
66
  export interface OperationDisplay {
49
67
  /** Provider name. */
@@ -55,189 +73,314 @@ export interface OperationDisplay {
55
73
  /** Localized description of the operation for display purpose. */
56
74
  description?: string;
57
75
  }
58
- export interface ApiError {
59
- error: ErrorDetail;
60
- }
61
- export interface ErrorDetail {
62
- code: string;
63
- message: string;
64
- details?: Details[];
65
- target?: string;
76
+ export declare function operationDisplayDeserializer(item: any): OperationDisplay;
77
+ /** Job Resource. */
78
+ export interface JobResource extends TrackedResource {
79
+ /** The sku type. */
80
+ sku: Sku;
81
+ /** Msi identity of the resource */
82
+ identity?: ResourceIdentity;
83
+ /** Type of the data transfer. */
84
+ transferType: TransferType;
85
+ /** Describes whether the job is cancellable or not. */
86
+ readonly isCancellable?: boolean;
87
+ /** Describes whether the job is deletable or not. */
88
+ readonly isDeletable?: boolean;
89
+ /** Describes whether the shipping address is editable or not. */
90
+ readonly isShippingAddressEditable?: boolean;
91
+ /** The Editable status for Reverse Shipping Address and Contact Info */
92
+ readonly reverseShippingDetailsUpdate?: ReverseShippingDetailsEditStatus;
93
+ /** The Editable status for Reverse Transport preferences */
94
+ readonly reverseTransportPreferenceUpdate?: ReverseTransportPreferenceEditStatus;
95
+ /** Is Prepare To Ship Enabled on this job */
96
+ readonly isPrepareToShipEnabled?: boolean;
97
+ /** Name of the stage which is in progress. */
98
+ readonly status?: StageName;
99
+ /** Name of the stage where delay might be present. */
100
+ readonly delayedStage?: StageName;
101
+ /** Time at which the job was started in UTC ISO 8601 format. */
102
+ readonly startTime?: Date;
103
+ /** Top level error for the job. */
104
+ readonly error?: CloudError;
105
+ /** Details of a job run. This field will only be sent for expand details filter. */
106
+ details?: JobDetailsUnion;
107
+ /** Reason for cancellation. */
108
+ readonly cancellationReason?: string;
109
+ /** Delivery type of Job. */
110
+ deliveryType?: JobDeliveryType;
111
+ /** Delivery Info of Job. */
112
+ deliveryInfo?: JobDeliveryInfo;
113
+ /** Flag to indicate cancellation of scheduled job. */
114
+ readonly isCancellableWithoutFee?: boolean;
115
+ /** Flag to indicate if all devices associated with the job are lost. */
116
+ readonly allDevicesLost?: boolean;
66
117
  }
67
- export interface Details {
68
- code: string;
69
- message: string;
118
+ export declare function jobResourceSerializer(item: JobResource): any;
119
+ export declare function jobResourceDeserializer(item: any): JobResource;
120
+ /** Job Properties */
121
+ export interface JobProperties {
122
+ /** Type of the data transfer. */
123
+ transferType: TransferType;
124
+ /** Describes whether the job is cancellable or not. */
125
+ readonly isCancellable?: boolean;
126
+ /** Describes whether the job is deletable or not. */
127
+ readonly isDeletable?: boolean;
128
+ /** Describes whether the shipping address is editable or not. */
129
+ readonly isShippingAddressEditable?: boolean;
130
+ /** The Editable status for Reverse Shipping Address and Contact Info */
131
+ readonly reverseShippingDetailsUpdate?: ReverseShippingDetailsEditStatus;
132
+ /** The Editable status for Reverse Transport preferences */
133
+ readonly reverseTransportPreferenceUpdate?: ReverseTransportPreferenceEditStatus;
134
+ /** Is Prepare To Ship Enabled on this job */
135
+ readonly isPrepareToShipEnabled?: boolean;
136
+ /** Name of the stage which is in progress. */
137
+ readonly status?: StageName;
138
+ /** Name of the stage where delay might be present. */
139
+ readonly delayedStage?: StageName;
140
+ /** Time at which the job was started in UTC ISO 8601 format. */
141
+ readonly startTime?: Date;
142
+ /** Top level error for the job. */
143
+ readonly error?: CloudError;
144
+ /** Details of a job run. This field will only be sent for expand details filter. */
145
+ details?: JobDetailsUnion;
146
+ /** Reason for cancellation. */
147
+ readonly cancellationReason?: string;
148
+ /** Delivery type of Job. */
149
+ deliveryType?: JobDeliveryType;
150
+ /** Delivery Info of Job. */
151
+ deliveryInfo?: JobDeliveryInfo;
152
+ /** Flag to indicate cancellation of scheduled job. */
153
+ readonly isCancellableWithoutFee?: boolean;
154
+ /** Flag to indicate if all devices associated with the job are lost. */
155
+ readonly allDevicesLost?: boolean;
70
156
  }
71
- /** Job Resource Collection */
72
- export interface JobResourceList {
73
- /** List of job resources. */
74
- value?: JobResource[];
75
- /** Link for the next set of job resources. */
76
- nextLink?: string;
157
+ export declare function jobPropertiesSerializer(item: JobProperties): any;
158
+ export declare function jobPropertiesDeserializer(item: any): JobProperties;
159
+ /** Type of the transfer. */
160
+ export type TransferType = "ImportToAzure" | "ExportFromAzure";
161
+ /** The Editable status for Reverse Shipping Address and Contact Info */
162
+ export type ReverseShippingDetailsEditStatus = "Enabled" | "Disabled" | "NotSupported";
163
+ /** The Editable status for Reverse Transport preferences */
164
+ export type ReverseTransportPreferenceEditStatus = "Enabled" | "Disabled" | "NotSupported";
165
+ /** Name of the stage which is in progress. */
166
+ export declare enum KnownStageName {
167
+ /** An order has been created. */
168
+ DeviceOrdered = "DeviceOrdered",
169
+ /** A device has been prepared for the order. */
170
+ DevicePrepared = "DevicePrepared",
171
+ /** Device has been dispatched to the user of the order. */
172
+ Dispatched = "Dispatched",
173
+ /** Device has been delivered to the user of the order. */
174
+ Delivered = "Delivered",
175
+ /** Device has been picked up from user and in transit to Azure datacenter. */
176
+ PickedUp = "PickedUp",
177
+ /** Device has been received at Azure datacenter from the user. */
178
+ AtAzureDC = "AtAzureDC",
179
+ /** Data copy from the device at Azure datacenter. */
180
+ DataCopy = "DataCopy",
181
+ /** Order has completed. */
182
+ Completed = "Completed",
183
+ /** Order has completed with errors. */
184
+ CompletedWithErrors = "CompletedWithErrors",
185
+ /** Order has been cancelled. */
186
+ Cancelled = "Cancelled",
187
+ /** Order has failed due to issue reported by user. */
188
+ FailedIssueReportedAtCustomer = "Failed_IssueReportedAtCustomer",
189
+ /** Order has failed due to issue detected at Azure datacenter. */
190
+ FailedIssueDetectedAtAzureDC = "Failed_IssueDetectedAtAzureDC",
191
+ /** Order has been aborted. */
192
+ Aborted = "Aborted",
193
+ /** Order has completed with warnings. */
194
+ CompletedWithWarnings = "CompletedWithWarnings",
195
+ /** Device is ready to be handed to customer from Azure DC. */
196
+ ReadyToDispatchFromAzureDC = "ReadyToDispatchFromAzureDC",
197
+ /** Device can be dropped off at Azure DC. */
198
+ ReadyToReceiveAtAzureDC = "ReadyToReceiveAtAzureDC",
199
+ /** Job created by the customer. */
200
+ Created = "Created",
201
+ /** User shipped the device to AzureDC. */
202
+ ShippedToAzureDC = "ShippedToAzureDC",
203
+ /** Awaiting shipment details of device from customer. */
204
+ AwaitingShipmentDetails = "AwaitingShipmentDetails",
205
+ /** Preparing the device to ship to customer. */
206
+ PreparingToShipFromAzureDC = "PreparingToShipFromAzureDC",
207
+ /** Shipped the device to customer. */
208
+ ShippedToCustomer = "ShippedToCustomer"
77
209
  }
210
+ /**
211
+ * Name of the stage which is in progress. \
212
+ * {@link KnownStageName} can be used interchangeably with StageName,
213
+ * this enum contains the known values that the service supports.
214
+ * ### Known values supported by the service
215
+ * **DeviceOrdered**: An order has been created. \
216
+ * **DevicePrepared**: A device has been prepared for the order. \
217
+ * **Dispatched**: Device has been dispatched to the user of the order. \
218
+ * **Delivered**: Device has been delivered to the user of the order. \
219
+ * **PickedUp**: Device has been picked up from user and in transit to Azure datacenter. \
220
+ * **AtAzureDC**: Device has been received at Azure datacenter from the user. \
221
+ * **DataCopy**: Data copy from the device at Azure datacenter. \
222
+ * **Completed**: Order has completed. \
223
+ * **CompletedWithErrors**: Order has completed with errors. \
224
+ * **Cancelled**: Order has been cancelled. \
225
+ * **Failed_IssueReportedAtCustomer**: Order has failed due to issue reported by user. \
226
+ * **Failed_IssueDetectedAtAzureDC**: Order has failed due to issue detected at Azure datacenter. \
227
+ * **Aborted**: Order has been aborted. \
228
+ * **CompletedWithWarnings**: Order has completed with warnings. \
229
+ * **ReadyToDispatchFromAzureDC**: Device is ready to be handed to customer from Azure DC. \
230
+ * **ReadyToReceiveAtAzureDC**: Device can be dropped off at Azure DC. \
231
+ * **Created**: Job created by the customer. \
232
+ * **ShippedToAzureDC**: User shipped the device to AzureDC. \
233
+ * **AwaitingShipmentDetails**: Awaiting shipment details of device from customer. \
234
+ * **PreparingToShipFromAzureDC**: Preparing the device to ship to customer. \
235
+ * **ShippedToCustomer**: Shipped the device to customer.
236
+ */
237
+ export type StageName = string;
78
238
  /** Provides additional information about an http error response. */
79
239
  export interface CloudError {
80
- /**
81
- * Gets or sets additional error info.
82
- * NOTE: This property will not be serialized. It can only be populated by the server.
83
- */
240
+ /** Gets or sets additional error info. */
84
241
  readonly additionalInfo?: AdditionalErrorInfo[];
85
242
  /** Error code. */
86
243
  code?: string;
87
- /**
88
- * Gets or sets details for the error.
89
- * NOTE: This property will not be serialized. It can only be populated by the server.
90
- */
244
+ /** Gets or sets details for the error. */
91
245
  readonly details?: CloudError[];
92
246
  /** The error message parsed from the body of the http error response. */
93
247
  message?: string;
94
248
  /** Gets or sets the target of the error. */
95
249
  target?: string;
96
250
  }
251
+ export declare function cloudErrorDeserializer(item: any): CloudError;
252
+ export declare function additionalErrorInfoArrayDeserializer(result: Array<AdditionalErrorInfo>): any[];
97
253
  /** This class represents additional info which Resource Providers pass when an error occurs. */
98
254
  export interface AdditionalErrorInfo {
99
255
  /** Additional information of the type of error. */
100
- info?: Record<string, unknown>;
256
+ info?: Record<string, any>;
101
257
  /** Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation). */
102
258
  type?: string;
103
259
  }
260
+ export declare function additionalErrorInfoDeserializer(item: any): AdditionalErrorInfo;
261
+ export declare function cloudErrorArrayDeserializer(result: Array<CloudError>): any[];
104
262
  /** Job details. */
105
263
  export interface JobDetails {
106
- /** Polymorphic discriminator, which specifies the different types this object can be */
107
- jobDetailsType: "DataBoxCustomerDisk" | "DataBoxDisk" | "DataBoxHeavy" | "DataBox";
108
- /**
109
- * List of stages that run in the job.
110
- * NOTE: This property will not be serialized. It can only be populated by the server.
111
- */
264
+ /** List of stages that run in the job. */
112
265
  readonly jobStages?: JobStages[];
113
266
  /** Contact details for notification and shipping. */
114
267
  contactDetails: ContactDetails;
115
268
  /** Shipping address of the customer. */
116
269
  shippingAddress?: ShippingAddress;
117
- /**
118
- * Delivery package shipping details.
119
- * NOTE: This property will not be serialized. It can only be populated by the server.
120
- */
270
+ /** Delivery package shipping details. */
121
271
  readonly deliveryPackage?: PackageShippingDetails;
122
- /**
123
- * Return package shipping details.
124
- * NOTE: This property will not be serialized. It can only be populated by the server.
125
- */
272
+ /** Return package shipping details. */
126
273
  readonly returnPackage?: PackageShippingDetails;
127
274
  /** Details of the data to be imported into azure. */
128
275
  dataImportDetails?: DataImportDetails[];
129
276
  /** Details of the data to be exported from azure. */
130
277
  dataExportDetails?: DataExportDetails[];
278
+ /** Indicates the type of job details. */
279
+ /** The discriminator possible values: DataBoxCustomerDisk, DataBoxDisk, DataBoxHeavy, DataBox */
280
+ jobDetailsType: ClassDiscriminator;
131
281
  /** Preferences for the order. */
132
282
  preferences?: Preferences;
133
283
  /** Optional Reverse Shipping details for order. */
134
284
  reverseShippingDetails?: ReverseShippingDetails;
135
- /**
136
- * List of copy log details.
137
- * NOTE: This property will not be serialized. It can only be populated by the server.
138
- */
285
+ /** List of copy log details. */
139
286
  readonly copyLogDetails?: CopyLogDetailsUnion[];
140
- /**
141
- * Shared access key to download the return shipment label
142
- * NOTE: This property will not be serialized. It can only be populated by the server.
143
- */
287
+ /** Shared access key to download the return shipment label */
144
288
  readonly reverseShipmentLabelSasKey?: string;
145
- /**
146
- * Shared access key to download the chain of custody logs
147
- * NOTE: This property will not be serialized. It can only be populated by the server.
148
- */
289
+ /** Shared access key to download the chain of custody logs */
149
290
  readonly chainOfCustodySasKey?: string;
150
- /**
151
- * Holds device data erasure details
152
- * NOTE: This property will not be serialized. It can only be populated by the server.
153
- */
291
+ /** Holds device data erasure details */
154
292
  readonly deviceErasureDetails?: DeviceErasureDetails;
155
293
  /** Details about which key encryption type is being used. */
156
294
  keyEncryptionKey?: KeyEncryptionKey;
157
295
  /** The expected size of the data, which needs to be transferred in this job, in terabytes. */
158
296
  expectedDataSizeInTeraBytes?: number;
159
- /**
160
- * Available actions on the job.
161
- * NOTE: This property will not be serialized. It can only be populated by the server.
162
- */
297
+ /** Available actions on the job. */
163
298
  readonly actions?: CustomerResolutionCode[];
164
- /**
165
- * Last mitigation action performed on the job.
166
- * NOTE: This property will not be serialized. It can only be populated by the server.
167
- */
299
+ /** Last mitigation action performed on the job. */
168
300
  readonly lastMitigationActionOnJob?: LastMitigationActionOnJob;
169
- /**
170
- * Datacenter address to ship to, for the given sku and storage location.
171
- * NOTE: This property will not be serialized. It can only be populated by the server.
172
- */
301
+ /** Datacenter address to ship to, for the given sku and storage location. */
173
302
  readonly datacenterAddress?: DatacenterAddressResponseUnion;
174
- /**
175
- * DataCenter code.
176
- * NOTE: This property will not be serialized. It can only be populated by the server.
177
- */
303
+ /** DataCenter code. */
178
304
  readonly dataCenterCode?: DataCenterCode;
179
305
  }
306
+ export declare function jobDetailsSerializer(item: JobDetails): any;
307
+ export declare function jobDetailsDeserializer(item: any): JobDetails;
308
+ /** Alias for JobDetailsUnion */
309
+ export type JobDetailsUnion = DataBoxCustomerDiskJobDetails | DataBoxDiskJobDetails | DataBoxHeavyJobDetails | DataBoxJobDetails | JobDetails;
310
+ export declare function jobDetailsUnionSerializer(item: JobDetailsUnion): any;
311
+ export declare function jobDetailsUnionDeserializer(item: any): JobDetailsUnion;
312
+ export declare function jobStagesArrayDeserializer(result: Array<JobStages>): any[];
180
313
  /** Job stages. */
181
314
  export interface JobStages {
182
- /**
183
- * Name of the job stage.
184
- * NOTE: This property will not be serialized. It can only be populated by the server.
185
- */
315
+ /** Name of the job stage. */
186
316
  readonly stageName?: StageName;
187
- /**
188
- * Display name of the job stage.
189
- * NOTE: This property will not be serialized. It can only be populated by the server.
190
- */
317
+ /** Display name of the job stage. */
191
318
  readonly displayName?: string;
192
- /**
193
- * Status of the job stage.
194
- * NOTE: This property will not be serialized. It can only be populated by the server.
195
- */
319
+ /** Status of the job stage. */
196
320
  readonly stageStatus?: StageStatus;
197
- /**
198
- * Time for the job stage in UTC ISO 8601 format.
199
- * NOTE: This property will not be serialized. It can only be populated by the server.
200
- */
321
+ /** Time for the job stage in UTC ISO 8601 format. */
201
322
  readonly stageTime?: Date;
202
- /**
203
- * Job Stage Details
204
- * NOTE: This property will not be serialized. It can only be populated by the server.
205
- */
206
- readonly jobStageDetails?: Record<string, unknown>;
207
- /**
208
- * Delay information for the job stages.
209
- * NOTE: This property will not be serialized. It can only be populated by the server.
210
- */
323
+ /** Job Stage Details */
324
+ readonly jobStageDetails?: any;
325
+ /** Delay information for the job stages. */
211
326
  readonly delayInformation?: JobDelayDetails[];
212
327
  }
328
+ export declare function jobStagesDeserializer(item: any): JobStages;
329
+ /** Holds the device erasure completion status */
330
+ export type StageStatus = "None" | "InProgress" | "Succeeded" | "Failed" | "Cancelled" | "Cancelling" | "SucceededWithErrors" | "WaitingForCustomerAction" | "SucceededWithWarnings" | "WaitingForCustomerActionForKek" | "WaitingForCustomerActionForCleanUp" | "CustomerActionPerformedForCleanUp" | "CustomerActionPerformed";
331
+ export declare function jobDelayDetailsArrayDeserializer(result: Array<JobDelayDetails>): any[];
213
332
  /** Job Delay Notification details */
214
333
  export interface JobDelayDetails {
215
- /**
216
- * Status of notification
217
- * NOTE: This property will not be serialized. It can only be populated by the server.
218
- */
334
+ /** Status of notification */
219
335
  readonly status?: DelayNotificationStatus;
220
- /**
221
- * Delay Error code
222
- * NOTE: This property will not be serialized. It can only be populated by the server.
223
- */
336
+ /** Delay Error code */
224
337
  readonly errorCode?: PortalDelayErrorCode;
225
- /**
226
- * Description of the delay.
227
- * NOTE: This property will not be serialized. It can only be populated by the server.
228
- */
338
+ /** Description of the delay. */
229
339
  readonly description?: string;
230
- /**
231
- * Timestamp when the delay notification was created.
232
- * NOTE: This property will not be serialized. It can only be populated by the server.
233
- */
340
+ /** Timestamp when the delay notification was created. */
234
341
  readonly startTime?: Date;
235
- /**
236
- * Timestamp when the delay notification was resolved.
237
- * NOTE: This property will not be serialized. It can only be populated by the server.
238
- */
342
+ /** Timestamp when the delay notification was resolved. */
239
343
  readonly resolutionTime?: Date;
240
344
  }
345
+ export declare function jobDelayDetailsDeserializer(item: any): JobDelayDetails;
346
+ /** Status of notification */
347
+ export declare enum KnownDelayNotificationStatus {
348
+ /** Delay is still active */
349
+ Active = "Active",
350
+ /** Delay has been resolved */
351
+ Resolved = "Resolved"
352
+ }
353
+ /**
354
+ * Status of notification \
355
+ * {@link KnownDelayNotificationStatus} can be used interchangeably with DelayNotificationStatus,
356
+ * this enum contains the known values that the service supports.
357
+ * ### Known values supported by the service
358
+ * **Active**: Delay is still active \
359
+ * **Resolved**: Delay has been resolved
360
+ */
361
+ export type DelayNotificationStatus = string;
362
+ /** Delay Error code */
363
+ export declare enum KnownPortalDelayErrorCode {
364
+ /** Delay due to any internal reasons */
365
+ InternalIssueDelay = "InternalIssueDelay",
366
+ /** Active Order limit breached. */
367
+ ActiveOrderLimitBreachedDelay = "ActiveOrderLimitBreachedDelay",
368
+ /** High demand */
369
+ HighDemandDelay = "HighDemandDelay",
370
+ /** Slow copy due to large number of files */
371
+ LargeNumberOfFilesDelay = "LargeNumberOfFilesDelay"
372
+ }
373
+ /**
374
+ * Delay Error code \
375
+ * {@link KnownPortalDelayErrorCode} can be used interchangeably with PortalDelayErrorCode,
376
+ * this enum contains the known values that the service supports.
377
+ * ### Known values supported by the service
378
+ * **InternalIssueDelay**: Delay due to any internal reasons \
379
+ * **ActiveOrderLimitBreachedDelay**: Active Order limit breached. \
380
+ * **HighDemandDelay**: High demand \
381
+ * **LargeNumberOfFilesDelay**: Slow copy due to large number of files
382
+ */
383
+ export type PortalDelayErrorCode = string;
241
384
  /** Contact Details. */
242
385
  export interface ContactDetails {
243
386
  /** Contact name of the person. */
@@ -253,6 +396,10 @@ export interface ContactDetails {
253
396
  /** Notification preference for a job stage. */
254
397
  notificationPreference?: NotificationPreference[];
255
398
  }
399
+ export declare function contactDetailsSerializer(item: ContactDetails): any;
400
+ export declare function contactDetailsDeserializer(item: any): ContactDetails;
401
+ export declare function notificationPreferenceArraySerializer(result: Array<NotificationPreference>): any[];
402
+ export declare function notificationPreferenceArrayDeserializer(result: Array<NotificationPreference>): any[];
256
403
  /** Notification preference for a job stage. */
257
404
  export interface NotificationPreference {
258
405
  /** Name of the stage. */
@@ -260,9 +407,45 @@ export interface NotificationPreference {
260
407
  /** Notification is required or not. */
261
408
  sendNotification: boolean;
262
409
  }
263
- /** Shipping address where customer wishes to receive the device. */
264
- export interface ShippingAddress {
265
- /** Street Address line 1. */
410
+ export declare function notificationPreferenceSerializer(item: NotificationPreference): any;
411
+ export declare function notificationPreferenceDeserializer(item: any): NotificationPreference;
412
+ /** Name of the stage. */
413
+ export declare enum KnownNotificationStageName {
414
+ /** Notification at device prepared stage. */
415
+ DevicePrepared = "DevicePrepared",
416
+ /** Notification at device dispatched stage. */
417
+ Dispatched = "Dispatched",
418
+ /** Notification at device delivered stage. */
419
+ Delivered = "Delivered",
420
+ /** Notification at device picked up from user stage. */
421
+ PickedUp = "PickedUp",
422
+ /** Notification at device received at Azure datacenter stage. */
423
+ AtAzureDC = "AtAzureDC",
424
+ /** Notification at data copy started stage. */
425
+ DataCopy = "DataCopy",
426
+ /** Notification at job created stage. */
427
+ Created = "Created",
428
+ /** Notification at shipped devices to customer stage. */
429
+ ShippedToCustomer = "ShippedToCustomer"
430
+ }
431
+ /**
432
+ * Name of the stage. \
433
+ * {@link KnownNotificationStageName} can be used interchangeably with NotificationStageName,
434
+ * this enum contains the known values that the service supports.
435
+ * ### Known values supported by the service
436
+ * **DevicePrepared**: Notification at device prepared stage. \
437
+ * **Dispatched**: Notification at device dispatched stage. \
438
+ * **Delivered**: Notification at device delivered stage. \
439
+ * **PickedUp**: Notification at device picked up from user stage. \
440
+ * **AtAzureDC**: Notification at device received at Azure datacenter stage. \
441
+ * **DataCopy**: Notification at data copy started stage. \
442
+ * **Created**: Notification at job created stage. \
443
+ * **ShippedToCustomer**: Notification at shipped devices to customer stage.
444
+ */
445
+ export type NotificationStageName = string;
446
+ /** Shipping address where customer wishes to receive the device. */
447
+ export interface ShippingAddress {
448
+ /** Street Address line 1. */
266
449
  streetAddress1: string;
267
450
  /** Street Address line 2. */
268
451
  streetAddress2?: string;
@@ -287,24 +470,22 @@ export interface ShippingAddress {
287
470
  /** Tax Identification Number */
288
471
  taxIdentificationNumber?: string;
289
472
  }
473
+ export declare function shippingAddressSerializer(item: ShippingAddress): any;
474
+ export declare function shippingAddressDeserializer(item: any): ShippingAddress;
475
+ /** Type of address. */
476
+ export type AddressType = "None" | "Residential" | "Commercial";
290
477
  /** package shipping details */
291
478
  export interface PackageShippingDetails {
292
- /**
293
- * Url where shipment can be tracked.
294
- * NOTE: This property will not be serialized. It can only be populated by the server.
295
- */
479
+ /** Url where shipment can be tracked. */
296
480
  readonly trackingUrl?: string;
297
- /**
298
- * Name of the carrier.
299
- * NOTE: This property will not be serialized. It can only be populated by the server.
300
- */
481
+ /** Name of the carrier. */
301
482
  readonly carrierName?: string;
302
- /**
303
- * Tracking Id of shipment.
304
- * NOTE: This property will not be serialized. It can only be populated by the server.
305
- */
483
+ /** Tracking Id of shipment. */
306
484
  readonly trackingId?: string;
307
485
  }
486
+ export declare function packageShippingDetailsDeserializer(item: any): PackageShippingDetails;
487
+ export declare function dataImportDetailsArraySerializer(result: Array<DataImportDetails>): any[];
488
+ export declare function dataImportDetailsArrayDeserializer(result: Array<DataImportDetails>): any[];
308
489
  /** Details of the data to be used for importing data to azure. */
309
490
  export interface DataImportDetails {
310
491
  /** Account details of the data to be transferred */
@@ -312,13 +493,48 @@ export interface DataImportDetails {
312
493
  /** Level of the logs to be collected. */
313
494
  logCollectionLevel?: LogCollectionLevel;
314
495
  }
496
+ export declare function dataImportDetailsSerializer(item: DataImportDetails): any;
497
+ export declare function dataImportDetailsDeserializer(item: any): DataImportDetails;
315
498
  /** Account details of the data to be transferred */
316
499
  export interface DataAccountDetails {
317
- /** Polymorphic discriminator, which specifies the different types this object can be */
318
- dataAccountType: "ManagedDisk" | "StorageAccount";
500
+ /** Account Type of the data to be transferred. */
501
+ /** The discriminator possible values: ManagedDisk, StorageAccount */
502
+ dataAccountType: DataAccountType;
319
503
  /** Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */
320
504
  sharePassword?: string;
321
505
  }
506
+ export declare function dataAccountDetailsSerializer(item: DataAccountDetails): any;
507
+ export declare function dataAccountDetailsDeserializer(item: any): DataAccountDetails;
508
+ /** Alias for DataAccountDetailsUnion */
509
+ export type DataAccountDetailsUnion = ManagedDiskDetails | StorageAccountDetails | DataAccountDetails;
510
+ export declare function dataAccountDetailsUnionSerializer(item: DataAccountDetailsUnion): any;
511
+ export declare function dataAccountDetailsUnionDeserializer(item: any): DataAccountDetailsUnion;
512
+ /** Type of the account. */
513
+ export type DataAccountType = "StorageAccount" | "ManagedDisk";
514
+ /** Details of the managed disks. */
515
+ export interface ManagedDiskDetails extends DataAccountDetails {
516
+ /** Resource Group Id of the compute disks. */
517
+ resourceGroupId: string;
518
+ /** Resource Id of the storage account that can be used to copy the vhd for staging. */
519
+ stagingStorageAccountId: string;
520
+ /** Account Type of the data to be transferred. */
521
+ dataAccountType: "ManagedDisk";
522
+ }
523
+ export declare function managedDiskDetailsSerializer(item: ManagedDiskDetails): any;
524
+ export declare function managedDiskDetailsDeserializer(item: any): ManagedDiskDetails;
525
+ /** Details for the storage account. */
526
+ export interface StorageAccountDetails extends DataAccountDetails {
527
+ /** Storage Account Resource Id. */
528
+ storageAccountId: string;
529
+ /** Account Type of the data to be transferred. */
530
+ dataAccountType: "StorageAccount";
531
+ }
532
+ export declare function storageAccountDetailsSerializer(item: StorageAccountDetails): any;
533
+ export declare function storageAccountDetailsDeserializer(item: any): StorageAccountDetails;
534
+ /** Level of the logs to be collected. */
535
+ export type LogCollectionLevel = "Error" | "Verbose";
536
+ export declare function dataExportDetailsArraySerializer(result: Array<DataExportDetails>): any[];
537
+ export declare function dataExportDetailsArrayDeserializer(result: Array<DataExportDetails>): any[];
322
538
  /** Details of the data to be used for exporting data from azure. */
323
539
  export interface DataExportDetails {
324
540
  /** Configuration for the data transfer. */
@@ -328,6 +544,8 @@ export interface DataExportDetails {
328
544
  /** Account details of the data to be transferred */
329
545
  accountDetails: DataAccountDetailsUnion;
330
546
  }
547
+ export declare function dataExportDetailsSerializer(item: DataExportDetails): any;
548
+ export declare function dataExportDetailsDeserializer(item: any): DataExportDetails;
331
549
  /** Configuration for defining the transfer of data. */
332
550
  export interface TransferConfiguration {
333
551
  /** Type of the configuration for transfer. */
@@ -337,11 +555,17 @@ export interface TransferConfiguration {
337
555
  /** Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll */
338
556
  transferAllDetails?: TransferConfigurationTransferAllDetails;
339
557
  }
558
+ export declare function transferConfigurationSerializer(item: TransferConfiguration): any;
559
+ export declare function transferConfigurationDeserializer(item: any): TransferConfiguration;
560
+ /** Type of the configuration for transfer. */
561
+ export type TransferConfigurationType = "TransferAll" | "TransferUsingFilter";
340
562
  /** Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. */
341
563
  export interface TransferConfigurationTransferFilterDetails {
342
564
  /** Details of the filtering the transfer of data. */
343
565
  include?: TransferFilterDetails;
344
566
  }
567
+ export declare function transferConfigurationTransferFilterDetailsSerializer(item: TransferConfigurationTransferFilterDetails): any;
568
+ export declare function transferConfigurationTransferFilterDetailsDeserializer(item: any): TransferConfigurationTransferFilterDetails;
345
569
  /** Details of the filtering the transfer of data. */
346
570
  export interface TransferFilterDetails {
347
571
  /** Type of the account of data. */
@@ -353,6 +577,8 @@ export interface TransferFilterDetails {
353
577
  /** Details of the filter files to be used for data transfer. */
354
578
  filterFileDetails?: FilterFileDetails[];
355
579
  }
580
+ export declare function transferFilterDetailsSerializer(item: TransferFilterDetails): any;
581
+ export declare function transferFilterDetailsDeserializer(item: any): TransferFilterDetails;
356
582
  /** Filter details to transfer Azure Blobs */
357
583
  export interface BlobFilterDetails {
358
584
  /** Prefix list of the Azure blobs to be transferred. */
@@ -362,6 +588,8 @@ export interface BlobFilterDetails {
362
588
  /** List of blob containers to be transferred. */
363
589
  containerList?: string[];
364
590
  }
591
+ export declare function blobFilterDetailsSerializer(item: BlobFilterDetails): any;
592
+ export declare function blobFilterDetailsDeserializer(item: any): BlobFilterDetails;
365
593
  /** Filter details to transfer Azure files */
366
594
  export interface AzureFileFilterDetails {
367
595
  /** Prefix list of the Azure files to be transferred. */
@@ -371,6 +599,10 @@ export interface AzureFileFilterDetails {
371
599
  /** List of file shares to be transferred. */
372
600
  fileShareList?: string[];
373
601
  }
602
+ export declare function azureFileFilterDetailsSerializer(item: AzureFileFilterDetails): any;
603
+ export declare function azureFileFilterDetailsDeserializer(item: any): AzureFileFilterDetails;
604
+ export declare function filterFileDetailsArraySerializer(result: Array<FilterFileDetails>): any[];
605
+ export declare function filterFileDetailsArrayDeserializer(result: Array<FilterFileDetails>): any[];
374
606
  /** Details of the filter files to be used for data transfer. */
375
607
  export interface FilterFileDetails {
376
608
  /** Type of the filter file. */
@@ -378,11 +610,17 @@ export interface FilterFileDetails {
378
610
  /** Path of the file that contains the details of all items to transfer. */
379
611
  filterFilePath: string;
380
612
  }
613
+ export declare function filterFileDetailsSerializer(item: FilterFileDetails): any;
614
+ export declare function filterFileDetailsDeserializer(item: any): FilterFileDetails;
615
+ /** Type of the filter file. */
616
+ export type FilterFileType = "AzureBlob" | "AzureFile";
381
617
  /** Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll */
382
618
  export interface TransferConfigurationTransferAllDetails {
383
619
  /** Details to transfer all data. */
384
620
  include?: TransferAllDetails;
385
621
  }
622
+ export declare function transferConfigurationTransferAllDetailsSerializer(item: TransferConfigurationTransferAllDetails): any;
623
+ export declare function transferConfigurationTransferAllDetailsDeserializer(item: any): TransferConfigurationTransferAllDetails;
386
624
  /** Details to transfer all data. */
387
625
  export interface TransferAllDetails {
388
626
  /** Type of the account of data */
@@ -392,6 +630,10 @@ export interface TransferAllDetails {
392
630
  /** To indicate if all Azure Files have to be transferred */
393
631
  transferAllFiles?: boolean;
394
632
  }
633
+ export declare function transferAllDetailsSerializer(item: TransferAllDetails): any;
634
+ export declare function transferAllDetailsDeserializer(item: any): TransferAllDetails;
635
+ /** Indicates the type of job details. */
636
+ export type ClassDiscriminator = "DataBox" | "DataBoxDisk" | "DataBoxHeavy" | "DataBoxCustomerDisk";
395
637
  /** Preferences related to the order */
396
638
  export interface Preferences {
397
639
  /** Preferred data center region. */
@@ -403,18 +645,21 @@ export interface Preferences {
403
645
  /** Preferences related to the Encryption. */
404
646
  encryptionPreferences?: EncryptionPreferences;
405
647
  /** Preferences related to the Access Tier of storage accounts. */
406
- storageAccountAccessTierPreferences?: string[];
648
+ storageAccountAccessTierPreferences?: "Archive"[];
407
649
  }
650
+ export declare function preferencesSerializer(item: Preferences): any;
651
+ export declare function preferencesDeserializer(item: any): Preferences;
408
652
  /** Preferences related to the shipment logistics of the sku */
409
653
  export interface TransportPreferences {
410
654
  /** Indicates Shipment Logistics type that the customer preferred. */
411
655
  preferredShipmentType: TransportShipmentTypes;
412
- /**
413
- * Read only property which indicates whether transport preferences has been updated or not after device is prepared.
414
- * NOTE: This property will not be serialized. It can only be populated by the server.
415
- */
656
+ /** Read only property which indicates whether transport preferences has been updated or not after device is prepared. */
416
657
  readonly isUpdated?: boolean;
417
658
  }
659
+ export declare function transportPreferencesSerializer(item: TransportPreferences): any;
660
+ export declare function transportPreferencesDeserializer(item: any): TransportPreferences;
661
+ /** Transport Shipment Type supported for given region. */
662
+ export type TransportShipmentTypes = "CustomerManaged" | "MicrosoftManaged";
418
663
  /** Preferences related to the Encryption. */
419
664
  export interface EncryptionPreferences {
420
665
  /** Defines secondary layer of software-based encryption enablement. */
@@ -422,6 +667,12 @@ export interface EncryptionPreferences {
422
667
  /** Defines Hardware level encryption (Only for disk) */
423
668
  hardwareEncryption?: HardwareEncryption;
424
669
  }
670
+ export declare function encryptionPreferencesSerializer(item: EncryptionPreferences): any;
671
+ export declare function encryptionPreferencesDeserializer(item: any): EncryptionPreferences;
672
+ /** Defines secondary layer of software-based encryption enablement. */
673
+ export type DoubleEncryption = "Enabled" | "Disabled";
674
+ /** Hardware encryption support for a given sku for a given region. */
675
+ export type HardwareEncryption = "Enabled" | "Disabled";
425
676
  /** Reverse Shipping Address and contact details for a job. */
426
677
  export interface ReverseShippingDetails {
427
678
  /** Contact Info. */
@@ -431,10 +682,11 @@ export interface ReverseShippingDetails {
431
682
  /**
432
683
  * A flag to indicate whether Reverse Shipping details are updated or not after device has been prepared.
433
684
  * Read only field
434
- * NOTE: This property will not be serialized. It can only be populated by the server.
435
685
  */
436
686
  readonly isUpdated?: boolean;
437
687
  }
688
+ export declare function reverseShippingDetailsSerializer(item: ReverseShippingDetails): any;
689
+ export declare function reverseShippingDetailsDeserializer(item: any): ReverseShippingDetails;
438
690
  /** Contact Info. */
439
691
  export interface ContactInfo {
440
692
  /** Contact name of the person. */
@@ -446,24 +698,77 @@ export interface ContactInfo {
446
698
  /** Mobile number of the contact person. */
447
699
  mobile?: string;
448
700
  }
701
+ export declare function contactInfoSerializer(item: ContactInfo): any;
702
+ export declare function contactInfoDeserializer(item: any): ContactInfo;
703
+ export declare function copyLogDetailsUnionArrayDeserializer(result: Array<CopyLogDetailsUnion>): any[];
449
704
  /** Details for log generated during copy. */
450
705
  export interface CopyLogDetails {
451
- /** Polymorphic discriminator, which specifies the different types this object can be */
452
- copyLogDetailsType: "DataBox" | "DataBoxCustomerDisk" | "DataBoxDisk" | "DataBoxHeavy";
706
+ /** Indicates the type of job details. */
707
+ /** The discriminator possible values: DataBox, DataBoxCustomerDisk, DataBoxDisk, DataBoxHeavy */
708
+ copyLogDetailsType: ClassDiscriminator;
709
+ }
710
+ export declare function copyLogDetailsDeserializer(item: any): CopyLogDetails;
711
+ /** Alias for CopyLogDetailsUnion */
712
+ export type CopyLogDetailsUnion = DataBoxAccountCopyLogDetails | DataBoxCustomerDiskCopyLogDetails | DataBoxDiskCopyLogDetails | DataBoxHeavyAccountCopyLogDetails | CopyLogDetails;
713
+ export declare function copyLogDetailsUnionDeserializer(item: any): CopyLogDetailsUnion;
714
+ /** Copy log details for a storage account of a DataBox job */
715
+ export interface DataBoxAccountCopyLogDetails extends CopyLogDetails {
716
+ /** Account name. */
717
+ readonly accountName?: string;
718
+ /** Link for copy logs. */
719
+ readonly copyLogLink?: string;
720
+ /** Link for copy verbose logs. This will be set only when LogCollectionLevel is set to Verbose. */
721
+ readonly copyVerboseLogLink?: string;
722
+ /** Indicates the type of job details. */
723
+ copyLogDetailsType: "DataBox";
724
+ }
725
+ export declare function dataBoxAccountCopyLogDetailsDeserializer(item: any): DataBoxAccountCopyLogDetails;
726
+ /** Copy Log Details for customer disk */
727
+ export interface DataBoxCustomerDiskCopyLogDetails extends CopyLogDetails {
728
+ /** Disk Serial Number. */
729
+ readonly serialNumber?: string;
730
+ /** Link for copy error logs. */
731
+ readonly errorLogLink?: string;
732
+ /** Link for copy verbose logs. */
733
+ readonly verboseLogLink?: string;
734
+ /** Indicates the type of job details. */
735
+ copyLogDetailsType: "DataBoxCustomerDisk";
736
+ }
737
+ export declare function dataBoxCustomerDiskCopyLogDetailsDeserializer(item: any): DataBoxCustomerDiskCopyLogDetails;
738
+ /** Copy Log Details for a disk */
739
+ export interface DataBoxDiskCopyLogDetails extends CopyLogDetails {
740
+ /** Disk Serial Number. */
741
+ readonly diskSerialNumber?: string;
742
+ /** Link for copy error logs. */
743
+ readonly errorLogLink?: string;
744
+ /** Link for copy verbose logs. */
745
+ readonly verboseLogLink?: string;
746
+ /** Indicates the type of job details. */
747
+ copyLogDetailsType: "DataBoxDisk";
748
+ }
749
+ export declare function dataBoxDiskCopyLogDetailsDeserializer(item: any): DataBoxDiskCopyLogDetails;
750
+ /** Copy log details for a storage account for Databox heavy */
751
+ export interface DataBoxHeavyAccountCopyLogDetails extends CopyLogDetails {
752
+ /** Account name. */
753
+ readonly accountName?: string;
754
+ /** Link for copy logs. */
755
+ readonly copyLogLink?: string[];
756
+ /** Link for copy verbose logs. This will be set only when the LogCollectionLevel is set to verbose. */
757
+ readonly copyVerboseLogLink?: string[];
758
+ /** Indicates the type of job details. */
759
+ copyLogDetailsType: "DataBoxHeavy";
453
760
  }
454
- /** Device erasure details with erasure completion status and erasureordestructionlog sas key */
761
+ export declare function dataBoxHeavyAccountCopyLogDetailsDeserializer(item: any): DataBoxHeavyAccountCopyLogDetails;
762
+ /** Device erasure details with erasure completion status, secure erasure sas key and erasureordestructionlog sas key */
455
763
  export interface DeviceErasureDetails {
456
- /**
457
- * Holds the device erasure completion status
458
- * NOTE: This property will not be serialized. It can only be populated by the server.
459
- */
764
+ /** Holds the device erasure completion status */
460
765
  readonly deviceErasureStatus?: StageStatus;
461
- /**
462
- * Shared access key to download cleanup or destruction certificate for device
463
- * NOTE: This property will not be serialized. It can only be populated by the server.
464
- */
766
+ /** Shared access key to download cleanup or destruction certificate for device */
465
767
  readonly erasureOrDestructionCertificateSasKey?: string;
768
+ /** Shared access key to download secure erasure certificate for the device */
769
+ readonly secureErasureCertificateSasKey?: string;
466
770
  }
771
+ export declare function deviceErasureDetailsDeserializer(item: any): DeviceErasureDetails;
467
772
  /** Encryption key containing details about key to encrypt different keys. */
468
773
  export interface KeyEncryptionKey {
469
774
  /** Type of encryption key used for key encryption. */
@@ -475,6 +780,10 @@ export interface KeyEncryptionKey {
475
780
  /** Kek vault resource id. It is required in case of Customer managed KekType. */
476
781
  kekVaultResourceID?: string;
477
782
  }
783
+ export declare function keyEncryptionKeySerializer(item: KeyEncryptionKey): any;
784
+ export declare function keyEncryptionKeyDeserializer(item: any): KeyEncryptionKey;
785
+ /** Type of encryption key used for key encryption. */
786
+ export type KekType = "MicrosoftManaged" | "CustomerManaged";
478
787
  /** Managed identity properties. */
479
788
  export interface IdentityProperties {
480
789
  /** Managed service identity type. */
@@ -482,11 +791,15 @@ export interface IdentityProperties {
482
791
  /** User assigned identity properties. */
483
792
  userAssigned?: UserAssignedProperties;
484
793
  }
794
+ export declare function identityPropertiesSerializer(item: IdentityProperties): any;
795
+ export declare function identityPropertiesDeserializer(item: any): IdentityProperties;
485
796
  /** User assigned identity properties. */
486
797
  export interface UserAssignedProperties {
487
798
  /** Arm resource id for user assigned identity to be used to fetch MSI token. */
488
799
  resourceId?: string;
489
800
  }
801
+ export declare function userAssignedPropertiesSerializer(item: UserAssignedProperties): any;
802
+ export declare function userAssignedPropertiesDeserializer(item: any): UserAssignedProperties;
490
803
  /** Last Mitigation Action Performed On Job */
491
804
  export interface LastMitigationActionOnJob {
492
805
  /** Action performed date time */
@@ -499,325 +812,716 @@ export interface LastMitigationActionOnJob {
499
812
  /** Resolution code provided by customer */
500
813
  customerResolution?: CustomerResolutionCode;
501
814
  }
815
+ export declare function lastMitigationActionOnJobDeserializer(item: any): LastMitigationActionOnJob;
502
816
  /** Datacenter address for given storage location. */
503
817
  export interface DatacenterAddressResponse {
504
- /** Polymorphic discriminator, which specifies the different types this object can be */
505
- datacenterAddressType: "DatacenterAddressInstruction" | "DatacenterAddressLocation";
506
- /**
507
- * List of supported carriers for return shipment.
508
- * NOTE: This property will not be serialized. It can only be populated by the server.
509
- */
818
+ /** Data center address type */
819
+ /** The discriminator possible values: DatacenterAddressInstruction, DatacenterAddressLocation */
820
+ datacenterAddressType: DatacenterAddressType;
821
+ /** List of supported carriers for return shipment. */
510
822
  readonly supportedCarriersForReturnShipment?: string[];
511
- /**
512
- * Azure Location where the Data Center serves primarily.
513
- * NOTE: This property will not be serialized. It can only be populated by the server.
514
- */
823
+ /** Azure Location where the Data Center serves primarily. */
515
824
  readonly dataCenterAzureLocation?: string;
516
825
  }
517
- /** Additional delivery info. */
518
- export interface JobDeliveryInfo {
519
- /** Scheduled date time. */
520
- scheduledDateTime?: Date;
521
- }
522
- /** Provides details about resource creation and update time */
523
- export interface SystemData {
524
- /**
525
- * A string identifier for the identity that created the resource
526
- * NOTE: This property will not be serialized. It can only be populated by the server.
527
- */
528
- readonly createdBy?: string;
529
- /**
530
- * The type of identity that created the resource: user, application, managedIdentity
531
- * NOTE: This property will not be serialized. It can only be populated by the server.
532
- */
533
- readonly createdByType?: string;
534
- /**
535
- * The timestamp of resource creation (UTC)
536
- * NOTE: This property will not be serialized. It can only be populated by the server.
537
- */
538
- readonly createdAt?: Date;
539
- /**
540
- * A string identifier for the identity that last modified the resource
541
- * NOTE: This property will not be serialized. It can only be populated by the server.
542
- */
543
- readonly lastModifiedBy?: string;
544
- /**
545
- * The type of identity that last modified the resource: user, application, managedIdentity
546
- * NOTE: This property will not be serialized. It can only be populated by the server.
547
- */
548
- readonly lastModifiedByType?: string;
549
- /**
550
- * The timestamp of resource last modification (UTC)
551
- * NOTE: This property will not be serialized. It can only be populated by the server.
552
- */
553
- readonly lastModifiedAt?: Date;
554
- }
555
- /** Model of the Resource. */
556
- export interface Resource {
557
- /** The location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed. */
558
- location: string;
559
- /** The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). */
560
- tags?: {
561
- [propertyName: string]: string;
562
- };
563
- /** The sku type. */
564
- sku: Sku;
565
- /** Msi identity of the resource */
566
- identity?: ResourceIdentity;
567
- }
568
- /** The Sku. */
569
- export interface Sku {
570
- /** The sku name. */
571
- name: SkuName;
572
- /** The display name of the sku. */
573
- displayName?: string;
574
- /** The sku family. */
575
- family?: string;
576
- /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
577
- model?: ModelName;
578
- }
579
- /** Msi identity details of the resource */
580
- export interface ResourceIdentity {
581
- /** Identity type */
582
- type?: string;
583
- /**
584
- * Service Principal Id backing the Msi
585
- * NOTE: This property will not be serialized. It can only be populated by the server.
586
- */
587
- readonly principalId?: string;
588
- /**
589
- * Home Tenant Id
590
- * NOTE: This property will not be serialized. It can only be populated by the server.
591
- */
592
- readonly tenantId?: string;
593
- /** User Assigned Identities */
594
- userAssignedIdentities?: {
595
- [propertyName: string]: UserAssignedIdentity;
596
- };
597
- }
598
- /** Class defining User assigned identity details. */
599
- export interface UserAssignedIdentity {
600
- /**
601
- * The principal id of user assigned identity.
602
- * NOTE: This property will not be serialized. It can only be populated by the server.
603
- */
604
- readonly principalId?: string;
605
- /**
606
- * The client id of user assigned identity.
607
- * NOTE: This property will not be serialized. It can only be populated by the server.
608
- */
609
- readonly clientId?: string;
610
- }
611
- /** The Mitigate Job captured from request body for Mitigate API */
612
- export interface MitigateJobRequest {
613
- /** Resolution code for the job */
614
- customerResolutionCode?: CustomerResolutionCode;
615
- /** Serial number and the customer resolution code corresponding to each serial number */
616
- serialNumberCustomerResolutionMap?: {
617
- [propertyName: string]: CustomerResolutionCode;
618
- };
619
- }
620
- /** The request body to provide the delivery package details of job */
621
- export interface MarkDevicesShippedRequest {
622
- /** Delivery package details */
623
- deliverToDcPackageDetails: PackageCarrierInfo;
624
- }
625
- /** package carrier info */
626
- export interface PackageCarrierInfo {
627
- /** Name of the carrier. */
628
- carrierName?: string;
629
- /** Tracking Id of shipment. */
630
- trackingId?: string;
631
- }
632
- /** The filters for showing the available skus. */
633
- export interface AvailableSkuRequest {
634
- /** Type of the transfer. */
635
- transferType: TransferType;
636
- /** ISO country code. Country for hardware shipment. For codes check: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements */
637
- country: string;
638
- /** Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 */
639
- location: string;
640
- /** Sku Names to filter for available skus */
641
- skuNames?: SkuName[];
642
- }
643
- /** The available skus operation response. */
644
- export interface AvailableSkusResult {
645
- /**
646
- * List of available skus.
647
- * NOTE: This property will not be serialized. It can only be populated by the server.
648
- */
649
- readonly value?: SkuInformation[];
650
- /** Link for the next set of skus. */
651
- nextLink?: string;
826
+ export declare function datacenterAddressResponseDeserializer(item: any): DatacenterAddressResponse;
827
+ /** Alias for DatacenterAddressResponseUnion */
828
+ export type DatacenterAddressResponseUnion = DatacenterAddressInstructionResponse | DatacenterAddressLocationResponse | DatacenterAddressResponse;
829
+ export declare function datacenterAddressResponseUnionDeserializer(item: any): DatacenterAddressResponseUnion;
830
+ /** Data center address type */
831
+ export type DatacenterAddressType = "DatacenterAddressLocation" | "DatacenterAddressInstruction";
832
+ /** Datacenter instruction for given storage location. */
833
+ export interface DatacenterAddressInstructionResponse extends DatacenterAddressResponse {
834
+ /** Data center communication instruction */
835
+ readonly communicationInstruction?: string;
836
+ /** Data center address type */
837
+ datacenterAddressType: "DatacenterAddressInstruction";
652
838
  }
653
- /** Information of the sku. */
654
- export interface SkuInformation {
655
- /**
656
- * The Sku.
657
- * NOTE: This property will not be serialized. It can only be populated by the server.
658
- */
659
- readonly sku?: Sku;
660
- /**
661
- * The sku is enabled or not.
662
- * NOTE: This property will not be serialized. It can only be populated by the server.
663
- */
664
- readonly enabled?: boolean;
665
- /**
666
- * The map of data location to service location.
667
- * NOTE: This property will not be serialized. It can only be populated by the server.
668
- */
669
- readonly dataLocationToServiceLocationMap?: DataLocationToServiceLocationMap[];
670
- /**
671
- * Capacity of the Sku.
672
- * NOTE: This property will not be serialized. It can only be populated by the server.
673
- */
674
- readonly capacity?: SkuCapacity;
675
- /**
676
- * Cost of the Sku.
677
- * NOTE: This property will not be serialized. It can only be populated by the server.
678
- */
679
- readonly costs?: SkuCost[];
680
- /**
681
- * Api versions that support this Sku.
682
- * NOTE: This property will not be serialized. It can only be populated by the server.
683
- */
684
- readonly apiVersions?: string[];
685
- /**
686
- * Reason why the Sku is disabled.
687
- * NOTE: This property will not be serialized. It can only be populated by the server.
688
- */
689
- readonly disabledReason?: SkuDisabledReason;
690
- /**
691
- * Message for why the Sku is disabled.
692
- * NOTE: This property will not be serialized. It can only be populated by the server.
693
- */
694
- readonly disabledReasonMessage?: string;
695
- /**
696
- * Required feature to access the sku.
697
- * NOTE: This property will not be serialized. It can only be populated by the server.
698
- */
699
- readonly requiredFeature?: string;
700
- /**
701
- * List of all the Countries in the SKU specific commerce boundary
702
- * NOTE: This property will not be serialized. It can only be populated by the server.
703
- */
704
- readonly countriesWithinCommerceBoundary?: string[];
839
+ export declare function datacenterAddressInstructionResponseDeserializer(item: any): DatacenterAddressInstructionResponse;
840
+ /** Datacenter address for given storage location. */
841
+ export interface DatacenterAddressLocationResponse extends DatacenterAddressResponse {
842
+ /** Contact person name */
843
+ readonly contactPersonName?: string;
844
+ /** Company name */
845
+ readonly company?: string;
846
+ /** Street address line 1 */
847
+ readonly street1?: string;
848
+ /** Street address line 2 */
849
+ readonly street2?: string;
850
+ /** Street address line 3 */
851
+ readonly street3?: string;
852
+ /** City name */
853
+ readonly city?: string;
854
+ /** name of the state */
855
+ readonly state?: string;
856
+ /** Zip code */
857
+ readonly zip?: string;
858
+ /** name of the country */
859
+ readonly country?: string;
860
+ /** Phone number */
861
+ readonly phone?: string;
862
+ /** Phone extension */
863
+ readonly phoneExtension?: string;
864
+ /** Address type */
865
+ readonly addressType?: string;
866
+ /** Special instruction for shipping */
867
+ readonly additionalShippingInformation?: string;
868
+ /** Data center address type */
869
+ datacenterAddressType: "DatacenterAddressLocation";
705
870
  }
706
- /** Map of data location to service location */
707
- export interface DataLocationToServiceLocationMap {
708
- /**
709
- * Location of the data.
710
- * NOTE: This property will not be serialized. It can only be populated by the server.
711
- */
712
- readonly dataLocation?: string;
713
- /**
714
- * Location of the service.
715
- * NOTE: This property will not be serialized. It can only be populated by the server.
716
- */
717
- readonly serviceLocation?: string;
718
- }
719
- /** Capacity of the sku. */
720
- export interface SkuCapacity {
721
- /**
722
- * Usable capacity in TB.
723
- * NOTE: This property will not be serialized. It can only be populated by the server.
724
- */
725
- readonly usable?: string;
726
- /**
727
- * Maximum capacity in TB.
728
- * NOTE: This property will not be serialized. It can only be populated by the server.
729
- */
730
- readonly maximum?: string;
731
- /**
732
- * Maximum capacity per device in TB.
733
- * NOTE: This property will not be serialized. It can only be populated by the server.
734
- */
735
- readonly individualSkuUsable?: string;
871
+ export declare function datacenterAddressLocationResponseDeserializer(item: any): DatacenterAddressLocationResponse;
872
+ /** DataCenter code. */
873
+ export declare enum KnownDataCenterCode {
874
+ /** Invalid */
875
+ Invalid = "Invalid",
876
+ /** BY2 */
877
+ BY2 = "BY2",
878
+ /** BY1 */
879
+ BY1 = "BY1",
880
+ /** ORK70 */
881
+ ORK70 = "ORK70",
882
+ /** AM2 */
883
+ AM2 = "AM2",
884
+ /** AMS20 */
885
+ AMS20 = "AMS20",
886
+ /** BY21 */
887
+ BY21 = "BY21",
888
+ /** BY24 */
889
+ BY24 = "BY24",
890
+ /** MWH01 */
891
+ MWH01 = "MWH01",
892
+ /** AMS06 */
893
+ AMS06 = "AMS06",
894
+ /** SSE90 */
895
+ SSE90 = "SSE90",
896
+ /** SYD03 */
897
+ SYD03 = "SYD03",
898
+ /** SYD23 */
899
+ SYD23 = "SYD23",
900
+ /** CBR20 */
901
+ CBR20 = "CBR20",
902
+ /** YTO20 */
903
+ YTO20 = "YTO20",
904
+ /** CWL20 */
905
+ CWL20 = "CWL20",
906
+ /** LON24 */
907
+ LON24 = "LON24",
908
+ /** BOM01 */
909
+ BOM01 = "BOM01",
910
+ /** BL20 */
911
+ BL20 = "BL20",
912
+ /** BL7 */
913
+ BL7 = "BL7",
914
+ /** SEL20 */
915
+ SEL20 = "SEL20",
916
+ /** TYO01 */
917
+ TYO01 = "TYO01",
918
+ /** BN1 */
919
+ BN1 = "BN1",
920
+ /** SN5 */
921
+ SN5 = "SN5",
922
+ /** CYS04 */
923
+ CYS04 = "CYS04",
924
+ /** TYO22 */
925
+ TYO22 = "TYO22",
926
+ /** YTO21 */
927
+ YTO21 = "YTO21",
928
+ /** YQB20 */
929
+ YQB20 = "YQB20",
930
+ /** FRA22 */
931
+ FRA22 = "FRA22",
932
+ /** MAA01 */
933
+ MAA01 = "MAA01",
934
+ /** CPQ02 */
935
+ CPQ02 = "CPQ02",
936
+ /** CPQ20 */
937
+ CPQ20 = "CPQ20",
938
+ /** SIN20 */
939
+ SIN20 = "SIN20",
940
+ /** HKG20 */
941
+ HKG20 = "HKG20",
942
+ /** SG2 */
943
+ SG2 = "SG2",
944
+ /** MEL23 */
945
+ MEL23 = "MEL23",
946
+ /** SEL21 */
947
+ SEL21 = "SEL21",
948
+ /** OSA20 */
949
+ OSA20 = "OSA20",
950
+ /** SHA03 */
951
+ SHA03 = "SHA03",
952
+ /** BJB */
953
+ BJB = "BJB",
954
+ /** JNB22 */
955
+ JNB22 = "JNB22",
956
+ /** JNB21 */
957
+ JNB21 = "JNB21",
958
+ /** MNZ21 */
959
+ MNZ21 = "MNZ21",
960
+ /** SN8 */
961
+ SN8 = "SN8",
962
+ /** AUH20 */
963
+ AUH20 = "AUH20",
964
+ /** ZRH20 */
965
+ ZRH20 = "ZRH20",
966
+ /** PUS20 */
967
+ PUS20 = "PUS20",
968
+ /** AdHoc */
969
+ AdHoc = "AdHoc",
970
+ /** CH1 */
971
+ CH1 = "CH1",
972
+ /** DSM05 */
973
+ DSM05 = "DSM05",
974
+ /** DUB07 */
975
+ DUB07 = "DUB07",
976
+ /** PNQ01 */
977
+ PNQ01 = "PNQ01",
978
+ /** SVG20 */
979
+ SVG20 = "SVG20",
980
+ /** OSA02 */
981
+ OSA02 = "OSA02",
982
+ /** OSA22 */
983
+ OSA22 = "OSA22",
984
+ /** PAR22 */
985
+ PAR22 = "PAR22",
986
+ /** BN7 */
987
+ BN7 = "BN7",
988
+ /** SN6 */
989
+ SN6 = "SN6",
990
+ /** BJS20 */
991
+ BJS20 = "BJS20",
992
+ /** BL24 */
993
+ BL24 = "BL24",
994
+ /** IDC5 */
995
+ IDC5 = "IDC5",
996
+ /** TYO23 */
997
+ TYO23 = "TYO23",
998
+ /** NTG20 */
999
+ NTG20 = "NTG20",
1000
+ /** DXB23 */
1001
+ DXB23 = "DXB23",
1002
+ /** DSM11 */
1003
+ DSM11 = "DSM11",
1004
+ /** AMS25 */
1005
+ AMS25 = "AMS25",
1006
+ /** CPQ21 */
1007
+ CPQ21 = "CPQ21",
1008
+ /** OSA23 */
1009
+ OSA23 = "OSA23"
736
1010
  }
737
- /** Describes metadata for retrieving price info. */
738
- export interface SkuCost {
739
- /**
740
- * Meter id of the Sku.
741
- * NOTE: This property will not be serialized. It can only be populated by the server.
742
- */
743
- readonly meterId?: string;
744
- /**
745
- * The type of the meter.
746
- * NOTE: This property will not be serialized. It can only be populated by the server.
747
- */
748
- readonly meterType?: string;
749
- /**
750
- * Multiplier specifies the region specific value to be multiplied with 1$ guid. Eg: Our new regions will be using 1$ shipping guid with appropriate multiplier specific to region.
751
- * NOTE: This property will not be serialized. It can only be populated by the server.
752
- */
753
- readonly multiplier?: number;
1011
+ /**
1012
+ * DataCenter code. \
1013
+ * {@link KnownDataCenterCode} can be used interchangeably with DataCenterCode,
1014
+ * this enum contains the known values that the service supports.
1015
+ * ### Known values supported by the service
1016
+ * **Invalid** \
1017
+ * **BY2** \
1018
+ * **BY1** \
1019
+ * **ORK70** \
1020
+ * **AM2** \
1021
+ * **AMS20** \
1022
+ * **BY21** \
1023
+ * **BY24** \
1024
+ * **MWH01** \
1025
+ * **AMS06** \
1026
+ * **SSE90** \
1027
+ * **SYD03** \
1028
+ * **SYD23** \
1029
+ * **CBR20** \
1030
+ * **YTO20** \
1031
+ * **CWL20** \
1032
+ * **LON24** \
1033
+ * **BOM01** \
1034
+ * **BL20** \
1035
+ * **BL7** \
1036
+ * **SEL20** \
1037
+ * **TYO01** \
1038
+ * **BN1** \
1039
+ * **SN5** \
1040
+ * **CYS04** \
1041
+ * **TYO22** \
1042
+ * **YTO21** \
1043
+ * **YQB20** \
1044
+ * **FRA22** \
1045
+ * **MAA01** \
1046
+ * **CPQ02** \
1047
+ * **CPQ20** \
1048
+ * **SIN20** \
1049
+ * **HKG20** \
1050
+ * **SG2** \
1051
+ * **MEL23** \
1052
+ * **SEL21** \
1053
+ * **OSA20** \
1054
+ * **SHA03** \
1055
+ * **BJB** \
1056
+ * **JNB22** \
1057
+ * **JNB21** \
1058
+ * **MNZ21** \
1059
+ * **SN8** \
1060
+ * **AUH20** \
1061
+ * **ZRH20** \
1062
+ * **PUS20** \
1063
+ * **AdHoc** \
1064
+ * **CH1** \
1065
+ * **DSM05** \
1066
+ * **DUB07** \
1067
+ * **PNQ01** \
1068
+ * **SVG20** \
1069
+ * **OSA02** \
1070
+ * **OSA22** \
1071
+ * **PAR22** \
1072
+ * **BN7** \
1073
+ * **SN6** \
1074
+ * **BJS20** \
1075
+ * **BL24** \
1076
+ * **IDC5** \
1077
+ * **TYO23** \
1078
+ * **NTG20** \
1079
+ * **DXB23** \
1080
+ * **DSM11** \
1081
+ * **AMS25** \
1082
+ * **CPQ21** \
1083
+ * **OSA23**
1084
+ */
1085
+ export type DataCenterCode = string;
1086
+ /** Customer disk job details. */
1087
+ export interface DataBoxCustomerDiskJobDetails extends JobDetails {
1088
+ /** Contains the map of disk serial number to the disk details for import jobs. */
1089
+ importDiskDetailsCollection?: Record<string, ImportDiskDetails>;
1090
+ /** Contains the map of disk serial number to the disk details for export jobs. */
1091
+ readonly exportDiskDetailsCollection?: Record<string, ExportDiskDetails>;
1092
+ /** Copy progress per disk. */
1093
+ readonly copyProgress?: DataBoxCustomerDiskCopyProgress[];
1094
+ /** Delivery package shipping details. */
1095
+ readonly deliverToDcPackageDetails?: PackageCarrierInfo;
1096
+ /** Return package shipping details. */
1097
+ returnToCustomerPackageDetails: PackageCarrierDetails;
1098
+ /** Flag to indicate if disk manifest should be backed-up in the Storage Account. */
1099
+ enableManifestBackup?: boolean;
1100
+ /** Indicates the type of job details. */
1101
+ jobDetailsType: "DataBoxCustomerDisk";
754
1102
  }
755
- /** Minimum fields that must be present in any type of validation request. */
756
- export interface ValidationInputRequest {
757
- /** Polymorphic discriminator, which specifies the different types this object can be */
758
- validationType: "ValidateAddress" | "ValidateCreateOrderLimit" | "ValidateDataTransferDetails" | "ValidatePreferences" | "ValidateSkuAvailability" | "ValidateSubscriptionIsAllowedToCreateJob";
1103
+ export declare function dataBoxCustomerDiskJobDetailsSerializer(item: DataBoxCustomerDiskJobDetails): any;
1104
+ export declare function dataBoxCustomerDiskJobDetailsDeserializer(item: any): DataBoxCustomerDiskJobDetails;
1105
+ export declare function importDiskDetailsRecordSerializer(item: Record<string, ImportDiskDetails>): Record<string, any>;
1106
+ export declare function importDiskDetailsRecordDeserializer(item: Record<string, any>): Record<string, ImportDiskDetails>;
1107
+ /** Import disk details */
1108
+ export interface ImportDiskDetails {
1109
+ /** The relative path of the manifest file on the disk. */
1110
+ manifestFile: string;
1111
+ /** The Base16-encoded MD5 hash of the manifest file on the disk. */
1112
+ manifestHash: string;
1113
+ /** BitLocker key used to encrypt the disk. */
1114
+ bitLockerKey: string;
1115
+ /** Path to backed up manifest, only returned if enableManifestBackup is true. */
1116
+ readonly backupManifestCloudPath?: string;
759
1117
  }
760
- /** Output of the address validation api. */
761
- export interface AddressValidationOutput {
762
- /** Identifies the type of validation response. */
763
- validationType?: ValidationInputDiscriminator;
764
- /**
765
- * Error code and message of validation response.
766
- * NOTE: This property will not be serialized. It can only be populated by the server.
767
- */
1118
+ export declare function importDiskDetailsSerializer(item: ImportDiskDetails): any;
1119
+ export declare function importDiskDetailsDeserializer(item: any): ImportDiskDetails;
1120
+ export declare function exportDiskDetailsRecordDeserializer(item: Record<string, any>): Record<string, ExportDiskDetails>;
1121
+ /** Export disk details */
1122
+ export interface ExportDiskDetails {
1123
+ /** The relative path of the manifest file on the disk. */
1124
+ readonly manifestFile?: string;
1125
+ /** The Base16-encoded MD5 hash of the manifest file on the disk. */
1126
+ readonly manifestHash?: string;
1127
+ /** Path to backed up manifest, only returned if enableManifestBackup is true. */
1128
+ readonly backupManifestCloudPath?: string;
1129
+ }
1130
+ export declare function exportDiskDetailsDeserializer(item: any): ExportDiskDetails;
1131
+ export declare function dataBoxCustomerDiskCopyProgressArrayDeserializer(result: Array<DataBoxCustomerDiskCopyProgress>): any[];
1132
+ /** DataBox CustomerDisk Copy Progress */
1133
+ export interface DataBoxCustomerDiskCopyProgress extends CopyProgress {
1134
+ /** Disk Serial Number. */
1135
+ readonly serialNumber?: string;
1136
+ /** The Status of the copy */
1137
+ readonly copyStatus?: CopyStatus;
1138
+ }
1139
+ export declare function dataBoxCustomerDiskCopyProgressDeserializer(item: any): DataBoxCustomerDiskCopyProgress;
1140
+ /** The Status of the copy */
1141
+ export declare enum KnownCopyStatus {
1142
+ /** Data copy hasn't started yet. */
1143
+ NotStarted = "NotStarted",
1144
+ /** Data copy is in progress. */
1145
+ InProgress = "InProgress",
1146
+ /** Data copy completed. */
1147
+ Completed = "Completed",
1148
+ /** Data copy completed with errors. */
1149
+ CompletedWithErrors = "CompletedWithErrors",
1150
+ /** Data copy failed. No data was copied. */
1151
+ Failed = "Failed",
1152
+ /** No copy triggered as device was not returned. */
1153
+ NotReturned = "NotReturned",
1154
+ /** The Device has hit hardware issues. */
1155
+ HardwareError = "HardwareError",
1156
+ /** Data copy failed. The Device was formatted by user. */
1157
+ DeviceFormatted = "DeviceFormatted",
1158
+ /** Data copy failed. Device metadata was modified by user. */
1159
+ DeviceMetadataModified = "DeviceMetadataModified",
1160
+ /** Data copy failed. Storage Account was not accessible during copy. */
1161
+ StorageAccountNotAccessible = "StorageAccountNotAccessible",
1162
+ /** Data copy failed. The Device data content is not supported. */
1163
+ UnsupportedData = "UnsupportedData",
1164
+ /** No copy triggered as device was not received. */
1165
+ DriveNotReceived = "DriveNotReceived",
1166
+ /** No copy triggered as device type is not supported. */
1167
+ UnsupportedDrive = "UnsupportedDrive",
1168
+ /** Copy failed due to service error. */
1169
+ OtherServiceError = "OtherServiceError",
1170
+ /** Copy failed due to user error. */
1171
+ OtherUserError = "OtherUserError",
1172
+ /** Copy failed due to disk detection error. */
1173
+ DriveNotDetected = "DriveNotDetected",
1174
+ /** Copy failed due to corrupted drive. */
1175
+ DriveCorrupted = "DriveCorrupted",
1176
+ /** Copy failed due to modified or removed metadata files. */
1177
+ MetadataFilesModifiedOrRemoved = "MetadataFilesModifiedOrRemoved"
1178
+ }
1179
+ /**
1180
+ * The Status of the copy \
1181
+ * {@link KnownCopyStatus} can be used interchangeably with CopyStatus,
1182
+ * this enum contains the known values that the service supports.
1183
+ * ### Known values supported by the service
1184
+ * **NotStarted**: Data copy hasn't started yet. \
1185
+ * **InProgress**: Data copy is in progress. \
1186
+ * **Completed**: Data copy completed. \
1187
+ * **CompletedWithErrors**: Data copy completed with errors. \
1188
+ * **Failed**: Data copy failed. No data was copied. \
1189
+ * **NotReturned**: No copy triggered as device was not returned. \
1190
+ * **HardwareError**: The Device has hit hardware issues. \
1191
+ * **DeviceFormatted**: Data copy failed. The Device was formatted by user. \
1192
+ * **DeviceMetadataModified**: Data copy failed. Device metadata was modified by user. \
1193
+ * **StorageAccountNotAccessible**: Data copy failed. Storage Account was not accessible during copy. \
1194
+ * **UnsupportedData**: Data copy failed. The Device data content is not supported. \
1195
+ * **DriveNotReceived**: No copy triggered as device was not received. \
1196
+ * **UnsupportedDrive**: No copy triggered as device type is not supported. \
1197
+ * **OtherServiceError**: Copy failed due to service error. \
1198
+ * **OtherUserError**: Copy failed due to user error. \
1199
+ * **DriveNotDetected**: Copy failed due to disk detection error. \
1200
+ * **DriveCorrupted**: Copy failed due to corrupted drive. \
1201
+ * **MetadataFilesModifiedOrRemoved**: Copy failed due to modified or removed metadata files.
1202
+ */
1203
+ export type CopyStatus = string;
1204
+ /** package carrier info */
1205
+ export interface PackageCarrierInfo {
1206
+ /** Name of the carrier. */
1207
+ carrierName?: string;
1208
+ /** Tracking Id of shipment. */
1209
+ trackingId?: string;
1210
+ }
1211
+ export declare function packageCarrierInfoSerializer(item: PackageCarrierInfo): any;
1212
+ export declare function packageCarrierInfoDeserializer(item: any): PackageCarrierInfo;
1213
+ /** Package carrier details. */
1214
+ export interface PackageCarrierDetails {
1215
+ /** Carrier Account Number of customer for customer disk. */
1216
+ carrierAccountNumber?: string;
1217
+ /** Name of the carrier. */
1218
+ carrierName?: string;
1219
+ /** Tracking Id of shipment. */
1220
+ trackingId?: string;
1221
+ }
1222
+ export declare function packageCarrierDetailsSerializer(item: PackageCarrierDetails): any;
1223
+ export declare function packageCarrierDetailsDeserializer(item: any): PackageCarrierDetails;
1224
+ /** DataBox Disk Job Details. */
1225
+ export interface DataBoxDiskJobDetails extends JobDetails {
1226
+ /** User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int. */
1227
+ preferredDisks?: Record<string, number>;
1228
+ /** Copy progress per disk. */
1229
+ readonly copyProgress?: DataBoxDiskCopyProgress[];
1230
+ /** Copy progress per disk. */
1231
+ readonly granularCopyProgress?: DataBoxDiskGranularCopyProgress[];
1232
+ /** Copy progress per disk. */
1233
+ readonly granularCopyLogDetails?: DataBoxDiskGranularCopyLogDetails[];
1234
+ /** Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer. */
1235
+ readonly disksAndSizeDetails?: Record<string, number>;
1236
+ /** User entered passkey for DataBox Disk job. */
1237
+ passkey?: string;
1238
+ /** Indicates the type of job details. */
1239
+ jobDetailsType: "DataBoxDisk";
1240
+ }
1241
+ export declare function dataBoxDiskJobDetailsSerializer(item: DataBoxDiskJobDetails): any;
1242
+ export declare function dataBoxDiskJobDetailsDeserializer(item: any): DataBoxDiskJobDetails;
1243
+ export declare function dataBoxDiskCopyProgressArrayDeserializer(result: Array<DataBoxDiskCopyProgress>): any[];
1244
+ /** DataBox Disk Copy Progress */
1245
+ export interface DataBoxDiskCopyProgress {
1246
+ /** The serial number of the disk */
1247
+ readonly serialNumber?: string;
1248
+ /** Bytes copied during the copy of disk. */
1249
+ readonly bytesCopied?: number;
1250
+ /** Indicates the percentage completed for the copy of the disk. */
1251
+ readonly percentComplete?: number;
1252
+ /** The Status of the copy */
1253
+ readonly status?: CopyStatus;
1254
+ /** Error, if any, in the stage */
768
1255
  readonly error?: CloudError;
769
- /**
770
- * The address validation status.
771
- * NOTE: This property will not be serialized. It can only be populated by the server.
772
- */
773
- readonly validationStatus?: AddressValidationStatus;
774
- /**
775
- * List of alternate addresses.
776
- * NOTE: This property will not be serialized. It can only be populated by the server.
777
- */
778
- readonly alternateAddresses?: ShippingAddress[];
1256
+ /** Available actions on the job. */
1257
+ readonly actions?: CustomerResolutionCode[];
779
1258
  }
780
- /** Minimum properties that should be present in each individual validation response. */
781
- export interface ValidationInputResponse {
782
- /** Polymorphic discriminator, which specifies the different types this object can be */
783
- validationType: "ValidateAddress" | "ValidateCreateOrderLimit" | "ValidateDataTransferDetails" | "ValidatePreferences" | "ValidateSkuAvailability" | "ValidateSubscriptionIsAllowedToCreateJob";
1259
+ export declare function dataBoxDiskCopyProgressDeserializer(item: any): DataBoxDiskCopyProgress;
1260
+ export declare function dataBoxDiskGranularCopyProgressArrayDeserializer(result: Array<DataBoxDiskGranularCopyProgress>): any[];
1261
+ /** DataBox Disk Granular Copy Progress */
1262
+ export interface DataBoxDiskGranularCopyProgress extends GranularCopyProgress {
1263
+ /** Disk Serial Number. */
1264
+ readonly serialNumber?: string;
1265
+ /** The Status of the copy */
1266
+ readonly copyStatus?: CopyStatus;
1267
+ }
1268
+ export declare function dataBoxDiskGranularCopyProgressDeserializer(item: any): DataBoxDiskGranularCopyProgress;
1269
+ export declare function dataBoxDiskGranularCopyLogDetailsArrayDeserializer(result: Array<DataBoxDiskGranularCopyLogDetails>): any[];
1270
+ /** Granular Copy Log Details for customer disk */
1271
+ export interface DataBoxDiskGranularCopyLogDetails extends GranularCopyLogDetails {
1272
+ /** Disk Serial Number. */
1273
+ readonly serialNumber?: string;
1274
+ /** Account id. */
1275
+ readonly accountId?: string;
1276
+ /** Link for copy error logs. */
1277
+ readonly errorLogLink?: string;
1278
+ /** Link for copy verbose logs. */
1279
+ readonly verboseLogLink?: string;
1280
+ /** Indicates the type of job details. */
1281
+ copyLogDetailsType: "DataBoxCustomerDisk";
1282
+ }
1283
+ export declare function dataBoxDiskGranularCopyLogDetailsDeserializer(item: any): DataBoxDiskGranularCopyLogDetails;
1284
+ /** Databox Heavy Device Job Details */
1285
+ export interface DataBoxHeavyJobDetails extends JobDetails {
1286
+ /** Copy progress per account. */
1287
+ readonly copyProgress?: CopyProgress[];
1288
+ /** Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */
1289
+ devicePassword?: string;
1290
+ /** Indicates the type of job details. */
1291
+ jobDetailsType: "DataBoxHeavy";
1292
+ }
1293
+ export declare function dataBoxHeavyJobDetailsSerializer(item: DataBoxHeavyJobDetails): any;
1294
+ export declare function dataBoxHeavyJobDetailsDeserializer(item: any): DataBoxHeavyJobDetails;
1295
+ export declare function copyProgressArrayDeserializer(result: Array<CopyProgress>): any[];
1296
+ /** Copy progress. */
1297
+ export interface CopyProgress {
1298
+ /** Name of the storage account. This will be empty for data account types other than storage account. */
1299
+ readonly storageAccountName?: string;
1300
+ /** Transfer type of data */
1301
+ readonly transferType?: TransferType;
1302
+ /** Data Account Type. */
1303
+ readonly dataAccountType?: DataAccountType;
1304
+ /** Id of the account where the data needs to be uploaded. */
1305
+ readonly accountId?: string;
1306
+ /** To indicate bytes transferred. */
1307
+ readonly bytesProcessed?: number;
1308
+ /** Total amount of data to be processed by the job. */
1309
+ readonly totalBytesToProcess?: number;
1310
+ /** Number of files processed */
1311
+ readonly filesProcessed?: number;
1312
+ /** Total files to process */
1313
+ readonly totalFilesToProcess?: number;
1314
+ /** Number of files not adhering to azure naming conventions which were processed by automatic renaming */
1315
+ readonly invalidFilesProcessed?: number;
1316
+ /** Total amount of data not adhering to azure naming conventions which were processed by automatic renaming */
1317
+ readonly invalidFileBytesUploaded?: number;
1318
+ /** Number of folders not adhering to azure naming conventions which were processed by automatic renaming */
1319
+ readonly renamedContainerCount?: number;
1320
+ /** Number of files which could not be copied */
1321
+ readonly filesErroredOut?: number;
1322
+ /** To indicate directories errored out in the job. */
1323
+ readonly directoriesErroredOut?: number;
1324
+ /** To indicate directories renamed */
1325
+ readonly invalidDirectoriesProcessed?: number;
784
1326
  /**
785
- * Error code and message of validation response.
786
- * NOTE: This property will not be serialized. It can only be populated by the server.
1327
+ * To indicate if enumeration of data is in progress.
1328
+ * Until this is true, the TotalBytesToProcess may not be valid.
787
1329
  */
1330
+ readonly isEnumerationInProgress?: boolean;
1331
+ /** Error, if any, in the stage */
788
1332
  readonly error?: CloudError;
1333
+ /** Available actions on the job. */
1334
+ readonly actions?: CustomerResolutionCode[];
789
1335
  }
790
- /** Minimum request requirement of any validation category. */
791
- export interface ValidationRequest {
792
- /** Polymorphic discriminator, which specifies the different types this object can be */
793
- validationCategory: "JobCreationValidation";
794
- /** List of request details contain validationType and its request as key and value respectively. */
795
- individualRequestDetails: ValidationInputRequestUnion[];
1336
+ export declare function copyProgressDeserializer(item: any): CopyProgress;
1337
+ /** Databox Job Details */
1338
+ export interface DataBoxJobDetails extends JobDetails {
1339
+ /** Copy progress per storage account. */
1340
+ readonly copyProgress?: CopyProgress[];
1341
+ /** Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */
1342
+ devicePassword?: string;
1343
+ /** Indicates the type of job details. */
1344
+ jobDetailsType: "DataBox";
796
1345
  }
797
- /** Response of pre job creation validations. */
798
- export interface ValidationResponse {
799
- /**
800
- * Overall validation status.
801
- * NOTE: This property will not be serialized. It can only be populated by the server.
802
- */
803
- readonly status?: OverallValidationStatus;
1346
+ export declare function dataBoxJobDetailsSerializer(item: DataBoxJobDetails): any;
1347
+ export declare function dataBoxJobDetailsDeserializer(item: any): DataBoxJobDetails;
1348
+ /** Delivery type of Job. */
1349
+ export type JobDeliveryType = "NonScheduled" | "Scheduled";
1350
+ /** Additional delivery info. */
1351
+ export interface JobDeliveryInfo {
1352
+ /** Scheduled date time. */
1353
+ scheduledDateTime?: Date;
1354
+ }
1355
+ export declare function jobDeliveryInfoSerializer(item: JobDeliveryInfo): any;
1356
+ export declare function jobDeliveryInfoDeserializer(item: any): JobDeliveryInfo;
1357
+ /** The Sku. */
1358
+ export interface Sku {
1359
+ /** The sku name. */
1360
+ name: SkuName;
1361
+ /** The display name of the sku. */
1362
+ displayName?: string;
1363
+ /** The sku family. */
1364
+ family?: string;
1365
+ /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1366
+ model?: ModelName;
1367
+ }
1368
+ export declare function skuSerializer(item: Sku): any;
1369
+ export declare function skuDeserializer(item: any): Sku;
1370
+ /** SKU names. */
1371
+ export type SkuName = "DataBox" | "DataBoxDisk" | "DataBoxHeavy" | "DataBoxCustomerDisk";
1372
+ /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1373
+ export type ModelName = "DataBox" | "DataBoxDisk" | "DataBoxHeavy" | "DataBoxCustomerDisk" | "AzureDataBox120" | "AzureDataBox525";
1374
+ /** Msi identity details of the resource */
1375
+ export interface ResourceIdentity {
1376
+ /** Identity type */
1377
+ type?: string;
1378
+ /** Service Principal Id backing the Msi */
1379
+ readonly principalId?: string;
1380
+ /** Home Tenant Id */
1381
+ readonly tenantId?: string;
1382
+ /** User Assigned Identities */
1383
+ userAssignedIdentities?: Record<string, UserAssignedIdentity>;
1384
+ }
1385
+ export declare function resourceIdentitySerializer(item: ResourceIdentity): any;
1386
+ export declare function resourceIdentityDeserializer(item: any): ResourceIdentity;
1387
+ export declare function userAssignedIdentityRecordSerializer(item: Record<string, UserAssignedIdentity>): Record<string, any>;
1388
+ export declare function userAssignedIdentityRecordDeserializer(item: Record<string, any>): Record<string, UserAssignedIdentity>;
1389
+ /** User assigned identity properties */
1390
+ export interface UserAssignedIdentity {
1391
+ /** The principal ID of the assigned identity. */
1392
+ readonly principalId?: string;
1393
+ /** The client ID of the assigned identity. */
1394
+ readonly clientId?: string;
1395
+ }
1396
+ export declare function userAssignedIdentitySerializer(_item: UserAssignedIdentity): any;
1397
+ export declare function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity;
1398
+ /** Granular Copy progress. */
1399
+ export interface GranularCopyProgress {
1400
+ /** Name of the storage account. This will be empty for data account types other than storage account. */
1401
+ readonly storageAccountName?: string;
1402
+ /** Transfer type of data */
1403
+ readonly transferType?: TransferType;
1404
+ /** Data Account Type. */
1405
+ readonly dataAccountType?: DataAccountType;
1406
+ /** Id of the account where the data needs to be uploaded. */
1407
+ readonly accountId?: string;
1408
+ /** To indicate bytes transferred. */
1409
+ readonly bytesProcessed?: number;
1410
+ /** Total amount of data to be processed by the job. */
1411
+ readonly totalBytesToProcess?: number;
1412
+ /** Number of files processed */
1413
+ readonly filesProcessed?: number;
1414
+ /** Total files to process */
1415
+ readonly totalFilesToProcess?: number;
1416
+ /** Number of files not adhering to azure naming conventions which were processed by automatic renaming */
1417
+ readonly invalidFilesProcessed?: number;
1418
+ /** Total amount of data not adhering to azure naming conventions which were processed by automatic renaming */
1419
+ readonly invalidFileBytesUploaded?: number;
1420
+ /** Number of folders not adhering to azure naming conventions which were processed by automatic renaming */
1421
+ readonly renamedContainerCount?: number;
1422
+ /** Number of files which could not be copied */
1423
+ readonly filesErroredOut?: number;
1424
+ /** To indicate directories errored out in the job. */
1425
+ readonly directoriesErroredOut?: number;
1426
+ /** To indicate directories renamed */
1427
+ readonly invalidDirectoriesProcessed?: number;
804
1428
  /**
805
- * List of response details contain validationType and its response as key and value respectively.
806
- * NOTE: This property will not be serialized. It can only be populated by the server.
1429
+ * To indicate if enumeration of data is in progress.
1430
+ * Until this is true, the TotalBytesToProcess may not be valid.
807
1431
  */
808
- readonly individualResponseDetails?: ValidationInputResponseUnion[];
1432
+ readonly isEnumerationInProgress?: boolean;
1433
+ /** Error, if any, in the stage */
1434
+ readonly error?: CloudError;
1435
+ /** Available actions on the job. */
1436
+ readonly actions?: CustomerResolutionCode[];
1437
+ }
1438
+ export declare function granularCopyProgressDeserializer(item: any): GranularCopyProgress;
1439
+ /** Granular Details for log generated during copy. */
1440
+ export interface GranularCopyLogDetails {
1441
+ /** Indicates the type of job details. */
1442
+ /** The discriminator possible values: DataBoxCustomerDisk */
1443
+ copyLogDetailsType: ClassDiscriminator;
1444
+ }
1445
+ export declare function granularCopyLogDetailsDeserializer(item: any): GranularCopyLogDetails;
1446
+ /** Alias for GranularCopyLogDetailsUnion */
1447
+ export type GranularCopyLogDetailsUnion = DataBoxDiskGranularCopyLogDetails | GranularCopyLogDetails;
1448
+ export declare function granularCopyLogDetailsUnionDeserializer(item: any): GranularCopyLogDetailsUnion;
1449
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1450
+ export interface TrackedResource extends Resource {
1451
+ /** Resource tags. */
1452
+ tags?: Record<string, string>;
1453
+ /** The geo-location where the resource lives */
1454
+ location: string;
1455
+ }
1456
+ export declare function trackedResourceSerializer(item: TrackedResource): any;
1457
+ export declare function trackedResourceDeserializer(item: any): TrackedResource;
1458
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
1459
+ export interface Resource {
1460
+ /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
1461
+ readonly id?: string;
1462
+ /** The name of the resource */
1463
+ readonly name?: string;
1464
+ /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
1465
+ readonly type?: string;
1466
+ /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
1467
+ readonly systemData?: SystemData;
809
1468
  }
1469
+ export declare function resourceSerializer(_item: Resource): any;
1470
+ export declare function resourceDeserializer(item: any): Resource;
1471
+ /** Metadata pertaining to creation and last modification of the resource. */
1472
+ export interface SystemData {
1473
+ /** The identity that created the resource. */
1474
+ createdBy?: string;
1475
+ /** The type of identity that created the resource. */
1476
+ createdByType?: CreatedByType;
1477
+ /** The timestamp of resource creation (UTC). */
1478
+ createdAt?: Date;
1479
+ /** The identity that last modified the resource. */
1480
+ lastModifiedBy?: string;
1481
+ /** The type of identity that last modified the resource. */
1482
+ lastModifiedByType?: CreatedByType;
1483
+ /** The timestamp of resource last modification (UTC) */
1484
+ lastModifiedAt?: Date;
1485
+ }
1486
+ export declare function systemDataDeserializer(item: any): SystemData;
1487
+ /** The kind of entity that created the resource. */
1488
+ export declare enum KnownCreatedByType {
1489
+ /** The entity was created by a user. */
1490
+ User = "User",
1491
+ /** The entity was created by an application. */
1492
+ Application = "Application",
1493
+ /** The entity was created by a managed identity. */
1494
+ ManagedIdentity = "ManagedIdentity",
1495
+ /** The entity was created by a key. */
1496
+ Key = "Key"
1497
+ }
1498
+ /**
1499
+ * The kind of entity that created the resource. \
1500
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1501
+ * this enum contains the known values that the service supports.
1502
+ * ### Known values supported by the service
1503
+ * **User**: The entity was created by a user. \
1504
+ * **Application**: The entity was created by an application. \
1505
+ * **ManagedIdentity**: The entity was created by a managed identity. \
1506
+ * **Key**: The entity was created by a key.
1507
+ */
1508
+ export type CreatedByType = string;
810
1509
  /** The JobResourceUpdateParameter. */
811
1510
  export interface JobResourceUpdateParameter {
812
1511
  /** The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). */
813
- tags?: {
814
- [propertyName: string]: string;
815
- };
1512
+ tags?: Record<string, string>;
816
1513
  /** Msi identity of the resource */
817
1514
  identity?: ResourceIdentity;
818
1515
  /** Details of a job to be updated. */
819
1516
  details?: UpdateJobDetails;
820
1517
  }
1518
+ export declare function jobResourceUpdateParameterSerializer(item: JobResourceUpdateParameter): any;
1519
+ /** Job Properties for update */
1520
+ export interface UpdateJobProperties {
1521
+ /** Details of a job to be updated. */
1522
+ details?: UpdateJobDetails;
1523
+ }
1524
+ export declare function updateJobPropertiesSerializer(item: UpdateJobProperties): any;
821
1525
  /** Job details for update. */
822
1526
  export interface UpdateJobDetails {
823
1527
  /** Contact details for notification and shipping. */
@@ -833,15 +1537,17 @@ export interface UpdateJobDetails {
833
1537
  /** Return package details of job. */
834
1538
  returnToCustomerPackageDetails?: PackageCarrierDetails;
835
1539
  }
836
- /** Package carrier details. */
837
- export interface PackageCarrierDetails {
838
- /** Carrier Account Number of customer for customer disk. */
839
- carrierAccountNumber?: string;
840
- /** Name of the carrier. */
841
- carrierName?: string;
842
- /** Tracking Id of shipment. */
843
- trackingId?: string;
1540
+ export declare function updateJobDetailsSerializer(item: UpdateJobDetails): any;
1541
+ /** Job Resource Collection */
1542
+ export interface _JobResourceList {
1543
+ /** The JobResource items on this page */
1544
+ value: JobResource[];
1545
+ /** The link to the next page of items */
1546
+ nextLink?: string;
844
1547
  }
1548
+ export declare function _jobResourceListDeserializer(item: any): _JobResourceList;
1549
+ export declare function jobResourceArraySerializer(result: Array<JobResource>): any[];
1550
+ export declare function jobResourceArrayDeserializer(result: Array<JobResource>): any[];
845
1551
  /** Shipment pick up request details. */
846
1552
  export interface ShipmentPickUpRequest {
847
1553
  /** Minimum date after which the pick up should commence, this must be in local time of pick up area. */
@@ -851,59 +1557,52 @@ export interface ShipmentPickUpRequest {
851
1557
  /** Shipment Location in the pickup place. Eg.front desk */
852
1558
  shipmentLocation: string;
853
1559
  }
1560
+ export declare function shipmentPickUpRequestSerializer(item: ShipmentPickUpRequest): any;
854
1561
  /** Shipment pick up response. */
855
1562
  export interface ShipmentPickUpResponse {
856
- /**
857
- * Confirmation number for the pick up request.
858
- * NOTE: This property will not be serialized. It can only be populated by the server.
859
- */
1563
+ /** Confirmation number for the pick up request. */
860
1564
  readonly confirmationNumber?: string;
861
- /**
862
- * Time by which shipment should be ready for pick up, this is in local time of pick up area.
863
- * NOTE: This property will not be serialized. It can only be populated by the server.
864
- */
1565
+ /** Time by which shipment should be ready for pick up, this is in local time of pick up area. */
865
1566
  readonly readyByTime?: Date;
866
1567
  }
1568
+ export declare function shipmentPickUpResponseDeserializer(item: any): ShipmentPickUpResponse;
867
1569
  /** Reason for cancellation. */
868
1570
  export interface CancellationReason {
869
1571
  /** Reason for cancellation. */
870
1572
  reason: string;
871
1573
  }
1574
+ export declare function cancellationReasonSerializer(item: CancellationReason): any;
872
1575
  /** List of unencrypted credentials for accessing device. */
873
- export interface UnencryptedCredentialsList {
874
- /** List of unencrypted credentials. */
875
- value?: UnencryptedCredentials[];
876
- /** Link for the next set of unencrypted credentials. */
1576
+ export interface _UnencryptedCredentialsList {
1577
+ /** The UnencryptedCredentials items on this page */
1578
+ value: UnencryptedCredentials[];
1579
+ /** The link to the next page of items */
877
1580
  nextLink?: string;
878
1581
  }
1582
+ export declare function _unencryptedCredentialsListDeserializer(item: any): _UnencryptedCredentialsList;
1583
+ export declare function unencryptedCredentialsArrayDeserializer(result: Array<UnencryptedCredentials>): any[];
879
1584
  /** Unencrypted credentials for accessing device. */
880
1585
  export interface UnencryptedCredentials {
881
- /**
882
- * Name of the job.
883
- * NOTE: This property will not be serialized. It can only be populated by the server.
884
- */
1586
+ /** Name of the job. */
885
1587
  readonly jobName?: string;
886
- /**
887
- * Secrets related to this job.
888
- * NOTE: This property will not be serialized. It can only be populated by the server.
889
- */
1588
+ /** Secrets related to this job. */
890
1589
  readonly jobSecrets?: JobSecretsUnion;
891
1590
  }
1591
+ export declare function unencryptedCredentialsDeserializer(item: any): UnencryptedCredentials;
892
1592
  /** The base class for the secrets */
893
1593
  export interface JobSecrets {
894
- /** Polymorphic discriminator, which specifies the different types this object can be */
895
- jobSecretsType: "DataBoxCustomerDisk" | "DataBoxDisk" | "DataBoxHeavy" | "DataBox";
896
- /**
897
- * Dc Access Security Code for Customer Managed Shipping
898
- * NOTE: This property will not be serialized. It can only be populated by the server.
899
- */
1594
+ /** Used to indicate what type of job secrets object. */
1595
+ /** The discriminator possible values: DataBoxCustomerDisk, DataBoxDisk, DataBoxHeavy, DataBox */
1596
+ jobSecretsType: ClassDiscriminator;
1597
+ /** Dc Access Security Code for Customer Managed Shipping */
900
1598
  readonly dcAccessSecurityCode?: DcAccessSecurityCode;
901
- /**
902
- * Error while fetching the secrets.
903
- * NOTE: This property will not be serialized. It can only be populated by the server.
904
- */
1599
+ /** Error while fetching the secrets. */
905
1600
  readonly error?: CloudError;
906
1601
  }
1602
+ export declare function jobSecretsDeserializer(item: any): JobSecrets;
1603
+ /** Alias for JobSecretsUnion */
1604
+ export type JobSecretsUnion = CustomerDiskJobSecrets | DataBoxDiskJobSecrets | DataBoxHeavyJobSecrets | DataboxJobSecrets | JobSecrets;
1605
+ export declare function jobSecretsUnionDeserializer(item: any): JobSecretsUnion;
907
1606
  /** Dc access security code */
908
1607
  export interface DcAccessSecurityCode {
909
1608
  /** Reverse Dc access security code. */
@@ -911,6 +1610,131 @@ export interface DcAccessSecurityCode {
911
1610
  /** Forward Dc access security code. */
912
1611
  forwardDCAccessCode?: string;
913
1612
  }
1613
+ export declare function dcAccessSecurityCodeDeserializer(item: any): DcAccessSecurityCode;
1614
+ /** The secrets related to customer disk job. */
1615
+ export interface CustomerDiskJobSecrets extends JobSecrets {
1616
+ /** Contains the list of secrets object for that device. */
1617
+ readonly diskSecrets?: DiskSecret[];
1618
+ /** Carrier Account Number of the customer */
1619
+ readonly carrierAccountNumber?: string;
1620
+ /** Used to indicate what type of job secrets object. */
1621
+ jobSecretsType: "DataBoxCustomerDisk";
1622
+ }
1623
+ export declare function customerDiskJobSecretsDeserializer(item: any): CustomerDiskJobSecrets;
1624
+ export declare function diskSecretArrayDeserializer(result: Array<DiskSecret>): any[];
1625
+ /** Contains all the secrets of a Disk. */
1626
+ export interface DiskSecret {
1627
+ /** Serial number of the assigned disk. */
1628
+ readonly diskSerialNumber?: string;
1629
+ /** Bit Locker key of the disk which can be used to unlock the disk to copy data. */
1630
+ readonly bitLockerKey?: string;
1631
+ }
1632
+ export declare function diskSecretDeserializer(item: any): DiskSecret;
1633
+ /** The secrets related to disk job. */
1634
+ export interface DataBoxDiskJobSecrets extends JobSecrets {
1635
+ /** Contains the list of secrets object for that device. */
1636
+ readonly diskSecrets?: DiskSecret[];
1637
+ /** PassKey for the disk Job. */
1638
+ readonly passKey?: string;
1639
+ /** Whether passkey was provided by user. */
1640
+ readonly isPasskeyUserDefined?: boolean;
1641
+ /** Used to indicate what type of job secrets object. */
1642
+ jobSecretsType: "DataBoxDisk";
1643
+ }
1644
+ export declare function dataBoxDiskJobSecretsDeserializer(item: any): DataBoxDiskJobSecrets;
1645
+ /** The secrets related to a databox heavy job. */
1646
+ export interface DataBoxHeavyJobSecrets extends JobSecrets {
1647
+ /** Contains the list of secret objects for a databox heavy job. */
1648
+ readonly cabinetPodSecrets?: DataBoxHeavySecret[];
1649
+ /** Used to indicate what type of job secrets object. */
1650
+ jobSecretsType: "DataBoxHeavy";
1651
+ }
1652
+ export declare function dataBoxHeavyJobSecretsDeserializer(item: any): DataBoxHeavyJobSecrets;
1653
+ export declare function dataBoxHeavySecretArrayDeserializer(result: Array<DataBoxHeavySecret>): any[];
1654
+ /** The secrets related to a databox heavy. */
1655
+ export interface DataBoxHeavySecret {
1656
+ /** Serial number of the assigned device. */
1657
+ readonly deviceSerialNumber?: string;
1658
+ /** Password for out of the box experience on device. */
1659
+ readonly devicePassword?: string;
1660
+ /** Network configuration of the appliance. */
1661
+ readonly networkConfigurations?: ApplianceNetworkConfiguration[];
1662
+ /** The base 64 encoded public key to authenticate with the device */
1663
+ readonly encodedValidationCertPubKey?: string;
1664
+ /** Per account level access credentials. */
1665
+ readonly accountCredentialDetails?: AccountCredentialDetails[];
1666
+ }
1667
+ export declare function dataBoxHeavySecretDeserializer(item: any): DataBoxHeavySecret;
1668
+ export declare function applianceNetworkConfigurationArrayDeserializer(result: Array<ApplianceNetworkConfiguration>): any[];
1669
+ /** The Network Adapter configuration of a DataBox. */
1670
+ export interface ApplianceNetworkConfiguration {
1671
+ /** Name of the network. */
1672
+ readonly name?: string;
1673
+ /** Mac Address. */
1674
+ readonly macAddress?: string;
1675
+ }
1676
+ export declare function applianceNetworkConfigurationDeserializer(item: any): ApplianceNetworkConfiguration;
1677
+ export declare function accountCredentialDetailsArrayDeserializer(result: Array<AccountCredentialDetails>): any[];
1678
+ /** Credential details of the account. */
1679
+ export interface AccountCredentialDetails {
1680
+ /** Name of the account. */
1681
+ readonly accountName?: string;
1682
+ /** Type of the account. */
1683
+ readonly dataAccountType?: DataAccountType;
1684
+ /** Connection string of the account endpoint to use the account as a storage endpoint on the device. */
1685
+ readonly accountConnectionString?: string;
1686
+ /** Per share level unencrypted access credentials. */
1687
+ readonly shareCredentialDetails?: ShareCredentialDetails[];
1688
+ }
1689
+ export declare function accountCredentialDetailsDeserializer(item: any): AccountCredentialDetails;
1690
+ export declare function shareCredentialDetailsArrayDeserializer(result: Array<ShareCredentialDetails>): any[];
1691
+ /** Credential details of the shares in account. */
1692
+ export interface ShareCredentialDetails {
1693
+ /** Name of the share. */
1694
+ readonly shareName?: string;
1695
+ /** Type of the share. */
1696
+ readonly shareType?: ShareDestinationFormatType;
1697
+ /** User name for the share. */
1698
+ readonly userName?: string;
1699
+ /** Password for the share. */
1700
+ readonly password?: string;
1701
+ /** Access protocols supported on the device. */
1702
+ readonly supportedAccessProtocols?: AccessProtocol[];
1703
+ }
1704
+ export declare function shareCredentialDetailsDeserializer(item: any): ShareCredentialDetails;
1705
+ /** Type of the share. */
1706
+ export type ShareDestinationFormatType = "UnknownType" | "HCS" | "BlockBlob" | "PageBlob" | "AzureFile" | "ManagedDisk";
1707
+ /** Access protocols supported on the device. */
1708
+ export type AccessProtocol = "SMB" | "NFS";
1709
+ /** The secrets related to a databox job. */
1710
+ export interface DataboxJobSecrets extends JobSecrets {
1711
+ /** Contains the list of secret objects for a job. */
1712
+ podSecrets?: DataBoxSecret[];
1713
+ /** Used to indicate what type of job secrets object. */
1714
+ jobSecretsType: "DataBox";
1715
+ }
1716
+ export declare function databoxJobSecretsDeserializer(item: any): DataboxJobSecrets;
1717
+ export declare function dataBoxSecretArrayDeserializer(result: Array<DataBoxSecret>): any[];
1718
+ /** The secrets related to a DataBox. */
1719
+ export interface DataBoxSecret {
1720
+ /** Serial number of the assigned device. */
1721
+ readonly deviceSerialNumber?: string;
1722
+ /** Password for out of the box experience on device. */
1723
+ readonly devicePassword?: string;
1724
+ /** Network configuration of the appliance. */
1725
+ readonly networkConfigurations?: ApplianceNetworkConfiguration[];
1726
+ /** The base 64 encoded public key to authenticate with the device */
1727
+ readonly encodedValidationCertPubKey?: string;
1728
+ /** Per account level access credentials. */
1729
+ readonly accountCredentialDetails?: AccountCredentialDetails[];
1730
+ }
1731
+ export declare function dataBoxSecretDeserializer(item: any): DataBoxSecret;
1732
+ /** The request body to provide the delivery package details of job */
1733
+ export interface MarkDevicesShippedRequest {
1734
+ /** Delivery package details */
1735
+ deliverToDcPackageDetails: PackageCarrierInfo;
1736
+ }
1737
+ export declare function markDevicesShippedRequestSerializer(item: MarkDevicesShippedRequest): any;
914
1738
  /** Request body to get the configuration for the region. */
915
1739
  export interface RegionConfigurationRequest {
916
1740
  /** Request body to get the availability for scheduling orders. */
@@ -922,17 +1746,43 @@ export interface RegionConfigurationRequest {
922
1746
  /** Request body to get the device capabilities for a given sku. */
923
1747
  deviceCapabilityRequest?: DeviceCapabilityRequest;
924
1748
  }
1749
+ export declare function regionConfigurationRequestSerializer(item: RegionConfigurationRequest): any;
925
1750
  /** Request body to get the availability for scheduling orders. */
926
1751
  export interface ScheduleAvailabilityRequest {
927
- /** Polymorphic discriminator, which specifies the different types this object can be */
928
- skuName: "DataBox" | "DataBoxDisk" | "DataBoxHeavy";
929
1752
  /** Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 */
930
1753
  storageLocation: string;
1754
+ /** Sku Name for which the order is to be scheduled. */
1755
+ /** The discriminator possible values: DataBox, DataBoxDisk, DataBoxHeavy */
1756
+ skuName: SkuName;
931
1757
  /** Country in which storage location should be supported. */
932
1758
  country?: string;
933
1759
  /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
934
1760
  model?: ModelName;
935
1761
  }
1762
+ export declare function scheduleAvailabilityRequestSerializer(item: ScheduleAvailabilityRequest): any;
1763
+ /** Alias for ScheduleAvailabilityRequestUnion */
1764
+ export type ScheduleAvailabilityRequestUnion = DataBoxScheduleAvailabilityRequest | DiskScheduleAvailabilityRequest | HeavyScheduleAvailabilityRequest | ScheduleAvailabilityRequest;
1765
+ export declare function scheduleAvailabilityRequestUnionSerializer(item: ScheduleAvailabilityRequestUnion): any;
1766
+ /** Request body to get the availability for scheduling data box orders orders. */
1767
+ export interface DataBoxScheduleAvailabilityRequest extends ScheduleAvailabilityRequest {
1768
+ /** Sku Name for which the order is to be scheduled. */
1769
+ skuName: "DataBox";
1770
+ }
1771
+ export declare function dataBoxScheduleAvailabilityRequestSerializer(item: DataBoxScheduleAvailabilityRequest): any;
1772
+ /** Request body to get the availability for scheduling disk orders. */
1773
+ export interface DiskScheduleAvailabilityRequest extends ScheduleAvailabilityRequest {
1774
+ /** The expected size of the data, which needs to be transferred in this job, in terabytes. */
1775
+ expectedDataSizeInTeraBytes: number;
1776
+ /** Sku Name for which the order is to be scheduled. */
1777
+ skuName: "DataBoxDisk";
1778
+ }
1779
+ export declare function diskScheduleAvailabilityRequestSerializer(item: DiskScheduleAvailabilityRequest): any;
1780
+ /** Request body to get the availability for scheduling heavy orders. */
1781
+ export interface HeavyScheduleAvailabilityRequest extends ScheduleAvailabilityRequest {
1782
+ /** Sku Name for which the order is to be scheduled. */
1783
+ skuName: "DataBoxHeavy";
1784
+ }
1785
+ export declare function heavyScheduleAvailabilityRequestSerializer(item: HeavyScheduleAvailabilityRequest): any;
936
1786
  /** Request body to get the transport availability for given sku. */
937
1787
  export interface TransportAvailabilityRequest {
938
1788
  /** Type of the device. */
@@ -940,6 +1790,7 @@ export interface TransportAvailabilityRequest {
940
1790
  /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
941
1791
  model?: ModelName;
942
1792
  }
1793
+ export declare function transportAvailabilityRequestSerializer(item: TransportAvailabilityRequest): any;
943
1794
  /** Request body to get the datacenter address. */
944
1795
  export interface DatacenterAddressRequest {
945
1796
  /** Storage location. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 */
@@ -949,6 +1800,7 @@ export interface DatacenterAddressRequest {
949
1800
  /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
950
1801
  model?: ModelName;
951
1802
  }
1803
+ export declare function datacenterAddressRequestSerializer(item: DatacenterAddressRequest): any;
952
1804
  /** Request body to get the device capabilities for given sku. */
953
1805
  export interface DeviceCapabilityRequest {
954
1806
  /** Type of the device. */
@@ -956,1699 +1808,396 @@ export interface DeviceCapabilityRequest {
956
1808
  /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
957
1809
  model?: ModelName;
958
1810
  }
1811
+ export declare function deviceCapabilityRequestSerializer(item: DeviceCapabilityRequest): any;
959
1812
  /** Configuration response specific to a region. */
960
1813
  export interface RegionConfigurationResponse {
961
- /**
962
- * Schedule availability for given sku in a region.
963
- * NOTE: This property will not be serialized. It can only be populated by the server.
964
- */
1814
+ /** Schedule availability for given sku in a region. */
965
1815
  readonly scheduleAvailabilityResponse?: ScheduleAvailabilityResponse;
966
- /**
967
- * Transport options available for given sku in a region.
968
- * NOTE: This property will not be serialized. It can only be populated by the server.
969
- */
970
- readonly transportAvailabilityResponse?: TransportAvailabilityResponse;
971
- /**
972
- * Datacenter address for given sku in a region.
973
- * NOTE: This property will not be serialized. It can only be populated by the server.
974
- */
975
- readonly datacenterAddressResponse?: DatacenterAddressResponseUnion;
976
- /**
977
- * Device capabilities available for a given sku in a region.
978
- * NOTE: This property will not be serialized. It can only be populated by the server.
979
- */
980
- readonly deviceCapabilityResponse?: DeviceCapabilityResponse;
981
- }
982
- /** Schedule availability for given sku in a region. */
983
- export interface ScheduleAvailabilityResponse {
984
- /**
985
- * List of dates available to schedule
986
- * NOTE: This property will not be serialized. It can only be populated by the server.
987
- */
988
- readonly availableDates?: Date[];
989
- }
990
- /** Transport options available for given sku in a region. */
991
- export interface TransportAvailabilityResponse {
992
- /**
993
- * List of transport availability details for given region
994
- * NOTE: This property will not be serialized. It can only be populated by the server.
995
- */
996
- readonly transportAvailabilityDetails?: TransportAvailabilityDetails[];
997
- }
998
- /** Transport options availability details for given region. */
999
- export interface TransportAvailabilityDetails {
1000
- /**
1001
- * Transport Shipment Type supported for given region.
1002
- * NOTE: This property will not be serialized. It can only be populated by the server.
1003
- */
1004
- readonly shipmentType?: TransportShipmentTypes;
1005
- }
1006
- /** Device capabilities for given sku in a region */
1007
- export interface DeviceCapabilityResponse {
1008
- /**
1009
- * List of device capabilities available for a given region and a given sku
1010
- * NOTE: This property will not be serialized. It can only be populated by the server.
1011
- */
1012
- readonly deviceCapabilityDetails?: DeviceCapabilityDetails[];
1013
- }
1014
- /** Device capability details for a given sku for a given region. */
1015
- export interface DeviceCapabilityDetails {
1016
- /**
1017
- * Hardware encryption support for a given sku for a given region.
1018
- * NOTE: This property will not be serialized. It can only be populated by the server.
1019
- */
1020
- readonly hardwareEncryption?: HardwareEncryption;
1021
- }
1022
- /** Credential details of the account. */
1023
- export interface AccountCredentialDetails {
1024
- /**
1025
- * Name of the account.
1026
- * NOTE: This property will not be serialized. It can only be populated by the server.
1027
- */
1028
- readonly accountName?: string;
1029
- /**
1030
- * Type of the account.
1031
- * NOTE: This property will not be serialized. It can only be populated by the server.
1032
- */
1033
- readonly dataAccountType?: DataAccountType;
1034
- /**
1035
- * Connection string of the account endpoint to use the account as a storage endpoint on the device.
1036
- * NOTE: This property will not be serialized. It can only be populated by the server.
1037
- */
1038
- readonly accountConnectionString?: string;
1039
- /**
1040
- * Per share level unencrypted access credentials.
1041
- * NOTE: This property will not be serialized. It can only be populated by the server.
1042
- */
1043
- readonly shareCredentialDetails?: ShareCredentialDetails[];
1044
- }
1045
- /** Credential details of the shares in account. */
1046
- export interface ShareCredentialDetails {
1047
- /**
1048
- * Name of the share.
1049
- * NOTE: This property will not be serialized. It can only be populated by the server.
1050
- */
1051
- readonly shareName?: string;
1052
- /**
1053
- * Type of the share.
1054
- * NOTE: This property will not be serialized. It can only be populated by the server.
1055
- */
1056
- readonly shareType?: ShareDestinationFormatType;
1057
- /**
1058
- * User name for the share.
1059
- * NOTE: This property will not be serialized. It can only be populated by the server.
1060
- */
1061
- readonly userName?: string;
1062
- /**
1063
- * Password for the share.
1064
- * NOTE: This property will not be serialized. It can only be populated by the server.
1065
- */
1066
- readonly password?: string;
1067
- /**
1068
- * Access protocols supported on the device.
1069
- * NOTE: This property will not be serialized. It can only be populated by the server.
1070
- */
1071
- readonly supportedAccessProtocols?: AccessProtocol[];
1072
- }
1073
- /** The Network Adapter configuration of a DataBox. */
1074
- export interface ApplianceNetworkConfiguration {
1075
- /**
1076
- * Name of the network.
1077
- * NOTE: This property will not be serialized. It can only be populated by the server.
1078
- */
1079
- readonly name?: string;
1080
- /**
1081
- * Mac Address.
1082
- * NOTE: This property will not be serialized. It can only be populated by the server.
1083
- */
1084
- readonly macAddress?: string;
1085
- }
1086
- /** Base class for all objects under resource. */
1087
- export interface ArmBaseObject {
1088
- /**
1089
- * Name of the object.
1090
- * NOTE: This property will not be serialized. It can only be populated by the server.
1091
- */
1092
- readonly name?: string;
1093
- /**
1094
- * Id of the object.
1095
- * NOTE: This property will not be serialized. It can only be populated by the server.
1096
- */
1097
- readonly id?: string;
1098
- /**
1099
- * Type of the object.
1100
- * NOTE: This property will not be serialized. It can only be populated by the server.
1101
- */
1102
- readonly type?: string;
1103
- }
1104
- /** Granular Details for log generated during copy. */
1105
- export interface GranularCopyLogDetails {
1106
- /** Polymorphic discriminator, which specifies the different types this object can be */
1107
- copyLogDetailsType: "DataBoxCustomerDisk";
1108
- }
1109
- /** Copy progress. */
1110
- export interface CopyProgress {
1111
- /**
1112
- * Name of the storage account. This will be empty for data account types other than storage account.
1113
- * NOTE: This property will not be serialized. It can only be populated by the server.
1114
- */
1115
- readonly storageAccountName?: string;
1116
- /**
1117
- * Transfer type of data
1118
- * NOTE: This property will not be serialized. It can only be populated by the server.
1119
- */
1120
- readonly transferType?: TransferType;
1121
- /**
1122
- * Data Account Type.
1123
- * NOTE: This property will not be serialized. It can only be populated by the server.
1124
- */
1125
- readonly dataAccountType?: DataAccountType;
1126
- /**
1127
- * Id of the account where the data needs to be uploaded.
1128
- * NOTE: This property will not be serialized. It can only be populated by the server.
1129
- */
1130
- readonly accountId?: string;
1131
- /**
1132
- * To indicate bytes transferred.
1133
- * NOTE: This property will not be serialized. It can only be populated by the server.
1134
- */
1135
- readonly bytesProcessed?: number;
1136
- /**
1137
- * Total amount of data to be processed by the job.
1138
- * NOTE: This property will not be serialized. It can only be populated by the server.
1139
- */
1140
- readonly totalBytesToProcess?: number;
1141
- /**
1142
- * Number of files processed
1143
- * NOTE: This property will not be serialized. It can only be populated by the server.
1144
- */
1145
- readonly filesProcessed?: number;
1146
- /**
1147
- * Total files to process
1148
- * NOTE: This property will not be serialized. It can only be populated by the server.
1149
- */
1150
- readonly totalFilesToProcess?: number;
1151
- /**
1152
- * Number of files not adhering to azure naming conventions which were processed by automatic renaming
1153
- * NOTE: This property will not be serialized. It can only be populated by the server.
1154
- */
1155
- readonly invalidFilesProcessed?: number;
1156
- /**
1157
- * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming
1158
- * NOTE: This property will not be serialized. It can only be populated by the server.
1159
- */
1160
- readonly invalidFileBytesUploaded?: number;
1161
- /**
1162
- * Number of folders not adhering to azure naming conventions which were processed by automatic renaming
1163
- * NOTE: This property will not be serialized. It can only be populated by the server.
1164
- */
1165
- readonly renamedContainerCount?: number;
1166
- /**
1167
- * Number of files which could not be copied
1168
- * NOTE: This property will not be serialized. It can only be populated by the server.
1169
- */
1170
- readonly filesErroredOut?: number;
1171
- /**
1172
- * To indicate directories errored out in the job.
1173
- * NOTE: This property will not be serialized. It can only be populated by the server.
1174
- */
1175
- readonly directoriesErroredOut?: number;
1176
- /**
1177
- * To indicate directories renamed
1178
- * NOTE: This property will not be serialized. It can only be populated by the server.
1179
- */
1180
- readonly invalidDirectoriesProcessed?: number;
1181
- /**
1182
- * To indicate if enumeration of data is in progress.
1183
- * Until this is true, the TotalBytesToProcess may not be valid.
1184
- * NOTE: This property will not be serialized. It can only be populated by the server.
1185
- */
1186
- readonly isEnumerationInProgress?: boolean;
1187
- /**
1188
- * Error, if any, in the stage
1189
- * NOTE: This property will not be serialized. It can only be populated by the server.
1190
- */
1191
- readonly error?: CloudError;
1192
- /**
1193
- * Available actions on the job.
1194
- * NOTE: This property will not be serialized. It can only be populated by the server.
1195
- */
1196
- readonly actions?: CustomerResolutionCode[];
1197
- }
1198
- /** Granular Copy progress. */
1199
- export interface GranularCopyProgress {
1200
- /**
1201
- * Name of the storage account. This will be empty for data account types other than storage account.
1202
- * NOTE: This property will not be serialized. It can only be populated by the server.
1203
- */
1204
- readonly storageAccountName?: string;
1205
- /**
1206
- * Transfer type of data
1207
- * NOTE: This property will not be serialized. It can only be populated by the server.
1208
- */
1209
- readonly transferType?: TransferType;
1210
- /**
1211
- * Data Account Type.
1212
- * NOTE: This property will not be serialized. It can only be populated by the server.
1213
- */
1214
- readonly dataAccountType?: DataAccountType;
1215
- /**
1216
- * Id of the account where the data needs to be uploaded.
1217
- * NOTE: This property will not be serialized. It can only be populated by the server.
1218
- */
1219
- readonly accountId?: string;
1220
- /**
1221
- * To indicate bytes transferred.
1222
- * NOTE: This property will not be serialized. It can only be populated by the server.
1223
- */
1224
- readonly bytesProcessed?: number;
1225
- /**
1226
- * Total amount of data to be processed by the job.
1227
- * NOTE: This property will not be serialized. It can only be populated by the server.
1228
- */
1229
- readonly totalBytesToProcess?: number;
1230
- /**
1231
- * Number of files processed
1232
- * NOTE: This property will not be serialized. It can only be populated by the server.
1233
- */
1234
- readonly filesProcessed?: number;
1235
- /**
1236
- * Total files to process
1237
- * NOTE: This property will not be serialized. It can only be populated by the server.
1238
- */
1239
- readonly totalFilesToProcess?: number;
1240
- /**
1241
- * Number of files not adhering to azure naming conventions which were processed by automatic renaming
1242
- * NOTE: This property will not be serialized. It can only be populated by the server.
1243
- */
1244
- readonly invalidFilesProcessed?: number;
1245
- /**
1246
- * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming
1247
- * NOTE: This property will not be serialized. It can only be populated by the server.
1248
- */
1249
- readonly invalidFileBytesUploaded?: number;
1250
- /**
1251
- * Number of folders not adhering to azure naming conventions which were processed by automatic renaming
1252
- * NOTE: This property will not be serialized. It can only be populated by the server.
1253
- */
1254
- readonly renamedContainerCount?: number;
1255
- /**
1256
- * Number of files which could not be copied
1257
- * NOTE: This property will not be serialized. It can only be populated by the server.
1258
- */
1259
- readonly filesErroredOut?: number;
1260
- /**
1261
- * To indicate directories errored out in the job.
1262
- * NOTE: This property will not be serialized. It can only be populated by the server.
1263
- */
1264
- readonly directoriesErroredOut?: number;
1265
- /**
1266
- * To indicate directories renamed
1267
- * NOTE: This property will not be serialized. It can only be populated by the server.
1268
- */
1269
- readonly invalidDirectoriesProcessed?: number;
1270
- /**
1271
- * To indicate if enumeration of data is in progress.
1272
- * Until this is true, the TotalBytesToProcess may not be valid.
1273
- * NOTE: This property will not be serialized. It can only be populated by the server.
1274
- */
1275
- readonly isEnumerationInProgress?: boolean;
1276
- /**
1277
- * Error, if any, in the stage
1278
- * NOTE: This property will not be serialized. It can only be populated by the server.
1279
- */
1280
- readonly error?: CloudError;
1281
- /**
1282
- * Available actions on the job.
1283
- * NOTE: This property will not be serialized. It can only be populated by the server.
1284
- */
1285
- readonly actions?: CustomerResolutionCode[];
1286
- }
1287
- /** Import disk details */
1288
- export interface ImportDiskDetails {
1289
- /** The relative path of the manifest file on the disk. */
1290
- manifestFile: string;
1291
- /** The Base16-encoded MD5 hash of the manifest file on the disk. */
1292
- manifestHash: string;
1293
- /** BitLocker key used to encrypt the disk. */
1294
- bitLockerKey: string;
1295
- /**
1296
- * Path to backed up manifest, only returned if enableManifestBackup is true.
1297
- * NOTE: This property will not be serialized. It can only be populated by the server.
1298
- */
1299
- readonly backupManifestCloudPath?: string;
1300
- }
1301
- /** Export disk details */
1302
- export interface ExportDiskDetails {
1303
- /**
1304
- * The relative path of the manifest file on the disk.
1305
- * NOTE: This property will not be serialized. It can only be populated by the server.
1306
- */
1307
- readonly manifestFile?: string;
1308
- /**
1309
- * The Base16-encoded MD5 hash of the manifest file on the disk.
1310
- * NOTE: This property will not be serialized. It can only be populated by the server.
1311
- */
1312
- readonly manifestHash?: string;
1313
- /**
1314
- * Path to backed up manifest, only returned if enableManifestBackup is true.
1315
- * NOTE: This property will not be serialized. It can only be populated by the server.
1316
- */
1317
- readonly backupManifestCloudPath?: string;
1318
- }
1319
- /** Contains all the secrets of a Disk. */
1320
- export interface DiskSecret {
1321
- /**
1322
- * Serial number of the assigned disk.
1323
- * NOTE: This property will not be serialized. It can only be populated by the server.
1324
- */
1325
- readonly diskSerialNumber?: string;
1326
- /**
1327
- * Bit Locker key of the disk which can be used to unlock the disk to copy data.
1328
- * NOTE: This property will not be serialized. It can only be populated by the server.
1329
- */
1330
- readonly bitLockerKey?: string;
1331
- }
1332
- /** DataBox Disk Copy Progress */
1333
- export interface DataBoxDiskCopyProgress {
1334
- /**
1335
- * The serial number of the disk
1336
- * NOTE: This property will not be serialized. It can only be populated by the server.
1337
- */
1338
- readonly serialNumber?: string;
1339
- /**
1340
- * Bytes copied during the copy of disk.
1341
- * NOTE: This property will not be serialized. It can only be populated by the server.
1342
- */
1343
- readonly bytesCopied?: number;
1344
- /**
1345
- * Indicates the percentage completed for the copy of the disk.
1346
- * NOTE: This property will not be serialized. It can only be populated by the server.
1347
- */
1348
- readonly percentComplete?: number;
1349
- /**
1350
- * The Status of the copy
1351
- * NOTE: This property will not be serialized. It can only be populated by the server.
1352
- */
1353
- readonly status?: CopyStatus;
1354
- /**
1355
- * Error, if any, in the stage
1356
- * NOTE: This property will not be serialized. It can only be populated by the server.
1357
- */
1358
- readonly error?: CloudError;
1359
- /**
1360
- * Available actions on the job.
1361
- * NOTE: This property will not be serialized. It can only be populated by the server.
1362
- */
1363
- readonly actions?: CustomerResolutionCode[];
1364
- }
1365
- /** The secrets related to a databox heavy. */
1366
- export interface DataBoxHeavySecret {
1367
- /**
1368
- * Serial number of the assigned device.
1369
- * NOTE: This property will not be serialized. It can only be populated by the server.
1370
- */
1371
- readonly deviceSerialNumber?: string;
1372
- /**
1373
- * Password for out of the box experience on device.
1374
- * NOTE: This property will not be serialized. It can only be populated by the server.
1375
- */
1376
- readonly devicePassword?: string;
1377
- /**
1378
- * Network configuration of the appliance.
1379
- * NOTE: This property will not be serialized. It can only be populated by the server.
1380
- */
1381
- readonly networkConfigurations?: ApplianceNetworkConfiguration[];
1382
- /**
1383
- * The base 64 encoded public key to authenticate with the device
1384
- * NOTE: This property will not be serialized. It can only be populated by the server.
1385
- */
1386
- readonly encodedValidationCertPubKey?: string;
1387
- /**
1388
- * Per account level access credentials.
1389
- * NOTE: This property will not be serialized. It can only be populated by the server.
1390
- */
1391
- readonly accountCredentialDetails?: AccountCredentialDetails[];
1392
- }
1393
- /** The secrets related to a DataBox. */
1394
- export interface DataBoxSecret {
1395
- /**
1396
- * Serial number of the assigned device.
1397
- * NOTE: This property will not be serialized. It can only be populated by the server.
1398
- */
1399
- readonly deviceSerialNumber?: string;
1400
- /**
1401
- * Password for out of the box experience on device.
1402
- * NOTE: This property will not be serialized. It can only be populated by the server.
1403
- */
1404
- readonly devicePassword?: string;
1405
- /**
1406
- * Network configuration of the appliance.
1407
- * NOTE: This property will not be serialized. It can only be populated by the server.
1408
- */
1409
- readonly networkConfigurations?: ApplianceNetworkConfiguration[];
1410
- /**
1411
- * The base 64 encoded public key to authenticate with the device
1412
- * NOTE: This property will not be serialized. It can only be populated by the server.
1413
- */
1414
- readonly encodedValidationCertPubKey?: string;
1415
- /**
1416
- * Per account level access credentials.
1417
- * NOTE: This property will not be serialized. It can only be populated by the server.
1418
- */
1419
- readonly accountCredentialDetails?: AccountCredentialDetails[];
1420
- }
1421
- /** Customer disk job details. */
1422
- export interface DataBoxCustomerDiskJobDetails extends JobDetails {
1423
- /** Polymorphic discriminator, which specifies the different types this object can be */
1424
- jobDetailsType: "DataBoxCustomerDisk";
1425
- /** Contains the map of disk serial number to the disk details for import jobs. */
1426
- importDiskDetailsCollection?: {
1427
- [propertyName: string]: ImportDiskDetails;
1428
- };
1429
- /**
1430
- * Contains the map of disk serial number to the disk details for export jobs.
1431
- * NOTE: This property will not be serialized. It can only be populated by the server.
1432
- */
1433
- readonly exportDiskDetailsCollection?: {
1434
- [propertyName: string]: ExportDiskDetails;
1435
- };
1436
- /**
1437
- * Copy progress per disk.
1438
- * NOTE: This property will not be serialized. It can only be populated by the server.
1439
- */
1440
- readonly copyProgress?: DataBoxCustomerDiskCopyProgress[];
1441
- /**
1442
- * Delivery package shipping details.
1443
- * NOTE: This property will not be serialized. It can only be populated by the server.
1444
- */
1445
- readonly deliverToDcPackageDetails?: PackageCarrierInfo;
1446
- /** Return package shipping details. */
1447
- returnToCustomerPackageDetails: PackageCarrierDetails;
1448
- /** Flag to indicate if disk manifest should be backed-up in the Storage Account. */
1449
- enableManifestBackup?: boolean;
1450
- }
1451
- /** DataBox Disk Job Details. */
1452
- export interface DataBoxDiskJobDetails extends JobDetails {
1453
- /** Polymorphic discriminator, which specifies the different types this object can be */
1454
- jobDetailsType: "DataBoxDisk";
1455
- /** User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int. */
1456
- preferredDisks?: {
1457
- [propertyName: string]: number;
1458
- };
1459
- /**
1460
- * Copy progress per disk.
1461
- * NOTE: This property will not be serialized. It can only be populated by the server.
1462
- */
1463
- readonly copyProgress?: DataBoxDiskCopyProgress[];
1464
- /**
1465
- * Copy progress per disk.
1466
- * NOTE: This property will not be serialized. It can only be populated by the server.
1467
- */
1468
- readonly granularCopyProgress?: DataBoxDiskGranularCopyProgress[];
1469
- /**
1470
- * Copy progress per disk.
1471
- * NOTE: This property will not be serialized. It can only be populated by the server.
1472
- */
1473
- readonly granularCopyLogDetails?: DataBoxDiskGranularCopyLogDetails[];
1474
- /**
1475
- * Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer.
1476
- * NOTE: This property will not be serialized. It can only be populated by the server.
1477
- */
1478
- readonly disksAndSizeDetails?: {
1479
- [propertyName: string]: number;
1480
- };
1481
- /** User entered passkey for DataBox Disk job. */
1482
- passkey?: string;
1483
- }
1484
- /** Databox Heavy Device Job Details */
1485
- export interface DataBoxHeavyJobDetails extends JobDetails {
1486
- /** Polymorphic discriminator, which specifies the different types this object can be */
1487
- jobDetailsType: "DataBoxHeavy";
1488
- /**
1489
- * Copy progress per account.
1490
- * NOTE: This property will not be serialized. It can only be populated by the server.
1491
- */
1492
- readonly copyProgress?: CopyProgress[];
1493
- /** Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */
1494
- devicePassword?: string;
1495
- }
1496
- /** Databox Job Details */
1497
- export interface DataBoxJobDetails extends JobDetails {
1498
- /** Polymorphic discriminator, which specifies the different types this object can be */
1499
- jobDetailsType: "DataBox";
1500
- /**
1501
- * Copy progress per storage account.
1502
- * NOTE: This property will not be serialized. It can only be populated by the server.
1503
- */
1504
- readonly copyProgress?: CopyProgress[];
1505
- /** Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */
1506
- devicePassword?: string;
1507
- }
1508
- /** Details of the managed disks. */
1509
- export interface ManagedDiskDetails extends DataAccountDetails {
1510
- /** Polymorphic discriminator, which specifies the different types this object can be */
1511
- dataAccountType: "ManagedDisk";
1512
- /** Resource Group Id of the compute disks. */
1513
- resourceGroupId: string;
1514
- /** Resource Id of the storage account that can be used to copy the vhd for staging. */
1515
- stagingStorageAccountId: string;
1516
- }
1517
- /** Details for the storage account. */
1518
- export interface StorageAccountDetails extends DataAccountDetails {
1519
- /** Polymorphic discriminator, which specifies the different types this object can be */
1520
- dataAccountType: "StorageAccount";
1521
- /** Storage Account Resource Id. */
1522
- storageAccountId: string;
1523
- }
1524
- /** Copy log details for a storage account of a DataBox job */
1525
- export interface DataBoxAccountCopyLogDetails extends CopyLogDetails {
1526
- /** Polymorphic discriminator, which specifies the different types this object can be */
1527
- copyLogDetailsType: "DataBox";
1528
- /**
1529
- * Account name.
1530
- * NOTE: This property will not be serialized. It can only be populated by the server.
1531
- */
1532
- readonly accountName?: string;
1533
- /**
1534
- * Link for copy logs.
1535
- * NOTE: This property will not be serialized. It can only be populated by the server.
1536
- */
1537
- readonly copyLogLink?: string;
1538
- /**
1539
- * Link for copy verbose logs. This will be set only when LogCollectionLevel is set to Verbose.
1540
- * NOTE: This property will not be serialized. It can only be populated by the server.
1541
- */
1542
- readonly copyVerboseLogLink?: string;
1543
- }
1544
- /** Copy Log Details for customer disk */
1545
- export interface DataBoxCustomerDiskCopyLogDetails extends CopyLogDetails {
1546
- /** Polymorphic discriminator, which specifies the different types this object can be */
1547
- copyLogDetailsType: "DataBoxCustomerDisk";
1548
- /**
1549
- * Disk Serial Number.
1550
- * NOTE: This property will not be serialized. It can only be populated by the server.
1551
- */
1552
- readonly serialNumber?: string;
1553
- /**
1554
- * Link for copy error logs.
1555
- * NOTE: This property will not be serialized. It can only be populated by the server.
1556
- */
1557
- readonly errorLogLink?: string;
1558
- /**
1559
- * Link for copy verbose logs.
1560
- * NOTE: This property will not be serialized. It can only be populated by the server.
1561
- */
1562
- readonly verboseLogLink?: string;
1563
- }
1564
- /** Copy Log Details for a disk */
1565
- export interface DataBoxDiskCopyLogDetails extends CopyLogDetails {
1566
- /** Polymorphic discriminator, which specifies the different types this object can be */
1567
- copyLogDetailsType: "DataBoxDisk";
1568
- /**
1569
- * Disk Serial Number.
1570
- * NOTE: This property will not be serialized. It can only be populated by the server.
1571
- */
1572
- readonly diskSerialNumber?: string;
1573
- /**
1574
- * Link for copy error logs.
1575
- * NOTE: This property will not be serialized. It can only be populated by the server.
1576
- */
1577
- readonly errorLogLink?: string;
1578
- /**
1579
- * Link for copy verbose logs.
1580
- * NOTE: This property will not be serialized. It can only be populated by the server.
1581
- */
1582
- readonly verboseLogLink?: string;
1583
- }
1584
- /** Copy log details for a storage account for Databox heavy */
1585
- export interface DataBoxHeavyAccountCopyLogDetails extends CopyLogDetails {
1586
- /** Polymorphic discriminator, which specifies the different types this object can be */
1587
- copyLogDetailsType: "DataBoxHeavy";
1588
- /**
1589
- * Account name.
1590
- * NOTE: This property will not be serialized. It can only be populated by the server.
1591
- */
1592
- readonly accountName?: string;
1593
- /**
1594
- * Link for copy logs.
1595
- * NOTE: This property will not be serialized. It can only be populated by the server.
1596
- */
1597
- readonly copyLogLink?: string[];
1598
- /**
1599
- * Link for copy verbose logs. This will be set only when the LogCollectionLevel is set to verbose.
1600
- * NOTE: This property will not be serialized. It can only be populated by the server.
1601
- */
1602
- readonly copyVerboseLogLink?: string[];
1603
- }
1604
- /** Datacenter instruction for given storage location. */
1605
- export interface DatacenterAddressInstructionResponse extends DatacenterAddressResponse {
1606
- /** Polymorphic discriminator, which specifies the different types this object can be */
1607
- datacenterAddressType: "DatacenterAddressInstruction";
1608
- /**
1609
- * Data center communication instruction
1610
- * NOTE: This property will not be serialized. It can only be populated by the server.
1611
- */
1612
- readonly communicationInstruction?: string;
1613
- }
1614
- /** Datacenter address for given storage location. */
1615
- export interface DatacenterAddressLocationResponse extends DatacenterAddressResponse {
1616
- /** Polymorphic discriminator, which specifies the different types this object can be */
1617
- datacenterAddressType: "DatacenterAddressLocation";
1618
- /**
1619
- * Contact person name
1620
- * NOTE: This property will not be serialized. It can only be populated by the server.
1621
- */
1622
- readonly contactPersonName?: string;
1623
- /**
1624
- * Company name
1625
- * NOTE: This property will not be serialized. It can only be populated by the server.
1626
- */
1627
- readonly company?: string;
1628
- /**
1629
- * Street address line 1
1630
- * NOTE: This property will not be serialized. It can only be populated by the server.
1631
- */
1632
- readonly street1?: string;
1633
- /**
1634
- * Street address line 2
1635
- * NOTE: This property will not be serialized. It can only be populated by the server.
1636
- */
1637
- readonly street2?: string;
1638
- /**
1639
- * Street address line 3
1640
- * NOTE: This property will not be serialized. It can only be populated by the server.
1641
- */
1642
- readonly street3?: string;
1643
- /**
1644
- * City name
1645
- * NOTE: This property will not be serialized. It can only be populated by the server.
1646
- */
1647
- readonly city?: string;
1648
- /**
1649
- * name of the state
1650
- * NOTE: This property will not be serialized. It can only be populated by the server.
1651
- */
1652
- readonly state?: string;
1653
- /**
1654
- * Zip code
1655
- * NOTE: This property will not be serialized. It can only be populated by the server.
1656
- */
1657
- readonly zip?: string;
1658
- /**
1659
- * name of the country
1660
- * NOTE: This property will not be serialized. It can only be populated by the server.
1661
- */
1662
- readonly country?: string;
1663
- /**
1664
- * Phone number
1665
- * NOTE: This property will not be serialized. It can only be populated by the server.
1666
- */
1667
- readonly phone?: string;
1668
- /**
1669
- * Phone extension
1670
- * NOTE: This property will not be serialized. It can only be populated by the server.
1671
- */
1672
- readonly phoneExtension?: string;
1673
- /**
1674
- * Address type
1675
- * NOTE: This property will not be serialized. It can only be populated by the server.
1676
- */
1677
- readonly addressType?: string;
1678
- /**
1679
- * Special instruction for shipping
1680
- * NOTE: This property will not be serialized. It can only be populated by the server.
1681
- */
1682
- readonly additionalShippingInformation?: string;
1683
- }
1684
- /** Job Resource. */
1685
- export interface JobResource extends Resource {
1686
- /**
1687
- * Name of the object.
1688
- * NOTE: This property will not be serialized. It can only be populated by the server.
1689
- */
1690
- readonly name?: string;
1691
- /**
1692
- * Id of the object.
1693
- * NOTE: This property will not be serialized. It can only be populated by the server.
1694
- */
1695
- readonly id?: string;
1696
- /**
1697
- * Type of the object.
1698
- * NOTE: This property will not be serialized. It can only be populated by the server.
1699
- */
1700
- readonly type?: string;
1701
- /**
1702
- * Metadata pertaining to creation and last modification of the resource.
1703
- * NOTE: This property will not be serialized. It can only be populated by the server.
1704
- */
1705
- readonly systemData?: SystemData;
1706
- /** Type of the data transfer. */
1707
- transferType: TransferType;
1708
- /**
1709
- * Describes whether the job is cancellable or not.
1710
- * NOTE: This property will not be serialized. It can only be populated by the server.
1711
- */
1712
- readonly isCancellable?: boolean;
1713
- /**
1714
- * Describes whether the job is deletable or not.
1715
- * NOTE: This property will not be serialized. It can only be populated by the server.
1716
- */
1717
- readonly isDeletable?: boolean;
1718
- /**
1719
- * Describes whether the shipping address is editable or not.
1720
- * NOTE: This property will not be serialized. It can only be populated by the server.
1721
- */
1722
- readonly isShippingAddressEditable?: boolean;
1723
- /**
1724
- * The Editable status for Reverse Shipping Address and Contact Info
1725
- * NOTE: This property will not be serialized. It can only be populated by the server.
1726
- */
1727
- readonly reverseShippingDetailsUpdate?: ReverseShippingDetailsEditStatus;
1728
- /**
1729
- * The Editable status for Reverse Transport preferences
1730
- * NOTE: This property will not be serialized. It can only be populated by the server.
1731
- */
1732
- readonly reverseTransportPreferenceUpdate?: ReverseTransportPreferenceEditStatus;
1733
- /**
1734
- * Is Prepare To Ship Enabled on this job
1735
- * NOTE: This property will not be serialized. It can only be populated by the server.
1736
- */
1737
- readonly isPrepareToShipEnabled?: boolean;
1738
- /**
1739
- * Name of the stage which is in progress.
1740
- * NOTE: This property will not be serialized. It can only be populated by the server.
1741
- */
1742
- readonly status?: StageName;
1743
- /**
1744
- * Name of the stage where delay might be present.
1745
- * NOTE: This property will not be serialized. It can only be populated by the server.
1746
- */
1747
- readonly delayedStage?: StageName;
1748
- /**
1749
- * Time at which the job was started in UTC ISO 8601 format.
1750
- * NOTE: This property will not be serialized. It can only be populated by the server.
1751
- */
1752
- readonly startTime?: Date;
1753
- /**
1754
- * Top level error for the job.
1755
- * NOTE: This property will not be serialized. It can only be populated by the server.
1756
- */
1757
- readonly error?: CloudError;
1758
- /** Details of a job run. This field will only be sent for expand details filter. */
1759
- details?: JobDetailsUnion;
1760
- /**
1761
- * Reason for cancellation.
1762
- * NOTE: This property will not be serialized. It can only be populated by the server.
1763
- */
1764
- readonly cancellationReason?: string;
1765
- /** Delivery type of Job. */
1766
- deliveryType?: JobDeliveryType;
1767
- /** Delivery Info of Job. */
1768
- deliveryInfo?: JobDeliveryInfo;
1769
- /**
1770
- * Flag to indicate cancellation of scheduled job.
1771
- * NOTE: This property will not be serialized. It can only be populated by the server.
1772
- */
1773
- readonly isCancellableWithoutFee?: boolean;
1774
- /**
1775
- * Flag to indicate if all devices associated with the job are lost.
1776
- * NOTE: This property will not be serialized. It can only be populated by the server.
1777
- */
1778
- readonly allDevicesLost?: boolean;
1779
- }
1780
- /** The requirements to validate customer address where the device needs to be shipped. */
1781
- export interface ValidateAddress extends ValidationInputRequest {
1782
- /** Polymorphic discriminator, which specifies the different types this object can be */
1783
- validationType: "ValidateAddress";
1784
- /** Shipping address of the customer. */
1785
- shippingAddress: ShippingAddress;
1786
- /** Device type to be used for the job. */
1787
- deviceType: SkuName;
1788
- /** Preferences related to the shipment logistics of the sku. */
1789
- transportPreferences?: TransportPreferences;
1790
- /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1791
- model?: ModelName;
1792
- }
1793
- /** Request to validate create order limit for current subscription. */
1794
- export interface CreateOrderLimitForSubscriptionValidationRequest extends ValidationInputRequest {
1795
- /** Polymorphic discriminator, which specifies the different types this object can be */
1796
- validationType: "ValidateCreateOrderLimit";
1797
- /** Device type to be used for the job. */
1798
- deviceType: SkuName;
1799
- /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1800
- model?: ModelName;
1801
- }
1802
- /** Request to validate export and import data details. */
1803
- export interface DataTransferDetailsValidationRequest extends ValidationInputRequest {
1804
- /** Polymorphic discriminator, which specifies the different types this object can be */
1805
- validationType: "ValidateDataTransferDetails";
1806
- /** List of DataTransfer details to be used to export data from azure. */
1807
- dataExportDetails?: DataExportDetails[];
1808
- /** List of DataTransfer details to be used to import data to azure. */
1809
- dataImportDetails?: DataImportDetails[];
1810
- /** Device type. */
1811
- deviceType: SkuName;
1812
- /** Type of the transfer. */
1813
- transferType: TransferType;
1814
- /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1815
- model?: ModelName;
1816
- }
1817
- /** Request to validate preference of transport and data center. */
1818
- export interface PreferencesValidationRequest extends ValidationInputRequest {
1819
- /** Polymorphic discriminator, which specifies the different types this object can be */
1820
- validationType: "ValidatePreferences";
1821
- /** Preference of transport and data center. */
1822
- preference?: Preferences;
1823
- /** Device type to be used for the job. */
1824
- deviceType: SkuName;
1825
- /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1826
- model?: ModelName;
1827
- }
1828
- /** Request to validate sku availability. */
1829
- export interface SkuAvailabilityValidationRequest extends ValidationInputRequest {
1830
- /** Polymorphic discriminator, which specifies the different types this object can be */
1831
- validationType: "ValidateSkuAvailability";
1832
- /** Device type to be used for the job. */
1833
- deviceType: SkuName;
1834
- /** Type of the transfer. */
1835
- transferType: TransferType;
1836
- /** ISO country code. Country for hardware shipment. For codes check: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements */
1837
- country: string;
1838
- /** Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 */
1839
- location: string;
1840
- /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1841
- model?: ModelName;
1842
- }
1843
- /** Request to validate subscription permission to create jobs. */
1844
- export interface SubscriptionIsAllowedToCreateJobValidationRequest extends ValidationInputRequest {
1845
- /** Polymorphic discriminator, which specifies the different types this object can be */
1846
- validationType: "ValidateSubscriptionIsAllowedToCreateJob";
1847
- }
1848
- /** The address validation output. */
1849
- export interface AddressValidationProperties extends ValidationInputResponse {
1850
- /** Polymorphic discriminator, which specifies the different types this object can be */
1851
- validationType: "ValidateAddress";
1852
- /**
1853
- * The address validation status.
1854
- * NOTE: This property will not be serialized. It can only be populated by the server.
1855
- */
1856
- readonly validationStatus?: AddressValidationStatus;
1857
- /**
1858
- * List of alternate addresses.
1859
- * NOTE: This property will not be serialized. It can only be populated by the server.
1860
- */
1861
- readonly alternateAddresses?: ShippingAddress[];
1862
- }
1863
- /** Properties of create order limit for subscription validation response. */
1864
- export interface CreateOrderLimitForSubscriptionValidationResponseProperties extends ValidationInputResponse {
1865
- /** Polymorphic discriminator, which specifies the different types this object can be */
1866
- validationType: "ValidateCreateOrderLimit";
1867
- /**
1868
- * Create order limit validation status.
1869
- * NOTE: This property will not be serialized. It can only be populated by the server.
1870
- */
1871
- readonly status?: ValidationStatus;
1872
- }
1873
- /** Properties of data transfer details validation response. */
1874
- export interface DataTransferDetailsValidationResponseProperties extends ValidationInputResponse {
1875
- /** Polymorphic discriminator, which specifies the different types this object can be */
1876
- validationType: "ValidateDataTransferDetails";
1877
- /**
1878
- * Data transfer details validation status.
1879
- * NOTE: This property will not be serialized. It can only be populated by the server.
1880
- */
1881
- readonly status?: ValidationStatus;
1882
- }
1883
- /** Properties of data center and transport preference validation response. */
1884
- export interface PreferencesValidationResponseProperties extends ValidationInputResponse {
1885
- /** Polymorphic discriminator, which specifies the different types this object can be */
1886
- validationType: "ValidatePreferences";
1887
- /**
1888
- * Validation status of requested data center and transport.
1889
- * NOTE: This property will not be serialized. It can only be populated by the server.
1890
- */
1891
- readonly status?: ValidationStatus;
1892
- }
1893
- /** Properties of sku availability validation response. */
1894
- export interface SkuAvailabilityValidationResponseProperties extends ValidationInputResponse {
1895
- /** Polymorphic discriminator, which specifies the different types this object can be */
1896
- validationType: "ValidateSkuAvailability";
1897
- /**
1898
- * Sku availability validation status.
1899
- * NOTE: This property will not be serialized. It can only be populated by the server.
1900
- */
1901
- readonly status?: ValidationStatus;
1902
- }
1903
- /** Properties of subscription permission to create job validation response. */
1904
- export interface SubscriptionIsAllowedToCreateJobValidationResponseProperties extends ValidationInputResponse {
1905
- /** Polymorphic discriminator, which specifies the different types this object can be */
1906
- validationType: "ValidateSubscriptionIsAllowedToCreateJob";
1907
- /**
1908
- * Validation status of subscription permission to create job.
1909
- * NOTE: This property will not be serialized. It can only be populated by the server.
1910
- */
1911
- readonly status?: ValidationStatus;
1912
- }
1913
- /** It does all pre-job creation validations. */
1914
- export interface CreateJobValidations extends ValidationRequest {
1915
- /** Polymorphic discriminator, which specifies the different types this object can be */
1916
- validationCategory: "JobCreationValidation";
1917
- }
1918
- /** The secrets related to customer disk job. */
1919
- export interface CustomerDiskJobSecrets extends JobSecrets {
1920
- /** Polymorphic discriminator, which specifies the different types this object can be */
1921
- jobSecretsType: "DataBoxCustomerDisk";
1922
- /**
1923
- * Contains the list of secrets object for that device.
1924
- * NOTE: This property will not be serialized. It can only be populated by the server.
1925
- */
1926
- readonly diskSecrets?: DiskSecret[];
1927
- /**
1928
- * Carrier Account Number of the customer
1929
- * NOTE: This property will not be serialized. It can only be populated by the server.
1930
- */
1931
- readonly carrierAccountNumber?: string;
1932
- }
1933
- /** The secrets related to disk job. */
1934
- export interface DataBoxDiskJobSecrets extends JobSecrets {
1935
- /** Polymorphic discriminator, which specifies the different types this object can be */
1936
- jobSecretsType: "DataBoxDisk";
1937
- /**
1938
- * Contains the list of secrets object for that device.
1939
- * NOTE: This property will not be serialized. It can only be populated by the server.
1940
- */
1941
- readonly diskSecrets?: DiskSecret[];
1942
- /**
1943
- * PassKey for the disk Job.
1944
- * NOTE: This property will not be serialized. It can only be populated by the server.
1945
- */
1946
- readonly passKey?: string;
1947
- /**
1948
- * Whether passkey was provided by user.
1949
- * NOTE: This property will not be serialized. It can only be populated by the server.
1950
- */
1951
- readonly isPasskeyUserDefined?: boolean;
1952
- }
1953
- /** The secrets related to a databox heavy job. */
1954
- export interface DataBoxHeavyJobSecrets extends JobSecrets {
1955
- /** Polymorphic discriminator, which specifies the different types this object can be */
1956
- jobSecretsType: "DataBoxHeavy";
1957
- /**
1958
- * Contains the list of secret objects for a databox heavy job.
1959
- * NOTE: This property will not be serialized. It can only be populated by the server.
1960
- */
1961
- readonly cabinetPodSecrets?: DataBoxHeavySecret[];
1962
- }
1963
- /** The secrets related to a databox job. */
1964
- export interface DataboxJobSecrets extends JobSecrets {
1965
- /** Polymorphic discriminator, which specifies the different types this object can be */
1966
- jobSecretsType: "DataBox";
1967
- /** Contains the list of secret objects for a job. */
1968
- podSecrets?: DataBoxSecret[];
1969
- }
1970
- /** Request body to get the availability for scheduling data box orders orders. */
1971
- export interface DataBoxScheduleAvailabilityRequest extends ScheduleAvailabilityRequest {
1972
- /** Polymorphic discriminator, which specifies the different types this object can be */
1973
- skuName: "DataBox";
1974
- }
1975
- /** Request body to get the availability for scheduling disk orders. */
1976
- export interface DiskScheduleAvailabilityRequest extends ScheduleAvailabilityRequest {
1977
- /** Polymorphic discriminator, which specifies the different types this object can be */
1978
- skuName: "DataBoxDisk";
1979
- /** The expected size of the data, which needs to be transferred in this job, in terabytes. */
1980
- expectedDataSizeInTeraBytes: number;
1981
- }
1982
- /** Request body to get the availability for scheduling heavy orders. */
1983
- export interface HeavyScheduleAvailabilityRequest extends ScheduleAvailabilityRequest {
1984
- /** Polymorphic discriminator, which specifies the different types this object can be */
1985
- skuName: "DataBoxHeavy";
1986
- }
1987
- /** Granular Copy Log Details for customer disk */
1988
- export interface DataBoxDiskGranularCopyLogDetails extends GranularCopyLogDetails {
1989
- /** Polymorphic discriminator, which specifies the different types this object can be */
1990
- copyLogDetailsType: "DataBoxCustomerDisk";
1991
- /**
1992
- * Disk Serial Number.
1993
- * NOTE: This property will not be serialized. It can only be populated by the server.
1994
- */
1995
- readonly serialNumber?: string;
1996
- /**
1997
- * Account id.
1998
- * NOTE: This property will not be serialized. It can only be populated by the server.
1999
- */
2000
- readonly accountId?: string;
2001
- /**
2002
- * Link for copy error logs.
2003
- * NOTE: This property will not be serialized. It can only be populated by the server.
2004
- */
2005
- readonly errorLogLink?: string;
2006
- /**
2007
- * Link for copy verbose logs.
2008
- * NOTE: This property will not be serialized. It can only be populated by the server.
2009
- */
2010
- readonly verboseLogLink?: string;
2011
- }
2012
- /** DataBox CustomerDisk Copy Progress */
2013
- export interface DataBoxCustomerDiskCopyProgress extends CopyProgress {
2014
- /**
2015
- * Disk Serial Number.
2016
- * NOTE: This property will not be serialized. It can only be populated by the server.
2017
- */
2018
- readonly serialNumber?: string;
2019
- /**
2020
- * The Status of the copy
2021
- * NOTE: This property will not be serialized. It can only be populated by the server.
2022
- */
2023
- readonly copyStatus?: CopyStatus;
2024
- }
2025
- /** DataBox Disk Granular Copy Progress */
2026
- export interface DataBoxDiskGranularCopyProgress extends GranularCopyProgress {
2027
- /**
2028
- * Disk Serial Number.
2029
- * NOTE: This property will not be serialized. It can only be populated by the server.
2030
- */
2031
- readonly serialNumber?: string;
2032
- /**
2033
- * The Status of the copy
2034
- * NOTE: This property will not be serialized. It can only be populated by the server.
2035
- */
2036
- readonly copyStatus?: CopyStatus;
2037
- }
2038
- /** Defines headers for Jobs_delete operation. */
2039
- export interface JobsDeleteHeaders {
2040
- /** The URI to poll for completion status. */
2041
- location?: string;
2042
- }
2043
- /** Defines headers for Jobs_update operation. */
2044
- export interface JobsUpdateHeaders {
2045
- /** The URI to poll for completion status. */
2046
- location?: string;
2047
- }
2048
- /** Known values of {@link StageName} that the service accepts. */
2049
- export declare enum KnownStageName {
2050
- /** An order has been created. */
2051
- DeviceOrdered = "DeviceOrdered",
2052
- /** A device has been prepared for the order. */
2053
- DevicePrepared = "DevicePrepared",
2054
- /** Device has been dispatched to the user of the order. */
2055
- Dispatched = "Dispatched",
2056
- /** Device has been delivered to the user of the order. */
2057
- Delivered = "Delivered",
2058
- /** Device has been picked up from user and in transit to Azure datacenter. */
2059
- PickedUp = "PickedUp",
2060
- /** Device has been received at Azure datacenter from the user. */
2061
- AtAzureDC = "AtAzureDC",
2062
- /** Data copy from the device at Azure datacenter. */
2063
- DataCopy = "DataCopy",
2064
- /** Order has completed. */
2065
- Completed = "Completed",
2066
- /** Order has completed with errors. */
2067
- CompletedWithErrors = "CompletedWithErrors",
2068
- /** Order has been cancelled. */
2069
- Cancelled = "Cancelled",
2070
- /** Order has failed due to issue reported by user. */
2071
- FailedIssueReportedAtCustomer = "Failed_IssueReportedAtCustomer",
2072
- /** Order has failed due to issue detected at Azure datacenter. */
2073
- FailedIssueDetectedAtAzureDC = "Failed_IssueDetectedAtAzureDC",
2074
- /** Order has been aborted. */
2075
- Aborted = "Aborted",
2076
- /** Order has completed with warnings. */
2077
- CompletedWithWarnings = "CompletedWithWarnings",
2078
- /** Device is ready to be handed to customer from Azure DC. */
2079
- ReadyToDispatchFromAzureDC = "ReadyToDispatchFromAzureDC",
2080
- /** Device can be dropped off at Azure DC. */
2081
- ReadyToReceiveAtAzureDC = "ReadyToReceiveAtAzureDC",
2082
- /** Job created by the customer. */
2083
- Created = "Created",
2084
- /** User shipped the device to AzureDC. */
2085
- ShippedToAzureDC = "ShippedToAzureDC",
2086
- /** Awaiting shipment details of device from customer. */
2087
- AwaitingShipmentDetails = "AwaitingShipmentDetails",
2088
- /** Preparing the device to ship to customer. */
2089
- PreparingToShipFromAzureDC = "PreparingToShipFromAzureDC",
2090
- /** Shipped the device to customer. */
2091
- ShippedToCustomer = "ShippedToCustomer"
2092
- }
2093
- /**
2094
- * Defines values for StageName. \
2095
- * {@link KnownStageName} can be used interchangeably with StageName,
2096
- * this enum contains the known values that the service supports.
2097
- * ### Known values supported by the service
2098
- * **DeviceOrdered**: An order has been created. \
2099
- * **DevicePrepared**: A device has been prepared for the order. \
2100
- * **Dispatched**: Device has been dispatched to the user of the order. \
2101
- * **Delivered**: Device has been delivered to the user of the order. \
2102
- * **PickedUp**: Device has been picked up from user and in transit to Azure datacenter. \
2103
- * **AtAzureDC**: Device has been received at Azure datacenter from the user. \
2104
- * **DataCopy**: Data copy from the device at Azure datacenter. \
2105
- * **Completed**: Order has completed. \
2106
- * **CompletedWithErrors**: Order has completed with errors. \
2107
- * **Cancelled**: Order has been cancelled. \
2108
- * **Failed_IssueReportedAtCustomer**: Order has failed due to issue reported by user. \
2109
- * **Failed_IssueDetectedAtAzureDC**: Order has failed due to issue detected at Azure datacenter. \
2110
- * **Aborted**: Order has been aborted. \
2111
- * **CompletedWithWarnings**: Order has completed with warnings. \
2112
- * **ReadyToDispatchFromAzureDC**: Device is ready to be handed to customer from Azure DC. \
2113
- * **ReadyToReceiveAtAzureDC**: Device can be dropped off at Azure DC. \
2114
- * **Created**: Job created by the customer. \
2115
- * **ShippedToAzureDC**: User shipped the device to AzureDC. \
2116
- * **AwaitingShipmentDetails**: Awaiting shipment details of device from customer. \
2117
- * **PreparingToShipFromAzureDC**: Preparing the device to ship to customer. \
2118
- * **ShippedToCustomer**: Shipped the device to customer.
2119
- */
2120
- export type StageName = string;
2121
- /** Known values of {@link DelayNotificationStatus} that the service accepts. */
2122
- export declare enum KnownDelayNotificationStatus {
2123
- /** Delay is still active */
2124
- Active = "Active",
2125
- /** Delay has been resolved */
2126
- Resolved = "Resolved"
2127
- }
2128
- /**
2129
- * Defines values for DelayNotificationStatus. \
2130
- * {@link KnownDelayNotificationStatus} can be used interchangeably with DelayNotificationStatus,
2131
- * this enum contains the known values that the service supports.
2132
- * ### Known values supported by the service
2133
- * **Active**: Delay is still active \
2134
- * **Resolved**: Delay has been resolved
2135
- */
2136
- export type DelayNotificationStatus = string;
2137
- /** Known values of {@link PortalDelayErrorCode} that the service accepts. */
2138
- export declare enum KnownPortalDelayErrorCode {
2139
- /** Delay due to any internal reasons */
2140
- InternalIssueDelay = "InternalIssueDelay",
2141
- /** Active Order limit breached. */
2142
- ActiveOrderLimitBreachedDelay = "ActiveOrderLimitBreachedDelay",
2143
- /** High demand */
2144
- HighDemandDelay = "HighDemandDelay",
2145
- /** Slow copy due to large number of files */
2146
- LargeNumberOfFilesDelay = "LargeNumberOfFilesDelay"
2147
- }
2148
- /**
2149
- * Defines values for PortalDelayErrorCode. \
2150
- * {@link KnownPortalDelayErrorCode} can be used interchangeably with PortalDelayErrorCode,
2151
- * this enum contains the known values that the service supports.
2152
- * ### Known values supported by the service
2153
- * **InternalIssueDelay**: Delay due to any internal reasons \
2154
- * **ActiveOrderLimitBreachedDelay**: Active Order limit breached. \
2155
- * **HighDemandDelay**: High demand \
2156
- * **LargeNumberOfFilesDelay**: Slow copy due to large number of files
2157
- */
2158
- export type PortalDelayErrorCode = string;
2159
- /** Known values of {@link NotificationStageName} that the service accepts. */
2160
- export declare enum KnownNotificationStageName {
2161
- /** Notification at device prepared stage. */
2162
- DevicePrepared = "DevicePrepared",
2163
- /** Notification at device dispatched stage. */
2164
- Dispatched = "Dispatched",
2165
- /** Notification at device delivered stage. */
2166
- Delivered = "Delivered",
2167
- /** Notification at device picked up from user stage. */
2168
- PickedUp = "PickedUp",
2169
- /** Notification at device received at Azure datacenter stage. */
2170
- AtAzureDC = "AtAzureDC",
2171
- /** Notification at data copy started stage. */
2172
- DataCopy = "DataCopy",
2173
- /** Notification at job created stage. */
2174
- Created = "Created",
2175
- /** Notification at shipped devices to customer stage. */
2176
- ShippedToCustomer = "ShippedToCustomer"
2177
- }
2178
- /**
2179
- * Defines values for NotificationStageName. \
2180
- * {@link KnownNotificationStageName} can be used interchangeably with NotificationStageName,
2181
- * this enum contains the known values that the service supports.
2182
- * ### Known values supported by the service
2183
- * **DevicePrepared**: Notification at device prepared stage. \
2184
- * **Dispatched**: Notification at device dispatched stage. \
2185
- * **Delivered**: Notification at device delivered stage. \
2186
- * **PickedUp**: Notification at device picked up from user stage. \
2187
- * **AtAzureDC**: Notification at device received at Azure datacenter stage. \
2188
- * **DataCopy**: Notification at data copy started stage. \
2189
- * **Created**: Notification at job created stage. \
2190
- * **ShippedToCustomer**: Notification at shipped devices to customer stage.
2191
- */
2192
- export type NotificationStageName = string;
2193
- /** Known values of {@link DataCenterCode} that the service accepts. */
2194
- export declare enum KnownDataCenterCode {
2195
- /** Invalid */
2196
- Invalid = "Invalid",
2197
- /** BY2 */
2198
- BY2 = "BY2",
2199
- /** BY1 */
2200
- BY1 = "BY1",
2201
- /** ORK70 */
2202
- ORK70 = "ORK70",
2203
- /** AM2 */
2204
- AM2 = "AM2",
2205
- /** AMS20 */
2206
- AMS20 = "AMS20",
2207
- /** BY21 */
2208
- BY21 = "BY21",
2209
- /** BY24 */
2210
- BY24 = "BY24",
2211
- /** MWH01 */
2212
- MWH01 = "MWH01",
2213
- /** AMS06 */
2214
- AMS06 = "AMS06",
2215
- /** SSE90 */
2216
- SSE90 = "SSE90",
2217
- /** SYD03 */
2218
- SYD03 = "SYD03",
2219
- /** SYD23 */
2220
- SYD23 = "SYD23",
2221
- /** CBR20 */
2222
- CBR20 = "CBR20",
2223
- /** YTO20 */
2224
- YTO20 = "YTO20",
2225
- /** CWL20 */
2226
- CWL20 = "CWL20",
2227
- /** LON24 */
2228
- LON24 = "LON24",
2229
- /** BOM01 */
2230
- BOM01 = "BOM01",
2231
- /** BL20 */
2232
- BL20 = "BL20",
2233
- /** BL7 */
2234
- BL7 = "BL7",
2235
- /** SEL20 */
2236
- SEL20 = "SEL20",
2237
- /** TYO01 */
2238
- TYO01 = "TYO01",
2239
- /** BN1 */
2240
- BN1 = "BN1",
2241
- /** SN5 */
2242
- SN5 = "SN5",
2243
- /** CYS04 */
2244
- CYS04 = "CYS04",
2245
- /** TYO22 */
2246
- TYO22 = "TYO22",
2247
- /** YTO21 */
2248
- YTO21 = "YTO21",
2249
- /** YQB20 */
2250
- YQB20 = "YQB20",
2251
- /** FRA22 */
2252
- FRA22 = "FRA22",
2253
- /** MAA01 */
2254
- MAA01 = "MAA01",
2255
- /** CPQ02 */
2256
- CPQ02 = "CPQ02",
2257
- /** CPQ20 */
2258
- CPQ20 = "CPQ20",
2259
- /** SIN20 */
2260
- SIN20 = "SIN20",
2261
- /** HKG20 */
2262
- HKG20 = "HKG20",
2263
- /** SG2 */
2264
- SG2 = "SG2",
2265
- /** MEL23 */
2266
- MEL23 = "MEL23",
2267
- /** SEL21 */
2268
- SEL21 = "SEL21",
2269
- /** OSA20 */
2270
- OSA20 = "OSA20",
2271
- /** SHA03 */
2272
- SHA03 = "SHA03",
2273
- /** BJB */
2274
- BJB = "BJB",
2275
- /** JNB22 */
2276
- JNB22 = "JNB22",
2277
- /** JNB21 */
2278
- JNB21 = "JNB21",
2279
- /** MNZ21 */
2280
- MNZ21 = "MNZ21",
2281
- /** SN8 */
2282
- SN8 = "SN8",
2283
- /** AUH20 */
2284
- AUH20 = "AUH20",
2285
- /** ZRH20 */
2286
- ZRH20 = "ZRH20",
2287
- /** PUS20 */
2288
- PUS20 = "PUS20",
2289
- /** AdHoc */
2290
- AdHoc = "AdHoc",
2291
- /** CH1 */
2292
- CH1 = "CH1",
2293
- /** DSM05 */
2294
- DSM05 = "DSM05",
2295
- /** DUB07 */
2296
- DUB07 = "DUB07",
2297
- /** PNQ01 */
2298
- PNQ01 = "PNQ01",
2299
- /** SVG20 */
2300
- SVG20 = "SVG20",
2301
- /** OSA02 */
2302
- OSA02 = "OSA02",
2303
- /** OSA22 */
2304
- OSA22 = "OSA22",
2305
- /** PAR22 */
2306
- PAR22 = "PAR22",
2307
- /** BN7 */
2308
- BN7 = "BN7",
2309
- /** SN6 */
2310
- SN6 = "SN6",
2311
- /** BJS20 */
2312
- BJS20 = "BJS20",
2313
- /** BL24 */
2314
- BL24 = "BL24",
2315
- /** IDC5 */
2316
- IDC5 = "IDC5",
2317
- /** TYO23 */
2318
- TYO23 = "TYO23",
2319
- /** CPQ21 */
2320
- CPQ21 = "CPQ21",
2321
- /** NTG20 */
2322
- NTG20 = "NTG20",
2323
- /** DXB23 */
2324
- DXB23 = "DXB23",
2325
- /** DSM11 */
2326
- DSM11 = "DSM11",
2327
- /** OSA23 */
2328
- OSA23 = "OSA23",
2329
- /** AMS25 */
2330
- AMS25 = "AMS25"
2331
- }
2332
- /**
2333
- * Defines values for DataCenterCode. \
2334
- * {@link KnownDataCenterCode} can be used interchangeably with DataCenterCode,
2335
- * this enum contains the known values that the service supports.
2336
- * ### Known values supported by the service
2337
- * **Invalid** \
2338
- * **BY2** \
2339
- * **BY1** \
2340
- * **ORK70** \
2341
- * **AM2** \
2342
- * **AMS20** \
2343
- * **BY21** \
2344
- * **BY24** \
2345
- * **MWH01** \
2346
- * **AMS06** \
2347
- * **SSE90** \
2348
- * **SYD03** \
2349
- * **SYD23** \
2350
- * **CBR20** \
2351
- * **YTO20** \
2352
- * **CWL20** \
2353
- * **LON24** \
2354
- * **BOM01** \
2355
- * **BL20** \
2356
- * **BL7** \
2357
- * **SEL20** \
2358
- * **TYO01** \
2359
- * **BN1** \
2360
- * **SN5** \
2361
- * **CYS04** \
2362
- * **TYO22** \
2363
- * **YTO21** \
2364
- * **YQB20** \
2365
- * **FRA22** \
2366
- * **MAA01** \
2367
- * **CPQ02** \
2368
- * **CPQ20** \
2369
- * **SIN20** \
2370
- * **HKG20** \
2371
- * **SG2** \
2372
- * **MEL23** \
2373
- * **SEL21** \
2374
- * **OSA20** \
2375
- * **SHA03** \
2376
- * **BJB** \
2377
- * **JNB22** \
2378
- * **JNB21** \
2379
- * **MNZ21** \
2380
- * **SN8** \
2381
- * **AUH20** \
2382
- * **ZRH20** \
2383
- * **PUS20** \
2384
- * **AdHoc** \
2385
- * **CH1** \
2386
- * **DSM05** \
2387
- * **DUB07** \
2388
- * **PNQ01** \
2389
- * **SVG20** \
2390
- * **OSA02** \
2391
- * **OSA22** \
2392
- * **PAR22** \
2393
- * **BN7** \
2394
- * **SN6** \
2395
- * **BJS20** \
2396
- * **BL24** \
2397
- * **IDC5** \
2398
- * **TYO23** \
2399
- * **CPQ21** \
2400
- * **NTG20** \
2401
- * **DXB23** \
2402
- * **DSM11** \
2403
- * **OSA23** \
2404
- * **AMS25**
2405
- */
2406
- export type DataCenterCode = string;
2407
- /** Known values of {@link CopyStatus} that the service accepts. */
2408
- export declare enum KnownCopyStatus {
2409
- /** Data copy hasn't started yet. */
2410
- NotStarted = "NotStarted",
2411
- /** Data copy is in progress. */
2412
- InProgress = "InProgress",
2413
- /** Data copy completed. */
2414
- Completed = "Completed",
2415
- /** Data copy completed with errors. */
2416
- CompletedWithErrors = "CompletedWithErrors",
2417
- /** Data copy failed. No data was copied. */
2418
- Failed = "Failed",
2419
- /** No copy triggered as device was not returned. */
2420
- NotReturned = "NotReturned",
2421
- /** The Device has hit hardware issues. */
2422
- HardwareError = "HardwareError",
2423
- /** Data copy failed. The Device was formatted by user. */
2424
- DeviceFormatted = "DeviceFormatted",
2425
- /** Data copy failed. Device metadata was modified by user. */
2426
- DeviceMetadataModified = "DeviceMetadataModified",
2427
- /** Data copy failed. Storage Account was not accessible during copy. */
2428
- StorageAccountNotAccessible = "StorageAccountNotAccessible",
2429
- /** Data copy failed. The Device data content is not supported. */
2430
- UnsupportedData = "UnsupportedData",
2431
- /** No copy triggered as device was not received. */
2432
- DriveNotReceived = "DriveNotReceived",
2433
- /** No copy triggered as device type is not supported. */
2434
- UnsupportedDrive = "UnsupportedDrive",
2435
- /** Copy failed due to service error. */
2436
- OtherServiceError = "OtherServiceError",
2437
- /** Copy failed due to user error. */
2438
- OtherUserError = "OtherUserError",
2439
- /** Copy failed due to disk detection error. */
2440
- DriveNotDetected = "DriveNotDetected",
2441
- /** Copy failed due to corrupted drive. */
2442
- DriveCorrupted = "DriveCorrupted",
2443
- /** Copy failed due to modified or removed metadata files. */
2444
- MetadataFilesModifiedOrRemoved = "MetadataFilesModifiedOrRemoved"
1816
+ /** Transport options available for given sku in a region. */
1817
+ readonly transportAvailabilityResponse?: TransportAvailabilityResponse;
1818
+ /** Datacenter address for given sku in a region. */
1819
+ readonly datacenterAddressResponse?: DatacenterAddressResponseUnion;
1820
+ /** Device capabilities available for a given sku in a region. */
1821
+ readonly deviceCapabilityResponse?: DeviceCapabilityResponse;
2445
1822
  }
2446
- /**
2447
- * Defines values for CopyStatus. \
2448
- * {@link KnownCopyStatus} can be used interchangeably with CopyStatus,
2449
- * this enum contains the known values that the service supports.
2450
- * ### Known values supported by the service
2451
- * **NotStarted**: Data copy hasn't started yet. \
2452
- * **InProgress**: Data copy is in progress. \
2453
- * **Completed**: Data copy completed. \
2454
- * **CompletedWithErrors**: Data copy completed with errors. \
2455
- * **Failed**: Data copy failed. No data was copied. \
2456
- * **NotReturned**: No copy triggered as device was not returned. \
2457
- * **HardwareError**: The Device has hit hardware issues. \
2458
- * **DeviceFormatted**: Data copy failed. The Device was formatted by user. \
2459
- * **DeviceMetadataModified**: Data copy failed. Device metadata was modified by user. \
2460
- * **StorageAccountNotAccessible**: Data copy failed. Storage Account was not accessible during copy. \
2461
- * **UnsupportedData**: Data copy failed. The Device data content is not supported. \
2462
- * **DriveNotReceived**: No copy triggered as device was not received. \
2463
- * **UnsupportedDrive**: No copy triggered as device type is not supported. \
2464
- * **OtherServiceError**: Copy failed due to service error. \
2465
- * **OtherUserError**: Copy failed due to user error. \
2466
- * **DriveNotDetected**: Copy failed due to disk detection error. \
2467
- * **DriveCorrupted**: Copy failed due to corrupted drive. \
2468
- * **MetadataFilesModifiedOrRemoved**: Copy failed due to modified or removed metadata files.
2469
- */
2470
- export type CopyStatus = string;
2471
- /** Defines values for TransferType. */
2472
- export type TransferType = "ImportToAzure" | "ExportFromAzure";
2473
- /** Defines values for ReverseShippingDetailsEditStatus. */
2474
- export type ReverseShippingDetailsEditStatus = "Enabled" | "Disabled" | "NotSupported";
2475
- /** Defines values for ReverseTransportPreferenceEditStatus. */
2476
- export type ReverseTransportPreferenceEditStatus = "Enabled" | "Disabled" | "NotSupported";
2477
- /** Defines values for StageStatus. */
2478
- export type StageStatus = "None" | "InProgress" | "Succeeded" | "Failed" | "Cancelled" | "Cancelling" | "SucceededWithErrors" | "WaitingForCustomerAction" | "SucceededWithWarnings" | "WaitingForCustomerActionForKek" | "WaitingForCustomerActionForCleanUp" | "CustomerActionPerformedForCleanUp" | "CustomerActionPerformed";
2479
- /** Defines values for AddressType. */
2480
- export type AddressType = "None" | "Residential" | "Commercial";
2481
- /** Defines values for DataAccountType. */
2482
- export type DataAccountType = "StorageAccount" | "ManagedDisk";
2483
- /** Defines values for LogCollectionLevel. */
2484
- export type LogCollectionLevel = "Error" | "Verbose";
2485
- /** Defines values for TransferConfigurationType. */
2486
- export type TransferConfigurationType = "TransferAll" | "TransferUsingFilter";
2487
- /** Defines values for FilterFileType. */
2488
- export type FilterFileType = "AzureBlob" | "AzureFile";
2489
- /** Defines values for ClassDiscriminator. */
2490
- export type ClassDiscriminator = "DataBox" | "DataBoxDisk" | "DataBoxHeavy" | "DataBoxCustomerDisk";
2491
- /** Defines values for TransportShipmentTypes. */
2492
- export type TransportShipmentTypes = "CustomerManaged" | "MicrosoftManaged";
2493
- /** Defines values for DoubleEncryption. */
2494
- export type DoubleEncryption = "Enabled" | "Disabled";
2495
- /** Defines values for HardwareEncryption. */
2496
- export type HardwareEncryption = "Enabled" | "Disabled";
2497
- /** Defines values for KekType. */
2498
- export type KekType = "MicrosoftManaged" | "CustomerManaged";
2499
- /** Defines values for CustomerResolutionCode. */
2500
- export type CustomerResolutionCode = "None" | "MoveToCleanUpDevice" | "Resume" | "Restart" | "ReachOutToOperation";
2501
- /** Defines values for DatacenterAddressType. */
2502
- export type DatacenterAddressType = "DatacenterAddressLocation" | "DatacenterAddressInstruction";
2503
- /** Defines values for JobDeliveryType. */
2504
- export type JobDeliveryType = "NonScheduled" | "Scheduled";
2505
- /** Defines values for SkuName. */
2506
- export type SkuName = "DataBox" | "DataBoxDisk" | "DataBoxHeavy" | "DataBoxCustomerDisk";
2507
- /** Defines values for ModelName. */
2508
- export type ModelName = "DataBox" | "DataBoxDisk" | "DataBoxHeavy" | "DataBoxCustomerDisk" | "AzureDataBox120" | "AzureDataBox525";
2509
- /** Defines values for SkuDisabledReason. */
2510
- export type SkuDisabledReason = "None" | "Country" | "Region" | "Feature" | "OfferType" | "NoSubscriptionInfo";
2511
- /** Defines values for ValidationInputDiscriminator. */
1823
+ export declare function regionConfigurationResponseDeserializer(item: any): RegionConfigurationResponse;
1824
+ /** Schedule availability for given sku in a region. */
1825
+ export interface ScheduleAvailabilityResponse {
1826
+ /** List of dates available to schedule */
1827
+ readonly availableDates?: Date[];
1828
+ }
1829
+ export declare function scheduleAvailabilityResponseDeserializer(item: any): ScheduleAvailabilityResponse;
1830
+ /** Transport options available for given sku in a region. */
1831
+ export interface TransportAvailabilityResponse {
1832
+ /** List of transport availability details for given region */
1833
+ readonly transportAvailabilityDetails?: TransportAvailabilityDetails[];
1834
+ }
1835
+ export declare function transportAvailabilityResponseDeserializer(item: any): TransportAvailabilityResponse;
1836
+ export declare function transportAvailabilityDetailsArrayDeserializer(result: Array<TransportAvailabilityDetails>): any[];
1837
+ /** Transport options availability details for given region. */
1838
+ export interface TransportAvailabilityDetails {
1839
+ /** Transport Shipment Type supported for given region. */
1840
+ readonly shipmentType?: TransportShipmentTypes;
1841
+ }
1842
+ export declare function transportAvailabilityDetailsDeserializer(item: any): TransportAvailabilityDetails;
1843
+ /** Device capabilities for given sku in a region */
1844
+ export interface DeviceCapabilityResponse {
1845
+ /** List of device capabilities available for a given region and a given sku */
1846
+ readonly deviceCapabilityDetails?: DeviceCapabilityDetails[];
1847
+ }
1848
+ export declare function deviceCapabilityResponseDeserializer(item: any): DeviceCapabilityResponse;
1849
+ export declare function deviceCapabilityDetailsArrayDeserializer(result: Array<DeviceCapabilityDetails>): any[];
1850
+ /** Device capability details for a given sku for a given region. */
1851
+ export interface DeviceCapabilityDetails {
1852
+ /** Hardware encryption support for a given sku for a given region. */
1853
+ readonly hardwareEncryption?: HardwareEncryption;
1854
+ }
1855
+ export declare function deviceCapabilityDetailsDeserializer(item: any): DeviceCapabilityDetails;
1856
+ /** The requirements to validate customer address where the device needs to be shipped. */
1857
+ export interface ValidateAddress extends ValidationInputRequest {
1858
+ /** Shipping address of the customer. */
1859
+ shippingAddress: ShippingAddress;
1860
+ /** Device type to be used for the job. */
1861
+ deviceType: SkuName;
1862
+ /** Preferences related to the shipment logistics of the sku. */
1863
+ transportPreferences?: TransportPreferences;
1864
+ /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1865
+ model?: ModelName;
1866
+ /** Identifies the type of validation request. */
1867
+ validationType: "ValidateAddress";
1868
+ }
1869
+ export declare function validateAddressSerializer(item: ValidateAddress): any;
1870
+ /** Minimum fields that must be present in any type of validation request. */
1871
+ export interface ValidationInputRequest {
1872
+ /** Identifies the type of validation request. */
1873
+ /** The discriminator possible values: ValidateAddress, ValidateCreateOrderLimit, ValidateDataTransferDetails, ValidatePreferences, ValidateSkuAvailability, ValidateSubscriptionIsAllowedToCreateJob */
1874
+ validationType: ValidationInputDiscriminator;
1875
+ }
1876
+ export declare function validationInputRequestSerializer(item: ValidationInputRequest): any;
1877
+ /** Alias for ValidationInputRequestUnion */
1878
+ export type ValidationInputRequestUnion = ValidateAddress | CreateOrderLimitForSubscriptionValidationRequest | DataTransferDetailsValidationRequest | PreferencesValidationRequest | SkuAvailabilityValidationRequest | SubscriptionIsAllowedToCreateJobValidationRequest | ValidationInputRequest;
1879
+ export declare function validationInputRequestUnionSerializer(item: ValidationInputRequestUnion): any;
1880
+ /** Identifies the type of validation request. */
2512
1881
  export type ValidationInputDiscriminator = "ValidateAddress" | "ValidateSubscriptionIsAllowedToCreateJob" | "ValidatePreferences" | "ValidateCreateOrderLimit" | "ValidateSkuAvailability" | "ValidateDataTransferDetails";
2513
- /** Defines values for AddressValidationStatus. */
1882
+ /** Request to validate create order limit for current subscription. */
1883
+ export interface CreateOrderLimitForSubscriptionValidationRequest extends ValidationInputRequest {
1884
+ /** Device type to be used for the job. */
1885
+ deviceType: SkuName;
1886
+ /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1887
+ model?: ModelName;
1888
+ /** Identifies the type of validation request. */
1889
+ validationType: "ValidateCreateOrderLimit";
1890
+ }
1891
+ export declare function createOrderLimitForSubscriptionValidationRequestSerializer(item: CreateOrderLimitForSubscriptionValidationRequest): any;
1892
+ /** Request to validate export and import data details. */
1893
+ export interface DataTransferDetailsValidationRequest extends ValidationInputRequest {
1894
+ /** List of DataTransfer details to be used to export data from azure. */
1895
+ dataExportDetails?: DataExportDetails[];
1896
+ /** List of DataTransfer details to be used to import data to azure. */
1897
+ dataImportDetails?: DataImportDetails[];
1898
+ /** Device type. */
1899
+ deviceType: SkuName;
1900
+ /** Type of the transfer. */
1901
+ transferType: TransferType;
1902
+ /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1903
+ model?: ModelName;
1904
+ /** Identifies the type of validation request. */
1905
+ validationType: "ValidateDataTransferDetails";
1906
+ }
1907
+ export declare function dataTransferDetailsValidationRequestSerializer(item: DataTransferDetailsValidationRequest): any;
1908
+ /** Request to validate preference of transport and data center. */
1909
+ export interface PreferencesValidationRequest extends ValidationInputRequest {
1910
+ /** Preference of transport and data center. */
1911
+ preference?: Preferences;
1912
+ /** Device type to be used for the job. */
1913
+ deviceType: SkuName;
1914
+ /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1915
+ model?: ModelName;
1916
+ /** Identifies the type of validation request. */
1917
+ validationType: "ValidatePreferences";
1918
+ }
1919
+ export declare function preferencesValidationRequestSerializer(item: PreferencesValidationRequest): any;
1920
+ /** Request to validate sku availability. */
1921
+ export interface SkuAvailabilityValidationRequest extends ValidationInputRequest {
1922
+ /** Device type to be used for the job. */
1923
+ deviceType: SkuName;
1924
+ /** Type of the transfer. */
1925
+ transferType: TransferType;
1926
+ /** ISO country code. Country for hardware shipment. For codes check: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements */
1927
+ country: string;
1928
+ /** Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 */
1929
+ location: string;
1930
+ /** The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 */
1931
+ model?: ModelName;
1932
+ /** Identifies the type of validation request. */
1933
+ validationType: "ValidateSkuAvailability";
1934
+ }
1935
+ export declare function skuAvailabilityValidationRequestSerializer(item: SkuAvailabilityValidationRequest): any;
1936
+ /** Request to validate subscription permission to create jobs. */
1937
+ export interface SubscriptionIsAllowedToCreateJobValidationRequest extends ValidationInputRequest {
1938
+ /** Identifies the type of validation request. */
1939
+ validationType: "ValidateSubscriptionIsAllowedToCreateJob";
1940
+ }
1941
+ export declare function subscriptionIsAllowedToCreateJobValidationRequestSerializer(item: SubscriptionIsAllowedToCreateJobValidationRequest): any;
1942
+ /** Output of the address validation api. */
1943
+ export interface AddressValidationOutput {
1944
+ /** Identifies the type of validation response. */
1945
+ validationType?: "ValidateAddress";
1946
+ /** Error code and message of validation response. */
1947
+ readonly error?: CloudError;
1948
+ /** The address validation status. */
1949
+ readonly validationStatus?: AddressValidationStatus;
1950
+ /** List of alternate addresses. */
1951
+ readonly alternateAddresses?: ShippingAddress[];
1952
+ }
1953
+ export declare function addressValidationOutputDeserializer(item: any): AddressValidationOutput;
1954
+ /** The address validation output. */
1955
+ export interface AddressValidationProperties extends ValidationInputResponse {
1956
+ /** The address validation status. */
1957
+ readonly validationStatus?: AddressValidationStatus;
1958
+ /** List of alternate addresses. */
1959
+ readonly alternateAddresses?: ShippingAddress[];
1960
+ /** Identifies the type of validation response. */
1961
+ validationType: "ValidateAddress";
1962
+ }
1963
+ export declare function addressValidationPropertiesDeserializer(item: any): AddressValidationProperties;
1964
+ /** The address validation status. */
2514
1965
  export type AddressValidationStatus = "Valid" | "Invalid" | "Ambiguous";
2515
- /** Defines values for OverallValidationStatus. */
2516
- export type OverallValidationStatus = "AllValidToProceed" | "InputsRevisitRequired" | "CertainInputValidationsSkipped";
2517
- /** Defines values for ShareDestinationFormatType. */
2518
- export type ShareDestinationFormatType = "UnknownType" | "HCS" | "BlockBlob" | "PageBlob" | "AzureFile" | "ManagedDisk";
2519
- /** Defines values for AccessProtocol. */
2520
- export type AccessProtocol = "SMB" | "NFS";
2521
- /** Defines values for ValidationStatus. */
1966
+ export declare function shippingAddressArraySerializer(result: Array<ShippingAddress>): any[];
1967
+ export declare function shippingAddressArrayDeserializer(result: Array<ShippingAddress>): any[];
1968
+ /** Minimum properties that should be present in each individual validation response. */
1969
+ export interface ValidationInputResponse {
1970
+ /** Identifies the type of validation response. */
1971
+ /** The discriminator possible values: ValidateAddress, ValidateCreateOrderLimit, ValidateDataTransferDetails, ValidatePreferences, ValidateSkuAvailability, ValidateSubscriptionIsAllowedToCreateJob */
1972
+ validationType: ValidationInputDiscriminator;
1973
+ /** Error code and message of validation response. */
1974
+ readonly error?: CloudError;
1975
+ }
1976
+ export declare function validationInputResponseDeserializer(item: any): ValidationInputResponse;
1977
+ /** Alias for ValidationInputResponseUnion */
1978
+ export type ValidationInputResponseUnion = AddressValidationProperties | CreateOrderLimitForSubscriptionValidationResponseProperties | DataTransferDetailsValidationResponseProperties | PreferencesValidationResponseProperties | SkuAvailabilityValidationResponseProperties | SubscriptionIsAllowedToCreateJobValidationResponseProperties | ValidationInputResponse;
1979
+ export declare function validationInputResponseUnionDeserializer(item: any): ValidationInputResponseUnion;
1980
+ /** Properties of create order limit for subscription validation response. */
1981
+ export interface CreateOrderLimitForSubscriptionValidationResponseProperties extends ValidationInputResponse {
1982
+ /** Create order limit validation status. */
1983
+ readonly status?: ValidationStatus;
1984
+ /** Identifies the type of validation response. */
1985
+ validationType: "ValidateCreateOrderLimit";
1986
+ }
1987
+ export declare function createOrderLimitForSubscriptionValidationResponsePropertiesDeserializer(item: any): CreateOrderLimitForSubscriptionValidationResponseProperties;
1988
+ /** Create order limit validation status. */
2522
1989
  export type ValidationStatus = "Valid" | "Invalid" | "Skipped";
2523
- /** Optional parameters. */
2524
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
2525
- }
2526
- /** Contains response data for the list operation. */
2527
- export type OperationsListResponse = OperationList;
2528
- /** Optional parameters. */
2529
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
2530
- }
2531
- /** Contains response data for the listNext operation. */
2532
- export type OperationsListNextResponse = OperationList;
2533
- /** Optional parameters. */
2534
- export interface JobsListOptionalParams extends coreClient.OperationOptions {
2535
- /** $skipToken is supported on Get list of jobs, which provides the next page in the list of jobs. */
2536
- skipToken?: string;
2537
- }
2538
- /** Contains response data for the list operation. */
2539
- export type JobsListResponse = JobResourceList;
2540
- /** Optional parameters. */
2541
- export interface JobsMarkDevicesShippedOptionalParams extends coreClient.OperationOptions {
2542
- }
2543
- /** Optional parameters. */
2544
- export interface JobsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2545
- /** $skipToken is supported on Get list of jobs, which provides the next page in the list of jobs. */
2546
- skipToken?: string;
2547
- }
2548
- /** Contains response data for the listByResourceGroup operation. */
2549
- export type JobsListByResourceGroupResponse = JobResourceList;
2550
- /** Optional parameters. */
2551
- export interface JobsGetOptionalParams extends coreClient.OperationOptions {
2552
- /** $expand is supported on details parameter for job, which provides details on the job stages. */
2553
- expand?: string;
2554
- }
2555
- /** Contains response data for the get operation. */
2556
- export type JobsGetResponse = JobResource;
2557
- /** Optional parameters. */
2558
- export interface JobsCreateOptionalParams extends coreClient.OperationOptions {
2559
- /** Delay to wait until next poll, in milliseconds. */
2560
- updateIntervalInMs?: number;
2561
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2562
- resumeFrom?: string;
2563
- }
2564
- /** Contains response data for the create operation. */
2565
- export type JobsCreateResponse = JobResource;
2566
- /** Optional parameters. */
2567
- export interface JobsDeleteOptionalParams extends coreClient.OperationOptions {
2568
- /** Delay to wait until next poll, in milliseconds. */
2569
- updateIntervalInMs?: number;
2570
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2571
- resumeFrom?: string;
2572
- }
2573
- /** Optional parameters. */
2574
- export interface JobsUpdateOptionalParams extends coreClient.OperationOptions {
2575
- /** Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value. */
2576
- ifMatch?: string;
2577
- /** Delay to wait until next poll, in milliseconds. */
2578
- updateIntervalInMs?: number;
2579
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2580
- resumeFrom?: string;
2581
- }
2582
- /** Contains response data for the update operation. */
2583
- export type JobsUpdateResponse = JobResource;
2584
- /** Optional parameters. */
2585
- export interface JobsBookShipmentPickUpOptionalParams extends coreClient.OperationOptions {
2586
- }
2587
- /** Contains response data for the bookShipmentPickUp operation. */
2588
- export type JobsBookShipmentPickUpResponse = ShipmentPickUpResponse;
2589
- /** Optional parameters. */
2590
- export interface JobsCancelOptionalParams extends coreClient.OperationOptions {
2591
- }
2592
- /** Optional parameters. */
2593
- export interface JobsListCredentialsOptionalParams extends coreClient.OperationOptions {
2594
- }
2595
- /** Contains response data for the listCredentials operation. */
2596
- export type JobsListCredentialsResponse = UnencryptedCredentialsList;
2597
- /** Optional parameters. */
2598
- export interface JobsListNextOptionalParams extends coreClient.OperationOptions {
2599
- }
2600
- /** Contains response data for the listNext operation. */
2601
- export type JobsListNextResponse = JobResourceList;
2602
- /** Optional parameters. */
2603
- export interface JobsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2604
- }
2605
- /** Contains response data for the listByResourceGroupNext operation. */
2606
- export type JobsListByResourceGroupNextResponse = JobResourceList;
2607
- /** Optional parameters. */
2608
- export interface MitigateOptionalParams extends coreClient.OperationOptions {
2609
- }
2610
- /** Optional parameters. */
2611
- export interface ServiceListAvailableSkusByResourceGroupOptionalParams extends coreClient.OperationOptions {
2612
- }
2613
- /** Contains response data for the listAvailableSkusByResourceGroup operation. */
2614
- export type ServiceListAvailableSkusByResourceGroupResponse = AvailableSkusResult;
2615
- /** Optional parameters. */
2616
- export interface ServiceValidateAddressOptionalParams extends coreClient.OperationOptions {
2617
- }
2618
- /** Contains response data for the validateAddress operation. */
2619
- export type ServiceValidateAddressResponse = AddressValidationOutput;
2620
- /** Optional parameters. */
2621
- export interface ServiceValidateInputsByResourceGroupOptionalParams extends coreClient.OperationOptions {
2622
- }
2623
- /** Contains response data for the validateInputsByResourceGroup operation. */
2624
- export type ServiceValidateInputsByResourceGroupResponse = ValidationResponse;
2625
- /** Optional parameters. */
2626
- export interface ServiceValidateInputsOptionalParams extends coreClient.OperationOptions {
2627
- }
2628
- /** Contains response data for the validateInputs operation. */
2629
- export type ServiceValidateInputsResponse = ValidationResponse;
2630
- /** Optional parameters. */
2631
- export interface ServiceRegionConfigurationOptionalParams extends coreClient.OperationOptions {
2632
- }
2633
- /** Contains response data for the regionConfiguration operation. */
2634
- export type ServiceRegionConfigurationResponse = RegionConfigurationResponse;
2635
- /** Optional parameters. */
2636
- export interface ServiceRegionConfigurationByResourceGroupOptionalParams extends coreClient.OperationOptions {
2637
- }
2638
- /** Contains response data for the regionConfigurationByResourceGroup operation. */
2639
- export type ServiceRegionConfigurationByResourceGroupResponse = RegionConfigurationResponse;
2640
- /** Optional parameters. */
2641
- export interface ServiceListAvailableSkusByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2642
- }
2643
- /** Contains response data for the listAvailableSkusByResourceGroupNext operation. */
2644
- export type ServiceListAvailableSkusByResourceGroupNextResponse = AvailableSkusResult;
2645
- /** Optional parameters. */
2646
- export interface DataBoxManagementClientOptionalParams extends coreClient.ServiceClientOptions {
2647
- /** server parameter */
2648
- $host?: string;
2649
- /** Api Version */
2650
- apiVersion?: string;
2651
- /** Overrides client endpoint. */
2652
- endpoint?: string;
2653
- }
2654
- //# sourceMappingURL=index.d.ts.map
1990
+ /** Properties of data transfer details validation response. */
1991
+ export interface DataTransferDetailsValidationResponseProperties extends ValidationInputResponse {
1992
+ /** Data transfer details validation status. */
1993
+ readonly status?: ValidationStatus;
1994
+ /** Identifies the type of validation response. */
1995
+ validationType: "ValidateDataTransferDetails";
1996
+ }
1997
+ export declare function dataTransferDetailsValidationResponsePropertiesDeserializer(item: any): DataTransferDetailsValidationResponseProperties;
1998
+ /** Properties of data center and transport preference validation response. */
1999
+ export interface PreferencesValidationResponseProperties extends ValidationInputResponse {
2000
+ /** Validation status of requested data center and transport. */
2001
+ readonly status?: ValidationStatus;
2002
+ /** Identifies the type of validation response. */
2003
+ validationType: "ValidatePreferences";
2004
+ }
2005
+ export declare function preferencesValidationResponsePropertiesDeserializer(item: any): PreferencesValidationResponseProperties;
2006
+ /** Properties of sku availability validation response. */
2007
+ export interface SkuAvailabilityValidationResponseProperties extends ValidationInputResponse {
2008
+ /** Sku availability validation status. */
2009
+ readonly status?: ValidationStatus;
2010
+ /** Identifies the type of validation response. */
2011
+ validationType: "ValidateSkuAvailability";
2012
+ }
2013
+ export declare function skuAvailabilityValidationResponsePropertiesDeserializer(item: any): SkuAvailabilityValidationResponseProperties;
2014
+ /** Properties of subscription permission to create job validation response. */
2015
+ export interface SubscriptionIsAllowedToCreateJobValidationResponseProperties extends ValidationInputResponse {
2016
+ /** Validation status of subscription permission to create job. */
2017
+ readonly status?: ValidationStatus;
2018
+ /** Identifies the type of validation response. */
2019
+ validationType: "ValidateSubscriptionIsAllowedToCreateJob";
2020
+ }
2021
+ export declare function subscriptionIsAllowedToCreateJobValidationResponsePropertiesDeserializer(item: any): SubscriptionIsAllowedToCreateJobValidationResponseProperties;
2022
+ /** Minimum request requirement of any validation category. */
2023
+ export interface ValidationRequest {
2024
+ /** Identify the nature of validation. */
2025
+ /** The discriminator possible values: JobCreationValidation */
2026
+ validationCategory: "JobCreationValidation";
2027
+ /** List of request details contain validationType and its request as key and value respectively. */
2028
+ individualRequestDetails: ValidationInputRequestUnion[];
2029
+ }
2030
+ export declare function validationRequestSerializer(item: ValidationRequest): any;
2031
+ /** Alias for ValidationRequestUnion */
2032
+ export type ValidationRequestUnion = CreateJobValidations | ValidationRequest;
2033
+ export declare function validationRequestUnionSerializer(item: ValidationRequestUnion): any;
2034
+ export declare function validationInputRequestUnionArraySerializer(result: Array<ValidationInputRequestUnion>): any[];
2035
+ /** It does all pre-job creation validations. */
2036
+ export interface CreateJobValidations extends ValidationRequest {
2037
+ /** Identify the nature of validation. */
2038
+ validationCategory: "JobCreationValidation";
2039
+ }
2040
+ export declare function createJobValidationsSerializer(item: CreateJobValidations): any;
2041
+ /** Response of pre job creation validations. */
2042
+ export interface ValidationResponse {
2043
+ /** Overall validation status. */
2044
+ readonly status?: OverallValidationStatus;
2045
+ /** List of response details contain validationType and its response as key and value respectively. */
2046
+ readonly individualResponseDetails?: ValidationInputResponseUnion[];
2047
+ }
2048
+ export declare function validationResponseDeserializer(item: any): ValidationResponse;
2049
+ /** Properties of pre job creation validation response. */
2050
+ export interface ValidationResponseProperties {
2051
+ /** Overall validation status. */
2052
+ readonly status?: OverallValidationStatus;
2053
+ /** List of response details contain validationType and its response as key and value respectively. */
2054
+ readonly individualResponseDetails?: ValidationInputResponseUnion[];
2055
+ }
2056
+ export declare function validationResponsePropertiesDeserializer(item: any): ValidationResponseProperties;
2057
+ /** Overall validation status. */
2058
+ export type OverallValidationStatus = "AllValidToProceed" | "InputsRevisitRequired" | "CertainInputValidationsSkipped";
2059
+ export declare function validationInputResponseUnionArrayDeserializer(result: Array<ValidationInputResponseUnion>): any[];
2060
+ /** The filters for showing the available skus. */
2061
+ export interface AvailableSkuRequest {
2062
+ /** Type of the transfer. */
2063
+ transferType: TransferType;
2064
+ /** ISO country code. Country for hardware shipment. For codes check: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements */
2065
+ country: string;
2066
+ /** Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 */
2067
+ location: string;
2068
+ /** Sku Names to filter for available skus */
2069
+ skuNames?: SkuName[];
2070
+ }
2071
+ export declare function availableSkuRequestSerializer(item: AvailableSkuRequest): any;
2072
+ /** The available skus operation response. */
2073
+ export interface _AvailableSkusResult {
2074
+ /** [Placeholder] Description for page model */
2075
+ readonly value: SkuInformation[];
2076
+ /** [Placeholder] Description for nextLink property */
2077
+ nextLink?: string;
2078
+ }
2079
+ export declare function _availableSkusResultDeserializer(item: any): _AvailableSkusResult;
2080
+ export declare function skuInformationArrayDeserializer(result: Array<SkuInformation>): any[];
2081
+ /** Information of the sku. */
2082
+ export interface SkuInformation {
2083
+ /** The Sku. */
2084
+ readonly sku?: Sku;
2085
+ /** The sku is enabled or not. */
2086
+ readonly enabled?: boolean;
2087
+ /** The map of data location to service location. */
2088
+ readonly dataLocationToServiceLocationMap?: DataLocationToServiceLocationMap[];
2089
+ /** Capacity of the Sku. */
2090
+ readonly capacity?: SkuCapacity;
2091
+ /** Cost of the Sku. */
2092
+ readonly costs?: SkuCost[];
2093
+ /** Api versions that support this Sku. */
2094
+ readonly apiVersions?: string[];
2095
+ /** Reason why the Sku is disabled. */
2096
+ readonly disabledReason?: SkuDisabledReason;
2097
+ /** Message for why the Sku is disabled. */
2098
+ readonly disabledReasonMessage?: string;
2099
+ /** Required feature to access the sku. */
2100
+ readonly requiredFeature?: string;
2101
+ /** List of all the Countries in the SKU specific commerce boundary */
2102
+ readonly countriesWithinCommerceBoundary?: string[];
2103
+ }
2104
+ export declare function skuInformationDeserializer(item: any): SkuInformation;
2105
+ /** Properties of the sku. */
2106
+ export interface SkuProperties {
2107
+ /** The map of data location to service location. */
2108
+ readonly dataLocationToServiceLocationMap?: DataLocationToServiceLocationMap[];
2109
+ /** Capacity of the Sku. */
2110
+ readonly capacity?: SkuCapacity;
2111
+ /** Cost of the Sku. */
2112
+ readonly costs?: SkuCost[];
2113
+ /** Api versions that support this Sku. */
2114
+ readonly apiVersions?: string[];
2115
+ /** Reason why the Sku is disabled. */
2116
+ readonly disabledReason?: SkuDisabledReason;
2117
+ /** Message for why the Sku is disabled. */
2118
+ readonly disabledReasonMessage?: string;
2119
+ /** Required feature to access the sku. */
2120
+ readonly requiredFeature?: string;
2121
+ /** List of all the Countries in the SKU specific commerce boundary */
2122
+ readonly countriesWithinCommerceBoundary?: string[];
2123
+ }
2124
+ export declare function skuPropertiesDeserializer(item: any): SkuProperties;
2125
+ export declare function dataLocationToServiceLocationMapArrayDeserializer(result: Array<DataLocationToServiceLocationMap>): any[];
2126
+ /** Map of data location to service location */
2127
+ export interface DataLocationToServiceLocationMap {
2128
+ /** Location of the data. */
2129
+ readonly dataLocation?: string;
2130
+ /** Location of the service. */
2131
+ readonly serviceLocation?: string;
2132
+ }
2133
+ export declare function dataLocationToServiceLocationMapDeserializer(item: any): DataLocationToServiceLocationMap;
2134
+ /** Capacity of the sku. */
2135
+ export interface SkuCapacity {
2136
+ /** Usable capacity in TB. */
2137
+ readonly usable?: string;
2138
+ /** Maximum capacity in TB. */
2139
+ readonly maximum?: string;
2140
+ /** Maximum capacity per device in TB. */
2141
+ readonly individualSkuUsable?: string;
2142
+ }
2143
+ export declare function skuCapacityDeserializer(item: any): SkuCapacity;
2144
+ export declare function skuCostArrayDeserializer(result: Array<SkuCost>): any[];
2145
+ /** Describes metadata for retrieving price info. */
2146
+ export interface SkuCost {
2147
+ /** Meter id of the Sku. */
2148
+ readonly meterId?: string;
2149
+ /** The type of the meter. */
2150
+ readonly meterType?: string;
2151
+ /** Multiplier specifies the region specific value to be multiplied with 1$ guid. Eg: Our new regions will be using 1$ shipping guid with appropriate multiplier specific to region. */
2152
+ readonly multiplier?: number;
2153
+ }
2154
+ export declare function skuCostDeserializer(item: any): SkuCost;
2155
+ /** Reason why the Sku is disabled. */
2156
+ export type SkuDisabledReason = "None" | "Country" | "Region" | "Feature" | "OfferType" | "NoSubscriptionInfo";
2157
+ /** The available API versions. */
2158
+ export declare enum KnownVersions {
2159
+ /** The 2025-07-01 API version. */
2160
+ V20250701 = "2025-07-01"
2161
+ }
2162
+ export declare function _jobResourcePropertiesSerializer(item: JobResource): any;
2163
+ export declare function _jobResourcePropertiesDeserializer(item: any): {
2164
+ transferType: any;
2165
+ isCancellable: any;
2166
+ isDeletable: any;
2167
+ isShippingAddressEditable: any;
2168
+ reverseShippingDetailsUpdate: any;
2169
+ reverseTransportPreferenceUpdate: any;
2170
+ isPrepareToShipEnabled: any;
2171
+ status: any;
2172
+ delayedStage: any;
2173
+ startTime: any;
2174
+ error: any;
2175
+ details: any;
2176
+ cancellationReason: any;
2177
+ deliveryType: any;
2178
+ deliveryInfo: any;
2179
+ isCancellableWithoutFee: any;
2180
+ allDevicesLost: any;
2181
+ };
2182
+ export declare function _jobResourceUpdateParameterPropertiesSerializer(item: JobResourceUpdateParameter): any;
2183
+ export declare function _addressValidationOutputPropertiesDeserializer(item: any): {
2184
+ validationType: any;
2185
+ error: any;
2186
+ validationStatus: any;
2187
+ alternateAddresses: any;
2188
+ };
2189
+ export declare function _validationResponsePropertiesDeserializer(item: any): {
2190
+ status: any;
2191
+ individualResponseDetails: any;
2192
+ };
2193
+ export declare function _skuInformationPropertiesDeserializer(item: any): {
2194
+ dataLocationToServiceLocationMap: any;
2195
+ capacity: any;
2196
+ costs: any;
2197
+ apiVersions: any;
2198
+ disabledReason: any;
2199
+ disabledReasonMessage: any;
2200
+ requiredFeature: any;
2201
+ countriesWithinCommerceBoundary: any;
2202
+ };
2203
+ //# sourceMappingURL=models.d.ts.map