@azure/arm-appinsights 5.0.0-alpha.20250326.1 → 5.0.0-alpha.20250328.3

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 (477) 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/commonjs/tsdoc-metadata.json +1 -1
  226. package/dist/esm/applicationInsightsManagementClient.d.ts +7 -5
  227. package/dist/esm/applicationInsightsManagementClient.d.ts.map +1 -1
  228. package/dist/esm/applicationInsightsManagementClient.js +22 -20
  229. package/dist/esm/applicationInsightsManagementClient.js.map +1 -1
  230. package/dist/esm/models/index.d.ts +573 -596
  231. package/dist/esm/models/index.d.ts.map +1 -1
  232. package/dist/esm/models/index.js +46 -62
  233. package/dist/esm/models/index.js.map +1 -1
  234. package/dist/esm/models/mappers.d.ts +31 -26
  235. package/dist/esm/models/mappers.d.ts.map +1 -1
  236. package/dist/esm/models/mappers.js +1750 -1587
  237. package/dist/esm/models/mappers.js.map +1 -1
  238. package/dist/esm/models/parameters.d.ts +17 -15
  239. package/dist/esm/models/parameters.d.ts.map +1 -1
  240. package/dist/esm/models/parameters.js +244 -217
  241. package/dist/esm/models/parameters.js.map +1 -1
  242. package/dist/esm/operations/aPIKeys.js +25 -25
  243. package/dist/esm/operations/aPIKeys.js.map +1 -1
  244. package/dist/esm/operations/analyticsItems.js +27 -27
  245. package/dist/esm/operations/analyticsItems.js.map +1 -1
  246. package/dist/esm/operations/annotations.js +30 -30
  247. package/dist/esm/operations/annotations.js.map +1 -1
  248. package/dist/esm/operations/componentAvailableFeatures.d.ts.map +1 -1
  249. package/dist/esm/operations/componentAvailableFeatures.js +6 -6
  250. package/dist/esm/operations/componentAvailableFeatures.js.map +1 -1
  251. package/dist/esm/operations/componentCurrentBillingFeatures.d.ts.map +1 -1
  252. package/dist/esm/operations/componentCurrentBillingFeatures.js +12 -12
  253. package/dist/esm/operations/componentCurrentBillingFeatures.js.map +1 -1
  254. package/dist/esm/operations/componentFeatureCapabilities.d.ts.map +1 -1
  255. package/dist/esm/operations/componentFeatureCapabilities.js +6 -6
  256. package/dist/esm/operations/componentFeatureCapabilities.js.map +1 -1
  257. package/dist/esm/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -1
  258. package/dist/esm/operations/componentLinkedStorageAccountsOperations.js +29 -29
  259. package/dist/esm/operations/componentLinkedStorageAccountsOperations.js.map +1 -1
  260. package/dist/esm/operations/componentQuotaStatus.js +6 -6
  261. package/dist/esm/operations/componentQuotaStatus.js.map +1 -1
  262. package/dist/esm/operations/components.d.ts +4 -0
  263. package/dist/esm/operations/components.d.ts.map +1 -1
  264. package/dist/esm/operations/components.js +69 -67
  265. package/dist/esm/operations/components.js.map +1 -1
  266. package/dist/esm/operations/deletedWorkbooks.d.ts +32 -0
  267. package/dist/esm/operations/deletedWorkbooks.d.ts.map +1 -0
  268. package/dist/esm/operations/deletedWorkbooks.js +141 -0
  269. package/dist/esm/operations/deletedWorkbooks.js.map +1 -0
  270. package/dist/esm/operations/exportConfigurations.js +38 -38
  271. package/dist/esm/operations/exportConfigurations.js.map +1 -1
  272. package/dist/esm/operations/favorites.js +35 -35
  273. package/dist/esm/operations/favorites.js.map +1 -1
  274. package/dist/esm/operations/index.d.ts +4 -3
  275. package/dist/esm/operations/index.d.ts.map +1 -1
  276. package/dist/esm/operations/index.js +4 -3
  277. package/dist/esm/operations/index.js.map +1 -1
  278. package/dist/esm/operations/liveToken.js +4 -4
  279. package/dist/esm/operations/liveToken.js.map +1 -1
  280. package/dist/esm/operations/operations.d.ts +32 -0
  281. package/dist/esm/operations/operations.d.ts.map +1 -0
  282. package/dist/esm/operations/operations.js +133 -0
  283. package/dist/esm/operations/operations.js.map +1 -0
  284. package/dist/esm/operations/proactiveDetectionConfigurations.d.ts.map +1 -1
  285. package/dist/esm/operations/proactiveDetectionConfigurations.js +23 -23
  286. package/dist/esm/operations/proactiveDetectionConfigurations.js.map +1 -1
  287. package/dist/esm/operations/webTestLocations.js +7 -7
  288. package/dist/esm/operations/webTestLocations.js.map +1 -1
  289. package/dist/esm/operations/webTests.d.ts +10 -10
  290. package/dist/esm/operations/webTests.js +64 -67
  291. package/dist/esm/operations/webTests.js.map +1 -1
  292. package/dist/esm/operations/workItemConfigurations.js +38 -38
  293. package/dist/esm/operations/workItemConfigurations.js.map +1 -1
  294. package/dist/esm/operations/workbookTemplates.js +35 -35
  295. package/dist/esm/operations/workbookTemplates.js.map +1 -1
  296. package/dist/esm/operations/workbooks.d.ts +8 -10
  297. package/dist/esm/operations/workbooks.d.ts.map +1 -1
  298. package/dist/esm/operations/workbooks.js +91 -104
  299. package/dist/esm/operations/workbooks.js.map +1 -1
  300. package/dist/esm/operationsInterfaces/aPIKeys.js.map +1 -1
  301. package/dist/esm/operationsInterfaces/analyticsItems.js.map +1 -1
  302. package/dist/esm/operationsInterfaces/annotations.js.map +1 -1
  303. package/dist/esm/operationsInterfaces/componentAvailableFeatures.js.map +1 -1
  304. package/dist/esm/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -1
  305. package/dist/esm/operationsInterfaces/componentFeatureCapabilities.js.map +1 -1
  306. package/dist/esm/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -1
  307. package/dist/esm/operationsInterfaces/componentQuotaStatus.js.map +1 -1
  308. package/dist/esm/operationsInterfaces/components.d.ts +4 -0
  309. package/dist/esm/operationsInterfaces/components.d.ts.map +1 -1
  310. package/dist/esm/operationsInterfaces/components.js.map +1 -1
  311. package/dist/esm/operationsInterfaces/deletedWorkbooks.d.ts +11 -0
  312. package/dist/esm/operationsInterfaces/deletedWorkbooks.d.ts.map +1 -0
  313. package/dist/esm/operationsInterfaces/deletedWorkbooks.js +9 -0
  314. package/dist/esm/operationsInterfaces/deletedWorkbooks.js.map +1 -0
  315. package/dist/esm/operationsInterfaces/exportConfigurations.js.map +1 -1
  316. package/dist/esm/operationsInterfaces/favorites.js.map +1 -1
  317. package/dist/esm/operationsInterfaces/index.d.ts +4 -3
  318. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  319. package/dist/esm/operationsInterfaces/index.js +4 -3
  320. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  321. package/dist/esm/operationsInterfaces/liveToken.js.map +1 -1
  322. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  323. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  324. package/dist/esm/operationsInterfaces/{myWorkbooks.js → operations.js} +1 -1
  325. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  326. package/dist/esm/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -1
  327. package/dist/esm/operationsInterfaces/webTestLocations.js.map +1 -1
  328. package/dist/esm/operationsInterfaces/webTests.d.ts +8 -8
  329. package/dist/esm/operationsInterfaces/webTests.js.map +1 -1
  330. package/dist/esm/operationsInterfaces/workItemConfigurations.js.map +1 -1
  331. package/dist/esm/operationsInterfaces/workbookTemplates.js.map +1 -1
  332. package/dist/esm/operationsInterfaces/workbooks.d.ts +6 -6
  333. package/dist/esm/operationsInterfaces/workbooks.js.map +1 -1
  334. package/dist/esm/pagingHelper.d.ts +4 -4
  335. package/dist/esm/pagingHelper.js +4 -4
  336. package/dist/esm/pagingHelper.js.map +1 -1
  337. package/dist/react-native/applicationInsightsManagementClient.d.ts +7 -5
  338. package/dist/react-native/applicationInsightsManagementClient.d.ts.map +1 -1
  339. package/dist/react-native/applicationInsightsManagementClient.js +22 -20
  340. package/dist/react-native/applicationInsightsManagementClient.js.map +1 -1
  341. package/dist/react-native/models/index.d.ts +573 -596
  342. package/dist/react-native/models/index.d.ts.map +1 -1
  343. package/dist/react-native/models/index.js +46 -62
  344. package/dist/react-native/models/index.js.map +1 -1
  345. package/dist/react-native/models/mappers.d.ts +31 -26
  346. package/dist/react-native/models/mappers.d.ts.map +1 -1
  347. package/dist/react-native/models/mappers.js +1750 -1587
  348. package/dist/react-native/models/mappers.js.map +1 -1
  349. package/dist/react-native/models/parameters.d.ts +17 -15
  350. package/dist/react-native/models/parameters.d.ts.map +1 -1
  351. package/dist/react-native/models/parameters.js +244 -217
  352. package/dist/react-native/models/parameters.js.map +1 -1
  353. package/dist/react-native/operations/aPIKeys.js +25 -25
  354. package/dist/react-native/operations/aPIKeys.js.map +1 -1
  355. package/dist/react-native/operations/analyticsItems.js +27 -27
  356. package/dist/react-native/operations/analyticsItems.js.map +1 -1
  357. package/dist/react-native/operations/annotations.js +30 -30
  358. package/dist/react-native/operations/annotations.js.map +1 -1
  359. package/dist/react-native/operations/componentAvailableFeatures.d.ts.map +1 -1
  360. package/dist/react-native/operations/componentAvailableFeatures.js +6 -6
  361. package/dist/react-native/operations/componentAvailableFeatures.js.map +1 -1
  362. package/dist/react-native/operations/componentCurrentBillingFeatures.d.ts.map +1 -1
  363. package/dist/react-native/operations/componentCurrentBillingFeatures.js +12 -12
  364. package/dist/react-native/operations/componentCurrentBillingFeatures.js.map +1 -1
  365. package/dist/react-native/operations/componentFeatureCapabilities.d.ts.map +1 -1
  366. package/dist/react-native/operations/componentFeatureCapabilities.js +6 -6
  367. package/dist/react-native/operations/componentFeatureCapabilities.js.map +1 -1
  368. package/dist/react-native/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -1
  369. package/dist/react-native/operations/componentLinkedStorageAccountsOperations.js +29 -29
  370. package/dist/react-native/operations/componentLinkedStorageAccountsOperations.js.map +1 -1
  371. package/dist/react-native/operations/componentQuotaStatus.js +6 -6
  372. package/dist/react-native/operations/componentQuotaStatus.js.map +1 -1
  373. package/dist/react-native/operations/components.d.ts +4 -0
  374. package/dist/react-native/operations/components.d.ts.map +1 -1
  375. package/dist/react-native/operations/components.js +69 -67
  376. package/dist/react-native/operations/components.js.map +1 -1
  377. package/dist/react-native/operations/deletedWorkbooks.d.ts +32 -0
  378. package/dist/react-native/operations/deletedWorkbooks.d.ts.map +1 -0
  379. package/dist/react-native/operations/deletedWorkbooks.js +141 -0
  380. package/dist/react-native/operations/deletedWorkbooks.js.map +1 -0
  381. package/dist/react-native/operations/exportConfigurations.js +38 -38
  382. package/dist/react-native/operations/exportConfigurations.js.map +1 -1
  383. package/dist/react-native/operations/favorites.js +35 -35
  384. package/dist/react-native/operations/favorites.js.map +1 -1
  385. package/dist/react-native/operations/index.d.ts +4 -3
  386. package/dist/react-native/operations/index.d.ts.map +1 -1
  387. package/dist/react-native/operations/index.js +4 -3
  388. package/dist/react-native/operations/index.js.map +1 -1
  389. package/dist/react-native/operations/liveToken.js +4 -4
  390. package/dist/react-native/operations/liveToken.js.map +1 -1
  391. package/dist/react-native/operations/operations.d.ts +32 -0
  392. package/dist/react-native/operations/operations.d.ts.map +1 -0
  393. package/dist/react-native/operations/operations.js +133 -0
  394. package/dist/react-native/operations/operations.js.map +1 -0
  395. package/dist/react-native/operations/proactiveDetectionConfigurations.d.ts.map +1 -1
  396. package/dist/react-native/operations/proactiveDetectionConfigurations.js +23 -23
  397. package/dist/react-native/operations/proactiveDetectionConfigurations.js.map +1 -1
  398. package/dist/react-native/operations/webTestLocations.js +7 -7
  399. package/dist/react-native/operations/webTestLocations.js.map +1 -1
  400. package/dist/react-native/operations/webTests.d.ts +10 -10
  401. package/dist/react-native/operations/webTests.js +64 -67
  402. package/dist/react-native/operations/webTests.js.map +1 -1
  403. package/dist/react-native/operations/workItemConfigurations.js +38 -38
  404. package/dist/react-native/operations/workItemConfigurations.js.map +1 -1
  405. package/dist/react-native/operations/workbookTemplates.js +35 -35
  406. package/dist/react-native/operations/workbookTemplates.js.map +1 -1
  407. package/dist/react-native/operations/workbooks.d.ts +8 -10
  408. package/dist/react-native/operations/workbooks.d.ts.map +1 -1
  409. package/dist/react-native/operations/workbooks.js +91 -104
  410. package/dist/react-native/operations/workbooks.js.map +1 -1
  411. package/dist/react-native/operationsInterfaces/aPIKeys.js.map +1 -1
  412. package/dist/react-native/operationsInterfaces/analyticsItems.js.map +1 -1
  413. package/dist/react-native/operationsInterfaces/annotations.js.map +1 -1
  414. package/dist/react-native/operationsInterfaces/componentAvailableFeatures.js.map +1 -1
  415. package/dist/react-native/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -1
  416. package/dist/react-native/operationsInterfaces/componentFeatureCapabilities.js.map +1 -1
  417. package/dist/react-native/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -1
  418. package/dist/react-native/operationsInterfaces/componentQuotaStatus.js.map +1 -1
  419. package/dist/react-native/operationsInterfaces/components.d.ts +4 -0
  420. package/dist/react-native/operationsInterfaces/components.d.ts.map +1 -1
  421. package/dist/react-native/operationsInterfaces/components.js.map +1 -1
  422. package/dist/react-native/operationsInterfaces/deletedWorkbooks.d.ts +11 -0
  423. package/dist/react-native/operationsInterfaces/deletedWorkbooks.d.ts.map +1 -0
  424. package/dist/react-native/operationsInterfaces/deletedWorkbooks.js +9 -0
  425. package/dist/react-native/operationsInterfaces/deletedWorkbooks.js.map +1 -0
  426. package/dist/react-native/operationsInterfaces/exportConfigurations.js.map +1 -1
  427. package/dist/react-native/operationsInterfaces/favorites.js.map +1 -1
  428. package/dist/react-native/operationsInterfaces/index.d.ts +4 -3
  429. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  430. package/dist/react-native/operationsInterfaces/index.js +4 -3
  431. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  432. package/dist/react-native/operationsInterfaces/liveToken.js.map +1 -1
  433. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  434. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  435. package/dist/react-native/operationsInterfaces/{myWorkbooks.js → operations.js} +1 -1
  436. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  437. package/dist/react-native/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -1
  438. package/dist/react-native/operationsInterfaces/webTestLocations.js.map +1 -1
  439. package/dist/react-native/operationsInterfaces/webTests.d.ts +8 -8
  440. package/dist/react-native/operationsInterfaces/webTests.js.map +1 -1
  441. package/dist/react-native/operationsInterfaces/workItemConfigurations.js.map +1 -1
  442. package/dist/react-native/operationsInterfaces/workbookTemplates.js.map +1 -1
  443. package/dist/react-native/operationsInterfaces/workbooks.d.ts +6 -6
  444. package/dist/react-native/operationsInterfaces/workbooks.js.map +1 -1
  445. package/dist/react-native/pagingHelper.d.ts +4 -4
  446. package/dist/react-native/pagingHelper.js +4 -4
  447. package/dist/react-native/pagingHelper.js.map +1 -1
  448. package/package.json +10 -8
  449. package/review/arm-appinsights.api.md +146 -164
  450. package/dist/browser/operations/myWorkbooks.d.ts +0 -89
  451. package/dist/browser/operations/myWorkbooks.d.ts.map +0 -1
  452. package/dist/browser/operations/myWorkbooks.js +0 -414
  453. package/dist/browser/operations/myWorkbooks.js.map +0 -1
  454. package/dist/browser/operationsInterfaces/myWorkbooks.d.ts +0 -49
  455. package/dist/browser/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
  456. package/dist/browser/operationsInterfaces/myWorkbooks.js.map +0 -1
  457. package/dist/commonjs/operations/myWorkbooks.d.ts +0 -89
  458. package/dist/commonjs/operations/myWorkbooks.d.ts.map +0 -1
  459. package/dist/commonjs/operations/myWorkbooks.js +0 -418
  460. package/dist/commonjs/operations/myWorkbooks.js.map +0 -1
  461. package/dist/commonjs/operationsInterfaces/myWorkbooks.d.ts +0 -49
  462. package/dist/commonjs/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
  463. package/dist/commonjs/operationsInterfaces/myWorkbooks.js.map +0 -1
  464. package/dist/esm/operations/myWorkbooks.d.ts +0 -89
  465. package/dist/esm/operations/myWorkbooks.d.ts.map +0 -1
  466. package/dist/esm/operations/myWorkbooks.js +0 -414
  467. package/dist/esm/operations/myWorkbooks.js.map +0 -1
  468. package/dist/esm/operationsInterfaces/myWorkbooks.d.ts +0 -49
  469. package/dist/esm/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
  470. package/dist/esm/operationsInterfaces/myWorkbooks.js.map +0 -1
  471. package/dist/react-native/operations/myWorkbooks.d.ts +0 -89
  472. package/dist/react-native/operations/myWorkbooks.d.ts.map +0 -1
  473. package/dist/react-native/operations/myWorkbooks.js +0 -414
  474. package/dist/react-native/operations/myWorkbooks.js.map +0 -1
  475. package/dist/react-native/operationsInterfaces/myWorkbooks.d.ts +0 -49
  476. package/dist/react-native/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
  477. package/dist/react-native/operationsInterfaces/myWorkbooks.js.map +0 -1
