@azure/arm-operations 4.0.0-beta.4 → 4.0.0-beta.5

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 (398) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/LICENSE +4 -4
  3. package/README.md +25 -18
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
  9. package/dist/browser/lroImpl.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/models/index.d.ts +12 -12
  11. package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
  12. package/dist/browser/models/index.js.map +1 -0
  13. package/dist/browser/models/mappers.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  15. package/dist/browser/models/parameters.js.map +1 -0
  16. package/dist/browser/operations/index.d.ts +5 -0
  17. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  18. package/{dist-esm/src → dist/browser}/operations/index.js +4 -4
  19. package/dist/browser/operations/index.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/managementAssociations.d.ts +3 -3
  21. package/dist/browser/operations/managementAssociations.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/managementAssociations.js +3 -2
  23. package/dist/browser/operations/managementAssociations.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/managementConfigurations.d.ts +3 -3
  25. package/dist/browser/operations/managementConfigurations.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/managementConfigurations.js +3 -2
  27. package/dist/browser/operations/managementConfigurations.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  29. package/dist/browser/operations/operations.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/operations.js +12 -27
  31. package/dist/browser/operations/operations.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/solutions.d.ts +3 -3
  33. package/dist/browser/operations/solutions.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/solutions.js +115 -112
  35. package/dist/browser/operations/solutions.js.map +1 -0
  36. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  37. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +4 -4
  39. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/managementAssociations.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/managementAssociations.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/managementAssociations.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operationsInterfaces/managementConfigurations.d.ts +1 -1
  44. package/dist/browser/operationsInterfaces/managementConfigurations.d.ts.map +1 -0
  45. package/dist/browser/operationsInterfaces/managementConfigurations.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  48. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operationsInterfaces/solutions.d.ts +1 -1
  50. package/dist/browser/operationsInterfaces/solutions.d.ts.map +1 -0
  51. package/dist/browser/operationsInterfaces/solutions.js.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operationsManagementClient.d.ts +2 -2
  53. package/dist/browser/operationsManagementClient.d.ts.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsManagementClient.js +33 -24
  55. package/dist/browser/operationsManagementClient.js.map +1 -0
  56. package/dist/browser/package.json +3 -0
  57. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  58. package/dist/browser/pagingHelper.js.map +1 -0
  59. package/dist/commonjs/index.d.ts +5 -0
  60. package/dist/commonjs/index.d.ts.map +1 -0
  61. package/dist/commonjs/index.js +19 -0
  62. package/dist/commonjs/index.js.map +1 -0
  63. package/dist/commonjs/lroImpl.d.ts +16 -0
  64. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  65. package/dist/commonjs/lroImpl.js +37 -0
  66. package/dist/commonjs/lroImpl.js.map +1 -0
  67. package/dist/commonjs/models/index.d.ts +272 -0
  68. package/dist/commonjs/models/index.d.ts.map +1 -0
  69. package/dist/commonjs/models/index.js +10 -0
  70. package/dist/commonjs/models/index.js.map +1 -0
  71. package/dist/commonjs/models/mappers.d.ts +19 -0
  72. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  73. package/dist/commonjs/models/mappers.js +488 -0
  74. package/dist/commonjs/models/mappers.js.map +1 -0
  75. package/dist/commonjs/models/parameters.d.ts +18 -0
  76. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  77. package/dist/commonjs/models/parameters.js +157 -0
  78. package/dist/commonjs/models/parameters.js.map +1 -0
  79. package/dist/commonjs/operations/index.d.ts +5 -0
  80. package/dist/commonjs/operations/index.d.ts.map +1 -0
  81. package/dist/commonjs/operations/index.js +15 -0
  82. package/dist/commonjs/operations/index.js.map +1 -0
  83. package/dist/commonjs/operations/managementAssociations.d.ts +49 -0
  84. package/dist/commonjs/operations/managementAssociations.d.ts.map +1 -0
  85. package/dist/commonjs/operations/managementAssociations.js +183 -0
  86. package/dist/commonjs/operations/managementAssociations.js.map +1 -0
  87. package/dist/commonjs/operations/managementConfigurations.d.ts +40 -0
  88. package/dist/commonjs/operations/managementConfigurations.d.ts.map +1 -0
  89. package/dist/commonjs/operations/managementConfigurations.js +143 -0
  90. package/dist/commonjs/operations/managementConfigurations.js.map +1 -0
  91. package/dist/commonjs/operations/operations.d.ts +26 -0
  92. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  93. package/dist/commonjs/operations/operations.js +81 -0
  94. package/dist/commonjs/operations/operations.js.map +1 -0
  95. package/dist/commonjs/operations/solutions.d.ts +78 -0
  96. package/dist/commonjs/operations/solutions.d.ts.map +1 -0
  97. package/dist/commonjs/operations/solutions.js +358 -0
  98. package/dist/commonjs/operations/solutions.js.map +1 -0
  99. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  100. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  101. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  102. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  103. package/dist/commonjs/operationsInterfaces/managementAssociations.d.ts +41 -0
  104. package/dist/commonjs/operationsInterfaces/managementAssociations.d.ts.map +1 -0
  105. package/dist/commonjs/operationsInterfaces/managementAssociations.js +10 -0
  106. package/dist/commonjs/operationsInterfaces/managementAssociations.js.map +1 -0
  107. package/dist/commonjs/operationsInterfaces/managementConfigurations.d.ts +32 -0
  108. package/dist/commonjs/operationsInterfaces/managementConfigurations.d.ts.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/managementConfigurations.js +10 -0
  110. package/dist/commonjs/operationsInterfaces/managementConfigurations.js.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  112. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  114. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/solutions.d.ts +70 -0
  116. package/dist/commonjs/operationsInterfaces/solutions.d.ts.map +1 -0
  117. package/dist/commonjs/operationsInterfaces/solutions.js +10 -0
  118. package/dist/commonjs/operationsInterfaces/solutions.js.map +1 -0
  119. package/dist/commonjs/operationsManagementClient.d.ts +24 -0
  120. package/dist/commonjs/operationsManagementClient.d.ts.map +1 -0
  121. package/dist/commonjs/operationsManagementClient.js +118 -0
  122. package/dist/commonjs/operationsManagementClient.js.map +1 -0
  123. package/dist/commonjs/package.json +3 -0
  124. package/dist/commonjs/pagingHelper.d.ts +13 -0
  125. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  126. package/dist/commonjs/pagingHelper.js +34 -0
  127. package/dist/commonjs/pagingHelper.js.map +1 -0
  128. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  129. package/dist/esm/index.d.ts +5 -0
  130. package/dist/esm/index.d.ts.map +1 -0
  131. package/{src/index.ts → dist/esm/index.js} +5 -5
  132. package/dist/esm/index.js.map +1 -0
  133. package/dist/esm/lroImpl.d.ts +16 -0
  134. package/dist/esm/lroImpl.d.ts.map +1 -0
  135. package/dist/esm/lroImpl.js +33 -0
  136. package/dist/esm/lroImpl.js.map +1 -0
  137. package/dist/esm/models/index.d.ts +272 -0
  138. package/dist/esm/models/index.d.ts.map +1 -0
  139. package/dist/esm/models/index.js +9 -0
  140. package/dist/esm/models/index.js.map +1 -0
  141. package/dist/esm/models/mappers.d.ts +19 -0
  142. package/dist/esm/models/mappers.d.ts.map +1 -0
  143. package/dist/esm/models/mappers.js +485 -0
  144. package/dist/esm/models/mappers.js.map +1 -0
  145. package/dist/esm/models/parameters.d.ts +18 -0
  146. package/dist/esm/models/parameters.d.ts.map +1 -0
  147. package/dist/esm/models/parameters.js +154 -0
  148. package/dist/esm/models/parameters.js.map +1 -0
  149. package/dist/esm/operations/index.d.ts +5 -0
  150. package/dist/esm/operations/index.d.ts.map +1 -0
  151. package/dist/esm/operations/index.js +12 -0
  152. package/dist/esm/operations/index.js.map +1 -0
  153. package/dist/esm/operations/managementAssociations.d.ts +49 -0
  154. package/dist/esm/operations/managementAssociations.d.ts.map +1 -0
  155. package/dist/esm/operations/managementAssociations.js +178 -0
  156. package/dist/esm/operations/managementAssociations.js.map +1 -0
  157. package/dist/esm/operations/managementConfigurations.d.ts +40 -0
  158. package/dist/esm/operations/managementConfigurations.d.ts.map +1 -0
  159. package/dist/esm/operations/managementConfigurations.js +138 -0
  160. package/dist/esm/operations/managementConfigurations.js.map +1 -0
  161. package/dist/esm/operations/operations.d.ts +26 -0
  162. package/dist/esm/operations/operations.d.ts.map +1 -0
  163. package/dist/esm/operations/operations.js +76 -0
  164. package/dist/esm/operations/operations.js.map +1 -0
  165. package/dist/esm/operations/solutions.d.ts +78 -0
  166. package/dist/esm/operations/solutions.d.ts.map +1 -0
  167. package/dist/esm/operations/solutions.js +353 -0
  168. package/dist/esm/operations/solutions.js.map +1 -0
  169. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  170. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  171. package/dist/esm/operationsInterfaces/index.js +12 -0
  172. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  173. package/dist/esm/operationsInterfaces/managementAssociations.d.ts +41 -0
  174. package/dist/esm/operationsInterfaces/managementAssociations.d.ts.map +1 -0
  175. package/dist/esm/operationsInterfaces/managementAssociations.js +9 -0
  176. package/dist/esm/operationsInterfaces/managementAssociations.js.map +1 -0
  177. package/dist/esm/operationsInterfaces/managementConfigurations.d.ts +32 -0
  178. package/dist/esm/operationsInterfaces/managementConfigurations.d.ts.map +1 -0
  179. package/dist/esm/operationsInterfaces/managementConfigurations.js +9 -0
  180. package/dist/esm/operationsInterfaces/managementConfigurations.js.map +1 -0
  181. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  182. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  183. package/dist/esm/operationsInterfaces/operations.js +9 -0
  184. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  185. package/dist/esm/operationsInterfaces/solutions.d.ts +70 -0
  186. package/dist/esm/operationsInterfaces/solutions.d.ts.map +1 -0
  187. package/dist/esm/operationsInterfaces/solutions.js +9 -0
  188. package/dist/esm/operationsInterfaces/solutions.js.map +1 -0
  189. package/dist/esm/operationsManagementClient.d.ts +24 -0
  190. package/dist/esm/operationsManagementClient.d.ts.map +1 -0
  191. package/dist/esm/operationsManagementClient.js +113 -0
  192. package/dist/esm/operationsManagementClient.js.map +1 -0
  193. package/dist/esm/package.json +3 -0
  194. package/dist/esm/pagingHelper.d.ts +13 -0
  195. package/dist/esm/pagingHelper.d.ts.map +1 -0
  196. package/dist/esm/pagingHelper.js +30 -0
  197. package/dist/esm/pagingHelper.js.map +1 -0
  198. package/dist/react-native/index.d.ts +5 -0
  199. package/dist/react-native/index.d.ts.map +1 -0
  200. package/dist/react-native/index.js +13 -0
  201. package/dist/react-native/index.js.map +1 -0
  202. package/dist/react-native/lroImpl.d.ts +16 -0
  203. package/dist/react-native/lroImpl.d.ts.map +1 -0
  204. package/dist/react-native/lroImpl.js +33 -0
  205. package/dist/react-native/lroImpl.js.map +1 -0
  206. package/dist/react-native/models/index.d.ts +272 -0
  207. package/dist/react-native/models/index.d.ts.map +1 -0
  208. package/dist/react-native/models/index.js +9 -0
  209. package/dist/react-native/models/index.js.map +1 -0
  210. package/dist/react-native/models/mappers.d.ts +19 -0
  211. package/dist/react-native/models/mappers.d.ts.map +1 -0
  212. package/dist/react-native/models/mappers.js +485 -0
  213. package/dist/react-native/models/mappers.js.map +1 -0
  214. package/dist/react-native/models/parameters.d.ts +18 -0
  215. package/dist/react-native/models/parameters.d.ts.map +1 -0
  216. package/dist/react-native/models/parameters.js +154 -0
  217. package/dist/react-native/models/parameters.js.map +1 -0
  218. package/dist/react-native/operations/index.d.ts +5 -0
  219. package/dist/react-native/operations/index.d.ts.map +1 -0
  220. package/dist/react-native/operations/index.js +12 -0
  221. package/dist/react-native/operations/index.js.map +1 -0
  222. package/dist/react-native/operations/managementAssociations.d.ts +49 -0
  223. package/dist/react-native/operations/managementAssociations.d.ts.map +1 -0
  224. package/dist/react-native/operations/managementAssociations.js +178 -0
  225. package/dist/react-native/operations/managementAssociations.js.map +1 -0
  226. package/dist/react-native/operations/managementConfigurations.d.ts +40 -0
  227. package/dist/react-native/operations/managementConfigurations.d.ts.map +1 -0
  228. package/dist/react-native/operations/managementConfigurations.js +138 -0
  229. package/dist/react-native/operations/managementConfigurations.js.map +1 -0
  230. package/dist/react-native/operations/operations.d.ts +26 -0
  231. package/dist/react-native/operations/operations.d.ts.map +1 -0
  232. package/dist/react-native/operations/operations.js +76 -0
  233. package/dist/react-native/operations/operations.js.map +1 -0
  234. package/dist/react-native/operations/solutions.d.ts +78 -0
  235. package/dist/react-native/operations/solutions.d.ts.map +1 -0
  236. package/dist/react-native/operations/solutions.js +353 -0
  237. package/dist/react-native/operations/solutions.js.map +1 -0
  238. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  239. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  240. package/dist/react-native/operationsInterfaces/index.js +12 -0
  241. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  242. package/dist/react-native/operationsInterfaces/managementAssociations.d.ts +41 -0
  243. package/dist/react-native/operationsInterfaces/managementAssociations.d.ts.map +1 -0
  244. package/dist/react-native/operationsInterfaces/managementAssociations.js +9 -0
  245. package/dist/react-native/operationsInterfaces/managementAssociations.js.map +1 -0
  246. package/dist/react-native/operationsInterfaces/managementConfigurations.d.ts +32 -0
  247. package/dist/react-native/operationsInterfaces/managementConfigurations.d.ts.map +1 -0
  248. package/dist/react-native/operationsInterfaces/managementConfigurations.js +9 -0
  249. package/dist/react-native/operationsInterfaces/managementConfigurations.js.map +1 -0
  250. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  251. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  252. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  253. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  254. package/dist/react-native/operationsInterfaces/solutions.d.ts +70 -0
  255. package/dist/react-native/operationsInterfaces/solutions.d.ts.map +1 -0
  256. package/dist/react-native/operationsInterfaces/solutions.js +9 -0
  257. package/dist/react-native/operationsInterfaces/solutions.js.map +1 -0
  258. package/dist/react-native/operationsManagementClient.d.ts +24 -0
  259. package/dist/react-native/operationsManagementClient.d.ts.map +1 -0
  260. package/dist/react-native/operationsManagementClient.js +113 -0
  261. package/dist/react-native/operationsManagementClient.js.map +1 -0
  262. package/dist/react-native/package.json +3 -0
  263. package/dist/react-native/pagingHelper.d.ts +13 -0
  264. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  265. package/dist/react-native/pagingHelper.js +30 -0
  266. package/dist/react-native/pagingHelper.js.map +1 -0
  267. package/package.json +85 -76
  268. package/dist/index.js +0 -1582
  269. package/dist/index.js.map +0 -1
  270. package/dist/index.min.js +0 -1
  271. package/dist/index.min.js.map +0 -1
  272. package/dist-esm/samples-dev/managementAssociationsCreateOrUpdateSample.d.ts +0 -2
  273. package/dist-esm/samples-dev/managementAssociationsCreateOrUpdateSample.d.ts.map +0 -1
  274. package/dist-esm/samples-dev/managementAssociationsCreateOrUpdateSample.js +0 -40
  275. package/dist-esm/samples-dev/managementAssociationsCreateOrUpdateSample.js.map +0 -1
  276. package/dist-esm/samples-dev/managementAssociationsDeleteSample.d.ts +0 -2
  277. package/dist-esm/samples-dev/managementAssociationsDeleteSample.d.ts.map +0 -1
  278. package/dist-esm/samples-dev/managementAssociationsDeleteSample.js +0 -34
  279. package/dist-esm/samples-dev/managementAssociationsDeleteSample.js.map +0 -1
  280. package/dist-esm/samples-dev/managementAssociationsGetSample.d.ts +0 -2
  281. package/dist-esm/samples-dev/managementAssociationsGetSample.d.ts.map +0 -1
  282. package/dist-esm/samples-dev/managementAssociationsGetSample.js +0 -34
  283. package/dist-esm/samples-dev/managementAssociationsGetSample.js.map +0 -1
  284. package/dist-esm/samples-dev/managementAssociationsListBySubscriptionSample.d.ts +0 -2
  285. package/dist-esm/samples-dev/managementAssociationsListBySubscriptionSample.d.ts.map +0 -1
  286. package/dist-esm/samples-dev/managementAssociationsListBySubscriptionSample.js +0 -29
  287. package/dist-esm/samples-dev/managementAssociationsListBySubscriptionSample.js.map +0 -1
  288. package/dist-esm/samples-dev/managementConfigurationsCreateOrUpdateSample.d.ts +0 -2
  289. package/dist-esm/samples-dev/managementConfigurationsCreateOrUpdateSample.d.ts.map +0 -1
  290. package/dist-esm/samples-dev/managementConfigurationsCreateOrUpdateSample.js +0 -32
  291. package/dist-esm/samples-dev/managementConfigurationsCreateOrUpdateSample.js.map +0 -1
  292. package/dist-esm/samples-dev/managementConfigurationsDeleteSample.d.ts +0 -2
  293. package/dist-esm/samples-dev/managementConfigurationsDeleteSample.d.ts.map +0 -1
  294. package/dist-esm/samples-dev/managementConfigurationsDeleteSample.js +0 -31
  295. package/dist-esm/samples-dev/managementConfigurationsDeleteSample.js.map +0 -1
  296. package/dist-esm/samples-dev/managementConfigurationsGetSample.d.ts +0 -2
  297. package/dist-esm/samples-dev/managementConfigurationsGetSample.d.ts.map +0 -1
  298. package/dist-esm/samples-dev/managementConfigurationsGetSample.js +0 -31
  299. package/dist-esm/samples-dev/managementConfigurationsGetSample.js.map +0 -1
  300. package/dist-esm/samples-dev/managementConfigurationsListBySubscriptionSample.d.ts +0 -2
  301. package/dist-esm/samples-dev/managementConfigurationsListBySubscriptionSample.d.ts.map +0 -1
  302. package/dist-esm/samples-dev/managementConfigurationsListBySubscriptionSample.js +0 -29
  303. package/dist-esm/samples-dev/managementConfigurationsListBySubscriptionSample.js.map +0 -1
  304. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  305. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  306. package/dist-esm/samples-dev/operationsListSample.js +0 -43
  307. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  308. package/dist-esm/samples-dev/solutionsCreateOrUpdateSample.d.ts +0 -2
  309. package/dist-esm/samples-dev/solutionsCreateOrUpdateSample.d.ts.map +0 -1
  310. package/dist-esm/samples-dev/solutionsCreateOrUpdateSample.js +0 -51
  311. package/dist-esm/samples-dev/solutionsCreateOrUpdateSample.js.map +0 -1
  312. package/dist-esm/samples-dev/solutionsDeleteSample.d.ts +0 -2
  313. package/dist-esm/samples-dev/solutionsDeleteSample.d.ts.map +0 -1
  314. package/dist-esm/samples-dev/solutionsDeleteSample.js +0 -31
  315. package/dist-esm/samples-dev/solutionsDeleteSample.js.map +0 -1
  316. package/dist-esm/samples-dev/solutionsGetSample.d.ts +0 -2
  317. package/dist-esm/samples-dev/solutionsGetSample.d.ts.map +0 -1
  318. package/dist-esm/samples-dev/solutionsGetSample.js +0 -31
  319. package/dist-esm/samples-dev/solutionsGetSample.js.map +0 -1
  320. package/dist-esm/samples-dev/solutionsListByResourceGroupSample.d.ts +0 -2
  321. package/dist-esm/samples-dev/solutionsListByResourceGroupSample.d.ts.map +0 -1
  322. package/dist-esm/samples-dev/solutionsListByResourceGroupSample.js +0 -30
  323. package/dist-esm/samples-dev/solutionsListByResourceGroupSample.js.map +0 -1
  324. package/dist-esm/samples-dev/solutionsListBySubscriptionSample.d.ts +0 -2
  325. package/dist-esm/samples-dev/solutionsListBySubscriptionSample.d.ts.map +0 -1
  326. package/dist-esm/samples-dev/solutionsListBySubscriptionSample.js +0 -29
  327. package/dist-esm/samples-dev/solutionsListBySubscriptionSample.js.map +0 -1
  328. package/dist-esm/samples-dev/solutionsUpdateSample.d.ts +0 -2
  329. package/dist-esm/samples-dev/solutionsUpdateSample.d.ts.map +0 -1
  330. package/dist-esm/samples-dev/solutionsUpdateSample.js +0 -34
  331. package/dist-esm/samples-dev/solutionsUpdateSample.js.map +0 -1
  332. package/dist-esm/src/index.d.ts +0 -6
  333. package/dist-esm/src/index.d.ts.map +0 -1
  334. package/dist-esm/src/index.js.map +0 -1
  335. package/dist-esm/src/lroImpl.js.map +0 -1
  336. package/dist-esm/src/models/index.js.map +0 -1
  337. package/dist-esm/src/models/mappers.js.map +0 -1
  338. package/dist-esm/src/models/parameters.js.map +0 -1
  339. package/dist-esm/src/operations/index.d.ts +0 -5
  340. package/dist-esm/src/operations/index.js.map +0 -1
  341. package/dist-esm/src/operations/managementAssociations.d.ts.map +0 -1
  342. package/dist-esm/src/operations/managementAssociations.js.map +0 -1
  343. package/dist-esm/src/operations/managementConfigurations.d.ts.map +0 -1
  344. package/dist-esm/src/operations/managementConfigurations.js.map +0 -1
  345. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  346. package/dist-esm/src/operations/operations.js.map +0 -1
  347. package/dist-esm/src/operations/solutions.d.ts.map +0 -1
  348. package/dist-esm/src/operations/solutions.js.map +0 -1
  349. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  350. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  351. package/dist-esm/src/operationsInterfaces/managementAssociations.d.ts.map +0 -1
  352. package/dist-esm/src/operationsInterfaces/managementAssociations.js.map +0 -1
  353. package/dist-esm/src/operationsInterfaces/managementConfigurations.d.ts.map +0 -1
  354. package/dist-esm/src/operationsInterfaces/managementConfigurations.js.map +0 -1
  355. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  356. package/dist-esm/src/operationsInterfaces/solutions.d.ts.map +0 -1
  357. package/dist-esm/src/operationsInterfaces/solutions.js.map +0 -1
  358. package/dist-esm/src/operationsManagementClient.d.ts.map +0 -1
  359. package/dist-esm/src/operationsManagementClient.js.map +0 -1
  360. package/dist-esm/src/pagingHelper.js.map +0 -1
  361. package/dist-esm/test/sampleTest.d.ts +0 -2
  362. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  363. package/dist-esm/test/sampleTest.js +0 -38
  364. package/dist-esm/test/sampleTest.js.map +0 -1
  365. package/rollup.config.js +0 -122
  366. package/src/lroImpl.ts +0 -34
  367. package/src/models/index.ts +0 -324
  368. package/src/models/mappers.ts +0 -503
  369. package/src/models/parameters.ts +0 -180
  370. package/src/operations/index.ts +0 -12
  371. package/src/operations/managementAssociations.ts +0 -237
  372. package/src/operations/managementConfigurations.ts +0 -188
  373. package/src/operations/operations.ts +0 -100
  374. package/src/operations/solutions.ts +0 -506
  375. package/src/operationsInterfaces/index.ts +0 -12
  376. package/src/operationsInterfaces/managementAssociations.ts +0 -82
  377. package/src/operationsInterfaces/managementConfigurations.ts +0 -64
  378. package/src/operationsInterfaces/operations.ts +0 -22
  379. package/src/operationsInterfaces/solutions.ts +0 -139
  380. package/src/operationsManagementClient.ts +0 -157
  381. package/src/pagingHelper.ts +0 -39
  382. package/tsconfig.json +0 -33
  383. package/types/arm-operations.d.ts +0 -499
  384. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  385. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  386. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  387. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  388. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  389. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  390. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  391. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  392. /package/{dist-esm/src → dist/browser}/operationsInterfaces/managementAssociations.js +0 -0
  393. /package/{dist-esm/src → dist/browser}/operationsInterfaces/managementConfigurations.js +0 -0
  394. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  395. /package/{dist-esm/src → dist/browser}/operationsInterfaces/solutions.js +0 -0
  396. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  397. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  398. /package/review/{arm-operations.api.md → arm-operations-node.api.md} +0 -0
