@azure/arm-appinsights 4.0.0 → 5.0.0-beta.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 (453) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +1 -1
  4. package/README.md +70 -78
  5. package/dist/index.js +7675 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/applicationInsightsManagementClient.d.ts +36 -0
  10. package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -0
  11. package/dist-esm/src/applicationInsightsManagementClient.js +69 -0
  12. package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -0
  13. package/dist-esm/src/index.d.ts +5 -0
  14. package/dist-esm/src/index.d.ts.map +1 -0
  15. package/dist-esm/src/index.js +12 -0
  16. package/dist-esm/src/index.js.map +1 -0
  17. package/dist-esm/src/models/index.d.ts +2080 -0
  18. package/dist-esm/src/models/index.d.ts.map +1 -0
  19. package/dist-esm/src/models/index.js +133 -0
  20. package/dist-esm/src/models/index.js.map +1 -0
  21. package/dist-esm/src/models/mappers.d.ts +86 -0
  22. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  23. package/{esm → dist-esm/src}/models/mappers.js +1389 -1567
  24. package/dist-esm/src/models/mappers.js.map +1 -0
  25. package/dist-esm/src/models/parameters.d.ts +63 -0
  26. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  27. package/{esm → dist-esm/src}/models/parameters.js +259 -225
  28. package/dist-esm/src/models/parameters.js.map +1 -0
  29. package/dist-esm/src/operations/aPIKeys.d.ts +55 -0
  30. package/dist-esm/src/operations/aPIKeys.d.ts.map +1 -0
  31. package/dist-esm/src/operations/aPIKeys.js +185 -0
  32. package/dist-esm/src/operations/aPIKeys.js.map +1 -0
  33. package/dist-esm/src/operations/analyticsItems.d.ts +51 -0
  34. package/dist-esm/src/operations/analyticsItems.d.ts.map +1 -0
  35. package/dist-esm/src/operations/analyticsItems.js +157 -0
  36. package/dist-esm/src/operations/analyticsItems.js.map +1 -0
  37. package/dist-esm/src/operations/annotations.d.ts +63 -0
  38. package/dist-esm/src/operations/annotations.d.ts.map +1 -0
  39. package/dist-esm/src/operations/annotations.js +207 -0
  40. package/dist-esm/src/operations/annotations.js.map +1 -0
  41. package/dist-esm/src/operations/componentAvailableFeatures.d.ts +20 -0
  42. package/dist-esm/src/operations/componentAvailableFeatures.d.ts.map +1 -0
  43. package/dist-esm/src/operations/componentAvailableFeatures.js +50 -0
  44. package/dist-esm/src/operations/componentAvailableFeatures.js.map +1 -0
  45. package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts +29 -0
  46. package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts.map +1 -0
  47. package/dist-esm/src/operations/componentCurrentBillingFeatures.js +81 -0
  48. package/dist-esm/src/operations/componentCurrentBillingFeatures.js.map +1 -0
  49. package/dist-esm/src/operations/componentFeatureCapabilities.d.ts +20 -0
  50. package/dist-esm/src/operations/componentFeatureCapabilities.d.ts.map +1 -0
  51. package/dist-esm/src/operations/componentFeatureCapabilities.js +50 -0
  52. package/dist-esm/src/operations/componentFeatureCapabilities.js.map +1 -0
  53. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts +53 -0
  54. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
  55. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js +174 -0
  56. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js.map +1 -0
  57. package/dist-esm/src/operations/componentQuotaStatus.d.ts +20 -0
  58. package/dist-esm/src/operations/componentQuotaStatus.d.ts.map +1 -0
  59. package/dist-esm/src/operations/componentQuotaStatus.js +50 -0
  60. package/dist-esm/src/operations/componentQuotaStatus.js.map +1 -0
  61. package/dist-esm/src/operations/components.d.ts +108 -0
  62. package/dist-esm/src/operations/components.d.ts.map +1 -0
  63. package/dist-esm/src/operations/components.js +402 -0
  64. package/dist-esm/src/operations/components.js.map +1 -0
  65. package/dist-esm/src/operations/exportConfigurations.d.ts +58 -0
  66. package/dist-esm/src/operations/exportConfigurations.d.ts.map +1 -0
  67. package/dist-esm/src/operations/exportConfigurations.js +195 -0
  68. package/dist-esm/src/operations/exportConfigurations.js.map +1 -0
  69. package/dist-esm/src/operations/favorites.d.ts +55 -0
  70. package/dist-esm/src/operations/favorites.d.ts.map +1 -0
  71. package/dist-esm/src/operations/favorites.js +196 -0
  72. package/dist-esm/src/operations/favorites.js.map +1 -0
  73. package/{esm → dist-esm/src}/operations/index.d.ts +1 -1
  74. package/dist-esm/src/operations/index.d.ts.map +1 -0
  75. package/{esm → dist-esm/src}/operations/index.js +2 -3
  76. package/dist-esm/src/operations/index.js.map +1 -0
  77. package/dist-esm/src/operations/liveToken.d.ts +19 -0
  78. package/dist-esm/src/operations/liveToken.d.ts.map +1 -0
  79. package/dist-esm/src/operations/liveToken.js +47 -0
  80. package/dist-esm/src/operations/liveToken.js.map +1 -0
  81. package/dist-esm/src/operations/myWorkbooks.d.ts +89 -0
  82. package/dist-esm/src/operations/myWorkbooks.d.ts.map +1 -0
  83. package/dist-esm/src/operations/myWorkbooks.js +387 -0
  84. package/dist-esm/src/operations/myWorkbooks.js.map +1 -0
  85. package/dist-esm/src/operations/operations.d.ts +32 -0
  86. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  87. package/dist-esm/src/operations/operations.js +116 -0
  88. package/dist-esm/src/operations/operations.js.map +1 -0
  89. package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts +40 -0
  90. package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts.map +1 -0
  91. package/dist-esm/src/operations/proactiveDetectionConfigurations.js +130 -0
  92. package/dist-esm/src/operations/proactiveDetectionConfigurations.js.map +1 -0
  93. package/dist-esm/src/operations/webTestLocations.d.ts +30 -0
  94. package/dist-esm/src/operations/webTestLocations.d.ts.map +1 -0
  95. package/dist-esm/src/operations/webTestLocations.js +96 -0
  96. package/dist-esm/src/operations/webTestLocations.js.map +1 -0
  97. package/dist-esm/src/operations/webTests.d.ts +108 -0
  98. package/dist-esm/src/operations/webTests.d.ts.map +1 -0
  99. package/dist-esm/src/operations/webTests.js +435 -0
  100. package/dist-esm/src/operations/webTests.js.map +1 -0
  101. package/dist-esm/src/operations/workItemConfigurations.d.ts +75 -0
  102. package/dist-esm/src/operations/workItemConfigurations.d.ts.map +1 -0
  103. package/dist-esm/src/operations/workItemConfigurations.js +257 -0
  104. package/dist-esm/src/operations/workItemConfigurations.js.map +1 -0
  105. package/dist-esm/src/operations/workbookTemplates.d.ts +57 -0
  106. package/dist-esm/src/operations/workbookTemplates.d.ts.map +1 -0
  107. package/dist-esm/src/operations/workbookTemplates.js +223 -0
  108. package/dist-esm/src/operations/workbookTemplates.js.map +1 -0
  109. package/dist-esm/src/operations/workbooks.d.ts +120 -0
  110. package/dist-esm/src/operations/workbooks.d.ts.map +1 -0
  111. package/dist-esm/src/operations/workbooks.js +530 -0
  112. package/dist-esm/src/operations/workbooks.js.map +1 -0
  113. package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts +38 -0
  114. package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts.map +1 -0
  115. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/aPIKeys.js} +2 -1
  116. package/dist-esm/src/operationsInterfaces/aPIKeys.js.map +1 -0
  117. package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts +43 -0
  118. package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts.map +1 -0
  119. package/{src/models/favoritesMappers.ts → dist-esm/src/operationsInterfaces/analyticsItems.js} +2 -5
  120. package/dist-esm/src/operationsInterfaces/analyticsItems.js.map +1 -0
  121. package/dist-esm/src/operationsInterfaces/annotations.d.ts +43 -0
  122. package/dist-esm/src/operationsInterfaces/annotations.d.ts.map +1 -0
  123. package/{src/models/componentQuotaStatusMappers.ts → dist-esm/src/operationsInterfaces/annotations.js} +2 -5
  124. package/dist-esm/src/operationsInterfaces/annotations.js.map +1 -0
  125. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts +12 -0
  126. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts.map +1 -0
  127. package/{src/models/componentFeatureCapabilitiesMappers.ts → dist-esm/src/operationsInterfaces/componentAvailableFeatures.js} +2 -5
  128. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js.map +1 -0
  129. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts +21 -0
  130. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts.map +1 -0
  131. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js +9 -0
  132. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -0
  133. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts +12 -0
  134. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts.map +1 -0
  135. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js +9 -0
  136. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js.map +1 -0
  137. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts +45 -0
  138. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
  139. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js +9 -0
  140. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -0
  141. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts +12 -0
  142. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts.map +1 -0
  143. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js +9 -0
  144. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js.map +1 -0
  145. package/dist-esm/src/operationsInterfaces/components.d.ts +72 -0
  146. package/dist-esm/src/operationsInterfaces/components.d.ts.map +1 -0
  147. package/dist-esm/src/operationsInterfaces/components.js +9 -0
  148. package/dist-esm/src/operationsInterfaces/components.js.map +1 -0
  149. package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts +50 -0
  150. package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts.map +1 -0
  151. package/dist-esm/src/operationsInterfaces/exportConfigurations.js +9 -0
  152. package/dist-esm/src/operationsInterfaces/exportConfigurations.js.map +1 -0
  153. package/dist-esm/src/operationsInterfaces/favorites.d.ts +47 -0
  154. package/dist-esm/src/operationsInterfaces/favorites.d.ts.map +1 -0
  155. package/dist-esm/src/operationsInterfaces/favorites.js +9 -0
  156. package/dist-esm/src/operationsInterfaces/favorites.js.map +1 -0
  157. package/dist-esm/src/operationsInterfaces/index.d.ts +21 -0
  158. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  159. package/dist-esm/src/operationsInterfaces/index.js +28 -0
  160. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  161. package/dist-esm/src/operationsInterfaces/liveToken.d.ts +11 -0
  162. package/dist-esm/src/operationsInterfaces/liveToken.d.ts.map +1 -0
  163. package/dist-esm/src/operationsInterfaces/liveToken.js +9 -0
  164. package/dist-esm/src/operationsInterfaces/liveToken.js.map +1 -0
  165. package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts +49 -0
  166. package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts.map +1 -0
  167. package/dist-esm/src/operationsInterfaces/myWorkbooks.js +9 -0
  168. package/dist-esm/src/operationsInterfaces/myWorkbooks.js.map +1 -0
  169. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  170. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  171. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  172. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  173. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts +32 -0
  174. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts.map +1 -0
  175. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js +9 -0
  176. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -0
  177. package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts +13 -0
  178. package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts.map +1 -0
  179. package/dist-esm/src/operationsInterfaces/webTestLocations.js +9 -0
  180. package/dist-esm/src/operationsInterfaces/webTestLocations.js.map +1 -0
  181. package/dist-esm/src/operationsInterfaces/webTests.d.ts +55 -0
  182. package/dist-esm/src/operationsInterfaces/webTests.d.ts.map +1 -0
  183. package/dist-esm/src/operationsInterfaces/webTests.js +9 -0
  184. package/dist-esm/src/operationsInterfaces/webTests.js.map +1 -0
  185. package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts +58 -0
  186. package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts.map +1 -0
  187. package/dist-esm/src/operationsInterfaces/workItemConfigurations.js +9 -0
  188. package/dist-esm/src/operationsInterfaces/workItemConfigurations.js.map +1 -0
  189. package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts +41 -0
  190. package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts.map +1 -0
  191. package/dist-esm/src/operationsInterfaces/workbookTemplates.js +9 -0
  192. package/dist-esm/src/operationsInterfaces/workbookTemplates.js.map +1 -0
  193. package/dist-esm/src/operationsInterfaces/workbooks.d.ts +63 -0
  194. package/dist-esm/src/operationsInterfaces/workbooks.d.ts.map +1 -0
  195. package/dist-esm/src/operationsInterfaces/workbooks.js +9 -0
  196. package/dist-esm/src/operationsInterfaces/workbooks.js.map +1 -0
  197. package/dist-esm/test/sampleTest.d.ts +2 -0
  198. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  199. package/dist-esm/test/sampleTest.js +40 -0
  200. package/dist-esm/test/sampleTest.js.map +1 -0
  201. package/package.json +71 -32
  202. package/review/arm-appinsights.api.md +1779 -0
  203. package/rollup.config.js +181 -30
  204. package/src/applicationInsightsManagementClient.ts +146 -70
  205. package/src/{models/aPIKeysMappers.ts → index.ts} +4 -6
  206. package/src/models/index.ts +1526 -3216
  207. package/src/models/mappers.ts +1331 -1506
  208. package/src/models/parameters.ts +344 -225
  209. package/src/operations/aPIKeys.ts +153 -188
  210. package/src/operations/analyticsItems.ts +120 -237
  211. package/src/operations/annotations.ts +185 -211
  212. package/src/operations/componentAvailableFeatures.ts +38 -54
  213. package/src/operations/componentCurrentBillingFeatures.ts +64 -107
  214. package/src/operations/componentFeatureCapabilities.ts +38 -54
  215. package/src/operations/componentLinkedStorageAccountsOperations.ts +122 -175
  216. package/src/operations/componentQuotaStatus.ts +37 -54
  217. package/src/operations/components.ts +325 -443
  218. package/src/operations/exportConfigurations.ts +137 -261
  219. package/src/operations/favorites.ts +132 -239
  220. package/src/operations/index.ts +2 -3
  221. package/src/operations/liveToken.ts +27 -46
  222. package/src/operations/myWorkbooks.ts +334 -353
  223. package/src/operations/operations.ts +82 -172
  224. package/src/operations/proactiveDetectionConfigurations.ts +95 -157
  225. package/src/operations/webTestLocations.ts +84 -50
  226. package/src/operations/webTests.ts +389 -417
  227. package/src/operations/workItemConfigurations.ts +200 -280
  228. package/src/operations/workbookTemplates.ts +167 -210
  229. package/src/operations/workbooks.ts +481 -470
  230. package/src/operationsInterfaces/aPIKeys.ts +76 -0
  231. package/src/operationsInterfaces/analyticsItems.ts +82 -0
  232. package/src/operationsInterfaces/annotations.ts +81 -0
  233. package/src/operationsInterfaces/componentAvailableFeatures.ts +27 -0
  234. package/src/operationsInterfaces/componentCurrentBillingFeatures.ts +44 -0
  235. package/src/operationsInterfaces/componentFeatureCapabilities.ts +27 -0
  236. package/src/operationsInterfaces/componentLinkedStorageAccountsOperations.ts +86 -0
  237. package/src/operationsInterfaces/componentQuotaStatus.ts +27 -0
  238. package/src/operationsInterfaces/components.ts +131 -0
  239. package/src/operationsInterfaces/exportConfigurations.ts +95 -0
  240. package/src/operationsInterfaces/favorites.ts +92 -0
  241. package/src/operationsInterfaces/index.ts +28 -0
  242. package/src/operationsInterfaces/liveToken.ts +22 -0
  243. package/src/operationsInterfaces/myWorkbooks.ts +95 -0
  244. package/src/operationsInterfaces/operations.ts +22 -0
  245. package/src/operationsInterfaces/proactiveDetectionConfigurations.ts +63 -0
  246. package/src/operationsInterfaces/webTestLocations.ts +29 -0
  247. package/src/operationsInterfaces/webTests.ts +104 -0
  248. package/src/operationsInterfaces/workItemConfigurations.ts +109 -0
  249. package/src/operationsInterfaces/workbookTemplates.ts +80 -0
  250. package/src/operationsInterfaces/workbooks.ts +120 -0
  251. package/tsconfig.json +3 -3
  252. package/types/arm-appinsights.d.ts +3102 -0
  253. package/types/tsdoc-metadata.json +11 -0
  254. package/dist/arm-appinsights.js +0 -7933
  255. package/dist/arm-appinsights.js.map +0 -1
  256. package/dist/arm-appinsights.min.js +0 -1
  257. package/dist/arm-appinsights.min.js.map +0 -1
  258. package/esm/applicationInsightsManagementClient.d.ts +0 -43
  259. package/esm/applicationInsightsManagementClient.d.ts.map +0 -1
  260. package/esm/applicationInsightsManagementClient.js +0 -56
  261. package/esm/applicationInsightsManagementClient.js.map +0 -1
  262. package/esm/applicationInsightsManagementClientContext.d.ts +0 -21
  263. package/esm/applicationInsightsManagementClientContext.d.ts.map +0 -1
  264. package/esm/applicationInsightsManagementClientContext.js +0 -59
  265. package/esm/applicationInsightsManagementClientContext.js.map +0 -1
  266. package/esm/models/aPIKeysMappers.d.ts +0 -2
  267. package/esm/models/aPIKeysMappers.d.ts.map +0 -1
  268. package/esm/models/aPIKeysMappers.js +0 -9
  269. package/esm/models/aPIKeysMappers.js.map +0 -1
  270. package/esm/models/analyticsItemsMappers.d.ts +0 -2
  271. package/esm/models/analyticsItemsMappers.d.ts.map +0 -1
  272. package/esm/models/analyticsItemsMappers.js +0 -9
  273. package/esm/models/analyticsItemsMappers.js.map +0 -1
  274. package/esm/models/annotationsMappers.d.ts +0 -2
  275. package/esm/models/annotationsMappers.d.ts.map +0 -1
  276. package/esm/models/annotationsMappers.js +0 -9
  277. package/esm/models/annotationsMappers.js.map +0 -1
  278. package/esm/models/componentAvailableFeaturesMappers.d.ts +0 -2
  279. package/esm/models/componentAvailableFeaturesMappers.d.ts.map +0 -1
  280. package/esm/models/componentAvailableFeaturesMappers.js +0 -9
  281. package/esm/models/componentAvailableFeaturesMappers.js.map +0 -1
  282. package/esm/models/componentCurrentBillingFeaturesMappers.d.ts +0 -2
  283. package/esm/models/componentCurrentBillingFeaturesMappers.d.ts.map +0 -1
  284. package/esm/models/componentCurrentBillingFeaturesMappers.js +0 -9
  285. package/esm/models/componentCurrentBillingFeaturesMappers.js.map +0 -1
  286. package/esm/models/componentFeatureCapabilitiesMappers.d.ts +0 -2
  287. package/esm/models/componentFeatureCapabilitiesMappers.d.ts.map +0 -1
  288. package/esm/models/componentFeatureCapabilitiesMappers.js +0 -9
  289. package/esm/models/componentFeatureCapabilitiesMappers.js.map +0 -1
  290. package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts +0 -2
  291. package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts.map +0 -1
  292. package/esm/models/componentLinkedStorageAccountsOperationsMappers.js +0 -9
  293. package/esm/models/componentLinkedStorageAccountsOperationsMappers.js.map +0 -1
  294. package/esm/models/componentQuotaStatusMappers.d.ts +0 -2
  295. package/esm/models/componentQuotaStatusMappers.d.ts.map +0 -1
  296. package/esm/models/componentQuotaStatusMappers.js +0 -9
  297. package/esm/models/componentQuotaStatusMappers.js.map +0 -1
  298. package/esm/models/componentsMappers.d.ts +0 -2
  299. package/esm/models/componentsMappers.d.ts.map +0 -1
  300. package/esm/models/componentsMappers.js +0 -9
  301. package/esm/models/componentsMappers.js.map +0 -1
  302. package/esm/models/exportConfigurationsMappers.d.ts +0 -2
  303. package/esm/models/exportConfigurationsMappers.d.ts.map +0 -1
  304. package/esm/models/exportConfigurationsMappers.js +0 -9
  305. package/esm/models/exportConfigurationsMappers.js.map +0 -1
  306. package/esm/models/favoritesMappers.d.ts +0 -2
  307. package/esm/models/favoritesMappers.d.ts.map +0 -1
  308. package/esm/models/favoritesMappers.js +0 -9
  309. package/esm/models/favoritesMappers.js.map +0 -1
  310. package/esm/models/index.d.ts +0 -3793
  311. package/esm/models/index.d.ts.map +0 -1
  312. package/esm/models/index.js.map +0 -1
  313. package/esm/models/liveTokenMappers.d.ts +0 -2
  314. package/esm/models/liveTokenMappers.d.ts.map +0 -1
  315. package/esm/models/liveTokenMappers.js +0 -9
  316. package/esm/models/liveTokenMappers.js.map +0 -1
  317. package/esm/models/mappers.d.ts +0 -89
  318. package/esm/models/mappers.d.ts.map +0 -1
  319. package/esm/models/mappers.js.map +0 -1
  320. package/esm/models/myWorkbooksMappers.d.ts +0 -2
  321. package/esm/models/myWorkbooksMappers.d.ts.map +0 -1
  322. package/esm/models/myWorkbooksMappers.js +0 -9
  323. package/esm/models/myWorkbooksMappers.js.map +0 -1
  324. package/esm/models/operationsMappers.d.ts +0 -2
  325. package/esm/models/operationsMappers.d.ts.map +0 -1
  326. package/esm/models/operationsMappers.js +0 -9
  327. package/esm/models/operationsMappers.js.map +0 -1
  328. package/esm/models/parameters.d.ts +0 -41
  329. package/esm/models/parameters.d.ts.map +0 -1
  330. package/esm/models/parameters.js.map +0 -1
  331. package/esm/models/proactiveDetectionConfigurationsMappers.d.ts +0 -2
  332. package/esm/models/proactiveDetectionConfigurationsMappers.d.ts.map +0 -1
  333. package/esm/models/proactiveDetectionConfigurationsMappers.js +0 -9
  334. package/esm/models/proactiveDetectionConfigurationsMappers.js.map +0 -1
  335. package/esm/models/webTestLocationsMappers.d.ts +0 -2
  336. package/esm/models/webTestLocationsMappers.d.ts.map +0 -1
  337. package/esm/models/webTestLocationsMappers.js +0 -9
  338. package/esm/models/webTestLocationsMappers.js.map +0 -1
  339. package/esm/models/webTestsMappers.d.ts +0 -2
  340. package/esm/models/webTestsMappers.d.ts.map +0 -1
  341. package/esm/models/webTestsMappers.js +0 -9
  342. package/esm/models/webTestsMappers.js.map +0 -1
  343. package/esm/models/workItemConfigurationsMappers.d.ts +0 -2
  344. package/esm/models/workItemConfigurationsMappers.d.ts.map +0 -1
  345. package/esm/models/workItemConfigurationsMappers.js +0 -9
  346. package/esm/models/workItemConfigurationsMappers.js.map +0 -1
  347. package/esm/models/workbookTemplatesMappers.d.ts +0 -2
  348. package/esm/models/workbookTemplatesMappers.d.ts.map +0 -1
  349. package/esm/models/workbookTemplatesMappers.js +0 -9
  350. package/esm/models/workbookTemplatesMappers.js.map +0 -1
  351. package/esm/models/workbooksMappers.d.ts +0 -2
  352. package/esm/models/workbooksMappers.d.ts.map +0 -1
  353. package/esm/models/workbooksMappers.js +0 -9
  354. package/esm/models/workbooksMappers.js.map +0 -1
  355. package/esm/operations/aPIKeys.d.ts +0 -109
  356. package/esm/operations/aPIKeys.d.ts.map +0 -1
  357. package/esm/operations/aPIKeys.js +0 -160
  358. package/esm/operations/aPIKeys.js.map +0 -1
  359. package/esm/operations/analyticsItems.d.ts +0 -139
  360. package/esm/operations/analyticsItems.d.ts.map +0 -1
  361. package/esm/operations/analyticsItems.js +0 -181
  362. package/esm/operations/analyticsItems.js.map +0 -1
  363. package/esm/operations/annotations.d.ts +0 -124
  364. package/esm/operations/annotations.d.ts.map +0 -1
  365. package/esm/operations/annotations.js +0 -184
  366. package/esm/operations/annotations.js.map +0 -1
  367. package/esm/operations/componentAvailableFeatures.d.ts +0 -34
  368. package/esm/operations/componentAvailableFeatures.d.ts.map +0 -1
  369. package/esm/operations/componentAvailableFeatures.js +0 -57
  370. package/esm/operations/componentAvailableFeatures.js.map +0 -1
  371. package/esm/operations/componentCurrentBillingFeatures.d.ts +0 -61
  372. package/esm/operations/componentCurrentBillingFeatures.d.ts.map +0 -1
  373. package/esm/operations/componentCurrentBillingFeatures.js +0 -94
  374. package/esm/operations/componentCurrentBillingFeatures.js.map +0 -1
  375. package/esm/operations/componentFeatureCapabilities.d.ts +0 -34
  376. package/esm/operations/componentFeatureCapabilities.d.ts.map +0 -1
  377. package/esm/operations/componentFeatureCapabilities.js +0 -57
  378. package/esm/operations/componentFeatureCapabilities.js.map +0 -1
  379. package/esm/operations/componentLinkedStorageAccountsOperations.d.ts +0 -109
  380. package/esm/operations/componentLinkedStorageAccountsOperations.d.ts.map +0 -1
  381. package/esm/operations/componentLinkedStorageAccountsOperations.js +0 -164
  382. package/esm/operations/componentLinkedStorageAccountsOperations.js.map +0 -1
  383. package/esm/operations/componentQuotaStatus.d.ts +0 -34
  384. package/esm/operations/componentQuotaStatus.d.ts.map +0 -1
  385. package/esm/operations/componentQuotaStatus.js +0 -57
  386. package/esm/operations/componentQuotaStatus.js.map +0 -1
  387. package/esm/operations/components.d.ts +0 -236
  388. package/esm/operations/components.d.ts.map +0 -1
  389. package/esm/operations/components.js +0 -349
  390. package/esm/operations/components.js.map +0 -1
  391. package/esm/operations/exportConfigurations.d.ts +0 -148
  392. package/esm/operations/exportConfigurations.d.ts.map +0 -1
  393. package/esm/operations/exportConfigurations.js +0 -220
  394. package/esm/operations/exportConfigurations.js.map +0 -1
  395. package/esm/operations/favorites.d.ts +0 -139
  396. package/esm/operations/favorites.d.ts.map +0 -1
  397. package/esm/operations/favorites.js +0 -213
  398. package/esm/operations/favorites.js.map +0 -1
  399. package/esm/operations/index.d.ts.map +0 -1
  400. package/esm/operations/index.js.map +0 -1
  401. package/esm/operations/liveToken.d.ts +0 -31
  402. package/esm/operations/liveToken.d.ts.map +0 -1
  403. package/esm/operations/liveToken.js +0 -54
  404. package/esm/operations/liveToken.js.map +0 -1
  405. package/esm/operations/myWorkbooks.d.ts +0 -196
  406. package/esm/operations/myWorkbooks.d.ts.map +0 -1
  407. package/esm/operations/myWorkbooks.js +0 -297
  408. package/esm/operations/myWorkbooks.js.map +0 -1
  409. package/esm/operations/operations.d.ts +0 -81
  410. package/esm/operations/operations.d.ts.map +0 -1
  411. package/esm/operations/operations.js +0 -132
  412. package/esm/operations/operations.js.map +0 -1
  413. package/esm/operations/proactiveDetectionConfigurations.d.ts +0 -94
  414. package/esm/operations/proactiveDetectionConfigurations.d.ts.map +0 -1
  415. package/esm/operations/proactiveDetectionConfigurations.js +0 -140
  416. package/esm/operations/proactiveDetectionConfigurations.js.map +0 -1
  417. package/esm/operations/webTestLocations.d.ts +0 -34
  418. package/esm/operations/webTestLocations.d.ts.map +0 -1
  419. package/esm/operations/webTestLocations.js +0 -57
  420. package/esm/operations/webTestLocations.js.map +0 -1
  421. package/esm/operations/webTests.d.ts +0 -214
  422. package/esm/operations/webTests.d.ts.map +0 -1
  423. package/esm/operations/webTests.js +0 -334
  424. package/esm/operations/webTests.js.map +0 -1
  425. package/esm/operations/workItemConfigurations.d.ts +0 -169
  426. package/esm/operations/workItemConfigurations.d.ts.map +0 -1
  427. package/esm/operations/workItemConfigurations.js +0 -227
  428. package/esm/operations/workItemConfigurations.js.map +0 -1
  429. package/esm/operations/workbookTemplates.d.ts +0 -118
  430. package/esm/operations/workbookTemplates.d.ts.map +0 -1
  431. package/esm/operations/workbookTemplates.js +0 -194
  432. package/esm/operations/workbookTemplates.js.map +0 -1
  433. package/esm/operations/workbooks.d.ts +0 -256
  434. package/esm/operations/workbooks.d.ts.map +0 -1
  435. package/esm/operations/workbooks.js +0 -392
  436. package/esm/operations/workbooks.js.map +0 -1
  437. package/src/applicationInsightsManagementClientContext.ts +0 -65
  438. package/src/models/analyticsItemsMappers.ts +0 -13
  439. package/src/models/annotationsMappers.ts +0 -15
  440. package/src/models/componentAvailableFeaturesMappers.ts +0 -14
  441. package/src/models/componentCurrentBillingFeaturesMappers.ts +0 -13
  442. package/src/models/componentLinkedStorageAccountsOperationsMappers.ts +0 -42
  443. package/src/models/componentsMappers.ts +0 -46
  444. package/src/models/exportConfigurationsMappers.ts +0 -13
  445. package/src/models/liveTokenMappers.ts +0 -13
  446. package/src/models/myWorkbooksMappers.ts +0 -42
  447. package/src/models/operationsMappers.ts +0 -18
  448. package/src/models/proactiveDetectionConfigurationsMappers.ts +0 -40
  449. package/src/models/webTestLocationsMappers.ts +0 -13
  450. package/src/models/webTestsMappers.ts +0 -42
  451. package/src/models/workItemConfigurationsMappers.ts +0 -16
  452. package/src/models/workbookTemplatesMappers.ts +0 -44
  453. package/src/models/workbooksMappers.ts +0 -43