@@ -41,7 +41,7 @@ class ComponentsImpl {
41
41
  throw new Error("maxPageSize is not supported by this operation.");
42
42
  }
43
43
  return this.listPagingPage(options, settings);
44
- }
44
+ },
45
45
  };
46
46
  }
47
47
  listPagingPage(options, settings) {
@@ -103,7 +103,7 @@ class ComponentsImpl {
103
103
  throw new Error("maxPageSize is not supported by this operation.");
104
104
  }
105
105
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
106
- }
106
+ },
107
107
  };
108
108
  }
109
109
  listByResourceGroupPagingPage(resourceGroupName, options, settings) {
@@ -208,6 +208,10 @@ class ComponentsImpl {
208
208
  * should batch the execution of purge requests by sending a single command whose predicate includes
209
209
  * all user identities that require purging. Use the in operator to specify multiple identities. You
210
210
  * should run the query prior to using for a purge request to verify that the results are expected.
211
+ * Note: this operation is intended for Classic resources, for workspace-based Application Insights
212
+ * resource please run purge operation (directly on the
213
+ * workspace)( https://learn.microsoft.com/rest/api/loganalytics/workspace-purge/purge) , scoped to
214
+ * specific resource id.
211
215
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
212
216
  * @param resourceName The name of the Application Insights component resource.
213
217
  * @param body Describes the body of a request to purge data in a single table of an Application
@@ -254,36 +258,36 @@ const listOperationSpec = {
254
258
  httpMethod: "GET",
255
259
  responses: {
256
260
  200: {
257
- bodyMapper: Mappers.ApplicationInsightsComponentListResult
261
+ bodyMapper: Mappers.ApplicationInsightsComponentListResult,
258
262
  },
259
263
  default: {
260
- bodyMapper: Mappers.ErrorResponseComponents
261
- }
264
+ bodyMapper: Mappers.ErrorResponseComponents,
265
+ },
262
266
  },
263
- queryParameters: [Parameters.apiVersion4],
267
+ queryParameters: [Parameters.apiVersion],
264
268
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
265
269
  headerParameters: [Parameters.accept],
266
- serializer
270
+ serializer,
267
271
  };
268
272
  const listByResourceGroupOperationSpec = {
269
273
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components",
270
274
  httpMethod: "GET",
271
275
  responses: {
272
276
  200: {
273
- bodyMapper: Mappers.ApplicationInsightsComponentListResult
277
+ bodyMapper: Mappers.ApplicationInsightsComponentListResult,
274
278
  },
275
279
  default: {
276
- bodyMapper: Mappers.ErrorResponseComponents
277
- }
280
+ bodyMapper: Mappers.ErrorResponseComponents,
281
+ },
278
282
  },
279
- queryParameters: [Parameters.apiVersion4],
283
+ queryParameters: [Parameters.apiVersion],
280
284
  urlParameters: [
281
285
  Parameters.$host,
286
+ Parameters.subscriptionId,
282
287
  Parameters.resourceGroupName,
283
- Parameters.subscriptionId
284
288
  ],
285
289
  headerParameters: [Parameters.accept],
286
- serializer
290
+ serializer,
287
291
  };
288
292
  const deleteOperationSpec = {
289
293
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
@@ -292,170 +296,168 @@ const deleteOperationSpec = {
292
296
  200: {},
293
297
  204: {},
294
298
  default: {
295
- bodyMapper: Mappers.ErrorResponseComponents
296
- }
299
+ bodyMapper: Mappers.ErrorResponseComponents,
300
+ },
297
301
  },
298
- queryParameters: [Parameters.apiVersion4],
302
+ queryParameters: [Parameters.apiVersion],
299
303
  urlParameters: [
300
304
  Parameters.$host,
301
- Parameters.resourceGroupName,
302
305
  Parameters.subscriptionId,
303
- Parameters.resourceName
306
+ Parameters.resourceGroupName,
307
+ Parameters.resourceName,
304
308
  ],
305
309
  headerParameters: [Parameters.accept],
306
- serializer
310
+ serializer,
307
311
  };