@@ -5,13 +5,13 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
12
11
  /// <reference lib="esnext.asynciterable" />
13
12
  /** Class containing Operations operations. */
14
13
  export class OperationsImpl {
14
+ client;
15
15
  /**
16
16
  * Initialize a new instance of the class Operations class.
17
17
  * @param client Reference to the service client
@@ -33,37 +33,22 @@ export class OperationsImpl {
33
33
  return this;
34
34
  },
35
35
  byPage: (settings) => {
36
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
36
+ if (settings?.maxPageSize) {
37
37
  throw new Error("maxPageSize is not supported by this operation.");
38
38
  }
39
39
  return this.listPagingPage(options, settings);
40
40
  }
41
41
  };
42
42
  }
43
- listPagingPage(options, _settings) {
44
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
45
- let result;
46
- result = yield __await(this._list(options));
47
- yield yield __await(result.value || []);
48
- });
43
+ async *listPagingPage(options, _settings) {
44
+ let result;
45
+ result = await this._list(options);
46
+ yield result.value || [];
49
47
  }
50
- listPagingAll(options) {
51
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
52
- var e_1, _a;
53
- try {
54
- for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
55
- const page = _c.value;
56
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
57
- }
58
- }
59
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
60
- finally {
61
- try {
62
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
63
- }
64
- finally { if (e_1) throw e_1.error; }
65
- }
66
- });
48
+ async *listPagingAll(options) {
49
+ for await (const page of this.listPagingPage(options)) {
50
+ yield* page;
51
+ }
67
52
  }
68
53
  /**
69
54
  * Lists all of the available OperationsManagement Rest API operations.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAA6B;IAEpD;;;OAGG;IACH,YAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG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AAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { OperationsManagementClient } from \"../operationsManagementClient.js\";\nimport {\n Operation,\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available OperationsManagement Rest API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available OperationsManagement Rest API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.OperationsManagement/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,7 +1,7 @@
1
- import { Solutions } from "../operationsInterfaces";
2
- import { OperationsManagementClient } from "../operationsManagementClient";
1
+ import { Solutions } from "../operationsInterfaces/index.js";
2
+ import { OperationsManagementClient } from "../operationsManagementClient.js";
3
3
  import { PollerLike, PollOperationState } from "@azure/core-lro";
4
- import { Solution, SolutionsCreateOrUpdateOptionalParams, SolutionsCreateOrUpdateResponse, SolutionPatch, SolutionsUpdateOptionalParams, SolutionsUpdateResponse, SolutionsDeleteOptionalParams, SolutionsGetOptionalParams, SolutionsGetResponse, SolutionsListByResourceGroupOptionalParams, SolutionsListByResourceGroupResponse, SolutionsListBySubscriptionOptionalParams, SolutionsListBySubscriptionResponse } from "../models";
4
+ import { Solution, SolutionsCreateOrUpdateOptionalParams, SolutionsCreateOrUpdateResponse, SolutionPatch, SolutionsUpdateOptionalParams, SolutionsUpdateResponse, SolutionsDeleteOptionalParams, SolutionsGetOptionalParams, SolutionsGetResponse, SolutionsListByResourceGroupOptionalParams, SolutionsListByResourceGroupResponse, SolutionsListBySubscriptionOptionalParams, SolutionsListBySubscriptionResponse } from "../models/index.js";
5
5
  /** Class containing Solutions operations. */
6
6
  export declare class SolutionsImpl implements Solutions {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"solutions.d.ts","sourceRoot":"","sources":["../../../src/operations/solutions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,QAAQ,EACR,qCAAqC,EACrC,+BAA+B,EAC/B,aAAa,EACb,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC7B,0BAA0B,EAC1B,oBAAoB,EACpB,0CAA0C,EAC1C,oCAAoC,EACpC,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAE5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAEpD;;;OAGG;gBACS,MAAM,EAAE,0BAA0B;IAI9C;;;;;;OAMG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,+BAA+B,CAAC,EACnD,+BAA+B,CAChC,CACF;IAqDD;;;;;;OAMG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAU3C;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,uBAAuB,CAAC,EAC3C,uBAAuB,CACxB,CACF;IAqDD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;IAUnC;;;;;OAKG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAqDtD;;;;;OAKG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC;IAShB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAOhC;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;CAMhD"}
@@ -5,14 +5,14 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __awaiter } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
12
11
  import { LroEngine } from "@azure/core-lro";
13
- import { LroImpl } from "../lroImpl";
12
+ import { LroImpl } from "../lroImpl.js";
14
13
  /** Class containing Solutions operations. */
15
14
  export class SolutionsImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class Solutions class.
18
18
  * @param client Reference to the service client
@@ -27,38 +27,41 @@ export class SolutionsImpl {
27
27
  * @param parameters The parameters required to create OMS Solution.
28
28
  * @param options The options parameters.
29
29
  */
30
- beginCreateOrUpdate(resourceGroupName, solutionName, parameters, options) {
31
- return __awaiter(this, void 0, void 0, function* () {
32
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
33
- return this.client.sendOperationRequest(args, spec);
34
- });
35
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
36
- var _a;
37
- let currentRawResponse = undefined;
38
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
39
- const callback = (rawResponse, flatResponse) => {
40
- currentRawResponse = rawResponse;
41
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
42
- };
43
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
44
- const flatResponse = yield directSendOperation(updatedArgs, spec);
45
- return {
46
- flatResponse,
47
- rawResponse: {
48
- statusCode: currentRawResponse.status,
49
- body: currentRawResponse.parsedBody,
50
- headers: currentRawResponse.headers.toJSON()
51
- }
52
- };
53
- });
54
- const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, parameters, options }, createOrUpdateOperationSpec);
55
- const poller = new LroEngine(lro, {
56
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
57
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
58
- });
59
- yield poller.poll();
60
- return poller;
30
+ async beginCreateOrUpdate(resourceGroupName, solutionName, parameters, options) {
31
+ const directSendOperation = async (args, spec) => {
32
+ return this.client.sendOperationRequest(args, spec);
33
+ };
34
+ const sendOperation = async (args, spec) => {
35
+ let currentRawResponse = undefined;
36
+ const providedCallback = args.options?.onResponse;
37
+ const callback = (rawResponse, flatResponse) => {
38
+ currentRawResponse = rawResponse;
39
+ providedCallback?.(rawResponse, flatResponse);
40
+ };
41
+ const updatedArgs = {
42
+ ...args,
43
+ options: {
44
+ ...args.options,
45
+ onResponse: callback
46
+ }
47
+ };
48
+ const flatResponse = await directSendOperation(updatedArgs, spec);
49
+ return {
50
+ flatResponse,
51
+ rawResponse: {
52
+ statusCode: currentRawResponse.status,
53
+ body: currentRawResponse.parsedBody,
54
+ headers: currentRawResponse.headers.toJSON()
55
+ }
56
+ };
57
+ };
58
+ const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, parameters, options }, createOrUpdateOperationSpec);
59
+ const poller = new LroEngine(lro, {
60
+ resumeFrom: options?.resumeFrom,
61
+ intervalInMs: options?.updateIntervalInMs
61
62
  });
