@azure/arm-appinsights 3.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 (449) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +72 -73
  4. package/dist/index.js +7675 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/applicationInsightsManagementClient.d.ts +36 -0
  9. package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/applicationInsightsManagementClient.js +69 -0
  11. package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +2080 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +133 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +86 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +1481 -1003
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +63 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +515 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/aPIKeys.d.ts +55 -0
  29. package/dist-esm/src/operations/aPIKeys.d.ts.map +1 -0
  30. package/dist-esm/src/operations/aPIKeys.js +185 -0
  31. package/dist-esm/src/operations/aPIKeys.js.map +1 -0
  32. package/dist-esm/src/operations/analyticsItems.d.ts +51 -0
  33. package/dist-esm/src/operations/analyticsItems.d.ts.map +1 -0
  34. package/dist-esm/src/operations/analyticsItems.js +157 -0
  35. package/dist-esm/src/operations/analyticsItems.js.map +1 -0
  36. package/dist-esm/src/operations/annotations.d.ts +63 -0
  37. package/dist-esm/src/operations/annotations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/annotations.js +207 -0
  39. package/dist-esm/src/operations/annotations.js.map +1 -0
  40. package/dist-esm/src/operations/componentAvailableFeatures.d.ts +20 -0
  41. package/dist-esm/src/operations/componentAvailableFeatures.d.ts.map +1 -0
  42. package/dist-esm/src/operations/componentAvailableFeatures.js +50 -0
  43. package/dist-esm/src/operations/componentAvailableFeatures.js.map +1 -0
  44. package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts +29 -0
  45. package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts.map +1 -0
  46. package/dist-esm/src/operations/componentCurrentBillingFeatures.js +81 -0
  47. package/dist-esm/src/operations/componentCurrentBillingFeatures.js.map +1 -0
  48. package/dist-esm/src/operations/componentFeatureCapabilities.d.ts +20 -0
  49. package/dist-esm/src/operations/componentFeatureCapabilities.d.ts.map +1 -0
  50. package/dist-esm/src/operations/componentFeatureCapabilities.js +50 -0
  51. package/dist-esm/src/operations/componentFeatureCapabilities.js.map +1 -0
  52. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts +53 -0
  53. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js +174 -0
  55. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js.map +1 -0
  56. package/dist-esm/src/operations/componentQuotaStatus.d.ts +20 -0
  57. package/dist-esm/src/operations/componentQuotaStatus.d.ts.map +1 -0
  58. package/dist-esm/src/operations/componentQuotaStatus.js +50 -0
  59. package/dist-esm/src/operations/componentQuotaStatus.js.map +1 -0
  60. package/dist-esm/src/operations/components.d.ts +108 -0
  61. package/dist-esm/src/operations/components.d.ts.map +1 -0
  62. package/dist-esm/src/operations/components.js +402 -0
  63. package/dist-esm/src/operations/components.js.map +1 -0
  64. package/dist-esm/src/operations/exportConfigurations.d.ts +58 -0
  65. package/dist-esm/src/operations/exportConfigurations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/exportConfigurations.js +195 -0
  67. package/dist-esm/src/operations/exportConfigurations.js.map +1 -0
  68. package/dist-esm/src/operations/favorites.d.ts +55 -0
  69. package/dist-esm/src/operations/favorites.d.ts.map +1 -0
  70. package/dist-esm/src/operations/favorites.js +196 -0
  71. package/dist-esm/src/operations/favorites.js.map +1 -0
  72. package/{esm → dist-esm/src}/operations/index.d.ts +3 -2
  73. package/dist-esm/src/operations/index.d.ts.map +1 -0
  74. package/{esm → dist-esm/src}/operations/index.js +6 -7
  75. package/dist-esm/src/operations/index.js.map +1 -0
  76. package/dist-esm/src/operations/liveToken.d.ts +19 -0
  77. package/dist-esm/src/operations/liveToken.d.ts.map +1 -0
  78. package/dist-esm/src/operations/liveToken.js +47 -0
  79. package/dist-esm/src/operations/liveToken.js.map +1 -0
  80. package/dist-esm/src/operations/myWorkbooks.d.ts +89 -0
  81. package/dist-esm/src/operations/myWorkbooks.d.ts.map +1 -0
  82. package/dist-esm/src/operations/myWorkbooks.js +387 -0
  83. package/dist-esm/src/operations/myWorkbooks.js.map +1 -0
  84. package/dist-esm/src/operations/operations.d.ts +32 -0
  85. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/operations.js +116 -0
  87. package/dist-esm/src/operations/operations.js.map +1 -0
  88. package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts +40 -0
  89. package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts.map +1 -0
  90. package/dist-esm/src/operations/proactiveDetectionConfigurations.js +130 -0
  91. package/dist-esm/src/operations/proactiveDetectionConfigurations.js.map +1 -0
  92. package/dist-esm/src/operations/webTestLocations.d.ts +30 -0
  93. package/dist-esm/src/operations/webTestLocations.d.ts.map +1 -0
  94. package/dist-esm/src/operations/webTestLocations.js +96 -0
  95. package/dist-esm/src/operations/webTestLocations.js.map +1 -0
  96. package/dist-esm/src/operations/webTests.d.ts +108 -0
  97. package/dist-esm/src/operations/webTests.d.ts.map +1 -0
  98. package/dist-esm/src/operations/webTests.js +435 -0
  99. package/dist-esm/src/operations/webTests.js.map +1 -0
  100. package/dist-esm/src/operations/workItemConfigurations.d.ts +75 -0
  101. package/dist-esm/src/operations/workItemConfigurations.d.ts.map +1 -0
  102. package/dist-esm/src/operations/workItemConfigurations.js +257 -0
  103. package/dist-esm/src/operations/workItemConfigurations.js.map +1 -0
  104. package/dist-esm/src/operations/workbookTemplates.d.ts +57 -0
  105. package/dist-esm/src/operations/workbookTemplates.d.ts.map +1 -0
  106. package/dist-esm/src/operations/workbookTemplates.js +223 -0
  107. package/dist-esm/src/operations/workbookTemplates.js.map +1 -0
  108. package/dist-esm/src/operations/workbooks.d.ts +120 -0
  109. package/dist-esm/src/operations/workbooks.d.ts.map +1 -0
  110. package/dist-esm/src/operations/workbooks.js +530 -0
  111. package/dist-esm/src/operations/workbooks.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts +38 -0
  113. package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/aPIKeys.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/aPIKeys.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts +43 -0
  117. package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/analyticsItems.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/analyticsItems.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/annotations.d.ts +43 -0
  121. package/dist-esm/src/operationsInterfaces/annotations.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/annotations.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/annotations.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts +12 -0
  125. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts +21 -0
  129. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts +12 -0
  133. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts +45 -0
  137. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts +12 -0
  141. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/components.d.ts +72 -0
  145. package/dist-esm/src/operationsInterfaces/components.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/components.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/components.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts +50 -0
  149. package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/exportConfigurations.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/exportConfigurations.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/favorites.d.ts +47 -0
  153. package/dist-esm/src/operationsInterfaces/favorites.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/favorites.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/favorites.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/index.d.ts +21 -0
  157. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/index.js +28 -0
  159. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/liveToken.d.ts +11 -0
  161. package/dist-esm/src/operationsInterfaces/liveToken.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/liveToken.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/liveToken.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts +49 -0
  165. package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/myWorkbooks.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/myWorkbooks.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  169. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts +32 -0
  173. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js +9 -0
  175. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts +13 -0
  177. package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/webTestLocations.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/webTestLocations.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/webTests.d.ts +55 -0
  181. package/dist-esm/src/operationsInterfaces/webTests.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/webTests.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/webTests.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts +58 -0
  185. package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/workItemConfigurations.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/workItemConfigurations.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts +41 -0
  189. package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/workbookTemplates.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/workbookTemplates.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/workbooks.d.ts +63 -0
  193. package/dist-esm/src/operationsInterfaces/workbooks.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/workbooks.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/workbooks.js.map +1 -0
  196. package/dist-esm/test/sampleTest.d.ts +2 -0
  197. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  198. package/dist-esm/test/sampleTest.js +40 -0
  199. package/dist-esm/test/sampleTest.js.map +1 -0
  200. package/package.json +71 -31
  201. package/review/arm-appinsights.api.md +1779 -0
  202. package/rollup.config.js +181 -30
  203. package/src/applicationInsightsManagementClient.ts +148 -65
  204. package/src/index.ts +12 -0
  205. package/src/models/index.ts +1616 -2507
  206. package/src/models/mappers.ts +1596 -1083
  207. package/src/models/parameters.ts +370 -186
  208. package/src/operations/aPIKeys.ts +155 -191
  209. package/src/operations/analyticsItems.ts +122 -240
  210. package/src/operations/annotations.ts +187 -214
  211. package/src/operations/componentAvailableFeatures.ts +40 -57
  212. package/src/operations/componentCurrentBillingFeatures.ts +66 -110
  213. package/src/operations/componentFeatureCapabilities.ts +40 -57
  214. package/src/operations/componentLinkedStorageAccountsOperations.ts +128 -182
  215. package/src/operations/componentQuotaStatus.ts +39 -57
  216. package/src/operations/components.ts +327 -440
  217. package/src/operations/exportConfigurations.ts +139 -264
  218. package/src/operations/favorites.ts +134 -242
  219. package/src/operations/index.ts +6 -7
  220. package/src/operations/liveToken.ts +30 -50
  221. package/src/operations/myWorkbooks.ts +360 -252
  222. package/src/operations/operations.ts +84 -169
  223. package/src/operations/proactiveDetectionConfigurations.ts +97 -160
  224. package/src/operations/webTestLocations.ts +86 -53
  225. package/src/operations/webTests.ts +391 -411
  226. package/src/operations/workItemConfigurations.ts +202 -283
  227. package/src/operations/workbookTemplates.ts +286 -0
  228. package/src/operations/workbooks.ts +558 -196
  229. package/src/operationsInterfaces/aPIKeys.ts +76 -0
  230. package/src/operationsInterfaces/analyticsItems.ts +82 -0
  231. package/src/operationsInterfaces/annotations.ts +81 -0
  232. package/src/operationsInterfaces/componentAvailableFeatures.ts +27 -0
  233. package/src/operationsInterfaces/componentCurrentBillingFeatures.ts +44 -0
  234. package/src/operationsInterfaces/componentFeatureCapabilities.ts +27 -0
  235. package/src/operationsInterfaces/componentLinkedStorageAccountsOperations.ts +86 -0
  236. package/src/operationsInterfaces/componentQuotaStatus.ts +27 -0
  237. package/src/operationsInterfaces/components.ts +131 -0
  238. package/src/operationsInterfaces/exportConfigurations.ts +95 -0
  239. package/src/operationsInterfaces/favorites.ts +92 -0
  240. package/src/operationsInterfaces/index.ts +28 -0
  241. package/src/operationsInterfaces/liveToken.ts +22 -0
  242. package/src/operationsInterfaces/myWorkbooks.ts +95 -0
  243. package/src/operationsInterfaces/operations.ts +22 -0
  244. package/src/operationsInterfaces/proactiveDetectionConfigurations.ts +63 -0
  245. package/src/operationsInterfaces/webTestLocations.ts +29 -0
  246. package/src/operationsInterfaces/webTests.ts +104 -0
  247. package/src/operationsInterfaces/workItemConfigurations.ts +109 -0
  248. package/src/operationsInterfaces/workbookTemplates.ts +80 -0
  249. package/src/operationsInterfaces/workbooks.ts +120 -0
  250. package/tsconfig.json +3 -3
  251. package/types/arm-appinsights.d.ts +3102 -0
  252. package/types/tsdoc-metadata.json +11 -0
  253. package/dist/arm-appinsights.js +0 -6616
  254. package/dist/arm-appinsights.js.map +0 -1
  255. package/dist/arm-appinsights.min.js +0 -1
  256. package/dist/arm-appinsights.min.js.map +0 -1
  257. package/esm/applicationInsightsManagementClient.d.ts +0 -36
  258. package/esm/applicationInsightsManagementClient.d.ts.map +0 -1
  259. package/esm/applicationInsightsManagementClient.js +0 -51
  260. package/esm/applicationInsightsManagementClient.js.map +0 -1
  261. package/esm/applicationInsightsManagementClientContext.d.ts +0 -15
  262. package/esm/applicationInsightsManagementClientContext.d.ts.map +0 -1
  263. package/esm/applicationInsightsManagementClientContext.js +0 -55
  264. package/esm/applicationInsightsManagementClientContext.js.map +0 -1
  265. package/esm/models/aPIKeysMappers.d.ts +0 -2
  266. package/esm/models/aPIKeysMappers.d.ts.map +0 -1
  267. package/esm/models/aPIKeysMappers.js +0 -9
  268. package/esm/models/aPIKeysMappers.js.map +0 -1
  269. package/esm/models/analyticsItemsMappers.d.ts +0 -2
  270. package/esm/models/analyticsItemsMappers.d.ts.map +0 -1
  271. package/esm/models/analyticsItemsMappers.js +0 -9
  272. package/esm/models/analyticsItemsMappers.js.map +0 -1
  273. package/esm/models/annotationsMappers.d.ts +0 -2
  274. package/esm/models/annotationsMappers.d.ts.map +0 -1
  275. package/esm/models/annotationsMappers.js +0 -9
  276. package/esm/models/annotationsMappers.js.map +0 -1
  277. package/esm/models/componentAvailableFeaturesMappers.d.ts +0 -2
  278. package/esm/models/componentAvailableFeaturesMappers.d.ts.map +0 -1
  279. package/esm/models/componentAvailableFeaturesMappers.js +0 -9
  280. package/esm/models/componentAvailableFeaturesMappers.js.map +0 -1
  281. package/esm/models/componentCurrentBillingFeaturesMappers.d.ts +0 -2
  282. package/esm/models/componentCurrentBillingFeaturesMappers.d.ts.map +0 -1
  283. package/esm/models/componentCurrentBillingFeaturesMappers.js +0 -9
  284. package/esm/models/componentCurrentBillingFeaturesMappers.js.map +0 -1
  285. package/esm/models/componentFeatureCapabilitiesMappers.d.ts +0 -2
  286. package/esm/models/componentFeatureCapabilitiesMappers.d.ts.map +0 -1
  287. package/esm/models/componentFeatureCapabilitiesMappers.js +0 -9
  288. package/esm/models/componentFeatureCapabilitiesMappers.js.map +0 -1
  289. package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts +0 -2
  290. package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts.map +0 -1
  291. package/esm/models/componentLinkedStorageAccountsOperationsMappers.js +0 -9
  292. package/esm/models/componentLinkedStorageAccountsOperationsMappers.js.map +0 -1
  293. package/esm/models/componentQuotaStatusMappers.d.ts +0 -2
  294. package/esm/models/componentQuotaStatusMappers.d.ts.map +0 -1
  295. package/esm/models/componentQuotaStatusMappers.js +0 -9
  296. package/esm/models/componentQuotaStatusMappers.js.map +0 -1
  297. package/esm/models/componentsMappers.d.ts +0 -2
  298. package/esm/models/componentsMappers.d.ts.map +0 -1
  299. package/esm/models/componentsMappers.js +0 -9
  300. package/esm/models/componentsMappers.js.map +0 -1
  301. package/esm/models/exportConfigurationsMappers.d.ts +0 -2
  302. package/esm/models/exportConfigurationsMappers.d.ts.map +0 -1
  303. package/esm/models/exportConfigurationsMappers.js +0 -9
  304. package/esm/models/exportConfigurationsMappers.js.map +0 -1
  305. package/esm/models/favoritesMappers.d.ts +0 -2
  306. package/esm/models/favoritesMappers.d.ts.map +0 -1
  307. package/esm/models/favoritesMappers.js +0 -9
  308. package/esm/models/favoritesMappers.js.map +0 -1
  309. package/esm/models/index.d.ts +0 -3038
  310. package/esm/models/index.d.ts.map +0 -1
  311. package/esm/models/index.js +0 -8
  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 -69
  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 -36
  329. package/esm/models/parameters.d.ts.map +0 -1
  330. package/esm/models/parameters.js +0 -416
  331. package/esm/models/parameters.js.map +0 -1
  332. package/esm/models/proactiveDetectionConfigurationsMappers.d.ts +0 -2
  333. package/esm/models/proactiveDetectionConfigurationsMappers.d.ts.map +0 -1
  334. package/esm/models/proactiveDetectionConfigurationsMappers.js +0 -9
  335. package/esm/models/proactiveDetectionConfigurationsMappers.js.map +0 -1
  336. package/esm/models/webTestLocationsMappers.d.ts +0 -2
  337. package/esm/models/webTestLocationsMappers.d.ts.map +0 -1
  338. package/esm/models/webTestLocationsMappers.js +0 -9
  339. package/esm/models/webTestLocationsMappers.js.map +0 -1
  340. package/esm/models/webTestsMappers.d.ts +0 -2
  341. package/esm/models/webTestsMappers.d.ts.map +0 -1
  342. package/esm/models/webTestsMappers.js +0 -9
  343. package/esm/models/webTestsMappers.js.map +0 -1
  344. package/esm/models/workItemConfigurationsMappers.d.ts +0 -2
  345. package/esm/models/workItemConfigurationsMappers.d.ts.map +0 -1
  346. package/esm/models/workItemConfigurationsMappers.js +0 -9
  347. package/esm/models/workItemConfigurationsMappers.js.map +0 -1
  348. package/esm/models/workbooksMappers.d.ts +0 -2
  349. package/esm/models/workbooksMappers.d.ts.map +0 -1
  350. package/esm/models/workbooksMappers.js +0 -9
  351. package/esm/models/workbooksMappers.js.map +0 -1
  352. package/esm/operations/aPIKeys.d.ts +0 -109
  353. package/esm/operations/aPIKeys.d.ts.map +0 -1
  354. package/esm/operations/aPIKeys.js +0 -161
  355. package/esm/operations/aPIKeys.js.map +0 -1
  356. package/esm/operations/analyticsItems.d.ts +0 -139
  357. package/esm/operations/analyticsItems.d.ts.map +0 -1
  358. package/esm/operations/analyticsItems.js +0 -182
  359. package/esm/operations/analyticsItems.js.map +0 -1
  360. package/esm/operations/annotations.d.ts +0 -124
  361. package/esm/operations/annotations.d.ts.map +0 -1
  362. package/esm/operations/annotations.js +0 -185
  363. package/esm/operations/annotations.js.map +0 -1
  364. package/esm/operations/componentAvailableFeatures.d.ts +0 -34
  365. package/esm/operations/componentAvailableFeatures.d.ts.map +0 -1
  366. package/esm/operations/componentAvailableFeatures.js +0 -58
  367. package/esm/operations/componentAvailableFeatures.js.map +0 -1
  368. package/esm/operations/componentCurrentBillingFeatures.d.ts +0 -61
  369. package/esm/operations/componentCurrentBillingFeatures.d.ts.map +0 -1
  370. package/esm/operations/componentCurrentBillingFeatures.js +0 -95
  371. package/esm/operations/componentCurrentBillingFeatures.js.map +0 -1
  372. package/esm/operations/componentFeatureCapabilities.d.ts +0 -34
  373. package/esm/operations/componentFeatureCapabilities.d.ts.map +0 -1
  374. package/esm/operations/componentFeatureCapabilities.js +0 -58
  375. package/esm/operations/componentFeatureCapabilities.js.map +0 -1
  376. package/esm/operations/componentLinkedStorageAccountsOperations.d.ts +0 -109
  377. package/esm/operations/componentLinkedStorageAccountsOperations.d.ts.map +0 -1
  378. package/esm/operations/componentLinkedStorageAccountsOperations.js +0 -165
  379. package/esm/operations/componentLinkedStorageAccountsOperations.js.map +0 -1
  380. package/esm/operations/componentQuotaStatus.d.ts +0 -34
  381. package/esm/operations/componentQuotaStatus.d.ts.map +0 -1
  382. package/esm/operations/componentQuotaStatus.js +0 -58
  383. package/esm/operations/componentQuotaStatus.js.map +0 -1
  384. package/esm/operations/components.d.ts +0 -236
  385. package/esm/operations/components.d.ts.map +0 -1
  386. package/esm/operations/components.js +0 -344
  387. package/esm/operations/components.js.map +0 -1
  388. package/esm/operations/exportConfigurations.d.ts +0 -148
  389. package/esm/operations/exportConfigurations.d.ts.map +0 -1
  390. package/esm/operations/exportConfigurations.js +0 -221
  391. package/esm/operations/exportConfigurations.js.map +0 -1
  392. package/esm/operations/favorites.d.ts +0 -139
  393. package/esm/operations/favorites.d.ts.map +0 -1
  394. package/esm/operations/favorites.js +0 -214
  395. package/esm/operations/favorites.js.map +0 -1
  396. package/esm/operations/index.d.ts.map +0 -1
  397. package/esm/operations/index.js.map +0 -1
  398. package/esm/operations/liveToken.d.ts +0 -31
  399. package/esm/operations/liveToken.d.ts.map +0 -1
  400. package/esm/operations/liveToken.js +0 -55
  401. package/esm/operations/liveToken.js.map +0 -1
  402. package/esm/operations/myWorkbooks.d.ts +0 -148
  403. package/esm/operations/myWorkbooks.d.ts.map +0 -1
  404. package/esm/operations/myWorkbooks.js +0 -228
  405. package/esm/operations/myWorkbooks.js.map +0 -1
  406. package/esm/operations/operations.d.ts +0 -81
  407. package/esm/operations/operations.d.ts.map +0 -1
  408. package/esm/operations/operations.js +0 -127
  409. package/esm/operations/operations.js.map +0 -1
  410. package/esm/operations/proactiveDetectionConfigurations.d.ts +0 -94
  411. package/esm/operations/proactiveDetectionConfigurations.d.ts.map +0 -1
  412. package/esm/operations/proactiveDetectionConfigurations.js +0 -141
  413. package/esm/operations/proactiveDetectionConfigurations.js.map +0 -1
  414. package/esm/operations/webTestLocations.d.ts +0 -34
  415. package/esm/operations/webTestLocations.d.ts.map +0 -1
  416. package/esm/operations/webTestLocations.js +0 -58
  417. package/esm/operations/webTestLocations.js.map +0 -1
  418. package/esm/operations/webTests.d.ts +0 -214
  419. package/esm/operations/webTests.d.ts.map +0 -1
  420. package/esm/operations/webTests.js +0 -326
  421. package/esm/operations/webTests.js.map +0 -1
  422. package/esm/operations/workItemConfigurations.d.ts +0 -169
  423. package/esm/operations/workItemConfigurations.d.ts.map +0 -1
  424. package/esm/operations/workItemConfigurations.js +0 -228
  425. package/esm/operations/workItemConfigurations.js.map +0 -1
  426. package/esm/operations/workbooks.d.ts +0 -127
  427. package/esm/operations/workbooks.d.ts.map +0 -1
  428. package/esm/operations/workbooks.js +0 -197
  429. package/esm/operations/workbooks.js.map +0 -1
  430. package/src/applicationInsightsManagementClientContext.ts +0 -60
  431. package/src/models/aPIKeysMappers.ts +0 -14
  432. package/src/models/analyticsItemsMappers.ts +0 -13
  433. package/src/models/annotationsMappers.ts +0 -15
  434. package/src/models/componentAvailableFeaturesMappers.ts +0 -14
  435. package/src/models/componentCurrentBillingFeaturesMappers.ts +0 -13
  436. package/src/models/componentFeatureCapabilitiesMappers.ts +0 -12
  437. package/src/models/componentLinkedStorageAccountsOperationsMappers.ts +0 -31
  438. package/src/models/componentQuotaStatusMappers.ts +0 -12
  439. package/src/models/componentsMappers.ts +0 -36
  440. package/src/models/exportConfigurationsMappers.ts +0 -13
  441. package/src/models/favoritesMappers.ts +0 -12
  442. package/src/models/liveTokenMappers.ts +0 -12
  443. package/src/models/myWorkbooksMappers.ts +0 -32
  444. package/src/models/operationsMappers.ts +0 -18
  445. package/src/models/proactiveDetectionConfigurationsMappers.ts +0 -30
  446. package/src/models/webTestLocationsMappers.ts +0 -13
  447. package/src/models/webTestsMappers.ts +0 -32
  448. package/src/models/workItemConfigurationsMappers.ts +0 -16
  449. package/src/models/workbooksMappers.ts +0 -32