308
312
  const getOperationSpec = {
309
313
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
310
314
  httpMethod: "GET",
311
315
  responses: {
312
316
  200: {
313
- bodyMapper: Mappers.ApplicationInsightsComponent
317
+ bodyMapper: Mappers.ApplicationInsightsComponent,
314
318
  },
315
319
  default: {
316
- bodyMapper: Mappers.ErrorResponseComponents
317
- }
320
+ bodyMapper: Mappers.ErrorResponseComponents,
321
+ },
318
322
  },
319
- queryParameters: [Parameters.apiVersion4],
323
+ queryParameters: [Parameters.apiVersion],
320
324
  urlParameters: [
321
325
  Parameters.$host,
322
- Parameters.resourceGroupName,
323
326
  Parameters.subscriptionId,
324
- Parameters.resourceName
327
+ Parameters.resourceGroupName,
328
+ Parameters.resourceName,
325
329
  ],
326
330
  headerParameters: [Parameters.accept],
327
- serializer
331
+ serializer,
328
332
  };
329
333
  const createOrUpdateOperationSpec = {
330
334
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
331
335
  httpMethod: "PUT",
332
336
  responses: {
333
337
  200: {
334
- bodyMapper: Mappers.ApplicationInsightsComponent
338
+ bodyMapper: Mappers.ApplicationInsightsComponent,
335
339
  },
336
340
  default: {
337
- bodyMapper: Mappers.ErrorResponseComponents
338
- }
341
+ bodyMapper: Mappers.ErrorResponseComponents,
342
+ },
339
343
  },