63
+ await poller.poll();
64
+ return poller;
62
65
  }
63
66
  /**
64
67
  * Creates or updates the Solution.
@@ -67,11 +70,9 @@ export class SolutionsImpl {
67
70
  * @param parameters The parameters required to create OMS Solution.
68
71
  * @param options The options parameters.
69
72
  */
70
- beginCreateOrUpdateAndWait(resourceGroupName, solutionName, parameters, options) {
71
- return __awaiter(this, void 0, void 0, function* () {
72
- const poller = yield this.beginCreateOrUpdate(resourceGroupName, solutionName, parameters, options);
73
- return poller.pollUntilDone();
74
- });
73
+ async beginCreateOrUpdateAndWait(resourceGroupName, solutionName, parameters, options) {
74
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, solutionName, parameters, options);
75
+ return poller.pollUntilDone();
75
76
  }
76
77
  /**
77
78
  * Patch a Solution. Only updating tags supported.
@@ -80,38 +81,41 @@ export class SolutionsImpl {
80
81
  * @param parameters The parameters required to patch a Solution.
81
82
  * @param options The options parameters.
82
83
  */
83
- beginUpdate(resourceGroupName, solutionName, parameters, options) {
84
- return __awaiter(this, void 0, void 0, function* () {
85
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
86
- return this.client.sendOperationRequest(args, spec);
87
- });
88
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
89
- var _a;
90
- let currentRawResponse = undefined;
91
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
92
- const callback = (rawResponse, flatResponse) => {
93
- currentRawResponse = rawResponse;
94
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
95
- };
96
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
97
- const flatResponse = yield directSendOperation(updatedArgs, spec);
98
- return {
99
- flatResponse,
100
- rawResponse: {
101
- statusCode: currentRawResponse.status,
102
- body: currentRawResponse.parsedBody,
103
- headers: currentRawResponse.headers.toJSON()
104
- }
105
- };
106
- });
107
- const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, parameters, options }, updateOperationSpec);
108
- const poller = new LroEngine(lro, {
109
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
110
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
111
- });
112
- yield poller.poll();
113
- return poller;
84
+ async beginUpdate(resourceGroupName, solutionName, parameters, options) {
85
+ const directSendOperation = async (args, spec) => {
86
+ return this.client.sendOperationRequest(args, spec);
87
+ };
88
+ const sendOperation = async (args, spec) => {
89
+ let currentRawResponse = undefined;
90
+ const providedCallback = args.options?.onResponse;
91
+ const callback = (rawResponse, flatResponse) => {
92
+ currentRawResponse = rawResponse;
93
+ providedCallback?.(rawResponse, flatResponse);
94
+ };
95
+ const updatedArgs = {
96
+ ...args,
97
+ options: {
98
+ ...args.options,
99
+ onResponse: callback
100
+ }
101
+ };
102
+ const flatResponse = await directSendOperation(updatedArgs, spec);
103
+ return {
104
+ flatResponse,
105
+ rawResponse: {
106
+ statusCode: currentRawResponse.status,
107
+ body: currentRawResponse.parsedBody,
108
+ headers: currentRawResponse.headers.toJSON()
109
+ }
110
+ };
111
+ };
112
+ const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, parameters, options }, updateOperationSpec);
113
+ const poller = new LroEngine(lro, {
114
+ resumeFrom: options?.resumeFrom,
115
+ intervalInMs: options?.updateIntervalInMs
114
116
  });
