@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
@@ -0,0 +1,2203 @@
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. */
45
+ readonly value?: Operation[];
46
+ /** The link to fetch the next page of connected cluster API operations. */
47
+ nextLink?: string;
48
+ }
49
+ export declare function _operationListDeserializer(item: any): _OperationList;
50
+ export declare function operationArrayDeserializer(result: Array<Operation>): any[];
51
+ /** Operation entity. */
52
+ export interface Operation {
53
+ /** Name of the operation. Format: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action} */
54
+ readonly name?: string;
55
+ /** Operation display values. */
56
+ readonly display?: OperationDisplay;
57
+ /** Operation properties. */
58
+ readonly properties?: Record<string, any>;
59
+ /** Origin of the operation. Can be : user|system|user,system */
60
+ readonly origin?: string;
61
+ /** Indicates whether the operation is a data action */
62
+ isDataAction?: boolean;
63
+ }
64
+ export declare function operationDeserializer(item: any): Operation;
65
+ /** Operation display */
66
+ export interface OperationDisplay {
67
+ /** Provider name. */
68
+ provider?: string;
69
+ /** Resource name. */
70
+ resource?: string;
71
+ /** Localized name of the operation for display purpose. */
72
+ operation?: string;
73
+ /** Localized description of the operation for display purpose. */
74
+ description?: string;
75
+ }
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;
117
+ }
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;
156
+ }
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"
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;
238
+ /** Provides additional information about an http error response. */
239
+ export interface CloudError {
240
+ /** Gets or sets additional error info. */
241
+ readonly additionalInfo?: AdditionalErrorInfo[];
242
+ /** Error code. */
243
+ code?: string;
244
+ /** Gets or sets details for the error. */
245
+ readonly details?: CloudError[];
246
+ /** The error message parsed from the body of the http error response. */
247
+ message?: string;
248
+ /** Gets or sets the target of the error. */
249
+ target?: string;
250
+ }
251
+ export declare function cloudErrorDeserializer(item: any): CloudError;
252
+ export declare function additionalErrorInfoArrayDeserializer(result: Array<AdditionalErrorInfo>): any[];
253
+ /** This class represents additional info which Resource Providers pass when an error occurs. */
254
+ export interface AdditionalErrorInfo {
255
+ /** Additional information of the type of error. */
256
+ info?: Record<string, any>;
257
+ /** Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation). */
258
+ type?: string;
259
+ }
260
+ export declare function additionalErrorInfoDeserializer(item: any): AdditionalErrorInfo;
261
+ export declare function cloudErrorArrayDeserializer(result: Array<CloudError>): any[];
262
+ /** Job details. */
263
+ export interface JobDetails {
264
+ /** List of stages that run in the job. */
265
+ readonly jobStages?: JobStages[];
266
+ /** Contact details for notification and shipping. */
267
+ contactDetails: ContactDetails;
268
+ /** Shipping address of the customer. */
269
+ shippingAddress?: ShippingAddress;
270
+ /** Delivery package shipping details. */
271
+ readonly deliveryPackage?: PackageShippingDetails;
272
+ /** Return package shipping details. */
273
+ readonly returnPackage?: PackageShippingDetails;
274
+ /** Details of the data to be imported into azure. */
275
+ dataImportDetails?: DataImportDetails[];
276
+ /** Details of the data to be exported from azure. */
277
+ dataExportDetails?: DataExportDetails[];
278
+ /** Indicates the type of job details. */
279
+ /** The discriminator possible values: DataBoxCustomerDisk, DataBoxDisk, DataBoxHeavy, DataBox */
280
+ jobDetailsType: ClassDiscriminator;
281
+ /** Preferences for the order. */
282
+ preferences?: Preferences;
283
+ /** Optional Reverse Shipping details for order. */
284
+ reverseShippingDetails?: ReverseShippingDetails;
285
+ /** List of copy log details. */
286
+ readonly copyLogDetails?: CopyLogDetailsUnion[];
287
+ /** Shared access key to download the return shipment label */
288
+ readonly reverseShipmentLabelSasKey?: string;
289
+ /** Shared access key to download the chain of custody logs */
290
+ readonly chainOfCustodySasKey?: string;
291
+ /** Holds device data erasure details */
292
+ readonly deviceErasureDetails?: DeviceErasureDetails;
293
+ /** Details about which key encryption type is being used. */
294
+ keyEncryptionKey?: KeyEncryptionKey;
295
+ /** The expected size of the data, which needs to be transferred in this job, in terabytes. */
296
+ expectedDataSizeInTeraBytes?: number;
297
+ /** Available actions on the job. */
298
+ readonly actions?: CustomerResolutionCode[];
299
+ /** Last mitigation action performed on the job. */
300
+ readonly lastMitigationActionOnJob?: LastMitigationActionOnJob;
301
+ /** Datacenter address to ship to, for the given sku and storage location. */
302
+ readonly datacenterAddress?: DatacenterAddressResponseUnion;
303
+ /** DataCenter code. */
304
+ readonly dataCenterCode?: DataCenterCode;
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[];
313
+ /** Job stages. */
314
+ export interface JobStages {
315
+ /** Name of the job stage. */
316
+ readonly stageName?: StageName;
317
+ /** Display name of the job stage. */
318
+ readonly displayName?: string;
319
+ /** Status of the job stage. */
320
+ readonly stageStatus?: StageStatus;
321
+ /** Time for the job stage in UTC ISO 8601 format. */
322
+ readonly stageTime?: Date;
323
+ /** Job Stage Details */
324
+ readonly jobStageDetails?: any;
325
+ /** Delay information for the job stages. */
326
+ readonly delayInformation?: JobDelayDetails[];
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[];
332
+ /** Job Delay Notification details */
333
+ export interface JobDelayDetails {
334
+ /** Status of notification */
335
+ readonly status?: DelayNotificationStatus;
336
+ /** Delay Error code */
337
+ readonly errorCode?: PortalDelayErrorCode;
338
+ /** Description of the delay. */
339
+ readonly description?: string;
340
+ /** Timestamp when the delay notification was created. */
341
+ readonly startTime?: Date;
342
+ /** Timestamp when the delay notification was resolved. */
343
+ readonly resolutionTime?: Date;
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;
384
+ /** Contact Details. */
385
+ export interface ContactDetails {
386
+ /** Contact name of the person. */
387
+ contactName: string;
388
+ /** Phone number of the contact person. */
389
+ phone: string;
390
+ /** Phone extension number of the contact person. */
391
+ phoneExtension?: string;
392
+ /** Mobile number of the contact person. */
393
+ mobile?: string;
394
+ /** List of Email-ids to be notified about job progress. */
395
+ emailList: string[];
396
+ /** Notification preference for a job stage. */
397
+ notificationPreference?: NotificationPreference[];
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[];
403
+ /** Notification preference for a job stage. */
404
+ export interface NotificationPreference {
405
+ /** Name of the stage. */
406
+ stageName: NotificationStageName;
407
+ /** Notification is required or not. */
408
+ sendNotification: boolean;
409
+ }
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. */
449
+ streetAddress1: string;
450
+ /** Street Address line 2. */
451
+ streetAddress2?: string;
452
+ /** Street Address line 3. */
453
+ streetAddress3?: string;
454
+ /** Name of the City. */
455
+ city?: string;
456
+ /** Name of the State or Province. */
457
+ stateOrProvince?: string;
458
+ /** Name of the Country. */
459
+ country: string;
460
+ /** Postal code. */
461
+ postalCode?: string;
462
+ /** Extended Zip Code. */
463
+ zipExtendedCode?: string;
464
+ /** Name of the company. */
465
+ companyName?: string;
466
+ /** Type of address. */
467
+ addressType?: AddressType;
468
+ /** Flag to indicate if customer has chosen to skip default address validation */
469
+ skipAddressValidation?: boolean;
470
+ /** Tax Identification Number */
471
+ taxIdentificationNumber?: string;
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";
477
+ /** package shipping details */
478
+ export interface PackageShippingDetails {
479
+ /** Url where shipment can be tracked. */
480
+ readonly trackingUrl?: string;
481
+ /** Name of the carrier. */
482
+ readonly carrierName?: string;
483
+ /** Tracking Id of shipment. */
484
+ readonly trackingId?: string;
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[];
489
+ /** Details of the data to be used for importing data to azure. */
490
+ export interface DataImportDetails {
491
+ /** Account details of the data to be transferred */
492
+ accountDetails: DataAccountDetailsUnion;
493
+ /** Level of the logs to be collected. */
494
+ logCollectionLevel?: LogCollectionLevel;
495
+ }
496
+ export declare function dataImportDetailsSerializer(item: DataImportDetails): any;
497
+ export declare function dataImportDetailsDeserializer(item: any): DataImportDetails;
498
+ /** Account details of the data to be transferred */
499
+ export interface DataAccountDetails {
500
+ /** Account Type of the data to be transferred. */
501
+ /** The discriminator possible values: ManagedDisk, StorageAccount */
502
+ dataAccountType: DataAccountType;
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 : @#\-$%^!+=;:_()]+ */
504
+ sharePassword?: string;
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[];
538
+ /** Details of the data to be used for exporting data from azure. */
539
+ export interface DataExportDetails {
540
+ /** Configuration for the data transfer. */
541
+ transferConfiguration: TransferConfiguration;
542
+ /** Level of the logs to be collected. */
543
+ logCollectionLevel?: LogCollectionLevel;
544
+ /** Account details of the data to be transferred */
545
+ accountDetails: DataAccountDetailsUnion;
546
+ }
547
+ export declare function dataExportDetailsSerializer(item: DataExportDetails): any;
548
+ export declare function dataExportDetailsDeserializer(item: any): DataExportDetails;
549
+ /** Configuration for defining the transfer of data. */
550
+ export interface TransferConfiguration {
551
+ /** Type of the configuration for transfer. */
552
+ transferConfigurationType: TransferConfigurationType;
553
+ /** Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. */
554
+ transferFilterDetails?: TransferConfigurationTransferFilterDetails;
555
+ /** Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll */
556
+ transferAllDetails?: TransferConfigurationTransferAllDetails;
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";
562
+ /** Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. */
563
+ export interface TransferConfigurationTransferFilterDetails {
564
+ /** Details of the filtering the transfer of data. */
565
+ include?: TransferFilterDetails;
566
+ }
567
+ export declare function transferConfigurationTransferFilterDetailsSerializer(item: TransferConfigurationTransferFilterDetails): any;
568
+ export declare function transferConfigurationTransferFilterDetailsDeserializer(item: any): TransferConfigurationTransferFilterDetails;
569
+ /** Details of the filtering the transfer of data. */
570
+ export interface TransferFilterDetails {
571
+ /** Type of the account of data. */
572
+ dataAccountType: DataAccountType;
573
+ /** Filter details to transfer blobs. */
574
+ blobFilterDetails?: BlobFilterDetails;
575
+ /** Filter details to transfer Azure files. */
576
+ azureFileFilterDetails?: AzureFileFilterDetails;
577
+ /** Details of the filter files to be used for data transfer. */
578
+ filterFileDetails?: FilterFileDetails[];
579
+ }
580
+ export declare function transferFilterDetailsSerializer(item: TransferFilterDetails): any;
581
+ export declare function transferFilterDetailsDeserializer(item: any): TransferFilterDetails;
582
+ /** Filter details to transfer Azure Blobs */
583
+ export interface BlobFilterDetails {
584
+ /** Prefix list of the Azure blobs to be transferred. */
585
+ blobPrefixList?: string[];
586
+ /** List of full path of the blobs to be transferred. */
587
+ blobPathList?: string[];
588
+ /** List of blob containers to be transferred. */
589
+ containerList?: string[];
590
+ }
591
+ export declare function blobFilterDetailsSerializer(item: BlobFilterDetails): any;
592
+ export declare function blobFilterDetailsDeserializer(item: any): BlobFilterDetails;
593
+ /** Filter details to transfer Azure files */
594
+ export interface AzureFileFilterDetails {
595
+ /** Prefix list of the Azure files to be transferred. */
596
+ filePrefixList?: string[];
597
+ /** List of full path of the files to be transferred. */
598
+ filePathList?: string[];
599
+ /** List of file shares to be transferred. */
600
+ fileShareList?: string[];
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[];
606
+ /** Details of the filter files to be used for data transfer. */
607
+ export interface FilterFileDetails {
608
+ /** Type of the filter file. */
609
+ filterFileType: FilterFileType;
610
+ /** Path of the file that contains the details of all items to transfer. */
611
+ filterFilePath: string;
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";
617
+ /** Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll */
618
+ export interface TransferConfigurationTransferAllDetails {
619
+ /** Details to transfer all data. */
620
+ include?: TransferAllDetails;
621
+ }
622
+ export declare function transferConfigurationTransferAllDetailsSerializer(item: TransferConfigurationTransferAllDetails): any;
623
+ export declare function transferConfigurationTransferAllDetailsDeserializer(item: any): TransferConfigurationTransferAllDetails;
624
+ /** Details to transfer all data. */
625
+ export interface TransferAllDetails {
626
+ /** Type of the account of data */
627
+ dataAccountType: DataAccountType;
628
+ /** To indicate if all Azure blobs have to be transferred */
629
+ transferAllBlobs?: boolean;
630
+ /** To indicate if all Azure Files have to be transferred */
631
+ transferAllFiles?: boolean;
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";
637
+ /** Preferences related to the order */
638
+ export interface Preferences {
639
+ /** Preferred data center region. */
640
+ preferredDataCenterRegion?: string[];
641
+ /** Preferences related to the shipment logistics of the sku. */
642
+ transportPreferences?: TransportPreferences;
643
+ /** Optional Preferences related to the reverse shipment logistics of the sku. */
644
+ reverseTransportPreferences?: TransportPreferences;
645
+ /** Preferences related to the Encryption. */
646
+ encryptionPreferences?: EncryptionPreferences;
647
+ /** Preferences related to the Access Tier of storage accounts. */
648
+ storageAccountAccessTierPreferences?: "Archive"[];
649
+ }
650
+ export declare function preferencesSerializer(item: Preferences): any;
651
+ export declare function preferencesDeserializer(item: any): Preferences;
652
+ /** Preferences related to the shipment logistics of the sku */
653
+ export interface TransportPreferences {
654
+ /** Indicates Shipment Logistics type that the customer preferred. */
655
+ preferredShipmentType: TransportShipmentTypes;
656
+ /** Read only property which indicates whether transport preferences has been updated or not after device is prepared. */
657
+ readonly isUpdated?: boolean;
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";
663
+ /** Preferences related to the Encryption. */
664
+ export interface EncryptionPreferences {
665
+ /** Defines secondary layer of software-based encryption enablement. */
666
+ doubleEncryption?: DoubleEncryption;
667
+ /** Defines Hardware level encryption (Only for disk) */
668
+ hardwareEncryption?: HardwareEncryption;
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";
676
+ /** Reverse Shipping Address and contact details for a job. */
677
+ export interface ReverseShippingDetails {
678
+ /** Contact Info. */
679
+ contactDetails?: ContactInfo;
680
+ /** Shipping address where customer wishes to receive the device. */
681
+ shippingAddress?: ShippingAddress;
682
+ /**
683
+ * A flag to indicate whether Reverse Shipping details are updated or not after device has been prepared.
684
+ * Read only field
685
+ */
686
+ readonly isUpdated?: boolean;
687
+ }
688
+ export declare function reverseShippingDetailsSerializer(item: ReverseShippingDetails): any;
689
+ export declare function reverseShippingDetailsDeserializer(item: any): ReverseShippingDetails;
690
+ /** Contact Info. */
691
+ export interface ContactInfo {
692
+ /** Contact name of the person. */
693
+ contactName: string;
694
+ /** Phone number of the contact person. */
695
+ phone: string;
696
+ /** Phone extension number of the contact person. */
697
+ phoneExtension?: string;
698
+ /** Mobile number of the contact person. */
699
+ mobile?: string;
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[];
704
+ /** Details for log generated during copy. */
705
+ export interface CopyLogDetails {
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";
760
+ }
761
+ export declare function dataBoxHeavyAccountCopyLogDetailsDeserializer(item: any): DataBoxHeavyAccountCopyLogDetails;
762
+ /** Device erasure details with erasure completion status, secure erasure sas key and erasureordestructionlog sas key */
763
+ export interface DeviceErasureDetails {
764
+ /** Holds the device erasure completion status */
765
+ readonly deviceErasureStatus?: StageStatus;
766
+ /** Shared access key to download cleanup or destruction certificate for device */
767
+ readonly erasureOrDestructionCertificateSasKey?: string;
768
+ /** Shared access key to download secure erasure certificate for the device */
769
+ readonly secureErasureCertificateSasKey?: string;
770
+ }
771
+ export declare function deviceErasureDetailsDeserializer(item: any): DeviceErasureDetails;
772
+ /** Encryption key containing details about key to encrypt different keys. */
773
+ export interface KeyEncryptionKey {
774
+ /** Type of encryption key used for key encryption. */
775
+ kekType: KekType;
776
+ /** Managed identity properties used for key encryption. */
777
+ identityProperties?: IdentityProperties;
778
+ /** Key encryption key. It is required in case of Customer managed KekType. */
779
+ kekUrl?: string;
780
+ /** Kek vault resource id. It is required in case of Customer managed KekType. */
781
+ kekVaultResourceID?: string;
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";
787
+ /** Managed identity properties. */
788
+ export interface IdentityProperties {
789
+ /** Managed service identity type. */
790
+ type?: string;
791
+ /** User assigned identity properties. */
792
+ userAssigned?: UserAssignedProperties;
793
+ }
794
+ export declare function identityPropertiesSerializer(item: IdentityProperties): any;
795
+ export declare function identityPropertiesDeserializer(item: any): IdentityProperties;
796
+ /** User assigned identity properties. */
797
+ export interface UserAssignedProperties {
798
+ /** Arm resource id for user assigned identity to be used to fetch MSI token. */
799
+ resourceId?: string;
800
+ }
801
+ export declare function userAssignedPropertiesSerializer(item: UserAssignedProperties): any;
802
+ export declare function userAssignedPropertiesDeserializer(item: any): UserAssignedProperties;
803
+ /** Last Mitigation Action Performed On Job */
804
+ export interface LastMitigationActionOnJob {
805
+ /** Action performed date time */
806
+ actionDateTimeInUtc?: Date;
807
+ /**
808
+ * Action performed by customer,
809
+ * possibility is that mitigation might happen by customer or service or by ops
810
+ */
811
+ isPerformedByCustomer?: boolean;
812
+ /** Resolution code provided by customer */
813
+ customerResolution?: CustomerResolutionCode;
814
+ }
815
+ export declare function lastMitigationActionOnJobDeserializer(item: any): LastMitigationActionOnJob;
816
+ /** Datacenter address for given storage location. */
817
+ export interface DatacenterAddressResponse {
818
+ /** Data center address type */
819
+ /** The discriminator possible values: DatacenterAddressInstruction, DatacenterAddressLocation */
820
+ datacenterAddressType: DatacenterAddressType;
821
+ /** List of supported carriers for return shipment. */
822
+ readonly supportedCarriersForReturnShipment?: string[];
823
+ /** Azure Location where the Data Center serves primarily. */
824
+ readonly dataCenterAzureLocation?: string;
825
+ }
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";
838
+ }
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";
870
+ }
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"
1010
+ }
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";
1102
+ }
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;
1117
+ }
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 */
1255
+ readonly error?: CloudError;
1256
+ /** Available actions on the job. */
1257
+ readonly actions?: CustomerResolutionCode[];
1258
+ }
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;
1326
+ /**
1327
+ * To indicate if enumeration of data is in progress.
1328
+ * Until this is true, the TotalBytesToProcess may not be valid.
1329
+ */
1330
+ readonly isEnumerationInProgress?: boolean;
1331
+ /** Error, if any, in the stage */
1332
+ readonly error?: CloudError;
1333
+ /** Available actions on the job. */
1334
+ readonly actions?: CustomerResolutionCode[];
1335
+ }
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";
1345
+ }
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;
1428
+ /**
1429
+ * To indicate if enumeration of data is in progress.
1430
+ * Until this is true, the TotalBytesToProcess may not be valid.
1431
+ */
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;
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;
1509
+ /** The JobResourceUpdateParameter. */
1510
+ export interface JobResourceUpdateParameter {
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). */
1512
+ tags?: Record<string, string>;
1513
+ /** Msi identity of the resource */
1514
+ identity?: ResourceIdentity;
1515
+ /** Details of a job to be updated. */
1516
+ details?: UpdateJobDetails;
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;
1525
+ /** Job details for update. */
1526
+ export interface UpdateJobDetails {
1527
+ /** Contact details for notification and shipping. */
1528
+ contactDetails?: ContactDetails;
1529
+ /** Shipping address of the customer. */
1530
+ shippingAddress?: ShippingAddress;
1531
+ /** Reverse Shipping Address and contact details for a job. */
1532
+ reverseShippingDetails?: ReverseShippingDetails;
1533
+ /** Preferences related to the order */
1534
+ preferences?: Preferences;
1535
+ /** Key encryption key for the job. */
1536
+ keyEncryptionKey?: KeyEncryptionKey;
1537
+ /** Return package details of job. */
1538
+ returnToCustomerPackageDetails?: PackageCarrierDetails;
1539
+ }
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;
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[];
1551
+ /** Shipment pick up request details. */
1552
+ export interface ShipmentPickUpRequest {
1553
+ /** Minimum date after which the pick up should commence, this must be in local time of pick up area. */
1554
+ startTime: Date;
1555
+ /** Maximum date before which the pick up should commence, this must be in local time of pick up area. */
1556
+ endTime: Date;
1557
+ /** Shipment Location in the pickup place. Eg.front desk */
1558
+ shipmentLocation: string;
1559
+ }
1560
+ export declare function shipmentPickUpRequestSerializer(item: ShipmentPickUpRequest): any;
1561
+ /** Shipment pick up response. */
1562
+ export interface ShipmentPickUpResponse {
1563
+ /** Confirmation number for the pick up request. */
1564
+ readonly confirmationNumber?: string;
1565
+ /** Time by which shipment should be ready for pick up, this is in local time of pick up area. */
1566
+ readonly readyByTime?: Date;
1567
+ }
1568
+ export declare function shipmentPickUpResponseDeserializer(item: any): ShipmentPickUpResponse;
1569
+ /** Reason for cancellation. */
1570
+ export interface CancellationReason {
1571
+ /** Reason for cancellation. */
1572
+ reason: string;
1573
+ }
1574
+ export declare function cancellationReasonSerializer(item: CancellationReason): any;
1575
+ /** List of unencrypted credentials for accessing device. */
1576
+ export interface _UnencryptedCredentialsList {
1577
+ /** The UnencryptedCredentials items on this page */
1578
+ value: UnencryptedCredentials[];
1579
+ /** The link to the next page of items */
1580
+ nextLink?: string;
1581
+ }
1582
+ export declare function _unencryptedCredentialsListDeserializer(item: any): _UnencryptedCredentialsList;
1583
+ export declare function unencryptedCredentialsArrayDeserializer(result: Array<UnencryptedCredentials>): any[];
1584
+ /** Unencrypted credentials for accessing device. */
1585
+ export interface UnencryptedCredentials {
1586
+ /** Name of the job. */
1587
+ readonly jobName?: string;
1588
+ /** Secrets related to this job. */
1589
+ readonly jobSecrets?: JobSecretsUnion;
1590
+ }
1591
+ export declare function unencryptedCredentialsDeserializer(item: any): UnencryptedCredentials;
1592
+ /** The base class for the secrets */
1593
+ export interface JobSecrets {
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 */
1598
+ readonly dcAccessSecurityCode?: DcAccessSecurityCode;
1599
+ /** Error while fetching the secrets. */
1600
+ readonly error?: CloudError;
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;
1606
+ /** Dc access security code */
1607
+ export interface DcAccessSecurityCode {
1608
+ /** Reverse Dc access security code. */
1609
+ reverseDCAccessCode?: string;
1610
+ /** Forward Dc access security code. */
1611
+ forwardDCAccessCode?: string;
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;
1738
+ /** Request body to get the configuration for the region. */
1739
+ export interface RegionConfigurationRequest {
1740
+ /** Request body to get the availability for scheduling orders. */
1741
+ scheduleAvailabilityRequest?: ScheduleAvailabilityRequestUnion;
1742
+ /** Request body to get the transport availability for given sku. */
1743
+ transportAvailabilityRequest?: TransportAvailabilityRequest;
1744
+ /** Request body to get the datacenter address for given sku. */
1745
+ datacenterAddressRequest?: DatacenterAddressRequest;
1746
+ /** Request body to get the device capabilities for a given sku. */
1747
+ deviceCapabilityRequest?: DeviceCapabilityRequest;
1748
+ }
1749
+ export declare function regionConfigurationRequestSerializer(item: RegionConfigurationRequest): any;
1750
+ /** Request body to get the availability for scheduling orders. */
1751
+ export interface ScheduleAvailabilityRequest {
1752
+ /** Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 */
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;
1757
+ /** Country in which storage location should be supported. */
1758
+ country?: string;
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 */
1760
+ model?: ModelName;
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;
1786
+ /** Request body to get the transport availability for given sku. */
1787
+ export interface TransportAvailabilityRequest {
1788
+ /** Type of the device. */
1789
+ skuName?: SkuName;
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
+ export declare function transportAvailabilityRequestSerializer(item: TransportAvailabilityRequest): any;
1794
+ /** Request body to get the datacenter address. */
1795
+ export interface DatacenterAddressRequest {
1796
+ /** Storage location. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 */
1797
+ storageLocation: string;
1798
+ /** Sku Name for which the data center address requested. */
1799
+ skuName: SkuName;
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 */
1801
+ model?: ModelName;
1802
+ }
1803
+ export declare function datacenterAddressRequestSerializer(item: DatacenterAddressRequest): any;
1804
+ /** Request body to get the device capabilities for given sku. */
1805
+ export interface DeviceCapabilityRequest {
1806
+ /** Type of the device. */
1807
+ skuName?: SkuName;
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 */
1809
+ model?: ModelName;
1810
+ }
1811
+ export declare function deviceCapabilityRequestSerializer(item: DeviceCapabilityRequest): any;
1812
+ /** Configuration response specific to a region. */
1813
+ export interface RegionConfigurationResponse {
1814
+ /** Schedule availability for given sku in a region. */
1815
+ readonly scheduleAvailabilityResponse?: ScheduleAvailabilityResponse;
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;
1822
+ }
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. */
1881
+ export type ValidationInputDiscriminator = "ValidateAddress" | "ValidateSubscriptionIsAllowedToCreateJob" | "ValidatePreferences" | "ValidateCreateOrderLimit" | "ValidateSkuAvailability" | "ValidateDataTransferDetails";
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. */
1965
+ export type AddressValidationStatus = "Valid" | "Invalid" | "Ambiguous";
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. */
1989
+ export type ValidationStatus = "Valid" | "Invalid" | "Skipped";
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