340
344
  requestBody: Parameters.insightProperties,
341
- queryParameters: [Parameters.apiVersion4],
345
+ queryParameters: [Parameters.apiVersion],
342
346
  urlParameters: [
343
347
  Parameters.$host,
344
- Parameters.resourceGroupName,
345
348
  Parameters.subscriptionId,
346
- Parameters.resourceName
349
+ Parameters.resourceGroupName,
350
+ Parameters.resourceName,
347
351
  ],
348
352
  headerParameters: [Parameters.accept, Parameters.contentType],
349
353
  mediaType: "json",
350
- serializer
354
+ serializer,
351
355
  };
352
356
  const updateTagsOperationSpec = {
353
357
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
354
358
  httpMethod: "PATCH",
355
359
  responses: {
356
360
  200: {
357
- bodyMapper: Mappers.ApplicationInsightsComponent
361
+ bodyMapper: Mappers.ApplicationInsightsComponent,
358
362
  },
359
363
  default: {
360
- bodyMapper: Mappers.ErrorResponseComponents
361
- }
364
+ bodyMapper: Mappers.ErrorResponseComponents,
365
+ },
362
366
  },
363
367
  requestBody: Parameters.componentTags,
364
- queryParameters: [Parameters.apiVersion4],
368
+ queryParameters: [Parameters.apiVersion],
365
369
  urlParameters: [
366
370
  Parameters.$host,
367
- Parameters.resourceGroupName,
368
371
  Parameters.subscriptionId,
369
- Parameters.resourceName
372
+ Parameters.resourceGroupName,
373
+ Parameters.resourceName,
370
374
  ],
