@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
@@ -1 +1 @@
1
- {"version":3,"file":"workbooks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/workbooks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n Workbook,\n CategoryType,\n WorkbooksListBySubscriptionOptionalParams,\n WorkbooksListByResourceGroupOptionalParams,\n WorkbooksRevisionsListOptionalParams,\n WorkbooksGetOptionalParams,\n WorkbooksGetResponse,\n WorkbooksDeleteOptionalParams,\n WorkbooksCreateOrUpdateOptionalParams,\n WorkbooksCreateOrUpdateResponse,\n WorkbooksUpdateOptionalParams,\n WorkbooksUpdateResponse,\n WorkbooksRevisionGetOptionalParams,\n WorkbooksRevisionGetResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Workbooks. */\nexport interface Workbooks {\n /**\n * Get all Workbooks defined within a specified subscription and category.\n * @param category Category of workbook to return.\n * @param options The options parameters.\n */\n listBySubscription(\n category: CategoryType,\n options?: WorkbooksListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Workbook>;\n /**\n * Get all Workbooks defined within a specified resource group and category.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param category Category of workbook to return.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n category: CategoryType,\n options?: WorkbooksListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Workbook>;\n /**\n * Get the revisions for the workbook defined by its resourceName.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n listRevisionsList(\n resourceGroupName: string,\n resourceName: string,\n options?: WorkbooksRevisionsListOptionalParams\n ): PagedAsyncIterableIterator<Workbook>;\n /**\n * Get a single workbook by its resourceName.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: WorkbooksGetOptionalParams\n ): Promise<WorkbooksGetResponse>;\n /**\n * Delete a workbook.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n options?: WorkbooksDeleteOptionalParams\n ): Promise<void>;\n /**\n * Create a new workbook.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param workbookProperties Properties that need to be specified to create a new workbook.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n workbookProperties: Workbook,\n options?: WorkbooksCreateOrUpdateOptionalParams\n ): Promise<WorkbooksCreateOrUpdateResponse>;\n /**\n * Updates a workbook that has already been added.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n options?: WorkbooksUpdateOptionalParams\n ): Promise<WorkbooksUpdateResponse>;\n /**\n * Get a single workbook revision defined by its revisionId.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param revisionId The id of the workbook's revision.\n * @param options The options parameters.\n */\n revisionGet(\n resourceGroupName: string,\n resourceName: string,\n revisionId: string,\n options?: WorkbooksRevisionGetOptionalParams\n ): Promise<WorkbooksRevisionGetResponse>;\n}\n"]}
1
+ {"version":3,"file":"workbooks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/workbooks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n Workbook,\n CategoryType,\n WorkbooksListBySubscriptionOptionalParams,\n WorkbooksListByResourceGroupOptionalParams,\n WorkbooksRevisionsListOptionalParams,\n WorkbooksGetOptionalParams,\n WorkbooksGetResponse,\n WorkbooksDeleteOptionalParams,\n WorkbooksCreateOrUpdateOptionalParams,\n WorkbooksCreateOrUpdateResponse,\n WorkbooksUpdateOptionalParams,\n WorkbooksUpdateResponse,\n WorkbooksRevisionGetOptionalParams,\n WorkbooksRevisionGetResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Workbooks. */\nexport interface Workbooks {\n /**\n * Get all Workbooks defined within a specified subscription and category.\n * @param category Category of workbook to return.\n * @param options The options parameters.\n */\n listBySubscription(\n category: CategoryType,\n options?: WorkbooksListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<Workbook>;\n /**\n * Get all Workbooks defined within a specified resource group and category.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param category Category of workbook to return.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n category: CategoryType,\n options?: WorkbooksListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Workbook>;\n /**\n * Get the revisions for the workbook defined by its resourceName.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the workbook resource. The value must be an UUID.\n * @param options The options parameters.\n */\n listRevisionsList(\n resourceGroupName: string,\n resourceName: string,\n options?: WorkbooksRevisionsListOptionalParams,\n ): PagedAsyncIterableIterator<Workbook>;\n /**\n * Get a single workbook by its resourceName.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the workbook resource. The value must be an UUID.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: WorkbooksGetOptionalParams,\n ): Promise<WorkbooksGetResponse>;\n /**\n * Delete a workbook.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the workbook resource. The value must be an UUID.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n options?: WorkbooksDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Create a new workbook.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the workbook resource. The value must be an UUID.\n * @param workbookProperties Properties that need to be specified to create a new workbook.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n workbookProperties: Workbook,\n options?: WorkbooksCreateOrUpdateOptionalParams,\n ): Promise<WorkbooksCreateOrUpdateResponse>;\n /**\n * Updates a workbook that has already been added.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the workbook resource. The value must be an UUID.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n options?: WorkbooksUpdateOptionalParams,\n ): Promise<WorkbooksUpdateResponse>;\n /**\n * Get a single workbook revision defined by its revisionId.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the workbook resource. The value must be an UUID.\n * @param revisionId The id of the workbook's revision.\n * @param options The options parameters.\n */\n revisionGet(\n resourceGroupName: string,\n resourceName: string,\n revisionId: string,\n options?: WorkbooksRevisionGetOptionalParams,\n ): Promise<WorkbooksRevisionGetResponse>;\n}\n"]}
@@ -2,11 +2,11 @@ export interface PageInfo {
2
2
  continuationToken?: string;
3
3
  }