117
+ await poller.poll();
118
+ return poller;
115
119
  }
116
120
  /**
117
121
  * Patch a Solution. Only updating tags supported.
@@ -120,11 +124,9 @@ export class SolutionsImpl {
120
124
  * @param parameters The parameters required to patch a Solution.
121
125
  * @param options The options parameters.
122
126
  */
123
- beginUpdateAndWait(resourceGroupName, solutionName, parameters, options) {
124
- return __awaiter(this, void 0, void 0, function* () {
125
- const poller = yield this.beginUpdate(resourceGroupName, solutionName, parameters, options);
126
- return poller.pollUntilDone();
127
- });
127
+ async beginUpdateAndWait(resourceGroupName, solutionName, parameters, options) {
128
+ const poller = await this.beginUpdate(resourceGroupName, solutionName, parameters, options);
129
+ return poller.pollUntilDone();
128
130
  }
129
131
  /**
130
132
  * Deletes the solution in the subscription.
@@ -132,38 +134,41 @@ export class SolutionsImpl {
132
134
  * @param solutionName User Solution Name.
133
135
  * @param options The options parameters.
134
136
  */
135
- beginDelete(resourceGroupName, solutionName, options) {
136
- return __awaiter(this, void 0, void 0, function* () {
137
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
138
- return this.client.sendOperationRequest(args, spec);
139
- });
140
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
141
- var _a;
142
- let currentRawResponse = undefined;
143
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
144
- const callback = (rawResponse, flatResponse) => {
145
- currentRawResponse = rawResponse;
146
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
147
- };
148
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
149
- const flatResponse = yield directSendOperation(updatedArgs, spec);
150
- return {
151
- flatResponse,
152
- rawResponse: {
153
- statusCode: currentRawResponse.status,
154
- body: currentRawResponse.parsedBody,
155
- headers: currentRawResponse.headers.toJSON()
156
- }
157
- };
158
- });
159
- const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, options }, deleteOperationSpec);
160
- const poller = new LroEngine(lro, {
161
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
162
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
163
- });
164
- yield poller.poll();
165
- return poller;
137
+ async beginDelete(resourceGroupName, solutionName, options) {
138
+ const directSendOperation = async (args, spec) => {
139
+ return this.client.sendOperationRequest(args, spec);
140
+ };
141
+ const sendOperation = async (args, spec) => {
142
+ let currentRawResponse = undefined;
143
+ const providedCallback = args.options?.onResponse;
144
+ const callback = (rawResponse, flatResponse) => {
145
+ currentRawResponse = rawResponse;
146
+ providedCallback?.(rawResponse, flatResponse);
147
+ };
148
+ const updatedArgs = {
149
+ ...args,
150
+ options: {
151
+ ...args.options,
152
+ onResponse: callback
153
+ }
154
+ };
155
+ const flatResponse = await directSendOperation(updatedArgs, spec);
156
+ return {
157
+ flatResponse,
158
+ rawResponse: {
159
+ statusCode: currentRawResponse.status,
160
+ body: currentRawResponse.parsedBody,
161
+ headers: currentRawResponse.headers.toJSON()
162
+ }
163
+ };
164
+ };
165
+ const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, options }, deleteOperationSpec);
166
+ const poller = new LroEngine(lro, {
167
+ resumeFrom: options?.resumeFrom,
168
+ intervalInMs: options?.updateIntervalInMs
166
169
  });