371
375
  headerParameters: [Parameters.accept, Parameters.contentType],
372
376
  mediaType: "json",
373
- serializer
377
+ serializer,
374
378
  };
375
379
  const purgeOperationSpec = {
376
380
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge",
377
381
  httpMethod: "POST",
378
382
  responses: {
379
383
  202: {
380
- bodyMapper: Mappers.ComponentPurgeResponse
384
+ bodyMapper: Mappers.ComponentPurgeResponse,
381
385
  },
382
386
  default: {
383
- bodyMapper: Mappers.ErrorResponseComponents
384
- }
387
+ bodyMapper: Mappers.ErrorResponseComponents,
388
+ },
385
389
  },
386
390
  requestBody: Parameters.body,
387
- queryParameters: [Parameters.apiVersion4],
391
+ queryParameters: [Parameters.apiVersion],
388
392
  urlParameters: [
389
393
  Parameters.$host,
390
- Parameters.resourceGroupName,
391
394
  Parameters.subscriptionId,
392
- Parameters.resourceName
395
+ Parameters.resourceGroupName,
396
+ Parameters.resourceName,
393
397
  ],
394
398
  headerParameters: [Parameters.accept, Parameters.contentType],
395
399
  mediaType: "json",
396
- serializer
400
+ serializer,
397
401
  };
398
402
  const getPurgeStatusOperationSpec = {
399
403
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}",
400
404
  httpMethod: "GET",
401
405
  responses: {
402
406
  200: {
403
- bodyMapper: Mappers.ComponentPurgeStatusResponse
407
+ bodyMapper: Mappers.ComponentPurgeStatusResponse,
404
408
  },
405
409
  default: {
406
- bodyMapper: Mappers.ErrorResponseComponents
407
- }
410
+ bodyMapper: Mappers.ErrorResponseComponents,
411
+ },
408
412
  },
409
- queryParameters: [Parameters.apiVersion4],
413
+ queryParameters: [Parameters.apiVersion],
410
414
  urlParameters: [
411
415
  Parameters.$host,
412
- Parameters.resourceGroupName,
413
416
  Parameters.subscriptionId,
417
+ Parameters.resourceGroupName,
414
418
  Parameters.resourceName,
415
- Parameters.purgeId
419
+ Parameters.purgeId,
416
420
  ],
417
421
  headerParameters: [Parameters.accept],
418
- serializer
422
+ serializer,
419
423
  };
420
424
  const listNextOperationSpec = {
421
425
  path: "{nextLink}",
422
426
  httpMethod: "GET",
423
427
  responses: {
424
428
  200: {
425
- bodyMapper: Mappers.ApplicationInsightsComponentListResult
429
+ bodyMapper: Mappers.ApplicationInsightsComponentListResult,
426
430
  },
427
431
  default: {
428
- bodyMapper: Mappers.ErrorResponseComponents
429
- }
432
+ bodyMapper: Mappers.ErrorResponseComponents,
433
+ },
430
434
  },
431
- queryParameters: [Parameters.apiVersion4],
432
435
  urlParameters: [
433
436
  Parameters.$host,
434
437
  Parameters.subscriptionId,
435
- Parameters.nextLink
438
+ Parameters.nextLink,
436
439
  ],
437
440
  headerParameters: [Parameters.accept],
438
- serializer
441
+ serializer,
439
442
  };
440
443
  const listByResourceGroupNextOperationSpec = {
441
444
  path: "{nextLink}",
442
445
  httpMethod: "GET",
443
446
  responses: {
444
447
  200: {
445
- bodyMapper: Mappers.ApplicationInsightsComponentListResult
448
+ bodyMapper: Mappers.ApplicationInsightsComponentListResult,
446
449
  },
447
450
  default: {
448
- bodyMapper: Mappers.ErrorResponseComponents
449
- }
451
+ bodyMapper: Mappers.ErrorResponseComponents,
452
+ },
450
453
  },
