@azure/arm-advisor 3.2.0-alpha.20241218.1 → 3.2.0-alpha.20241219.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/{dist-esm/src → dist/commonjs}/advisorManagementClient.d.ts +2 -2
  2. package/dist/commonjs/advisorManagementClient.d.ts.map +1 -0
  3. package/dist/commonjs/advisorManagementClient.js +103 -0
  4. package/dist/commonjs/advisorManagementClient.js.map +1 -0
  5. package/dist/commonjs/index.d.ts +5 -0
  6. package/{dist-esm/src → dist/commonjs}/index.d.ts.map +1 -1
  7. package/dist/commonjs/index.js +19 -0
  8. package/dist/commonjs/index.js.map +1 -0
  9. package/{dist-esm/src → dist/commonjs}/models/index.d.ts.map +1 -1
  10. package/dist/commonjs/models/index.js +77 -0
  11. package/dist/commonjs/models/index.js.map +1 -0
  12. package/dist/commonjs/models/mappers.js +652 -0
  13. package/dist/commonjs/models/mappers.js.map +1 -0
  14. package/dist/commonjs/models/parameters.js +172 -0
  15. package/dist/commonjs/models/parameters.js.map +1 -0
  16. package/{dist-esm/src → dist/commonjs}/operations/configurations.d.ts +3 -3
  17. package/dist/commonjs/operations/configurations.d.ts.map +1 -0
  18. package/dist/commonjs/operations/configurations.js +271 -0
  19. package/dist/commonjs/operations/configurations.js.map +1 -0
  20. package/dist/commonjs/operations/index.d.ts +6 -0
  21. package/{dist-esm/src → dist/commonjs}/operations/index.d.ts.map +1 -1
  22. package/dist/commonjs/operations/index.js +16 -0
  23. package/dist/commonjs/operations/index.js.map +1 -0
  24. package/{dist-esm/src → dist/commonjs}/operations/operations.d.ts +3 -3
  25. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  26. package/dist/commonjs/operations/operations.js +137 -0
  27. package/dist/commonjs/operations/operations.js.map +1 -0
  28. package/{dist-esm/src → dist/commonjs}/operations/recommendationMetadata.d.ts +3 -3
  29. package/dist/commonjs/operations/recommendationMetadata.d.ts.map +1 -0
  30. package/dist/commonjs/operations/recommendationMetadata.js +165 -0
  31. package/dist/commonjs/operations/recommendationMetadata.js.map +1 -0
  32. package/{dist-esm/src → dist/commonjs}/operations/recommendations.d.ts +3 -3
  33. package/dist/commonjs/operations/recommendations.d.ts.map +1 -0
  34. package/dist/commonjs/operations/recommendations.js +215 -0
  35. package/dist/commonjs/operations/recommendations.js.map +1 -0
  36. package/{dist-esm/src → dist/commonjs}/operations/suppressions.d.ts +3 -3
  37. package/dist/commonjs/operations/suppressions.d.ts.map +1 -0
  38. package/dist/commonjs/operations/suppressions.js +247 -0
  39. package/dist/commonjs/operations/suppressions.js.map +1 -0
  40. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/configurations.d.ts +1 -1
  41. package/dist/commonjs/operationsInterfaces/configurations.d.ts.map +1 -0
  42. package/dist/commonjs/operationsInterfaces/configurations.js +10 -0
  43. package/dist/commonjs/operationsInterfaces/configurations.js.map +1 -0
  44. package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
  45. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/index.d.ts.map +1 -1
  46. package/dist/commonjs/operationsInterfaces/index.js +16 -0
  47. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  48. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts +1 -1
  49. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts.map +1 -1
  50. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  51. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  52. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/recommendationMetadata.d.ts +1 -1
  53. package/dist/commonjs/operationsInterfaces/recommendationMetadata.d.ts.map +1 -0
  54. package/dist/commonjs/operationsInterfaces/recommendationMetadata.js +10 -0
  55. package/dist/commonjs/operationsInterfaces/recommendationMetadata.js.map +1 -0
  56. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/recommendations.d.ts +1 -1
  57. package/dist/commonjs/operationsInterfaces/recommendations.d.ts.map +1 -0
  58. package/dist/commonjs/operationsInterfaces/recommendations.js +10 -0
  59. package/dist/commonjs/operationsInterfaces/recommendations.js.map +1 -0
  60. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/suppressions.d.ts +1 -1
  61. package/dist/commonjs/operationsInterfaces/suppressions.d.ts.map +1 -0
  62. package/dist/commonjs/operationsInterfaces/suppressions.js +10 -0
  63. package/dist/commonjs/operationsInterfaces/suppressions.js.map +1 -0
  64. package/dist/commonjs/package.json +3 -0
  65. package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts.map +1 -1
  66. package/dist/commonjs/pagingHelper.js +36 -0
  67. package/dist/commonjs/pagingHelper.js.map +1 -0
  68. package/dist/esm/advisorManagementClient.d.ts +25 -0
  69. package/dist/esm/advisorManagementClient.d.ts.map +1 -0
  70. package/{dist-esm/src → dist/esm}/advisorManagementClient.js +22 -26
  71. package/dist/esm/advisorManagementClient.js.map +1 -0
  72. package/dist/esm/index.d.ts +5 -0
  73. package/dist/esm/index.d.ts.map +1 -0
  74. package/{dist-esm/src → dist/esm}/index.js +4 -4
  75. package/dist/esm/index.js.map +1 -0
  76. package/{types/arm-advisor.d.ts → dist/esm/models/index.d.ts} +466 -700
  77. package/dist/esm/models/index.d.ts.map +1 -0
  78. package/dist/esm/models/index.js.map +1 -0
  79. package/dist/esm/models/mappers.d.ts +21 -0
  80. package/dist/esm/models/mappers.d.ts.map +1 -0
  81. package/{dist-esm/src → dist/esm}/models/mappers.js +225 -225
  82. package/dist/esm/models/mappers.js.map +1 -0
  83. package/dist/esm/models/parameters.d.ts +19 -0
  84. package/dist/esm/models/parameters.d.ts.map +1 -0
  85. package/{dist-esm/src → dist/esm}/models/parameters.js +48 -48
  86. package/dist/esm/models/parameters.js.map +1 -0
  87. package/dist/esm/operations/configurations.d.ts +62 -0
  88. package/dist/esm/operations/configurations.d.ts.map +1 -0
  89. package/{dist-esm/src → dist/esm}/operations/configurations.js +29 -41
  90. package/dist/esm/operations/configurations.js.map +1 -0
  91. package/dist/esm/operations/index.d.ts +6 -0
  92. package/dist/esm/operations/index.d.ts.map +1 -0
  93. package/{dist-esm/src/operationsInterfaces → dist/esm/operations}/index.js +5 -5
  94. package/dist/esm/operations/index.js.map +1 -0
  95. package/dist/esm/operations/operations.d.ts +32 -0
  96. package/dist/esm/operations/operations.d.ts.map +1 -0
  97. package/{dist-esm/src → dist/esm}/operations/operations.js +12 -12
  98. package/dist/esm/operations/operations.js.map +1 -0
  99. package/dist/esm/operations/recommendationMetadata.d.ts +38 -0
  100. package/dist/esm/operations/recommendationMetadata.d.ts.map +1 -0
  101. package/{dist-esm/src → dist/esm}/operations/recommendationMetadata.js +17 -17
  102. package/dist/esm/operations/recommendationMetadata.js.map +1 -0
  103. package/dist/esm/operations/recommendations.d.ts +57 -0
  104. package/dist/esm/operations/recommendations.d.ts.map +1 -0
  105. package/{dist-esm/src → dist/esm}/operations/recommendations.js +27 -44
  106. package/dist/esm/operations/recommendations.js.map +1 -0
  107. package/dist/esm/operations/suppressions.d.ts +65 -0
  108. package/dist/esm/operations/suppressions.d.ts.map +1 -0
  109. package/{dist-esm/src → dist/esm}/operations/suppressions.js +30 -38
  110. package/dist/esm/operations/suppressions.js.map +1 -0
  111. package/dist/esm/operationsInterfaces/configurations.d.ts +33 -0
  112. package/dist/esm/operationsInterfaces/configurations.d.ts.map +1 -0
  113. package/dist/esm/operationsInterfaces/configurations.js.map +1 -0
  114. package/dist/esm/operationsInterfaces/index.d.ts +6 -0
  115. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  116. package/{dist-esm/src/operations → dist/esm/operationsInterfaces}/index.js +5 -5
  117. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  118. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  119. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  120. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  121. package/dist/esm/operationsInterfaces/recommendationMetadata.d.ts +17 -0
  122. package/dist/esm/operationsInterfaces/recommendationMetadata.d.ts.map +1 -0
  123. package/dist/esm/operationsInterfaces/recommendationMetadata.js.map +1 -0
  124. package/dist/esm/operationsInterfaces/recommendations.d.ts +35 -0
  125. package/dist/esm/operationsInterfaces/recommendations.d.ts.map +1 -0
  126. package/dist/esm/operationsInterfaces/recommendations.js.map +1 -0
  127. package/dist/esm/operationsInterfaces/suppressions.d.ts +43 -0
  128. package/dist/esm/operationsInterfaces/suppressions.d.ts.map +1 -0
  129. package/dist/esm/operationsInterfaces/suppressions.js.map +1 -0
  130. package/dist/esm/package.json +3 -0
  131. package/dist/esm/pagingHelper.d.ts +13 -0
  132. package/dist/esm/pagingHelper.d.ts.map +1 -0
  133. package/dist/esm/pagingHelper.js.map +1 -0
  134. package/package.json +51 -35
  135. package/dist/index.js +0 -2102
  136. package/dist/index.js.map +0 -1
  137. package/dist/index.min.js +0 -1
  138. package/dist/index.min.js.map +0 -1
  139. package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.d.ts +0 -2
  140. package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.d.ts.map +0 -1
  141. package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.js +0 -58
  142. package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.js.map +0 -1
  143. package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.d.ts +0 -2
  144. package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.d.ts.map +0 -1
  145. package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.js +0 -57
  146. package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.js.map +0 -1
  147. package/dist-esm/samples-dev/configurationsListByResourceGroupSample.d.ts +0 -2
  148. package/dist-esm/samples-dev/configurationsListByResourceGroupSample.d.ts.map +0 -1
  149. package/dist-esm/samples-dev/configurationsListByResourceGroupSample.js +0 -53
  150. package/dist-esm/samples-dev/configurationsListByResourceGroupSample.js.map +0 -1
  151. package/dist-esm/samples-dev/configurationsListBySubscriptionSample.d.ts +0 -2
  152. package/dist-esm/samples-dev/configurationsListBySubscriptionSample.d.ts.map +0 -1
  153. package/dist-esm/samples-dev/configurationsListBySubscriptionSample.js +0 -52
  154. package/dist-esm/samples-dev/configurationsListBySubscriptionSample.js.map +0 -1
  155. package/dist-esm/samples-dev/recommendationMetadataGetSample.d.ts +0 -2
  156. package/dist-esm/samples-dev/recommendationMetadataGetSample.d.ts.map +0 -1
  157. package/dist-esm/samples-dev/recommendationMetadataGetSample.js +0 -36
  158. package/dist-esm/samples-dev/recommendationMetadataGetSample.js.map +0 -1
  159. package/dist-esm/samples-dev/recommendationMetadataListSample.d.ts +0 -2
  160. package/dist-esm/samples-dev/recommendationMetadataListSample.d.ts.map +0 -1
  161. package/dist-esm/samples-dev/recommendationMetadataListSample.js +0 -51
  162. package/dist-esm/samples-dev/recommendationMetadataListSample.js.map +0 -1
  163. package/dist-esm/samples-dev/recommendationsGenerateSample.d.ts +0 -2
  164. package/dist-esm/samples-dev/recommendationsGenerateSample.d.ts.map +0 -1
  165. package/dist-esm/samples-dev/recommendationsGenerateSample.js +0 -36
  166. package/dist-esm/samples-dev/recommendationsGenerateSample.js.map +0 -1
  167. package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.d.ts +0 -2
  168. package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.d.ts.map +0 -1
  169. package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.js +0 -37
  170. package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.js.map +0 -1
  171. package/dist-esm/samples-dev/recommendationsGetSample.d.ts +0 -2
  172. package/dist-esm/samples-dev/recommendationsGetSample.d.ts.map +0 -1
  173. package/dist-esm/samples-dev/recommendationsGetSample.js +0 -37
  174. package/dist-esm/samples-dev/recommendationsGetSample.js.map +0 -1
  175. package/dist-esm/samples-dev/recommendationsListSample.d.ts +0 -2
  176. package/dist-esm/samples-dev/recommendationsListSample.d.ts.map +0 -1
  177. package/dist-esm/samples-dev/recommendationsListSample.js +0 -54
  178. package/dist-esm/samples-dev/recommendationsListSample.js.map +0 -1
  179. package/dist-esm/samples-dev/suppressionsCreateSample.d.ts +0 -2
  180. package/dist-esm/samples-dev/suppressionsCreateSample.d.ts.map +0 -1
  181. package/dist-esm/samples-dev/suppressionsCreateSample.js +0 -39
  182. package/dist-esm/samples-dev/suppressionsCreateSample.js.map +0 -1
  183. package/dist-esm/samples-dev/suppressionsDeleteSample.d.ts +0 -2
  184. package/dist-esm/samples-dev/suppressionsDeleteSample.d.ts.map +0 -1
  185. package/dist-esm/samples-dev/suppressionsDeleteSample.js +0 -38
  186. package/dist-esm/samples-dev/suppressionsDeleteSample.js.map +0 -1
  187. package/dist-esm/samples-dev/suppressionsGetSample.d.ts +0 -2
  188. package/dist-esm/samples-dev/suppressionsGetSample.d.ts.map +0 -1
  189. package/dist-esm/samples-dev/suppressionsGetSample.js +0 -38
  190. package/dist-esm/samples-dev/suppressionsGetSample.js.map +0 -1
  191. package/dist-esm/samples-dev/suppressionsListSample.d.ts +0 -2
  192. package/dist-esm/samples-dev/suppressionsListSample.d.ts.map +0 -1
  193. package/dist-esm/samples-dev/suppressionsListSample.js +0 -52
  194. package/dist-esm/samples-dev/suppressionsListSample.js.map +0 -1
  195. package/dist-esm/src/advisorManagementClient.d.ts.map +0 -1
  196. package/dist-esm/src/advisorManagementClient.js.map +0 -1
  197. package/dist-esm/src/index.d.ts +0 -5
  198. package/dist-esm/src/index.js.map +0 -1
  199. package/dist-esm/src/models/index.js.map +0 -1
  200. package/dist-esm/src/models/mappers.js.map +0 -1
  201. package/dist-esm/src/models/parameters.js.map +0 -1
  202. package/dist-esm/src/operations/configurations.d.ts.map +0 -1
  203. package/dist-esm/src/operations/configurations.js.map +0 -1
  204. package/dist-esm/src/operations/index.d.ts +0 -6
  205. package/dist-esm/src/operations/index.js.map +0 -1
  206. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  207. package/dist-esm/src/operations/operations.js.map +0 -1
  208. package/dist-esm/src/operations/recommendationMetadata.d.ts.map +0 -1
  209. package/dist-esm/src/operations/recommendationMetadata.js.map +0 -1
  210. package/dist-esm/src/operations/recommendations.d.ts.map +0 -1
  211. package/dist-esm/src/operations/recommendations.js.map +0 -1
  212. package/dist-esm/src/operations/suppressions.d.ts.map +0 -1
  213. package/dist-esm/src/operations/suppressions.js.map +0 -1
  214. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +0 -1
  215. package/dist-esm/src/operationsInterfaces/configurations.js.map +0 -1
  216. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
  217. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  218. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  219. package/dist-esm/src/operationsInterfaces/recommendationMetadata.d.ts.map +0 -1
  220. package/dist-esm/src/operationsInterfaces/recommendationMetadata.js.map +0 -1
  221. package/dist-esm/src/operationsInterfaces/recommendations.d.ts.map +0 -1
  222. package/dist-esm/src/operationsInterfaces/recommendations.js.map +0 -1
  223. package/dist-esm/src/operationsInterfaces/suppressions.d.ts.map +0 -1
  224. package/dist-esm/src/operationsInterfaces/suppressions.js.map +0 -1
  225. package/dist-esm/src/pagingHelper.js.map +0 -1
  226. package/dist-esm/test/advisor_operations_test.spec.d.ts +0 -4
  227. package/dist-esm/test/advisor_operations_test.spec.d.ts.map +0 -1
  228. package/dist-esm/test/advisor_operations_test.spec.js +0 -77
  229. package/dist-esm/test/advisor_operations_test.spec.js.map +0 -1
  230. package/src/advisorManagementClient.ts +0 -174
  231. package/src/index.ts +0 -13
  232. package/src/models/index.ts +0 -538
  233. package/src/models/mappers.ts +0 -700
  234. package/src/models/parameters.ts +0 -194
  235. package/src/operations/configurations.ts +0 -336
  236. package/src/operations/index.ts +0 -13
  237. package/src/operations/operations.ts +0 -149
  238. package/src/operations/recommendationMetadata.ts +0 -186
  239. package/src/operations/recommendations.ts +0 -271
  240. package/src/operations/suppressions.ts +0 -304
  241. package/src/operationsInterfaces/configurations.ts +0 -65
  242. package/src/operationsInterfaces/index.ts +0 -13
  243. package/src/operationsInterfaces/operations.ts +0 -22
  244. package/src/operationsInterfaces/recommendationMetadata.ts +0 -36
  245. package/src/operationsInterfaces/recommendations.ts +0 -63
  246. package/src/operationsInterfaces/suppressions.ts +0 -78
  247. package/src/pagingHelper.ts +0 -39
  248. package/tsconfig.json +0 -33
  249. /package/{dist-esm/src → dist/commonjs}/models/index.d.ts +0 -0
  250. /package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts +0 -0
  251. /package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts.map +0 -0
  252. /package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts +0 -0
  253. /package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts.map +0 -0
  254. /package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts +0 -0
  255. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
  256. /package/{dist-esm/src → dist/esm}/models/index.js +0 -0
  257. /package/{dist-esm/src → dist/esm}/operationsInterfaces/configurations.js +0 -0
  258. /package/{dist-esm/src → dist/esm}/operationsInterfaces/operations.js +0 -0
  259. /package/{dist-esm/src → dist/esm}/operationsInterfaces/recommendationMetadata.js +0 -0
  260. /package/{dist-esm/src → dist/esm}/operationsInterfaces/recommendations.js +0 -0
  261. /package/{dist-esm/src → dist/esm}/operationsInterfaces/suppressions.js +0 -0
  262. /package/{dist-esm/src → dist/esm}/pagingHelper.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,cAAc,GAA+B;IACxD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,gBAAgB;QAC3B,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAA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AAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,mBAAmB,EAAE;gBACnB,cAAc,EAAE,gCAAgC;gBAChD,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF,GACF;KACF;CACF,CAAC;AAEW,QAAA,8BAA8B,GAA+B;IACxE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,gCAAgC;QAC3C,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,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 * as coreClient from \"@azure/core-client\";\n\nexport const MetadataEntity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MetadataEntity\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n displayName: {\n serializedName: \"properties.displayName\",\n type: {\n name: \"String\",\n },\n },\n dependsOn: {\n serializedName: \"properties.dependsOn\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n applicableScenarios: {\n serializedName: \"properties.applicableScenarios\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n supportedValues: {\n serializedName: \"properties.supportedValues\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MetadataSupportedValueDetail\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const MetadataSupportedValueDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MetadataSupportedValueDetail\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ARMErrorResponseBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ARMErrorResponseBody\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ArmErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ArmErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ARMErrorResponseBody\",\n },\n },\n },\n },\n};\n\nexport const MetadataEntityListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MetadataEntityListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MetadataEntity\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigData\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const DigestConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DigestConfig\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n actionGroupResourceId: {\n serializedName: \"actionGroupResourceId\",\n type: {\n name: \"String\",\n },\n },\n frequency: {\n serializedName: \"frequency\",\n type: {\n name: \"Number\",\n },\n },\n categories: {\n serializedName: \"categories\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n language: {\n serializedName: \"language\",\n type: {\n name: \"String\",\n },\n },\n state: {\n serializedName: \"state\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ResourceRecommendationBaseListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceRecommendationBaseListResult\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceRecommendationBase\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ShortDescription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortDescription\",\n modelProperties: {\n problem: {\n serializedName: \"problem\",\n type: {\n name: \"String\",\n },\n },\n solution: {\n serializedName: \"solution\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ResourceMetadata: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceMetadata\",\n modelProperties: {\n resourceId: {\n serializedName: \"resourceId\",\n type: {\n name: \"String\",\n },\n },\n source: {\n serializedName: \"source\",\n type: {\n name: \"String\",\n },\n },\n action: {\n serializedName: \"action\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n },\n },\n singular: {\n serializedName: \"singular\",\n type: {\n name: \"String\",\n },\n },\n plural: {\n serializedName: \"plural\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const OperationEntityListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationEntityListResult\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"OperationEntity\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const OperationEntity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationEntity\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplayInfo\",\n },\n },\n },\n },\n};\n\nexport const OperationDisplayInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplayInfo\",\n modelProperties: {\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SuppressionContractListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SuppressionContractListResult\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SuppressionContract\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ConfigData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigData\",\n modelProperties: {\n ...Resource.type.modelProperties,\n exclude: {\n serializedName: \"properties.exclude\",\n type: {\n name: \"Boolean\",\n },\n },\n lowCpuThreshold: {\n serializedName: \"properties.lowCpuThreshold\",\n type: {\n name: \"String\",\n },\n },\n digests: {\n serializedName: \"properties.digests\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DigestConfig\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ResourceRecommendationBase: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceRecommendationBase\",\n modelProperties: {\n ...Resource.type.modelProperties,\n category: {\n serializedName: \"properties.category\",\n type: {\n name: \"String\",\n },\n },\n impact: {\n serializedName: \"properties.impact\",\n type: {\n name: \"String\",\n },\n },\n impactedField: {\n serializedName: \"properties.impactedField\",\n type: {\n name: \"String\",\n },\n },\n impactedValue: {\n serializedName: \"properties.impactedValue\",\n type: {\n name: \"String\",\n },\n },\n lastUpdated: {\n serializedName: \"properties.lastUpdated\",\n type: {\n name: \"DateTime\",\n },\n },\n metadata: {\n serializedName: \"properties.metadata\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n },\n },\n recommendationTypeId: {\n serializedName: \"properties.recommendationTypeId\",\n type: {\n name: \"String\",\n },\n },\n risk: {\n serializedName: \"properties.risk\",\n type: {\n name: \"String\",\n },\n },\n shortDescription: {\n serializedName: \"properties.shortDescription\",\n type: {\n name: \"Composite\",\n className: \"ShortDescription\",\n },\n },\n suppressionIds: {\n serializedName: \"properties.suppressionIds\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Uuid\",\n },\n },\n },\n },\n extendedProperties: {\n serializedName: \"properties.extendedProperties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n resourceMetadata: {\n serializedName: \"properties.resourceMetadata\",\n type: {\n name: \"Composite\",\n className: \"ResourceMetadata\",\n },\n },\n description: {\n serializedName: \"properties.description\",\n type: {\n name: \"String\",\n },\n },\n label: {\n serializedName: \"properties.label\",\n type: {\n name: \"String\",\n },\n },\n learnMoreLink: {\n serializedName: \"properties.learnMoreLink\",\n type: {\n name: \"String\",\n },\n },\n potentialBenefits: {\n serializedName: \"properties.potentialBenefits\",\n type: {\n name: \"String\",\n },\n },\n actions: {\n serializedName: \"properties.actions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n },\n },\n },\n },\n remediation: {\n serializedName: \"properties.remediation\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n },\n },\n exposedMetadataProperties: {\n serializedName: \"properties.exposedMetadataProperties\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n },\n },\n },\n },\n};\n\nexport const SuppressionContract: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SuppressionContract\",\n modelProperties: {\n ...Resource.type.modelProperties,\n suppressionId: {\n serializedName: \"properties.suppressionId\",\n type: {\n name: \"String\",\n },\n },\n ttl: {\n serializedName: \"properties.ttl\",\n type: {\n name: \"String\",\n },\n },\n expirationTimeStamp: {\n serializedName: \"properties.expirationTimeStamp\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const RecommendationsGenerateHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RecommendationsGenerateHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n"]}
