@azure/arm-azurestack 3.0.0-beta.4 → 3.0.0-beta.6

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 (506) hide show
  1. package/CHANGELOG.md +23 -3
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/{dist-esm/src → dist/browser}/azureStackManagementClient.d.ts +4 -2
  5. package/dist/browser/azureStackManagementClient.d.ts.map +1 -0
  6. package/dist/browser/azureStackManagementClient.js +117 -0
  7. package/dist/browser/azureStackManagementClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/index.js +4 -3
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/index.d.ts +72 -48
  13. package/dist/browser/models/index.d.ts.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/index.js +23 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/mappers.js +83 -38
  17. package/dist/browser/models/mappers.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  19. package/dist/browser/models/parameters.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/cloudManifestFile.d.ts +3 -3
  21. package/dist/browser/operations/cloudManifestFile.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/cloudManifestFile.js +3 -2
  23. package/dist/browser/operations/cloudManifestFile.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/customerSubscriptions.d.ts +3 -3
  25. package/dist/browser/operations/customerSubscriptions.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/customerSubscriptions.js +30 -33
  27. package/dist/browser/operations/customerSubscriptions.js.map +1 -0
  28. package/dist/browser/operations/index.d.ts +7 -0
  29. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  30. package/dist/browser/operations/index.js +14 -0
  31. package/dist/browser/operations/index.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/linkedSubscriptions.d.ts +3 -3
  33. package/dist/browser/operations/linkedSubscriptions.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/linkedSubscriptions.js +56 -63
  35. package/dist/browser/operations/linkedSubscriptions.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  37. package/dist/browser/operations/operations.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/operations.js +30 -33
  39. package/dist/browser/operations/operations.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/products.d.ts +3 -3
  41. package/dist/browser/operations/products.d.ts.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/products.js +30 -33
  43. package/dist/browser/operations/products.js.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operations/registrations.d.ts +3 -3
  45. package/dist/browser/operations/registrations.d.ts.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operations/registrations.js +56 -63
  47. package/dist/browser/operations/registrations.js.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudManifestFile.d.ts +1 -1
  49. package/dist/browser/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
  50. package/dist/browser/operationsInterfaces/cloudManifestFile.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/customerSubscriptions.d.ts +1 -1
  52. package/dist/browser/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/customerSubscriptions.js.map +1 -0
  54. package/dist/browser/operationsInterfaces/index.d.ts +7 -0
  55. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/index.js +14 -0
  57. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/linkedSubscriptions.d.ts +1 -1
  59. package/dist/browser/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
  60. package/dist/browser/operationsInterfaces/linkedSubscriptions.js.map +1 -0
  61. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  62. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  63. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  64. package/{dist-esm/src → dist/browser}/operationsInterfaces/products.d.ts +1 -1
  65. package/dist/browser/operationsInterfaces/products.d.ts.map +1 -0
  66. package/dist/browser/operationsInterfaces/products.js.map +1 -0
  67. package/{dist-esm/src → dist/browser}/operationsInterfaces/registrations.d.ts +1 -1
  68. package/dist/browser/operationsInterfaces/registrations.d.ts.map +1 -0
  69. package/dist/browser/operationsInterfaces/registrations.js.map +1 -0
  70. package/dist/browser/package.json +3 -0
  71. package/dist/browser/pagingHelper.d.ts +13 -0
  72. package/dist/browser/pagingHelper.d.ts.map +1 -0
  73. package/dist/browser/pagingHelper.js +30 -0
  74. package/dist/browser/pagingHelper.js.map +1 -0
  75. package/dist/commonjs/azureStackManagementClient.d.ts +26 -0
  76. package/dist/commonjs/azureStackManagementClient.d.ts.map +1 -0
  77. package/dist/commonjs/azureStackManagementClient.js +122 -0
  78. package/dist/commonjs/azureStackManagementClient.js.map +1 -0
  79. package/dist/commonjs/index.d.ts +5 -0
  80. package/dist/commonjs/index.d.ts.map +1 -0
  81. package/dist/commonjs/index.js +19 -0
  82. package/dist/commonjs/index.js.map +1 -0
  83. package/{types/arm-azurestack.d.ts → dist/commonjs/models/index.d.ts} +878 -1206
  84. package/dist/commonjs/models/index.d.ts.map +1 -0
  85. package/dist/commonjs/models/index.js +81 -0
  86. package/dist/commonjs/models/index.js.map +1 -0
  87. package/dist/commonjs/models/mappers.d.ts +37 -0
  88. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  89. package/dist/commonjs/models/mappers.js +1254 -0
  90. package/dist/commonjs/models/mappers.js.map +1 -0
  91. package/dist/commonjs/models/parameters.d.ts +20 -0
  92. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  93. package/dist/commonjs/models/parameters.js +166 -0
  94. package/dist/commonjs/models/parameters.js.map +1 -0
  95. package/dist/commonjs/operations/cloudManifestFile.d.ts +24 -0
  96. package/dist/commonjs/operations/cloudManifestFile.d.ts.map +1 -0
  97. package/dist/commonjs/operations/cloudManifestFile.js +76 -0
  98. package/dist/commonjs/operations/cloudManifestFile.js.map +1 -0
  99. package/dist/commonjs/operations/customerSubscriptions.d.ts +63 -0
  100. package/dist/commonjs/operations/customerSubscriptions.d.ts.map +1 -0
  101. package/dist/commonjs/operations/customerSubscriptions.js +243 -0
  102. package/dist/commonjs/operations/customerSubscriptions.js.map +1 -0
  103. package/dist/commonjs/operations/index.d.ts +7 -0
  104. package/dist/commonjs/operations/index.d.ts.map +1 -0
  105. package/dist/commonjs/operations/index.js +17 -0
  106. package/dist/commonjs/operations/index.js.map +1 -0
  107. package/dist/commonjs/operations/linkedSubscriptions.d.ts +83 -0
  108. package/dist/commonjs/operations/linkedSubscriptions.d.ts.map +1 -0
  109. package/dist/commonjs/operations/linkedSubscriptions.js +357 -0
  110. package/dist/commonjs/operations/linkedSubscriptions.js.map +1 -0
  111. package/dist/commonjs/operations/operations.d.ts +32 -0
  112. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  113. package/dist/commonjs/operations/operations.js +122 -0
  114. package/dist/commonjs/operations/operations.js.map +1 -0
  115. package/dist/commonjs/operations/products.d.ts +78 -0
  116. package/dist/commonjs/operations/products.d.ts.map +1 -0
  117. package/dist/commonjs/operations/products.js +305 -0
  118. package/dist/commonjs/operations/products.js.map +1 -0
  119. package/dist/commonjs/operations/registrations.d.ts +97 -0
  120. package/dist/commonjs/operations/registrations.d.ts.map +1 -0
  121. package/dist/commonjs/operations/registrations.js +414 -0
  122. package/dist/commonjs/operations/registrations.js.map +1 -0
  123. package/dist/commonjs/operationsInterfaces/cloudManifestFile.d.ts +16 -0
  124. package/dist/commonjs/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
  125. package/dist/commonjs/operationsInterfaces/cloudManifestFile.js +10 -0
  126. package/dist/commonjs/operationsInterfaces/cloudManifestFile.js.map +1 -0
  127. package/dist/commonjs/operationsInterfaces/customerSubscriptions.d.ts +38 -0
  128. package/dist/commonjs/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
  129. package/dist/commonjs/operationsInterfaces/customerSubscriptions.js +10 -0
  130. package/dist/commonjs/operationsInterfaces/customerSubscriptions.js.map +1 -0
  131. package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
  132. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  133. package/dist/commonjs/operationsInterfaces/index.js +17 -0
  134. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  135. package/dist/commonjs/operationsInterfaces/linkedSubscriptions.d.ts +47 -0
  136. package/dist/commonjs/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
  137. package/dist/commonjs/operationsInterfaces/linkedSubscriptions.js +10 -0
  138. package/dist/commonjs/operationsInterfaces/linkedSubscriptions.js.map +1 -0
  139. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  140. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  141. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  142. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  143. package/dist/commonjs/operationsInterfaces/products.d.ts +53 -0
  144. package/dist/commonjs/operationsInterfaces/products.d.ts.map +1 -0
  145. package/dist/commonjs/operationsInterfaces/products.js +10 -0
  146. package/dist/commonjs/operationsInterfaces/products.js.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/registrations.d.ts +61 -0
  148. package/dist/commonjs/operationsInterfaces/registrations.d.ts.map +1 -0
  149. package/dist/commonjs/operationsInterfaces/registrations.js +10 -0
  150. package/dist/commonjs/operationsInterfaces/registrations.js.map +1 -0
  151. package/dist/commonjs/package.json +3 -0
  152. package/dist/commonjs/pagingHelper.d.ts +13 -0
  153. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  154. package/dist/commonjs/pagingHelper.js +34 -0
  155. package/dist/commonjs/pagingHelper.js.map +1 -0
  156. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  157. package/dist/esm/azureStackManagementClient.d.ts +26 -0
  158. package/dist/esm/azureStackManagementClient.d.ts.map +1 -0
  159. package/dist/esm/azureStackManagementClient.js +117 -0
  160. package/dist/esm/azureStackManagementClient.js.map +1 -0
  161. package/dist/esm/index.d.ts +5 -0
  162. package/dist/esm/index.d.ts.map +1 -0
  163. package/{src/index.ts → dist/esm/index.js} +5 -4
  164. package/dist/esm/index.js.map +1 -0
  165. package/dist/esm/models/index.d.ts +878 -0
  166. package/dist/esm/models/index.d.ts.map +1 -0
  167. package/dist/esm/models/index.js +78 -0
  168. package/dist/esm/models/index.js.map +1 -0
  169. package/dist/esm/models/mappers.d.ts +37 -0
  170. package/dist/esm/models/mappers.d.ts.map +1 -0
  171. package/dist/esm/models/mappers.js +1251 -0
  172. package/dist/esm/models/mappers.js.map +1 -0
  173. package/dist/esm/models/parameters.d.ts +20 -0
  174. package/dist/esm/models/parameters.d.ts.map +1 -0
  175. package/dist/esm/models/parameters.js +163 -0
  176. package/dist/esm/models/parameters.js.map +1 -0
  177. package/dist/esm/operations/cloudManifestFile.d.ts +24 -0
  178. package/dist/esm/operations/cloudManifestFile.d.ts.map +1 -0
  179. package/dist/esm/operations/cloudManifestFile.js +71 -0
  180. package/dist/esm/operations/cloudManifestFile.js.map +1 -0
  181. package/dist/esm/operations/customerSubscriptions.d.ts +63 -0
  182. package/dist/esm/operations/customerSubscriptions.d.ts.map +1 -0
  183. package/dist/esm/operations/customerSubscriptions.js +238 -0
  184. package/dist/esm/operations/customerSubscriptions.js.map +1 -0
  185. package/dist/esm/operations/index.d.ts +7 -0
  186. package/dist/esm/operations/index.d.ts.map +1 -0
  187. package/dist/esm/operations/index.js +14 -0
  188. package/dist/esm/operations/index.js.map +1 -0
  189. package/dist/esm/operations/linkedSubscriptions.d.ts +83 -0
  190. package/dist/esm/operations/linkedSubscriptions.d.ts.map +1 -0
  191. package/dist/esm/operations/linkedSubscriptions.js +352 -0
  192. package/dist/esm/operations/linkedSubscriptions.js.map +1 -0
  193. package/dist/esm/operations/operations.d.ts +32 -0
  194. package/dist/esm/operations/operations.d.ts.map +1 -0
  195. package/dist/esm/operations/operations.js +117 -0
  196. package/dist/esm/operations/operations.js.map +1 -0
  197. package/dist/esm/operations/products.d.ts +78 -0
  198. package/dist/esm/operations/products.d.ts.map +1 -0
  199. package/dist/esm/operations/products.js +300 -0
  200. package/dist/esm/operations/products.js.map +1 -0
  201. package/dist/esm/operations/registrations.d.ts +97 -0
  202. package/dist/esm/operations/registrations.d.ts.map +1 -0
  203. package/dist/esm/operations/registrations.js +409 -0
  204. package/dist/esm/operations/registrations.js.map +1 -0
  205. package/dist/esm/operationsInterfaces/cloudManifestFile.d.ts +16 -0
  206. package/dist/esm/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
  207. package/dist/esm/operationsInterfaces/cloudManifestFile.js +9 -0
  208. package/dist/esm/operationsInterfaces/cloudManifestFile.js.map +1 -0
  209. package/dist/esm/operationsInterfaces/customerSubscriptions.d.ts +38 -0
  210. package/dist/esm/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
  211. package/dist/esm/operationsInterfaces/customerSubscriptions.js +9 -0
  212. package/dist/esm/operationsInterfaces/customerSubscriptions.js.map +1 -0
  213. package/dist/esm/operationsInterfaces/index.d.ts +7 -0
  214. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  215. package/dist/esm/operationsInterfaces/index.js +14 -0
  216. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  217. package/dist/esm/operationsInterfaces/linkedSubscriptions.d.ts +47 -0
  218. package/dist/esm/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
  219. package/dist/esm/operationsInterfaces/linkedSubscriptions.js +9 -0
  220. package/dist/esm/operationsInterfaces/linkedSubscriptions.js.map +1 -0
  221. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  222. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  223. package/dist/esm/operationsInterfaces/operations.js +9 -0
  224. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  225. package/dist/esm/operationsInterfaces/products.d.ts +53 -0
  226. package/dist/esm/operationsInterfaces/products.d.ts.map +1 -0
  227. package/dist/esm/operationsInterfaces/products.js +9 -0
  228. package/dist/esm/operationsInterfaces/products.js.map +1 -0
  229. package/dist/esm/operationsInterfaces/registrations.d.ts +61 -0
  230. package/dist/esm/operationsInterfaces/registrations.d.ts.map +1 -0
  231. package/dist/esm/operationsInterfaces/registrations.js +9 -0
  232. package/dist/esm/operationsInterfaces/registrations.js.map +1 -0
  233. package/dist/esm/package.json +3 -0
  234. package/dist/esm/pagingHelper.d.ts +13 -0
  235. package/dist/esm/pagingHelper.d.ts.map +1 -0
  236. package/dist/esm/pagingHelper.js +30 -0
  237. package/dist/esm/pagingHelper.js.map +1 -0
  238. package/dist/react-native/azureStackManagementClient.d.ts +26 -0
  239. package/dist/react-native/azureStackManagementClient.d.ts.map +1 -0
  240. package/dist/react-native/azureStackManagementClient.js +117 -0
  241. package/dist/react-native/azureStackManagementClient.js.map +1 -0
  242. package/dist/react-native/index.d.ts +5 -0
  243. package/dist/react-native/index.d.ts.map +1 -0
  244. package/dist/react-native/index.js +13 -0
  245. package/dist/react-native/index.js.map +1 -0
  246. package/dist/react-native/models/index.d.ts +878 -0
  247. package/dist/react-native/models/index.d.ts.map +1 -0
  248. package/dist/react-native/models/index.js +78 -0
  249. package/dist/react-native/models/index.js.map +1 -0
  250. package/dist/react-native/models/mappers.d.ts +37 -0
  251. package/dist/react-native/models/mappers.d.ts.map +1 -0
  252. package/dist/react-native/models/mappers.js +1251 -0
  253. package/dist/react-native/models/mappers.js.map +1 -0
  254. package/dist/react-native/models/parameters.d.ts +20 -0
  255. package/dist/react-native/models/parameters.d.ts.map +1 -0
  256. package/dist/react-native/models/parameters.js +163 -0
  257. package/dist/react-native/models/parameters.js.map +1 -0
  258. package/dist/react-native/operations/cloudManifestFile.d.ts +24 -0
  259. package/dist/react-native/operations/cloudManifestFile.d.ts.map +1 -0
  260. package/dist/react-native/operations/cloudManifestFile.js +71 -0
  261. package/dist/react-native/operations/cloudManifestFile.js.map +1 -0
  262. package/dist/react-native/operations/customerSubscriptions.d.ts +63 -0
  263. package/dist/react-native/operations/customerSubscriptions.d.ts.map +1 -0
  264. package/dist/react-native/operations/customerSubscriptions.js +238 -0
  265. package/dist/react-native/operations/customerSubscriptions.js.map +1 -0
  266. package/dist/react-native/operations/index.d.ts +7 -0
  267. package/dist/react-native/operations/index.d.ts.map +1 -0
  268. package/dist/react-native/operations/index.js +14 -0
  269. package/dist/react-native/operations/index.js.map +1 -0
  270. package/dist/react-native/operations/linkedSubscriptions.d.ts +83 -0
  271. package/dist/react-native/operations/linkedSubscriptions.d.ts.map +1 -0
  272. package/dist/react-native/operations/linkedSubscriptions.js +352 -0
  273. package/dist/react-native/operations/linkedSubscriptions.js.map +1 -0
  274. package/dist/react-native/operations/operations.d.ts +32 -0
  275. package/dist/react-native/operations/operations.d.ts.map +1 -0
  276. package/dist/react-native/operations/operations.js +117 -0
  277. package/dist/react-native/operations/operations.js.map +1 -0
  278. package/dist/react-native/operations/products.d.ts +78 -0
  279. package/dist/react-native/operations/products.d.ts.map +1 -0
  280. package/dist/react-native/operations/products.js +300 -0
  281. package/dist/react-native/operations/products.js.map +1 -0
  282. package/dist/react-native/operations/registrations.d.ts +97 -0
  283. package/dist/react-native/operations/registrations.d.ts.map +1 -0
  284. package/dist/react-native/operations/registrations.js +409 -0
  285. package/dist/react-native/operations/registrations.js.map +1 -0
  286. package/dist/react-native/operationsInterfaces/cloudManifestFile.d.ts +16 -0
  287. package/dist/react-native/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
  288. package/dist/react-native/operationsInterfaces/cloudManifestFile.js +9 -0
  289. package/dist/react-native/operationsInterfaces/cloudManifestFile.js.map +1 -0
  290. package/dist/react-native/operationsInterfaces/customerSubscriptions.d.ts +38 -0
  291. package/dist/react-native/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
  292. package/dist/react-native/operationsInterfaces/customerSubscriptions.js +9 -0
  293. package/dist/react-native/operationsInterfaces/customerSubscriptions.js.map +1 -0
  294. package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
  295. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  296. package/dist/react-native/operationsInterfaces/index.js +14 -0
  297. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  298. package/dist/react-native/operationsInterfaces/linkedSubscriptions.d.ts +47 -0
  299. package/dist/react-native/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
  300. package/dist/react-native/operationsInterfaces/linkedSubscriptions.js +9 -0
  301. package/dist/react-native/operationsInterfaces/linkedSubscriptions.js.map +1 -0
  302. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  303. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  304. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  305. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  306. package/dist/react-native/operationsInterfaces/products.d.ts +53 -0
  307. package/dist/react-native/operationsInterfaces/products.d.ts.map +1 -0
  308. package/dist/react-native/operationsInterfaces/products.js +9 -0
  309. package/dist/react-native/operationsInterfaces/products.js.map +1 -0
  310. package/dist/react-native/operationsInterfaces/registrations.d.ts +61 -0
  311. package/dist/react-native/operationsInterfaces/registrations.d.ts.map +1 -0
  312. package/dist/react-native/operationsInterfaces/registrations.js +9 -0
  313. package/dist/react-native/operationsInterfaces/registrations.js.map +1 -0
  314. package/dist/react-native/package.json +3 -0
  315. package/dist/react-native/pagingHelper.d.ts +13 -0
  316. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  317. package/dist/react-native/pagingHelper.js +30 -0
  318. package/dist/react-native/pagingHelper.js.map +1 -0
  319. package/package.json +86 -73
  320. package/review/{arm-azurestack.api.md → arm-azurestack-node.api.md} +37 -57
  321. package/dist/index.js +0 -3033
  322. package/dist/index.js.map +0 -1
  323. package/dist/index.min.js +0 -1
  324. package/dist/index.min.js.map +0 -1
  325. package/dist-esm/samples-dev/cloudManifestFileGetSample.d.ts +0 -2
  326. package/dist-esm/samples-dev/cloudManifestFileGetSample.d.ts.map +0 -1
  327. package/dist-esm/samples-dev/cloudManifestFileGetSample.js +0 -30
  328. package/dist-esm/samples-dev/cloudManifestFileGetSample.js.map +0 -1
  329. package/dist-esm/samples-dev/cloudManifestFileListSample.d.ts +0 -2
  330. package/dist-esm/samples-dev/cloudManifestFileListSample.d.ts.map +0 -1
  331. package/dist-esm/samples-dev/cloudManifestFileListSample.js +0 -29
  332. package/dist-esm/samples-dev/cloudManifestFileListSample.js.map +0 -1
  333. package/dist-esm/samples-dev/customerSubscriptionsCreateSample.d.ts +0 -2
  334. package/dist-esm/samples-dev/customerSubscriptionsCreateSample.d.ts.map +0 -1
  335. package/dist-esm/samples-dev/customerSubscriptionsCreateSample.js +0 -35
  336. package/dist-esm/samples-dev/customerSubscriptionsCreateSample.js.map +0 -1
  337. package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.d.ts +0 -2
  338. package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.d.ts.map +0 -1
  339. package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.js +0 -32
  340. package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.js.map +0 -1
  341. package/dist-esm/samples-dev/customerSubscriptionsGetSample.d.ts +0 -2
  342. package/dist-esm/samples-dev/customerSubscriptionsGetSample.d.ts.map +0 -1
  343. package/dist-esm/samples-dev/customerSubscriptionsGetSample.js +0 -32
  344. package/dist-esm/samples-dev/customerSubscriptionsGetSample.js.map +0 -1
  345. package/dist-esm/samples-dev/customerSubscriptionsListSample.d.ts +0 -2
  346. package/dist-esm/samples-dev/customerSubscriptionsListSample.d.ts.map +0 -1
  347. package/dist-esm/samples-dev/customerSubscriptionsListSample.js +0 -45
  348. package/dist-esm/samples-dev/customerSubscriptionsListSample.js.map +0 -1
  349. package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.d.ts +0 -2
  350. package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.d.ts.map +0 -1
  351. package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.js +0 -36
  352. package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.js.map +0 -1
  353. package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.d.ts +0 -2
  354. package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.d.ts.map +0 -1
  355. package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.js +0 -31
  356. package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.js.map +0 -1
  357. package/dist-esm/samples-dev/linkedSubscriptionsGetSample.d.ts +0 -2
  358. package/dist-esm/samples-dev/linkedSubscriptionsGetSample.d.ts.map +0 -1
  359. package/dist-esm/samples-dev/linkedSubscriptionsGetSample.js +0 -31
  360. package/dist-esm/samples-dev/linkedSubscriptionsGetSample.js.map +0 -1
  361. package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.d.ts +0 -2
  362. package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.d.ts.map +0 -1
  363. package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.js +0 -44
  364. package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.js.map +0 -1
  365. package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.d.ts +0 -2
  366. package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.d.ts.map +0 -1
  367. package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.js +0 -43
  368. package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.js.map +0 -1
  369. package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.d.ts +0 -2
  370. package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.d.ts.map +0 -1
  371. package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.js +0 -36
  372. package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.js.map +0 -1
  373. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  374. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  375. package/dist-esm/samples-dev/operationsListSample.js +0 -43
  376. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  377. package/dist-esm/samples-dev/productsGetProductSample.d.ts +0 -2
  378. package/dist-esm/samples-dev/productsGetProductSample.d.ts.map +0 -1
  379. package/dist-esm/samples-dev/productsGetProductSample.js +0 -32
  380. package/dist-esm/samples-dev/productsGetProductSample.js.map +0 -1
  381. package/dist-esm/samples-dev/productsGetProductsSample.d.ts +0 -2
  382. package/dist-esm/samples-dev/productsGetProductsSample.d.ts.map +0 -1
  383. package/dist-esm/samples-dev/productsGetProductsSample.js +0 -32
  384. package/dist-esm/samples-dev/productsGetProductsSample.js.map +0 -1
  385. package/dist-esm/samples-dev/productsGetSample.d.ts +0 -2
  386. package/dist-esm/samples-dev/productsGetSample.d.ts.map +0 -1
  387. package/dist-esm/samples-dev/productsGetSample.js +0 -32
  388. package/dist-esm/samples-dev/productsGetSample.js.map +0 -1
  389. package/dist-esm/samples-dev/productsListDetailsSample.d.ts +0 -2
  390. package/dist-esm/samples-dev/productsListDetailsSample.d.ts.map +0 -1
  391. package/dist-esm/samples-dev/productsListDetailsSample.js +0 -32
  392. package/dist-esm/samples-dev/productsListDetailsSample.js.map +0 -1
  393. package/dist-esm/samples-dev/productsListSample.d.ts +0 -2
  394. package/dist-esm/samples-dev/productsListSample.d.ts.map +0 -1
  395. package/dist-esm/samples-dev/productsListSample.js +0 -45
  396. package/dist-esm/samples-dev/productsListSample.js.map +0 -1
  397. package/dist-esm/samples-dev/productsUploadLogSample.d.ts +0 -2
  398. package/dist-esm/samples-dev/productsUploadLogSample.d.ts.map +0 -1
  399. package/dist-esm/samples-dev/productsUploadLogSample.js +0 -32
  400. package/dist-esm/samples-dev/productsUploadLogSample.js.map +0 -1
  401. package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.d.ts +0 -2
  402. package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.js +0 -35
  404. package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.js.map +0 -1
  405. package/dist-esm/samples-dev/registrationsDeleteSample.d.ts +0 -2
  406. package/dist-esm/samples-dev/registrationsDeleteSample.d.ts.map +0 -1
  407. package/dist-esm/samples-dev/registrationsDeleteSample.js +0 -31
  408. package/dist-esm/samples-dev/registrationsDeleteSample.js.map +0 -1
  409. package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.d.ts +0 -2
  410. package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.d.ts.map +0 -1
  411. package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.js +0 -31
  412. package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.js.map +0 -1
  413. package/dist-esm/samples-dev/registrationsGetActivationKeySample.d.ts +0 -2
  414. package/dist-esm/samples-dev/registrationsGetActivationKeySample.d.ts.map +0 -1
  415. package/dist-esm/samples-dev/registrationsGetActivationKeySample.js +0 -31
  416. package/dist-esm/samples-dev/registrationsGetActivationKeySample.js.map +0 -1
  417. package/dist-esm/samples-dev/registrationsGetSample.d.ts +0 -2
  418. package/dist-esm/samples-dev/registrationsGetSample.d.ts.map +0 -1
  419. package/dist-esm/samples-dev/registrationsGetSample.js +0 -31
  420. package/dist-esm/samples-dev/registrationsGetSample.js.map +0 -1
  421. package/dist-esm/samples-dev/registrationsListBySubscriptionSample.d.ts +0 -2
  422. package/dist-esm/samples-dev/registrationsListBySubscriptionSample.d.ts.map +0 -1
  423. package/dist-esm/samples-dev/registrationsListBySubscriptionSample.js +0 -43
  424. package/dist-esm/samples-dev/registrationsListBySubscriptionSample.js.map +0 -1
  425. package/dist-esm/samples-dev/registrationsListSample.d.ts +0 -2
  426. package/dist-esm/samples-dev/registrationsListSample.d.ts.map +0 -1
  427. package/dist-esm/samples-dev/registrationsListSample.js +0 -44
  428. package/dist-esm/samples-dev/registrationsListSample.js.map +0 -1
  429. package/dist-esm/samples-dev/registrationsUpdateSample.d.ts +0 -2
  430. package/dist-esm/samples-dev/registrationsUpdateSample.d.ts.map +0 -1
  431. package/dist-esm/samples-dev/registrationsUpdateSample.js +0 -35
  432. package/dist-esm/samples-dev/registrationsUpdateSample.js.map +0 -1
  433. package/dist-esm/src/azureStackManagementClient.d.ts.map +0 -1
  434. package/dist-esm/src/azureStackManagementClient.js +0 -58
  435. package/dist-esm/src/azureStackManagementClient.js.map +0 -1
  436. package/dist-esm/src/index.d.ts +0 -5
  437. package/dist-esm/src/index.d.ts.map +0 -1
  438. package/dist-esm/src/index.js.map +0 -1
  439. package/dist-esm/src/models/index.d.ts.map +0 -1
  440. package/dist-esm/src/models/index.js.map +0 -1
  441. package/dist-esm/src/models/mappers.js.map +0 -1
  442. package/dist-esm/src/models/parameters.js.map +0 -1
  443. package/dist-esm/src/operations/cloudManifestFile.d.ts.map +0 -1
  444. package/dist-esm/src/operations/cloudManifestFile.js.map +0 -1
  445. package/dist-esm/src/operations/customerSubscriptions.d.ts.map +0 -1
  446. package/dist-esm/src/operations/customerSubscriptions.js.map +0 -1
  447. package/dist-esm/src/operations/index.d.ts +0 -7
  448. package/dist-esm/src/operations/index.js +0 -14
  449. package/dist-esm/src/operations/index.js.map +0 -1
  450. package/dist-esm/src/operations/linkedSubscriptions.d.ts.map +0 -1
  451. package/dist-esm/src/operations/linkedSubscriptions.js.map +0 -1
  452. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  453. package/dist-esm/src/operations/operations.js.map +0 -1
  454. package/dist-esm/src/operations/products.d.ts.map +0 -1
  455. package/dist-esm/src/operations/products.js.map +0 -1
  456. package/dist-esm/src/operations/registrations.d.ts.map +0 -1
  457. package/dist-esm/src/operations/registrations.js.map +0 -1
  458. package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts.map +0 -1
  459. package/dist-esm/src/operationsInterfaces/cloudManifestFile.js.map +0 -1
  460. package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts.map +0 -1
  461. package/dist-esm/src/operationsInterfaces/customerSubscriptions.js.map +0 -1
  462. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
  463. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  464. package/dist-esm/src/operationsInterfaces/index.js +0 -14
  465. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  466. package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts.map +0 -1
  467. package/dist-esm/src/operationsInterfaces/linkedSubscriptions.js.map +0 -1
  468. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  469. package/dist-esm/src/operationsInterfaces/products.d.ts.map +0 -1
  470. package/dist-esm/src/operationsInterfaces/products.js.map +0 -1
  471. package/dist-esm/src/operationsInterfaces/registrations.d.ts.map +0 -1
  472. package/dist-esm/src/operationsInterfaces/registrations.js.map +0 -1
  473. package/dist-esm/test/sampleTest.d.ts +0 -2
  474. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  475. package/dist-esm/test/sampleTest.js +0 -40
  476. package/dist-esm/test/sampleTest.js.map +0 -1
  477. package/rollup.config.js +0 -122
  478. package/src/azureStackManagementClient.ts +0 -101
  479. package/src/models/index.ts +0 -981
  480. package/src/models/mappers.ts +0 -1287
  481. package/src/models/parameters.ts +0 -192
  482. package/src/operations/cloudManifestFile.ts +0 -93
  483. package/src/operations/customerSubscriptions.ts +0 -317
  484. package/src/operations/index.ts +0 -14
  485. package/src/operations/linkedSubscriptions.ts +0 -450
  486. package/src/operations/operations.ts +0 -137
  487. package/src/operations/products.ts +0 -403
  488. package/src/operations/registrations.ts +0 -521
  489. package/src/operationsInterfaces/cloudManifestFile.ts +0 -34
  490. package/src/operationsInterfaces/customerSubscriptions.ts +0 -75
  491. package/src/operationsInterfaces/index.ts +0 -14
  492. package/src/operationsInterfaces/linkedSubscriptions.ts +0 -91
  493. package/src/operationsInterfaces/operations.ts +0 -22
  494. package/src/operationsInterfaces/products.ts +0 -104
  495. package/src/operationsInterfaces/registrations.ts +0 -116
  496. package/tsconfig.json +0 -33
  497. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  498. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  499. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  500. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  501. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudManifestFile.js +0 -0
  502. /package/{dist-esm/src → dist/browser}/operationsInterfaces/customerSubscriptions.js +0 -0
  503. /package/{dist-esm/src → dist/browser}/operationsInterfaces/linkedSubscriptions.js +0 -0
  504. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  505. /package/{dist-esm/src → dist/browser}/operationsInterfaces/products.js +0 -0
  506. /package/{dist-esm/src → dist/browser}/operationsInterfaces/registrations.js +0 -0
