@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,435 @@
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 WebTests operations. */
14
+ export class WebTestsImpl {
15
+ /**
16
+ * Initialize a new instance of the class WebTests class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Get all Application Insights web tests defined within a specified resource group.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param options The options parameters.
26
+ */
27
+ listByResourceGroup(resourceGroupName, options) {
28
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: () => {
37
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
38
+ }
39
+ };
40
+ }
41
+ listByResourceGroupPagingPage(resourceGroupName, options) {
42
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
43
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
44
+ yield yield __await(result.value || []);
45
+ let continuationToken = result.nextLink;
46
+ while (continuationToken) {
47
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
48
+ continuationToken = result.nextLink;
49
+ yield yield __await(result.value || []);
50
+ }
51
+ });
52
+ }
53
+ listByResourceGroupPagingAll(resourceGroupName, options) {
54
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
55
+ var e_1, _a;
56
+ try {
57
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
58
+ const page = _c.value;
59
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
60
+ }
61
+ }
62
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
63
+ finally {
64
+ try {
65
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
66
+ }
67
+ finally { if (e_1) throw e_1.error; }
68
+ }
69
+ });
70
+ }
71
+ /**
72
+ * Get all Application Insights web test alerts definitions within a subscription.
73
+ * @param options The options parameters.
74
+ */
75
+ list(options) {
76
+ const iter = this.listPagingAll(options);
77
+ return {
78
+ next() {
79
+ return iter.next();
80
+ },
81
+ [Symbol.asyncIterator]() {
82
+ return this;
83
+ },
84
+ byPage: () => {
85
+ return this.listPagingPage(options);
86
+ }
87
+ };
88
+ }
89
+ listPagingPage(options) {
90
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
91
+ let result = yield __await(this._list(options));
92
+ yield yield __await(result.value || []);
93
+ let continuationToken = result.nextLink;
94
+ while (continuationToken) {
95
+ result = yield __await(this._listNext(continuationToken, options));
96
+ continuationToken = result.nextLink;
97
+ yield yield __await(result.value || []);
98
+ }
99
+ });
100
+ }
101
+ listPagingAll(options) {
102
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
103
+ var e_2, _a;
104
+ try {
105
+ for (var _b = __asyncValues(this.listPagingPage(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
+ * Get all Application Insights web tests defined for the specified component.
121
+ * @param componentName The name of the Application Insights component resource.
122
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
123
+ * @param options The options parameters.
124
+ */
125
+ listByComponent(componentName, resourceGroupName, options) {
126
+ const iter = this.listByComponentPagingAll(componentName, resourceGroupName, options);
127
+ return {
128
+ next() {
129
+ return iter.next();
130
+ },
131
+ [Symbol.asyncIterator]() {
132
+ return this;
133
+ },
134
+ byPage: () => {
135
+ return this.listByComponentPagingPage(componentName, resourceGroupName, options);
136
+ }
137
+ };
138
+ }
139
+ listByComponentPagingPage(componentName, resourceGroupName, options) {
140
+ return __asyncGenerator(this, arguments, function* listByComponentPagingPage_1() {
141
+ let result = yield __await(this._listByComponent(componentName, resourceGroupName, options));
142
+ yield yield __await(result.value || []);
143
+ let continuationToken = result.nextLink;
144
+ while (continuationToken) {
145
+ result = yield __await(this._listByComponentNext(componentName, resourceGroupName, continuationToken, options));
146
+ continuationToken = result.nextLink;
147
+ yield yield __await(result.value || []);
148
+ }
149
+ });
150
+ }
151
+ listByComponentPagingAll(componentName, resourceGroupName, options) {
152
+ return __asyncGenerator(this, arguments, function* listByComponentPagingAll_1() {
153
+ var e_3, _a;
154
+ try {
155
+ for (var _b = __asyncValues(this.listByComponentPagingPage(componentName, resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
156
+ const page = _c.value;
157
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
158
+ }
159
+ }
160
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
161
+ finally {
162
+ try {
163
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
164
+ }
165
+ finally { if (e_3) throw e_3.error; }
166
+ }
167
+ });
168
+ }
169
+ /**
170
+ * Get all Application Insights web tests defined within a specified resource group.
171
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
172
+ * @param options The options parameters.
173
+ */
174
+ _listByResourceGroup(resourceGroupName, options) {
175
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
176
+ }
177
+ /**
178
+ * Get a specific Application Insights web test definition.
179
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
180
+ * @param webTestName The name of the Application Insights webtest resource.
181
+ * @param options The options parameters.
182
+ */
183
+ get(resourceGroupName, webTestName, options) {
184
+ return this.client.sendOperationRequest({ resourceGroupName, webTestName, options }, getOperationSpec);
185
+ }
186
+ /**
187
+ * Creates or updates an Application Insights web test definition.
188
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
189
+ * @param webTestName The name of the Application Insights webtest resource.
190
+ * @param webTestDefinition Properties that need to be specified to create or update an Application
191
+ * Insights web test definition.
192
+ * @param options The options parameters.
193
+ */
194
+ createOrUpdate(resourceGroupName, webTestName, webTestDefinition, options) {
195
+ return this.client.sendOperationRequest({ resourceGroupName, webTestName, webTestDefinition, options }, createOrUpdateOperationSpec);
196
+ }
197
+ /**
198
+ * Creates or updates an Application Insights web test definition.
199
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
200
+ * @param webTestName The name of the Application Insights webtest resource.
201
+ * @param webTestTags Updated tag information to set into the web test instance.
202
+ * @param options The options parameters.
203
+ */
204
+ updateTags(resourceGroupName, webTestName, webTestTags, options) {
205
+ return this.client.sendOperationRequest({ resourceGroupName, webTestName, webTestTags, options }, updateTagsOperationSpec);
206
+ }
207
+ /**
208
+ * Deletes an Application Insights web test.
209
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
210
+ * @param webTestName The name of the Application Insights webtest resource.
211
+ * @param options The options parameters.
212
+ */
213
+ delete(resourceGroupName, webTestName, options) {
214
+ return this.client.sendOperationRequest({ resourceGroupName, webTestName, options }, deleteOperationSpec);
215
+ }
216
+ /**
217
+ * Get all Application Insights web test alerts definitions within a subscription.
218
+ * @param options The options parameters.
219
+ */
220
+ _list(options) {
221
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
222
+ }
223
+ /**
224
+ * Get all Application Insights web tests defined for the specified component.
225
+ * @param componentName The name of the Application Insights component resource.
226
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
227
+ * @param options The options parameters.
228
+ */
229
+ _listByComponent(componentName, resourceGroupName, options) {
230
+ return this.client.sendOperationRequest({ componentName, resourceGroupName, options }, listByComponentOperationSpec);
231
+ }
232
+ /**
233
+ * ListByResourceGroupNext
234
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
235
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
236
+ * @param options The options parameters.
237
+ */
238
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
239
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
240
+ }
241
+ /**
242
+ * ListNext
243
+ * @param nextLink The nextLink from the previous successful call to the List method.
244
+ * @param options The options parameters.
245
+ */
246
+ _listNext(nextLink, options) {
247
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
248
+ }
249
+ /**
250
+ * ListByComponentNext
251
+ * @param componentName The name of the Application Insights component resource.
252
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
253
+ * @param nextLink The nextLink from the previous successful call to the ListByComponent method.
254
+ * @param options The options parameters.
255
+ */
256
+ _listByComponentNext(componentName, resourceGroupName, nextLink, options) {
257
+ return this.client.sendOperationRequest({ componentName, resourceGroupName, nextLink, options }, listByComponentNextOperationSpec);
258
+ }
259
+ }
260
+ // Operation Specifications
261
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
262
+ const listByResourceGroupOperationSpec = {
263
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests",
264
+ httpMethod: "GET",
265
+ responses: {
266
+ 200: {
267
+ bodyMapper: Mappers.WebTestListResult
268
+ }
269
+ },
270
+ queryParameters: [Parameters.apiVersion],
271
+ urlParameters: [
272
+ Parameters.$host,
273
+ Parameters.resourceGroupName,
274
+ Parameters.subscriptionId
275
+ ],
276
+ headerParameters: [Parameters.accept],
277
+ serializer
278
+ };
279
+ const getOperationSpec = {
280
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
281
+ httpMethod: "GET",
282
+ responses: {
283
+ 200: {
284
+ bodyMapper: Mappers.WebTest
285
+ }
286
+ },
287
+ queryParameters: [Parameters.apiVersion],
288
+ urlParameters: [
289
+ Parameters.$host,
290
+ Parameters.resourceGroupName,
291
+ Parameters.subscriptionId,
292
+ Parameters.webTestName
293
+ ],
294
+ headerParameters: [Parameters.accept],
295
+ serializer
296
+ };
297
+ const createOrUpdateOperationSpec = {
298
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
299
+ httpMethod: "PUT",
300
+ responses: {
301
+ 200: {
302
+ bodyMapper: Mappers.WebTest
303
+ }
304
+ },
305
+ requestBody: Parameters.webTestDefinition,
306
+ queryParameters: [Parameters.apiVersion],
307
+ urlParameters: [
308
+ Parameters.$host,
309
+ Parameters.resourceGroupName,
310
+ Parameters.subscriptionId,
311
+ Parameters.webTestName
312
+ ],
313
+ headerParameters: [Parameters.accept, Parameters.contentType],
314
+ mediaType: "json",
315
+ serializer
316
+ };
317
+ const updateTagsOperationSpec = {
318
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
319
+ httpMethod: "PATCH",
320
+ responses: {
321
+ 200: {
322
+ bodyMapper: Mappers.WebTest
323
+ }
324
+ },
325
+ requestBody: Parameters.webTestTags,
326
+ queryParameters: [Parameters.apiVersion],
327
+ urlParameters: [
328
+ Parameters.$host,
329
+ Parameters.resourceGroupName,
330
+ Parameters.subscriptionId,
331
+ Parameters.webTestName
332
+ ],
333
+ headerParameters: [Parameters.accept, Parameters.contentType],
334
+ mediaType: "json",
335
+ serializer
336
+ };
337
+ const deleteOperationSpec = {
338
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
339
+ httpMethod: "DELETE",
340
+ responses: { 200: {}, 204: {} },
341
+ queryParameters: [Parameters.apiVersion],
342
+ urlParameters: [
343
+ Parameters.$host,
344
+ Parameters.resourceGroupName,
345
+ Parameters.subscriptionId,
346
+ Parameters.webTestName
347
+ ],
348
+ serializer
349
+ };
350
+ const listOperationSpec = {
351
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests",
352
+ httpMethod: "GET",
353
+ responses: {
354
+ 200: {
355
+ bodyMapper: Mappers.WebTestListResult
356
+ }
357
+ },
358
+ queryParameters: [Parameters.apiVersion],
359
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
360
+ headerParameters: [Parameters.accept],
361
+ serializer
362
+ };
363
+ const listByComponentOperationSpec = {
364
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{componentName}/webtests",
365
+ httpMethod: "GET",
366
+ responses: {
367
+ 200: {
368
+ bodyMapper: Mappers.WebTestListResult
369
+ }
370
+ },
371
+ queryParameters: [Parameters.apiVersion],
372
+ urlParameters: [
373
+ Parameters.$host,
374
+ Parameters.resourceGroupName,
375
+ Parameters.subscriptionId,
376
+ Parameters.componentName
377
+ ],
378
+ headerParameters: [Parameters.accept],
379
+ serializer
380
+ };
381
+ const listByResourceGroupNextOperationSpec = {
382
+ path: "{nextLink}",
383
+ httpMethod: "GET",
384
+ responses: {
385
+ 200: {
386
+ bodyMapper: Mappers.WebTestListResult
387
+ }
388
+ },
389
+ queryParameters: [Parameters.apiVersion],
390
+ urlParameters: [
391
+ Parameters.$host,
392
+ Parameters.resourceGroupName,
393
+ Parameters.subscriptionId,
394
+ Parameters.nextLink
395
+ ],
396
+ headerParameters: [Parameters.accept],
397
+ serializer
398
+ };
399
+ const listNextOperationSpec = {
400
+ path: "{nextLink}",
401
+ httpMethod: "GET",
402
+ responses: {
403
+ 200: {
404
+ bodyMapper: Mappers.WebTestListResult
405
+ }
406
+ },
407
+ queryParameters: [Parameters.apiVersion],
408
+ urlParameters: [
409
+ Parameters.$host,
410
+ Parameters.subscriptionId,
411
+ Parameters.nextLink
412
+ ],
413
+ headerParameters: [Parameters.accept],
414
+ serializer
415
+ };
416
+ const listByComponentNextOperationSpec = {
417
+ path: "{nextLink}",
418
+ httpMethod: "GET",
419
+ responses: {
420
+ 200: {
421
+ bodyMapper: Mappers.WebTestListResult
422
+ }
423
+ },
424
+ queryParameters: [Parameters.apiVersion],
425
+ urlParameters: [
426
+ Parameters.$host,
427
+ Parameters.resourceGroupName,
428
+ Parameters.subscriptionId,
429
+ Parameters.componentName,
430
+ Parameters.nextLink
431
+ ],
432
+ headerParameters: [Parameters.accept],
433
+ serializer
434
+ };
435
+ //# sourceMappingURL=webTests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webTests.js","sourceRoot":"","sources":["../../../src/operations/webTests.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;AA0BnD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAmD;QAEnD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,C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,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;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,aAAa;QACxB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,75 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { WorkItemConfigurations } from "../operationsInterfaces";
3
+ import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
4
+ import { WorkItemConfiguration, WorkItemConfigurationsListOptionalParams, WorkItemCreateConfiguration, WorkItemConfigurationsCreateOptionalParams, WorkItemConfigurationsCreateResponse, WorkItemConfigurationsGetDefaultOptionalParams, WorkItemConfigurationsGetDefaultResponse, WorkItemConfigurationsDeleteOptionalParams, WorkItemConfigurationsGetItemOptionalParams, WorkItemConfigurationsGetItemResponse, WorkItemConfigurationsUpdateItemOptionalParams, WorkItemConfigurationsUpdateItemResponse } from "../models";
5
+ /** Class containing WorkItemConfigurations operations. */
6
+ export declare class WorkItemConfigurationsImpl implements WorkItemConfigurations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class WorkItemConfigurations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: ApplicationInsightsManagementClient);
13
+ /**
14
+ * Gets the list work item configurations that exist for the application
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param resourceName The name of the Application Insights component resource.
17
+ * @param options The options parameters.
18
+ */
19
+ list(resourceGroupName: string, resourceName: string, options?: WorkItemConfigurationsListOptionalParams): PagedAsyncIterableIterator<WorkItemConfiguration>;
20
+ private listPagingPage;
21
+ private listPagingAll;
22
+ /**
23
+ * Gets the list work item configurations that exist for the application
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 options The options parameters.
27
+ */
28
+ private _list;
29
+ /**
30
+ * Create a work item configuration 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 workItemConfigurationProperties Properties that need to be specified to create a work item
34
+ * configuration of a Application Insights component.
35
+ * @param options The options parameters.
36
+ */
37
+ create(resourceGroupName: string, resourceName: string, workItemConfigurationProperties: WorkItemCreateConfiguration, options?: WorkItemConfigurationsCreateOptionalParams): Promise<WorkItemConfigurationsCreateResponse>;
38
+ /**
39
+ * Gets default work item configurations that exist for the application
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param resourceName The name of the Application Insights component resource.
42
+ * @param options The options parameters.
43
+ */
44
+ getDefault(resourceGroupName: string, resourceName: string, options?: WorkItemConfigurationsGetDefaultOptionalParams): Promise<WorkItemConfigurationsGetDefaultResponse>;
45
+ /**
46
+ * Delete a work item configuration of an Application Insights component.
47
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
48
+ * @param resourceName The name of the Application Insights component resource.
49
+ * @param workItemConfigId The unique work item configuration Id. This can be either friendly name of
50
+ * connector as defined in connector configuration
51
+ * @param options The options parameters.
52
+ */
53
+ delete(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: WorkItemConfigurationsDeleteOptionalParams): Promise<void>;
54
+ /**
55
+ * Gets specified work item configuration for an Application Insights component.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param resourceName The name of the Application Insights component resource.
58
+ * @param workItemConfigId The unique work item configuration Id. This can be either friendly name of
59
+ * connector as defined in connector configuration
60
+ * @param options The options parameters.
61
+ */
62
+ getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: WorkItemConfigurationsGetItemOptionalParams): Promise<WorkItemConfigurationsGetItemResponse>;
63
+ /**
64
+ * Update a work item configuration for an Application Insights component.
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
+ * @param resourceName The name of the Application Insights component resource.
67
+ * @param workItemConfigId The unique work item configuration Id. This can be either friendly name of
68
+ * connector as defined in connector configuration
69
+ * @param workItemConfigurationProperties Properties that need to be specified to update a work item
70
+ * configuration for this Application Insights component.
71
+ * @param options The options parameters.
72
+ */
73
+ updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: WorkItemCreateConfiguration, options?: WorkItemConfigurationsUpdateItemOptionalParams): Promise<WorkItemConfigurationsUpdateItemResponse>;
74
+ }
75
+ //# sourceMappingURL=workItemConfigurations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workItemConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/workItemConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAIjE,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EACL,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