@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 @@
1
+ {"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../../src/operations/jobs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AA+B9C,4CAA4C;AAC5C,wCAAwC;AACxC,MAAM,OAAO,QAAQ;IAGnB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAgC;QAEhC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CA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U,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Jobs } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataBoxManagementClient } from \"../dataBoxManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n JobResource,\n JobsListNextOptionalParams,\n JobsListOptionalParams,\n JobsListResponse,\n JobsListByResourceGroupNextOptionalParams,\n JobsListByResourceGroupOptionalParams,\n JobsListByResourceGroupResponse,\n UnencryptedCredentials,\n JobsListCredentialsOptionalParams,\n JobsListCredentialsResponse,\n MarkDevicesShippedRequest,\n JobsMarkDevicesShippedOptionalParams,\n JobsGetOptionalParams,\n JobsGetResponse,\n JobsCreateOptionalParams,\n JobsCreateResponse,\n JobsDeleteOptionalParams,\n JobResourceUpdateParameter,\n JobsUpdateOptionalParams,\n JobsUpdateResponse,\n ShipmentPickUpRequest,\n JobsBookShipmentPickUpOptionalParams,\n JobsBookShipmentPickUpResponse,\n CancellationReason,\n JobsCancelOptionalParams,\n JobsListNextResponse,\n JobsListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Jobs operations. */\nexport class JobsImpl implements Jobs {\n private readonly client: DataBoxManagementClient;\n\n /**\n * Initialize a new instance of the class Jobs class.\n * @param client Reference to the service client\n */\n constructor(client: DataBoxManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the jobs available under the subscription.\n * @param options The options parameters.\n */\n public list(\n options?: JobsListOptionalParams\n ): PagedAsyncIterableIterator<JobResource> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: JobsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<JobResource[]> {\n let result: JobsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: JobsListOptionalParams\n ): AsyncIterableIterator<JobResource> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the jobs available under the given resource group.\n * @param resourceGroupName The Resource Group Name\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: JobsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<JobResource> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: JobsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<JobResource[]> {\n let result: JobsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: JobsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<JobResource> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * This method gets the unencrypted secrets related to the job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param options The options parameters.\n */\n public listCredentials(\n resourceGroupName: string,\n jobName: string,\n options?: JobsListCredentialsOptionalParams\n ): PagedAsyncIterableIterator<UnencryptedCredentials> {\n const iter = this.listCredentialsPagingAll(\n resourceGroupName,\n jobName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listCredentialsPagingPage(\n resourceGroupName,\n jobName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listCredentialsPagingPage(\n resourceGroupName: string,\n jobName: string,\n options?: JobsListCredentialsOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<UnencryptedCredentials[]> {\n let result: JobsListCredentialsResponse;\n result = await this._listCredentials(resourceGroupName, jobName, options);\n yield result.value || [];\n }\n\n private async *listCredentialsPagingAll(\n resourceGroupName: string,\n jobName: string,\n options?: JobsListCredentialsOptionalParams\n ): AsyncIterableIterator<UnencryptedCredentials> {\n for await (const page of this.listCredentialsPagingPage(\n resourceGroupName,\n jobName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the jobs available under the subscription.\n * @param options The options parameters.\n */\n private _list(options?: JobsListOptionalParams): Promise<JobsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Request to mark devices for a given job as shipped\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param resourceGroupName The Resource Group Name\n * @param markDevicesShippedRequest Mark Devices Shipped Request\n * @param options The options parameters.\n */\n markDevicesShipped(\n jobName: string,\n resourceGroupName: string,\n markDevicesShippedRequest: MarkDevicesShippedRequest,\n options?: JobsMarkDevicesShippedOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { jobName, resourceGroupName, markDevicesShippedRequest, options },\n markDevicesShippedOperationSpec\n );\n }\n\n /**\n * Lists all the jobs available under the given resource group.\n * @param resourceGroupName The Resource Group Name\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: JobsListByResourceGroupOptionalParams\n ): Promise<JobsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets information about the specified job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n jobName: string,\n options?: JobsGetOptionalParams\n ): Promise<JobsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, jobName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates a new job with the specified parameters. Existing job cannot be updated with this API and\n * should instead be updated with the Update job API.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param jobResource Job details from request body.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n jobName: string,\n jobResource: JobResource,\n options?: JobsCreateOptionalParams\n ): Promise<\n SimplePollerLike<OperationState<JobsCreateResponse>, JobsCreateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<JobsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, jobName, jobResource, options },\n spec: createOperationSpec\n });\n const poller = await createHttpPoller<\n JobsCreateResponse,\n OperationState<JobsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new job with the specified parameters. Existing job cannot be updated with this API and\n * should instead be updated with the Update job API.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param jobResource Job details from request body.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n jobName: string,\n jobResource: JobResource,\n options?: JobsCreateOptionalParams\n ): Promise<JobsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n jobName,\n jobResource,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n jobName: string,\n options?: JobsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, jobName, options },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n jobName: string,\n options?: JobsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, jobName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the properties of an existing job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param jobResourceUpdateParameter Job update parameters from request body.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n jobName: string,\n jobResourceUpdateParameter: JobResourceUpdateParameter,\n options?: JobsUpdateOptionalParams\n ): Promise<\n SimplePollerLike<OperationState<JobsUpdateResponse>, JobsUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<JobsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, jobName, jobResourceUpdateParameter, options },\n spec: updateOperationSpec\n });\n const poller = await createHttpPoller<\n JobsUpdateResponse,\n OperationState<JobsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the properties of an existing job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param jobResourceUpdateParameter Job update parameters from request body.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n jobName: string,\n jobResourceUpdateParameter: JobResourceUpdateParameter,\n options?: JobsUpdateOptionalParams\n ): Promise<JobsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n jobName,\n jobResourceUpdateParameter,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Book shipment pick up.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param shipmentPickUpRequest Details of shipment pick up request.\n * @param options The options parameters.\n */\n bookShipmentPickUp(\n resourceGroupName: string,\n jobName: string,\n shipmentPickUpRequest: ShipmentPickUpRequest,\n options?: JobsBookShipmentPickUpOptionalParams\n ): Promise<JobsBookShipmentPickUpResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, jobName, shipmentPickUpRequest, options },\n bookShipmentPickUpOperationSpec\n );\n }\n\n /**\n * CancelJob.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param cancellationReason Reason for cancellation.\n * @param options The options parameters.\n */\n cancel(\n resourceGroupName: string,\n jobName: string,\n cancellationReason: CancellationReason,\n options?: JobsCancelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, jobName, cancellationReason, options },\n cancelOperationSpec\n );\n }\n\n /**\n * This method gets the unencrypted secrets related to the job.\n * @param resourceGroupName The Resource Group Name\n * @param jobName The name of the job Resource within the specified resource group. job names must be\n * between 3 and 24 characters in length and use any alphanumeric and underscore only\n * @param options The options parameters.\n */\n private _listCredentials(\n resourceGroupName: string,\n jobName: string,\n options?: JobsListCredentialsOptionalParams\n ): Promise<JobsListCredentialsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, jobName, options },\n listCredentialsOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: JobsListNextOptionalParams\n ): Promise<JobsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The Resource Group Name\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: JobsListByResourceGroupNextOptionalParams\n ): Promise<JobsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobResourceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst markDevicesShippedOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/markDevicesShipped\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.markDevicesShippedRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.jobName,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobResourceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobResource\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.jobName,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobResource\n },\n 201: {\n bodyMapper: Mappers.JobResource\n },\n 202: {\n bodyMapper: Mappers.JobResource\n },\n 204: {\n bodyMapper: Mappers.JobResource\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.jobResource,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.jobName,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.jobName,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobResource\n },\n 201: {\n bodyMapper: Mappers.JobResource\n },\n 202: {\n bodyMapper: Mappers.JobResource\n },\n 204: {\n bodyMapper: Mappers.JobResource\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.jobResourceUpdateParameter,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.jobName,\n Parameters.resourceGroupName\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst bookShipmentPickUpOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/bookShipmentPickUp\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShipmentPickUpResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.shipmentPickUpRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.jobName,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst cancelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/cancel\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.cancellationReason,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.jobName,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listCredentialsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/listCredentials\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.UnencryptedCredentialsList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.jobName,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobResourceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobResourceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { DataBoxManagementClient } from "../dataBoxManagementClient.js";
4
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: DataBoxManagementClient);
13
+ /**
14
+ * This method gets all the operations.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * This method gets all the operations.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ /**
26
+ * ListNext
27
+ * @param nextLink The nextLink from the previous successful call to the List method.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listNext;
31
+ }
32
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,133 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ /// <reference lib="esnext.asynciterable" />
14
+ /** Class containing Operations operations. */
15
+ export class OperationsImpl {
16
+ /**
17
+ * Initialize a new instance of the class Operations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * This method gets all the operations.
25
+ * @param options The options parameters.
26
+ */
27
+ list(options) {
28
+ const iter = this.listPagingAll(options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: (settings) => {
37
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
38
+ throw new Error("maxPageSize is not supported by this operation.");
39
+ }
40
+ return this.listPagingPage(options, settings);
41
+ }
42
+ };
43
+ }
44
+ listPagingPage(options, settings) {
45
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
+ let result;
47
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
48
+ if (!continuationToken) {
49
+ result = yield __await(this._list(options));
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield yield __await(page);
54
+ }
55
+ while (continuationToken) {
56
+ result = yield __await(this._listNext(continuationToken, options));
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield yield __await(page);
61
+ }
62
+ });
63
+ }
64
+ listPagingAll(options) {
65
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
66
+ var _a, e_1, _b, _c;
67
+ try {
68
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
69
+ _c = _f.value;
70
+ _d = false;
71
+ const page = _c;
72
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
+ }
74
+ }
75
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
+ finally {
77
+ try {
78
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
79
+ }
80
+ finally { if (e_1) throw e_1.error; }
81
+ }
82
+ });
83
+ }
84
+ /**
85
+ * This method gets all the operations.
86
+ * @param options The options parameters.
87
+ */
88
+ _list(options) {
89
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
90
+ }
91
+ /**
92
+ * ListNext
93
+ * @param nextLink The nextLink from the previous successful call to the List method.
94
+ * @param options The options parameters.
95
+ */
96
+ _listNext(nextLink, options) {
97
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
98
+ }
99
+ }
100
+ // Operation Specifications
101
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
102
+ const listOperationSpec = {
103
+ path: "/providers/Microsoft.DataBox/operations",
104
+ httpMethod: "GET",
105
+ responses: {
106
+ 200: {
107
+ bodyMapper: Mappers.OperationList
108
+ },
109
+ default: {
110
+ bodyMapper: Mappers.ApiError
111
+ }
112
+ },
113
+ queryParameters: [Parameters.apiVersion],
114
+ urlParameters: [Parameters.$host],
115
+ headerParameters: [Parameters.accept],
116
+ serializer
117
+ };
118
+ const listNextOperationSpec = {
119
+ path: "{nextLink}",
120
+ httpMethod: "GET",
121
+ responses: {
122
+ 200: {
123
+ bodyMapper: Mappers.OperationList
124
+ },
125
+ default: {
126
+ bodyMapper: Mappers.ApiError
127
+ }
128
+ },
129
+ urlParameters: [Parameters.$host, Parameters.nextLink],
130
+ headerParameters: [Parameters.accept],
131
+ serializer
132
+ };
133
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;I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,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACK,SAAS,CACf,QAAgB,EAChB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,yCAAyC;IAC/C,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataBoxManagementClient } from \"../dataBoxManagementClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: DataBoxManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: DataBoxManagementClient) {\n this.client = client;\n }\n\n /**\n * This method gets all the operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * This method gets all the operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.DataBox/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,83 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Service } from "../operationsInterfaces/index.js";
3
+ import { DataBoxManagementClient } from "../dataBoxManagementClient.js";
4
+ import { SkuInformation, AvailableSkuRequest, ServiceListAvailableSkusByResourceGroupOptionalParams, ValidateAddress, ServiceValidateAddressOptionalParams, ServiceValidateAddressResponse, ValidationRequestUnion, ServiceValidateInputsByResourceGroupOptionalParams, ServiceValidateInputsByResourceGroupResponse, ServiceValidateInputsOptionalParams, ServiceValidateInputsResponse, RegionConfigurationRequest, ServiceRegionConfigurationOptionalParams, ServiceRegionConfigurationResponse, ServiceRegionConfigurationByResourceGroupOptionalParams, ServiceRegionConfigurationByResourceGroupResponse } from "../models/index.js";
5
+ /** Class containing Service operations. */
6
+ export declare class ServiceImpl implements Service {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Service class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: DataBoxManagementClient);
13
+ /**
14
+ * This method provides the list of available skus for the given subscription, resource group and
15
+ * location.
16
+ * @param resourceGroupName The Resource Group Name
17
+ * @param location The location of the resource
18
+ * @param availableSkuRequest Filters for showing the available skus.
19
+ * @param options The options parameters.
20
+ */
21
+ listAvailableSkusByResourceGroup(resourceGroupName: string, location: string, availableSkuRequest: AvailableSkuRequest, options?: ServiceListAvailableSkusByResourceGroupOptionalParams): PagedAsyncIterableIterator<SkuInformation>;
22
+ private listAvailableSkusByResourceGroupPagingPage;
23
+ private listAvailableSkusByResourceGroupPagingAll;
24
+ /**
25
+ * This method provides the list of available skus for the given subscription, resource group and
26
+ * location.
27
+ * @param resourceGroupName The Resource Group Name
28
+ * @param location The location of the resource
29
+ * @param availableSkuRequest Filters for showing the available skus.
30
+ * @param options The options parameters.
31
+ */
32
+ private _listAvailableSkusByResourceGroup;
33
+ /**
34
+ * [DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer
35
+ * shipping address and provide alternate addresses if any.
36
+ * @param location The location of the resource
37
+ * @param validateAddress Shipping address of the customer.
38
+ * @param options The options parameters.
39
+ */
40
+ validateAddress(location: string, validateAddress: ValidateAddress, options?: ServiceValidateAddressOptionalParams): Promise<ServiceValidateAddressResponse>;
41
+ /**
42
+ * This method does all necessary pre-job creation validation under resource group.
43
+ * @param resourceGroupName The Resource Group Name
44
+ * @param location The location of the resource
45
+ * @param validationRequest Inputs of the customer.
46
+ * @param options The options parameters.
47
+ */
48
+ validateInputsByResourceGroup(resourceGroupName: string, location: string, validationRequest: ValidationRequestUnion, options?: ServiceValidateInputsByResourceGroupOptionalParams): Promise<ServiceValidateInputsByResourceGroupResponse>;
49
+ /**
50
+ * This method does all necessary pre-job creation validation under subscription.
51
+ * @param location The location of the resource
52
+ * @param validationRequest Inputs of the customer.
53
+ * @param options The options parameters.
54
+ */
55
+ validateInputs(location: string, validationRequest: ValidationRequestUnion, options?: ServiceValidateInputsOptionalParams): Promise<ServiceValidateInputsResponse>;
56
+ /**
57
+ * This API provides configuration details specific to given region/location at Subscription level.
58
+ * @param location The location of the resource
59
+ * @param regionConfigurationRequest Request body to get the configuration for the region.
60
+ * @param options The options parameters.
61
+ */
62
+ regionConfiguration(location: string, regionConfigurationRequest: RegionConfigurationRequest, options?: ServiceRegionConfigurationOptionalParams): Promise<ServiceRegionConfigurationResponse>;
63
+ /**
64
+ * This API provides configuration details specific to given region/location at Resource group level.
65
+ * @param resourceGroupName The Resource Group Name
66
+ * @param location The location of the resource
67
+ * @param regionConfigurationRequest Request body to get the configuration for the region at resource
68
+ * group level.
69
+ * @param options The options parameters.
70
+ */
71
+ regionConfigurationByResourceGroup(resourceGroupName: string, location: string, regionConfigurationRequest: RegionConfigurationRequest, options?: ServiceRegionConfigurationByResourceGroupOptionalParams): Promise<ServiceRegionConfigurationByResourceGroupResponse>;
72
+ /**
73
+ * ListAvailableSkusByResourceGroupNext
74
+ * @param resourceGroupName The Resource Group Name
75
+ * @param location The location of the resource
76
+ * @param availableSkuRequest Filters for showing the available skus.
77
+ * @param nextLink The nextLink from the previous successful call to the
78
+ * ListAvailableSkusByResourceGroup method.
79
+ * @param options The options parameters.
80
+ */
81
+ private _listAvailableSkusByResourceGroupNext;
82
+ }
83
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/operations/service.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAI3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,cAAc,EACd,mBAAmB,EAEnB,qDAAqD,EAErD,eAAe,EACf,oCAAoC,EACpC,8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