@@ -0,0 +1,207 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Annotations operations. */
14
+ export class AnnotationsImpl {
15
+ /**
16
+ * Initialize a new instance of the class Annotations class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Gets the list of annotations for a component for given time range
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param resourceName The name of the Application Insights component resource.
26
+ * @param start The start time to query from for annotations, cannot be older than 90 days from current
27
+ * date.
28
+ * @param end The end time to query for annotations.
29
+ * @param options The options parameters.
30
+ */
31
+ list(resourceGroupName, resourceName, start, end, options) {
32
+ const iter = this.listPagingAll(resourceGroupName, resourceName, start, end, options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: () => {
41
+ return this.listPagingPage(resourceGroupName, resourceName, start, end, options);
42
+ }
43
+ };
44
+ }
45
+ listPagingPage(resourceGroupName, resourceName, start, end, options) {
46
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
47
+ let result = yield __await(this._list(resourceGroupName, resourceName, start, end, options));
48
+ yield yield __await(result.value || []);
49
+ });
50
+ }
51
+ listPagingAll(resourceGroupName, resourceName, start, end, options) {
52
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
53
+ var e_1, _a;
54
+ try {
55
+ for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, resourceName, start, end, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
56
+ const page = _c.value;
57
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
58
+ }
59
+ }
60
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
61
+ finally {
62
+ try {
63
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
64
+ }
65
+ finally { if (e_1) throw e_1.error; }
66
+ }
67
+ });
68
+ }
69
+ /**
70
+ * Gets the list of annotations for a component for given time range
71
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
72
+ * @param resourceName The name of the Application Insights component resource.
73
+ * @param start The start time to query from for annotations, cannot be older than 90 days from current
74
+ * date.
75
+ * @param end The end time to query for annotations.
76
+ * @param options The options parameters.
77
+ */
78
+ _list(resourceGroupName, resourceName, start, end, options) {
79
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, start, end, options }, listOperationSpec);
80
+ }
81
+ /**
82
+ * Create an Annotation of an Application Insights component.
83
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
84
+ * @param resourceName The name of the Application Insights component resource.
85
+ * @param annotationProperties Properties that need to be specified to create an annotation of a
86
+ * Application Insights component.
87
+ * @param options The options parameters.
88
+ */
89
+ create(resourceGroupName, resourceName, annotationProperties, options) {
90
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, annotationProperties, options }, createOperationSpec);
91
+ }
92
+ /**
93
+ * Delete an Annotation of an Application Insights component.
94
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
95
+ * @param resourceName The name of the Application Insights component resource.
96
+ * @param annotationId The unique annotation ID. This is unique within a Application Insights
97
+ * component.
98
+ * @param options The options parameters.
99
+ */
100
+ delete(resourceGroupName, resourceName, annotationId, options) {
101
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, annotationId, options }, deleteOperationSpec);
102
+ }
103
+ /**
104
+ * Get the annotation for given id.
105
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
106
+ * @param resourceName The name of the Application Insights component resource.
107
+ * @param annotationId The unique annotation ID. This is unique within a Application Insights
108
+ * component.
109
+ * @param options The options parameters.
110
+ */
111
+ get(resourceGroupName, resourceName, annotationId, options) {
112
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, annotationId, options }, getOperationSpec);
113
+ }
114
+ }
115
+ // Operation Specifications
116
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
117
+ const listOperationSpec = {
118
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
119
+ httpMethod: "GET",
120
+ responses: {
121
+ 200: {
122
+ bodyMapper: Mappers.AnnotationsListResult
123
+ },
124
+ default: {
125
+ bodyMapper: Mappers.AnnotationError
126
+ }
127
+ },
128
+ queryParameters: [Parameters.apiVersion, Parameters.start, Parameters.end],
129
+ urlParameters: [
130
+ Parameters.$host,
131
+ Parameters.resourceGroupName,
132
+ Parameters.subscriptionId,
133
+ Parameters.resourceName
134
+ ],
135
+ headerParameters: [Parameters.accept],
136
+ serializer
137
+ };
138
+ const createOperationSpec = {
139
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
140
+ httpMethod: "PUT",
141
+ responses: {
142
+ 200: {
143
+ bodyMapper: {
144
+ type: {
145
+ name: "Sequence",
146
+ element: { type: { name: "Composite", className: "Annotation" } }
147
+ }
148
+ }
149
+ },
150
+ default: {
151
+ bodyMapper: Mappers.AnnotationError
152
+ }
153
+ },
154
+ requestBody: Parameters.annotationProperties,
155
+ queryParameters: [Parameters.apiVersion],
156
+ urlParameters: [
157
+ Parameters.$host,
158
+ Parameters.resourceGroupName,
159
+ Parameters.subscriptionId,
160
+ Parameters.resourceName
161
+ ],
162
+ headerParameters: [Parameters.accept, Parameters.contentType],
163
+ mediaType: "json",
164
+ serializer
165
+ };
166
+ const deleteOperationSpec = {
167
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}",
168
+ httpMethod: "DELETE",
169
+ responses: { 200: {} },
170
+ queryParameters: [Parameters.apiVersion],
171
+ urlParameters: [
172
+ Parameters.$host,
173
+ Parameters.resourceGroupName,
174
+ Parameters.subscriptionId,
175
+ Parameters.resourceName,
176
+ Parameters.annotationId
177
+ ],
178
+ serializer
179
+ };
180
+ const getOperationSpec = {
181
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}",
182
+ httpMethod: "GET",
183
+ responses: {
184
+ 200: {
185
+ bodyMapper: {
186
+ type: {
187
+ name: "Sequence",
188
+ element: { type: { name: "Composite", className: "Annotation" } }
189
+ }
190
+ }
191
+ },
192
+ default: {
193
+ bodyMapper: Mappers.AnnotationError
194
+ }
195
+ },
196
+ queryParameters: [Parameters.apiVersion],
197
+ urlParameters: [
198
+ Parameters.$host,
199
+ Parameters.resourceGroupName,
200
+ Parameters.subscriptionId,
201
+ Parameters.resourceName,
202
+ Parameters.annotationId
203
+ ],
204
+ headerParameters: [Parameters.accept],
205
+ serializer
206
+ };
207
+ //# sourceMappingURL=annotations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"annotations.js","sourceRoot":"","sources":["../../../src/operations/annotations.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,20 @@
1
+ import { ComponentAvailableFeatures } from "../operationsInterfaces";
2
+ import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
3
+ import { ComponentAvailableFeaturesGetOptionalParams, ComponentAvailableFeaturesGetResponse } from "../models";
4
+ /** Class containing ComponentAvailableFeatures operations. */
5
+ export declare class ComponentAvailableFeaturesImpl implements ComponentAvailableFeatures {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class ComponentAvailableFeatures class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: ApplicationInsightsManagementClient);
12
+ /**
13
+ * Returns all available features of the application insights component.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param resourceName The name of the Application Insights component resource.
16
+ * @param options The options parameters.
17
+ */
18
+ get(resourceGroupName: string, resourceName: string, options?: ComponentAvailableFeaturesGetOptionalParams): Promise<ComponentAvailableFeaturesGetResponse>;
19
+ }
20
+ //# sourceMappingURL=componentAvailableFeatures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentAvailableFeatures.d.ts","sourceRoot":"","sources":["../../../src/operations/componentAvailableFeatures.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAIrE,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EACL,2CAA2C,EAC3C,qCAAqC,EACtC,MAAM,WAAW,CAAC;AAEnB,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;CAMlD"}
@@ -0,0 +1,50 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing ComponentAvailableFeatures operations. */
12
+ export class ComponentAvailableFeaturesImpl {
13
+ /**
14
+ * Initialize a new instance of the class ComponentAvailableFeatures class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Returns all available features of the application insights component.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param resourceName The name of the Application Insights component resource.
24
+ * @param options The options parameters.
25
+ */
26
+ get(resourceGroupName, resourceName, options) {
27
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
28
+ }
29
+ }
30
+ // Operation Specifications
31
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
32
+ const getOperationSpec = {
33
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/getavailablebillingfeatures",
34
+ httpMethod: "GET",
35
+ responses: {
36
+ 200: {
37
+ bodyMapper: Mappers.ApplicationInsightsComponentAvailableFeatures
38
+ }
39
+ },
40
+ queryParameters: [Parameters.apiVersion],
41
+ urlParameters: [
42
+ Parameters.$host,
43
+ Parameters.resourceGroupName,
44
+ Parameters.subscriptionId,
45
+ Parameters.resourceName
46
+ ],
47
+ headerParameters: [Parameters.accept],
48
+ serializer
49
+ };
50
+ //# sourceMappingURL=componentAvailableFeatures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentAvailableFeatures.js","sourceRoot":"","sources":["../../../src/operations/componentAvailableFeatures.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAOnD,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAIzC;;;OAGG;IACH,YAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,YAAoB,EACpB,OAAqD;QAErD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,EAC5C,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,uJAAuJ;IACzJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6CAA6C;SAClE;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { ComponentCurrentBillingFeatures } from "../operationsInterfaces";
2
+ import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
3
+ import { ComponentCurrentBillingFeaturesGetOptionalParams, ComponentCurrentBillingFeaturesGetResponse, ApplicationInsightsComponentBillingFeatures, ComponentCurrentBillingFeaturesUpdateOptionalParams, ComponentCurrentBillingFeaturesUpdateResponse } from "../models";
4
+ /** Class containing ComponentCurrentBillingFeatures operations. */
5
+ export declare class ComponentCurrentBillingFeaturesImpl implements ComponentCurrentBillingFeatures {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class ComponentCurrentBillingFeatures class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: ApplicationInsightsManagementClient);
12
+ /**
13
+ * Returns current billing features for an Application Insights component.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param resourceName The name of the Application Insights component resource.
16
+ * @param options The options parameters.
17
+ */
18
+ get(resourceGroupName: string, resourceName: string, options?: ComponentCurrentBillingFeaturesGetOptionalParams): Promise<ComponentCurrentBillingFeaturesGetResponse>;
19
+ /**
20
+ * Update current billing features for an Application Insights component.
21
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
22
+ * @param resourceName The name of the Application Insights component resource.
23
+ * @param billingFeaturesProperties Properties that need to be specified to update billing features for
24
+ * an Application Insights component.
25
+ * @param options The options parameters.
26
+ */
27
+ update(resourceGroupName: string, resourceName: string, billingFeaturesProperties: ApplicationInsightsComponentBillingFeatures, options?: ComponentCurrentBillingFeaturesUpdateOptionalParams): Promise<ComponentCurrentBillingFeaturesUpdateResponse>;
28
+ }
29
+ //# sourceMappingURL=componentCurrentBillingFeatures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentCurrentBillingFeatures.d.ts","sourceRoot":"","sources":["../../../src/operations/componentCurrentBillingFeatures.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,+BAA+B,EAAE,MAAM,yBAAyB,CAAC;AAI1E,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EACL,gDAAgD,EAChD,0CAA0C,EAC1C,2CAA2C,EAC3C,mDAAmD,EACnD,6CAA6C,EAC9C,MAAM,WAAW,CAAC;AAEnB,mEAAmE;AACnE,qBAAa,mCACX,YAAW,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;IAOtD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,yBAAyB,EAAE,2CAA2C,EACtE,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC;CAM1D"}
@@ -0,0 +1,81 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing ComponentCurrentBillingFeatures operations. */
12
+ export class ComponentCurrentBillingFeaturesImpl {
13
+ /**
14
+ * Initialize a new instance of the class ComponentCurrentBillingFeatures class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Returns current billing features for an Application Insights component.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param resourceName The name of the Application Insights component resource.
24
+ * @param options The options parameters.
25
+ */
26
+ get(resourceGroupName, resourceName, options) {
27
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
28
+ }
29
+ /**
30
+ * Update current billing features for an Application Insights component.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param resourceName The name of the Application Insights component resource.
33
+ * @param billingFeaturesProperties Properties that need to be specified to update billing features for
34
+ * an Application Insights component.
35
+ * @param options The options parameters.
36
+ */
37
+ update(resourceGroupName, resourceName, billingFeaturesProperties, options) {
38
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, billingFeaturesProperties, options }, updateOperationSpec);
39
+ }
40
+ }
41
+ // Operation Specifications
42
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
43
+ const getOperationSpec = {
44
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/currentbillingfeatures",
45
+ httpMethod: "GET",
46
+ responses: {
47
+ 200: {
48
+ bodyMapper: Mappers.ApplicationInsightsComponentBillingFeatures
49
+ }
50
+ },
51
+ queryParameters: [Parameters.apiVersion],
52
+ urlParameters: [
53
+ Parameters.$host,
54
+ Parameters.resourceGroupName,
55
+ Parameters.subscriptionId,
56
+ Parameters.resourceName
57
+ ],
58
+ headerParameters: [Parameters.accept],
59
+ serializer
60
+ };
61
+ const updateOperationSpec = {
62
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/currentbillingfeatures",
63
+ httpMethod: "PUT",
64
+ responses: {
65
+ 200: {
66
+ bodyMapper: Mappers.ApplicationInsightsComponentBillingFeatures
67
+ }
68
+ },
69
+ requestBody: Parameters.billingFeaturesProperties,
70
+ queryParameters: [Parameters.apiVersion],
71
+ urlParameters: [
72
+ Parameters.$host,
73
+ Parameters.resourceGroupName,
74
+ Parameters.subscriptionId,
75
+ Parameters.resourceName
76
+ ],
77
+ headerParameters: [Parameters.accept, Parameters.contentType],
78
+ mediaType: "json",
79
+ serializer
80
+ };
81
+ //# sourceMappingURL=componentCurrentBillingFeatures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentCurrentBillingFeatures.js","sourceRoot":"","sources":["../../../src/operations/componentCurrentBillingFeatures.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,mEAAmE;AACnE,MAAM,OAAO,mCAAmC;IAI9C;;;OAGG;IACH,YAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,YAAoB,EACpB,OAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,EAC5C,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAyB,EACzB,YAAoB,EACpB,yBAAsE,EACtE,OAA6D;QAE7D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,yBAAyB,EAAE,OAAO,EAAE,EACvE,mBAAmB,CACpB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,kJAAkJ;IACpJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2CAA2C;SAChE;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,kJAAkJ;IACpJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2CAA2C;SAChE;KACF;IACD,WAAW,EAAE,UAAU,CAAC,yBAAyB;IACjD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { ComponentFeatureCapabilities } from "../operationsInterfaces";
2
+ import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
3
+ import { ComponentFeatureCapabilitiesGetOptionalParams, ComponentFeatureCapabilitiesGetResponse } from "../models";
4
+ /** Class containing ComponentFeatureCapabilities operations. */
5
+ export declare class ComponentFeatureCapabilitiesImpl implements ComponentFeatureCapabilities {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class ComponentFeatureCapabilities class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: ApplicationInsightsManagementClient);
12
+ /**
13
+ * Returns feature capabilities of the application insights component.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param resourceName The name of the Application Insights component resource.
16
+ * @param options The options parameters.
17
+ */
18
+ get(resourceGroupName: string, resourceName: string, options?: ComponentFeatureCapabilitiesGetOptionalParams): Promise<ComponentFeatureCapabilitiesGetResponse>;
19
+ }
20
+ //# sourceMappingURL=componentFeatureCapabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentFeatureCapabilities.d.ts","sourceRoot":"","sources":["../../../src/operations/componentFeatureCapabilities.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAIvE,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EACL,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,WAAW,CAAC;AAEnB,gEAAgE;AAChE,qBAAa,gCACX,YAAW,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;CAMpD"}
@@ -0,0 +1,50 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing ComponentFeatureCapabilities operations. */
12
+ export class ComponentFeatureCapabilitiesImpl {
13
+ /**
14
+ * Initialize a new instance of the class ComponentFeatureCapabilities class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Returns feature capabilities of the application insights component.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param resourceName The name of the Application Insights component resource.
24
+ * @param options The options parameters.
25
+ */
26
+ get(resourceGroupName, resourceName, options) {
27
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
28
+ }
29
+ }
30
+ // Operation Specifications
31
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
32
+ const getOperationSpec = {
33
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/featurecapabilities",
34
+ httpMethod: "GET",
35
+ responses: {
36
+ 200: {
37
+ bodyMapper: Mappers.ApplicationInsightsComponentFeatureCapabilities
38
+ }
39
+ },
40
+ queryParameters: [Parameters.apiVersion],
41
+ urlParameters: [
42
+ Parameters.$host,
43
+ Parameters.resourceGroupName,
44
+ Parameters.subscriptionId,
45
+ Parameters.resourceName
46
+ ],
47
+ headerParameters: [Parameters.accept],
48
+ serializer
49
+ };
50
+ //# sourceMappingURL=componentFeatureCapabilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentFeatureCapabilities.js","sourceRoot":"","sources":["../../../src/operations/componentFeatureCapabilities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAOnD,gEAAgE;AAChE,MAAM,OAAO,gCAAgC;IAI3C;;;OAGG;IACH,YAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,YAAoB,EACpB,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,EAC5C,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,+IAA+I;IACjJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+CAA+C;SACpE;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,53 @@
1
+ import { ComponentLinkedStorageAccountsOperations } from "../operationsInterfaces";
2
+ import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
3
+ import { StorageType, ComponentLinkedStorageAccountsGetOptionalParams, ComponentLinkedStorageAccountsGetResponse, ComponentLinkedStorageAccounts, ComponentLinkedStorageAccountsCreateAndUpdateOptionalParams, ComponentLinkedStorageAccountsCreateAndUpdateResponse, ComponentLinkedStorageAccountsPatch, ComponentLinkedStorageAccountsUpdateOptionalParams, ComponentLinkedStorageAccountsUpdateResponse, ComponentLinkedStorageAccountsDeleteOptionalParams } from "../models";
4
+ /** Class containing ComponentLinkedStorageAccountsOperations operations. */
5
+ export declare class ComponentLinkedStorageAccountsOperationsImpl implements ComponentLinkedStorageAccountsOperations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class ComponentLinkedStorageAccountsOperations class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: ApplicationInsightsManagementClient);
12
+ /**
13
+ * Returns the current linked storage settings for an Application Insights component.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param resourceName The name of the Application Insights component resource.
16
+ * @param storageType The type of the Application Insights component data source for the linked storage
17
+ * account.
18
+ * @param options The options parameters.
19
+ */
20
+ get(resourceGroupName: string, resourceName: string, storageType: StorageType, options?: ComponentLinkedStorageAccountsGetOptionalParams): Promise<ComponentLinkedStorageAccountsGetResponse>;
21
+ /**
22
+ * Replace current linked storage account for an Application Insights component.
23
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
24
+ * @param resourceName The name of the Application Insights component resource.
25
+ * @param storageType The type of the Application Insights component data source for the linked storage
26
+ * account.
27
+ * @param linkedStorageAccountsProperties Properties that need to be specified to update linked storage
28
+ * accounts for an Application Insights component.
29
+ * @param options The options parameters.
30
+ */
31
+ createAndUpdate(resourceGroupName: string, resourceName: string, storageType: StorageType, linkedStorageAccountsProperties: ComponentLinkedStorageAccounts, options?: ComponentLinkedStorageAccountsCreateAndUpdateOptionalParams): Promise<ComponentLinkedStorageAccountsCreateAndUpdateResponse>;
32
+ /**
33
+ * Update linked storage accounts for an Application Insights component.
34
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
35
+ * @param resourceName The name of the Application Insights component resource.
36
+ * @param storageType The type of the Application Insights component data source for the linked storage
37
+ * account.
38
+ * @param linkedStorageAccountsProperties Properties that need to be specified to update a linked
39
+ * storage accounts for an Application Insights component.
40
+ * @param options The options parameters.
41
+ */
42
+ update(resourceGroupName: string, resourceName: string, storageType: StorageType, linkedStorageAccountsProperties: ComponentLinkedStorageAccountsPatch, options?: ComponentLinkedStorageAccountsUpdateOptionalParams): Promise<ComponentLinkedStorageAccountsUpdateResponse>;
43
+ /**
44
+ * Delete linked storage accounts for an Application Insights component.
45
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
46
+ * @param resourceName The name of the Application Insights component resource.
47
+ * @param storageType The type of the Application Insights component data source for the linked storage
48
+ * account.
49
+ * @param options The options parameters.
50
+ */
51
+ delete(resourceGroupName: string, resourceName: string, storageType: StorageType, options?: ComponentLinkedStorageAccountsDeleteOptionalParams): Promise<void>;
52
+ }
53
+ //# sourceMappingURL=componentLinkedStorageAccountsOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentLinkedStorageAccountsOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/componentLinkedStorageAccountsOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,wCAAwC,EAAE,MAAM,yBAAyB,CAAC;AAInF,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EACL,WAAW,EACX,+CAA+C,EAC/C,yCAAyC,EACzC,8BAA8B,EAC9B,2DAA2D,EAC3D,qDAAqD,EACrD,mCAAmC,EACnC,kDAAkD,EAClD,4CAA4C,EAC5C,kDAAkD,EACnD,MAAM,WAAW,CAAC;AAEnB,4EAA4E;AAC5E,qBAAa,4CACX,YAAW,wCAAwC;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;;;;;;OASG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,WAAW,EACxB,+BAA+B,EAAE,8BAA8B,EAC/D,OAAO,CAAC,EAAE,2DAA2D,GACpE,OAAO,CAAC,qDAAqD,CAAC;IAajE;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,WAAW,EACxB,+BAA+B,EAAE,mCAAmC,EACpE,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAaxD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,IAAI,CAAC;CAMjB"}