170
+ await poller.poll();
171
+ return poller;
167
172
  }
168
173
  /**
169
174
  * Deletes the solution in the subscription.
@@ -171,11 +176,9 @@ export class SolutionsImpl {
171
176
  * @param solutionName User Solution Name.
172
177
  * @param options The options parameters.
173
178
  */
174
- beginDeleteAndWait(resourceGroupName, solutionName, options) {
175
- return __awaiter(this, void 0, void 0, function* () {
176
- const poller = yield this.beginDelete(resourceGroupName, solutionName, options);
177
- return poller.pollUntilDone();
178
- });
179
+ async beginDeleteAndWait(resourceGroupName, solutionName, options) {
180
+ const poller = await this.beginDelete(resourceGroupName, solutionName, options);
181
+ return poller.pollUntilDone();
179
182
  }
180
183
  /**
181
184
  * Retrieves the user solution.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"solutions.js","sourceRoot":"","sources":["../../../src/operations/solutions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAiBxC,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IACP,MAAM,CAA6B;IAEpD;;;OAGG;IACH,YAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,mBAAmB,CACvB,iBAAyB,EACzB,YAAoB,EACpB,UAAoB,EACpB,OAA+C;QAO/C,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EACY,EAAE;YAC5C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACtD,CAAC,CAAC;QACF,MAAM,aAAa,GAAG,KAAK,EACzB,IAAmC,EACnC,IAA8B,EAC9B,EAAE;YACF,IAAI,kBAAkB,GAEN,SAAS,CAAC;YAC1B,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,EAAE,UAAU,CAAC;YAClD,MAAM,QAAQ,GAAmC,CAC/C,WAA6C,EAC7C,YAAqB,EACrB,EAAE;gBACF,kBAAkB,GAAG,WAAW,CAAC;gBACjC,gBAAgB,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;YAChD,CAAC,CAAC;YACF,MAAM,WA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IACzH,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EACF,oFAAoF;IACtF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Solutions } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { OperationsManagementClient } from \"../operationsManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n Solution,\n SolutionsCreateOrUpdateOptionalParams,\n SolutionsCreateOrUpdateResponse,\n SolutionPatch,\n SolutionsUpdateOptionalParams,\n SolutionsUpdateResponse,\n SolutionsDeleteOptionalParams,\n SolutionsGetOptionalParams,\n SolutionsGetResponse,\n SolutionsListByResourceGroupOptionalParams,\n SolutionsListByResourceGroupResponse,\n SolutionsListBySubscriptionOptionalParams,\n SolutionsListBySubscriptionResponse\n} from \"../models/index.js\";\n\n/** Class containing Solutions operations. */\nexport class SolutionsImpl implements Solutions {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class Solutions class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Creates or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsCreateOrUpdateResponse>,\n SolutionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SolutionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, solutionName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<SolutionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n solutionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsUpdateResponse>,\n SolutionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SolutionsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, solutionName, parameters, options },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<SolutionsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n solutionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, solutionName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n solutionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Retrieves the user solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsGetOptionalParams\n ): Promise<SolutionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, solutionName, options },\n getOperationSpec\n );\n }\n\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: SolutionsListByResourceGroupOptionalParams\n ): Promise<SolutionsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param options The options parameters.\n */\n listBySubscription(\n options?: SolutionsListBySubscriptionOptionalParams\n ): Promise<SolutionsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n 201: {\n bodyMapper: Mappers.Solution\n },\n 202: {\n bodyMapper: Mappers.Solution\n },\n 204: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n 201: {\n bodyMapper: Mappers.Solution\n },\n 202: {\n bodyMapper: Mappers.Solution\n },\n 204: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SolutionPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/solutions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SolutionPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,5 @@
