@azure/arm-appinsights 5.0.0-alpha.20250327.1 → 5.0.0-alpha.20250331.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 (476) hide show
  1. package/CHANGELOG.md +4 -12
  2. package/README.md +0 -1
  3. package/dist/browser/applicationInsightsManagementClient.d.ts +7 -5
  4. package/dist/browser/applicationInsightsManagementClient.d.ts.map +1 -1
  5. package/dist/browser/applicationInsightsManagementClient.js +22 -20
  6. package/dist/browser/applicationInsightsManagementClient.js.map +1 -1
  7. package/dist/browser/models/index.d.ts +573 -596
  8. package/dist/browser/models/index.d.ts.map +1 -1
  9. package/dist/browser/models/index.js +46 -62
  10. package/dist/browser/models/index.js.map +1 -1
  11. package/dist/browser/models/mappers.d.ts +31 -26
  12. package/dist/browser/models/mappers.d.ts.map +1 -1
  13. package/dist/browser/models/mappers.js +1750 -1587
  14. package/dist/browser/models/mappers.js.map +1 -1
  15. package/dist/browser/models/parameters.d.ts +17 -15
  16. package/dist/browser/models/parameters.d.ts.map +1 -1
  17. package/dist/browser/models/parameters.js +244 -217
  18. package/dist/browser/models/parameters.js.map +1 -1
  19. package/dist/browser/operations/aPIKeys.js +25 -25
  20. package/dist/browser/operations/aPIKeys.js.map +1 -1
  21. package/dist/browser/operations/analyticsItems.js +27 -27
  22. package/dist/browser/operations/analyticsItems.js.map +1 -1
  23. package/dist/browser/operations/annotations.js +30 -30
  24. package/dist/browser/operations/annotations.js.map +1 -1
  25. package/dist/browser/operations/componentAvailableFeatures.d.ts.map +1 -1
  26. package/dist/browser/operations/componentAvailableFeatures.js +6 -6
  27. package/dist/browser/operations/componentAvailableFeatures.js.map +1 -1
  28. package/dist/browser/operations/componentCurrentBillingFeatures.d.ts.map +1 -1
  29. package/dist/browser/operations/componentCurrentBillingFeatures.js +12 -12
  30. package/dist/browser/operations/componentCurrentBillingFeatures.js.map +1 -1
  31. package/dist/browser/operations/componentFeatureCapabilities.d.ts.map +1 -1
  32. package/dist/browser/operations/componentFeatureCapabilities.js +6 -6
  33. package/dist/browser/operations/componentFeatureCapabilities.js.map +1 -1
  34. package/dist/browser/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -1
  35. package/dist/browser/operations/componentLinkedStorageAccountsOperations.js +29 -29
  36. package/dist/browser/operations/componentLinkedStorageAccountsOperations.js.map +1 -1
  37. package/dist/browser/operations/componentQuotaStatus.js +6 -6
  38. package/dist/browser/operations/componentQuotaStatus.js.map +1 -1
  39. package/dist/browser/operations/components.d.ts +4 -0
  40. package/dist/browser/operations/components.d.ts.map +1 -1
  41. package/dist/browser/operations/components.js +69 -67
  42. package/dist/browser/operations/components.js.map +1 -1
  43. package/dist/browser/operations/deletedWorkbooks.d.ts +32 -0
  44. package/dist/browser/operations/deletedWorkbooks.d.ts.map +1 -0
  45. package/dist/browser/operations/deletedWorkbooks.js +141 -0
  46. package/dist/browser/operations/deletedWorkbooks.js.map +1 -0
  47. package/dist/browser/operations/exportConfigurations.js +38 -38
  48. package/dist/browser/operations/exportConfigurations.js.map +1 -1
  49. package/dist/browser/operations/favorites.js +35 -35
  50. package/dist/browser/operations/favorites.js.map +1 -1
  51. package/dist/browser/operations/index.d.ts +4 -3
  52. package/dist/browser/operations/index.d.ts.map +1 -1
  53. package/dist/browser/operations/index.js +4 -3
  54. package/dist/browser/operations/index.js.map +1 -1
  55. package/dist/browser/operations/liveToken.js +4 -4
  56. package/dist/browser/operations/liveToken.js.map +1 -1
  57. package/dist/browser/operations/operations.d.ts +32 -0
  58. package/dist/browser/operations/operations.d.ts.map +1 -0
  59. package/dist/browser/operations/operations.js +133 -0
  60. package/dist/browser/operations/operations.js.map +1 -0
  61. package/dist/browser/operations/proactiveDetectionConfigurations.d.ts.map +1 -1
  62. package/dist/browser/operations/proactiveDetectionConfigurations.js +23 -23
  63. package/dist/browser/operations/proactiveDetectionConfigurations.js.map +1 -1
  64. package/dist/browser/operations/webTestLocations.js +7 -7
  65. package/dist/browser/operations/webTestLocations.js.map +1 -1
  66. package/dist/browser/operations/webTests.d.ts +10 -10
  67. package/dist/browser/operations/webTests.js +64 -67
  68. package/dist/browser/operations/webTests.js.map +1 -1
  69. package/dist/browser/operations/workItemConfigurations.js +38 -38
  70. package/dist/browser/operations/workItemConfigurations.js.map +1 -1
  71. package/dist/browser/operations/workbookTemplates.js +35 -35
  72. package/dist/browser/operations/workbookTemplates.js.map +1 -1
  73. package/dist/browser/operations/workbooks.d.ts +8 -10
  74. package/dist/browser/operations/workbooks.d.ts.map +1 -1
  75. package/dist/browser/operations/workbooks.js +91 -104
  76. package/dist/browser/operations/workbooks.js.map +1 -1
  77. package/dist/browser/operationsInterfaces/aPIKeys.js.map +1 -1
  78. package/dist/browser/operationsInterfaces/analyticsItems.js.map +1 -1
  79. package/dist/browser/operationsInterfaces/annotations.js.map +1 -1
  80. package/dist/browser/operationsInterfaces/componentAvailableFeatures.js.map +1 -1
  81. package/dist/browser/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -1
  82. package/dist/browser/operationsInterfaces/componentFeatureCapabilities.js.map +1 -1
  83. package/dist/browser/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -1
  84. package/dist/browser/operationsInterfaces/componentQuotaStatus.js.map +1 -1
  85. package/dist/browser/operationsInterfaces/components.d.ts +4 -0
  86. package/dist/browser/operationsInterfaces/components.d.ts.map +1 -1
  87. package/dist/browser/operationsInterfaces/components.js.map +1 -1
  88. package/dist/browser/operationsInterfaces/deletedWorkbooks.d.ts +11 -0
  89. package/dist/browser/operationsInterfaces/deletedWorkbooks.d.ts.map +1 -0
  90. package/dist/browser/operationsInterfaces/deletedWorkbooks.js +9 -0
  91. package/dist/browser/operationsInterfaces/deletedWorkbooks.js.map +1 -0
  92. package/dist/browser/operationsInterfaces/exportConfigurations.js.map +1 -1
  93. package/dist/browser/operationsInterfaces/favorites.js.map +1 -1
  94. package/dist/browser/operationsInterfaces/index.d.ts +4 -3
  95. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  96. package/dist/browser/operationsInterfaces/index.js +4 -3
  97. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  98. package/dist/browser/operationsInterfaces/liveToken.js.map +1 -1
  99. package/dist/browser/operationsInterfaces/operations.d.ts +11 -0
  100. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  101. package/dist/browser/operationsInterfaces/{myWorkbooks.js → operations.js} +1 -1
  102. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  103. package/dist/browser/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -1
  104. package/dist/browser/operationsInterfaces/webTestLocations.js.map +1 -1
  105. package/dist/browser/operationsInterfaces/webTests.d.ts +8 -8
  106. package/dist/browser/operationsInterfaces/webTests.js.map +1 -1
  107. package/dist/browser/operationsInterfaces/workItemConfigurations.js.map +1 -1
  108. package/dist/browser/operationsInterfaces/workbookTemplates.js.map +1 -1
  109. package/dist/browser/operationsInterfaces/workbooks.d.ts +6 -6
  110. package/dist/browser/operationsInterfaces/workbooks.js.map +1 -1
  111. package/dist/browser/pagingHelper.d.ts +4 -4
  112. package/dist/browser/pagingHelper.js +4 -4
  113. package/dist/browser/pagingHelper.js.map +1 -1
  114. package/dist/commonjs/applicationInsightsManagementClient.d.ts +7 -5
  115. package/dist/commonjs/applicationInsightsManagementClient.d.ts.map +1 -1
  116. package/dist/commonjs/applicationInsightsManagementClient.js +21 -19
  117. package/dist/commonjs/applicationInsightsManagementClient.js.map +1 -1
  118. package/dist/commonjs/models/index.d.ts +573 -596
  119. package/dist/commonjs/models/index.d.ts.map +1 -1
  120. package/dist/commonjs/models/index.js +47 -63
  121. package/dist/commonjs/models/index.js.map +1 -1
  122. package/dist/commonjs/models/mappers.d.ts +31 -26
  123. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  124. package/dist/commonjs/models/mappers.js +1752 -1589
  125. package/dist/commonjs/models/mappers.js.map +1 -1
  126. package/dist/commonjs/models/parameters.d.ts +17 -15
  127. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  128. package/dist/commonjs/models/parameters.js +245 -218
  129. package/dist/commonjs/models/parameters.js.map +1 -1
  130. package/dist/commonjs/operations/aPIKeys.js +25 -25
  131. package/dist/commonjs/operations/aPIKeys.js.map +1 -1
  132. package/dist/commonjs/operations/analyticsItems.js +27 -27
  133. package/dist/commonjs/operations/analyticsItems.js.map +1 -1
  134. package/dist/commonjs/operations/annotations.js +30 -30
  135. package/dist/commonjs/operations/annotations.js.map +1 -1
  136. package/dist/commonjs/operations/componentAvailableFeatures.d.ts.map +1 -1
  137. package/dist/commonjs/operations/componentAvailableFeatures.js +6 -6
  138. package/dist/commonjs/operations/componentAvailableFeatures.js.map +1 -1
  139. package/dist/commonjs/operations/componentCurrentBillingFeatures.d.ts.map +1 -1
  140. package/dist/commonjs/operations/componentCurrentBillingFeatures.js +12 -12
  141. package/dist/commonjs/operations/componentCurrentBillingFeatures.js.map +1 -1
  142. package/dist/commonjs/operations/componentFeatureCapabilities.d.ts.map +1 -1
  143. package/dist/commonjs/operations/componentFeatureCapabilities.js +6 -6
  144. package/dist/commonjs/operations/componentFeatureCapabilities.js.map +1 -1
  145. package/dist/commonjs/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -1
  146. package/dist/commonjs/operations/componentLinkedStorageAccountsOperations.js +29 -29
  147. package/dist/commonjs/operations/componentLinkedStorageAccountsOperations.js.map +1 -1
  148. package/dist/commonjs/operations/componentQuotaStatus.js +6 -6
  149. package/dist/commonjs/operations/componentQuotaStatus.js.map +1 -1
  150. package/dist/commonjs/operations/components.d.ts +4 -0
  151. package/dist/commonjs/operations/components.d.ts.map +1 -1
  152. package/dist/commonjs/operations/components.js +69 -67
  153. package/dist/commonjs/operations/components.js.map +1 -1
  154. package/dist/commonjs/operations/deletedWorkbooks.d.ts +32 -0
  155. package/dist/commonjs/operations/deletedWorkbooks.d.ts.map +1 -0
  156. package/dist/commonjs/operations/deletedWorkbooks.js +145 -0
  157. package/dist/commonjs/operations/deletedWorkbooks.js.map +1 -0
  158. package/dist/commonjs/operations/exportConfigurations.js +38 -38
  159. package/dist/commonjs/operations/exportConfigurations.js.map +1 -1
  160. package/dist/commonjs/operations/favorites.js +35 -35
  161. package/dist/commonjs/operations/favorites.js.map +1 -1
  162. package/dist/commonjs/operations/index.d.ts +4 -3
  163. package/dist/commonjs/operations/index.d.ts.map +1 -1
  164. package/dist/commonjs/operations/index.js +4 -3
  165. package/dist/commonjs/operations/index.js.map +1 -1
  166. package/dist/commonjs/operations/liveToken.js +4 -4
  167. package/dist/commonjs/operations/liveToken.js.map +1 -1
  168. package/dist/commonjs/operations/operations.d.ts +32 -0
  169. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  170. package/dist/commonjs/operations/operations.js +137 -0
  171. package/dist/commonjs/operations/operations.js.map +1 -0
  172. package/dist/commonjs/operations/proactiveDetectionConfigurations.d.ts.map +1 -1
  173. package/dist/commonjs/operations/proactiveDetectionConfigurations.js +23 -23
  174. package/dist/commonjs/operations/proactiveDetectionConfigurations.js.map +1 -1
  175. package/dist/commonjs/operations/webTestLocations.js +7 -7
  176. package/dist/commonjs/operations/webTestLocations.js.map +1 -1
  177. package/dist/commonjs/operations/webTests.d.ts +10 -10
  178. package/dist/commonjs/operations/webTests.js +64 -67
  179. package/dist/commonjs/operations/webTests.js.map +1 -1
  180. package/dist/commonjs/operations/workItemConfigurations.js +38 -38
  181. package/dist/commonjs/operations/workItemConfigurations.js.map +1 -1
  182. package/dist/commonjs/operations/workbookTemplates.js +35 -35
  183. package/dist/commonjs/operations/workbookTemplates.js.map +1 -1
  184. package/dist/commonjs/operations/workbooks.d.ts +8 -10
  185. package/dist/commonjs/operations/workbooks.d.ts.map +1 -1
  186. package/dist/commonjs/operations/workbooks.js +91 -104
  187. package/dist/commonjs/operations/workbooks.js.map +1 -1
  188. package/dist/commonjs/operationsInterfaces/aPIKeys.js.map +1 -1
  189. package/dist/commonjs/operationsInterfaces/analyticsItems.js.map +1 -1
  190. package/dist/commonjs/operationsInterfaces/annotations.js.map +1 -1
  191. package/dist/commonjs/operationsInterfaces/componentAvailableFeatures.js.map +1 -1
  192. package/dist/commonjs/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -1
  193. package/dist/commonjs/operationsInterfaces/componentFeatureCapabilities.js.map +1 -1
  194. package/dist/commonjs/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -1
  195. package/dist/commonjs/operationsInterfaces/componentQuotaStatus.js.map +1 -1
  196. package/dist/commonjs/operationsInterfaces/components.d.ts +4 -0
  197. package/dist/commonjs/operationsInterfaces/components.d.ts.map +1 -1
  198. package/dist/commonjs/operationsInterfaces/components.js.map +1 -1
  199. package/dist/commonjs/operationsInterfaces/deletedWorkbooks.d.ts +11 -0
  200. package/dist/commonjs/operationsInterfaces/deletedWorkbooks.d.ts.map +1 -0
  201. package/dist/commonjs/operationsInterfaces/deletedWorkbooks.js +10 -0
  202. package/dist/commonjs/operationsInterfaces/deletedWorkbooks.js.map +1 -0
  203. package/dist/commonjs/operationsInterfaces/exportConfigurations.js.map +1 -1
  204. package/dist/commonjs/operationsInterfaces/favorites.js.map +1 -1
  205. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -3
  206. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  207. package/dist/commonjs/operationsInterfaces/index.js +4 -3
  208. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  209. package/dist/commonjs/operationsInterfaces/liveToken.js.map +1 -1
  210. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  211. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  212. package/dist/commonjs/operationsInterfaces/{myWorkbooks.js → operations.js} +1 -1
  213. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  214. package/dist/commonjs/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -1
  215. package/dist/commonjs/operationsInterfaces/webTestLocations.js.map +1 -1
  216. package/dist/commonjs/operationsInterfaces/webTests.d.ts +8 -8
  217. package/dist/commonjs/operationsInterfaces/webTests.js.map +1 -1
  218. package/dist/commonjs/operationsInterfaces/workItemConfigurations.js.map +1 -1
  219. package/dist/commonjs/operationsInterfaces/workbookTemplates.js.map +1 -1
  220. package/dist/commonjs/operationsInterfaces/workbooks.d.ts +6 -6
  221. package/dist/commonjs/operationsInterfaces/workbooks.js.map +1 -1
  222. package/dist/commonjs/pagingHelper.d.ts +4 -4
  223. package/dist/commonjs/pagingHelper.js +4 -4
  224. package/dist/commonjs/pagingHelper.js.map +1 -1
  225. package/dist/esm/applicationInsightsManagementClient.d.ts +7 -5
  226. package/dist/esm/applicationInsightsManagementClient.d.ts.map +1 -1
  227. package/dist/esm/applicationInsightsManagementClient.js +22 -20
  228. package/dist/esm/applicationInsightsManagementClient.js.map +1 -1
  229. package/dist/esm/models/index.d.ts +573 -596
  230. package/dist/esm/models/index.d.ts.map +1 -1
  231. package/dist/esm/models/index.js +46 -62
  232. package/dist/esm/models/index.js.map +1 -1
  233. package/dist/esm/models/mappers.d.ts +31 -26
  234. package/dist/esm/models/mappers.d.ts.map +1 -1
  235. package/dist/esm/models/mappers.js +1750 -1587
  236. package/dist/esm/models/mappers.js.map +1 -1
  237. package/dist/esm/models/parameters.d.ts +17 -15
  238. package/dist/esm/models/parameters.d.ts.map +1 -1
  239. package/dist/esm/models/parameters.js +244 -217
  240. package/dist/esm/models/parameters.js.map +1 -1
  241. package/dist/esm/operations/aPIKeys.js +25 -25
  242. package/dist/esm/operations/aPIKeys.js.map +1 -1
  243. package/dist/esm/operations/analyticsItems.js +27 -27
  244. package/dist/esm/operations/analyticsItems.js.map +1 -1
  245. package/dist/esm/operations/annotations.js +30 -30
  246. package/dist/esm/operations/annotations.js.map +1 -1
  247. package/dist/esm/operations/componentAvailableFeatures.d.ts.map +1 -1
  248. package/dist/esm/operations/componentAvailableFeatures.js +6 -6
  249. package/dist/esm/operations/componentAvailableFeatures.js.map +1 -1
  250. package/dist/esm/operations/componentCurrentBillingFeatures.d.ts.map +1 -1
  251. package/dist/esm/operations/componentCurrentBillingFeatures.js +12 -12
  252. package/dist/esm/operations/componentCurrentBillingFeatures.js.map +1 -1
  253. package/dist/esm/operations/componentFeatureCapabilities.d.ts.map +1 -1
  254. package/dist/esm/operations/componentFeatureCapabilities.js +6 -6
  255. package/dist/esm/operations/componentFeatureCapabilities.js.map +1 -1
  256. package/dist/esm/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -1
  257. package/dist/esm/operations/componentLinkedStorageAccountsOperations.js +29 -29
  258. package/dist/esm/operations/componentLinkedStorageAccountsOperations.js.map +1 -1
  259. package/dist/esm/operations/componentQuotaStatus.js +6 -6
  260. package/dist/esm/operations/componentQuotaStatus.js.map +1 -1
  261. package/dist/esm/operations/components.d.ts +4 -0
  262. package/dist/esm/operations/components.d.ts.map +1 -1
  263. package/dist/esm/operations/components.js +69 -67
  264. package/dist/esm/operations/components.js.map +1 -1
  265. package/dist/esm/operations/deletedWorkbooks.d.ts +32 -0
  266. package/dist/esm/operations/deletedWorkbooks.d.ts.map +1 -0
  267. package/dist/esm/operations/deletedWorkbooks.js +141 -0
  268. package/dist/esm/operations/deletedWorkbooks.js.map +1 -0
  269. package/dist/esm/operations/exportConfigurations.js +38 -38
  270. package/dist/esm/operations/exportConfigurations.js.map +1 -1
  271. package/dist/esm/operations/favorites.js +35 -35
  272. package/dist/esm/operations/favorites.js.map +1 -1
  273. package/dist/esm/operations/index.d.ts +4 -3
  274. package/dist/esm/operations/index.d.ts.map +1 -1
  275. package/dist/esm/operations/index.js +4 -3
  276. package/dist/esm/operations/index.js.map +1 -1
  277. package/dist/esm/operations/liveToken.js +4 -4
  278. package/dist/esm/operations/liveToken.js.map +1 -1
  279. package/dist/esm/operations/operations.d.ts +32 -0
  280. package/dist/esm/operations/operations.d.ts.map +1 -0
  281. package/dist/esm/operations/operations.js +133 -0
  282. package/dist/esm/operations/operations.js.map +1 -0
  283. package/dist/esm/operations/proactiveDetectionConfigurations.d.ts.map +1 -1
  284. package/dist/esm/operations/proactiveDetectionConfigurations.js +23 -23
  285. package/dist/esm/operations/proactiveDetectionConfigurations.js.map +1 -1
  286. package/dist/esm/operations/webTestLocations.js +7 -7
  287. package/dist/esm/operations/webTestLocations.js.map +1 -1
  288. package/dist/esm/operations/webTests.d.ts +10 -10
  289. package/dist/esm/operations/webTests.js +64 -67
  290. package/dist/esm/operations/webTests.js.map +1 -1
  291. package/dist/esm/operations/workItemConfigurations.js +38 -38
  292. package/dist/esm/operations/workItemConfigurations.js.map +1 -1
  293. package/dist/esm/operations/workbookTemplates.js +35 -35
  294. package/dist/esm/operations/workbookTemplates.js.map +1 -1
  295. package/dist/esm/operations/workbooks.d.ts +8 -10
  296. package/dist/esm/operations/workbooks.d.ts.map +1 -1
  297. package/dist/esm/operations/workbooks.js +91 -104
  298. package/dist/esm/operations/workbooks.js.map +1 -1
  299. package/dist/esm/operationsInterfaces/aPIKeys.js.map +1 -1
  300. package/dist/esm/operationsInterfaces/analyticsItems.js.map +1 -1
  301. package/dist/esm/operationsInterfaces/annotations.js.map +1 -1
  302. package/dist/esm/operationsInterfaces/componentAvailableFeatures.js.map +1 -1
  303. package/dist/esm/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -1
  304. package/dist/esm/operationsInterfaces/componentFeatureCapabilities.js.map +1 -1
  305. package/dist/esm/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -1
  306. package/dist/esm/operationsInterfaces/componentQuotaStatus.js.map +1 -1
  307. package/dist/esm/operationsInterfaces/components.d.ts +4 -0
  308. package/dist/esm/operationsInterfaces/components.d.ts.map +1 -1
  309. package/dist/esm/operationsInterfaces/components.js.map +1 -1
  310. package/dist/esm/operationsInterfaces/deletedWorkbooks.d.ts +11 -0
  311. package/dist/esm/operationsInterfaces/deletedWorkbooks.d.ts.map +1 -0
  312. package/dist/esm/operationsInterfaces/deletedWorkbooks.js +9 -0
  313. package/dist/esm/operationsInterfaces/deletedWorkbooks.js.map +1 -0
  314. package/dist/esm/operationsInterfaces/exportConfigurations.js.map +1 -1
  315. package/dist/esm/operationsInterfaces/favorites.js.map +1 -1
  316. package/dist/esm/operationsInterfaces/index.d.ts +4 -3
  317. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  318. package/dist/esm/operationsInterfaces/index.js +4 -3
  319. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  320. package/dist/esm/operationsInterfaces/liveToken.js.map +1 -1
  321. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  322. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  323. package/dist/esm/operationsInterfaces/{myWorkbooks.js → operations.js} +1 -1
  324. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  325. package/dist/esm/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -1
  326. package/dist/esm/operationsInterfaces/webTestLocations.js.map +1 -1
  327. package/dist/esm/operationsInterfaces/webTests.d.ts +8 -8
  328. package/dist/esm/operationsInterfaces/webTests.js.map +1 -1
  329. package/dist/esm/operationsInterfaces/workItemConfigurations.js.map +1 -1
  330. package/dist/esm/operationsInterfaces/workbookTemplates.js.map +1 -1
  331. package/dist/esm/operationsInterfaces/workbooks.d.ts +6 -6
  332. package/dist/esm/operationsInterfaces/workbooks.js.map +1 -1
  333. package/dist/esm/pagingHelper.d.ts +4 -4
  334. package/dist/esm/pagingHelper.js +4 -4
  335. package/dist/esm/pagingHelper.js.map +1 -1
  336. package/dist/react-native/applicationInsightsManagementClient.d.ts +7 -5
  337. package/dist/react-native/applicationInsightsManagementClient.d.ts.map +1 -1
  338. package/dist/react-native/applicationInsightsManagementClient.js +22 -20
  339. package/dist/react-native/applicationInsightsManagementClient.js.map +1 -1
  340. package/dist/react-native/models/index.d.ts +573 -596
  341. package/dist/react-native/models/index.d.ts.map +1 -1
  342. package/dist/react-native/models/index.js +46 -62
  343. package/dist/react-native/models/index.js.map +1 -1
  344. package/dist/react-native/models/mappers.d.ts +31 -26
  345. package/dist/react-native/models/mappers.d.ts.map +1 -1
  346. package/dist/react-native/models/mappers.js +1750 -1587
  347. package/dist/react-native/models/mappers.js.map +1 -1
  348. package/dist/react-native/models/parameters.d.ts +17 -15
  349. package/dist/react-native/models/parameters.d.ts.map +1 -1
  350. package/dist/react-native/models/parameters.js +244 -217
  351. package/dist/react-native/models/parameters.js.map +1 -1
  352. package/dist/react-native/operations/aPIKeys.js +25 -25
  353. package/dist/react-native/operations/aPIKeys.js.map +1 -1
  354. package/dist/react-native/operations/analyticsItems.js +27 -27
  355. package/dist/react-native/operations/analyticsItems.js.map +1 -1
  356. package/dist/react-native/operations/annotations.js +30 -30
  357. package/dist/react-native/operations/annotations.js.map +1 -1
  358. package/dist/react-native/operations/componentAvailableFeatures.d.ts.map +1 -1
  359. package/dist/react-native/operations/componentAvailableFeatures.js +6 -6
  360. package/dist/react-native/operations/componentAvailableFeatures.js.map +1 -1
  361. package/dist/react-native/operations/componentCurrentBillingFeatures.d.ts.map +1 -1
  362. package/dist/react-native/operations/componentCurrentBillingFeatures.js +12 -12
  363. package/dist/react-native/operations/componentCurrentBillingFeatures.js.map +1 -1
  364. package/dist/react-native/operations/componentFeatureCapabilities.d.ts.map +1 -1
  365. package/dist/react-native/operations/componentFeatureCapabilities.js +6 -6
  366. package/dist/react-native/operations/componentFeatureCapabilities.js.map +1 -1
  367. package/dist/react-native/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -1
  368. package/dist/react-native/operations/componentLinkedStorageAccountsOperations.js +29 -29
  369. package/dist/react-native/operations/componentLinkedStorageAccountsOperations.js.map +1 -1
  370. package/dist/react-native/operations/componentQuotaStatus.js +6 -6
  371. package/dist/react-native/operations/componentQuotaStatus.js.map +1 -1
  372. package/dist/react-native/operations/components.d.ts +4 -0
  373. package/dist/react-native/operations/components.d.ts.map +1 -1
  374. package/dist/react-native/operations/components.js +69 -67
  375. package/dist/react-native/operations/components.js.map +1 -1
  376. package/dist/react-native/operations/deletedWorkbooks.d.ts +32 -0
  377. package/dist/react-native/operations/deletedWorkbooks.d.ts.map +1 -0
  378. package/dist/react-native/operations/deletedWorkbooks.js +141 -0
  379. package/dist/react-native/operations/deletedWorkbooks.js.map +1 -0
  380. package/dist/react-native/operations/exportConfigurations.js +38 -38
  381. package/dist/react-native/operations/exportConfigurations.js.map +1 -1
  382. package/dist/react-native/operations/favorites.js +35 -35
  383. package/dist/react-native/operations/favorites.js.map +1 -1
  384. package/dist/react-native/operations/index.d.ts +4 -3
  385. package/dist/react-native/operations/index.d.ts.map +1 -1
  386. package/dist/react-native/operations/index.js +4 -3
  387. package/dist/react-native/operations/index.js.map +1 -1
  388. package/dist/react-native/operations/liveToken.js +4 -4
  389. package/dist/react-native/operations/liveToken.js.map +1 -1
  390. package/dist/react-native/operations/operations.d.ts +32 -0
  391. package/dist/react-native/operations/operations.d.ts.map +1 -0
  392. package/dist/react-native/operations/operations.js +133 -0
  393. package/dist/react-native/operations/operations.js.map +1 -0
  394. package/dist/react-native/operations/proactiveDetectionConfigurations.d.ts.map +1 -1
  395. package/dist/react-native/operations/proactiveDetectionConfigurations.js +23 -23
  396. package/dist/react-native/operations/proactiveDetectionConfigurations.js.map +1 -1
  397. package/dist/react-native/operations/webTestLocations.js +7 -7
  398. package/dist/react-native/operations/webTestLocations.js.map +1 -1
  399. package/dist/react-native/operations/webTests.d.ts +10 -10
  400. package/dist/react-native/operations/webTests.js +64 -67
  401. package/dist/react-native/operations/webTests.js.map +1 -1
  402. package/dist/react-native/operations/workItemConfigurations.js +38 -38
  403. package/dist/react-native/operations/workItemConfigurations.js.map +1 -1
  404. package/dist/react-native/operations/workbookTemplates.js +35 -35
  405. package/dist/react-native/operations/workbookTemplates.js.map +1 -1
  406. package/dist/react-native/operations/workbooks.d.ts +8 -10
  407. package/dist/react-native/operations/workbooks.d.ts.map +1 -1
  408. package/dist/react-native/operations/workbooks.js +91 -104
  409. package/dist/react-native/operations/workbooks.js.map +1 -1
  410. package/dist/react-native/operationsInterfaces/aPIKeys.js.map +1 -1
  411. package/dist/react-native/operationsInterfaces/analyticsItems.js.map +1 -1
  412. package/dist/react-native/operationsInterfaces/annotations.js.map +1 -1
  413. package/dist/react-native/operationsInterfaces/componentAvailableFeatures.js.map +1 -1
  414. package/dist/react-native/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -1
  415. package/dist/react-native/operationsInterfaces/componentFeatureCapabilities.js.map +1 -1
  416. package/dist/react-native/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -1
  417. package/dist/react-native/operationsInterfaces/componentQuotaStatus.js.map +1 -1
  418. package/dist/react-native/operationsInterfaces/components.d.ts +4 -0
  419. package/dist/react-native/operationsInterfaces/components.d.ts.map +1 -1
  420. package/dist/react-native/operationsInterfaces/components.js.map +1 -1
  421. package/dist/react-native/operationsInterfaces/deletedWorkbooks.d.ts +11 -0
  422. package/dist/react-native/operationsInterfaces/deletedWorkbooks.d.ts.map +1 -0
  423. package/dist/react-native/operationsInterfaces/deletedWorkbooks.js +9 -0
  424. package/dist/react-native/operationsInterfaces/deletedWorkbooks.js.map +1 -0
  425. package/dist/react-native/operationsInterfaces/exportConfigurations.js.map +1 -1
  426. package/dist/react-native/operationsInterfaces/favorites.js.map +1 -1
  427. package/dist/react-native/operationsInterfaces/index.d.ts +4 -3
  428. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  429. package/dist/react-native/operationsInterfaces/index.js +4 -3
  430. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  431. package/dist/react-native/operationsInterfaces/liveToken.js.map +1 -1
  432. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  433. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  434. package/dist/react-native/operationsInterfaces/{myWorkbooks.js → operations.js} +1 -1
  435. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  436. package/dist/react-native/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -1
  437. package/dist/react-native/operationsInterfaces/webTestLocations.js.map +1 -1
  438. package/dist/react-native/operationsInterfaces/webTests.d.ts +8 -8
  439. package/dist/react-native/operationsInterfaces/webTests.js.map +1 -1
  440. package/dist/react-native/operationsInterfaces/workItemConfigurations.js.map +1 -1
  441. package/dist/react-native/operationsInterfaces/workbookTemplates.js.map +1 -1
  442. package/dist/react-native/operationsInterfaces/workbooks.d.ts +6 -6
  443. package/dist/react-native/operationsInterfaces/workbooks.js.map +1 -1
  444. package/dist/react-native/pagingHelper.d.ts +4 -4
  445. package/dist/react-native/pagingHelper.js +4 -4
  446. package/dist/react-native/pagingHelper.js.map +1 -1
  447. package/package.json +10 -8
  448. package/review/arm-appinsights.api.md +146 -164
  449. package/dist/browser/operations/myWorkbooks.d.ts +0 -89
  450. package/dist/browser/operations/myWorkbooks.d.ts.map +0 -1
  451. package/dist/browser/operations/myWorkbooks.js +0 -414
  452. package/dist/browser/operations/myWorkbooks.js.map +0 -1
  453. package/dist/browser/operationsInterfaces/myWorkbooks.d.ts +0 -49
  454. package/dist/browser/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
  455. package/dist/browser/operationsInterfaces/myWorkbooks.js.map +0 -1
  456. package/dist/commonjs/operations/myWorkbooks.d.ts +0 -89
  457. package/dist/commonjs/operations/myWorkbooks.d.ts.map +0 -1
  458. package/dist/commonjs/operations/myWorkbooks.js +0 -418
  459. package/dist/commonjs/operations/myWorkbooks.js.map +0 -1
  460. package/dist/commonjs/operationsInterfaces/myWorkbooks.d.ts +0 -49
  461. package/dist/commonjs/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
  462. package/dist/commonjs/operationsInterfaces/myWorkbooks.js.map +0 -1
  463. package/dist/esm/operations/myWorkbooks.d.ts +0 -89
  464. package/dist/esm/operations/myWorkbooks.d.ts.map +0 -1
  465. package/dist/esm/operations/myWorkbooks.js +0 -414
  466. package/dist/esm/operations/myWorkbooks.js.map +0 -1
  467. package/dist/esm/operationsInterfaces/myWorkbooks.d.ts +0 -49
  468. package/dist/esm/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
  469. package/dist/esm/operationsInterfaces/myWorkbooks.js.map +0 -1
  470. package/dist/react-native/operations/myWorkbooks.d.ts +0 -89
  471. package/dist/react-native/operations/myWorkbooks.d.ts.map +0 -1
  472. package/dist/react-native/operations/myWorkbooks.js +0 -414
  473. package/dist/react-native/operations/myWorkbooks.js.map +0 -1
  474. package/dist/react-native/operationsInterfaces/myWorkbooks.d.ts +0 -49
  475. package/dist/react-native/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
  476. package/dist/react-native/operationsInterfaces/myWorkbooks.js.map +0 -1