@@ -5,13 +5,14 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
8
+ import { setContinuationToken } from "../pagingHelper.js";
9
9
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
12
  /// <reference lib="esnext.asynciterable" />
13
13
  /** Class containing Registrations operations. */
14
14
  export class RegistrationsImpl {
15
+ client;
15
16
  /**
16
17
  * Initialize a new instance of the class Registrations class.
17
18
  * @param client Reference to the service client
@@ -33,40 +34,36 @@ export class RegistrationsImpl {
33
34
  [Symbol.asyncIterator]() {
34
35
  return this;
35
36
  },
36
- byPage: () => {
37
- return this.listPagingPage(resourceGroup, options);
37
+ byPage: (settings) => {
38
+ if (settings?.maxPageSize) {
39
+ throw new Error("maxPageSize is not supported by this operation.");
40
+ }
41
+ return this.listPagingPage(resourceGroup, options, settings);
38
42
  }
39
43
  };
40
44
  }
41
- listPagingPage(resourceGroup, options) {
42
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
43
- let result = yield __await(this._list(resourceGroup, options));
44
- yield yield __await(result.value || []);
45
- let continuationToken = result.nextLink;
46
- while (continuationToken) {
47
- result = yield __await(this._listNext(resourceGroup, continuationToken, options));
48
- continuationToken = result.nextLink;
49
- yield yield __await(result.value || []);
50
- }
51
- });
45
+ async *listPagingPage(resourceGroup, options, settings) {
46
+ let result;
47
+ let continuationToken = settings?.continuationToken;
48
+ if (!continuationToken) {
49
+ result = await this._list(resourceGroup, options);
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield page;
54
+ }
55
+ while (continuationToken) {
56
+ result = await this._listNext(resourceGroup, continuationToken, options);
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield page;
61
+ }
52
62
  }
53
- listPagingAll(resourceGroup, options) {
54
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
55
- var e_1, _a;
56
- try {
57
- for (var _b = __asyncValues(this.listPagingPage(resourceGroup, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
58
- const page = _c.value;
59
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
60
- }
61
- }
62
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
63
- finally {
64
- try {
65
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
66
- }
67
- finally { if (e_1) throw e_1.error; }
68
- }
69
- });
63
+ async *listPagingAll(resourceGroup, options) {
64
+ for await (const page of this.listPagingPage(resourceGroup, options)) {
65
+ yield* page;
66
+ }
70
67
  }
71
68
  /**
72
69
  * Returns a list of all registrations under current subscription.
@@ -81,40 +78,36 @@ export class RegistrationsImpl {
81
78
  [Symbol.asyncIterator]() {
82
79
  return this;
83
80
  },
84
- byPage: () => {
85
- return this.listBySubscriptionPagingPage(options);
81
+ byPage: (settings) => {
82
+ if (settings?.maxPageSize) {
83
+ throw new Error("maxPageSize is not supported by this operation.");
84
+ }
85
+ return this.listBySubscriptionPagingPage(options, settings);
86
86
  }
87
87
  };
88
88
  }
89
- listBySubscriptionPagingPage(options) {
90
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
91
- let result = yield __await(this._listBySubscription(options));
92
- yield yield __await(result.value || []);
93
- let continuationToken = result.nextLink;
94
- while (continuationToken) {
95
- result = yield __await(this._listBySubscriptionNext(continuationToken, options));
96
- continuationToken = result.nextLink;
97
- yield yield __await(result.value || []);
98
- }
99
- });
89
+ async *listBySubscriptionPagingPage(options, settings) {
90
+ let result;
91
+ let continuationToken = settings?.continuationToken;
92
+ if (!continuationToken) {
93
+ result = await this._listBySubscription(options);
94
+ let page = result.value || [];
95
+ continuationToken = result.nextLink;
96
+ setContinuationToken(page, continuationToken);
97
+ yield page;
98
+ }
99
+ while (continuationToken) {
100
+ result = await this._listBySubscriptionNext(continuationToken, options);
101
+ continuationToken = result.nextLink;
102
+ let page = result.value || [];
103
+ setContinuationToken(page, continuationToken);
104
+ yield page;
105
+ }
100
106
  }
101
- listBySubscriptionPagingAll(options) {
102
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
103
- var e_2, _a;
104
- try {
105
- for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
106
- const page = _c.value;
107
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
108
- }
109
- }
110
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
111
- finally {
112
- try {
113
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
114
- }
115
- finally { if (e_2) throw e_2.error; }
116
- }
117
- });
107
+ async *listBySubscriptionPagingAll(options) {
108
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
109
+ yield* page;
110
+ }
118
111
  }
119
112
  /**
120
113
  * Returns a list of all registrations.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrations.js","sourceRoot":"","sources":["../../../src/operations/registrations.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;AAyBtD,4CAA4C;AAC5C,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IACX,MAAM,CAA6B;IAEpD;;;OAGG;IACH,YAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,aAAqB,EACrB,OAAyC;QAEzC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;QACxD,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,aAAa,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC/D,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,aAAqB,EACrB,OAAyC,EACzC,QAAuB;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,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;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 { Registrations } 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 { AzureStackManagementClient } from \"../azureStackManagementClient.js\";\nimport {\n Registration,\n RegistrationsListNextOptionalParams,\n RegistrationsListOptionalParams,\n RegistrationsListResponse,\n RegistrationsListBySubscriptionNextOptionalParams,\n RegistrationsListBySubscriptionOptionalParams,\n RegistrationsListBySubscriptionResponse,\n RegistrationsGetOptionalParams,\n RegistrationsGetResponse,\n RegistrationsDeleteOptionalParams,\n RegistrationParameter,\n RegistrationsCreateOrUpdateOptionalParams,\n RegistrationsCreateOrUpdateResponse,\n RegistrationsUpdateOptionalParams,\n RegistrationsUpdateResponse,\n RegistrationsGetActivationKeyOptionalParams,\n RegistrationsGetActivationKeyResponse,\n RegistrationsEnableRemoteManagementOptionalParams,\n RegistrationsListNextResponse,\n RegistrationsListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Registrations operations. */\nexport class RegistrationsImpl implements Registrations {\n private readonly client: AzureStackManagementClient;\n\n /**\n * Initialize a new instance of the class Registrations class.\n * @param client Reference to the service client\n */\n constructor(client: AzureStackManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns a list of all registrations.\n * @param resourceGroup Name of the resource group.\n * @param options The options parameters.\n */\n public list(\n resourceGroup: string,\n options?: RegistrationsListOptionalParams\n ): PagedAsyncIterableIterator<Registration> {\n const iter = this.listPagingAll(resourceGroup, 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(resourceGroup, options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroup: string,\n options?: RegistrationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Registration[]> {\n let result: RegistrationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroup, 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(resourceGroup, 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 resourceGroup: string,\n options?: RegistrationsListOptionalParams\n ): AsyncIterableIterator<Registration> {\n for await (const page of this.listPagingPage(resourceGroup, options)) {\n yield* page;\n }\n }\n\n /**\n * Returns a list of all registrations under current subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: RegistrationsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Registration> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: RegistrationsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Registration[]> {\n let result: RegistrationsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(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._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: RegistrationsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Registration> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns a list of all registrations.\n * @param resourceGroup Name of the resource group.\n * @param options The options parameters.\n */\n private _list(\n resourceGroup: string,\n options?: RegistrationsListOptionalParams\n ): Promise<RegistrationsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroup, options },\n listOperationSpec\n );\n }\n\n /**\n * Returns a list of all registrations under current subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: RegistrationsListBySubscriptionOptionalParams\n ): Promise<RegistrationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Returns the properties of an Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n get(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsGetOptionalParams\n ): Promise<RegistrationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroup, registrationName, options },\n getOperationSpec\n );\n }\n\n /**\n * Delete the requested Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n delete(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroup, registrationName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Create or update an Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param token Registration token\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroup: string,\n registrationName: string,\n token: RegistrationParameter,\n options?: RegistrationsCreateOrUpdateOptionalParams\n ): Promise<RegistrationsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroup, registrationName, token, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Patch an Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param token Registration token\n * @param options The options parameters.\n */\n update(\n resourceGroup: string,\n registrationName: string,\n token: RegistrationParameter,\n options?: RegistrationsUpdateOptionalParams\n ): Promise<RegistrationsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroup, registrationName, token, options },\n updateOperationSpec\n );\n }\n\n /**\n * Returns Azure Stack Activation Key.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n getActivationKey(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsGetActivationKeyOptionalParams\n ): Promise<RegistrationsGetActivationKeyResponse> {\n return this.client.sendOperationRequest(\n { resourceGroup, registrationName, options },\n getActivationKeyOperationSpec\n );\n }\n\n /**\n * Enables remote management for device under the Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n enableRemoteManagement(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsEnableRemoteManagementOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroup, registrationName, options },\n enableRemoteManagementOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroup Name of the resource group.\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 resourceGroup: string,\n nextLink: string,\n options?: RegistrationsListNextOptionalParams\n ): Promise<RegistrationsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroup, nextLink, options },\n listNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: RegistrationsListBySubscriptionNextOptionalParams\n ): Promise<RegistrationsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Registration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Registration\n },\n 201: {\n bodyMapper: Mappers.Registration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.token,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Registration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.token,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getActivationKeyOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ActivationKeyResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst enableRemoteManagementOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/enableRemoteManagement\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\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.RegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroup\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,4 +1,4 @@
1
- import { CloudManifestFileListOptionalParams, CloudManifestFileListResponse, CloudManifestFileGetOptionalParams, CloudManifestFileGetResponse } from "../models";
1
+ import { CloudManifestFileListOptionalParams, CloudManifestFileListResponse, CloudManifestFileGetOptionalParams, CloudManifestFileGetResponse } from "../models/index.js";
2
2
  /** Interface representing a CloudManifestFile. */
3
3
  export interface CloudManifestFile {
4
4
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudManifestFile.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/cloudManifestFile.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,mCAAmC,EACnC,6BAA6B,EAC7B,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAE5B,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;OAIG;IACH,GAAG,CACD,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;CAC1C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudManifestFile.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/cloudManifestFile.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 {\n CloudManifestFileListOptionalParams,\n CloudManifestFileListResponse,\n CloudManifestFileGetOptionalParams,\n CloudManifestFileGetResponse\n} from \"../models/index.js\";\n\n/** Interface representing a CloudManifestFile. */\nexport interface CloudManifestFile {\n /**\n * Returns a cloud specific manifest JSON file with latest version.\n * @param options The options parameters.\n */\n list(\n options?: CloudManifestFileListOptionalParams\n ): Promise<CloudManifestFileListResponse>;\n /**\n * Returns a cloud specific manifest JSON file.\n * @param verificationVersion Signing verification key version.\n * @param options The options parameters.\n */\n get(\n verificationVersion: string,\n options?: CloudManifestFileGetOptionalParams\n ): Promise<CloudManifestFileGetResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { CustomerSubscription, CustomerSubscriptionsListOptionalParams, CustomerSubscriptionsGetOptionalParams, CustomerSubscriptionsGetResponse, CustomerSubscriptionsDeleteOptionalParams, CustomerSubscriptionsCreateOptionalParams, CustomerSubscriptionsCreateResponse } from "../models";
2
+ import { CustomerSubscription, CustomerSubscriptionsListOptionalParams, CustomerSubscriptionsGetOptionalParams, CustomerSubscriptionsGetResponse, CustomerSubscriptionsDeleteOptionalParams, CustomerSubscriptionsCreateOptionalParams, CustomerSubscriptionsCreateResponse } from "../models/index.js";
3
3
  /** Interface representing a CustomerSubscriptions. */
4
4
  export interface CustomerSubscriptions {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customerSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/customerSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,oBAAoB,EACpB,uCAAuC,EACvC,sCAAsC,EACtC,gCAAgC,EAChC,yCAAyC,EACzC,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAG5B,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,IAAI,CACF,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,uCAAuC,GAChD,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IACpD;;;;;;OAMG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;OAMG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,MAAM,EAChC,0BAA0B,EAAE,oBAAoB,EAChD,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customerSubscriptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/customerSubscriptions.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 {\n CustomerSubscription,\n CustomerSubscriptionsListOptionalParams,\n CustomerSubscriptionsGetOptionalParams,\n CustomerSubscriptionsGetResponse,\n CustomerSubscriptionsDeleteOptionalParams,\n CustomerSubscriptionsCreateOptionalParams,\n CustomerSubscriptionsCreateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a CustomerSubscriptions. */\nexport interface CustomerSubscriptions {\n /**\n * Returns a list of products.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n list(\n resourceGroup: string,\n registrationName: string,\n options?: CustomerSubscriptionsListOptionalParams\n ): PagedAsyncIterableIterator<CustomerSubscription>;\n /**\n * Returns the specified product.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param customerSubscriptionName Name of the product.\n * @param options The options parameters.\n */\n get(\n resourceGroup: string,\n registrationName: string,\n customerSubscriptionName: string,\n options?: CustomerSubscriptionsGetOptionalParams\n ): Promise<CustomerSubscriptionsGetResponse>;\n /**\n * Deletes a customer subscription under a registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param customerSubscriptionName Name of the product.\n * @param options The options parameters.\n */\n delete(\n resourceGroup: string,\n registrationName: string,\n customerSubscriptionName: string,\n options?: CustomerSubscriptionsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Creates a new customer subscription under a registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param customerSubscriptionName Name of the product.\n * @param customerCreationParameters Parameters use to create a customer subscription.\n * @param options The options parameters.\n */\n create(\n resourceGroup: string,\n registrationName: string,\n customerSubscriptionName: string,\n customerCreationParameters: CustomerSubscription,\n options?: CustomerSubscriptionsCreateOptionalParams\n ): Promise<CustomerSubscriptionsCreateResponse>;\n}\n"]}
@@ -0,0 +1,7 @@
1
+ export * from "./operations.js";
2
+ export * from "./cloudManifestFile.js";
3
+ export * from "./customerSubscriptions.js";
4
+ export * from "./products.js";
5
+ export * from "./registrations.js";
6
+ export * from "./linkedSubscriptions.js";
7
+ //# 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,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,14 @@
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 "./cloudManifestFile.js";
10
+ export * from "./customerSubscriptions.js";
11
+ export * from "./products.js";
12
+ export * from "./registrations.js";
13
+ export * from "./linkedSubscriptions.js";
14
+ //# 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,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,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 \"./cloudManifestFile.js\";\nexport * from \"./customerSubscriptions.js\";\nexport * from \"./products.js\";\nexport * from \"./registrations.js\";\nexport * from \"./linkedSubscriptions.js\";\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { LinkedSubscription, LinkedSubscriptionsListByResourceGroupOptionalParams, LinkedSubscriptionsListBySubscriptionOptionalParams, LinkedSubscriptionsGetOptionalParams, LinkedSubscriptionsGetResponse, LinkedSubscriptionsDeleteOptionalParams, LinkedSubscriptionParameter, LinkedSubscriptionsCreateOrUpdateOptionalParams, LinkedSubscriptionsCreateOrUpdateResponse, LinkedSubscriptionsUpdateOptionalParams, LinkedSubscriptionsUpdateResponse } from "../models";
2
+ import { LinkedSubscription, LinkedSubscriptionsListByResourceGroupOptionalParams, LinkedSubscriptionsListBySubscriptionOptionalParams, LinkedSubscriptionsGetOptionalParams, LinkedSubscriptionsGetResponse, LinkedSubscriptionsDeleteOptionalParams, LinkedSubscriptionParameter, LinkedSubscriptionsCreateOrUpdateOptionalParams, LinkedSubscriptionsCreateOrUpdateResponse, LinkedSubscriptionsUpdateOptionalParams, LinkedSubscriptionsUpdateResponse } from "../models/index.js";
3
3
  /** Interface representing a LinkedSubscriptions. */
4
4
  export interface LinkedSubscriptions {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkedSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/linkedSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,oDAAoD,EACpD,mDAAmD,EACnD,oCAAoC,EACpC,8BAA8B,EAC9B,uCAAuC,EACvC,2BAA2B,EAC3B,+CAA+C,EAC/C,yCAAyC,EACzC,uCAAuC,EACvC,iCAAiC,EAClC,MAAM,oBAAoB,CAAC;AAG5B,oDAAoD;AACpD,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,mBAAmB,CACjB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;OAKG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;OAKG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,cAAc,CACZ,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,QAAQ,EAAE,2BAA2B,EACrC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACtD;;;;;;OAMG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,QAAQ,EAAE,2BAA2B,EACrC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;CAC/C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkedSubscriptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/linkedSubscriptions.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 {\n LinkedSubscription,\n LinkedSubscriptionsListByResourceGroupOptionalParams,\n LinkedSubscriptionsListBySubscriptionOptionalParams,\n LinkedSubscriptionsGetOptionalParams,\n LinkedSubscriptionsGetResponse,\n LinkedSubscriptionsDeleteOptionalParams,\n LinkedSubscriptionParameter,\n LinkedSubscriptionsCreateOrUpdateOptionalParams,\n LinkedSubscriptionsCreateOrUpdateResponse,\n LinkedSubscriptionsUpdateOptionalParams,\n LinkedSubscriptionsUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a LinkedSubscriptions. */\nexport interface LinkedSubscriptions {\n /**\n * Returns a list of all linked subscriptions under current resource group.\n * @param resourceGroup Name of the resource group.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroup: string,\n options?: LinkedSubscriptionsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<LinkedSubscription>;\n /**\n * Returns a list of all linked subscriptions under current subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: LinkedSubscriptionsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<LinkedSubscription>;\n /**\n * Returns the properties of a Linked Subscription resource.\n * @param resourceGroup Name of the resource group.\n * @param linkedSubscriptionName Name of the Linked Subscription resource.\n * @param options The options parameters.\n */\n get(\n resourceGroup: string,\n linkedSubscriptionName: string,\n options?: LinkedSubscriptionsGetOptionalParams\n ): Promise<LinkedSubscriptionsGetResponse>;\n /**\n * Delete the requested Linked Subscription resource.\n * @param resourceGroup Name of the resource group.\n * @param linkedSubscriptionName Name of the Linked Subscription resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroup: string,\n linkedSubscriptionName: string,\n options?: LinkedSubscriptionsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Create or update a linked subscription resource.\n * @param resourceGroup Name of the resource group.\n * @param linkedSubscriptionName Name of the Linked Subscription resource.\n * @param resource Linked subscription resource parameter.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroup: string,\n linkedSubscriptionName: string,\n resource: LinkedSubscriptionParameter,\n options?: LinkedSubscriptionsCreateOrUpdateOptionalParams\n ): Promise<LinkedSubscriptionsCreateOrUpdateResponse>;\n /**\n * Patch a Linked Subscription resource.\n * @param resourceGroup Name of the resource group.\n * @param linkedSubscriptionName Name of the Linked Subscription resource.\n * @param resource Linked subscription resource parameter.\n * @param options The options parameters.\n */\n update(\n resourceGroup: string,\n linkedSubscriptionName: string,\n resource: LinkedSubscriptionParameter,\n options?: LinkedSubscriptionsUpdateOptionalParams\n ): Promise<LinkedSubscriptionsUpdateResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operation, OperationsListOptionalParams } from "../models";
2
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a Operations. */
4
4
  export interface Operations {
5
5
  /**
@@ -1 +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,WAAW,CAAC;AAGpE,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
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 @@
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 * Returns the list of supported REST operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Product, ProductsListOptionalParams, ProductsGetOptionalParams, ProductsGetResponse, ProductsListDetailsOptionalParams, ProductsListDetailsResponse, ProductsGetProductsOptionalParams, ProductsGetProductsResponse, ProductsGetProductOptionalParams, ProductsGetProductResponse, ProductsUploadLogOptionalParams, ProductsUploadLogResponse } from "../models";
2
+ import { Product, ProductsListOptionalParams, ProductsGetOptionalParams, ProductsGetResponse, ProductsListDetailsOptionalParams, ProductsListDetailsResponse, ProductsGetProductsOptionalParams, ProductsGetProductsResponse, ProductsGetProductOptionalParams, ProductsGetProductResponse, ProductsUploadLogOptionalParams, ProductsUploadLogResponse } from "../models/index.js";
3
3
  /** Interface representing a Products. */
4
4
  export interface Products {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/products.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,OAAO,EACP,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,EACnB,iCAAiC,EACjC,2BAA2B,EAC3B,iCAAiC,EACjC,2BAA2B,EAC3B,gCAAgC,EAChC,0BAA0B,EAC1B,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,IAAI,CACF,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;OAMG;IACH,WAAW,CACT,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;;OAMG;IACH,WAAW,CACT,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;;OAMG;IACH,UAAU,CACR,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,SAAS,CACP,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"products.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/products.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 {\n Product,\n ProductsListOptionalParams,\n ProductsGetOptionalParams,\n ProductsGetResponse,\n ProductsListDetailsOptionalParams,\n ProductsListDetailsResponse,\n ProductsGetProductsOptionalParams,\n ProductsGetProductsResponse,\n ProductsGetProductOptionalParams,\n ProductsGetProductResponse,\n ProductsUploadLogOptionalParams,\n ProductsUploadLogResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Products. */\nexport interface Products {\n /**\n * Returns a list of products.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n list(\n resourceGroup: string,\n registrationName: string,\n options?: ProductsListOptionalParams\n ): PagedAsyncIterableIterator<Product>;\n /**\n * Returns the specified product.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param productName Name of the product.\n * @param options The options parameters.\n */\n get(\n resourceGroup: string,\n registrationName: string,\n productName: string,\n options?: ProductsGetOptionalParams\n ): Promise<ProductsGetResponse>;\n /**\n * Returns the extended properties of a product.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param productName Name of the product.\n * @param options The options parameters.\n */\n listDetails(\n resourceGroup: string,\n registrationName: string,\n productName: string,\n options?: ProductsListDetailsOptionalParams\n ): Promise<ProductsListDetailsResponse>;\n /**\n * Returns a list of products.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param productName Name of the product.\n * @param options The options parameters.\n */\n getProducts(\n resourceGroup: string,\n registrationName: string,\n productName: string,\n options?: ProductsGetProductsOptionalParams\n ): Promise<ProductsGetProductsResponse>;\n /**\n * Returns the specified product.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param productName Name of the product.\n * @param options The options parameters.\n */\n getProduct(\n resourceGroup: string,\n registrationName: string,\n productName: string,\n options?: ProductsGetProductOptionalParams\n ): Promise<ProductsGetProductResponse>;\n /**\n * Returns the specified product.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param productName Name of the product.\n * @param options The options parameters.\n */\n uploadLog(\n resourceGroup: string,\n registrationName: string,\n productName: string,\n options?: ProductsUploadLogOptionalParams\n ): Promise<ProductsUploadLogResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Registration, RegistrationsListOptionalParams, RegistrationsListBySubscriptionOptionalParams, RegistrationsGetOptionalParams, RegistrationsGetResponse, RegistrationsDeleteOptionalParams, RegistrationParameter, RegistrationsCreateOrUpdateOptionalParams, RegistrationsCreateOrUpdateResponse, RegistrationsUpdateOptionalParams, RegistrationsUpdateResponse, RegistrationsGetActivationKeyOptionalParams, RegistrationsGetActivationKeyResponse, RegistrationsEnableRemoteManagementOptionalParams } from "../models";
2
+ import { Registration, RegistrationsListOptionalParams, RegistrationsListBySubscriptionOptionalParams, RegistrationsGetOptionalParams, RegistrationsGetResponse, RegistrationsDeleteOptionalParams, RegistrationParameter, RegistrationsCreateOrUpdateOptionalParams, RegistrationsCreateOrUpdateResponse, RegistrationsUpdateOptionalParams, RegistrationsUpdateResponse, RegistrationsGetActivationKeyOptionalParams, RegistrationsGetActivationKeyResponse, RegistrationsEnableRemoteManagementOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a Registrations. */
4
4
  export interface Registrations {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/registrations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,YAAY,EACZ,+BAA+B,EAC/B,6CAA6C,EAC7C,8BAA8B,EAC9B,wBAAwB,EACxB,iCAAiC,EACjC,qBAAqB,EACrB,yCAAyC,EACzC,mCAAmC,EACnC,iCAAiC,EACjC,2BAA2B,EAC3B,2CAA2C,EAC3C,qCAAqC,EACrC,iDAAiD,EAClD,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,IAAI,CACF,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,+BAA+B,GACxC,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;;;OAKG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;OAKG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,cAAc,CACZ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;;OAMG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;OAKG;IACH,gBAAgB,CACd,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;OAKG;IACH,sBAAsB,CACpB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/registrations.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 {\n Registration,\n RegistrationsListOptionalParams,\n RegistrationsListBySubscriptionOptionalParams,\n RegistrationsGetOptionalParams,\n RegistrationsGetResponse,\n RegistrationsDeleteOptionalParams,\n RegistrationParameter,\n RegistrationsCreateOrUpdateOptionalParams,\n RegistrationsCreateOrUpdateResponse,\n RegistrationsUpdateOptionalParams,\n RegistrationsUpdateResponse,\n RegistrationsGetActivationKeyOptionalParams,\n RegistrationsGetActivationKeyResponse,\n RegistrationsEnableRemoteManagementOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Registrations. */\nexport interface Registrations {\n /**\n * Returns a list of all registrations.\n * @param resourceGroup Name of the resource group.\n * @param options The options parameters.\n */\n list(\n resourceGroup: string,\n options?: RegistrationsListOptionalParams\n ): PagedAsyncIterableIterator<Registration>;\n /**\n * Returns a list of all registrations under current subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: RegistrationsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Registration>;\n /**\n * Returns the properties of an Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n get(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsGetOptionalParams\n ): Promise<RegistrationsGetResponse>;\n /**\n * Delete the requested Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n delete(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Create or update an Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param token Registration token\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroup: string,\n registrationName: string,\n token: RegistrationParameter,\n options?: RegistrationsCreateOrUpdateOptionalParams\n ): Promise<RegistrationsCreateOrUpdateResponse>;\n /**\n * Patch an Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param token Registration token\n * @param options The options parameters.\n */\n update(\n resourceGroup: string,\n registrationName: string,\n token: RegistrationParameter,\n options?: RegistrationsUpdateOptionalParams\n ): Promise<RegistrationsUpdateResponse>;\n /**\n * Returns Azure Stack Activation Key.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n getActivationKey(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsGetActivationKeyOptionalParams\n ): Promise<RegistrationsGetActivationKeyResponse>;\n /**\n * Enables remote management for device under the Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n enableRemoteManagement(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsEnableRemoteManagementOptionalParams\n ): Promise<void>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given a result page from a pageable operation, returns a
6
+ * continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page A result object from calling .byPage() on a paged operation.
9
+ * @returns The continuation token that can be passed into byPage().
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -0,0 +1,30 @@
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
+ const pageMap = new WeakMap();
9
+ /**
10
+ * Given a result page from a pageable operation, returns a
11
+ * continuation token that can be used to begin paging from
12
+ * that point later.
13
+ * @param page A result object from calling .byPage() on a paged operation.
14
+ * @returns The continuation token that can be passed into byPage().
15
+ */
16
+ export function getContinuationToken(page) {
17
+ if (typeof page !== "object" || page === null) {
18
+ return undefined;
19
+ }
20
+ return pageMap.get(page)?.continuationToken;
21
+ }
22
+ export function setContinuationToken(page, continuationToken) {
23
+ if (typeof page !== "object" || page === null || !continuationToken) {
24
+ return;
25
+ }
26
+ const pageInfo = pageMap.get(page) ?? {};
27
+ pageInfo.continuationToken = continuationToken;
28
+ pageMap.set(page, pageInfo);
29
+ }
30
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -0,0 +1,26 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Operations, CloudManifestFile, CustomerSubscriptions, Products, Registrations, LinkedSubscriptions } from "./operationsInterfaces/index.js";
4
+ import { AzureStackManagementClientOptionalParams } from "./models/index.js";
5
+ export declare class AzureStackManagementClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the AzureStackManagementClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId Subscription credentials that uniquely identify Microsoft Azure subscription.
13
+ * The subscription ID forms part of the URI for every service call.
14
+ * @param options The parameter options
15
+ */
16
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureStackManagementClientOptionalParams);
17
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
18
+ private addCustomApiVersionPolicy;
19
+ operations: Operations;
20
+ cloudManifestFile: CloudManifestFile;
21
+ customerSubscriptions: CustomerSubscriptions;
22
+ products: Products;
23
+ registrations: Registrations;
24
+ linkedSubscriptions: LinkedSubscriptions;
25
+ }
26
+ //# sourceMappingURL=azureStackManagementClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureStackManagementClient.d.ts","sourceRoot":"","sources":["../../src/azureStackManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAS7C,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,aAAa,EACb,mBAAmB,EACpB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,wCAAwC,EAAE,MAAM,mBAAmB,CAAC;AAE7E,qBAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wCAAwC;IAiFpD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;IAC7B,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C"}
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.AzureStackManagementClient = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
14
+ const index_js_1 = require("./operations/index.js");
15
+ class AzureStackManagementClient extends coreClient.ServiceClient {
16
+ $host;
17
+ apiVersion;
18
+ subscriptionId;
19
+ /**
20
+ * Initializes a new instance of the AzureStackManagementClient class.
21
+ * @param credentials Subscription credentials which uniquely identify client subscription.
22
+ * @param subscriptionId Subscription credentials that uniquely identify Microsoft Azure subscription.
23
+ * The subscription ID forms part of the URI for every service call.
24
+ * @param options The parameter options
25
+ */
26
+ constructor(credentials, subscriptionId, options) {
27
+ if (credentials === undefined) {
28
+ throw new Error("'credentials' cannot be null");
29
+ }
30
+ if (subscriptionId === undefined) {
31
+ throw new Error("'subscriptionId' cannot be null");
32
+ }
33
+ // Initializing default values for options
34
+ if (!options) {
35
+ options = {};
36
+ }
37
+ const defaults = {
38
+ requestContentType: "application/json; charset=utf-8",
39
+ credential: credentials
40
+ };
41
+ const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.6`;
42
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
43
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
44
+ : `${packageDetails}`;
45
+ const optionsWithDefaults = {
46
+ ...defaults,
47
+ ...options,
48
+ userAgentOptions: {
49
+ userAgentPrefix
50
+ },
51
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
52
+ };
53
+ super(optionsWithDefaults);
54
+ let bearerTokenAuthenticationPolicyFound = false;
55
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
56
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
57
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
58
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
59
+ }
60
+ if (!options ||
61
+ !options.pipeline ||
62
+ options.pipeline.getOrderedPolicies().length == 0 ||
63
+ !bearerTokenAuthenticationPolicyFound) {
64
+ this.pipeline.removePolicy({
65
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
66
+ });
67
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
68
+ credential: credentials,
69
+ scopes: optionsWithDefaults.credentialScopes ??
70
+ `${optionsWithDefaults.endpoint}/.default`,
71
+ challengeCallbacks: {
72
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
73
+ }
74
+ }));
75
+ }
76
+ // Parameter assignments
77
+ this.subscriptionId = subscriptionId;
78
+ // Assigning values to Constant parameters
79
+ this.$host = options.$host || "https://management.azure.com";
80
+ this.apiVersion = options.apiVersion || "2020-06-01-preview";
81
+ this.operations = new index_js_1.OperationsImpl(this);
82
+ this.cloudManifestFile = new index_js_1.CloudManifestFileImpl(this);
83
+ this.customerSubscriptions = new index_js_1.CustomerSubscriptionsImpl(this);
84
+ this.products = new index_js_1.ProductsImpl(this);
85
+ this.registrations = new index_js_1.RegistrationsImpl(this);
86
+ this.linkedSubscriptions = new index_js_1.LinkedSubscriptionsImpl(this);
87
+ this.addCustomApiVersionPolicy(options.apiVersion);
88
+ }
89
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
90
+ addCustomApiVersionPolicy(apiVersion) {
91
+ if (!apiVersion) {
92
+ return;
93
+ }
94
+ const apiVersionPolicy = {
95
+ name: "CustomApiVersionPolicy",
96
+ async sendRequest(request, next) {
97
+ const param = request.url.split("?");
98
+ if (param.length > 1) {
99
+ const newParams = param[1].split("&").map((item) => {
100
+ if (item.indexOf("api-version") > -1) {
101
+ return "api-version=" + apiVersion;
102
+ }
103
+ else {
104
+ return item;
105
+ }
106
+ });
107
+ request.url = param[0] + "?" + newParams.join("&");
108
+ }
109
+ return next(request);
110
+ }
111
+ };
112
+ this.pipeline.addPolicy(apiVersionPolicy);
113
+ }
114
+ operations;
115
+ cloudManifestFile;
116
+ customerSubscriptions;
117
+ products;
118
+ registrations;
119
+ linkedSubscriptions;
120
+ }
121
+ exports.AzureStackManagementClient = AzureStackManagementClient;
122
+ //# sourceMappingURL=azureStackManagementClient.js.map