1
+ export * from "./solutions.js";
2
+ export * from "./managementAssociations.js";
3
+ export * from "./managementConfigurations.js";
4
+ export * from "./operations.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC"}
@@ -5,8 +5,8 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./solutions";
9
- export * from "./managementAssociations";
10
- export * from "./managementConfigurations";
11
- export * from "./operations";
8
+ export * from "./solutions.js";
9
+ export * from "./managementAssociations.js";
10
+ export * from "./managementConfigurations.js";
11
+ export * from "./operations.js";
12
12
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./solutions.js\";\nexport * from \"./managementAssociations.js\";\nexport * from \"./managementConfigurations.js\";\nexport * from \"./operations.js\";\n"]}
@@ -1,4 +1,4 @@
1
- import { ManagementAssociationsListBySubscriptionOptionalParams, ManagementAssociationsListBySubscriptionResponse, ManagementAssociation, ManagementAssociationsCreateOrUpdateOptionalParams, ManagementAssociationsCreateOrUpdateResponse, ManagementAssociationsDeleteOptionalParams, ManagementAssociationsGetOptionalParams, ManagementAssociationsGetResponse } from "../models";
1
+ import { ManagementAssociationsListBySubscriptionOptionalParams, ManagementAssociationsListBySubscriptionResponse, ManagementAssociation, ManagementAssociationsCreateOrUpdateOptionalParams, ManagementAssociationsCreateOrUpdateResponse, ManagementAssociationsDeleteOptionalParams, ManagementAssociationsGetOptionalParams, ManagementAssociationsGetResponse } from "../models/index.js";
2
2
  /** Interface representing a ManagementAssociations. */