@@ -0,0 +1,133 @@
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 { setContinuationToken } from "../pagingHelper.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ /// <reference lib="esnext.asynciterable" />
14
+ /** Class containing Operations operations. */
15
+ export class OperationsImpl {
16
+ /**
17
+ * Initialize a new instance of the class Operations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Lists all of the available insights REST API operations.
25
+ * @param options The options parameters.
26
+ */
27
+ list(options) {
28
+ const iter = this.listPagingAll(options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: (settings) => {
37
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
38
+ throw new Error("maxPageSize is not supported by this operation.");
39
+ }
40
+ return this.listPagingPage(options, settings);
41
+ },
42
+ };
43
+ }
44
+ listPagingPage(options, settings) {
45
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
+ let result;
47
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
48
+ if (!continuationToken) {
49
+ result = yield __await(this._list(options));
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield yield __await(page);
54
+ }
55
+ while (continuationToken) {
56
+ result = yield __await(this._listNext(continuationToken, options));
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield yield __await(page);
61
+ }
62
+ });
63
+ }
64
+ listPagingAll(options) {
65
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
66
+ var _a, e_1, _b, _c;
67
+ try {
68
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
69
+ _c = _f.value;
70
+ _d = false;
71
+ const page = _c;
72
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
+ }
74
+ }
75
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
+ finally {
77
+ try {
78
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
79
+ }
80
+ finally { if (e_1) throw e_1.error; }
81
+ }
82
+ });
83
+ }
84
+ /**
85
+ * Lists all of the available insights REST API operations.
86
+ * @param options The options parameters.
87
+ */
88
+ _list(options) {
89
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
90
+ }
91
+ /**
92
+ * ListNext
93
+ * @param nextLink The nextLink from the previous successful call to the List method.
94
+ * @param options The options parameters.
95
+ */
96
+ _listNext(nextLink, options) {
97
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
98
+ }
99
+ }
100
+ // Operation Specifications
101
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
102
+ const listOperationSpec = {
103
+ path: "/providers/Microsoft.Insights/operations",
104
+ httpMethod: "GET",
105
+ responses: {
106
+ 200: {
107
+ bodyMapper: Mappers.OperationListResult,
108
+ },
109
+ default: {
110
+ bodyMapper: Mappers.ErrorResponse,
111
+ },
112
+ },
113
+ queryParameters: [Parameters.apiVersion3],
114
+ urlParameters: [Parameters.$host],
115
+ headerParameters: [Parameters.accept],
116
+ serializer,
117
+ };
118
+ const listNextOperationSpec = {
119
+ path: "{nextLink}",
120
+ httpMethod: "GET",
121
+ responses: {
122
+ 200: {
123
+ bodyMapper: Mappers.OperationListResult,
124
+ },
125
+ default: {
126
+ bodyMapper: Mappers.ErrorResponse,
127
+ },
128
+ },
129
+ urlParameters: [Parameters.$host, Parameters.nextLink],
130
+ headerParameters: [Parameters.accept],
131
+ serializer,
132
+ };
133
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC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.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ApplicationInsightsManagementClient } from \"../applicationInsightsManagementClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ApplicationInsightsManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ApplicationInsightsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available insights REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available insights REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Insights/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion3],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"proactiveDetectionConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/proactiveDetectionConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AAIpF,OAAO,EAAE,mCAAmC,EAAE,MAAM,2CAA2C,CAAC;AAChG,OAAO,EACL,kDAAkD,EAClD,4CAA4C,EAC5C,iDAAiD,EACjD,2CAA2C,EAC3C,2DAA2D,EAC3D,oDAAoD,EACpD,8CAA8C,EAC/C,MAAM,oBAAoB,CAAC;AAE5B,oEAAoE;AACpE,qBAAa,oCACX,YAAW,gCAAgC;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAOxD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;IAOvD;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,4BAA4B,EAAE,2DAA2D,EACzF,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC;CAY3D"}
1
+ {"version":3,"file":"proactiveDetectionConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/proactiveDetectionConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AAIpF,OAAO,EAAE,mCAAmC,EAAE,MAAM,2CAA2C,CAAC;AAChG,OAAO,EACL,kDAAkD,EAClD,4CAA4C,EAC5C,iDAAiD,EACjD,2CAA2C,EAC3C,2DAA2D,EAC3D,oDAAoD,EACpD,8CAA8C,EAC/C,MAAM,oBAAoB,CAAC;AAE5B,oEAAoE;AACpE,qBAAa,oCACX,YAAW,gCAAgC;IAE3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAOxD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;IAOvD;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,4BAA4B,EAAE,2DAA2D,EACzF,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC;CAY3D"}
@@ -53,7 +53,7 @@ export class ProactiveDetectionConfigurationsImpl {
53
53
  resourceName,
54
54
  configurationId,
55
55
  proactiveDetectionProperties,
56
- options
56
+ options,
57
57
  }, updateOperationSpec);