451
- queryParameters: [Parameters.apiVersion4],
452
454
  urlParameters: [
453
455
  Parameters.$host,
454
- Parameters.resourceGroupName,
455
456
  Parameters.subscriptionId,
456
- Parameters.nextLink
457
+ Parameters.resourceGroupName,
458
+ Parameters.nextLink,
457
459
  ],
458
460
  headerParameters: [Parameters.accept],
459
- serializer
461
+ serializer,
460
462
  };
461
463
  //# sourceMappingURL=components.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/operations/components.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AA2BtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,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;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAsC,EACtC,QAAuB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U;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 { setContinuationToken } from \"../pagingHelper.js\";\nimport { Components } 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 ApplicationInsightsComponent,\n ComponentsListNextOptionalParams,\n ComponentsListOptionalParams,\n ComponentsListResponse,\n ComponentsListByResourceGroupNextOptionalParams,\n ComponentsListByResourceGroupOptionalParams,\n ComponentsListByResourceGroupResponse,\n ComponentsDeleteOptionalParams,\n ComponentsGetOptionalParams,\n ComponentsGetResponse,\n ComponentsCreateOrUpdateOptionalParams,\n ComponentsCreateOrUpdateResponse,\n TagsResource,\n ComponentsUpdateTagsOptionalParams,\n ComponentsUpdateTagsResponse,\n ComponentPurgeBody,\n ComponentsPurgeOptionalParams,\n ComponentsPurgeResponse,\n ComponentsGetPurgeStatusOptionalParams,\n ComponentsGetPurgeStatusResponse,\n ComponentsListNextResponse,\n ComponentsListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Components operations. */\nexport class ComponentsImpl implements Components {\n private readonly client: ApplicationInsightsManagementClient;\n\n /**\n * Initialize a new instance of the class Components 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 all Application Insights components within a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ComponentsListOptionalParams\n ): PagedAsyncIterableIterator<ApplicationInsightsComponent> {\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?: ComponentsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ApplicationInsightsComponent[]> {\n let result: ComponentsListResponse;\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?: ComponentsListOptionalParams\n ): AsyncIterableIterator<ApplicationInsightsComponent> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of Application Insights components within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ComponentsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<ApplicationInsightsComponent> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ComponentsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ApplicationInsightsComponent[]> {\n let result: ComponentsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ComponentsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<ApplicationInsightsComponent> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of all Application Insights components within a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: ComponentsListOptionalParams\n ): Promise<ComponentsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Gets a list of Application Insights components within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ComponentsListByResourceGroupOptionalParams\n ): Promise<ComponentsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Deletes 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 delete(\n resourceGroupName: string,\n resourceName: string,\n options?: ComponentsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Returns 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 get(\n resourceGroupName: string,\n resourceName: string,\n options?: ComponentsGetOptionalParams\n ): Promise<ComponentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates (or updates) an Application Insights component. Note: You cannot specify a different value\n * for InstrumentationKey nor AppId in the Put operation.\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 insightProperties Properties that need to be specified to create an Application Insights\n * component.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n insightProperties: ApplicationInsightsComponent,\n options?: ComponentsCreateOrUpdateOptionalParams\n ): Promise<ComponentsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, insightProperties, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Updates an existing component's tags. To update other fields use the CreateOrUpdate method.\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 componentTags Updated tag information to set into the component instance.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n resourceName: string,\n componentTags: TagsResource,\n options?: ComponentsUpdateTagsOptionalParams\n ): Promise<ComponentsUpdateTagsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, componentTags, options },\n updateTagsOperationSpec\n );\n }\n\n /**\n * Purges data in an Application Insights component by a set of user-defined filters.\n *\n * In order to manage system resources, purge requests are throttled at 50 requests per hour. You\n * should batch the execution of purge requests by sending a single command whose predicate includes\n * all user identities that require purging. Use the in operator to specify multiple identities. You\n * should run the query prior to using for a purge request to verify that the results are expected.\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 body Describes the body of a request to purge data in a single table of an Application\n * Insights component\n * @param options The options parameters.\n */\n purge(\n resourceGroupName: string,\n resourceName: string,\n body: ComponentPurgeBody,\n options?: ComponentsPurgeOptionalParams\n ): Promise<ComponentsPurgeResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, body, options },\n purgeOperationSpec\n );\n }\n\n /**\n * Get status for an ongoing purge operation.\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 purgeId In a purge status request, this is the Id of the operation the status of which is\n * returned.\n * @param options The options parameters.\n */\n getPurgeStatus(\n resourceGroupName: string,\n resourceName: string,\n purgeId: string,\n options?: ComponentsGetPurgeStatusOptionalParams\n ): Promise<ComponentsGetPurgeStatusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, purgeId, options },\n getPurgeStatusOperationSpec\n );\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?: ComponentsListNextOptionalParams\n ): Promise<ComponentsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ComponentsListByResourceGroupNextOptionalParams\n ): Promise<ComponentsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Insights/components\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponentListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents\n }\n },\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponentListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents\n }\n },\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponseComponents\n }\n },\n queryParameters: [Parameters.apiVersion4],\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}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponent\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents\n }\n },\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponent\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents\n }\n },\n requestBody: Parameters.insightProperties,\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateTagsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponent\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents\n }\n },\n requestBody: Parameters.componentTags,\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst purgeOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.ComponentPurgeResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getPurgeStatusOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ComponentPurgeStatusResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents\n }\n },\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.purgeId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponentListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents\n }\n },\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponentListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents\n }\n },\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/operations/components.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AA2BtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,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;gBACrE,CAA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D,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 { setContinuationToken } from \"../pagingHelper.js\";\nimport { Components } 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 ApplicationInsightsComponent,\n ComponentsListNextOptionalParams,\n ComponentsListOptionalParams,\n ComponentsListResponse,\n ComponentsListByResourceGroupNextOptionalParams,\n ComponentsListByResourceGroupOptionalParams,\n ComponentsListByResourceGroupResponse,\n ComponentsDeleteOptionalParams,\n ComponentsGetOptionalParams,\n ComponentsGetResponse,\n ComponentsCreateOrUpdateOptionalParams,\n ComponentsCreateOrUpdateResponse,\n TagsResource,\n ComponentsUpdateTagsOptionalParams,\n ComponentsUpdateTagsResponse,\n ComponentPurgeBody,\n ComponentsPurgeOptionalParams,\n ComponentsPurgeResponse,\n ComponentsGetPurgeStatusOptionalParams,\n ComponentsGetPurgeStatusResponse,\n ComponentsListNextResponse,\n ComponentsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Components operations. */\nexport class ComponentsImpl implements Components {\n private readonly client: ApplicationInsightsManagementClient;\n\n /**\n * Initialize a new instance of the class Components 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 all Application Insights components within a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ComponentsListOptionalParams,\n ): PagedAsyncIterableIterator<ApplicationInsightsComponent> {\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?: ComponentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ApplicationInsightsComponent[]> {\n let result: ComponentsListResponse;\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?: ComponentsListOptionalParams,\n ): AsyncIterableIterator<ApplicationInsightsComponent> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of Application Insights components within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ComponentsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ApplicationInsightsComponent> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ComponentsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ApplicationInsightsComponent[]> {\n let result: ComponentsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ComponentsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ApplicationInsightsComponent> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of all Application Insights components within a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: ComponentsListOptionalParams,\n ): Promise<ComponentsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Gets a list of Application Insights components within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ComponentsListByResourceGroupOptionalParams,\n ): Promise<ComponentsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Deletes 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 delete(\n resourceGroupName: string,\n resourceName: string,\n options?: ComponentsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Returns 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 get(\n resourceGroupName: string,\n resourceName: string,\n options?: ComponentsGetOptionalParams,\n ): Promise<ComponentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates (or updates) an Application Insights component. Note: You cannot specify a different value\n * for InstrumentationKey nor AppId in the Put operation.\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 insightProperties Properties that need to be specified to create an Application Insights\n * component.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n insightProperties: ApplicationInsightsComponent,\n options?: ComponentsCreateOrUpdateOptionalParams,\n ): Promise<ComponentsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, insightProperties, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Updates an existing component's tags. To update other fields use the CreateOrUpdate method.\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 componentTags Updated tag information to set into the component instance.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n resourceName: string,\n componentTags: TagsResource,\n options?: ComponentsUpdateTagsOptionalParams,\n ): Promise<ComponentsUpdateTagsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, componentTags, options },\n updateTagsOperationSpec,\n );\n }\n\n /**\n * Purges data in an Application Insights component by a set of user-defined filters.\n *\n * In order to manage system resources, purge requests are throttled at 50 requests per hour. You\n * should batch the execution of purge requests by sending a single command whose predicate includes\n * all user identities that require purging. Use the in operator to specify multiple identities. You\n * should run the query prior to using for a purge request to verify that the results are expected.\n * Note: this operation is intended for Classic resources, for workspace-based Application Insights\n * resource please run purge operation (directly on the\n * workspace)( https://learn.microsoft.com/rest/api/loganalytics/workspace-purge/purge) , scoped to\n * specific resource 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 body Describes the body of a request to purge data in a single table of an Application\n * Insights component\n * @param options The options parameters.\n */\n purge(\n resourceGroupName: string,\n resourceName: string,\n body: ComponentPurgeBody,\n options?: ComponentsPurgeOptionalParams,\n ): Promise<ComponentsPurgeResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, body, options },\n purgeOperationSpec,\n );\n }\n\n /**\n * Get status for an ongoing purge operation.\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 purgeId In a purge status request, this is the Id of the operation the status of which is\n * returned.\n * @param options The options parameters.\n */\n getPurgeStatus(\n resourceGroupName: string,\n resourceName: string,\n purgeId: string,\n options?: ComponentsGetPurgeStatusOptionalParams,\n ): Promise<ComponentsGetPurgeStatusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, purgeId, options },\n getPurgeStatusOperationSpec,\n );\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?: ComponentsListNextOptionalParams,\n ): Promise<ComponentsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ComponentsListByResourceGroupNextOptionalParams,\n ): Promise<ComponentsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Insights/components\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponentListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponentListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponseComponents,\n },\n },\n queryParameters: [Parameters.apiVersion],\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}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponent,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponent,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents,\n },\n },\n requestBody: Parameters.insightProperties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateTagsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponent,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents,\n },\n },\n requestBody: Parameters.componentTags,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst purgeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.ComponentPurgeResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents,\n },\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getPurgeStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ComponentPurgeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.purgeId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponentListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationInsightsComponentListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseComponents,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { DeletedWorkbooks } from "../operationsInterfaces/index.js";