3
3
  export interface ManagementAssociations {
4
4
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementAssociations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementAssociations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,sDAAsD,EACtD,gDAAgD,EAChD,qBAAqB,EACrB,kDAAkD,EAClD,4CAA4C,EAC5C,0CAA0C,EAC1C,uCAAuC,EACvC,iCAAiC,EAClC,MAAM,oBAAoB,CAAC;AAE5B,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;IAC7D;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,yBAAyB,EAAE,MAAM,EACjC,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACzD;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;CAC/C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementAssociations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementAssociations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n ManagementAssociationsListBySubscriptionOptionalParams,\n ManagementAssociationsListBySubscriptionResponse,\n ManagementAssociation,\n ManagementAssociationsCreateOrUpdateOptionalParams,\n ManagementAssociationsCreateOrUpdateResponse,\n ManagementAssociationsDeleteOptionalParams,\n ManagementAssociationsGetOptionalParams,\n ManagementAssociationsGetResponse\n} from \"../models/index.js\";\n\n/** Interface representing a ManagementAssociations. */\nexport interface ManagementAssociations {\n /**\n * Retrieves the ManagementAssociations list.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: ManagementAssociationsListBySubscriptionOptionalParams\n ): Promise<ManagementAssociationsListBySubscriptionResponse>;\n /**\n * Creates or updates the ManagementAssociation.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param parameters The parameters required to create ManagementAssociation extension.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n parameters: ManagementAssociation,\n options?: ManagementAssociationsCreateOrUpdateOptionalParams\n ): Promise<ManagementAssociationsCreateOrUpdateResponse>;\n /**\n * Deletes the ManagementAssociation in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n options?: ManagementAssociationsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Retrieves the user ManagementAssociation.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n options?: ManagementAssociationsGetOptionalParams\n ): Promise<ManagementAssociationsGetResponse>;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { ManagementConfigurationsListBySubscriptionOptionalParams, ManagementConfigurationsListBySubscriptionResponse, ManagementConfiguration, ManagementConfigurationsCreateOrUpdateOptionalParams, ManagementConfigurationsCreateOrUpdateResponse, ManagementConfigurationsDeleteOptionalParams, ManagementConfigurationsGetOptionalParams, ManagementConfigurationsGetResponse } from "../models";
1
+ import { ManagementConfigurationsListBySubscriptionOptionalParams, ManagementConfigurationsListBySubscriptionResponse, ManagementConfiguration, ManagementConfigurationsCreateOrUpdateOptionalParams, ManagementConfigurationsCreateOrUpdateResponse, ManagementConfigurationsDeleteOptionalParams, ManagementConfigurationsGetOptionalParams, ManagementConfigurationsGetResponse } from "../models/index.js";
2
2
  /** Interface representing a ManagementConfigurations. */