58
58
  }
59
59
  }
@@ -70,61 +70,61 @@ const listOperationSpec = {
70
70
  element: {
71
71
  type: {
72
72
  name: "Composite",
73
- className: "ApplicationInsightsComponentProactiveDetectionConfiguration"
74
- }
75
- }
76
- }
77
- }
78
- }
73
+ className: "ApplicationInsightsComponentProactiveDetectionConfiguration",
74
+ },
75
+ },
76
+ },
77
+ },
78
+ },
79
79
  },
80
- queryParameters: [Parameters.apiVersion],
80
+ queryParameters: [Parameters.apiVersion1],
81
81
  urlParameters: [
82
82
  Parameters.$host,
83
- Parameters.resourceGroupName,
84
83
  Parameters.subscriptionId,
85
- Parameters.resourceName
84
+ Parameters.resourceGroupName,
85
+ Parameters.resourceName,
86
86
  ],
87
87
  headerParameters: [Parameters.accept],
88
- serializer
88
+ serializer,
89
89
  };
90
90
  const getOperationSpec = {
91
91
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
92
92
  httpMethod: "GET",
93
93
  responses: {
94
94
  200: {
95
- bodyMapper: Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration
96
- }
95
+ bodyMapper: Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration,
96
+ },
97
97
  },
