@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
package/dist/index.js DELETED
@@ -1,3033 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var coreClient = require('@azure/core-client');
6
- var tslib = require('tslib');
7
-
8
- function _interopNamespace(e) {
9
- if (e && e.__esModule) return e;
10
- var n = Object.create(null);
11
- if (e) {
12
- Object.keys(e).forEach(function (k) {
13
- if (k !== 'default') {
14
- var d = Object.getOwnPropertyDescriptor(e, k);
15
- Object.defineProperty(n, k, d.get ? d : {
16
- enumerable: true,
17
- get: function () { return e[k]; }
18
- });
19
- }
20
- });
21
- }
22
- n["default"] = e;
23
- return Object.freeze(n);
24
- }
25
-
26
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
27
-
28
- /*
29
- * Copyright (c) Microsoft Corporation.
30
- * Licensed under the MIT License.
31
- *
32
- * Code generated by Microsoft (R) AutoRest Code Generator.
33
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
34
- */
35
- /** Known values of {@link CreatedByType} that the service accepts. */
36
- exports.KnownCreatedByType = void 0;
37
- (function (KnownCreatedByType) {
38
- KnownCreatedByType["User"] = "User";
39
- KnownCreatedByType["Application"] = "Application";
40
- KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
41
- KnownCreatedByType["Key"] = "Key";
42
- })(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
43
- /** Known values of {@link CompatibilityIssue} that the service accepts. */
44
- exports.KnownCompatibilityIssue = void 0;
45
- (function (KnownCompatibilityIssue) {
46
- KnownCompatibilityIssue["HigherDeviceVersionRequired"] = "HigherDeviceVersionRequired";
47
- KnownCompatibilityIssue["LowerDeviceVersionRequired"] = "LowerDeviceVersionRequired";
48
- KnownCompatibilityIssue["CapacityBillingModelRequired"] = "CapacityBillingModelRequired";
49
- KnownCompatibilityIssue["PayAsYouGoBillingModelRequired"] = "PayAsYouGoBillingModelRequired";
50
- KnownCompatibilityIssue["DevelopmentBillingModelRequired"] = "DevelopmentBillingModelRequired";
51
- KnownCompatibilityIssue["AzureADIdentitySystemRequired"] = "AzureADIdentitySystemRequired";
52
- KnownCompatibilityIssue["AdfsIdentitySystemRequired"] = "ADFSIdentitySystemRequired";
53
- KnownCompatibilityIssue["ConnectionToInternetRequired"] = "ConnectionToInternetRequired";
54
- KnownCompatibilityIssue["ConnectionToAzureRequired"] = "ConnectionToAzureRequired";
55
- KnownCompatibilityIssue["DisconnectedEnvironmentRequired"] = "DisconnectedEnvironmentRequired";
56
- })(exports.KnownCompatibilityIssue || (exports.KnownCompatibilityIssue = {}));
57
- /** Known values of {@link ComputeRole} that the service accepts. */
58
- exports.KnownComputeRole = void 0;
59
- (function (KnownComputeRole) {
60
- KnownComputeRole["None"] = "None";
61
- KnownComputeRole["IaaS"] = "IaaS";
62
- KnownComputeRole["PaaS"] = "PaaS";
63
- })(exports.KnownComputeRole || (exports.KnownComputeRole = {}));
64
- /** Known values of {@link OperatingSystem} that the service accepts. */
65
- exports.KnownOperatingSystem = void 0;
66
- (function (KnownOperatingSystem) {
67
- KnownOperatingSystem["None"] = "None";
68
- KnownOperatingSystem["Windows"] = "Windows";
69
- KnownOperatingSystem["Linux"] = "Linux";
70
- })(exports.KnownOperatingSystem || (exports.KnownOperatingSystem = {}));
71
- /** Known values of {@link Category} that the service accepts. */
72
- exports.KnownCategory = void 0;
73
- (function (KnownCategory) {
74
- KnownCategory["AzureAD"] = "AzureAD";
75
- KnownCategory["Adfs"] = "ADFS";
76
- })(exports.KnownCategory || (exports.KnownCategory = {}));
77
- /** Known values of {@link Location} that the service accepts. */
78
- exports.KnownLocation = void 0;
79
- (function (KnownLocation) {
80
- KnownLocation["Global"] = "global";
81
- })(exports.KnownLocation || (exports.KnownLocation = {}));
82
-
83
- /*
84
- * Copyright (c) Microsoft Corporation.
85
- * Licensed under the MIT License.
86
- *
87
- * Code generated by Microsoft (R) AutoRest Code Generator.
88
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
89
- */
90
- const OperationList = {
91
- type: {
92
- name: "Composite",
93
- className: "OperationList",
94
- modelProperties: {
95
- value: {
96
- serializedName: "value",
97
- type: {
98
- name: "Sequence",
99
- element: {
100
- type: {
101
- name: "Composite",
102
- className: "Operation"
103
- }
104
- }
105
- }
106
- },
107
- nextLink: {
108
- serializedName: "nextLink",
109
- type: {
110
- name: "String"
111
- }
112
- }
113
- }
114
- }
115
- };
116
- const Operation = {
117
- type: {
118
- name: "Composite",
119
- className: "Operation",
120
- modelProperties: {
121
- name: {
122
- serializedName: "name",
123
- type: {
124
- name: "String"
125
- }
126
- },
127
- display: {
128
- serializedName: "display",
129
- type: {
130
- name: "Composite",
131
- className: "Display"
132
- }
133
- },
134
- origin: {
135
- serializedName: "origin",
136
- type: {
137
- name: "String"
138
- }
139
- }
140
- }
141
- }
142
- };
143
- const Display = {
144
- type: {
145
- name: "Composite",
146
- className: "Display",
147
- modelProperties: {
148
- provider: {
149
- serializedName: "provider",
150
- type: {
151
- name: "String"
152
- }
153
- },
154
- resource: {
155
- serializedName: "resource",
156
- type: {
157
- name: "String"
158
- }
159
- },
160
- operation: {
161
- serializedName: "operation",
162
- type: {
163
- name: "String"
164
- }
165
- },
166
- description: {
167
- serializedName: "description",
168
- type: {
169
- name: "String"
170
- }
171
- }
172
- }
173
- }
174
- };
175
- const ErrorResponse = {
176
- type: {
177
- name: "Composite",
178
- className: "ErrorResponse",
179
- modelProperties: {
180
- error: {
181
- serializedName: "error",
182
- type: {
183
- name: "Composite",
184
- className: "ErrorDetails"
185
- }
186
- }
187
- }
188
- }
189
- };
190
- const ErrorDetails = {
191
- type: {
192
- name: "Composite",
193
- className: "ErrorDetails",
194
- modelProperties: {
195
- code: {
196
- serializedName: "code",
197
- readOnly: true,
198
- type: {
199
- name: "String"
200
- }
201
- },
202
- message: {
203
- serializedName: "message",
204
- readOnly: true,
205
- type: {
206
- name: "String"
207
- }
208
- },
209
- target: {
210
- serializedName: "target",
211
- readOnly: true,
212
- type: {
213
- name: "String"
214
- }
215
- }
216
- }
217
- }
218
- };
219
- const CloudManifestFileProperties = {
220
- type: {
221
- name: "Composite",
222
- className: "CloudManifestFileProperties",
223
- modelProperties: {
224
- deploymentData: {
225
- serializedName: "deploymentData",
226
- type: {
227
- name: "Composite",
228
- className: "CloudManifestFileDeploymentData"
229
- }
230
- },
231
- signature: {
232
- serializedName: "signature",
233
- type: {
234
- name: "String"
235
- }
236
- }
237
- }
238
- }
239
- };
240
- const CloudManifestFileDeploymentData = {
241
- type: {
242
- name: "Composite",
243
- className: "CloudManifestFileDeploymentData",
244
- modelProperties: {
245
- externalDsmsCertificates: {
246
- serializedName: "externalDsmsCertificates",
247
- type: {
248
- name: "String"
249
- }
250
- },
251
- customCloudVerificationKey: {
252
- serializedName: "customCloudVerificationKey",
253
- type: {
254
- name: "String"
255
- }
256
- },
257
- customCloudArmEndpoint: {
258
- serializedName: "customEnvironmentEndpoints.customCloudArmEndpoint",
259
- type: {
260
- name: "String"
261
- }
262
- },
263
- externalDsmsEndpoint: {
264
- serializedName: "customEnvironmentEndpoints.externalDsmsEndpoint",
265
- type: {
266
- name: "String"
267
- }
268
- }
269
- }
270
- }
271
- };
272
- const Resource = {
273
- type: {
274
- name: "Composite",
275
- className: "Resource",
276
- modelProperties: {
277
- id: {
278
- serializedName: "id",
279
- readOnly: true,
280
- type: {
281
- name: "String"
282
- }
283
- },
284
- name: {
285
- serializedName: "name",
286
- readOnly: true,
287
- type: {
288
- name: "String"
289
- }
290
- },
291
- type: {
292
- serializedName: "type",
293
- readOnly: true,
294
- type: {
295
- name: "String"
296
- }
297
- },
298
- etag: {
299
- serializedName: "etag",
300
- type: {
301
- name: "String"
302
- }
303
- }
304
- }
305
- }
306
- };
307
- const CustomerSubscriptionList = {
308
- type: {
309
- name: "Composite",
310
- className: "CustomerSubscriptionList",
311
- modelProperties: {
312
- nextLink: {
313
- serializedName: "nextLink",
314
- type: {
315
- name: "String"
316
- }
317
- },
318
- value: {
319
- serializedName: "value",
320
- type: {
321
- name: "Sequence",
322
- element: {
323
- type: {
324
- name: "Composite",
325
- className: "CustomerSubscription"
326
- }
327
- }
328
- }
329
- }
330
- }
331
- }
332
- };
333
- const SystemData = {
334
- type: {
335
- name: "Composite",
336
- className: "SystemData",
337
- modelProperties: {
338
- createdBy: {
339
- serializedName: "createdBy",
340
- type: {
341
- name: "String"
342
- }
343
- },
344
- createdByType: {
345
- serializedName: "createdByType",
346
- type: {
347
- name: "String"
348
- }
349
- },
350
- createdAt: {
351
- serializedName: "createdAt",
352
- type: {
353
- name: "DateTime"
354
- }
355
- },
356
- lastModifiedBy: {
357
- serializedName: "lastModifiedBy",
358
- type: {
359
- name: "String"
360
- }
361
- },
362
- lastModifiedByType: {
363
- serializedName: "lastModifiedByType",
364
- type: {
365
- name: "String"
366
- }
367
- },
368
- lastModifiedAt: {
369
- serializedName: "lastModifiedAt",
370
- type: {
371
- name: "DateTime"
372
- }
373
- }
374
- }
375
- }
376
- };
377
- const ProductList = {
378
- type: {
379
- name: "Composite",
380
- className: "ProductList",
381
- modelProperties: {
382
- nextLink: {
383
- serializedName: "nextLink",
384
- type: {
385
- name: "String"
386
- }
387
- },
388
- value: {
389
- serializedName: "value",
390
- type: {
391
- name: "Sequence",
392
- element: {
393
- type: {
394
- name: "Composite",
395
- className: "Product"
396
- }
397
- }
398
- }
399
- }
400
- }
401
- }
402
- };
403
- const IconUris = {
404
- type: {
405
- name: "Composite",
406
- className: "IconUris",
407
- modelProperties: {
408
- large: {
409
- serializedName: "large",
410
- type: {
411
- name: "String"
412
- }
413
- },
414
- wide: {
415
- serializedName: "wide",
416
- type: {
417
- name: "String"
418
- }
419
- },
420
- medium: {
421
- serializedName: "medium",
422
- type: {
423
- name: "String"
424
- }
425
- },
426
- small: {
427
- serializedName: "small",
428
- type: {
429
- name: "String"
430
- }
431
- },
432
- hero: {
433
- serializedName: "hero",
434
- type: {
435
- name: "String"
436
- }
437
- }
438
- }
439
- }
440
- };
441
- const ProductLink = {
442
- type: {
443
- name: "Composite",
444
- className: "ProductLink",
445
- modelProperties: {
446
- displayName: {
447
- serializedName: "displayName",
448
- type: {
449
- name: "String"
450
- }
451
- },
452
- uri: {
453
- serializedName: "uri",
454
- type: {
455
- name: "String"
456
- }
457
- }
458
- }
459
- }
460
- };
461
- const ProductProperties = {
462
- type: {
463
- name: "Composite",
464
- className: "ProductProperties",
465
- modelProperties: {
466
- version: {
467
- serializedName: "version",
468
- type: {
469
- name: "String"
470
- }
471
- }
472
- }
473
- }
474
- };
475
- const Compatibility = {
476
- type: {
477
- name: "Composite",
478
- className: "Compatibility",
479
- modelProperties: {
480
- isCompatible: {
481
- serializedName: "isCompatible",
482
- type: {
483
- name: "Boolean"
484
- }
485
- },
486
- message: {
487
- serializedName: "message",
488
- type: {
489
- name: "String"
490
- }
491
- },
492
- description: {
493
- serializedName: "description",
494
- type: {
495
- name: "String"
496
- }
497
- },
498
- issues: {
499
- serializedName: "issues",
500
- type: {
501
- name: "Sequence",
502
- element: {
503
- type: {
504
- name: "String"
505
- }
506
- }
507
- }
508
- }
509
- }
510
- }
511
- };
512
- const ExtendedProduct = {
513
- type: {
514
- name: "Composite",
515
- className: "ExtendedProduct",
516
- modelProperties: {
517
- galleryPackageBlobSasUri: {
518
- serializedName: "galleryPackageBlobSasUri",
519
- readOnly: true,
520
- type: {
521
- name: "String"
522
- }
523
- },
524
- productKind: {
525
- serializedName: "productKind",
526
- readOnly: true,
527
- type: {
528
- name: "String"
529
- }
530
- },
531
- computeRole: {
532
- serializedName: "properties.computeRole",
533
- readOnly: true,
534
- type: {
535
- name: "String"
536
- }
537
- },
538
- isSystemExtension: {
539
- serializedName: "properties.isSystemExtension",
540
- readOnly: true,
541
- type: {
542
- name: "Boolean"
543
- }
544
- },
545
- supportMultipleExtensions: {
546
- serializedName: "properties.supportMultipleExtensions",
547
- readOnly: true,
548
- type: {
549
- name: "Boolean"
550
- }
551
- },
552
- versionPropertiesVersion: {
553
- serializedName: "properties.version",
554
- readOnly: true,
555
- type: {
556
- name: "String"
557
- }
558
- },
559
- vmOsType: {
560
- serializedName: "properties.vmOsType",
561
- readOnly: true,
562
- type: {
563
- name: "String"
564
- }
565
- },
566
- vmScaleSetEnabled: {
567
- serializedName: "properties.vmScaleSetEnabled",
568
- readOnly: true,
569
- type: {
570
- name: "Boolean"
571
- }
572
- },
573
- uri: {
574
- serializedName: "properties.sourceBlob.uri",
575
- readOnly: true,
576
- type: {
577
- name: "String"
578
- }
579
- },
580
- version: {
581
- serializedName: "properties.version",
582
- readOnly: true,
583
- type: {
584
- name: "String"
585
- }
586
- },
587
- osDiskImage: {
588
- serializedName: "properties.osDiskImage",
589
- type: {
590
- name: "Composite",
591
- className: "OsDiskImage"
592
- }
593
- },
594
- dataDiskImages: {
595
- serializedName: "properties.dataDiskImages",
596
- readOnly: true,
597
- type: {
598
- name: "Sequence",
599
- element: {
600
- type: {
601
- name: "Composite",
602
- className: "DataDiskImage"
603
- }
604
- }
605
- }
606
- }
607
- }
608
- }
609
- };
610
- const VirtualMachineExtensionProductProperties = {
611
- type: {
612
- name: "Composite",
613
- className: "VirtualMachineExtensionProductProperties",
614
- modelProperties: {
615
- computeRole: {
616
- serializedName: "computeRole",
617
- readOnly: true,
618
- type: {
619
- name: "String"
620
- }
621
- },
622
- isSystemExtension: {
623
- serializedName: "isSystemExtension",
624
- readOnly: true,
625
- type: {
626
- name: "Boolean"
627
- }
628
- },
629
- supportMultipleExtensions: {
630
- serializedName: "supportMultipleExtensions",
631
- readOnly: true,
632
- type: {
633
- name: "Boolean"
634
- }
635
- },
636
- version: {
637
- serializedName: "version",
638
- readOnly: true,
639
- type: {
640
- name: "String"
641
- }
642
- },
643
- vmOsType: {
644
- serializedName: "vmOsType",
645
- readOnly: true,
646
- type: {
647
- name: "String"
648
- }
649
- },
650
- vmScaleSetEnabled: {
651
- serializedName: "vmScaleSetEnabled",
652
- readOnly: true,
653
- type: {
654
- name: "Boolean"
655
- }
656
- },
657
- uri: {
658
- serializedName: "sourceBlob.uri",
659
- readOnly: true,
660
- type: {
661
- name: "String"
662
- }
663
- }
664
- }
665
- }
666
- };
667
- const VirtualMachineProductProperties = {
668
- type: {
669
- name: "Composite",
670
- className: "VirtualMachineProductProperties",
671
- modelProperties: {
672
- version: {
673
- serializedName: "version",
674
- readOnly: true,
675
- type: {
676
- name: "String"
677
- }
678
- },
679
- osDiskImage: {
680
- serializedName: "osDiskImage",
681
- type: {
682
- name: "Composite",
683
- className: "OsDiskImage"
684
- }
685
- },
686
- dataDiskImages: {
687
- serializedName: "dataDiskImages",
688
- readOnly: true,
689
- type: {
690
- name: "Sequence",
691
- element: {
692
- type: {
693
- name: "Composite",
694
- className: "DataDiskImage"
695
- }
696
- }
697
- }
698
- }
699
- }
700
- }
701
- };
702
- const OsDiskImage = {
703
- type: {
704
- name: "Composite",
705
- className: "OsDiskImage",
706
- modelProperties: {
707
- operatingSystem: {
708
- serializedName: "operatingSystem",
709
- readOnly: true,
710
- type: {
711
- name: "String"
712
- }
713
- },
714
- sourceBlobSasUri: {
715
- serializedName: "sourceBlobSasUri",
716
- readOnly: true,
717
- type: {
718
- name: "String"
719
- }
720
- }
721
- }
722
- }
723
- };
724
- const DataDiskImage = {
725
- type: {
726
- name: "Composite",
727
- className: "DataDiskImage",
728
- modelProperties: {
729
- lun: {
730
- serializedName: "lun",
731
- readOnly: true,
732
- type: {
733
- name: "Number"
734
- }
735
- },
736
- sourceBlobSasUri: {
737
- serializedName: "sourceBlobSasUri",
738
- readOnly: true,
739
- type: {
740
- name: "String"
741
- }
742
- }
743
- }
744
- }
745
- };
746
- const DeviceConfiguration = {
747
- type: {
748
- name: "Composite",
749
- className: "DeviceConfiguration",
750
- modelProperties: {
751
- deviceVersion: {
752
- serializedName: "deviceVersion",
753
- readOnly: true,
754
- type: {
755
- name: "String"
756
- }
757
- },
758
- identitySystem: {
759
- serializedName: "identitySystem",
760
- readOnly: true,
761
- type: {
762
- name: "String"
763
- }
764
- }
765
- }
766
- }
767
- };
768
- const MarketplaceProductLogUpdate = {
769
- type: {
770
- name: "Composite",
771
- className: "MarketplaceProductLogUpdate",
772
- modelProperties: {
773
- operation: {
774
- serializedName: "operation",
775
- readOnly: true,
776
- type: {
777
- name: "String"
778
- }
779
- },
780
- status: {
781
- serializedName: "status",
782
- readOnly: true,
783
- type: {
784
- name: "String"
785
- }
786
- },
787
- error: {
788
- serializedName: "error",
789
- readOnly: true,
790
- type: {
791
- name: "String"
792
- }
793
- },
794
- details: {
795
- serializedName: "details",
796
- readOnly: true,
797
- type: {
798
- name: "String"
799
- }
800
- }
801
- }
802
- }
803
- };
804
- const ProductLog = {
805
- type: {
806
- name: "Composite",
807
- className: "ProductLog",
808
- modelProperties: {
809
- id: {
810
- serializedName: "id",
811
- readOnly: true,
812
- type: {
813
- name: "String"
814
- }
815
- },
816
- productId: {
817
- serializedName: "productId",
818
- readOnly: true,
819
- type: {
820
- name: "String"
821
- }
822
- },
823
- subscriptionId: {
824
- serializedName: "subscriptionId",
825
- readOnly: true,
826
- type: {
827
- name: "String"
828
- }
829
- },
830
- registrationName: {
831
- serializedName: "registrationName",
832
- readOnly: true,
833
- type: {
834
- name: "String"
835
- }
836
- },
837
- resourceGroupName: {
838
- serializedName: "resourceGroupName",
839
- readOnly: true,
840
- type: {
841
- name: "String"
842
- }
843
- },
844
- operation: {
845
- serializedName: "operation",
846
- readOnly: true,
847
- type: {
848
- name: "String"
849
- }
850
- },
851
- startDate: {
852
- serializedName: "startDate",
853
- readOnly: true,
854
- type: {
855
- name: "String"
856
- }
857
- },
858
- endDate: {
859
- serializedName: "endDate",
860
- readOnly: true,
861
- type: {
862
- name: "String"
863
- }
864
- },
865
- status: {
866
- serializedName: "status",
867
- readOnly: true,
868
- type: {
869
- name: "String"
870
- }
871
- },
872
- error: {
873
- serializedName: "error",
874
- readOnly: true,
875
- type: {
876
- name: "String"
877
- }
878
- },
879
- details: {
880
- serializedName: "details",
881
- readOnly: true,
882
- type: {
883
- name: "String"
884
- }
885
- }
886
- }
887
- }
888
- };
889
- const RegistrationList = {
890
- type: {
891
- name: "Composite",
892
- className: "RegistrationList",
893
- modelProperties: {
894
- nextLink: {
895
- serializedName: "nextLink",
896
- type: {
897
- name: "String"
898
- }
899
- },
900
- value: {
901
- serializedName: "value",
902
- type: {
903
- name: "Sequence",
904
- element: {
905
- type: {
906
- name: "Composite",
907
- className: "Registration"
908
- }
909
- }
910
- }
911
- }
912
- }
913
- }
914
- };
915
- const TrackedResource = {
916
- type: {
917
- name: "Composite",
918
- className: "TrackedResource",
919
- modelProperties: {
920
- id: {
921
- serializedName: "id",
922
- readOnly: true,
923
- type: {
924
- name: "String"
925
- }
926
- },
927
- name: {
928
- serializedName: "name",
929
- readOnly: true,
930
- type: {
931
- name: "String"
932
- }
933
- },
934
- type: {
935
- serializedName: "type",
936
- readOnly: true,
937
- type: {
938
- name: "String"
939
- }
940
- },
941
- kind: {
942
- serializedName: "kind",
943
- readOnly: true,
944
- type: {
945
- name: "String"
946
- }
947
- },
948
- systemData: {
949
- serializedName: "systemData",
950
- type: {
951
- name: "Composite",
952
- className: "SystemData"
953
- }
954
- },
955
- location: {
956
- serializedName: "location",
957
- required: true,
958
- type: {
959
- name: "String"
960
- }
961
- },
962
- tags: {
963
- serializedName: "tags",
964
- type: {
965
- name: "Dictionary",
966
- value: { type: { name: "String" } }
967
- }
968
- },
969
- etag: {
970
- serializedName: "etag",
971
- type: {
972
- name: "String"
973
- }
974
- }
975
- }
976
- }
977
- };
978
- const RegistrationParameter = {
979
- type: {
980
- name: "Composite",
981
- className: "RegistrationParameter",
982
- modelProperties: {
983
- location: {
984
- serializedName: "location",
985
- required: true,
986
- type: {
987
- name: "String"
988
- }
989
- },
990
- registrationToken: {
991
- serializedName: "properties.registrationToken",
992
- required: true,
993
- type: {
994
- name: "String"
995
- }
996
- }
997
- }
998
- }
999
- };
1000
- const ActivationKeyResult = {
1001
- type: {
1002
- name: "Composite",
1003
- className: "ActivationKeyResult",
1004
- modelProperties: {
1005
- activationKey: {
1006
- serializedName: "activationKey",
1007
- type: {
1008
- name: "String"
1009
- }
1010
- }
1011
- }
1012
- }
1013
- };
1014
- const LinkedSubscriptionsList = {
1015
- type: {
1016
- name: "Composite",
1017
- className: "LinkedSubscriptionsList",
1018
- modelProperties: {
1019
- nextLink: {
1020
- serializedName: "nextLink",
1021
- type: {
1022
- name: "String"
1023
- }
1024
- },
1025
- value: {
1026
- serializedName: "value",
1027
- type: {
1028
- name: "Sequence",
1029
- element: {
1030
- type: {
1031
- name: "Composite",
1032
- className: "LinkedSubscription"
1033
- }
1034
- }
1035
- }
1036
- }
1037
- }
1038
- }
1039
- };
1040
- const LinkedSubscriptionParameter = {
1041
- type: {
1042
- name: "Composite",
1043
- className: "LinkedSubscriptionParameter",
1044
- modelProperties: {
1045
- location: {
1046
- serializedName: "location",
1047
- required: true,
1048
- type: {
1049
- name: "String"
1050
- }
1051
- },
1052
- linkedSubscriptionId: {
1053
- serializedName: "properties.linkedSubscriptionId",
1054
- required: true,
1055
- type: {
1056
- name: "String"
1057
- }
1058
- },
1059
- registrationResourceId: {
1060
- serializedName: "properties.registrationResourceId",
1061
- required: true,
1062
- type: {
1063
- name: "String"
1064
- }
1065
- }
1066
- }
1067
- }
1068
- };
1069
- const CloudManifestFileResponse = {
1070
- type: {
1071
- name: "Composite",
1072
- className: "CloudManifestFileResponse",
1073
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { properties: {
1074
- serializedName: "properties",
1075
- type: {
1076
- name: "Composite",
1077
- className: "CloudManifestFileProperties"
1078
- }
1079
- } })
1080
- }
1081
- };
1082
- const CustomerSubscription = {
1083
- type: {
1084
- name: "Composite",
1085
- className: "CustomerSubscription",
1086
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { systemData: {
1087
- serializedName: "systemData",
1088
- type: {
1089
- name: "Composite",
1090
- className: "SystemData"
1091
- }
1092
- }, tenantId: {
1093
- serializedName: "properties.tenantId",
1094
- type: {
1095
- name: "String"
1096
- }
1097
- } })
1098
- }
1099
- };
1100
- const Product = {
1101
- type: {
1102
- name: "Composite",
1103
- className: "Product",
1104
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { systemData: {
1105
- serializedName: "systemData",
1106
- type: {
1107
- name: "Composite",
1108
- className: "SystemData"
1109
- }
1110
- }, displayName: {
1111
- serializedName: "properties.displayName",
1112
- type: {
1113
- name: "String"
1114
- }
1115
- }, description: {
1116
- serializedName: "properties.description",
1117
- type: {
1118
- name: "String"
1119
- }
1120
- }, publisherDisplayName: {
1121
- serializedName: "properties.publisherDisplayName",
1122
- type: {
1123
- name: "String"
1124
- }
1125
- }, publisherIdentifier: {
1126
- serializedName: "properties.publisherIdentifier",
1127
- type: {
1128
- name: "String"
1129
- }
1130
- }, offer: {
1131
- serializedName: "properties.offer",
1132
- type: {
1133
- name: "String"
1134
- }
1135
- }, offerVersion: {
1136
- serializedName: "properties.offerVersion",
1137
- type: {
1138
- name: "String"
1139
- }
1140
- }, sku: {
1141
- serializedName: "properties.sku",
1142
- type: {
1143
- name: "String"
1144
- }
1145
- }, billingPartNumber: {
1146
- serializedName: "properties.billingPartNumber",
1147
- type: {
1148
- name: "String"
1149
- }
1150
- }, vmExtensionType: {
1151
- serializedName: "properties.vmExtensionType",
1152
- type: {
1153
- name: "String"
1154
- }
1155
- }, galleryItemIdentity: {
1156
- serializedName: "properties.galleryItemIdentity",
1157
- type: {
1158
- name: "String"
1159
- }
1160
- }, iconUris: {
1161
- serializedName: "properties.iconUris",
1162
- type: {
1163
- name: "Composite",
1164
- className: "IconUris"
1165
- }
1166
- }, links: {
1167
- serializedName: "properties.links",
1168
- type: {
1169
- name: "Sequence",
1170
- element: {
1171
- type: {
1172
- name: "Composite",
1173
- className: "ProductLink"
1174
- }
1175
- }
1176
- }
1177
- }, legalTerms: {
1178
- serializedName: "properties.legalTerms",
1179
- type: {
1180
- name: "String"
1181
- }
1182
- }, privacyPolicy: {
1183
- serializedName: "properties.privacyPolicy",
1184
- type: {
1185
- name: "String"
1186
- }
1187
- }, payloadLength: {
1188
- serializedName: "properties.payloadLength",
1189
- type: {
1190
- name: "Number"
1191
- }
1192
- }, productKind: {
1193
- serializedName: "properties.productKind",
1194
- type: {
1195
- name: "String"
1196
- }
1197
- }, productProperties: {
1198
- serializedName: "properties.productProperties",
1199
- type: {
1200
- name: "Composite",
1201
- className: "ProductProperties"
1202
- }
1203
- }, compatibility: {
1204
- serializedName: "properties.compatibility",
1205
- type: {
1206
- name: "Composite",
1207
- className: "Compatibility"
1208
- }
1209
- } })
1210
- }
1211
- };
1212
- const ExtendedProductProperties = {
1213
- type: {
1214
- name: "Composite",
1215
- className: "ExtendedProductProperties",
1216
- modelProperties: Object.assign(Object.assign({}, VirtualMachineExtensionProductProperties.type.modelProperties), VirtualMachineProductProperties.type.modelProperties)
1217
- }
1218
- };
1219
- const Registration = {
1220
- type: {
1221
- name: "Composite",
1222
- className: "Registration",
1223
- modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { objectId: {
1224
- serializedName: "properties.objectId",
1225
- type: {
1226
- name: "String"
1227
- }
1228
- }, cloudId: {
1229
- serializedName: "properties.cloudId",
1230
- type: {
1231
- name: "String"
1232
- }
1233
- }, billingModel: {
1234
- serializedName: "properties.billingModel",
1235
- type: {
1236
- name: "String"
1237
- }
1238
- } })
1239
- }
1240
- };
1241
- const LinkedSubscription = {
1242
- type: {
1243
- name: "Composite",
1244
- className: "LinkedSubscription",
1245
- modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { linkedSubscriptionId: {
1246
- serializedName: "properties.linkedSubscriptionId",
1247
- type: {
1248
- name: "String"
1249
- }
1250
- }, registrationResourceId: {
1251
- serializedName: "properties.registrationResourceId",
1252
- type: {
1253
- name: "String"
1254
- }
1255
- }, deviceId: {
1256
- serializedName: "properties.deviceId",
1257
- readOnly: true,
1258
- type: {
1259
- name: "String"
1260
- }
1261
- }, deviceObjectId: {
1262
- serializedName: "properties.deviceObjectId",
1263
- readOnly: true,
1264
- type: {
1265
- name: "String"
1266
- }
1267
- }, deviceLinkState: {
1268
- serializedName: "properties.deviceLinkState",
1269
- readOnly: true,
1270
- type: {
1271
- name: "String"
1272
- }
1273
- }, lastConnectedTime: {
1274
- serializedName: "properties.lastConnectedTime",
1275
- readOnly: true,
1276
- type: {
1277
- name: "String"
1278
- }
1279
- }, deviceConnectionStatus: {
1280
- serializedName: "properties.deviceConnectionStatus",
1281
- readOnly: true,
1282
- type: {
1283
- name: "String"
1284
- }
1285
- } })
1286
- }
1287
- };
1288
-
1289
- var Mappers = /*#__PURE__*/Object.freeze({
1290
- __proto__: null,
1291
- OperationList: OperationList,
1292
- Operation: Operation,
1293
- Display: Display,
1294
- ErrorResponse: ErrorResponse,
1295
- ErrorDetails: ErrorDetails,
1296
- CloudManifestFileProperties: CloudManifestFileProperties,
1297
- CloudManifestFileDeploymentData: CloudManifestFileDeploymentData,
1298
- Resource: Resource,
1299
- CustomerSubscriptionList: CustomerSubscriptionList,
1300
- SystemData: SystemData,
1301
- ProductList: ProductList,
1302
- IconUris: IconUris,
1303
- ProductLink: ProductLink,
1304
- ProductProperties: ProductProperties,
1305
- Compatibility: Compatibility,
1306
- ExtendedProduct: ExtendedProduct,
1307
- VirtualMachineExtensionProductProperties: VirtualMachineExtensionProductProperties,
1308
- VirtualMachineProductProperties: VirtualMachineProductProperties,
1309
- OsDiskImage: OsDiskImage,
1310
- DataDiskImage: DataDiskImage,
1311
- DeviceConfiguration: DeviceConfiguration,
1312
- MarketplaceProductLogUpdate: MarketplaceProductLogUpdate,
1313
- ProductLog: ProductLog,
1314
- RegistrationList: RegistrationList,
1315
- TrackedResource: TrackedResource,
1316
- RegistrationParameter: RegistrationParameter,
1317
- ActivationKeyResult: ActivationKeyResult,
1318
- LinkedSubscriptionsList: LinkedSubscriptionsList,
1319
- LinkedSubscriptionParameter: LinkedSubscriptionParameter,
1320
- CloudManifestFileResponse: CloudManifestFileResponse,
1321
- CustomerSubscription: CustomerSubscription,
1322
- Product: Product,
1323
- ExtendedProductProperties: ExtendedProductProperties,
1324
- Registration: Registration,
1325
- LinkedSubscription: LinkedSubscription
1326
- });
1327
-
1328
- /*
1329
- * Copyright (c) Microsoft Corporation.
1330
- * Licensed under the MIT License.
1331
- *
1332
- * Code generated by Microsoft (R) AutoRest Code Generator.
1333
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1334
- */
1335
- const accept = {
1336
- parameterPath: "accept",
1337
- mapper: {
1338
- defaultValue: "application/json",
1339
- isConstant: true,
1340
- serializedName: "Accept",
1341
- type: {
1342
- name: "String"
1343
- }
1344
- }
1345
- };
1346
- const $host = {
1347
- parameterPath: "$host",
1348
- mapper: {
1349
- serializedName: "$host",
1350
- required: true,
1351
- type: {
1352
- name: "String"
1353
- }
1354
- },
1355
- skipEncoding: true
1356
- };
1357
- const apiVersion = {
1358
- parameterPath: "apiVersion",
1359
- mapper: {
1360
- defaultValue: "2020-06-01-preview",
1361
- isConstant: true,
1362
- serializedName: "api-version",
1363
- type: {
1364
- name: "String"
1365
- }
1366
- }
1367
- };
1368
- const nextLink = {
1369
- parameterPath: "nextLink",
1370
- mapper: {
1371
- serializedName: "nextLink",
1372
- required: true,
1373
- type: {
1374
- name: "String"
1375
- }
1376
- },
1377
- skipEncoding: true
1378
- };
1379
- const verificationVersion = {
1380
- parameterPath: "verificationVersion",
1381
- mapper: {
1382
- serializedName: "verificationVersion",
1383
- required: true,
1384
- type: {
1385
- name: "String"
1386
- }
1387
- }
1388
- };
1389
- const versionCreationDate = {
1390
- parameterPath: ["options", "versionCreationDate"],
1391
- mapper: {
1392
- serializedName: "versionCreationDate",
1393
- type: {
1394
- name: "String"
1395
- }
1396
- }
1397
- };
1398
- const subscriptionId = {
1399
- parameterPath: "subscriptionId",
1400
- mapper: {
1401
- serializedName: "subscriptionId",
1402
- required: true,
1403
- type: {
1404
- name: "String"
1405
- }
1406
- }
1407
- };
1408
- const resourceGroup = {
1409
- parameterPath: "resourceGroup",
1410
- mapper: {
1411
- serializedName: "resourceGroup",
1412
- required: true,
1413
- type: {
1414
- name: "String"
1415
- }
1416
- }
1417
- };
1418
- const registrationName = {
1419
- parameterPath: "registrationName",
1420
- mapper: {
1421
- serializedName: "registrationName",
1422
- required: true,
1423
- type: {
1424
- name: "String"
1425
- }
1426
- }
1427
- };
1428
- const customerSubscriptionName = {
1429
- parameterPath: "customerSubscriptionName",
1430
- mapper: {
1431
- serializedName: "customerSubscriptionName",
1432
- required: true,
1433
- type: {
1434
- name: "String"
1435
- }
1436
- }
1437
- };
1438
- const contentType = {
1439
- parameterPath: ["options", "contentType"],
1440
- mapper: {
1441
- defaultValue: "application/json",
1442
- isConstant: true,
1443
- serializedName: "Content-Type",
1444
- type: {
1445
- name: "String"
1446
- }
1447
- }
1448
- };
1449
- const customerCreationParameters = {
1450
- parameterPath: "customerCreationParameters",
1451
- mapper: CustomerSubscription
1452
- };
1453
- const productName = {
1454
- parameterPath: "productName",
1455
- mapper: {
1456
- serializedName: "productName",
1457
- required: true,
1458
- type: {
1459
- name: "String"
1460
- }
1461
- }
1462
- };
1463
- const deviceConfiguration = {
1464
- parameterPath: ["options", "deviceConfiguration"],
1465
- mapper: DeviceConfiguration
1466
- };
1467
- const marketplaceProductLogUpdate = {
1468
- parameterPath: ["options", "marketplaceProductLogUpdate"],
1469
- mapper: MarketplaceProductLogUpdate
1470
- };
1471
- const token = {
1472
- parameterPath: "token",
1473
- mapper: RegistrationParameter
1474
- };
1475
- const linkedSubscriptionName = {
1476
- parameterPath: "linkedSubscriptionName",
1477
- mapper: {
1478
- serializedName: "linkedSubscriptionName",
1479
- required: true,
1480
- type: {
1481
- name: "String"
1482
- }
1483
- }
1484
- };
1485
- const resource = {
1486
- parameterPath: "resource",
1487
- mapper: LinkedSubscriptionParameter
1488
- };
1489
-
1490
- /*
1491
- * Copyright (c) Microsoft Corporation.
1492
- * Licensed under the MIT License.
1493
- *
1494
- * Code generated by Microsoft (R) AutoRest Code Generator.
1495
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1496
- */
1497
- /// <reference lib="esnext.asynciterable" />
1498
- /** Class containing Operations operations. */
1499
- class OperationsImpl {
1500
- /**
1501
- * Initialize a new instance of the class Operations class.
1502
- * @param client Reference to the service client
1503
- */
1504
- constructor(client) {
1505
- this.client = client;
1506
- }
1507
- /**
1508
- * Returns the list of supported REST operations.
1509
- * @param options The options parameters.
1510
- */
1511
- list(options) {
1512
- const iter = this.listPagingAll(options);
1513
- return {
1514
- next() {
1515
- return iter.next();
1516
- },
1517
- [Symbol.asyncIterator]() {
1518
- return this;
1519
- },
1520
- byPage: () => {
1521
- return this.listPagingPage(options);
1522
- }
1523
- };
1524
- }
1525
- listPagingPage(options) {
1526
- return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
1527
- let result = yield tslib.__await(this._list(options));
1528
- yield yield tslib.__await(result.value || []);
1529
- let continuationToken = result.nextLink;
1530
- while (continuationToken) {
1531
- result = yield tslib.__await(this._listNext(continuationToken, options));
1532
- continuationToken = result.nextLink;
1533
- yield yield tslib.__await(result.value || []);
1534
- }
1535
- });
1536
- }
1537
- listPagingAll(options) {
1538
- return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1539
- var e_1, _a;
1540
- try {
1541
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1542
- const page = _c.value;
1543
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1544
- }
1545
- }
1546
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1547
- finally {
1548
- try {
1549
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1550
- }
1551
- finally { if (e_1) throw e_1.error; }
1552
- }
1553
- });
1554
- }
1555
- /**
1556
- * Returns the list of supported REST operations.
1557
- * @param options The options parameters.
1558
- */
1559
- _list(options) {
1560
- return this.client.sendOperationRequest({ options }, listOperationSpec$4);
1561
- }
1562
- /**
1563
- * ListNext
1564
- * @param nextLink The nextLink from the previous successful call to the List method.
1565
- * @param options The options parameters.
1566
- */
1567
- _listNext(nextLink, options) {
1568
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$3);
1569
- }
1570
- }
1571
- // Operation Specifications
1572
- const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1573
- const listOperationSpec$4 = {
1574
- path: "/providers/Microsoft.AzureStack/operations",
1575
- httpMethod: "GET",
1576
- responses: {
1577
- 200: {
1578
- bodyMapper: OperationList
1579
- },
1580
- default: {
1581
- bodyMapper: ErrorResponse
1582
- }
1583
- },
1584
- queryParameters: [apiVersion],
1585
- urlParameters: [$host],
1586
- headerParameters: [accept],
1587
- serializer: serializer$5
1588
- };
1589
- const listNextOperationSpec$3 = {
1590
- path: "{nextLink}",
1591
- httpMethod: "GET",
1592
- responses: {
1593
- 200: {
1594
- bodyMapper: OperationList
1595
- },
1596
- default: {
1597
- bodyMapper: ErrorResponse
1598
- }
1599
- },
1600
- queryParameters: [apiVersion],
1601
- urlParameters: [$host, nextLink],
1602
- headerParameters: [accept],
1603
- serializer: serializer$5
1604
- };
1605
-
1606
- /*
1607
- * Copyright (c) Microsoft Corporation.
1608
- * Licensed under the MIT License.
1609
- *
1610
- * Code generated by Microsoft (R) AutoRest Code Generator.
1611
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1612
- */
1613
- /** Class containing CloudManifestFile operations. */
1614
- class CloudManifestFileImpl {
1615
- /**
1616
- * Initialize a new instance of the class CloudManifestFile class.
1617
- * @param client Reference to the service client
1618
- */
1619
- constructor(client) {
1620
- this.client = client;
1621
- }
1622
- /**
1623
- * Returns a cloud specific manifest JSON file with latest version.
1624
- * @param options The options parameters.
1625
- */
1626
- list(options) {
1627
- return this.client.sendOperationRequest({ options }, listOperationSpec$3);
1628
- }
1629
- /**
1630
- * Returns a cloud specific manifest JSON file.
1631
- * @param verificationVersion Signing verification key version.
1632
- * @param options The options parameters.
1633
- */
1634
- get(verificationVersion, options) {
1635
- return this.client.sendOperationRequest({ verificationVersion, options }, getOperationSpec$4);
1636
- }
1637
- }
1638
- // Operation Specifications
1639
- const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1640
- const listOperationSpec$3 = {
1641
- path: "/providers/Microsoft.AzureStack/cloudManifestFiles",
1642
- httpMethod: "GET",
1643
- responses: {
1644
- 200: {
1645
- bodyMapper: CloudManifestFileResponse
1646
- },
1647
- default: {
1648
- bodyMapper: ErrorResponse
1649
- }
1650
- },
1651
- queryParameters: [apiVersion],
1652
- urlParameters: [$host],
1653
- headerParameters: [accept],
1654
- serializer: serializer$4
1655
- };
1656
- const getOperationSpec$4 = {
1657
- path: "/providers/Microsoft.AzureStack/cloudManifestFiles/{verificationVersion}",
1658
- httpMethod: "GET",
1659
- responses: {
1660
- 200: {
1661
- bodyMapper: CloudManifestFileResponse
1662
- },
1663
- default: {
1664
- bodyMapper: ErrorResponse
1665
- }
1666
- },
1667
- queryParameters: [apiVersion, versionCreationDate],
1668
- urlParameters: [$host, verificationVersion],
1669
- headerParameters: [accept],
1670
- serializer: serializer$4
1671
- };
1672
-
1673
- /*
1674
- * Copyright (c) Microsoft Corporation.
1675
- * Licensed under the MIT License.
1676
- *
1677
- * Code generated by Microsoft (R) AutoRest Code Generator.
1678
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1679
- */
1680
- /// <reference lib="esnext.asynciterable" />
1681
- /** Class containing CustomerSubscriptions operations. */
1682
- class CustomerSubscriptionsImpl {
1683
- /**
1684
- * Initialize a new instance of the class CustomerSubscriptions class.
1685
- * @param client Reference to the service client
1686
- */
1687
- constructor(client) {
1688
- this.client = client;
1689
- }
1690
- /**
1691
- * Returns a list of products.
1692
- * @param resourceGroup Name of the resource group.
1693
- * @param registrationName Name of the Azure Stack registration.
1694
- * @param options The options parameters.
1695
- */
1696
- list(resourceGroup, registrationName, options) {
1697
- const iter = this.listPagingAll(resourceGroup, registrationName, options);
1698
- return {
1699
- next() {
1700
- return iter.next();
1701
- },
1702
- [Symbol.asyncIterator]() {
1703
- return this;
1704
- },
1705
- byPage: () => {
1706
- return this.listPagingPage(resourceGroup, registrationName, options);
1707
- }
1708
- };
1709
- }
1710
- listPagingPage(resourceGroup, registrationName, options) {
1711
- return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
1712
- let result = yield tslib.__await(this._list(resourceGroup, registrationName, options));
1713
- yield yield tslib.__await(result.value || []);
1714
- let continuationToken = result.nextLink;
1715
- while (continuationToken) {
1716
- result = yield tslib.__await(this._listNext(resourceGroup, registrationName, continuationToken, options));
1717
- continuationToken = result.nextLink;
1718
- yield yield tslib.__await(result.value || []);
1719
- }
1720
- });
1721
- }
1722
- listPagingAll(resourceGroup, registrationName, options) {
1723
- return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1724
- var e_1, _a;
1725
- try {
1726
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceGroup, registrationName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1727
- const page = _c.value;
1728
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1729
- }
1730
- }
1731
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1732
- finally {
1733
- try {
1734
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1735
- }
1736
- finally { if (e_1) throw e_1.error; }
1737
- }
1738
- });
1739
- }
1740
- /**
1741
- * Returns a list of products.
1742
- * @param resourceGroup Name of the resource group.
1743
- * @param registrationName Name of the Azure Stack registration.
1744
- * @param options The options parameters.
1745
- */
1746
- _list(resourceGroup, registrationName, options) {
1747
- return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, listOperationSpec$2);
1748
- }
1749
- /**
1750
- * Returns the specified product.
1751
- * @param resourceGroup Name of the resource group.
1752
- * @param registrationName Name of the Azure Stack registration.
1753
- * @param customerSubscriptionName Name of the product.
1754
- * @param options The options parameters.
1755
- */
1756
- get(resourceGroup, registrationName, customerSubscriptionName, options) {
1757
- return this.client.sendOperationRequest({ resourceGroup, registrationName, customerSubscriptionName, options }, getOperationSpec$3);
1758
- }
1759
- /**
1760
- * Deletes a customer subscription under a registration.
1761
- * @param resourceGroup Name of the resource group.
1762
- * @param registrationName Name of the Azure Stack registration.
1763
- * @param customerSubscriptionName Name of the product.
1764
- * @param options The options parameters.
1765
- */
1766
- delete(resourceGroup, registrationName, customerSubscriptionName, options) {
1767
- return this.client.sendOperationRequest({ resourceGroup, registrationName, customerSubscriptionName, options }, deleteOperationSpec$2);
1768
- }
1769
- /**
1770
- * Creates a new customer subscription under a registration.
1771
- * @param resourceGroup Name of the resource group.
1772
- * @param registrationName Name of the Azure Stack registration.
1773
- * @param customerSubscriptionName Name of the product.
1774
- * @param customerCreationParameters Parameters use to create a customer subscription.
1775
- * @param options The options parameters.
1776
- */
1777
- create(resourceGroup, registrationName, customerSubscriptionName, customerCreationParameters, options) {
1778
- return this.client.sendOperationRequest({
1779
- resourceGroup,
1780
- registrationName,
1781
- customerSubscriptionName,
1782
- customerCreationParameters,
1783
- options
1784
- }, createOperationSpec);
1785
- }
1786
- /**
1787
- * ListNext
1788
- * @param resourceGroup Name of the resource group.
1789
- * @param registrationName Name of the Azure Stack registration.
1790
- * @param nextLink The nextLink from the previous successful call to the List method.
1791
- * @param options The options parameters.
1792
- */
1793
- _listNext(resourceGroup, registrationName, nextLink, options) {
1794
- return this.client.sendOperationRequest({ resourceGroup, registrationName, nextLink, options }, listNextOperationSpec$2);
1795
- }
1796
- }
1797
- // Operation Specifications
1798
- const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1799
- const listOperationSpec$2 = {
1800
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions",
1801
- httpMethod: "GET",
1802
- responses: {
1803
- 200: {
1804
- bodyMapper: CustomerSubscriptionList
1805
- },
1806
- default: {
1807
- bodyMapper: ErrorResponse
1808
- }
1809
- },
1810
- queryParameters: [apiVersion],
1811
- urlParameters: [
1812
- $host,
1813
- subscriptionId,
1814
- resourceGroup,
1815
- registrationName
1816
- ],
1817
- headerParameters: [accept],
1818
- serializer: serializer$3
1819
- };
1820
- const getOperationSpec$3 = {
1821
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}",
1822
- httpMethod: "GET",
1823
- responses: {
1824
- 200: {
1825
- bodyMapper: CustomerSubscription
1826
- },
1827
- default: {
1828
- bodyMapper: ErrorResponse
1829
- }
1830
- },
1831
- queryParameters: [apiVersion],
1832
- urlParameters: [
1833
- $host,
1834
- subscriptionId,
1835
- resourceGroup,
1836
- registrationName,
1837
- customerSubscriptionName
1838
- ],
1839
- headerParameters: [accept],
1840
- serializer: serializer$3
1841
- };
1842
- const deleteOperationSpec$2 = {
1843
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}",
1844
- httpMethod: "DELETE",
1845
- responses: {
1846
- 200: {},
1847
- 204: {},
1848
- default: {
1849
- bodyMapper: ErrorResponse
1850
- }
1851
- },
1852
- queryParameters: [apiVersion],
1853
- urlParameters: [
1854
- $host,
1855
- subscriptionId,
1856
- resourceGroup,
1857
- registrationName,
1858
- customerSubscriptionName
1859
- ],
1860
- headerParameters: [accept],
1861
- serializer: serializer$3
1862
- };
1863
- const createOperationSpec = {
1864
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}",
1865
- httpMethod: "PUT",
1866
- responses: {
1867
- 200: {
1868
- bodyMapper: CustomerSubscription
1869
- },
1870
- default: {
1871
- bodyMapper: ErrorResponse
1872
- }
1873
- },
1874
- requestBody: customerCreationParameters,
1875
- queryParameters: [apiVersion],
1876
- urlParameters: [
1877
- $host,
1878
- subscriptionId,
1879
- resourceGroup,
1880
- registrationName,
1881
- customerSubscriptionName
1882
- ],
1883
- headerParameters: [accept, contentType],
1884
- mediaType: "json",
1885
- serializer: serializer$3
1886
- };
1887
- const listNextOperationSpec$2 = {
1888
- path: "{nextLink}",
1889
- httpMethod: "GET",
1890
- responses: {
1891
- 200: {
1892
- bodyMapper: CustomerSubscriptionList
1893
- },
1894
- default: {
1895
- bodyMapper: ErrorResponse
1896
- }
1897
- },
1898
- queryParameters: [apiVersion],
1899
- urlParameters: [
1900
- $host,
1901
- nextLink,
1902
- subscriptionId,
1903
- resourceGroup,
1904
- registrationName
1905
- ],
1906
- headerParameters: [accept],
1907
- serializer: serializer$3
1908
- };
1909
-
1910
- /*
1911
- * Copyright (c) Microsoft Corporation.
1912
- * Licensed under the MIT License.
1913
- *
1914
- * Code generated by Microsoft (R) AutoRest Code Generator.
1915
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1916
- */
1917
- /// <reference lib="esnext.asynciterable" />
1918
- /** Class containing Products operations. */
1919
- class ProductsImpl {
1920
- /**
1921
- * Initialize a new instance of the class Products class.
1922
- * @param client Reference to the service client
1923
- */
1924
- constructor(client) {
1925
- this.client = client;
1926
- }
1927
- /**
1928
- * Returns a list of products.
1929
- * @param resourceGroup Name of the resource group.
1930
- * @param registrationName Name of the Azure Stack registration.
1931
- * @param options The options parameters.
1932
- */
1933
- list(resourceGroup, registrationName, options) {
1934
- const iter = this.listPagingAll(resourceGroup, registrationName, options);
1935
- return {
1936
- next() {
1937
- return iter.next();
1938
- },
1939
- [Symbol.asyncIterator]() {
1940
- return this;
1941
- },
1942
- byPage: () => {
1943
- return this.listPagingPage(resourceGroup, registrationName, options);
1944
- }
1945
- };
1946
- }
1947
- listPagingPage(resourceGroup, registrationName, options) {
1948
- return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
1949
- let result = yield tslib.__await(this._list(resourceGroup, registrationName, options));
1950
- yield yield tslib.__await(result.value || []);
1951
- let continuationToken = result.nextLink;
1952
- while (continuationToken) {
1953
- result = yield tslib.__await(this._listNext(resourceGroup, registrationName, continuationToken, options));
1954
- continuationToken = result.nextLink;
1955
- yield yield tslib.__await(result.value || []);
1956
- }
1957
- });
1958
- }
1959
- listPagingAll(resourceGroup, registrationName, options) {
1960
- return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1961
- var e_1, _a;
1962
- try {
1963
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceGroup, registrationName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1964
- const page = _c.value;
1965
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1966
- }
1967
- }
1968
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1969
- finally {
1970
- try {
1971
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1972
- }
1973
- finally { if (e_1) throw e_1.error; }
1974
- }
1975
- });
1976
- }
1977
- /**
1978
- * Returns a list of products.
1979
- * @param resourceGroup Name of the resource group.
1980
- * @param registrationName Name of the Azure Stack registration.
1981
- * @param options The options parameters.
1982
- */
1983
- _list(resourceGroup, registrationName, options) {
1984
- return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, listOperationSpec$1);
1985
- }
1986
- /**
1987
- * Returns the specified product.
1988
- * @param resourceGroup Name of the resource group.
1989
- * @param registrationName Name of the Azure Stack registration.
1990
- * @param productName Name of the product.
1991
- * @param options The options parameters.
1992
- */
1993
- get(resourceGroup, registrationName, productName, options) {
1994
- return this.client.sendOperationRequest({ resourceGroup, registrationName, productName, options }, getOperationSpec$2);
1995
- }
1996
- /**
1997
- * Returns the extended properties of a product.
1998
- * @param resourceGroup Name of the resource group.
1999
- * @param registrationName Name of the Azure Stack registration.
2000
- * @param productName Name of the product.
2001
- * @param options The options parameters.
2002
- */
2003
- listDetails(resourceGroup, registrationName, productName, options) {
2004
- return this.client.sendOperationRequest({ resourceGroup, registrationName, productName, options }, listDetailsOperationSpec);
2005
- }
2006
- /**
2007
- * Returns a list of products.
2008
- * @param resourceGroup Name of the resource group.
2009
- * @param registrationName Name of the Azure Stack registration.
2010
- * @param productName Name of the product.
2011
- * @param options The options parameters.
2012
- */
2013
- getProducts(resourceGroup, registrationName, productName, options) {
2014
- return this.client.sendOperationRequest({ resourceGroup, registrationName, productName, options }, getProductsOperationSpec);
2015
- }
2016
- /**
2017
- * Returns the specified product.
2018
- * @param resourceGroup Name of the resource group.
2019
- * @param registrationName Name of the Azure Stack registration.
2020
- * @param productName Name of the product.
2021
- * @param options The options parameters.
2022
- */
2023
- getProduct(resourceGroup, registrationName, productName, options) {
2024
- return this.client.sendOperationRequest({ resourceGroup, registrationName, productName, options }, getProductOperationSpec);
2025
- }
2026
- /**
2027
- * Returns the specified product.
2028
- * @param resourceGroup Name of the resource group.
2029
- * @param registrationName Name of the Azure Stack registration.
2030
- * @param productName Name of the product.
2031
- * @param options The options parameters.
2032
- */
2033
- uploadLog(resourceGroup, registrationName, productName, options) {
2034
- return this.client.sendOperationRequest({ resourceGroup, registrationName, productName, options }, uploadLogOperationSpec);
2035
- }
2036
- /**
2037
- * ListNext
2038
- * @param resourceGroup Name of the resource group.
2039
- * @param registrationName Name of the Azure Stack registration.
2040
- * @param nextLink The nextLink from the previous successful call to the List method.
2041
- * @param options The options parameters.
2042
- */
2043
- _listNext(resourceGroup, registrationName, nextLink, options) {
2044
- return this.client.sendOperationRequest({ resourceGroup, registrationName, nextLink, options }, listNextOperationSpec$1);
2045
- }
2046
- }
2047
- // Operation Specifications
2048
- const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2049
- const listOperationSpec$1 = {
2050
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products",
2051
- httpMethod: "GET",
2052
- responses: {
2053
- 200: {
2054
- bodyMapper: ProductList
2055
- },
2056
- default: {
2057
- bodyMapper: ErrorResponse
2058
- }
2059
- },
2060
- queryParameters: [apiVersion],
2061
- urlParameters: [
2062
- $host,
2063
- subscriptionId,
2064
- resourceGroup,
2065
- registrationName
2066
- ],
2067
- headerParameters: [accept],
2068
- serializer: serializer$2
2069
- };
2070
- const getOperationSpec$2 = {
2071
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}",
2072
- httpMethod: "GET",
2073
- responses: {
2074
- 200: {
2075
- bodyMapper: Product
2076
- },
2077
- default: {
2078
- bodyMapper: ErrorResponse
2079
- }
2080
- },
2081
- queryParameters: [apiVersion],
2082
- urlParameters: [
2083
- $host,
2084
- subscriptionId,
2085
- resourceGroup,
2086
- registrationName,
2087
- productName
2088
- ],
2089
- headerParameters: [accept],
2090
- serializer: serializer$2
2091
- };
2092
- const listDetailsOperationSpec = {
2093
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/listDetails",
2094
- httpMethod: "POST",
2095
- responses: {
2096
- 200: {
2097
- bodyMapper: ExtendedProduct
2098
- },
2099
- default: {
2100
- bodyMapper: ErrorResponse
2101
- }
2102
- },
2103
- queryParameters: [apiVersion],
2104
- urlParameters: [
2105
- $host,
2106
- subscriptionId,
2107
- resourceGroup,
2108
- registrationName,
2109
- productName
2110
- ],
2111
- headerParameters: [accept],
2112
- serializer: serializer$2
2113
- };
2114
- const getProductsOperationSpec = {
2115
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/getProducts",
2116
- httpMethod: "POST",
2117
- responses: {
2118
- 200: {
2119
- bodyMapper: ProductList
2120
- },
2121
- default: {
2122
- bodyMapper: ErrorResponse
2123
- }
2124
- },
2125
- requestBody: deviceConfiguration,
2126
- queryParameters: [apiVersion],
2127
- urlParameters: [
2128
- $host,
2129
- subscriptionId,
2130
- resourceGroup,
2131
- registrationName,
2132
- productName
2133
- ],
2134
- headerParameters: [accept, contentType],
2135
- mediaType: "json",
2136
- serializer: serializer$2
2137
- };
2138
- const getProductOperationSpec = {
2139
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/getProduct",
2140
- httpMethod: "POST",
2141
- responses: {
2142
- 200: {
2143
- bodyMapper: Product
2144
- },
2145
- default: {
2146
- bodyMapper: ErrorResponse
2147
- }
2148
- },
2149
- requestBody: deviceConfiguration,
2150
- queryParameters: [apiVersion],
2151
- urlParameters: [
2152
- $host,
2153
- subscriptionId,
2154
- resourceGroup,
2155
- registrationName,
2156
- productName
2157
- ],
2158
- headerParameters: [accept, contentType],
2159
- mediaType: "json",
2160
- serializer: serializer$2
2161
- };
2162
- const uploadLogOperationSpec = {
2163
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/uploadProductLog",
2164
- httpMethod: "POST",
2165
- responses: {
2166
- 200: {
2167
- bodyMapper: ProductLog
2168
- },
2169
- default: {
2170
- bodyMapper: ErrorResponse
2171
- }
2172
- },
2173
- requestBody: marketplaceProductLogUpdate,
2174
- queryParameters: [apiVersion],
2175
- urlParameters: [
2176
- $host,
2177
- subscriptionId,
2178
- resourceGroup,
2179
- registrationName,
2180
- productName
2181
- ],
2182
- headerParameters: [accept, contentType],
2183
- mediaType: "json",
2184
- serializer: serializer$2
2185
- };
2186
- const listNextOperationSpec$1 = {
2187
- path: "{nextLink}",
2188
- httpMethod: "GET",
2189
- responses: {
2190
- 200: {
2191
- bodyMapper: ProductList
2192
- },
2193
- default: {
2194
- bodyMapper: ErrorResponse
2195
- }
2196
- },
2197
- queryParameters: [apiVersion],
2198
- urlParameters: [
2199
- $host,
2200
- nextLink,
2201
- subscriptionId,
2202
- resourceGroup,
2203
- registrationName
2204
- ],
2205
- headerParameters: [accept],
2206
- serializer: serializer$2
2207
- };
2208
-
2209
- /*
2210
- * Copyright (c) Microsoft Corporation.
2211
- * Licensed under the MIT License.
2212
- *
2213
- * Code generated by Microsoft (R) AutoRest Code Generator.
2214
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2215
- */
2216
- /// <reference lib="esnext.asynciterable" />
2217
- /** Class containing Registrations operations. */
2218
- class RegistrationsImpl {
2219
- /**
2220
- * Initialize a new instance of the class Registrations class.
2221
- * @param client Reference to the service client
2222
- */
2223
- constructor(client) {
2224
- this.client = client;
2225
- }
2226
- /**
2227
- * Returns a list of all registrations.
2228
- * @param resourceGroup Name of the resource group.
2229
- * @param options The options parameters.
2230
- */
2231
- list(resourceGroup, options) {
2232
- const iter = this.listPagingAll(resourceGroup, options);
2233
- return {
2234
- next() {
2235
- return iter.next();
2236
- },
2237
- [Symbol.asyncIterator]() {
2238
- return this;
2239
- },
2240
- byPage: () => {
2241
- return this.listPagingPage(resourceGroup, options);
2242
- }
2243
- };
2244
- }
2245
- listPagingPage(resourceGroup, options) {
2246
- return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
2247
- let result = yield tslib.__await(this._list(resourceGroup, options));
2248
- yield yield tslib.__await(result.value || []);
2249
- let continuationToken = result.nextLink;
2250
- while (continuationToken) {
2251
- result = yield tslib.__await(this._listNext(resourceGroup, continuationToken, options));
2252
- continuationToken = result.nextLink;
2253
- yield yield tslib.__await(result.value || []);
2254
- }
2255
- });
2256
- }
2257
- listPagingAll(resourceGroup, options) {
2258
- return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2259
- var e_1, _a;
2260
- try {
2261
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceGroup, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2262
- const page = _c.value;
2263
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2264
- }
2265
- }
2266
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2267
- finally {
2268
- try {
2269
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2270
- }
2271
- finally { if (e_1) throw e_1.error; }
2272
- }
2273
- });
2274
- }
2275
- /**
2276
- * Returns a list of all registrations under current subscription.
2277
- * @param options The options parameters.
2278
- */
2279
- listBySubscription(options) {
2280
- const iter = this.listBySubscriptionPagingAll(options);
2281
- return {
2282
- next() {
2283
- return iter.next();
2284
- },
2285
- [Symbol.asyncIterator]() {
2286
- return this;
2287
- },
2288
- byPage: () => {
2289
- return this.listBySubscriptionPagingPage(options);
2290
- }
2291
- };
2292
- }
2293
- listBySubscriptionPagingPage(options) {
2294
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
2295
- let result = yield tslib.__await(this._listBySubscription(options));
2296
- yield yield tslib.__await(result.value || []);
2297
- let continuationToken = result.nextLink;
2298
- while (continuationToken) {
2299
- result = yield tslib.__await(this._listBySubscriptionNext(continuationToken, options));
2300
- continuationToken = result.nextLink;
2301
- yield yield tslib.__await(result.value || []);
2302
- }
2303
- });
2304
- }
2305
- listBySubscriptionPagingAll(options) {
2306
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
2307
- var e_2, _a;
2308
- try {
2309
- for (var _b = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2310
- const page = _c.value;
2311
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2312
- }
2313
- }
2314
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
2315
- finally {
2316
- try {
2317
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2318
- }
2319
- finally { if (e_2) throw e_2.error; }
2320
- }
2321
- });
2322
- }
2323
- /**
2324
- * Returns a list of all registrations.
2325
- * @param resourceGroup Name of the resource group.
2326
- * @param options The options parameters.
2327
- */
2328
- _list(resourceGroup, options) {
2329
- return this.client.sendOperationRequest({ resourceGroup, options }, listOperationSpec);
2330
- }
2331
- /**
2332
- * Returns a list of all registrations under current subscription.
2333
- * @param options The options parameters.
2334
- */
2335
- _listBySubscription(options) {
2336
- return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$1);
2337
- }
2338
- /**
2339
- * Returns the properties of an Azure Stack registration.
2340
- * @param resourceGroup Name of the resource group.
2341
- * @param registrationName Name of the Azure Stack registration.
2342
- * @param options The options parameters.
2343
- */
2344
- get(resourceGroup, registrationName, options) {
2345
- return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, getOperationSpec$1);
2346
- }
2347
- /**
2348
- * Delete the requested Azure Stack registration.
2349
- * @param resourceGroup Name of the resource group.
2350
- * @param registrationName Name of the Azure Stack registration.
2351
- * @param options The options parameters.
2352
- */
2353
- delete(resourceGroup, registrationName, options) {
2354
- return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, deleteOperationSpec$1);
2355
- }
2356
- /**
2357
- * Create or update an Azure Stack registration.
2358
- * @param resourceGroup Name of the resource group.
2359
- * @param registrationName Name of the Azure Stack registration.
2360
- * @param token Registration token
2361
- * @param options The options parameters.
2362
- */
2363
- createOrUpdate(resourceGroup, registrationName, token, options) {
2364
- return this.client.sendOperationRequest({ resourceGroup, registrationName, token, options }, createOrUpdateOperationSpec$1);
2365
- }
2366
- /**
2367
- * Patch an Azure Stack registration.
2368
- * @param resourceGroup Name of the resource group.
2369
- * @param registrationName Name of the Azure Stack registration.
2370
- * @param token Registration token
2371
- * @param options The options parameters.
2372
- */
2373
- update(resourceGroup, registrationName, token, options) {
2374
- return this.client.sendOperationRequest({ resourceGroup, registrationName, token, options }, updateOperationSpec$1);
2375
- }
2376
- /**
2377
- * Returns Azure Stack Activation Key.
2378
- * @param resourceGroup Name of the resource group.
2379
- * @param registrationName Name of the Azure Stack registration.
2380
- * @param options The options parameters.
2381
- */
2382
- getActivationKey(resourceGroup, registrationName, options) {
2383
- return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, getActivationKeyOperationSpec);
2384
- }
2385
- /**
2386
- * Enables remote management for device under the Azure Stack registration.
2387
- * @param resourceGroup Name of the resource group.
2388
- * @param registrationName Name of the Azure Stack registration.
2389
- * @param options The options parameters.
2390
- */
2391
- enableRemoteManagement(resourceGroup, registrationName, options) {
2392
- return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, enableRemoteManagementOperationSpec);
2393
- }
2394
- /**
2395
- * ListNext
2396
- * @param resourceGroup Name of the resource group.
2397
- * @param nextLink The nextLink from the previous successful call to the List method.
2398
- * @param options The options parameters.
2399
- */
2400
- _listNext(resourceGroup, nextLink, options) {
2401
- return this.client.sendOperationRequest({ resourceGroup, nextLink, options }, listNextOperationSpec);
2402
- }
2403
- /**
2404
- * ListBySubscriptionNext
2405
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
2406
- * @param options The options parameters.
2407
- */
2408
- _listBySubscriptionNext(nextLink, options) {
2409
- return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec$1);
2410
- }
2411
- }
2412
- // Operation Specifications
2413
- const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2414
- const listOperationSpec = {
2415
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations",
2416
- httpMethod: "GET",
2417
- responses: {
2418
- 200: {
2419
- bodyMapper: RegistrationList
2420
- },
2421
- default: {
2422
- bodyMapper: ErrorResponse
2423
- }
2424
- },
2425
- queryParameters: [apiVersion],
2426
- urlParameters: [
2427
- $host,
2428
- subscriptionId,
2429
- resourceGroup
2430
- ],
2431
- headerParameters: [accept],
2432
- serializer: serializer$1
2433
- };
2434
- const listBySubscriptionOperationSpec$1 = {
2435
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations",
2436
- httpMethod: "GET",
2437
- responses: {
2438
- 200: {
2439
- bodyMapper: RegistrationList
2440
- },
2441
- default: {
2442
- bodyMapper: ErrorResponse
2443
- }
2444
- },
2445
- queryParameters: [apiVersion],
2446
- urlParameters: [$host, subscriptionId],
2447
- headerParameters: [accept],
2448
- serializer: serializer$1
2449
- };
2450
- const getOperationSpec$1 = {
2451
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
2452
- httpMethod: "GET",
2453
- responses: {
2454
- 200: {
2455
- bodyMapper: Registration
2456
- },
2457
- default: {
2458
- bodyMapper: ErrorResponse
2459
- }
2460
- },
2461
- queryParameters: [apiVersion],
2462
- urlParameters: [
2463
- $host,
2464
- subscriptionId,
2465
- resourceGroup,
2466
- registrationName
2467
- ],
2468
- headerParameters: [accept],
2469
- serializer: serializer$1
2470
- };
2471
- const deleteOperationSpec$1 = {
2472
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
2473
- httpMethod: "DELETE",
2474
- responses: {
2475
- 200: {},
2476
- 204: {},
2477
- default: {
2478
- bodyMapper: ErrorResponse
2479
- }
2480
- },
2481
- queryParameters: [apiVersion],
2482
- urlParameters: [
2483
- $host,
2484
- subscriptionId,
2485
- resourceGroup,
2486
- registrationName
2487
- ],
2488
- headerParameters: [accept],
2489
- serializer: serializer$1
2490
- };
2491
- const createOrUpdateOperationSpec$1 = {
2492
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
2493
- httpMethod: "PUT",
2494
- responses: {
2495
- 200: {
2496
- bodyMapper: Registration
2497
- },
2498
- 201: {
2499
- bodyMapper: Registration
2500
- },
2501
- default: {
2502
- bodyMapper: ErrorResponse
2503
- }
2504
- },
2505
- requestBody: token,
2506
- queryParameters: [apiVersion],
2507
- urlParameters: [
2508
- $host,
2509
- subscriptionId,
2510
- resourceGroup,
2511
- registrationName
2512
- ],
2513
- headerParameters: [accept, contentType],
2514
- mediaType: "json",
2515
- serializer: serializer$1
2516
- };
2517
- const updateOperationSpec$1 = {
2518
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
2519
- httpMethod: "PATCH",
2520
- responses: {
2521
- 200: {
2522
- bodyMapper: Registration
2523
- },
2524
- default: {
2525
- bodyMapper: ErrorResponse
2526
- }
2527
- },
2528
- requestBody: token,
2529
- queryParameters: [apiVersion],
2530
- urlParameters: [
2531
- $host,
2532
- subscriptionId,
2533
- resourceGroup,
2534
- registrationName
2535
- ],
2536
- headerParameters: [accept, contentType],
2537
- mediaType: "json",
2538
- serializer: serializer$1
2539
- };
2540
- const getActivationKeyOperationSpec = {
2541
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey",
2542
- httpMethod: "POST",
2543
- responses: {
2544
- 200: {
2545
- bodyMapper: ActivationKeyResult
2546
- },
2547
- default: {
2548
- bodyMapper: ErrorResponse
2549
- }
2550
- },
2551
- queryParameters: [apiVersion],
2552
- urlParameters: [
2553
- $host,
2554
- subscriptionId,
2555
- resourceGroup,
2556
- registrationName
2557
- ],
2558
- headerParameters: [accept],
2559
- serializer: serializer$1
2560
- };
2561
- const enableRemoteManagementOperationSpec = {
2562
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/enableRemoteManagement",
2563
- httpMethod: "POST",
2564
- responses: {
2565
- 200: {},
2566
- default: {
2567
- bodyMapper: ErrorResponse
2568
- }
2569
- },
2570
- urlParameters: [
2571
- $host,
2572
- subscriptionId,
2573
- resourceGroup,
2574
- registrationName
2575
- ],
2576
- headerParameters: [accept],
2577
- serializer: serializer$1
2578
- };
2579
- const listNextOperationSpec = {
2580
- path: "{nextLink}",
2581
- httpMethod: "GET",
2582
- responses: {
2583
- 200: {
2584
- bodyMapper: RegistrationList
2585
- },
2586
- default: {
2587
- bodyMapper: ErrorResponse
2588
- }
2589
- },
2590
- queryParameters: [apiVersion],
2591
- urlParameters: [
2592
- $host,
2593
- nextLink,
2594
- subscriptionId,
2595
- resourceGroup
2596
- ],
2597
- headerParameters: [accept],
2598
- serializer: serializer$1
2599
- };
2600
- const listBySubscriptionNextOperationSpec$1 = {
2601
- path: "{nextLink}",
2602
- httpMethod: "GET",
2603
- responses: {
2604
- 200: {
2605
- bodyMapper: RegistrationList
2606
- },
2607
- default: {
2608
- bodyMapper: ErrorResponse
2609
- }
2610
- },
2611
- queryParameters: [apiVersion],
2612
- urlParameters: [
2613
- $host,
2614
- nextLink,
2615
- subscriptionId
2616
- ],
2617
- headerParameters: [accept],
2618
- serializer: serializer$1
2619
- };
2620
-
2621
- /*
2622
- * Copyright (c) Microsoft Corporation.
2623
- * Licensed under the MIT License.
2624
- *
2625
- * Code generated by Microsoft (R) AutoRest Code Generator.
2626
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2627
- */
2628
- /// <reference lib="esnext.asynciterable" />
2629
- /** Class containing LinkedSubscriptions operations. */
2630
- class LinkedSubscriptionsImpl {
2631
- /**
2632
- * Initialize a new instance of the class LinkedSubscriptions class.
2633
- * @param client Reference to the service client
2634
- */
2635
- constructor(client) {
2636
- this.client = client;
2637
- }
2638
- /**
2639
- * Returns a list of all linked subscriptions under current resource group.
2640
- * @param resourceGroup Name of the resource group.
2641
- * @param options The options parameters.
2642
- */
2643
- listByResourceGroup(resourceGroup, options) {
2644
- const iter = this.listByResourceGroupPagingAll(resourceGroup, options);
2645
- return {
2646
- next() {
2647
- return iter.next();
2648
- },
2649
- [Symbol.asyncIterator]() {
2650
- return this;
2651
- },
2652
- byPage: () => {
2653
- return this.listByResourceGroupPagingPage(resourceGroup, options);
2654
- }
2655
- };
2656
- }
2657
- listByResourceGroupPagingPage(resourceGroup, options) {
2658
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
2659
- let result = yield tslib.__await(this._listByResourceGroup(resourceGroup, options));
2660
- yield yield tslib.__await(result.value || []);
2661
- let continuationToken = result.nextLink;
2662
- while (continuationToken) {
2663
- result = yield tslib.__await(this._listByResourceGroupNext(resourceGroup, continuationToken, options));
2664
- continuationToken = result.nextLink;
2665
- yield yield tslib.__await(result.value || []);
2666
- }
2667
- });
2668
- }
2669
- listByResourceGroupPagingAll(resourceGroup, options) {
2670
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
2671
- var e_1, _a;
2672
- try {
2673
- for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroup, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2674
- const page = _c.value;
2675
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2676
- }
2677
- }
2678
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2679
- finally {
2680
- try {
2681
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2682
- }
2683
- finally { if (e_1) throw e_1.error; }
2684
- }
2685
- });
2686
- }
2687
- /**
2688
- * Returns a list of all linked subscriptions under current subscription.
2689
- * @param options The options parameters.
2690
- */
2691
- listBySubscription(options) {
2692
- const iter = this.listBySubscriptionPagingAll(options);
2693
- return {
2694
- next() {
2695
- return iter.next();
2696
- },
2697
- [Symbol.asyncIterator]() {
2698
- return this;
2699
- },
2700
- byPage: () => {
2701
- return this.listBySubscriptionPagingPage(options);
2702
- }
2703
- };
2704
- }
2705
- listBySubscriptionPagingPage(options) {
2706
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
2707
- let result = yield tslib.__await(this._listBySubscription(options));
2708
- yield yield tslib.__await(result.value || []);
2709
- let continuationToken = result.nextLink;
2710
- while (continuationToken) {
2711
- result = yield tslib.__await(this._listBySubscriptionNext(continuationToken, options));
2712
- continuationToken = result.nextLink;
2713
- yield yield tslib.__await(result.value || []);
2714
- }
2715
- });
2716
- }
2717
- listBySubscriptionPagingAll(options) {
2718
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
2719
- var e_2, _a;
2720
- try {
2721
- for (var _b = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2722
- const page = _c.value;
2723
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2724
- }
2725
- }
2726
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
2727
- finally {
2728
- try {
2729
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2730
- }
2731
- finally { if (e_2) throw e_2.error; }
2732
- }
2733
- });
2734
- }
2735
- /**
2736
- * Returns a list of all linked subscriptions under current resource group.
2737
- * @param resourceGroup Name of the resource group.
2738
- * @param options The options parameters.
2739
- */
2740
- _listByResourceGroup(resourceGroup, options) {
2741
- return this.client.sendOperationRequest({ resourceGroup, options }, listByResourceGroupOperationSpec);
2742
- }
2743
- /**
2744
- * Returns a list of all linked subscriptions under current subscription.
2745
- * @param options The options parameters.
2746
- */
2747
- _listBySubscription(options) {
2748
- return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
2749
- }
2750
- /**
2751
- * Returns the properties of a Linked Subscription resource.
2752
- * @param resourceGroup Name of the resource group.
2753
- * @param linkedSubscriptionName Name of the Linked Subscription resource.
2754
- * @param options The options parameters.
2755
- */
2756
- get(resourceGroup, linkedSubscriptionName, options) {
2757
- return this.client.sendOperationRequest({ resourceGroup, linkedSubscriptionName, options }, getOperationSpec);
2758
- }
2759
- /**
2760
- * Delete the requested Linked Subscription resource.
2761
- * @param resourceGroup Name of the resource group.
2762
- * @param linkedSubscriptionName Name of the Linked Subscription resource.
2763
- * @param options The options parameters.
2764
- */
2765
- delete(resourceGroup, linkedSubscriptionName, options) {
2766
- return this.client.sendOperationRequest({ resourceGroup, linkedSubscriptionName, options }, deleteOperationSpec);
2767
- }
2768
- /**
2769
- * Create or update a linked subscription resource.
2770
- * @param resourceGroup Name of the resource group.
2771
- * @param linkedSubscriptionName Name of the Linked Subscription resource.
2772
- * @param resource Linked subscription resource parameter.
2773
- * @param options The options parameters.
2774
- */
2775
- createOrUpdate(resourceGroup, linkedSubscriptionName, resource, options) {
2776
- return this.client.sendOperationRequest({ resourceGroup, linkedSubscriptionName, resource, options }, createOrUpdateOperationSpec);
2777
- }
2778
- /**
2779
- * Patch a Linked Subscription resource.
2780
- * @param resourceGroup Name of the resource group.
2781
- * @param linkedSubscriptionName Name of the Linked Subscription resource.
2782
- * @param resource Linked subscription resource parameter.
2783
- * @param options The options parameters.
2784
- */
2785
- update(resourceGroup, linkedSubscriptionName, resource, options) {
2786
- return this.client.sendOperationRequest({ resourceGroup, linkedSubscriptionName, resource, options }, updateOperationSpec);
2787
- }
2788
- /**
2789
- * ListByResourceGroupNext
2790
- * @param resourceGroup Name of the resource group.
2791
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
2792
- * @param options The options parameters.
2793
- */
2794
- _listByResourceGroupNext(resourceGroup, nextLink, options) {
2795
- return this.client.sendOperationRequest({ resourceGroup, nextLink, options }, listByResourceGroupNextOperationSpec);
2796
- }
2797
- /**
2798
- * ListBySubscriptionNext
2799
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
2800
- * @param options The options parameters.
2801
- */
2802
- _listBySubscriptionNext(nextLink, options) {
2803
- return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
2804
- }
2805
- }
2806
- // Operation Specifications
2807
- const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2808
- const listByResourceGroupOperationSpec = {
2809
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions",
2810
- httpMethod: "GET",
2811
- responses: {
2812
- 200: {
2813
- bodyMapper: LinkedSubscriptionsList
2814
- },
2815
- default: {
2816
- bodyMapper: ErrorResponse
2817
- }
2818
- },
2819
- queryParameters: [apiVersion],
2820
- urlParameters: [
2821
- $host,
2822
- subscriptionId,
2823
- resourceGroup
2824
- ],
2825
- headerParameters: [accept],
2826
- serializer
2827
- };
2828
- const listBySubscriptionOperationSpec = {
2829
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/linkedSubscriptions",
2830
- httpMethod: "GET",
2831
- responses: {
2832
- 200: {
2833
- bodyMapper: LinkedSubscriptionsList
2834
- },
2835
- default: {
2836
- bodyMapper: ErrorResponse
2837
- }
2838
- },
2839
- queryParameters: [apiVersion],
2840
- urlParameters: [$host, subscriptionId],
2841
- headerParameters: [accept],
2842
- serializer
2843
- };
2844
- const getOperationSpec = {
2845
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",
2846
- httpMethod: "GET",
2847
- responses: {
2848
- 200: {
2849
- bodyMapper: LinkedSubscription
2850
- },
2851
- default: {
2852
- bodyMapper: ErrorResponse
2853
- }
2854
- },
2855
- queryParameters: [apiVersion],
2856
- urlParameters: [
2857
- $host,
2858
- subscriptionId,
2859
- resourceGroup,
2860
- linkedSubscriptionName
2861
- ],
2862
- headerParameters: [accept],
2863
- serializer
2864
- };
2865
- const deleteOperationSpec = {
2866
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",
2867
- httpMethod: "DELETE",
2868
- responses: {
2869
- 200: {},
2870
- 204: {},
2871
- default: {
2872
- bodyMapper: ErrorResponse
2873
- }
2874
- },
2875
- queryParameters: [apiVersion],
2876
- urlParameters: [
2877
- $host,
2878
- subscriptionId,
2879
- resourceGroup,
2880
- linkedSubscriptionName
2881
- ],
2882
- headerParameters: [accept],
2883
- serializer
2884
- };
2885
- const createOrUpdateOperationSpec = {
2886
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",
2887
- httpMethod: "PUT",
2888
- responses: {
2889
- 200: {
2890
- bodyMapper: LinkedSubscription
2891
- },
2892
- 201: {
2893
- bodyMapper: LinkedSubscription
2894
- },
2895
- default: {
2896
- bodyMapper: ErrorResponse
2897
- }
2898
- },
2899
- requestBody: resource,
2900
- queryParameters: [apiVersion],
2901
- urlParameters: [
2902
- $host,
2903
- subscriptionId,
2904
- resourceGroup,
2905
- linkedSubscriptionName
2906
- ],
2907
- headerParameters: [accept, contentType],
2908
- mediaType: "json",
2909
- serializer
2910
- };
2911
- const updateOperationSpec = {
2912
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",
2913
- httpMethod: "PATCH",
2914
- responses: {
2915
- 200: {
2916
- bodyMapper: LinkedSubscription
2917
- },
2918
- default: {
2919
- bodyMapper: ErrorResponse
2920
- }
2921
- },
2922
- requestBody: resource,
2923
- queryParameters: [apiVersion],
2924
- urlParameters: [
2925
- $host,
2926
- subscriptionId,
2927
- resourceGroup,
2928
- linkedSubscriptionName
2929
- ],
2930
- headerParameters: [accept, contentType],
2931
- mediaType: "json",
2932
- serializer
2933
- };
2934
- const listByResourceGroupNextOperationSpec = {
2935
- path: "{nextLink}",
2936
- httpMethod: "GET",
2937
- responses: {
2938
- 200: {
2939
- bodyMapper: LinkedSubscriptionsList
2940
- },
2941
- default: {
2942
- bodyMapper: ErrorResponse
2943
- }
2944
- },
2945
- queryParameters: [apiVersion],
2946
- urlParameters: [
2947
- $host,
2948
- nextLink,
2949
- subscriptionId,
2950
- resourceGroup
2951
- ],
2952
- headerParameters: [accept],
2953
- serializer
2954
- };
2955
- const listBySubscriptionNextOperationSpec = {
2956
- path: "{nextLink}",
2957
- httpMethod: "GET",
2958
- responses: {
2959
- 200: {
2960
- bodyMapper: LinkedSubscriptionsList
2961
- },
2962
- default: {
2963
- bodyMapper: ErrorResponse
2964
- }
2965
- },
2966
- queryParameters: [apiVersion],
2967
- urlParameters: [
2968
- $host,
2969
- nextLink,
2970
- subscriptionId
2971
- ],
2972
- headerParameters: [accept],
2973
- serializer
2974
- };
2975
-
2976
- /*
2977
- * Copyright (c) Microsoft Corporation.
2978
- * Licensed under the MIT License.
2979
- *
2980
- * Code generated by Microsoft (R) AutoRest Code Generator.
2981
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2982
- */
2983
- class AzureStackManagementClient extends coreClient__namespace.ServiceClient {
2984
- /**
2985
- * Initializes a new instance of the AzureStackManagementClient class.
2986
- * @param credentials Subscription credentials which uniquely identify client subscription.
2987
- * @param subscriptionId Subscription credentials that uniquely identify Microsoft Azure subscription.
2988
- * The subscription ID forms part of the URI for every service call.
2989
- * @param options The parameter options
2990
- */
2991
- constructor(credentials, subscriptionId, options) {
2992
- var _a, _b;
2993
- if (credentials === undefined) {
2994
- throw new Error("'credentials' cannot be null");
2995
- }
2996
- if (subscriptionId === undefined) {
2997
- throw new Error("'subscriptionId' cannot be null");
2998
- }
2999
- // Initializing default values for options
3000
- if (!options) {
3001
- options = {};
3002
- }
3003
- const defaults = {
3004
- requestContentType: "application/json; charset=utf-8",
3005
- credential: credentials
3006
- };
3007
- const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.4`;
3008
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
3009
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
3010
- : `${packageDetails}`;
3011
- if (!options.credentialScopes) {
3012
- options.credentialScopes = ["https://management.azure.com/.default"];
3013
- }
3014
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
3015
- userAgentPrefix
3016
- }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
3017
- super(optionsWithDefaults);
3018
- // Parameter assignments
3019
- this.subscriptionId = subscriptionId;
3020
- // Assigning values to Constant parameters
3021
- this.$host = options.$host || "https://management.azure.com";
3022
- this.apiVersion = options.apiVersion || "2020-06-01-preview";
3023
- this.operations = new OperationsImpl(this);
3024
- this.cloudManifestFile = new CloudManifestFileImpl(this);
3025
- this.customerSubscriptions = new CustomerSubscriptionsImpl(this);
3026
- this.products = new ProductsImpl(this);
3027
- this.registrations = new RegistrationsImpl(this);
3028
- this.linkedSubscriptions = new LinkedSubscriptionsImpl(this);
3029
- }
3030
- }
3031
-
3032
- exports.AzureStackManagementClient = AzureStackManagementClient;
3033
- //# sourceMappingURL=index.js.map