3
+ import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient.js";
4
+ import { DeletedWorkbook, DeletedWorkbooksListBySubscriptionOptionalParams } from "../models/index.js";
5
+ /** Class containing DeletedWorkbooks operations. */
6
+ export declare class DeletedWorkbooksImpl implements DeletedWorkbooks {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class DeletedWorkbooks class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: ApplicationInsightsManagementClient);
13
+ /**
14
+ * Get all recently deleted Workbooks in a specified subscription.
15
+ * @param options The options parameters.
16
+ */
17
+ listBySubscription(options?: DeletedWorkbooksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DeletedWorkbook>;
18
+ private listBySubscriptionPagingPage;
19
+ private listBySubscriptionPagingAll;
20
+ /**
21
+ * Get all recently deleted Workbooks in a specified subscription.
22
+ * @param options The options parameters.
23
+ */
24
+ private _listBySubscription;
25
+ /**
26
+ * ListBySubscriptionNext
27
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listBySubscriptionNext;
31
+ }
32
+ //# sourceMappingURL=deletedWorkbooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deletedWorkbooks.d.ts","sourceRoot":"","sources":["../../../src/operations/deletedWorkbooks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIpE,OAAO,EAAE,mCAAmC,EAAE,MAAM,2CAA2C,CAAC;AAChG,OAAO,EACL,eAAe,EAEf,gDAAgD,EAGjD,MAAM,oBAAoB,CAAC;AAG5B,oDAAoD;AACpD,qBAAa,oBAAqB,YAAW,gBAAgB;IAC3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,eAAe,CAAC;YAkB/B,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.DeletedWorkbooksImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Class containing DeletedWorkbooks operations. */
18
+ class DeletedWorkbooksImpl {
19
+ /**
20
+ * Initialize a new instance of the class DeletedWorkbooks class.
21
+ * @param client Reference to the service client
22
+ */
23
+ constructor(client) {
24
+ this.client = client;
25
+ }
26
+ /**
27
+ * Get all recently deleted Workbooks in a specified subscription.
28
+ * @param options The options parameters.
29
+ */
30
+ listBySubscription(options) {
31
+ const iter = this.listBySubscriptionPagingAll(options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: (settings) => {
40
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ throw new Error("maxPageSize is not supported by this operation.");
42
+ }
43
+ return this.listBySubscriptionPagingPage(options, settings);
44
+ },
45
+ };
46
+ }
47
+ listBySubscriptionPagingPage(options, settings) {
48
+ return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
49
+ let result;
50
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
+ if (!continuationToken) {
52
+ result = yield tslib_1.__await(this._listBySubscription(options));
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
56
+ yield yield tslib_1.__await(page);
57
+ }
58
+ while (continuationToken) {
59
+ result = yield tslib_1.__await(this._listBySubscriptionNext(continuationToken, options));
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
63
+ yield yield tslib_1.__await(page);
64
+ }
65
+ });
66
+ }
67
+ listBySubscriptionPagingAll(options) {
68
+ return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
69
+ var _a, e_1, _b, _c;
70
+ try {
71
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
72
+ _c = _f.value;
73
+ _d = false;
74
+ const page = _c;
75
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
76
+ }
77
+ }
78
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
79
+ finally {
80
+ try {
81
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
82
+ }
83
+ finally { if (e_1) throw e_1.error; }
84
+ }
85
+ });
86
+ }
87
+ /**
88
+ * Get all recently deleted Workbooks in a specified subscription.
89
+ * @param options The options parameters.
90
+ */
91
+ _listBySubscription(options) {
92
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
93
+ }
94
+ /**
95
+ * ListBySubscriptionNext
96
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
97
+ * @param options The options parameters.
98
+ */
99
+ _listBySubscriptionNext(nextLink, options) {
100
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
101
+ }
102
+ }
103
+ exports.DeletedWorkbooksImpl = DeletedWorkbooksImpl;
104
+ // Operation Specifications
105
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
106
+ const listBySubscriptionOperationSpec = {
107
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/deletedWorkbooks",
108
+ httpMethod: "GET",
109
+ responses: {
110
+ 200: {
111
+ bodyMapper: Mappers.DeletedWorkbooksListResult,
112
+ },
113
+ default: {
114
+ bodyMapper: Mappers.DeletedWorkbookError,
115
+ },
116
+ },
117
+ queryParameters: [
118
+ Parameters.tags,
119
+ Parameters.category1,
120
+ Parameters.apiVersion8,
121
+ ],
122
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
123
+ headerParameters: [Parameters.accept],
124
+ serializer,
125
+ };
126
+ const listBySubscriptionNextOperationSpec = {
127
+ path: "{nextLink}",
128
+ httpMethod: "GET",
129
+ responses: {
130
+ 200: {
131
+ bodyMapper: Mappers.DeletedWorkbooksListResult,
132
+ },
133
+ default: {
134
+ bodyMapper: Mappers.DeletedWorkbookError,
135
+ },
136
+ },
137
+ urlParameters: [
138
+ Parameters.$host,
139
+ Parameters.subscriptionId,
140
+ Parameters.nextLink,
141
+ ],
142
+ headerParameters: [Parameters.accept],
143
+ serializer,
144
+ };
145
+ //# sourceMappingURL=deletedWorkbooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deletedWorkbooks.js","sourceRoot":"","sources":["../../../src/operations/deletedWorkbooks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,oDAAoD;AACpD,MAAa,oBAAoB;IAG/B;;;OAGG;IACH,YAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA0D;QAE1D,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,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;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,EAAE,QA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AM,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 { setContinuationToken } from \"../pagingHelper.js\";\nimport { DeletedWorkbooks } 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 DeletedWorkbook,\n DeletedWorkbooksListBySubscriptionNextOptionalParams,\n DeletedWorkbooksListBySubscriptionOptionalParams,\n DeletedWorkbooksListBySubscriptionResponse,\n DeletedWorkbooksListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DeletedWorkbooks operations. */\nexport class DeletedWorkbooksImpl implements DeletedWorkbooks {\n private readonly client: ApplicationInsightsManagementClient;\n\n /**\n * Initialize a new instance of the class DeletedWorkbooks class.\n * @param client Reference to the service client\n */\n constructor(client: ApplicationInsightsManagementClient) {\n this.client = client;\n }\n\n /**\n * Get all recently deleted Workbooks in a specified subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: DeletedWorkbooksListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<DeletedWorkbook> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: DeletedWorkbooksListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DeletedWorkbook[]> {\n let result: DeletedWorkbooksListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: DeletedWorkbooksListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<DeletedWorkbook> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get all recently deleted Workbooks in a specified subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: DeletedWorkbooksListBySubscriptionOptionalParams,\n ): Promise<DeletedWorkbooksListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: DeletedWorkbooksListBySubscriptionNextOptionalParams,\n ): Promise<DeletedWorkbooksListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Insights/deletedWorkbooks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedWorkbooksListResult,\n },\n default: {\n bodyMapper: Mappers.DeletedWorkbookError,\n },\n },\n queryParameters: [\n Parameters.tags,\n Parameters.category1,\n Parameters.apiVersion8,\n ],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedWorkbooksListResult,\n },\n default: {\n bodyMapper: Mappers.DeletedWorkbookError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}