98
- queryParameters: [Parameters.apiVersion],
98
+ queryParameters: [Parameters.apiVersion1],
99
99
  urlParameters: [
100
100
  Parameters.$host,
101
- Parameters.resourceGroupName,
102
101
  Parameters.subscriptionId,
102
+ Parameters.resourceGroupName,
103
103
  Parameters.resourceName,
104
- Parameters.configurationId
104
+ Parameters.configurationId,
105
105
  ],
106
106
  headerParameters: [Parameters.accept],
107
- serializer
107
+ serializer,
108
108
  };
109
109
  const updateOperationSpec = {
110
110
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
111
111
  httpMethod: "PUT",
112
112
  responses: {
113
113
  200: {
114
- bodyMapper: Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration
115
- }
114
+ bodyMapper: Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration,
115
+ },
116
116
  },
117
117
  requestBody: Parameters.proactiveDetectionProperties,
118
- queryParameters: [Parameters.apiVersion],
118
+ queryParameters: [Parameters.apiVersion1],
119
119
  urlParameters: [
120
120
  Parameters.$host,
121
- Parameters.resourceGroupName,
122
121
  Parameters.subscriptionId,
122
+ Parameters.resourceGroupName,
123
123
  Parameters.resourceName,
124
- Parameters.configurationId
124
+ Parameters.configurationId,
125
125
  ],