4
4
  /**
5
- * Given a result page from a pageable operation, returns a
6
- * continuation token that can be used to begin paging from
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
7
  * that point later.
8
- * @param page A result object from calling .byPage() on a paged operation.
9
- * @returns The continuation token that can be passed into byPage().
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
10
10
  */
11
11
  export declare function getContinuationToken(page: unknown): string | undefined;
12
12
  export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
@@ -7,11 +7,11 @@
7
7
  */
8
8
  const pageMap = new WeakMap();
9
9
  /**
10
- * Given a result page from a pageable operation, returns a
11
- * continuation token that can be used to begin paging from
10
+ * Given the last `.value` produced by the `byPage` iterator,
11
+ * returns a continuation token that can be used to begin paging from
12
12
  * that point later.
13
- * @param page A result object from calling .byPage() on a paged operation.
14
- * @returns The continuation token that can be passed into byPage().
13
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
+ * @returns The continuation token that can be passed into byPage() during future calls.
15
15
  */
16
16
  export function getContinuationToken(page) {
17
17
  var _a;
@@ -1 +1 @@
1
- {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -1,10 +1,10 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { Annotations, APIKeys, ExportConfigurations, ComponentCurrentBillingFeatures, ComponentQuotaStatus, ComponentFeatureCapabilities, ComponentAvailableFeatures, ProactiveDetectionConfigurations, WorkItemConfigurations, Favorites, WebTestLocations, WebTests, AnalyticsItems, WorkbookTemplates, MyWorkbooks, Workbooks, Components, ComponentLinkedStorageAccountsOperations, LiveToken } from "./operationsInterfaces/index.js";
3
+ import { Components, Annotations, APIKeys, ExportConfigurations, ComponentCurrentBillingFeatures, ComponentQuotaStatus, ComponentFeatureCapabilities, ComponentAvailableFeatures, ProactiveDetectionConfigurations, WorkItemConfigurations, Favorites, WebTestLocations, WebTests, AnalyticsItems, Operations, WorkbookTemplates, Workbooks, LiveToken, ComponentLinkedStorageAccountsOperations, DeletedWorkbooks } from "./operationsInterfaces/index.js";
4
4
  import { ApplicationInsightsManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class ApplicationInsightsManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
- subscriptionId: string;
7
+ subscriptionId?: string;
8
8
  /**
9
9
  * Initializes a new instance of the ApplicationInsightsManagementClient class.
10
10
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -12,6 +12,8 @@ export declare class ApplicationInsightsManagementClient extends coreClient.Serv
12
12
  * @param options The parameter options
13
13
  */
14
14
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ApplicationInsightsManagementClientOptionalParams);
15
+ constructor(credentials: coreAuth.TokenCredential, options?: ApplicationInsightsManagementClientOptionalParams);
16
+ components: Components;
15
17
  annotations: Annotations;
16
18
  aPIKeys: APIKeys;
17
19
  exportConfigurations: ExportConfigurations;
@@ -25,11 +27,11 @@ export declare class ApplicationInsightsManagementClient extends coreClient.Serv
25
27
  webTestLocations: WebTestLocations;
26
28
  webTests: WebTests;
27
29
  analyticsItems: AnalyticsItems;
30
+ operations: Operations;
28
31
  workbookTemplates: WorkbookTemplates;
29
- myWorkbooks: MyWorkbooks;
30
32
  workbooks: Workbooks;
31
- components: Components;
32
- componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;
33
33
  liveToken: LiveToken;
34
+ componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;
35
+ deletedWorkbooks: DeletedWorkbooks;
34
36
  }
35
37
  //# sourceMappingURL=applicationInsightsManagementClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"applicationInsightsManagementClient.d.ts","sourceRoot":"","sources":["../../src/applicationInsightsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAsB7C,OAAO,EACL,WAAW,EACX,OAAO,EACP,oBAAoB,EACpB,+BAA+B,EAC/B,oBAAoB,EACpB,4BAA4B,EAC5B,0BAA0B,EAC1B,gCAAgC,EAChC,sBAAsB,EACtB,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,UAAU,EACV,wCAAwC,EACxC,SAAS,EACV,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iDAAiD,EAAE,MAAM,mBAAmB,CAAC;AAEtF,qBAAa,mCAAoC,SAAQ,UAAU,CAAC,aAAa;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,iDAAiD;IAoG7D,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,+BAA+B,EAAE,+BAA+B,CAAC;IACjE,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,gCAAgC,EAAE,gCAAgC,CAAC;IACnE,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,QAAQ,EAAE,QAAQ,CAAC;IACnB,cAAc,EAAE,cAAc,CAAC;IAC/B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,UAAU,CAAC;IACvB,wCAAwC,EAAE,wCAAwC,CAAC;IACnF,SAAS,EAAE,SAAS,CAAC;CACtB"}
1
+ {"version":3,"file":"applicationInsightsManagementClient.d.ts","sourceRoot":"","sources":["../../src/applicationInsightsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAuB7C,OAAO,EACL,UAAU,EACV,WAAW,EACX,OAAO,EACP,oBAAoB,EACpB,+BAA+B,EAC/B,oBAAoB,EACpB,4BAA4B,EAC5B,0BAA0B,EAC1B,gCAAgC,EAChC,sBAAsB,EACtB,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,wCAAwC,EACxC,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iDAAiD,EAAE,MAAM,mBAAmB,CAAC;AAEtF,qBAAa,mCAAoC,SAAQ,UAAU,CAAC,aAAa;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,iDAAiD;gBAG3D,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,OAAO,CAAC,EAAE,iDAAiD;IA+G7D,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,+BAA+B,EAAE,+BAA+B,CAAC;IACjE,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,gCAAgC,EAAE,gCAAgC,CAAC;IACnE,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,QAAQ,EAAE,QAAQ,CAAC;IACnB,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,SAAS,CAAC;IACrB,wCAAwC,EAAE,wCAAwC,CAAC;IACnF,gBAAgB,EAAE,gBAAgB,CAAC;CACpC"}
@@ -13,19 +13,17 @@ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
13
  const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
14
14
  const index_js_1 = require("./operations/index.js");
15
15
  class ApplicationInsightsManagementClient extends coreClient.ServiceClient {
16
- /**
17
- * Initializes a new instance of the ApplicationInsightsManagementClient class.
18
- * @param credentials Subscription credentials which uniquely identify client subscription.
19
- * @param subscriptionId The ID of the target subscription.
20
- * @param options The parameter options
21
- */
22
- constructor(credentials, subscriptionId, options) {
16
+ constructor(credentials, subscriptionIdOrOptions, options) {
23
17
  var _a, _b, _c;
24
18
  if (credentials === undefined) {
25
19
  throw new Error("'credentials' cannot be null");
26
20
  }
27
- if (subscriptionId === undefined) {
28
- throw new Error("'subscriptionId' cannot be null");
21
+ let subscriptionId;
22
+ if (typeof subscriptionIdOrOptions === "string") {
23
+ subscriptionId = subscriptionIdOrOptions;
24
+ }
25
+ else if (typeof subscriptionIdOrOptions === "object") {
26
+ options = subscriptionIdOrOptions;
29
27
  }
30
28
  // Initializing default values for options
31
29
  if (!options) {
@@ -33,14 +31,14 @@ class ApplicationInsightsManagementClient extends coreClient.ServiceClient {
33
31
  }
34
32
  const defaults = {
35
33
  requestContentType: "application/json; charset=utf-8",
36
- credential: credentials
34
+ credential: credentials,
37
35
  };
38
36
  const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.8`;
39
37
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
40
38
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
41
39
  : `${packageDetails}`;
42
40
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
43
- userAgentPrefix
41
+ userAgentPrefix,
44
42
  }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
45
43
  super(optionsWithDefaults);
46
44
  let bearerTokenAuthenticationPolicyFound = false;
@@ -54,39 +52,43 @@ class ApplicationInsightsManagementClient extends coreClient.ServiceClient {
54
52
  options.pipeline.getOrderedPolicies().length == 0 ||
55
53
  !bearerTokenAuthenticationPolicyFound) {
56
54
  this.pipeline.removePolicy({
57
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
55
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
58
56
  });
59
57
  this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
60
58
  credential: credentials,
61
59
  scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
62
60
  challengeCallbacks: {
63
- authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
64
- }
61
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
62
+ },
65
63
  }));
66
64
  }
67
65
  // Parameter assignments
68
66
  this.subscriptionId = subscriptionId;
69
67
  // Assigning values to Constant parameters
70
68
  this.$host = options.$host || "https://management.azure.com";
69
+ this.components = new index_js_1.ComponentsImpl(this);
71
70
  this.annotations = new index_js_1.AnnotationsImpl(this);
72
71
  this.aPIKeys = new index_js_1.APIKeysImpl(this);
73
72
  this.exportConfigurations = new index_js_1.ExportConfigurationsImpl(this);
74
- this.componentCurrentBillingFeatures = new index_js_1.ComponentCurrentBillingFeaturesImpl(this);
73
+ this.componentCurrentBillingFeatures =
74
+ new index_js_1.ComponentCurrentBillingFeaturesImpl(this);
75
75
  this.componentQuotaStatus = new index_js_1.ComponentQuotaStatusImpl(this);
76
76
  this.componentFeatureCapabilities = new index_js_1.ComponentFeatureCapabilitiesImpl(this);
77
77
  this.componentAvailableFeatures = new index_js_1.ComponentAvailableFeaturesImpl(this);
78
- this.proactiveDetectionConfigurations = new index_js_1.ProactiveDetectionConfigurationsImpl(this);
78
+ this.proactiveDetectionConfigurations =
79
+ new index_js_1.ProactiveDetectionConfigurationsImpl(this);
79
80
  this.workItemConfigurations = new index_js_1.WorkItemConfigurationsImpl(this);
80
81
  this.favorites = new index_js_1.FavoritesImpl(this);
81
82
  this.webTestLocations = new index_js_1.WebTestLocationsImpl(this);
82
83
  this.webTests = new index_js_1.WebTestsImpl(this);
83
84
  this.analyticsItems = new index_js_1.AnalyticsItemsImpl(this);
85
+ this.operations = new index_js_1.OperationsImpl(this);
84
86
  this.workbookTemplates = new index_js_1.WorkbookTemplatesImpl(this);
85
- this.myWorkbooks = new index_js_1.MyWorkbooksImpl(this);
86
87
  this.workbooks = new index_js_1.WorkbooksImpl(this);
87
- this.components = new index_js_1.ComponentsImpl(this);
88
- this.componentLinkedStorageAccountsOperations = new index_js_1.ComponentLinkedStorageAccountsOperationsImpl(this);
89
88
  this.liveToken = new index_js_1.LiveTokenImpl(this);
89
+ this.componentLinkedStorageAccountsOperations =
90
+ new index_js_1.ComponentLinkedStorageAccountsOperationsImpl(this);
91
+ this.deletedWorkbooks = new index_js_1.DeletedWorkbooksImpl(this);
90
92
  }
91
93
  }
92
94
  exports.ApplicationInsightsManagementClient = ApplicationInsightsManagementClient;
@@ -1 +1 @@
1
- {"version":3,"file":"applicationInsightsManagementClient.js","s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C;QACF,IAAI,CAAC,oBAAoB,GAAG,IAAI,mCAAwB,CAAC,IAAI,CAAC,CAAC;QAC/D,IAAI,CAAC,4BAA4B,GAAG,IAAI,2CAAgC,CACtE,IAAI,CACL,CAAC;QACF,IAAI,CAAC,0BAA0B,GAAG,IAAI,yCAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,gCAAgC,GAAG,IAAI,+CAAoC,CAC9E,IAAI,CACL,CAAC;QACF,IAAI,CAAC,sBAAsB,GAAG,IAAI,qCAA0B,CAAC,IAAI,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,GAAG,IAAI,wBAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,gBAAgB,GAAG,IAAI,+BAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,QAAQ,GAAG,IAAI,uBAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,cAAc,GAAG,IAAI,6BAAkB,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,iBAAiB,GAAG,IAAI,gCAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,WAAW,GAAG,IAAI,0BAAe,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,SAAS,GAAG,IAAI,wBAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,UAAU,GAAG,IAAI,yBAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,wCAAwC,GAAG,IAAI,uDAA4C,CAC9F,IAAI,CACL,CAAC;QACF,IAAI,CAAC,SAAS,GAAG,IAAI,wBAAa,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;CAqBF;AApID,kFAoIC","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AnnotationsImpl,\n APIKeysImpl,\n ExportConfigurationsImpl,\n ComponentCurrentBillingFeaturesImpl,\n ComponentQuotaStatusImpl,\n ComponentFeatureCapabilitiesImpl,\n ComponentAvailableFeaturesImpl,\n ProactiveDetectionConfigurationsImpl,\n WorkItemConfigurationsImpl,\n FavoritesImpl,\n WebTestLocationsImpl,\n WebTestsImpl,\n AnalyticsItemsImpl,\n WorkbookTemplatesImpl,\n MyWorkbooksImpl,\n WorkbooksImpl,\n ComponentsImpl,\n ComponentLinkedStorageAccountsOperationsImpl,\n LiveTokenImpl\n} from \"./operations/index.js\";\nimport {\n Annotations,\n APIKeys,\n ExportConfigurations,\n ComponentCurrentBillingFeatures,\n ComponentQuotaStatus,\n ComponentFeatureCapabilities,\n ComponentAvailableFeatures,\n ProactiveDetectionConfigurations,\n WorkItemConfigurations,\n Favorites,\n WebTestLocations,\n WebTests,\n AnalyticsItems,\n WorkbookTemplates,\n MyWorkbooks,\n Workbooks,\n Components,\n ComponentLinkedStorageAccountsOperations,\n LiveToken\n} from \"./operationsInterfaces/index.js\";\nimport { ApplicationInsightsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ApplicationInsightsManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ApplicationInsightsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ApplicationInsightsManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ApplicationInsightsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.8`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.annotations = new AnnotationsImpl(this);\n this.aPIKeys = new APIKeysImpl(this);\n this.exportConfigurations = new ExportConfigurationsImpl(this);\n this.componentCurrentBillingFeatures = new ComponentCurrentBillingFeaturesImpl(\n this\n );\n this.componentQuotaStatus = new ComponentQuotaStatusImpl(this);\n this.componentFeatureCapabilities = new ComponentFeatureCapabilitiesImpl(\n this\n );\n this.componentAvailableFeatures = new ComponentAvailableFeaturesImpl(this);\n this.proactiveDetectionConfigurations = new ProactiveDetectionConfigurationsImpl(\n this\n );\n this.workItemConfigurations = new WorkItemConfigurationsImpl(this);\n this.favorites = new FavoritesImpl(this);\n this.webTestLocations = new WebTestLocationsImpl(this);\n this.webTests = new WebTestsImpl(this);\n this.analyticsItems = new AnalyticsItemsImpl(this);\n this.workbookTemplates = new WorkbookTemplatesImpl(this);\n this.myWorkbooks = new MyWorkbooksImpl(this);\n this.workbooks = new WorkbooksImpl(this);\n this.components = new ComponentsImpl(this);\n this.componentLinkedStorageAccountsOperations = new ComponentLinkedStorageAccountsOperationsImpl(\n this\n );\n this.liveToken = new LiveTokenImpl(this);\n }\n\n annotations: Annotations;\n aPIKeys: APIKeys;\n exportConfigurations: ExportConfigurations;\n componentCurrentBillingFeatures: ComponentCurrentBillingFeatures;\n componentQuotaStatus: ComponentQuotaStatus;\n componentFeatureCapabilities: ComponentFeatureCapabilities;\n componentAvailableFeatures: ComponentAvailableFeatures;\n proactiveDetectionConfigurations: ProactiveDetectionConfigurations;\n workItemConfigurations: WorkItemConfigurations;\n favorites: Favorites;\n webTestLocations: WebTestLocations;\n webTests: WebTests;\n analyticsItems: AnalyticsItems;\n workbookTemplates: WorkbookTemplates;\n myWorkbooks: MyWorkbooks;\n workbooks: Workbooks;\n components: Components;\n componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;\n liveToken: LiveToken;\n}\n"]}
1
+ {"version":3,"file":"applicationInsightsManagementClient.js","sourceRoot":"","sources":["../../src/applicationInsightsManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAE9D,oDAqB+B;AAyB/B,MAAa,mCAAoC,SAAQ,UAAU,CAAC,aAAa;IAmB/E,YACE,WAAqC,EACrC,uBAEU,EACV,OAA2D;;QAE3D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BA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,IAAI,CACL,CAAC;QACF,IAAI,CAAC,0BAA0B,GAAG,IAAI,yCAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,gCAAgC;YACnC,IAAI,+CAAoC,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,sBAAsB,GAAG,IAAI,qCAA0B,CAAC,IAAI,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,GAAG,IAAI,wBAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,gBAAgB,GAAG,IAAI,+BAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,QAAQ,GAAG,IAAI,uBAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,cAAc,GAAG,IAAI,6BAAkB,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,UAAU,GAAG,IAAI,yBAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,iBAAiB,GAAG,IAAI,gCAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,SAAS,GAAG,IAAI,wBAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,SAAS,GAAG,IAAI,wBAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,wCAAwC;YAC3C,IAAI,uDAA4C,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,gBAAgB,GAAG,IAAI,+BAAoB,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;CAsBF;AApJD,kFAoJC","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ComponentsImpl,\n AnnotationsImpl,\n APIKeysImpl,\n ExportConfigurationsImpl,\n ComponentCurrentBillingFeaturesImpl,\n ComponentQuotaStatusImpl,\n ComponentFeatureCapabilitiesImpl,\n ComponentAvailableFeaturesImpl,\n ProactiveDetectionConfigurationsImpl,\n WorkItemConfigurationsImpl,\n FavoritesImpl,\n WebTestLocationsImpl,\n WebTestsImpl,\n AnalyticsItemsImpl,\n OperationsImpl,\n WorkbookTemplatesImpl,\n WorkbooksImpl,\n LiveTokenImpl,\n ComponentLinkedStorageAccountsOperationsImpl,\n DeletedWorkbooksImpl,\n} from \"./operations/index.js\";\nimport {\n Components,\n Annotations,\n APIKeys,\n ExportConfigurations,\n ComponentCurrentBillingFeatures,\n ComponentQuotaStatus,\n ComponentFeatureCapabilities,\n ComponentAvailableFeatures,\n ProactiveDetectionConfigurations,\n WorkItemConfigurations,\n Favorites,\n WebTestLocations,\n WebTests,\n AnalyticsItems,\n Operations,\n WorkbookTemplates,\n Workbooks,\n LiveToken,\n ComponentLinkedStorageAccountsOperations,\n DeletedWorkbooks,\n} from \"./operationsInterfaces/index.js\";\nimport { ApplicationInsightsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ApplicationInsightsManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the ApplicationInsightsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ApplicationInsightsManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: ApplicationInsightsManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?:\n | ApplicationInsightsManagementClientOptionalParams\n | string,\n options?: ApplicationInsightsManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ApplicationInsightsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.8`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.components = new ComponentsImpl(this);\n this.annotations = new AnnotationsImpl(this);\n this.aPIKeys = new APIKeysImpl(this);\n this.exportConfigurations = new ExportConfigurationsImpl(this);\n this.componentCurrentBillingFeatures =\n new ComponentCurrentBillingFeaturesImpl(this);\n this.componentQuotaStatus = new ComponentQuotaStatusImpl(this);\n this.componentFeatureCapabilities = new ComponentFeatureCapabilitiesImpl(\n this,\n );\n this.componentAvailableFeatures = new ComponentAvailableFeaturesImpl(this);\n this.proactiveDetectionConfigurations =\n new ProactiveDetectionConfigurationsImpl(this);\n this.workItemConfigurations = new WorkItemConfigurationsImpl(this);\n this.favorites = new FavoritesImpl(this);\n this.webTestLocations = new WebTestLocationsImpl(this);\n this.webTests = new WebTestsImpl(this);\n this.analyticsItems = new AnalyticsItemsImpl(this);\n this.operations = new OperationsImpl(this);\n this.workbookTemplates = new WorkbookTemplatesImpl(this);\n this.workbooks = new WorkbooksImpl(this);\n this.liveToken = new LiveTokenImpl(this);\n this.componentLinkedStorageAccountsOperations =\n new ComponentLinkedStorageAccountsOperationsImpl(this);\n this.deletedWorkbooks = new DeletedWorkbooksImpl(this);\n }\n\n components: Components;\n annotations: Annotations;\n aPIKeys: APIKeys;\n exportConfigurations: ExportConfigurations;\n componentCurrentBillingFeatures: ComponentCurrentBillingFeatures;\n componentQuotaStatus: ComponentQuotaStatus;\n componentFeatureCapabilities: ComponentFeatureCapabilities;\n componentAvailableFeatures: ComponentAvailableFeatures;\n proactiveDetectionConfigurations: ProactiveDetectionConfigurations;\n workItemConfigurations: WorkItemConfigurations;\n favorites: Favorites;\n webTestLocations: WebTestLocations;\n webTests: WebTests;\n analyticsItems: AnalyticsItems;\n operations: Operations;\n workbookTemplates: WorkbookTemplates;\n workbooks: Workbooks;\n liveToken: LiveToken;\n componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;\n deletedWorkbooks: DeletedWorkbooks;\n}\n"]}