@@ -0,0 +1,172 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.suppressionContract = exports.recommendationId = exports.resourceUri = exports.skipToken = exports.top = exports.filter = exports.operationId = exports.resourceGroup = exports.configurationName = exports.configContract = exports.contentType = exports.subscriptionId = exports.nextLink = exports.apiVersion = exports.name = exports.$host = exports.accept = void 0;
11
+ const mappers_js_1 = require("../models/mappers.js");
12
+ exports.accept = {
13
+ parameterPath: "accept",
14
+ mapper: {
15
+ defaultValue: "application/json",
16
+ isConstant: true,
17
+ serializedName: "Accept",
18
+ type: {
19
+ name: "String",
20
+ },
21
+ },
22
+ };
23
+ exports.$host = {
24
+ parameterPath: "$host",
25
+ mapper: {
26
+ serializedName: "$host",
27
+ required: true,
28
+ type: {
29
+ name: "String",
30
+ },
31
+ },
32
+ skipEncoding: true,
33
+ };
34
+ exports.name = {
35
+ parameterPath: "name",
36
+ mapper: {
37
+ serializedName: "name",
38
+ required: true,
39
+ type: {
40
+ name: "String",
41
+ },
42
+ },
43
+ };
44
+ exports.apiVersion = {
45
+ parameterPath: "apiVersion",
46
+ mapper: {
47
+ defaultValue: "2020-01-01",
48
+ isConstant: true,
49
+ serializedName: "api-version",
50
+ type: {
51
+ name: "String",
52
+ },
53
+ },
54
+ };
55
+ exports.nextLink = {
56
+ parameterPath: "nextLink",
57
+ mapper: {
58
+ serializedName: "nextLink",
59
+ required: true,
60
+ type: {
61
+ name: "String",
62
+ },
63
+ },
64
+ skipEncoding: true,
65
+ };
66
+ exports.subscriptionId = {
67
+ parameterPath: "subscriptionId",
68
+ mapper: {
69
+ serializedName: "subscriptionId",
70
+ required: true,
71
+ type: {
72
+ name: "String",
73
+ },
74
+ },
75
+ };
76
+ exports.contentType = {
77
+ parameterPath: ["options", "contentType"],
78
+ mapper: {
79
+ defaultValue: "application/json",
80
+ isConstant: true,
81
+ serializedName: "Content-Type",
82
+ type: {
83
+ name: "String",
84
+ },
85
+ },
86
+ };
87
+ exports.configContract = {
88
+ parameterPath: "configContract",
89
+ mapper: mappers_js_1.ConfigData,
90
+ };
91
+ exports.configurationName = {
92
+ parameterPath: "configurationName",
93
+ mapper: {
94
+ serializedName: "configurationName",
95
+ required: true,
96
+ type: {
97
+ name: "String",
98
+ },
99
+ },
100
+ };
101
+ exports.resourceGroup = {
102
+ parameterPath: "resourceGroup",
103
+ mapper: {
104
+ serializedName: "resourceGroup",
105
+ required: true,
106
+ type: {
107
+ name: "String",
108
+ },
109
+ },
110
+ };
111
+ exports.operationId = {
112
+ parameterPath: "operationId",
113
+ mapper: {
114
+ serializedName: "operationId",
115
+ required: true,
116
+ type: {
117
+ name: "Uuid",
118
+ },
119
+ },
120
+ };
121
+ exports.filter = {
122
+ parameterPath: ["options", "filter"],
123
+ mapper: {
124
+ serializedName: "$filter",
125
+ type: {
126
+ name: "String",
127
+ },
128
+ },
129
+ };
130
+ exports.top = {
131
+ parameterPath: ["options", "top"],
132
+ mapper: {
133
+ serializedName: "$top",
134
+ type: {
135
+ name: "Number",
136
+ },
137
+ },
138
+ };
139
+ exports.skipToken = {
140
+ parameterPath: ["options", "skipToken"],
141
+ mapper: {
142
+ serializedName: "$skipToken",
143
+ type: {
144
+ name: "String",
145
+ },
146
+ },
147
+ };
148
+ exports.resourceUri = {
149
+ parameterPath: "resourceUri",
150
+ mapper: {
151
+ serializedName: "resourceUri",
152
+ required: true,
153
+ type: {
154
+ name: "String",
155
+ },
156
+ },
157
+ };
158
+ exports.recommendationId = {
159
+ parameterPath: "recommendationId",
160
+ mapper: {
161
+ serializedName: "recommendationId",
162
+ required: true,
163
+ type: {
164
+ name: "String",
165
+ },
166
+ },
167
+ };
168
+ exports.suppressionContract = {
169
+ parameterPath: "suppressionContract",
170
+ mapper: mappers_js_1.SuppressionContract,
171
+ };
172
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAM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AAa,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC;IACvC,MAAM,EAAE;QACN,cAAc,EAAE,YAAY;QAC5B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,gBAAgB,GAA0B;IACrD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE;QACN,cAAc,EAAE,kBAAkB;QAClC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,mBAAmB,GAAuB;IACrD,aAAa,EAAE,qBAAqB;IACpC,MAAM,EAAE,gCAAyB;CAClC,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ConfigData as ConfigDataMapper,\n SuppressionContract as SuppressionContractMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const name: OperationURLParameter = {\n parameterPath: \"name\",\n mapper: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2020-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const configContract: OperationParameter = {\n parameterPath: \"configContract\",\n mapper: ConfigDataMapper,\n};\n\nexport const configurationName: OperationURLParameter = {\n parameterPath: \"configurationName\",\n mapper: {\n serializedName: \"configurationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroup: OperationURLParameter = {\n parameterPath: \"resourceGroup\",\n mapper: {\n serializedName: \"resourceGroup\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const skipToken: OperationQueryParameter = {\n parameterPath: [\"options\", \"skipToken\"],\n mapper: {\n serializedName: \"$skipToken\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceUri: OperationURLParameter = {\n parameterPath: \"resourceUri\",\n mapper: {\n serializedName: \"resourceUri\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const recommendationId: OperationURLParameter = {\n parameterPath: \"recommendationId\",\n mapper: {\n serializedName: \"recommendationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const suppressionContract: OperationParameter = {\n parameterPath: \"suppressionContract\",\n mapper: SuppressionContractMapper,\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Configurations } from "../operationsInterfaces";
3
- import { AdvisorManagementClient } from "../advisorManagementClient";
4
- import { ConfigData, ConfigurationsListBySubscriptionOptionalParams, ConfigurationsListByResourceGroupOptionalParams, ConfigurationName, ConfigurationsCreateInSubscriptionOptionalParams, ConfigurationsCreateInSubscriptionResponse, ConfigurationsCreateInResourceGroupOptionalParams, ConfigurationsCreateInResourceGroupResponse } from "../models";
2
+ import { Configurations } from "../operationsInterfaces/index.js";
3
+ import { AdvisorManagementClient } from "../advisorManagementClient.js";
4
+ import { ConfigData, ConfigurationsListBySubscriptionOptionalParams, ConfigurationsListByResourceGroupOptionalParams, ConfigurationName, ConfigurationsCreateInSubscriptionOptionalParams, ConfigurationsCreateInSubscriptionResponse, ConfigurationsCreateInResourceGroupOptionalParams, ConfigurationsCreateInResourceGroupResponse } from "../models/index.js";
5
5
  /** Class containing Configurations operations. */
6
6
  export declare class ConfigurationsImpl implements Configurations {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurations.d.ts","sourceRoot":"","sources":["../../../src/operations/configurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,UAAU,EAEV,8CAA8C,EAE9C,+CAA+C,EAE/C,iBAAiB,EACjB,gDAAgD,EAChD,0CAA0C,EAC1C,iDAAiD,EACjD,2CAA2C,EAE5C,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,UAAU,CAAC;YAkB1B,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;OAIG;IACI,mBAAmB,CACxB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,UAAU,CAAC;YAkB1B,6BAA6B;YAU7B,4BAA4B;IAS3C;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAM3B;;;;;;OAMG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,iBAAiB,EACpC,cAAc,EAAE,UAAU,EAC1B,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;IAOtD;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;OAMG;IACH,qBAAqB,CACnB,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,UAAU,EAC1B,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;IAOvD;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
@@ -0,0 +1,271 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ConfigurationsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Class containing Configurations operations. */
18
+ class ConfigurationsImpl {
19
+ /**
20
+ * Initialize a new instance of the class Configurations class.
21
+ * @param client Reference to the service client
22
+ */
23
+ constructor(client) {
24
+ this.client = client;
25
+ }
26
+ /**
27
+ * Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.
28
+ * @param options The options parameters.
29
+ */
30
+ listBySubscription(options) {
31
+ const iter = this.listBySubscriptionPagingAll(options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: (settings) => {
40
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ throw new Error("maxPageSize is not supported by this operation.");
42
+ }
43
+ return this.listBySubscriptionPagingPage(options, settings);
44
+ },
45
+ };
46
+ }
47
+ listBySubscriptionPagingPage(options, settings) {
48
+ return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
49
+ let result;
50
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
+ if (!continuationToken) {
52
+ result = yield tslib_1.__await(this._listBySubscription(options));
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
56
+ yield yield tslib_1.__await(page);
57
+ }
58
+ while (continuationToken) {
59
+ result = yield tslib_1.__await(this._listBySubscriptionNext(continuationToken, options));
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
63
+ yield yield tslib_1.__await(page);
64
+ }
65
+ });
66
+ }
67
+ listBySubscriptionPagingAll(options) {
68
+ return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
69
+ var _a, e_1, _b, _c;
70
+ try {
71
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
72
+ _c = _f.value;
73
+ _d = false;
74
+ const page = _c;
75
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
76
+ }
77
+ }
78
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
79
+ finally {
80
+ try {
81
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
82
+ }
83
+ finally { if (e_1) throw e_1.error; }
84
+ }
85
+ });
86
+ }
87
+ /**
88
+ * Retrieve Azure Advisor configurations.
89
+ * @param resourceGroup The name of the Azure resource group.
90
+ * @param options The options parameters.
91
+ */
92
+ listByResourceGroup(resourceGroup, options) {
93
+ const iter = this.listByResourceGroupPagingAll(resourceGroup, options);
94
+ return {
95
+ next() {
96
+ return iter.next();
97
+ },
98
+ [Symbol.asyncIterator]() {
99
+ return this;
100
+ },
101
+ byPage: (settings) => {
102
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
103
+ throw new Error("maxPageSize is not supported by this operation.");
104
+ }
105
+ return this.listByResourceGroupPagingPage(resourceGroup, options, settings);
106
+ },
107
+ };
108
+ }
109
+ listByResourceGroupPagingPage(resourceGroup, options, _settings) {
110
+ return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
111
+ let result;
112
+ result = yield tslib_1.__await(this._listByResourceGroup(resourceGroup, options));
113
+ yield yield tslib_1.__await(result.value || []);
114
+ });
115
+ }
116
+ listByResourceGroupPagingAll(resourceGroup, options) {
117
+ return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
118
+ var _a, e_2, _b, _c;
119
+ try {
120
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroup, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
121
+ _c = _f.value;
122
+ _d = false;
123
+ const page = _c;
124
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
125
+ }
126
+ }
127
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
128
+ finally {
129
+ try {
130
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
131
+ }
132
+ finally { if (e_2) throw e_2.error; }
133
+ }
134
+ });
135
+ }
136
+ /**
137
+ * Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.
138
+ * @param options The options parameters.
139
+ */
140
+ _listBySubscription(options) {
141
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
142
+ }
143
+ /**
144
+ * Create/Overwrite Azure Advisor configuration and also delete all configurations of contained
145
+ * resource groups.
146
+ * @param configurationName Advisor configuration name. Value must be 'default'
147
+ * @param configContract The Azure Advisor configuration data structure.
148
+ * @param options The options parameters.
149
+ */
150
+ createInSubscription(configurationName, configContract, options) {
151
+ return this.client.sendOperationRequest({ configurationName, configContract, options }, createInSubscriptionOperationSpec);
152
+ }
153
+ /**
154
+ * Retrieve Azure Advisor configurations.
155
+ * @param resourceGroup The name of the Azure resource group.
156
+ * @param options The options parameters.
157
+ */
158
+ _listByResourceGroup(resourceGroup, options) {
159
+ return this.client.sendOperationRequest({ resourceGroup, options }, listByResourceGroupOperationSpec);
160
+ }
161
+ /**
162
+ * Create/Overwrite Azure Advisor configuration.
163
+ * @param configurationName Advisor configuration name. Value must be 'default'
164
+ * @param resourceGroup The name of the Azure resource group.
165
+ * @param configContract The Azure Advisor configuration data structure.
166
+ * @param options The options parameters.
167
+ */
168
+ createInResourceGroup(configurationName, resourceGroup, configContract, options) {
169
+ return this.client.sendOperationRequest({ configurationName, resourceGroup, configContract, options }, createInResourceGroupOperationSpec);
170
+ }
171
+ /**
172
+ * ListBySubscriptionNext
173
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
174
+ * @param options The options parameters.
175
+ */
176
+ _listBySubscriptionNext(nextLink, options) {
177
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
178
+ }
179
+ }
180
+ exports.ConfigurationsImpl = ConfigurationsImpl;
181
+ // Operation Specifications
182
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
183
+ const listBySubscriptionOperationSpec = {
184
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations",
185
+ httpMethod: "GET",
186
+ responses: {
187
+ 200: {
188
+ bodyMapper: Mappers.ConfigurationListResult,
189
+ },
190
+ default: {
191
+ bodyMapper: Mappers.ArmErrorResponse,
192
+ },
193
+ },
194
+ queryParameters: [Parameters.apiVersion],
195
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
196
+ headerParameters: [Parameters.accept],
197
+ serializer,
198
+ };
199
+ const createInSubscriptionOperationSpec = {
200
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations/{configurationName}",
201
+ httpMethod: "PUT",
202
+ responses: {
203
+ 200: {
204
+ bodyMapper: Mappers.ConfigData,
205
+ },
206
+ default: {
207
+ bodyMapper: Mappers.ArmErrorResponse,
208
+ },
209
+ },
210
+ requestBody: Parameters.configContract,
211
+ queryParameters: [Parameters.apiVersion],
212
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.configurationName],
213
+ headerParameters: [Parameters.accept, Parameters.contentType],
214
+ mediaType: "json",
215
+ serializer,
216
+ };
217
+ const listByResourceGroupOperationSpec = {
218
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations",
219
+ httpMethod: "GET",
220
+ responses: {
221
+ 200: {
222
+ bodyMapper: Mappers.ConfigurationListResult,
223
+ },
224
+ default: {
225
+ bodyMapper: Mappers.ArmErrorResponse,
226
+ },
227
+ },
228
+ queryParameters: [Parameters.apiVersion],
229
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroup],
230
+ headerParameters: [Parameters.accept],
231
+ serializer,
232
+ };
233
+ const createInResourceGroupOperationSpec = {
234
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations/{configurationName}",
235
+ httpMethod: "PUT",
236
+ responses: {
237
+ 200: {
238
+ bodyMapper: Mappers.ConfigData,
239
+ },
240
+ default: {
241
+ bodyMapper: Mappers.ArmErrorResponse,
242
+ },
243
+ },
244
+ requestBody: Parameters.configContract,
245
+ queryParameters: [Parameters.apiVersion],
246
+ urlParameters: [
247
+ Parameters.$host,
248
+ Parameters.subscriptionId,
249
+ Parameters.configurationName,
250
+ Parameters.resourceGroup,
251
+ ],
252
+ headerParameters: [Parameters.accept, Parameters.contentType],
253
+ mediaType: "json",
254
+ serializer,
255
+ };
256
+ const listBySubscriptionNextOperationSpec = {
257
+ path: "{nextLink}",
258
+ httpMethod: "GET",
259
+ responses: {
260
+ 200: {
261
+ bodyMapper: Mappers.ConfigurationListResult,
262
+ },
263
+ default: {
264
+ bodyMapper: Mappers.ArmErrorResponse,
265
+ },
266
+ },
267
+ urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
268
+ headerParameters: [Parameters.accept],
269
+ serializer,
270
+ };
271
+ //# sourceMappingURL=configurations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurations.js","sourceRoot":"","sources":["../../../src/operations/configurations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAiBtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAwD;QAExD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,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(c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Configurations } 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 { AdvisorManagementClient } from \"../advisorManagementClient.js\";\nimport {\n ConfigData,\n ConfigurationsListBySubscriptionNextOptionalParams,\n ConfigurationsListBySubscriptionOptionalParams,\n ConfigurationsListBySubscriptionResponse,\n ConfigurationsListByResourceGroupOptionalParams,\n ConfigurationsListByResourceGroupResponse,\n ConfigurationName,\n ConfigurationsCreateInSubscriptionOptionalParams,\n ConfigurationsCreateInSubscriptionResponse,\n ConfigurationsCreateInResourceGroupOptionalParams,\n ConfigurationsCreateInResourceGroupResponse,\n ConfigurationsListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Configurations operations. */\nexport class ConfigurationsImpl implements Configurations {\n private readonly client: AdvisorManagementClient;\n\n /**\n * Initialize a new instance of the class Configurations class.\n * @param client Reference to the service client\n */\n constructor(client: AdvisorManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ConfigurationsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ConfigData> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ConfigurationsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConfigData[]> {\n let result: ConfigurationsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ConfigurationsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ConfigData> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieve Azure Advisor configurations.\n * @param resourceGroup The name of the Azure resource group.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroup: string,\n options?: ConfigurationsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ConfigData> {\n const iter = this.listByResourceGroupPagingAll(resourceGroup, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(resourceGroup, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroup: string,\n options?: ConfigurationsListByResourceGroupOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<ConfigData[]> {\n let result: ConfigurationsListByResourceGroupResponse;\n result = await this._listByResourceGroup(resourceGroup, options);\n yield result.value || [];\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroup: string,\n options?: ConfigurationsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ConfigData> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroup, options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ConfigurationsListBySubscriptionOptionalParams,\n ): Promise<ConfigurationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);\n }\n\n /**\n * Create/Overwrite Azure Advisor configuration and also delete all configurations of contained\n * resource groups.\n * @param configurationName Advisor configuration name. Value must be 'default'\n * @param configContract The Azure Advisor configuration data structure.\n * @param options The options parameters.\n */\n createInSubscription(\n configurationName: ConfigurationName,\n configContract: ConfigData,\n options?: ConfigurationsCreateInSubscriptionOptionalParams,\n ): Promise<ConfigurationsCreateInSubscriptionResponse> {\n return this.client.sendOperationRequest(\n { configurationName, configContract, options },\n createInSubscriptionOperationSpec,\n );\n }\n\n /**\n * Retrieve Azure Advisor configurations.\n * @param resourceGroup The name of the Azure resource group.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroup: string,\n options?: ConfigurationsListByResourceGroupOptionalParams,\n ): Promise<ConfigurationsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroup, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Create/Overwrite Azure Advisor configuration.\n * @param configurationName Advisor configuration name. Value must be 'default'\n * @param resourceGroup The name of the Azure resource group.\n * @param configContract The Azure Advisor configuration data structure.\n * @param options The options parameters.\n */\n createInResourceGroup(\n configurationName: ConfigurationName,\n resourceGroup: string,\n configContract: ConfigData,\n options?: ConfigurationsCreateInResourceGroupOptionalParams,\n ): Promise<ConfigurationsCreateInResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { configurationName, resourceGroup, configContract, options },\n createInResourceGroupOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ConfigurationsListBySubscriptionNextOptionalParams,\n ): Promise<ConfigurationsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.ArmErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createInSubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations/{configurationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigData,\n },\n default: {\n bodyMapper: Mappers.ArmErrorResponse,\n },\n },\n requestBody: Parameters.configContract,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.configurationName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.ArmErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroup],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createInResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations/{configurationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigData,\n },\n default: {\n bodyMapper: Mappers.ArmErrorResponse,\n },\n },\n requestBody: Parameters.configContract,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.configurationName,\n Parameters.resourceGroup,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.ArmErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,6 @@
1
+ export * from "./recommendationMetadata.js";
2
+ export * from "./configurations.js";
3
+ export * from "./recommendations.js";
4
+ export * from "./operations.js";
5
+ export * from "./suppressions.js";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ const tslib_1 = require("tslib");
11
+ tslib_1.__exportStar(require("./recommendationMetadata.js"), exports);
12
+ tslib_1.__exportStar(require("./configurations.js"), exports);
13
+ tslib_1.__exportStar(require("./recommendations.js"), exports);
14
+ tslib_1.__exportStar(require("./operations.js"), exports);
15
+ tslib_1.__exportStar(require("./suppressions.js"), exports);
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAA4C;AAC5C,8DAAoC;AACpC,+DAAqC;AACrC,0DAAgC;AAChC,4DAAkC","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 \"./recommendationMetadata.js\";\nexport * from \"./configurations.js\";\nexport * from \"./recommendations.js\";\nexport * from \"./operations.js\";\nexport * from \"./suppressions.js\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operations } from "../operationsInterfaces";
3
- import { AdvisorManagementClient } from "../advisorManagementClient";
4
- import { OperationEntity, OperationsListOptionalParams } from "../models";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { AdvisorManagementClient } from "../advisorManagementClient.js";
4
+ import { OperationEntity, OperationsListOptionalParams } from "../models/index.js";
5
5
  /** Class containing Operations operations. */
6
6
  export declare class OperationsImpl implements Operations {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,eAAe,CAAC;YAkBjF,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAMlB"}