126
126
  headerParameters: [Parameters.accept, Parameters.contentType],
127
127
  mediaType: "json",
128
- serializer
128
+ serializer,
129
129
  };
130
130
  //# sourceMappingURL=proactiveDetectionConfigurations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"proactiveDetectionConfigurations.js","sourceRoot":"","sources":["../../../src/operations/proactiveDetectionConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAA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,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { ProactiveDetectionConfigurations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ApplicationInsightsManagementClient } from \"../applicationInsightsManagementClient.js\";\nimport {\n ProactiveDetectionConfigurationsListOptionalParams,\n ProactiveDetectionConfigurationsListResponse,\n ProactiveDetectionConfigurationsGetOptionalParams,\n ProactiveDetectionConfigurationsGetResponse,\n ApplicationInsightsComponentProactiveDetectionConfiguration,\n ProactiveDetectionConfigurationsUpdateOptionalParams,\n ProactiveDetectionConfigurationsUpdateResponse\n} from \"../models/index.js\";\n\n/** Class containing ProactiveDetectionConfigurations operations. */\nexport class ProactiveDetectionConfigurationsImpl\n implements ProactiveDetectionConfigurations {\n private readonly client: ApplicationInsightsManagementClient;\n\n /**\n * Initialize a new instance of the class ProactiveDetectionConfigurations class.\n * @param client Reference to the service client\n */\n constructor(client: ApplicationInsightsManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of ProactiveDetection configurations of an Application Insights component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the Application Insights component resource.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n resourceName: string,\n options?: ProactiveDetectionConfigurationsListOptionalParams\n ): Promise<ProactiveDetectionConfigurationsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec\n );\n }\n\n /**\n * Get the ProactiveDetection configuration for this configuration id.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the Application Insights component resource.\n * @param configurationId The ProactiveDetection configuration ID. This is unique within a Application\n * Insights component.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n configurationId: string,\n options?: ProactiveDetectionConfigurationsGetOptionalParams\n ): Promise<ProactiveDetectionConfigurationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, configurationId, options },\n getOperationSpec\n );\n }\n\n /**\n * Update the ProactiveDetection configuration for this configuration id.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the Application Insights component resource.\n * @param configurationId The ProactiveDetection configuration ID. This is unique within a Application\n * Insights component.\n * @param proactiveDetectionProperties Properties that need to be specified to update the\n * ProactiveDetection configuration.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n configurationId: string,\n proactiveDetectionProperties: ApplicationInsightsComponentProactiveDetectionConfiguration,\n options?: ProactiveDetectionConfigurationsUpdateOptionalParams\n ): Promise<ProactiveDetectionConfigurationsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n configurationId,\n proactiveDetectionProperties,\n options\n },\n updateOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className:\n \"ApplicationInsightsComponentProactiveDetectionConfiguration\"\n }\n }\n }\n }\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper:\n Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.configurationId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper:\n Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration\n }\n },\n requestBody: Parameters.proactiveDetectionProperties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.configurationId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