@@ -0,0 +1,402 @@
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 Components operations. */
14
+ export class ComponentsImpl {
15
+ /**
16
+ * Initialize a new instance of the class Components class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Gets a list of all Application Insights components within a subscription.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options) {
27
+ const iter = this.listPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: () => {
36
+ return this.listPagingPage(options);
37
+ }
38
+ };
39
+ }
40
+ listPagingPage(options) {
41
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
42
+ let result = yield __await(this._list(options));
43
+ yield yield __await(result.value || []);
44
+ let continuationToken = result.nextLink;
45
+ while (continuationToken) {
46
+ result = yield __await(this._listNext(continuationToken, options));
47
+ continuationToken = result.nextLink;
48
+ yield yield __await(result.value || []);
49
+ }
50
+ });
51
+ }
52
+ listPagingAll(options) {
53
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
54
+ var e_1, _a;
55
+ try {
56
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
57
+ const page = _c.value;
58
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
59
+ }
60
+ }
61
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
+ finally {
63
+ try {
64
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
65
+ }
66
+ finally { if (e_1) throw e_1.error; }
67
+ }
68
+ });
69
+ }
70
+ /**
71
+ * Gets a list of Application Insights components within a resource group.
72
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
73
+ * @param options The options parameters.
74
+ */
75
+ listByResourceGroup(resourceGroupName, options) {
76
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
77
+ return {
78
+ next() {
79
+ return iter.next();
80
+ },
81
+ [Symbol.asyncIterator]() {
82
+ return this;
83
+ },
84
+ byPage: () => {
85
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
86
+ }
87
+ };
88
+ }
89
+ listByResourceGroupPagingPage(resourceGroupName, options) {
90
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
91
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
92
+ yield yield __await(result.value || []);
93
+ let continuationToken = result.nextLink;
94
+ while (continuationToken) {
95
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
96
+ continuationToken = result.nextLink;
97
+ yield yield __await(result.value || []);
98
+ }
99
+ });
100
+ }
101
+ listByResourceGroupPagingAll(resourceGroupName, options) {
102
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
103
+ var e_2, _a;
104
+ try {
105
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
106
+ const page = _c.value;
107
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
108
+ }
109
+ }
110
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
111
+ finally {
112
+ try {
113
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
114
+ }
115
+ finally { if (e_2) throw e_2.error; }
116
+ }
117
+ });
118
+ }
119
+ /**
120
+ * Gets a list of all Application Insights components within a subscription.
121
+ * @param options The options parameters.
122
+ */
123
+ _list(options) {
124
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
125
+ }
126
+ /**
127
+ * Gets a list of Application Insights components within a resource group.
128
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
129
+ * @param options The options parameters.
130
+ */
131
+ _listByResourceGroup(resourceGroupName, options) {
132
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
133
+ }
134
+ /**
135
+ * Deletes an Application Insights component.
136
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
137
+ * @param resourceName The name of the Application Insights component resource.
138
+ * @param options The options parameters.
139
+ */
140
+ delete(resourceGroupName, resourceName, options) {
141
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec);
142
+ }
143
+ /**
144
+ * Returns an Application Insights component.
145
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
146
+ * @param resourceName The name of the Application Insights component resource.
147
+ * @param options The options parameters.
148
+ */
149
+ get(resourceGroupName, resourceName, options) {
150
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
151
+ }
152
+ /**
153
+ * Creates (or updates) an Application Insights component. Note: You cannot specify a different value
154
+ * for InstrumentationKey nor AppId in the Put operation.
155
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
156
+ * @param resourceName The name of the Application Insights component resource.
157
+ * @param insightProperties Properties that need to be specified to create an Application Insights
158
+ * component.
159
+ * @param options The options parameters.
160
+ */
161
+ createOrUpdate(resourceGroupName, resourceName, insightProperties, options) {
162
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, insightProperties, options }, createOrUpdateOperationSpec);
163
+ }
164
+ /**
165
+ * Updates an existing component's tags. To update other fields use the CreateOrUpdate method.
166
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
167
+ * @param resourceName The name of the Application Insights component resource.
168
+ * @param componentTags Updated tag information to set into the component instance.
169
+ * @param options The options parameters.
170
+ */
171
+ updateTags(resourceGroupName, resourceName, componentTags, options) {
172
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, componentTags, options }, updateTagsOperationSpec);
173
+ }
174
+ /**
175
+ * Purges data in an Application Insights component by a set of user-defined filters.
176
+ *
177
+ * In order to manage system resources, purge requests are throttled at 50 requests per hour. You
178
+ * should batch the execution of purge requests by sending a single command whose predicate includes
179
+ * all user identities that require purging. Use the in operator to specify multiple identities. You
180
+ * should run the query prior to using for a purge request to verify that the results are expected.
181
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
182
+ * @param resourceName The name of the Application Insights component resource.
183
+ * @param body Describes the body of a request to purge data in a single table of an Application
184
+ * Insights component
185
+ * @param options The options parameters.
186
+ */
187
+ purge(resourceGroupName, resourceName, body, options) {
188
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, body, options }, purgeOperationSpec);
189
+ }
190
+ /**
191
+ * Get status for an ongoing purge operation.
192
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
193
+ * @param resourceName The name of the Application Insights component resource.
194
+ * @param purgeId In a purge status request, this is the Id of the operation the status of which is
195
+ * returned.
196
+ * @param options The options parameters.
197
+ */
198
+ getPurgeStatus(resourceGroupName, resourceName, purgeId, options) {
199
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, purgeId, options }, getPurgeStatusOperationSpec);
200
+ }
201
+ /**
202
+ * ListNext
203
+ * @param nextLink The nextLink from the previous successful call to the List method.
204
+ * @param options The options parameters.
205
+ */
206
+ _listNext(nextLink, options) {
207
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
208
+ }
209
+ /**
210
+ * ListByResourceGroupNext
211
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
212
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
213
+ * @param options The options parameters.
214
+ */
215
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
216
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
217
+ }
218
+ }
219
+ // Operation Specifications
220
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
221
+ const listOperationSpec = {
222
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/components",
223
+ httpMethod: "GET",
224
+ responses: {
225
+ 200: {
226
+ bodyMapper: Mappers.ApplicationInsightsComponentListResult
227
+ }
228
+ },
229
+ queryParameters: [Parameters.apiVersion4],
230
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
231
+ headerParameters: [Parameters.accept],
232
+ serializer
233
+ };
234
+ const listByResourceGroupOperationSpec = {
235
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components",
236
+ httpMethod: "GET",
237
+ responses: {
238
+ 200: {
239
+ bodyMapper: Mappers.ApplicationInsightsComponentListResult
240
+ }
241
+ },
242
+ queryParameters: [Parameters.apiVersion4],
243
+ urlParameters: [
244
+ Parameters.$host,
245
+ Parameters.resourceGroupName,
246
+ Parameters.subscriptionId
247
+ ],
248
+ headerParameters: [Parameters.accept],
249
+ serializer
250
+ };
251
+ const deleteOperationSpec = {
252
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
253
+ httpMethod: "DELETE",
254
+ responses: { 200: {}, 204: {} },
255
+ queryParameters: [Parameters.apiVersion4],
256
+ urlParameters: [
257
+ Parameters.$host,
258
+ Parameters.resourceGroupName,
259
+ Parameters.subscriptionId,
260
+ Parameters.resourceName
261
+ ],
262
+ serializer
263
+ };
264
+ const getOperationSpec = {
265
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
266
+ httpMethod: "GET",
267
+ responses: {
268
+ 200: {
269
+ bodyMapper: Mappers.ApplicationInsightsComponent
270
+ }
271
+ },
272
+ queryParameters: [Parameters.apiVersion4],
273
+ urlParameters: [
274
+ Parameters.$host,
275
+ Parameters.resourceGroupName,
276
+ Parameters.subscriptionId,
277
+ Parameters.resourceName
278
+ ],
279
+ headerParameters: [Parameters.accept],
280
+ serializer
281
+ };
282
+ const createOrUpdateOperationSpec = {
283
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
284
+ httpMethod: "PUT",
285
+ responses: {
286
+ 200: {
287
+ bodyMapper: Mappers.ApplicationInsightsComponent
288
+ },
289
+ 201: {
290
+ bodyMapper: Mappers.ApplicationInsightsComponent
291
+ }
292
+ },
293
+ requestBody: Parameters.insightProperties,
294
+ queryParameters: [Parameters.apiVersion4],
295
+ urlParameters: [
296
+ Parameters.$host,
297
+ Parameters.resourceGroupName,
298
+ Parameters.subscriptionId,
299
+ Parameters.resourceName
300
+ ],
301
+ headerParameters: [Parameters.accept, Parameters.contentType],
302
+ mediaType: "json",
303
+ serializer
304
+ };
305
+ const updateTagsOperationSpec = {
306
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
307
+ httpMethod: "PATCH",
308
+ responses: {
309
+ 200: {
310
+ bodyMapper: Mappers.ApplicationInsightsComponent
311
+ },
312
+ 201: {
313
+ bodyMapper: Mappers.ApplicationInsightsComponent
314
+ }
315
+ },
316
+ requestBody: Parameters.componentTags,
317
+ queryParameters: [Parameters.apiVersion4],
318
+ urlParameters: [
319
+ Parameters.$host,
320
+ Parameters.resourceGroupName,
321
+ Parameters.subscriptionId,
322
+ Parameters.resourceName
323
+ ],
324
+ headerParameters: [Parameters.accept, Parameters.contentType],
325
+ mediaType: "json",
326
+ serializer
327
+ };
328
+ const purgeOperationSpec = {
329
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge",
330
+ httpMethod: "POST",
331
+ responses: {
332
+ 202: {
333
+ bodyMapper: Mappers.ComponentPurgeResponse
334
+ }
335
+ },
336
+ requestBody: Parameters.body,
337
+ queryParameters: [Parameters.apiVersion4],
338
+ urlParameters: [
339
+ Parameters.$host,
340
+ Parameters.resourceGroupName,
341
+ Parameters.subscriptionId,
342
+ Parameters.resourceName
343
+ ],
344
+ headerParameters: [Parameters.accept, Parameters.contentType],
345
+ mediaType: "json",
346
+ serializer
347
+ };
348
+ const getPurgeStatusOperationSpec = {
349
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}",
350
+ httpMethod: "GET",
351
+ responses: {
352
+ 200: {
353
+ bodyMapper: Mappers.ComponentPurgeStatusResponse
354
+ }
355
+ },
356
+ queryParameters: [Parameters.apiVersion4],
357
+ urlParameters: [
358
+ Parameters.$host,
359
+ Parameters.resourceGroupName,
360
+ Parameters.subscriptionId,
361
+ Parameters.resourceName,
362
+ Parameters.purgeId
363
+ ],
364
+ headerParameters: [Parameters.accept],
365
+ serializer
366
+ };
367
+ const listNextOperationSpec = {
368
+ path: "{nextLink}",
369
+ httpMethod: "GET",
370
+ responses: {
371
+ 200: {
372
+ bodyMapper: Mappers.ApplicationInsightsComponentListResult
373
+ }
374
+ },
375
+ queryParameters: [Parameters.apiVersion4],
376
+ urlParameters: [
377
+ Parameters.$host,
378
+ Parameters.subscriptionId,
379
+ Parameters.nextLink
380
+ ],
381
+ headerParameters: [Parameters.accept],
382
+ serializer
383
+ };
384
+ const listByResourceGroupNextOperationSpec = {
385
+ path: "{nextLink}",
386
+ httpMethod: "GET",
387
+ responses: {
388
+ 200: {
389
+ bodyMapper: Mappers.ApplicationInsightsComponentListResult
390
+ }
391
+ },
392
+ queryParameters: [Parameters.apiVersion4],
393
+ urlParameters: [
394
+ Parameters.$host,
395
+ Parameters.resourceGroupName,
396
+ Parameters.subscriptionId,
397
+ Parameters.nextLink
398
+ ],
399
+ headerParameters: [Parameters.accept],
400
+ serializer
401
+ };
402
+ //# sourceMappingURL=components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/operations/components.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA2BnD,4CAA4C;AAC5C,8C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W,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,58 @@
1
+ import { ExportConfigurations } from "../operationsInterfaces";
2
+ import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
3
+ import { ExportConfigurationsListOptionalParams, ExportConfigurationsListResponse, ApplicationInsightsComponentExportRequest, ExportConfigurationsCreateOptionalParams, ExportConfigurationsCreateResponse, ExportConfigurationsDeleteOptionalParams, ExportConfigurationsDeleteResponse, ExportConfigurationsGetOptionalParams, ExportConfigurationsGetResponse, ExportConfigurationsUpdateOptionalParams, ExportConfigurationsUpdateResponse } from "../models";
4
+ /** Class containing ExportConfigurations operations. */
5
+ export declare class ExportConfigurationsImpl implements ExportConfigurations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class ExportConfigurations class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: ApplicationInsightsManagementClient);
12
+ /**
13
+ * Gets a list of Continuous Export configuration of 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
+ list(resourceGroupName: string, resourceName: string, options?: ExportConfigurationsListOptionalParams): Promise<ExportConfigurationsListResponse>;
19
+ /**
20
+ * Create a Continuous Export configuration of 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 exportProperties Properties that need to be specified to create a Continuous Export
24
+ * configuration of a Application Insights component.
25
+ * @param options The options parameters.
26
+ */
27
+ create(resourceGroupName: string, resourceName: string, exportProperties: ApplicationInsightsComponentExportRequest, options?: ExportConfigurationsCreateOptionalParams): Promise<ExportConfigurationsCreateResponse>;
28
+ /**
29
+ * Delete a Continuous Export configuration of an Application Insights component.
30
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
31
+ * @param resourceName The name of the Application Insights component resource.
32
+ * @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
33
+ * component.
34
+ * @param options The options parameters.
35
+ */
36
+ delete(resourceGroupName: string, resourceName: string, exportId: string, options?: ExportConfigurationsDeleteOptionalParams): Promise<ExportConfigurationsDeleteResponse>;
37
+ /**
38
+ * Get the Continuous Export configuration for this export id.
39
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
+ * @param resourceName The name of the Application Insights component resource.
41
+ * @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
42
+ * component.
43
+ * @param options The options parameters.
44
+ */
45
+ get(resourceGroupName: string, resourceName: string, exportId: string, options?: ExportConfigurationsGetOptionalParams): Promise<ExportConfigurationsGetResponse>;
46
+ /**
47
+ * Update the Continuous Export configuration for this export id.
48
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
49
+ * @param resourceName The name of the Application Insights component resource.
50
+ * @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
51
+ * component.
52
+ * @param exportProperties Properties that need to be specified to update the Continuous Export
53
+ * configuration.
54
+ * @param options The options parameters.
55
+ */
56
+ update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: ApplicationInsightsComponentExportRequest, options?: ExportConfigurationsUpdateOptionalParams): Promise<ExportConfigurationsUpdateResponse>;
57
+ }
58
+ //# sourceMappingURL=exportConfigurations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exportConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/exportConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EACL,sCAAsC,EACtC,gCAAgC,EAChC,yCAAyC,EACzC,wCAAwC,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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 ExportConfigurations operations. */
12
+ export class ExportConfigurationsImpl {
13
+ /**
14
+ * Initialize a new instance of the class ExportConfigurations class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Gets a list of Continuous Export configuration of 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
+ list(resourceGroupName, resourceName, options) {
27
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec);
28
+ }
29
+ /**
30
+ * Create a Continuous Export configuration of 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 exportProperties Properties that need to be specified to create a Continuous Export
34
+ * configuration of a Application Insights component.
35
+ * @param options The options parameters.
36
+ */
37
+ create(resourceGroupName, resourceName, exportProperties, options) {
38
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportProperties, options }, createOperationSpec);
39
+ }
40
+ /**
41
+ * Delete a Continuous Export configuration of an Application Insights component.
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param resourceName The name of the Application Insights component resource.
44
+ * @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
45
+ * component.
46
+ * @param options The options parameters.
47
+ */
48
+ delete(resourceGroupName, resourceName, exportId, options) {
49
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, options }, deleteOperationSpec);
50
+ }
51
+ /**
52
+ * Get the Continuous Export configuration for this export id.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param resourceName The name of the Application Insights component resource.
55
+ * @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
56
+ * component.
57
+ * @param options The options parameters.
58
+ */
59
+ get(resourceGroupName, resourceName, exportId, options) {
60
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, options }, getOperationSpec);
61
+ }
62
+ /**
63
+ * Update the Continuous Export configuration for this export id.
64
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
+ * @param resourceName The name of the Application Insights component resource.
66
+ * @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
67
+ * component.
68
+ * @param exportProperties Properties that need to be specified to update the Continuous Export
69
+ * configuration.
70
+ * @param options The options parameters.
71
+ */
72
+ update(resourceGroupName, resourceName, exportId, exportProperties, options) {
73
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, exportProperties, options }, updateOperationSpec);
74
+ }
75
+ }
76
+ // Operation Specifications
77
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
78
+ const listOperationSpec = {
79
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration",
80
+ httpMethod: "GET",
81
+ responses: {
82
+ 200: {
83
+ bodyMapper: {
84
+ type: {
85
+ name: "Sequence",
86
+ element: {
87
+ type: {
88
+ name: "Composite",
89
+ className: "ApplicationInsightsComponentExportConfiguration"
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ },
96
+ queryParameters: [Parameters.apiVersion],
97
+ urlParameters: [
98
+ Parameters.$host,
99
+ Parameters.resourceGroupName,
100
+ Parameters.subscriptionId,
101
+ Parameters.resourceName
102
+ ],
103
+ headerParameters: [Parameters.accept],
104
+ serializer
105
+ };
106
+ const createOperationSpec = {
107
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration",
108
+ httpMethod: "POST",
109
+ responses: {
110
+ 200: {
111
+ bodyMapper: {
112
+ type: {
113
+ name: "Sequence",
114
+ element: {
115
+ type: {
116
+ name: "Composite",
117
+ className: "ApplicationInsightsComponentExportConfiguration"
118
+ }
119
+ }
120
+ }
121
+ }
122
+ }
123
+ },
124
+ requestBody: Parameters.exportProperties,
125
+ queryParameters: [Parameters.apiVersion],
126
+ urlParameters: [
127
+ Parameters.$host,
128
+ Parameters.resourceGroupName,
129
+ Parameters.subscriptionId,
130
+ Parameters.resourceName
131
+ ],
132
+ headerParameters: [Parameters.accept, Parameters.contentType],
133
+ mediaType: "json",
134
+ serializer
135
+ };
136
+ const deleteOperationSpec = {
137
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
138
+ httpMethod: "DELETE",
139
+ responses: {
140
+ 200: {
141
+ bodyMapper: Mappers.ApplicationInsightsComponentExportConfiguration
142
+ }
143
+ },
144
+ queryParameters: [Parameters.apiVersion],
145
+ urlParameters: [
146
+ Parameters.$host,
147
+ Parameters.resourceGroupName,
148
+ Parameters.subscriptionId,
149
+ Parameters.resourceName,
150
+ Parameters.exportId
151
+ ],
152
+ headerParameters: [Parameters.accept],
153
+ serializer
154
+ };
155
+ const getOperationSpec = {
156
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
157
+ httpMethod: "GET",
158
+ responses: {
159
+ 200: {
160
+ bodyMapper: Mappers.ApplicationInsightsComponentExportConfiguration
161
+ }
162
+ },
163
+ queryParameters: [Parameters.apiVersion],
164
+ urlParameters: [
165
+ Parameters.$host,
166
+ Parameters.resourceGroupName,
167
+ Parameters.subscriptionId,
168
+ Parameters.resourceName,
169
+ Parameters.exportId
170
+ ],
171
+ headerParameters: [Parameters.accept],
172
+ serializer
173
+ };
174
+ const updateOperationSpec = {
175
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
176
+ httpMethod: "PUT",
177
+ responses: {
178
+ 200: {
179
+ bodyMapper: Mappers.ApplicationInsightsComponentExportConfiguration
180
+ }
181
+ },
182
+ requestBody: Parameters.exportProperties,
183
+ queryParameters: [Parameters.apiVersion],
184
+ urlParameters: [
185
+ Parameters.$host,
186
+ Parameters.resourceGroupName,
187
+ Parameters.subscriptionId,
188
+ Parameters.resourceName,
189
+ Parameters.exportId
190
+ ],
191
+ headerParameters: [Parameters.accept, Parameters.contentType],
192
+ mediaType: "json",
193
+ serializer
194
+ };
195
+ //# sourceMappingURL=exportConfigurations.js.map