3
3
  export interface ManagementConfigurations {
4
4
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,wDAAwD,EACxD,kDAAkD,EAClD,uBAAuB,EACvB,oDAAoD,EACpD,8CAA8C,EAC9C,4CAA4C,EAC5C,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAE5B,yDAAyD;AACzD,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,wDAAwD,GACjE,OAAO,CAAC,kDAAkD,CAAC,CAAC;IAC/D;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,2BAA2B,EAAE,MAAM,EACnC,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC,CAAC;IAC3D;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,2BAA2B,EAAE,MAAM,EACnC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,2BAA2B,EAAE,MAAM,EACnC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementConfigurations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n ManagementConfigurationsListBySubscriptionOptionalParams,\n ManagementConfigurationsListBySubscriptionResponse,\n ManagementConfiguration,\n ManagementConfigurationsCreateOrUpdateOptionalParams,\n ManagementConfigurationsCreateOrUpdateResponse,\n ManagementConfigurationsDeleteOptionalParams,\n ManagementConfigurationsGetOptionalParams,\n ManagementConfigurationsGetResponse\n} from \"../models/index.js\";\n\n/** Interface representing a ManagementConfigurations. */\nexport interface ManagementConfigurations {\n /**\n * Retrieves the ManagementConfigurations list.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: ManagementConfigurationsListBySubscriptionOptionalParams\n ): Promise<ManagementConfigurationsListBySubscriptionResponse>;\n /**\n * Creates or updates the ManagementConfiguration.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n managementConfigurationName: string,\n parameters: ManagementConfiguration,\n options?: ManagementConfigurationsCreateOrUpdateOptionalParams\n ): Promise<ManagementConfigurationsCreateOrUpdateResponse>;\n /**\n * Deletes the ManagementConfiguration in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n managementConfigurationName: string,\n options?: ManagementConfigurationsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Retrieves the user ManagementConfiguration.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n managementConfigurationName: string,\n options?: ManagementConfigurationsGetOptionalParams\n ): Promise<ManagementConfigurationsGetResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operation, OperationsListOptionalParams } from "../models";
2
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a Operations. */
4
4
  export interface Operations {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAGpE,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available OperationsManagement Rest API operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PollerLike, PollOperationState } from "@azure/core-lro";
2
- import { Solution, SolutionsCreateOrUpdateOptionalParams, SolutionsCreateOrUpdateResponse, SolutionPatch, SolutionsUpdateOptionalParams, SolutionsUpdateResponse, SolutionsDeleteOptionalParams, SolutionsGetOptionalParams, SolutionsGetResponse, SolutionsListByResourceGroupOptionalParams, SolutionsListByResourceGroupResponse, SolutionsListBySubscriptionOptionalParams, SolutionsListBySubscriptionResponse } from "../models";
2
+ import { Solution, SolutionsCreateOrUpdateOptionalParams, SolutionsCreateOrUpdateResponse, SolutionPatch, SolutionsUpdateOptionalParams, SolutionsUpdateResponse, SolutionsDeleteOptionalParams, SolutionsGetOptionalParams, SolutionsGetResponse, SolutionsListByResourceGroupOptionalParams, SolutionsListByResourceGroupResponse, SolutionsListBySubscriptionOptionalParams, SolutionsListBySubscriptionResponse } from "../models/index.js";
3
3
  /** Interface representing a Solutions. */
4
4
  export interface Solutions {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"solutions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/solutions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,QAAQ,EACR,qCAAqC,EACrC,+BAA+B,EAC/B,aAAa,EACb,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC7B,0BAA0B,EAC1B,oBAAoB,EACpB,0CAA0C,EAC1C,oCAAoC,EACpC,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAE5B,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,+BAA+B,CAAC,EACnD,+BAA+B,CAChC,CACF,CAAC;IACF;;;;;;OAMG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,uBAAuB,CAAC,EAC3C,uBAAuB,CACxB,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACjD;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"solutions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/solutions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n Solution,\n SolutionsCreateOrUpdateOptionalParams,\n SolutionsCreateOrUpdateResponse,\n SolutionPatch,\n SolutionsUpdateOptionalParams,\n SolutionsUpdateResponse,\n SolutionsDeleteOptionalParams,\n SolutionsGetOptionalParams,\n SolutionsGetResponse,\n SolutionsListByResourceGroupOptionalParams,\n SolutionsListByResourceGroupResponse,\n SolutionsListBySubscriptionOptionalParams,\n SolutionsListBySubscriptionResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Solutions. */\nexport interface Solutions {\n /**\n * Creates or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsCreateOrUpdateResponse>,\n SolutionsCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<SolutionsCreateOrUpdateResponse>;\n /**\n * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsUpdateResponse>,\n SolutionsUpdateResponse\n >\n >;\n /**\n * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<SolutionsUpdateResponse>;\n /**\n * Deletes the solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Deletes the solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Retrieves the user solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsGetOptionalParams\n ): Promise<SolutionsGetResponse>;\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: SolutionsListByResourceGroupOptionalParams\n ): Promise<SolutionsListByResourceGroupResponse>;\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param options The options parameters.\n */\n listBySubscription(\n options?: SolutionsListBySubscriptionOptionalParams\n ): Promise<SolutionsListBySubscriptionResponse>;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { Solutions, ManagementAssociations, ManagementConfigurations, Operations } from "./operationsInterfaces";
4
- import { OperationsManagementClientOptionalParams } from "./models";
3
+ import { Solutions, ManagementAssociations, ManagementConfigurations, Operations } from "./operationsInterfaces/index.js";
4
+ import { OperationsManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class OperationsManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  subscriptionId: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsManagementClient.d.ts","sourceRoot":"","sources":["../../src/operationsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,SAAS,EACT,sBAAsB,EACtB,wBAAwB,EACxB,UAAU,EACX,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,wCAAwC,EAAE,MAAM,mBAAmB,CAAC;AAE7E,qBAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wCAAwC;IA+EpD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,SAAS,EAAE,SAAS,CAAC;IACrB,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,UAAU,EAAE,UAAU,CAAC;CACxB"}