1
+ {"version":3,"file":"proactiveDetectionConfigurations.js","sourceRoot":"","sources":["../../../src/operations/proactiveDetectionConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAYtD,oEAAoE;AACpE,MAAM,OAAO,oCAAoC;IAK/C;;;OAGG;IACH,YAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,iBAAyB,EACzB,YAAoB,EACpB,OAA4D;QAE5D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY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AAI,EAAE,uKAAuK;IAC7K,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EACR,OAAO,CAAC,2DAA2D;SACtE;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,uKAAuK;IAC7K,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EACR,OAAO,CAAC,2DAA2D;SACtE;KACF;IACD,WAAW,EAAE,UAAU,CAAC,4BAA4B;IACpD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { ProactiveDetectionConfigurations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ApplicationInsightsManagementClient } from \"../applicationInsightsManagementClient.js\";\nimport {\n ProactiveDetectionConfigurationsListOptionalParams,\n ProactiveDetectionConfigurationsListResponse,\n ProactiveDetectionConfigurationsGetOptionalParams,\n ProactiveDetectionConfigurationsGetResponse,\n ApplicationInsightsComponentProactiveDetectionConfiguration,\n ProactiveDetectionConfigurationsUpdateOptionalParams,\n ProactiveDetectionConfigurationsUpdateResponse,\n} from \"../models/index.js\";\n\n/** Class containing ProactiveDetectionConfigurations operations. */\nexport class ProactiveDetectionConfigurationsImpl\n implements ProactiveDetectionConfigurations\n{\n private readonly client: ApplicationInsightsManagementClient;\n\n /**\n * Initialize a new instance of the class ProactiveDetectionConfigurations class.\n * @param client Reference to the service client\n */\n constructor(client: ApplicationInsightsManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of ProactiveDetection configurations of an Application Insights component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the Application Insights component resource.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n resourceName: string,\n options?: ProactiveDetectionConfigurationsListOptionalParams,\n ): Promise<ProactiveDetectionConfigurationsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the ProactiveDetection configuration for this configuration id.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the Application Insights component resource.\n * @param configurationId The ProactiveDetection configuration ID. This is unique within a Application\n * Insights component.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n configurationId: string,\n options?: ProactiveDetectionConfigurationsGetOptionalParams,\n ): Promise<ProactiveDetectionConfigurationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, configurationId, options },\n getOperationSpec,\n );\n }\n\n /**\n * Update the ProactiveDetection configuration for this configuration id.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the Application Insights component resource.\n * @param configurationId The ProactiveDetection configuration ID. This is unique within a Application\n * Insights component.\n * @param proactiveDetectionProperties Properties that need to be specified to update the\n * ProactiveDetection configuration.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n configurationId: string,\n proactiveDetectionProperties: ApplicationInsightsComponentProactiveDetectionConfiguration,\n options?: ProactiveDetectionConfigurationsUpdateOptionalParams,\n ): Promise<ProactiveDetectionConfigurationsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n configurationId,\n proactiveDetectionProperties,\n options,\n },\n updateOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className:\n \"ApplicationInsightsComponentProactiveDetectionConfiguration\",\n },\n },\n },\n },\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper:\n Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.configurationId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper:\n Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration,\n },\n },\n requestBody: Parameters.proactiveDetectionProperties,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.configurationId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
@@ -39,7 +39,7 @@ export class WebTestLocationsImpl {
39
39
  throw new Error("maxPageSize is not supported by this operation.");
40
40
  }
41
41
  return this.listPagingPage(resourceGroupName, resourceName, options, settings);
42
- }
42
+ },
43
43
  };
