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