@azure/arm-databox 5.0.1-alpha.20241227.1 → 5.0.1-alpha.20241231.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 +59 -29
  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,320 @@
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 Service operations. */
15
+ export class ServiceImpl {
16
+ /**
17
+ * Initialize a new instance of the class Service class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * This method provides the list of available skus for the given subscription, resource group and
25
+ * location.
26
+ * @param resourceGroupName The Resource Group Name
27
+ * @param location The location of the resource
28
+ * @param availableSkuRequest Filters for showing the available skus.
29
+ * @param options The options parameters.
30
+ */
31
+ listAvailableSkusByResourceGroup(resourceGroupName, location, availableSkuRequest, options) {
32
+ const iter = this.listAvailableSkusByResourceGroupPagingAll(resourceGroupName, location, availableSkuRequest, options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: (settings) => {
41
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
42
+ throw new Error("maxPageSize is not supported by this operation.");
43
+ }
44
+ return this.listAvailableSkusByResourceGroupPagingPage(resourceGroupName, location, availableSkuRequest, options, settings);
45
+ }
46
+ };
47
+ }
48
+ listAvailableSkusByResourceGroupPagingPage(resourceGroupName, location, availableSkuRequest, options, settings) {
49
+ return __asyncGenerator(this, arguments, function* listAvailableSkusByResourceGroupPagingPage_1() {
50
+ let result;
51
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
+ if (!continuationToken) {
53
+ result = yield __await(this._listAvailableSkusByResourceGroup(resourceGroupName, location, availableSkuRequest, options));
54
+ let page = result.value || [];
55
+ continuationToken = result.nextLink;
56
+ setContinuationToken(page, continuationToken);
57
+ yield yield __await(page);
58
+ }
59
+ while (continuationToken) {
60
+ result = yield __await(this._listAvailableSkusByResourceGroupNext(resourceGroupName, location, availableSkuRequest, continuationToken, options));
61
+ continuationToken = result.nextLink;
62
+ let page = result.value || [];
63
+ setContinuationToken(page, continuationToken);
64
+ yield yield __await(page);
65
+ }
66
+ });
67
+ }
68
+ listAvailableSkusByResourceGroupPagingAll(resourceGroupName, location, availableSkuRequest, options) {
69
+ return __asyncGenerator(this, arguments, function* listAvailableSkusByResourceGroupPagingAll_1() {
70
+ var _a, e_1, _b, _c;
71
+ try {
72
+ for (var _d = true, _e = __asyncValues(this.listAvailableSkusByResourceGroupPagingPage(resourceGroupName, location, availableSkuRequest, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
73
+ _c = _f.value;
74
+ _d = false;
75
+ const page = _c;
76
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
+ }
78
+ }
79
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
+ finally {
81
+ try {
82
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
83
+ }
84
+ finally { if (e_1) throw e_1.error; }
85
+ }
86
+ });
87
+ }
88
+ /**
89
+ * This method provides the list of available skus for the given subscription, resource group and
90
+ * location.
91
+ * @param resourceGroupName The Resource Group Name
92
+ * @param location The location of the resource
93
+ * @param availableSkuRequest Filters for showing the available skus.
94
+ * @param options The options parameters.
95
+ */
96
+ _listAvailableSkusByResourceGroup(resourceGroupName, location, availableSkuRequest, options) {
97
+ return this.client.sendOperationRequest({ resourceGroupName, location, availableSkuRequest, options }, listAvailableSkusByResourceGroupOperationSpec);
98
+ }
99
+ /**
100
+ * [DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer
101
+ * shipping address and provide alternate addresses if any.
102
+ * @param location The location of the resource
103
+ * @param validateAddress Shipping address of the customer.
104
+ * @param options The options parameters.
105
+ */
106
+ validateAddress(location, validateAddress, options) {
107
+ return this.client.sendOperationRequest({ location, validateAddress, options }, validateAddressOperationSpec);
108
+ }
109
+ /**
110
+ * This method does all necessary pre-job creation validation under resource group.
111
+ * @param resourceGroupName The Resource Group Name
112
+ * @param location The location of the resource
113
+ * @param validationRequest Inputs of the customer.
114
+ * @param options The options parameters.
115
+ */
116
+ validateInputsByResourceGroup(resourceGroupName, location, validationRequest, options) {
117
+ return this.client.sendOperationRequest({ resourceGroupName, location, validationRequest, options }, validateInputsByResourceGroupOperationSpec);
118
+ }
119
+ /**
120
+ * This method does all necessary pre-job creation validation under subscription.
121
+ * @param location The location of the resource
122
+ * @param validationRequest Inputs of the customer.
123
+ * @param options The options parameters.
124
+ */
125
+ validateInputs(location, validationRequest, options) {
126
+ return this.client.sendOperationRequest({ location, validationRequest, options }, validateInputsOperationSpec);
127
+ }
128
+ /**
129
+ * This API provides configuration details specific to given region/location at Subscription level.
130
+ * @param location The location of the resource
131
+ * @param regionConfigurationRequest Request body to get the configuration for the region.
132
+ * @param options The options parameters.
133
+ */
134
+ regionConfiguration(location, regionConfigurationRequest, options) {
135
+ return this.client.sendOperationRequest({ location, regionConfigurationRequest, options }, regionConfigurationOperationSpec);
136
+ }
137
+ /**
138
+ * This API provides configuration details specific to given region/location at Resource group level.
139
+ * @param resourceGroupName The Resource Group Name
140
+ * @param location The location of the resource
141
+ * @param regionConfigurationRequest Request body to get the configuration for the region at resource
142
+ * group level.
143
+ * @param options The options parameters.
144
+ */
145
+ regionConfigurationByResourceGroup(resourceGroupName, location, regionConfigurationRequest, options) {
146
+ return this.client.sendOperationRequest({ resourceGroupName, location, regionConfigurationRequest, options }, regionConfigurationByResourceGroupOperationSpec);
147
+ }
148
+ /**
149
+ * ListAvailableSkusByResourceGroupNext
150
+ * @param resourceGroupName The Resource Group Name
151
+ * @param location The location of the resource
152
+ * @param availableSkuRequest Filters for showing the available skus.
153
+ * @param nextLink The nextLink from the previous successful call to the
154
+ * ListAvailableSkusByResourceGroup method.
155
+ * @param options The options parameters.
156
+ */
157
+ _listAvailableSkusByResourceGroupNext(resourceGroupName, location, availableSkuRequest, nextLink, options) {
158
+ return this.client.sendOperationRequest({ resourceGroupName, location, availableSkuRequest, nextLink, options }, listAvailableSkusByResourceGroupNextOperationSpec);
159
+ }
160
+ }
161
+ // Operation Specifications
162
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
163
+ const listAvailableSkusByResourceGroupOperationSpec = {
164
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/availableSkus",
165
+ httpMethod: "POST",
166
+ responses: {
167
+ 200: {
168
+ bodyMapper: Mappers.AvailableSkusResult
169
+ },
170
+ default: {
171
+ bodyMapper: Mappers.ApiError
172
+ }
173
+ },
174
+ requestBody: Parameters.availableSkuRequest,
175
+ queryParameters: [Parameters.apiVersion],
176
+ urlParameters: [
177
+ Parameters.$host,
178
+ Parameters.subscriptionId,
179
+ Parameters.resourceGroupName,
180
+ Parameters.location
181
+ ],
182
+ headerParameters: [Parameters.accept, Parameters.contentType],
183
+ mediaType: "json",
184
+ serializer
185
+ };
186
+ const validateAddressOperationSpec = {
187
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress",
188
+ httpMethod: "POST",
189
+ responses: {
190
+ 200: {
191
+ bodyMapper: Mappers.AddressValidationOutput
192
+ },
193
+ default: {
194
+ bodyMapper: Mappers.ApiError
195
+ }
196
+ },
197
+ requestBody: Parameters.validateAddress,
198
+ queryParameters: [Parameters.apiVersion],
199
+ urlParameters: [
200
+ Parameters.$host,
201
+ Parameters.subscriptionId,
202
+ Parameters.location
203
+ ],
204
+ headerParameters: [Parameters.accept, Parameters.contentType],
205
+ mediaType: "json",
206
+ serializer
207
+ };
208
+ const validateInputsByResourceGroupOperationSpec = {
209
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/validateInputs",
210
+ httpMethod: "POST",
211
+ responses: {
212
+ 200: {
213
+ bodyMapper: Mappers.ValidationResponse
214
+ },
215
+ default: {
216
+ bodyMapper: Mappers.ApiError
217
+ }
218
+ },
219
+ requestBody: Parameters.validationRequest,
220
+ queryParameters: [Parameters.apiVersion],
221
+ urlParameters: [
222
+ Parameters.$host,
223
+ Parameters.subscriptionId,
224
+ Parameters.resourceGroupName,
225
+ Parameters.location
226
+ ],
227
+ headerParameters: [Parameters.accept, Parameters.contentType],
228
+ mediaType: "json",
229
+ serializer
230
+ };
231
+ const validateInputsOperationSpec = {
232
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs",
233
+ httpMethod: "POST",
234
+ responses: {
235
+ 200: {
236
+ bodyMapper: Mappers.ValidationResponse
237
+ },
238
+ default: {
239
+ bodyMapper: Mappers.ApiError
240
+ }
241
+ },
242
+ requestBody: Parameters.validationRequest,
243
+ queryParameters: [Parameters.apiVersion],
244
+ urlParameters: [
245
+ Parameters.$host,
246
+ Parameters.subscriptionId,
247
+ Parameters.location
248
+ ],
249
+ headerParameters: [Parameters.accept, Parameters.contentType],
250
+ mediaType: "json",
251
+ serializer
252
+ };
253
+ const regionConfigurationOperationSpec = {
254
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration",
255
+ httpMethod: "POST",
256
+ responses: {
257
+ 200: {
258
+ bodyMapper: Mappers.RegionConfigurationResponse
259
+ },
260
+ default: {
261
+ bodyMapper: Mappers.ApiError
262
+ }
263
+ },
264
+ requestBody: Parameters.regionConfigurationRequest,
265
+ queryParameters: [Parameters.apiVersion],
266
+ urlParameters: [
267
+ Parameters.$host,
268
+ Parameters.subscriptionId,
269
+ Parameters.location
270
+ ],
271
+ headerParameters: [Parameters.accept, Parameters.contentType],
272
+ mediaType: "json",
273
+ serializer
274
+ };
275
+ const regionConfigurationByResourceGroupOperationSpec = {
276
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration",
277
+ httpMethod: "POST",
278
+ responses: {
279
+ 200: {
280
+ bodyMapper: Mappers.RegionConfigurationResponse
281
+ },
282
+ default: {
283
+ bodyMapper: Mappers.ApiError
284
+ }
285
+ },
286
+ requestBody: Parameters.regionConfigurationRequest,
287
+ queryParameters: [Parameters.apiVersion],
288
+ urlParameters: [
289
+ Parameters.$host,
290
+ Parameters.subscriptionId,
291
+ Parameters.resourceGroupName,
292
+ Parameters.location
293
+ ],
294
+ headerParameters: [Parameters.accept, Parameters.contentType],
295
+ mediaType: "json",
296
+ serializer
297
+ };
298
+ const listAvailableSkusByResourceGroupNextOperationSpec = {
299
+ path: "{nextLink}",
300
+ httpMethod: "GET",
301
+ responses: {
302
+ 200: {
303
+ bodyMapper: Mappers.AvailableSkusResult
304
+ },
305
+ default: {
306
+ bodyMapper: Mappers.ApiError
307
+ }
308
+ },
309
+ urlParameters: [
310
+ Parameters.$host,
311
+ Parameters.nextLink,
312
+ Parameters.subscriptionId,
313
+ Parameters.resourceGroupName,
314
+ Parameters.location
315
+ ],
316
+ headerParameters: [Parameters.accept, Parameters.contentType],
317
+ mediaType: "json",
318
+ serializer
319
+ };
320
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/operations/service.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;AAwBtD,4CAA4C;AAC5C,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IAGtB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,gCAAgC,CACrC,iBAAyB,EACzB,QAAgB,EAChB,mBAAwC,EACxC,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,yCAAyC,CACzD,iBAAiB,EACjB,QAAQ,EACR,mBAAmB,EACnB,OAAO,CACR,CAAC;QACF,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,0CAA0C,CACpD,iBAAiB,EACjB,QAAQ,EACR,mBAAmB,EACnB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,0CAA0C,CACvD,iBAAyB,EACzB,QAAgB,EAChB,mBAAwC,EACxC,O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MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,iDAAiD,GAA6B;IAClF,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;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;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { Service } 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 SkuInformation,\n AvailableSkuRequest,\n ServiceListAvailableSkusByResourceGroupNextOptionalParams,\n ServiceListAvailableSkusByResourceGroupOptionalParams,\n ServiceListAvailableSkusByResourceGroupResponse,\n ValidateAddress,\n ServiceValidateAddressOptionalParams,\n ServiceValidateAddressResponse,\n ValidationRequestUnion,\n ServiceValidateInputsByResourceGroupOptionalParams,\n ServiceValidateInputsByResourceGroupResponse,\n ServiceValidateInputsOptionalParams,\n ServiceValidateInputsResponse,\n RegionConfigurationRequest,\n ServiceRegionConfigurationOptionalParams,\n ServiceRegionConfigurationResponse,\n ServiceRegionConfigurationByResourceGroupOptionalParams,\n ServiceRegionConfigurationByResourceGroupResponse,\n ServiceListAvailableSkusByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Service operations. */\nexport class ServiceImpl implements Service {\n private readonly client: DataBoxManagementClient;\n\n /**\n * Initialize a new instance of the class Service class.\n * @param client Reference to the service client\n */\n constructor(client: DataBoxManagementClient) {\n this.client = client;\n }\n\n /**\n * This method provides the list of available skus for the given subscription, resource group and\n * location.\n * @param resourceGroupName The Resource Group Name\n * @param location The location of the resource\n * @param availableSkuRequest Filters for showing the available skus.\n * @param options The options parameters.\n */\n public listAvailableSkusByResourceGroup(\n resourceGroupName: string,\n location: string,\n availableSkuRequest: AvailableSkuRequest,\n options?: ServiceListAvailableSkusByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<SkuInformation> {\n const iter = this.listAvailableSkusByResourceGroupPagingAll(\n resourceGroupName,\n location,\n availableSkuRequest,\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.listAvailableSkusByResourceGroupPagingPage(\n resourceGroupName,\n location,\n availableSkuRequest,\n options,\n settings\n );\n }\n };\n }\n\n private async *listAvailableSkusByResourceGroupPagingPage(\n resourceGroupName: string,\n location: string,\n availableSkuRequest: AvailableSkuRequest,\n options?: ServiceListAvailableSkusByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<SkuInformation[]> {\n let result: ServiceListAvailableSkusByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAvailableSkusByResourceGroup(\n resourceGroupName,\n location,\n availableSkuRequest,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAvailableSkusByResourceGroupNext(\n resourceGroupName,\n location,\n availableSkuRequest,\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 *listAvailableSkusByResourceGroupPagingAll(\n resourceGroupName: string,\n location: string,\n availableSkuRequest: AvailableSkuRequest,\n options?: ServiceListAvailableSkusByResourceGroupOptionalParams\n ): AsyncIterableIterator<SkuInformation> {\n for await (const page of this.listAvailableSkusByResourceGroupPagingPage(\n resourceGroupName,\n location,\n availableSkuRequest,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * This method provides the list of available skus for the given subscription, resource group and\n * location.\n * @param resourceGroupName The Resource Group Name\n * @param location The location of the resource\n * @param availableSkuRequest Filters for showing the available skus.\n * @param options The options parameters.\n */\n private _listAvailableSkusByResourceGroup(\n resourceGroupName: string,\n location: string,\n availableSkuRequest: AvailableSkuRequest,\n options?: ServiceListAvailableSkusByResourceGroupOptionalParams\n ): Promise<ServiceListAvailableSkusByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, location, availableSkuRequest, options },\n listAvailableSkusByResourceGroupOperationSpec\n );\n }\n\n /**\n * [DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer\n * shipping address and provide alternate addresses if any.\n * @param location The location of the resource\n * @param validateAddress Shipping address of the customer.\n * @param options The options parameters.\n */\n validateAddress(\n location: string,\n validateAddress: ValidateAddress,\n options?: ServiceValidateAddressOptionalParams\n ): Promise<ServiceValidateAddressResponse> {\n return this.client.sendOperationRequest(\n { location, validateAddress, options },\n validateAddressOperationSpec\n );\n }\n\n /**\n * This method does all necessary pre-job creation validation under resource group.\n * @param resourceGroupName The Resource Group Name\n * @param location The location of the resource\n * @param validationRequest Inputs of the customer.\n * @param options The options parameters.\n */\n validateInputsByResourceGroup(\n resourceGroupName: string,\n location: string,\n validationRequest: ValidationRequestUnion,\n options?: ServiceValidateInputsByResourceGroupOptionalParams\n ): Promise<ServiceValidateInputsByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, location, validationRequest, options },\n validateInputsByResourceGroupOperationSpec\n );\n }\n\n /**\n * This method does all necessary pre-job creation validation under subscription.\n * @param location The location of the resource\n * @param validationRequest Inputs of the customer.\n * @param options The options parameters.\n */\n validateInputs(\n location: string,\n validationRequest: ValidationRequestUnion,\n options?: ServiceValidateInputsOptionalParams\n ): Promise<ServiceValidateInputsResponse> {\n return this.client.sendOperationRequest(\n { location, validationRequest, options },\n validateInputsOperationSpec\n );\n }\n\n /**\n * This API provides configuration details specific to given region/location at Subscription level.\n * @param location The location of the resource\n * @param regionConfigurationRequest Request body to get the configuration for the region.\n * @param options The options parameters.\n */\n regionConfiguration(\n location: string,\n regionConfigurationRequest: RegionConfigurationRequest,\n options?: ServiceRegionConfigurationOptionalParams\n ): Promise<ServiceRegionConfigurationResponse> {\n return this.client.sendOperationRequest(\n { location, regionConfigurationRequest, options },\n regionConfigurationOperationSpec\n );\n }\n\n /**\n * This API provides configuration details specific to given region/location at Resource group level.\n * @param resourceGroupName The Resource Group Name\n * @param location The location of the resource\n * @param regionConfigurationRequest Request body to get the configuration for the region at resource\n * group level.\n * @param options The options parameters.\n */\n regionConfigurationByResourceGroup(\n resourceGroupName: string,\n location: string,\n regionConfigurationRequest: RegionConfigurationRequest,\n options?: ServiceRegionConfigurationByResourceGroupOptionalParams\n ): Promise<ServiceRegionConfigurationByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, location, regionConfigurationRequest, options },\n regionConfigurationByResourceGroupOperationSpec\n );\n }\n\n /**\n * ListAvailableSkusByResourceGroupNext\n * @param resourceGroupName The Resource Group Name\n * @param location The location of the resource\n * @param availableSkuRequest Filters for showing the available skus.\n * @param nextLink The nextLink from the previous successful call to the\n * ListAvailableSkusByResourceGroup method.\n * @param options The options parameters.\n */\n private _listAvailableSkusByResourceGroupNext(\n resourceGroupName: string,\n location: string,\n availableSkuRequest: AvailableSkuRequest,\n nextLink: string,\n options?: ServiceListAvailableSkusByResourceGroupNextOptionalParams\n ): Promise<ServiceListAvailableSkusByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, location, availableSkuRequest, nextLink, options },\n listAvailableSkusByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listAvailableSkusByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/availableSkus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailableSkusResult\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.availableSkuRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst validateAddressOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AddressValidationOutput\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.validateAddress,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst validateInputsByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/validateInputs\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ValidationResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.validationRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst validateInputsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ValidationResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.validationRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst regionConfigurationOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegionConfigurationResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.regionConfigurationRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst regionConfigurationByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegionConfigurationResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.regionConfigurationRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listAvailableSkusByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailableSkusResult\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -0,0 +1,4 @@
1
+ export * from "./operations.js";
2
+ export * from "./jobs.js";
3
+ export * from "./service.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./operations.js";
9
+ export * from "./jobs.js";
10
+ export * from "./service.js";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,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\nexport * from \"./operations.js\";\nexport * from \"./jobs.js\";\nexport * from \"./service.js\";\n"]}
@@ -0,0 +1,115 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { JobResource, JobsListOptionalParams, JobsListByResourceGroupOptionalParams, UnencryptedCredentials, JobsListCredentialsOptionalParams, MarkDevicesShippedRequest, JobsMarkDevicesShippedOptionalParams, JobsGetOptionalParams, JobsGetResponse, JobsCreateOptionalParams, JobsCreateResponse, JobsDeleteOptionalParams, JobResourceUpdateParameter, JobsUpdateOptionalParams, JobsUpdateResponse, ShipmentPickUpRequest, JobsBookShipmentPickUpOptionalParams, JobsBookShipmentPickUpResponse, CancellationReason, JobsCancelOptionalParams } from "../models/index.js";
4
+ /** Interface representing a Jobs. */
5
+ export interface Jobs {
6
+ /**
7
+ * Lists all the jobs available under the subscription.
8
+ * @param options The options parameters.
9
+ */
10
+ list(options?: JobsListOptionalParams): PagedAsyncIterableIterator<JobResource>;
11
+ /**
12
+ * Lists all the jobs available under the given resource group.
13
+ * @param resourceGroupName The Resource Group Name
14
+ * @param options The options parameters.
15
+ */
16
+ listByResourceGroup(resourceGroupName: string, options?: JobsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<JobResource>;
17
+ /**
18
+ * This method gets the unencrypted secrets related to the job.
19
+ * @param resourceGroupName The Resource Group Name
20
+ * @param jobName The name of the job Resource within the specified resource group. job names must be
21
+ * between 3 and 24 characters in length and use any alphanumeric and underscore only
22
+ * @param options The options parameters.
23
+ */
24
+ listCredentials(resourceGroupName: string, jobName: string, options?: JobsListCredentialsOptionalParams): PagedAsyncIterableIterator<UnencryptedCredentials>;
25
+ /**
26
+ * Request to mark devices for a given job as shipped
27
+ * @param jobName The name of the job Resource within the specified resource group. job names must be
28
+ * between 3 and 24 characters in length and use any alphanumeric and underscore only
29
+ * @param resourceGroupName The Resource Group Name
30
+ * @param markDevicesShippedRequest Mark Devices Shipped Request
31
+ * @param options The options parameters.
32
+ */
33
+ markDevicesShipped(jobName: string, resourceGroupName: string, markDevicesShippedRequest: MarkDevicesShippedRequest, options?: JobsMarkDevicesShippedOptionalParams): Promise<void>;
34
+ /**
35
+ * Gets information about the specified job.
36
+ * @param resourceGroupName The Resource Group Name
37
+ * @param jobName The name of the job Resource within the specified resource group. job names must be
38
+ * between 3 and 24 characters in length and use any alphanumeric and underscore only
39
+ * @param options The options parameters.
40
+ */
41
+ get(resourceGroupName: string, jobName: string, options?: JobsGetOptionalParams): Promise<JobsGetResponse>;
42
+ /**
43
+ * Creates a new job with the specified parameters. Existing job cannot be updated with this API and
44
+ * should instead be updated with the Update job API.
45
+ * @param resourceGroupName The Resource Group Name
46
+ * @param jobName The name of the job Resource within the specified resource group. job names must be
47
+ * between 3 and 24 characters in length and use any alphanumeric and underscore only
48
+ * @param jobResource Job details from request body.
49
+ * @param options The options parameters.
50
+ */
51
+ beginCreate(resourceGroupName: string, jobName: string, jobResource: JobResource, options?: JobsCreateOptionalParams): Promise<SimplePollerLike<OperationState<JobsCreateResponse>, JobsCreateResponse>>;
52
+ /**
53
+ * Creates a new job with the specified parameters. Existing job cannot be updated with this API and
54
+ * should instead be updated with the Update job API.
55
+ * @param resourceGroupName The Resource Group Name
56
+ * @param jobName The name of the job Resource within the specified resource group. job names must be
57
+ * between 3 and 24 characters in length and use any alphanumeric and underscore only
58
+ * @param jobResource Job details from request body.
59
+ * @param options The options parameters.
60
+ */
61
+ beginCreateAndWait(resourceGroupName: string, jobName: string, jobResource: JobResource, options?: JobsCreateOptionalParams): Promise<JobsCreateResponse>;
62
+ /**
63
+ * Deletes a job.
64
+ * @param resourceGroupName The Resource Group Name
65
+ * @param jobName The name of the job Resource within the specified resource group. job names must be
66
+ * between 3 and 24 characters in length and use any alphanumeric and underscore only
67
+ * @param options The options parameters.
68
+ */
69
+ beginDelete(resourceGroupName: string, jobName: string, options?: JobsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
70
+ /**
71
+ * Deletes a job.
72
+ * @param resourceGroupName The Resource Group Name
73
+ * @param jobName The name of the job Resource within the specified resource group. job names must be
74
+ * between 3 and 24 characters in length and use any alphanumeric and underscore only
75
+ * @param options The options parameters.
76
+ */
77
+ beginDeleteAndWait(resourceGroupName: string, jobName: string, options?: JobsDeleteOptionalParams): Promise<void>;
78
+ /**
79
+ * Updates the properties of an existing job.
80
+ * @param resourceGroupName The Resource Group Name
81
+ * @param jobName The name of the job Resource within the specified resource group. job names must be
82
+ * between 3 and 24 characters in length and use any alphanumeric and underscore only
83
+ * @param jobResourceUpdateParameter Job update parameters from request body.
84
+ * @param options The options parameters.
85
+ */
86
+ beginUpdate(resourceGroupName: string, jobName: string, jobResourceUpdateParameter: JobResourceUpdateParameter, options?: JobsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<JobsUpdateResponse>, JobsUpdateResponse>>;
87
+ /**
88
+ * Updates the properties of an existing job.
89
+ * @param resourceGroupName The Resource Group Name
90
+ * @param jobName The name of the job Resource within the specified resource group. job names must be
91
+ * between 3 and 24 characters in length and use any alphanumeric and underscore only
92
+ * @param jobResourceUpdateParameter Job update parameters from request body.
93
+ * @param options The options parameters.
94
+ */
95
+ beginUpdateAndWait(resourceGroupName: string, jobName: string, jobResourceUpdateParameter: JobResourceUpdateParameter, options?: JobsUpdateOptionalParams): Promise<JobsUpdateResponse>;
96
+ /**
97
+ * Book shipment pick up.
98
+ * @param resourceGroupName The Resource Group Name
99
+ * @param jobName The name of the job Resource within the specified resource group. job names must be
100
+ * between 3 and 24 characters in length and use any alphanumeric and underscore only
101
+ * @param shipmentPickUpRequest Details of shipment pick up request.
102
+ * @param options The options parameters.
103
+ */
104
+ bookShipmentPickUp(resourceGroupName: string, jobName: string, shipmentPickUpRequest: ShipmentPickUpRequest, options?: JobsBookShipmentPickUpOptionalParams): Promise<JobsBookShipmentPickUpResponse>;
105
+ /**
106
+ * CancelJob.
107
+ * @param resourceGroupName The Resource Group Name
108
+ * @param jobName The name of the job Resource within the specified resource group. job names must be
109
+ * between 3 and 24 characters in length and use any alphanumeric and underscore only
110
+ * @param cancellationReason Reason for cancellation.
111
+ * @param options The options parameters.
112
+ */
113
+ cancel(resourceGroupName: string, jobName: string, cancellationReason: CancellationReason, options?: JobsCancelOptionalParams): Promise<void>;
114
+ }
115
+ //# sourceMappingURL=jobs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jobs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/jobs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,qCAAqC,EACrC,sBAAsB,EACtB,iCAAiC,EACjC,yBAAyB,EACzB,oCAAoC,EACpC,qBAAqB,EACrB,eAAe,EACf,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,oCAAoC,EACpC,8BAA8B,EAC9B,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAG5B,qCAAqC;AACrC,MAAM,WAAW,IAAI;IACnB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;;;OAMG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,sBAAsB,CAAC,CAAC;IACtD;;;;;;;OAOG;IACH,kBAAkB,CAChB,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,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IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,0BAA0B,EAAE,0BAA0B,EACtD,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC/B;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,qBAAqB,EAAE,qBAAqB,EAC5C,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=jobs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/jobs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n JobResource,\n JobsListOptionalParams,\n JobsListByResourceGroupOptionalParams,\n UnencryptedCredentials,\n JobsListCredentialsOptionalParams,\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} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Jobs. */\nexport interface Jobs {\n /**\n * Lists all the jobs available under the subscription.\n * @param options The options parameters.\n */\n list(\n options?: JobsListOptionalParams\n ): PagedAsyncIterableIterator<JobResource>;\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 listByResourceGroup(\n resourceGroupName: string,\n options?: JobsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<JobResource>;\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 listCredentials(\n resourceGroupName: string,\n jobName: string,\n options?: JobsListCredentialsOptionalParams\n ): PagedAsyncIterableIterator<UnencryptedCredentials>;\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 /**\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 /**\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 beginCreate(\n resourceGroupName: string,\n jobName: string,\n jobResource: JobResource,\n options?: JobsCreateOptionalParams\n ): Promise<\n SimplePollerLike<OperationState<JobsCreateResponse>, JobsCreateResponse>\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 beginCreateAndWait(\n resourceGroupName: string,\n jobName: string,\n jobResource: JobResource,\n options?: JobsCreateOptionalParams\n ): Promise<JobsCreateResponse>;\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 beginDelete(\n resourceGroupName: string,\n jobName: string,\n options?: JobsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\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 beginDeleteAndWait(\n resourceGroupName: string,\n jobName: string,\n options?: JobsDeleteOptionalParams\n ): Promise<void>;\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 beginUpdate(\n resourceGroupName: string,\n jobName: string,\n jobResourceUpdateParameter: JobResourceUpdateParameter,\n options?: JobsUpdateOptionalParams\n ): Promise<\n SimplePollerLike<OperationState<JobsUpdateResponse>, JobsUpdateResponse>\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 beginUpdateAndWait(\n resourceGroupName: string,\n jobName: string,\n jobResourceUpdateParameter: JobResourceUpdateParameter,\n options?: JobsUpdateOptionalParams\n ): Promise<JobsUpdateResponse>;\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 /**\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}\n"]}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
3
+ /** Interface representing a Operations. */
4
+ export interface Operations {
5
+ /**
6
+ * This method gets all the operations.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
10
+ }
11
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * This method gets all the operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -0,0 +1,54 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SkuInformation, AvailableSkuRequest, ServiceListAvailableSkusByResourceGroupOptionalParams, ValidateAddress, ServiceValidateAddressOptionalParams, ServiceValidateAddressResponse, ValidationRequestUnion, ServiceValidateInputsByResourceGroupOptionalParams, ServiceValidateInputsByResourceGroupResponse, ServiceValidateInputsOptionalParams, ServiceValidateInputsResponse, RegionConfigurationRequest, ServiceRegionConfigurationOptionalParams, ServiceRegionConfigurationResponse, ServiceRegionConfigurationByResourceGroupOptionalParams, ServiceRegionConfigurationByResourceGroupResponse } from "../models/index.js";
3
+ /** Interface representing a Service. */
4
+ export interface Service {
5
+ /**
6
+ * This method provides the list of available skus for the given subscription, resource group and
7
+ * location.
8
+ * @param resourceGroupName The Resource Group Name
9
+ * @param location The location of the resource
10
+ * @param availableSkuRequest Filters for showing the available skus.
11
+ * @param options The options parameters.
12
+ */
13
+ listAvailableSkusByResourceGroup(resourceGroupName: string, location: string, availableSkuRequest: AvailableSkuRequest, options?: ServiceListAvailableSkusByResourceGroupOptionalParams): PagedAsyncIterableIterator<SkuInformation>;
14
+ /**
15
+ * [DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer
16
+ * shipping address and provide alternate addresses if any.
17
+ * @param location The location of the resource
18
+ * @param validateAddress Shipping address of the customer.
19
+ * @param options The options parameters.
20
+ */
21
+ validateAddress(location: string, validateAddress: ValidateAddress, options?: ServiceValidateAddressOptionalParams): Promise<ServiceValidateAddressResponse>;
22
+ /**
23
+ * This method does all necessary pre-job creation validation under resource group.
24
+ * @param resourceGroupName The Resource Group Name
25
+ * @param location The location of the resource
26
+ * @param validationRequest Inputs of the customer.
27
+ * @param options The options parameters.
28
+ */
29
+ validateInputsByResourceGroup(resourceGroupName: string, location: string, validationRequest: ValidationRequestUnion, options?: ServiceValidateInputsByResourceGroupOptionalParams): Promise<ServiceValidateInputsByResourceGroupResponse>;
30
+ /**
31
+ * This method does all necessary pre-job creation validation under subscription.
32
+ * @param location The location of the resource
33
+ * @param validationRequest Inputs of the customer.
34
+ * @param options The options parameters.
35
+ */
36
+ validateInputs(location: string, validationRequest: ValidationRequestUnion, options?: ServiceValidateInputsOptionalParams): Promise<ServiceValidateInputsResponse>;
37
+ /**
38
+ * This API provides configuration details specific to given region/location at Subscription level.
39
+ * @param location The location of the resource
40
+ * @param regionConfigurationRequest Request body to get the configuration for the region.
41
+ * @param options The options parameters.
42
+ */
43
+ regionConfiguration(location: string, regionConfigurationRequest: RegionConfigurationRequest, options?: ServiceRegionConfigurationOptionalParams): Promise<ServiceRegionConfigurationResponse>;
44
+ /**
45
+ * This API provides configuration details specific to given region/location at Resource group level.
46
+ * @param resourceGroupName The Resource Group Name
47
+ * @param location The location of the resource
48
+ * @param regionConfigurationRequest Request body to get the configuration for the region at resource
49
+ * group level.
50
+ * @param options The options parameters.
51
+ */
52
+ regionConfigurationByResourceGroup(resourceGroupName: string, location: string, regionConfigurationRequest: RegionConfigurationRequest, options?: ServiceRegionConfigurationByResourceGroupOptionalParams): Promise<ServiceRegionConfigurationByResourceGroupResponse>;
53
+ }
54
+ //# sourceMappingURL=service.d.ts.map