44
44
  }
45
45
  listPagingPage(resourceGroupName, resourceName, options, _settings) {
@@ -86,17 +86,17 @@ const listOperationSpec = {
86
86
  httpMethod: "GET",
87
87
  responses: {
88
88
  200: {
89
- bodyMapper: Mappers.ApplicationInsightsWebTestLocationsListResult
90
- }
89
+ bodyMapper: Mappers.ApplicationInsightsWebTestLocationsListResult,
90
+ },
91
91
  },
92
- queryParameters: [Parameters.apiVersion],
92
+ queryParameters: [Parameters.apiVersion1],
93
93
  urlParameters: [
94
94
  Parameters.$host,
95
- Parameters.resourceGroupName,
96
95
  Parameters.subscriptionId,
97
- Parameters.resourceName
96
+ Parameters.resourceGroupName,
97
+ Parameters.resourceName,
98
98
  ],
99
99
  headerParameters: [Parameters.accept],
100
- serializer
100
+ serializer,
101
101
  };
102
102
  //# sourceMappingURL=webTestLocations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"webTestLocations.js","sourceRoot":"","sources":["../../../src/operations/webTestLocations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,y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AIxB;oBAJwB,WAIxB;oBAJU,MAAM,IAAI,KAAA,CAAA;oBAKnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;gBACd,CAAC;;;;;;;;;QACH,CAAC;KAAA;IAED;;;;;OAKG;IACK,KAAK,CACX,iBAAyB,EACzB,YAAoB,EACpB,OAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,EAC5C,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EACF,qJAAqJ;IACvJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6CAA6C;SAClE;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { WebTestLocations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ApplicationInsightsManagementClient } from \"../applicationInsightsManagementClient.js\";\nimport {\n ApplicationInsightsComponentWebTestLocation,\n WebTestLocationsListOptionalParams,\n WebTestLocationsListResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing WebTestLocations operations. */\nexport class WebTestLocationsImpl implements WebTestLocations {\n private readonly client: ApplicationInsightsManagementClient;\n\n /**\n * Initialize a new instance of the class WebTestLocations class.\n * @param client Reference to the service client\n */\n constructor(client: ApplicationInsightsManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of web test locations available to this Application Insights component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the Application Insights component resource.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: WebTestLocationsListOptionalParams\n ): PagedAsyncIterableIterator<ApplicationInsightsComponentWebTestLocation> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: WebTestLocationsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<ApplicationInsightsComponentWebTestLocation[]> {\n let result: WebTestLocationsListResponse;\n result = await this._list(resourceGroupName, resourceName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: WebTestLocationsListOptionalParams\n ): AsyncIterableIterator<ApplicationInsightsComponentWebTestLocation> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of web test locations available to this Application Insights component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the Application Insights component resource.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: WebTestLocationsListOptionalParams\n ): Promise<WebTestLocationsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/syntheticmonitorlocations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsWebTestLocationsListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"webTestLocations.js","sourceRoot":"","sources":["../../../src/operations/webTestLocations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,oDAAoD;AACpD,MAAM,OAAO,oBAAoB;IAG/B;;;OAGG;IACH,YAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE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E3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,qJAAqJ;IAC3J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6CAA6C;SAClE;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { WebTestLocations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ApplicationInsightsManagementClient } from \"../applicationInsightsManagementClient.js\";\nimport {\n ApplicationInsightsComponentWebTestLocation,\n WebTestLocationsListOptionalParams,\n WebTestLocationsListResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing WebTestLocations operations. */\nexport class WebTestLocationsImpl implements WebTestLocations {\n private readonly client: ApplicationInsightsManagementClient;\n\n /**\n * Initialize a new instance of the class WebTestLocations class.\n * @param client Reference to the service client\n */\n constructor(client: ApplicationInsightsManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of web test locations available to this Application Insights component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the Application Insights component resource.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: WebTestLocationsListOptionalParams,\n ): PagedAsyncIterableIterator<ApplicationInsightsComponentWebTestLocation> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: WebTestLocationsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<ApplicationInsightsComponentWebTestLocation[]> {\n let result: WebTestLocationsListResponse;\n result = await this._list(resourceGroupName, resourceName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: WebTestLocationsListOptionalParams,\n ): AsyncIterableIterator<ApplicationInsightsComponentWebTestLocation> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of web test locations available to this Application Insights component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the Application Insights component resource.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: WebTestLocationsListOptionalParams,\n ): Promise<WebTestLocationsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/syntheticmonitorlocations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsWebTestLocationsListResult,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -11,7 +11,7 @@ export declare class WebTestsImpl implements WebTests {
11
11
  */
12
12
  constructor(client: ApplicationInsightsManagementClient);
13
13
  /**
14
- * Get all Application Insights web tests defined within a specified resource group.
14
+ * Get all Application Insights web tests defined for the specified resource group.
15
15
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
16
  * @param options The options parameters.
17
17
  */
@@ -19,7 +19,7 @@ export declare class WebTestsImpl implements WebTests {
19
19
  private listByResourceGroupPagingPage;
20
20
  private listByResourceGroupPagingAll;
21
21
  /**
22
- * Get all Application Insights web test alerts definitions within a subscription.
22
+ * Get all Application Insights web test definitions for the specified subscription.
23
23
  * @param options The options parameters.
24
24
  */
25
25
  list(options?: WebTestsListOptionalParams): PagedAsyncIterableIterator<WebTest>;
@@ -35,7 +35,7 @@ export declare class WebTestsImpl implements WebTests {
35
35
  private listByComponentPagingPage;
36
36
  private listByComponentPagingAll;
37
37
  /**
38
- * Get all Application Insights web tests defined within a specified resource group.
38
+ * Get all Application Insights web tests defined for the specified resource group.
39
39
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
40
  * @param options The options parameters.
41
41
  */
@@ -43,36 +43,36 @@ export declare class WebTestsImpl implements WebTests {
43
43
  /**
44
44
  * Get a specific Application Insights web test definition.
45
45
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
46
- * @param webTestName The name of the Application Insights webtest resource.
46
+ * @param webTestName The name of the Application Insights WebTest resource.
47
47
  * @param options The options parameters.
48
48
  */
49
49
  get(resourceGroupName: string, webTestName: string, options?: WebTestsGetOptionalParams): Promise<WebTestsGetResponse>;
50
50
  /**
51
51
  * Creates or updates an Application Insights web test definition.
52
52
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
53
- * @param webTestName The name of the Application Insights webtest resource.
53
+ * @param webTestName The name of the Application Insights WebTest resource.
54
54
  * @param webTestDefinition Properties that need to be specified to create or update an Application
55
55
  * Insights web test definition.
56
56
  * @param options The options parameters.
57
57
  */
58
58
  createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, options?: WebTestsCreateOrUpdateOptionalParams): Promise<WebTestsCreateOrUpdateResponse>;
59
59
  /**
60
- * Creates or updates an Application Insights web test definition.
60
+ * Updates the tags associated with an Application Insights web test.
61
61
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
62
- * @param webTestName The name of the Application Insights webtest resource.
63
- * @param webTestTags Updated tag information to set into the web test instance.
62
+ * @param webTestName The name of the Application Insights WebTest resource.
63
+ * @param webTestTags Updated tag information to associate with the web test resource.
64
64
  * @param options The options parameters.
65
65
  */
66
66
  updateTags(resourceGroupName: string, webTestName: string, webTestTags: TagsResource, options?: WebTestsUpdateTagsOptionalParams): Promise<WebTestsUpdateTagsResponse>;
67
67
  /**
68
68
  * Deletes an Application Insights web test.
69
69
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
70
- * @param webTestName The name of the Application Insights webtest resource.
70
+ * @param webTestName The name of the Application Insights WebTest resource.
71
71
  * @param options The options parameters.
72
72
  */
73
73
  delete(resourceGroupName: string, webTestName: string, options?: WebTestsDeleteOptionalParams): Promise<void>;
74
74
  /**
75
- * Get all Application Insights web test alerts definitions within a subscription.
75
+ * Get all Application Insights web test definitions for the specified subscription.
76
76
  * @param options The options parameters.
77
77
  */
78
78
  private _list;