@azure/arm-appinsights 3.1.1 → 5.0.0-beta.2

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 (440) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +7666 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/applicationInsightsManagementClient.d.ts +35 -0
  9. package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/applicationInsightsManagementClient.js +68 -0
  11. package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +2107 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +133 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +88 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +1580 -1028
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +63 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +515 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/aPIKeys.d.ts +55 -0
  29. package/dist-esm/src/operations/aPIKeys.d.ts.map +1 -0
  30. package/dist-esm/src/operations/aPIKeys.js +185 -0
  31. package/dist-esm/src/operations/aPIKeys.js.map +1 -0
  32. package/dist-esm/src/operations/analyticsItems.d.ts +51 -0
  33. package/dist-esm/src/operations/analyticsItems.d.ts.map +1 -0
  34. package/dist-esm/src/operations/analyticsItems.js +157 -0
  35. package/dist-esm/src/operations/analyticsItems.js.map +1 -0
  36. package/dist-esm/src/operations/annotations.d.ts +63 -0
  37. package/dist-esm/src/operations/annotations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/annotations.js +207 -0
  39. package/dist-esm/src/operations/annotations.js.map +1 -0
  40. package/dist-esm/src/operations/componentAvailableFeatures.d.ts +20 -0
  41. package/dist-esm/src/operations/componentAvailableFeatures.d.ts.map +1 -0
  42. package/dist-esm/src/operations/componentAvailableFeatures.js +50 -0
  43. package/dist-esm/src/operations/componentAvailableFeatures.js.map +1 -0
  44. package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts +29 -0
  45. package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts.map +1 -0
  46. package/dist-esm/src/operations/componentCurrentBillingFeatures.js +81 -0
  47. package/dist-esm/src/operations/componentCurrentBillingFeatures.js.map +1 -0
  48. package/dist-esm/src/operations/componentFeatureCapabilities.d.ts +20 -0
  49. package/dist-esm/src/operations/componentFeatureCapabilities.d.ts.map +1 -0
  50. package/dist-esm/src/operations/componentFeatureCapabilities.js +50 -0
  51. package/dist-esm/src/operations/componentFeatureCapabilities.js.map +1 -0
  52. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts +53 -0
  53. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js +174 -0
  55. package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js.map +1 -0
  56. package/dist-esm/src/operations/componentQuotaStatus.d.ts +20 -0
  57. package/dist-esm/src/operations/componentQuotaStatus.d.ts.map +1 -0
  58. package/dist-esm/src/operations/componentQuotaStatus.js +50 -0
  59. package/dist-esm/src/operations/componentQuotaStatus.js.map +1 -0
  60. package/dist-esm/src/operations/components.d.ts +108 -0
  61. package/dist-esm/src/operations/components.d.ts.map +1 -0
  62. package/dist-esm/src/operations/components.js +430 -0
  63. package/dist-esm/src/operations/components.js.map +1 -0
  64. package/dist-esm/src/operations/exportConfigurations.d.ts +58 -0
  65. package/dist-esm/src/operations/exportConfigurations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/exportConfigurations.js +195 -0
  67. package/dist-esm/src/operations/exportConfigurations.js.map +1 -0
  68. package/dist-esm/src/operations/favorites.d.ts +55 -0
  69. package/dist-esm/src/operations/favorites.d.ts.map +1 -0
  70. package/dist-esm/src/operations/favorites.js +196 -0
  71. package/dist-esm/src/operations/favorites.js.map +1 -0
  72. package/{esm → dist-esm/src}/operations/index.d.ts +2 -2
  73. package/dist-esm/src/operations/index.d.ts.map +1 -0
  74. package/{esm → dist-esm/src}/operations/index.js +5 -7
  75. package/dist-esm/src/operations/index.js.map +1 -0
  76. package/dist-esm/src/operations/liveToken.d.ts +19 -0
  77. package/dist-esm/src/operations/liveToken.d.ts.map +1 -0
  78. package/dist-esm/src/operations/liveToken.js +47 -0
  79. package/dist-esm/src/operations/liveToken.js.map +1 -0
  80. package/dist-esm/src/operations/myWorkbooks.d.ts +89 -0
  81. package/dist-esm/src/operations/myWorkbooks.d.ts.map +1 -0
  82. package/dist-esm/src/operations/myWorkbooks.js +387 -0
  83. package/dist-esm/src/operations/myWorkbooks.js.map +1 -0
  84. package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts +40 -0
  85. package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/proactiveDetectionConfigurations.js +130 -0
  87. package/dist-esm/src/operations/proactiveDetectionConfigurations.js.map +1 -0
  88. package/dist-esm/src/operations/webTestLocations.d.ts +30 -0
  89. package/dist-esm/src/operations/webTestLocations.d.ts.map +1 -0
  90. package/dist-esm/src/operations/webTestLocations.js +96 -0
  91. package/dist-esm/src/operations/webTestLocations.js.map +1 -0
  92. package/dist-esm/src/operations/webTests.d.ts +108 -0
  93. package/dist-esm/src/operations/webTests.d.ts.map +1 -0
  94. package/dist-esm/src/operations/webTests.js +435 -0
  95. package/dist-esm/src/operations/webTests.js.map +1 -0
  96. package/dist-esm/src/operations/workItemConfigurations.d.ts +75 -0
  97. package/dist-esm/src/operations/workItemConfigurations.d.ts.map +1 -0
  98. package/dist-esm/src/operations/workItemConfigurations.js +257 -0
  99. package/dist-esm/src/operations/workItemConfigurations.js.map +1 -0
  100. package/dist-esm/src/operations/workbookTemplates.d.ts +57 -0
  101. package/dist-esm/src/operations/workbookTemplates.d.ts.map +1 -0
  102. package/dist-esm/src/operations/workbookTemplates.js +223 -0
  103. package/dist-esm/src/operations/workbookTemplates.js.map +1 -0
  104. package/dist-esm/src/operations/workbooks.d.ts +120 -0
  105. package/dist-esm/src/operations/workbooks.d.ts.map +1 -0
  106. package/dist-esm/src/operations/workbooks.js +530 -0
  107. package/dist-esm/src/operations/workbooks.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts +38 -0
  109. package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/aPIKeys.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/aPIKeys.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts +43 -0
  113. package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/analyticsItems.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/analyticsItems.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/annotations.d.ts +43 -0
  117. package/dist-esm/src/operationsInterfaces/annotations.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/annotations.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/annotations.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts +12 -0
  121. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts +21 -0
  125. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts +12 -0
  129. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts +45 -0
  133. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts +12 -0
  137. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/components.d.ts +72 -0
  141. package/dist-esm/src/operationsInterfaces/components.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/components.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/components.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts +50 -0
  145. package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/exportConfigurations.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/exportConfigurations.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/favorites.d.ts +47 -0
  149. package/dist-esm/src/operationsInterfaces/favorites.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/favorites.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/favorites.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/index.d.ts +20 -0
  153. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/index.js +27 -0
  155. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/liveToken.d.ts +11 -0
  157. package/dist-esm/src/operationsInterfaces/liveToken.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/liveToken.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/liveToken.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts +49 -0
  161. package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/myWorkbooks.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/myWorkbooks.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts +32 -0
  165. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts +13 -0
  169. package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/webTestLocations.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/webTestLocations.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/webTests.d.ts +55 -0
  173. package/dist-esm/src/operationsInterfaces/webTests.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/webTests.js +9 -0
  175. package/dist-esm/src/operationsInterfaces/webTests.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts +58 -0
  177. package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/workItemConfigurations.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/workItemConfigurations.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts +41 -0
  181. package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/workbookTemplates.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/workbookTemplates.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/workbooks.d.ts +63 -0
  185. package/dist-esm/src/operationsInterfaces/workbooks.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/workbooks.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/workbooks.js.map +1 -0
  188. package/dist-esm/test/sampleTest.d.ts +2 -0
  189. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  190. package/dist-esm/test/sampleTest.js +40 -0
  191. package/dist-esm/test/sampleTest.js.map +1 -0
  192. package/package.json +72 -23
  193. package/review/arm-appinsights.api.md +1776 -0
  194. package/rollup.config.js +181 -30
  195. package/src/applicationInsightsManagementClient.ts +144 -71
  196. package/src/index.ts +12 -0
  197. package/src/models/index.ts +1634 -2500
  198. package/src/models/mappers.ts +1679 -1084
  199. package/src/models/parameters.ts +370 -186
  200. package/src/operations/aPIKeys.ts +155 -191
  201. package/src/operations/analyticsItems.ts +122 -240
  202. package/src/operations/annotations.ts +187 -214
  203. package/src/operations/componentAvailableFeatures.ts +40 -57
  204. package/src/operations/componentCurrentBillingFeatures.ts +66 -110
  205. package/src/operations/componentFeatureCapabilities.ts +40 -57
  206. package/src/operations/componentLinkedStorageAccountsOperations.ts +128 -182
  207. package/src/operations/componentQuotaStatus.ts +39 -57
  208. package/src/operations/components.ts +340 -425
  209. package/src/operations/exportConfigurations.ts +139 -264
  210. package/src/operations/favorites.ts +134 -242
  211. package/src/operations/index.ts +5 -7
  212. package/src/operations/liveToken.ts +30 -50
  213. package/src/operations/myWorkbooks.ts +360 -252
  214. package/src/operations/proactiveDetectionConfigurations.ts +97 -160
  215. package/src/operations/webTestLocations.ts +86 -53
  216. package/src/operations/webTests.ts +391 -411
  217. package/src/operations/workItemConfigurations.ts +202 -283
  218. package/src/operations/workbookTemplates.ts +286 -0
  219. package/src/operations/workbooks.ts +558 -196
  220. package/src/operationsInterfaces/aPIKeys.ts +76 -0
  221. package/src/operationsInterfaces/analyticsItems.ts +82 -0
  222. package/src/operationsInterfaces/annotations.ts +81 -0
  223. package/src/operationsInterfaces/componentAvailableFeatures.ts +27 -0
  224. package/src/operationsInterfaces/componentCurrentBillingFeatures.ts +44 -0
  225. package/src/operationsInterfaces/componentFeatureCapabilities.ts +27 -0
  226. package/src/operationsInterfaces/componentLinkedStorageAccountsOperations.ts +86 -0
  227. package/src/operationsInterfaces/componentQuotaStatus.ts +27 -0
  228. package/src/operationsInterfaces/components.ts +131 -0
  229. package/src/operationsInterfaces/exportConfigurations.ts +95 -0
  230. package/src/operationsInterfaces/favorites.ts +92 -0
  231. package/src/operationsInterfaces/index.ts +27 -0
  232. package/src/operationsInterfaces/liveToken.ts +22 -0
  233. package/src/operationsInterfaces/myWorkbooks.ts +95 -0
  234. package/src/operationsInterfaces/proactiveDetectionConfigurations.ts +63 -0
  235. package/src/operationsInterfaces/webTestLocations.ts +29 -0
  236. package/src/operationsInterfaces/webTests.ts +104 -0
  237. package/src/operationsInterfaces/workItemConfigurations.ts +109 -0
  238. package/src/operationsInterfaces/workbookTemplates.ts +80 -0
  239. package/src/operationsInterfaces/workbooks.ts +120 -0
  240. package/tsconfig.json +14 -6
  241. package/types/arm-appinsights.d.ts +3117 -0
  242. package/types/tsdoc-metadata.json +11 -0
  243. package/dist/arm-appinsights.js +0 -6626
  244. package/dist/arm-appinsights.js.map +0 -1
  245. package/dist/arm-appinsights.min.js +0 -1
  246. package/dist/arm-appinsights.min.js.map +0 -1
  247. package/esm/applicationInsightsManagementClient.d.ts +0 -42
  248. package/esm/applicationInsightsManagementClient.d.ts.map +0 -1
  249. package/esm/applicationInsightsManagementClient.js +0 -56
  250. package/esm/applicationInsightsManagementClient.js.map +0 -1
  251. package/esm/applicationInsightsManagementClientContext.d.ts +0 -21
  252. package/esm/applicationInsightsManagementClientContext.d.ts.map +0 -1
  253. package/esm/applicationInsightsManagementClientContext.js +0 -60
  254. package/esm/applicationInsightsManagementClientContext.js.map +0 -1
  255. package/esm/models/aPIKeysMappers.d.ts +0 -2
  256. package/esm/models/aPIKeysMappers.d.ts.map +0 -1
  257. package/esm/models/aPIKeysMappers.js +0 -9
  258. package/esm/models/aPIKeysMappers.js.map +0 -1
  259. package/esm/models/analyticsItemsMappers.d.ts +0 -2
  260. package/esm/models/analyticsItemsMappers.d.ts.map +0 -1
  261. package/esm/models/analyticsItemsMappers.js +0 -9
  262. package/esm/models/analyticsItemsMappers.js.map +0 -1
  263. package/esm/models/annotationsMappers.d.ts +0 -2
  264. package/esm/models/annotationsMappers.d.ts.map +0 -1
  265. package/esm/models/annotationsMappers.js +0 -9
  266. package/esm/models/annotationsMappers.js.map +0 -1
  267. package/esm/models/componentAvailableFeaturesMappers.d.ts +0 -2
  268. package/esm/models/componentAvailableFeaturesMappers.d.ts.map +0 -1
  269. package/esm/models/componentAvailableFeaturesMappers.js +0 -9
  270. package/esm/models/componentAvailableFeaturesMappers.js.map +0 -1
  271. package/esm/models/componentCurrentBillingFeaturesMappers.d.ts +0 -2
  272. package/esm/models/componentCurrentBillingFeaturesMappers.d.ts.map +0 -1
  273. package/esm/models/componentCurrentBillingFeaturesMappers.js +0 -9
  274. package/esm/models/componentCurrentBillingFeaturesMappers.js.map +0 -1
  275. package/esm/models/componentFeatureCapabilitiesMappers.d.ts +0 -2
  276. package/esm/models/componentFeatureCapabilitiesMappers.d.ts.map +0 -1
  277. package/esm/models/componentFeatureCapabilitiesMappers.js +0 -9
  278. package/esm/models/componentFeatureCapabilitiesMappers.js.map +0 -1
  279. package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts +0 -2
  280. package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts.map +0 -1
  281. package/esm/models/componentLinkedStorageAccountsOperationsMappers.js +0 -9
  282. package/esm/models/componentLinkedStorageAccountsOperationsMappers.js.map +0 -1
  283. package/esm/models/componentQuotaStatusMappers.d.ts +0 -2
  284. package/esm/models/componentQuotaStatusMappers.d.ts.map +0 -1
  285. package/esm/models/componentQuotaStatusMappers.js +0 -9
  286. package/esm/models/componentQuotaStatusMappers.js.map +0 -1
  287. package/esm/models/componentsMappers.d.ts +0 -2
  288. package/esm/models/componentsMappers.d.ts.map +0 -1
  289. package/esm/models/componentsMappers.js +0 -9
  290. package/esm/models/componentsMappers.js.map +0 -1
  291. package/esm/models/exportConfigurationsMappers.d.ts +0 -2
  292. package/esm/models/exportConfigurationsMappers.d.ts.map +0 -1
  293. package/esm/models/exportConfigurationsMappers.js +0 -9
  294. package/esm/models/exportConfigurationsMappers.js.map +0 -1
  295. package/esm/models/favoritesMappers.d.ts +0 -2
  296. package/esm/models/favoritesMappers.d.ts.map +0 -1
  297. package/esm/models/favoritesMappers.js +0 -9
  298. package/esm/models/favoritesMappers.js.map +0 -1
  299. package/esm/models/index.d.ts +0 -3038
  300. package/esm/models/index.d.ts.map +0 -1
  301. package/esm/models/index.js +0 -8
  302. package/esm/models/index.js.map +0 -1
  303. package/esm/models/liveTokenMappers.d.ts +0 -2
  304. package/esm/models/liveTokenMappers.d.ts.map +0 -1
  305. package/esm/models/liveTokenMappers.js +0 -9
  306. package/esm/models/liveTokenMappers.js.map +0 -1
  307. package/esm/models/mappers.d.ts +0 -69
  308. package/esm/models/mappers.d.ts.map +0 -1
  309. package/esm/models/mappers.js.map +0 -1
  310. package/esm/models/myWorkbooksMappers.d.ts +0 -2
  311. package/esm/models/myWorkbooksMappers.d.ts.map +0 -1
  312. package/esm/models/myWorkbooksMappers.js +0 -9
  313. package/esm/models/myWorkbooksMappers.js.map +0 -1
  314. package/esm/models/operationsMappers.d.ts +0 -2
  315. package/esm/models/operationsMappers.d.ts.map +0 -1
  316. package/esm/models/operationsMappers.js +0 -9
  317. package/esm/models/operationsMappers.js.map +0 -1
  318. package/esm/models/parameters.d.ts +0 -36
  319. package/esm/models/parameters.d.ts.map +0 -1
  320. package/esm/models/parameters.js +0 -416
  321. package/esm/models/parameters.js.map +0 -1
  322. package/esm/models/proactiveDetectionConfigurationsMappers.d.ts +0 -2
  323. package/esm/models/proactiveDetectionConfigurationsMappers.d.ts.map +0 -1
  324. package/esm/models/proactiveDetectionConfigurationsMappers.js +0 -9
  325. package/esm/models/proactiveDetectionConfigurationsMappers.js.map +0 -1
  326. package/esm/models/webTestLocationsMappers.d.ts +0 -2
  327. package/esm/models/webTestLocationsMappers.d.ts.map +0 -1
  328. package/esm/models/webTestLocationsMappers.js +0 -9
  329. package/esm/models/webTestLocationsMappers.js.map +0 -1
  330. package/esm/models/webTestsMappers.d.ts +0 -2
  331. package/esm/models/webTestsMappers.d.ts.map +0 -1
  332. package/esm/models/webTestsMappers.js +0 -9
  333. package/esm/models/webTestsMappers.js.map +0 -1
  334. package/esm/models/workItemConfigurationsMappers.d.ts +0 -2
  335. package/esm/models/workItemConfigurationsMappers.d.ts.map +0 -1
  336. package/esm/models/workItemConfigurationsMappers.js +0 -9
  337. package/esm/models/workItemConfigurationsMappers.js.map +0 -1
  338. package/esm/models/workbooksMappers.d.ts +0 -2
  339. package/esm/models/workbooksMappers.d.ts.map +0 -1
  340. package/esm/models/workbooksMappers.js +0 -9
  341. package/esm/models/workbooksMappers.js.map +0 -1
  342. package/esm/operations/aPIKeys.d.ts +0 -109
  343. package/esm/operations/aPIKeys.d.ts.map +0 -1
  344. package/esm/operations/aPIKeys.js +0 -161
  345. package/esm/operations/aPIKeys.js.map +0 -1
  346. package/esm/operations/analyticsItems.d.ts +0 -139
  347. package/esm/operations/analyticsItems.d.ts.map +0 -1
  348. package/esm/operations/analyticsItems.js +0 -182
  349. package/esm/operations/analyticsItems.js.map +0 -1
  350. package/esm/operations/annotations.d.ts +0 -124
  351. package/esm/operations/annotations.d.ts.map +0 -1
  352. package/esm/operations/annotations.js +0 -185
  353. package/esm/operations/annotations.js.map +0 -1
  354. package/esm/operations/componentAvailableFeatures.d.ts +0 -34
  355. package/esm/operations/componentAvailableFeatures.d.ts.map +0 -1
  356. package/esm/operations/componentAvailableFeatures.js +0 -58
  357. package/esm/operations/componentAvailableFeatures.js.map +0 -1
  358. package/esm/operations/componentCurrentBillingFeatures.d.ts +0 -61
  359. package/esm/operations/componentCurrentBillingFeatures.d.ts.map +0 -1
  360. package/esm/operations/componentCurrentBillingFeatures.js +0 -95
  361. package/esm/operations/componentCurrentBillingFeatures.js.map +0 -1
  362. package/esm/operations/componentFeatureCapabilities.d.ts +0 -34
  363. package/esm/operations/componentFeatureCapabilities.d.ts.map +0 -1
  364. package/esm/operations/componentFeatureCapabilities.js +0 -58
  365. package/esm/operations/componentFeatureCapabilities.js.map +0 -1
  366. package/esm/operations/componentLinkedStorageAccountsOperations.d.ts +0 -109
  367. package/esm/operations/componentLinkedStorageAccountsOperations.d.ts.map +0 -1
  368. package/esm/operations/componentLinkedStorageAccountsOperations.js +0 -165
  369. package/esm/operations/componentLinkedStorageAccountsOperations.js.map +0 -1
  370. package/esm/operations/componentQuotaStatus.d.ts +0 -34
  371. package/esm/operations/componentQuotaStatus.d.ts.map +0 -1
  372. package/esm/operations/componentQuotaStatus.js +0 -58
  373. package/esm/operations/componentQuotaStatus.js.map +0 -1
  374. package/esm/operations/components.d.ts +0 -236
  375. package/esm/operations/components.d.ts.map +0 -1
  376. package/esm/operations/components.js +0 -344
  377. package/esm/operations/components.js.map +0 -1
  378. package/esm/operations/exportConfigurations.d.ts +0 -148
  379. package/esm/operations/exportConfigurations.d.ts.map +0 -1
  380. package/esm/operations/exportConfigurations.js +0 -221
  381. package/esm/operations/exportConfigurations.js.map +0 -1
  382. package/esm/operations/favorites.d.ts +0 -139
  383. package/esm/operations/favorites.d.ts.map +0 -1
  384. package/esm/operations/favorites.js +0 -214
  385. package/esm/operations/favorites.js.map +0 -1
  386. package/esm/operations/index.d.ts.map +0 -1
  387. package/esm/operations/index.js.map +0 -1
  388. package/esm/operations/liveToken.d.ts +0 -31
  389. package/esm/operations/liveToken.d.ts.map +0 -1
  390. package/esm/operations/liveToken.js +0 -55
  391. package/esm/operations/liveToken.js.map +0 -1
  392. package/esm/operations/myWorkbooks.d.ts +0 -148
  393. package/esm/operations/myWorkbooks.d.ts.map +0 -1
  394. package/esm/operations/myWorkbooks.js +0 -228
  395. package/esm/operations/myWorkbooks.js.map +0 -1
  396. package/esm/operations/operations.d.ts +0 -81
  397. package/esm/operations/operations.d.ts.map +0 -1
  398. package/esm/operations/operations.js +0 -127
  399. package/esm/operations/operations.js.map +0 -1
  400. package/esm/operations/proactiveDetectionConfigurations.d.ts +0 -94
  401. package/esm/operations/proactiveDetectionConfigurations.d.ts.map +0 -1
  402. package/esm/operations/proactiveDetectionConfigurations.js +0 -141
  403. package/esm/operations/proactiveDetectionConfigurations.js.map +0 -1
  404. package/esm/operations/webTestLocations.d.ts +0 -34
  405. package/esm/operations/webTestLocations.d.ts.map +0 -1
  406. package/esm/operations/webTestLocations.js +0 -58
  407. package/esm/operations/webTestLocations.js.map +0 -1
  408. package/esm/operations/webTests.d.ts +0 -214
  409. package/esm/operations/webTests.d.ts.map +0 -1
  410. package/esm/operations/webTests.js +0 -326
  411. package/esm/operations/webTests.js.map +0 -1
  412. package/esm/operations/workItemConfigurations.d.ts +0 -169
  413. package/esm/operations/workItemConfigurations.d.ts.map +0 -1
  414. package/esm/operations/workItemConfigurations.js +0 -228
  415. package/esm/operations/workItemConfigurations.js.map +0 -1
  416. package/esm/operations/workbooks.d.ts +0 -127
  417. package/esm/operations/workbooks.d.ts.map +0 -1
  418. package/esm/operations/workbooks.js +0 -197
  419. package/esm/operations/workbooks.js.map +0 -1
  420. package/src/applicationInsightsManagementClientContext.ts +0 -66
  421. package/src/models/aPIKeysMappers.ts +0 -14
  422. package/src/models/analyticsItemsMappers.ts +0 -13
  423. package/src/models/annotationsMappers.ts +0 -15
  424. package/src/models/componentAvailableFeaturesMappers.ts +0 -14
  425. package/src/models/componentCurrentBillingFeaturesMappers.ts +0 -13
  426. package/src/models/componentFeatureCapabilitiesMappers.ts +0 -12
  427. package/src/models/componentLinkedStorageAccountsOperationsMappers.ts +0 -31
  428. package/src/models/componentQuotaStatusMappers.ts +0 -12
  429. package/src/models/componentsMappers.ts +0 -36
  430. package/src/models/exportConfigurationsMappers.ts +0 -13
  431. package/src/models/favoritesMappers.ts +0 -12
  432. package/src/models/liveTokenMappers.ts +0 -12
  433. package/src/models/myWorkbooksMappers.ts +0 -32
  434. package/src/models/operationsMappers.ts +0 -18
  435. package/src/models/proactiveDetectionConfigurationsMappers.ts +0 -30
  436. package/src/models/webTestLocationsMappers.ts +0 -13
  437. package/src/models/webTestsMappers.ts +0 -32
  438. package/src/models/workItemConfigurationsMappers.ts +0 -16
  439. package/src/models/workbooksMappers.ts +0 -32
  440. package/src/operations/operations.ts +0 -218
@@ -0,0 +1,89 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { MyWorkbooks } from "../operationsInterfaces";
3
+ import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
4
+ import { MyWorkbook, CategoryType, MyWorkbooksListByResourceGroupOptionalParams, MyWorkbooksListBySubscriptionOptionalParams, MyWorkbooksGetOptionalParams, MyWorkbooksGetResponse, MyWorkbooksDeleteOptionalParams, MyWorkbooksCreateOrUpdateOptionalParams, MyWorkbooksCreateOrUpdateResponse, MyWorkbooksUpdateOptionalParams, MyWorkbooksUpdateResponse } from "../models";
5
+ /** Class containing MyWorkbooks operations. */
6
+ export declare class MyWorkbooksImpl implements MyWorkbooks {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class MyWorkbooks class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: ApplicationInsightsManagementClient);
13
+ /**
14
+ * Get all private workbooks defined within a specified resource group and category.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param category Category of workbook to return.
17
+ * @param options The options parameters.
18
+ */
19
+ listByResourceGroup(resourceGroupName: string, category: CategoryType, options?: MyWorkbooksListByResourceGroupOptionalParams): PagedAsyncIterableIterator<MyWorkbook>;
20
+ private listByResourceGroupPagingPage;
21
+ private listByResourceGroupPagingAll;
22
+ /**
23
+ * Get all private workbooks defined within a specified subscription and category.
24
+ * @param category Category of workbook to return.
25
+ * @param options The options parameters.
26
+ */
27
+ listBySubscription(category: CategoryType, options?: MyWorkbooksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<MyWorkbook>;
28
+ private listBySubscriptionPagingPage;
29
+ private listBySubscriptionPagingAll;
30
+ /**
31
+ * Get all private workbooks defined within a specified resource group and category.
32
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
33
+ * @param category Category of workbook to return.
34
+ * @param options The options parameters.
35
+ */
36
+ private _listByResourceGroup;
37
+ /**
38
+ * Get all private workbooks defined within a specified subscription and category.
39
+ * @param category Category of workbook to return.
40
+ * @param options The options parameters.
41
+ */
42
+ private _listBySubscription;
43
+ /**
44
+ * Get a single private workbook by its resourceName.
45
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
46
+ * @param resourceName The name of the Application Insights component resource.
47
+ * @param options The options parameters.
48
+ */
49
+ get(resourceGroupName: string, resourceName: string, options?: MyWorkbooksGetOptionalParams): Promise<MyWorkbooksGetResponse>;
50
+ /**
51
+ * Delete a private workbook.
52
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
53
+ * @param resourceName The name of the Application Insights component resource.
54
+ * @param options The options parameters.
55
+ */
56
+ delete(resourceGroupName: string, resourceName: string, options?: MyWorkbooksDeleteOptionalParams): Promise<void>;
57
+ /**
58
+ * Create a new private workbook.
59
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
60
+ * @param resourceName The name of the Application Insights component resource.
61
+ * @param workbookProperties Properties that need to be specified to create a new private workbook.
62
+ * @param options The options parameters.
63
+ */
64
+ createOrUpdate(resourceGroupName: string, resourceName: string, workbookProperties: MyWorkbook, options?: MyWorkbooksCreateOrUpdateOptionalParams): Promise<MyWorkbooksCreateOrUpdateResponse>;
65
+ /**
66
+ * Updates a private workbook that has already been added.
67
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
+ * @param resourceName The name of the Application Insights component resource.
69
+ * @param workbookProperties Properties that need to be specified to create a new private workbook.
70
+ * @param options The options parameters.
71
+ */
72
+ update(resourceGroupName: string, resourceName: string, workbookProperties: MyWorkbook, options?: MyWorkbooksUpdateOptionalParams): Promise<MyWorkbooksUpdateResponse>;
73
+ /**
74
+ * ListByResourceGroupNext
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param category Category of workbook to return.
77
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
78
+ * @param options The options parameters.
79
+ */
80
+ private _listByResourceGroupNext;
81
+ /**
82
+ * ListBySubscriptionNext
83
+ * @param category Category of workbook to return.
84
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
85
+ * @param options The options parameters.
86
+ */
87
+ private _listBySubscriptionNext;
88
+ }
89
+ //# sourceMappingURL=myWorkbooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"myWorkbooks.d.ts","sourceRoot":"","sources":["../../../src/operations/myWorkbooks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EACL,UAAU,EACV,YAAY,EAEZ,4CAA4C,EAE5C,2CAA2C,EAG3C,4BA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AE,UAAU,EAC9B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;;;OAMG;IACH,OAAO,CAAC,wBAAwB;IAYhC;;;;;OAKG;IACH,OAAO,CAAC,uBAAuB;CAUhC"}
@@ -0,0 +1,387 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing MyWorkbooks operations. */
14
+ export class MyWorkbooksImpl {
15
+ /**
16
+ * Initialize a new instance of the class MyWorkbooks class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Get all private workbooks defined within a specified resource group and category.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param category Category of workbook to return.
26
+ * @param options The options parameters.
27
+ */
28
+ listByResourceGroup(resourceGroupName, category, options) {
29
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, category, options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listByResourceGroupPagingPage(resourceGroupName, category, options);
39
+ }
40
+ };
41
+ }
42
+ listByResourceGroupPagingPage(resourceGroupName, category, options) {
43
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
44
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, category, options));
45
+ yield yield __await(result.value || []);
46
+ let continuationToken = result.nextLink;
47
+ while (continuationToken) {
48
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, category, continuationToken, options));
49
+ continuationToken = result.nextLink;
50
+ yield yield __await(result.value || []);
51
+ }
52
+ });
53
+ }
54
+ listByResourceGroupPagingAll(resourceGroupName, category, options) {
55
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
56
+ var e_1, _a;
57
+ try {
58
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, category, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
59
+ const page = _c.value;
60
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
61
+ }
62
+ }
63
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
64
+ finally {
65
+ try {
66
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
67
+ }
68
+ finally { if (e_1) throw e_1.error; }
69
+ }
70
+ });
71
+ }
72
+ /**
73
+ * Get all private workbooks defined within a specified subscription and category.
74
+ * @param category Category of workbook to return.
75
+ * @param options The options parameters.
76
+ */
77
+ listBySubscription(category, options) {
78
+ const iter = this.listBySubscriptionPagingAll(category, options);
79
+ return {
80
+ next() {
81
+ return iter.next();
82
+ },
83
+ [Symbol.asyncIterator]() {
84
+ return this;
85
+ },
86
+ byPage: () => {
87
+ return this.listBySubscriptionPagingPage(category, options);
88
+ }
89
+ };
90
+ }
91
+ listBySubscriptionPagingPage(category, options) {
92
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
93
+ let result = yield __await(this._listBySubscription(category, options));
94
+ yield yield __await(result.value || []);
95
+ let continuationToken = result.nextLink;
96
+ while (continuationToken) {
97
+ result = yield __await(this._listBySubscriptionNext(category, continuationToken, options));
98
+ continuationToken = result.nextLink;
99
+ yield yield __await(result.value || []);
100
+ }
101
+ });
102
+ }
103
+ listBySubscriptionPagingAll(category, options) {
104
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
105
+ var e_2, _a;
106
+ try {
107
+ for (var _b = __asyncValues(this.listBySubscriptionPagingPage(category, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
108
+ const page = _c.value;
109
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
110
+ }
111
+ }
112
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
113
+ finally {
114
+ try {
115
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
116
+ }
117
+ finally { if (e_2) throw e_2.error; }
118
+ }
119
+ });
120
+ }
121
+ /**
122
+ * Get all private workbooks defined within a specified resource group and category.
123
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
124
+ * @param category Category of workbook to return.
125
+ * @param options The options parameters.
126
+ */
127
+ _listByResourceGroup(resourceGroupName, category, options) {
128
+ return this.client.sendOperationRequest({ resourceGroupName, category, options }, listByResourceGroupOperationSpec);
129
+ }
130
+ /**
131
+ * Get all private workbooks defined within a specified subscription and category.
132
+ * @param category Category of workbook to return.
133
+ * @param options The options parameters.
134
+ */
135
+ _listBySubscription(category, options) {
136
+ return this.client.sendOperationRequest({ category, options }, listBySubscriptionOperationSpec);
137
+ }
138
+ /**
139
+ * Get a single private workbook by its resourceName.
140
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
141
+ * @param resourceName The name of the Application Insights component resource.
142
+ * @param options The options parameters.
143
+ */
144
+ get(resourceGroupName, resourceName, options) {
145
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
146
+ }
147
+ /**
148
+ * Delete a private workbook.
149
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
150
+ * @param resourceName The name of the Application Insights component resource.
151
+ * @param options The options parameters.
152
+ */
153
+ delete(resourceGroupName, resourceName, options) {
154
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec);
155
+ }
156
+ /**
157
+ * Create a new private workbook.
158
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
159
+ * @param resourceName The name of the Application Insights component resource.
160
+ * @param workbookProperties Properties that need to be specified to create a new private workbook.
161
+ * @param options The options parameters.
162
+ */
163
+ createOrUpdate(resourceGroupName, resourceName, workbookProperties, options) {
164
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, workbookProperties, options }, createOrUpdateOperationSpec);
165
+ }
166
+ /**
167
+ * Updates a private workbook that has already been added.
168
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
169
+ * @param resourceName The name of the Application Insights component resource.
170
+ * @param workbookProperties Properties that need to be specified to create a new private workbook.
171
+ * @param options The options parameters.
172
+ */
173
+ update(resourceGroupName, resourceName, workbookProperties, options) {
174
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, workbookProperties, options }, updateOperationSpec);
175
+ }
176
+ /**
177
+ * ListByResourceGroupNext
178
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
179
+ * @param category Category of workbook to return.
180
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
181
+ * @param options The options parameters.
182
+ */
183
+ _listByResourceGroupNext(resourceGroupName, category, nextLink, options) {
184
+ return this.client.sendOperationRequest({ resourceGroupName, category, nextLink, options }, listByResourceGroupNextOperationSpec);
185
+ }
186
+ /**
187
+ * ListBySubscriptionNext
188
+ * @param category Category of workbook to return.
189
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
190
+ * @param options The options parameters.
191
+ */
192
+ _listBySubscriptionNext(category, nextLink, options) {
193
+ return this.client.sendOperationRequest({ category, nextLink, options }, listBySubscriptionNextOperationSpec);
194
+ }
195
+ }
196
+ // Operation Specifications
197
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
198
+ const listByResourceGroupOperationSpec = {
199
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks",
200
+ httpMethod: "GET",
201
+ responses: {
202
+ 200: {
203
+ bodyMapper: Mappers.MyWorkbooksListResult
204
+ },
205
+ default: {
206
+ bodyMapper: Mappers.MyWorkbookError
207
+ }
208
+ },
209
+ queryParameters: [
210
+ Parameters.canFetchContent,
211
+ Parameters.tags,
212
+ Parameters.category,
213
+ Parameters.sourceId,
214
+ Parameters.apiVersion2
215
+ ],
216
+ urlParameters: [
217
+ Parameters.$host,
218
+ Parameters.resourceGroupName,
219
+ Parameters.subscriptionId
220
+ ],
221
+ headerParameters: [Parameters.accept],
222
+ serializer
223
+ };
224
+ const listBySubscriptionOperationSpec = {
225
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/myWorkbooks",
226
+ httpMethod: "GET",
227
+ responses: {
228
+ 200: {
229
+ bodyMapper: Mappers.MyWorkbooksListResult
230
+ },
231
+ default: {
232
+ bodyMapper: Mappers.MyWorkbookError
233
+ }
234
+ },
235
+ queryParameters: [
236
+ Parameters.canFetchContent,
237
+ Parameters.tags,
238
+ Parameters.category,
239
+ Parameters.apiVersion2
240
+ ],
241
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
242
+ headerParameters: [Parameters.accept],
243
+ serializer
244
+ };
245
+ const getOperationSpec = {
246
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}",
247
+ httpMethod: "GET",
248
+ responses: {
249
+ 200: {
250
+ bodyMapper: Mappers.MyWorkbook
251
+ },
252
+ default: {
253
+ bodyMapper: Mappers.MyWorkbookError
254
+ }
255
+ },
256
+ queryParameters: [Parameters.apiVersion2],
257
+ urlParameters: [
258
+ Parameters.$host,
259
+ Parameters.resourceGroupName,
260
+ Parameters.subscriptionId,
261
+ Parameters.resourceName
262
+ ],
263
+ headerParameters: [Parameters.accept],
264
+ serializer
265
+ };
266
+ const deleteOperationSpec = {
267
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}",
268
+ httpMethod: "DELETE",
269
+ responses: {
270
+ 200: {},
271
+ 204: {},
272
+ default: {
273
+ bodyMapper: Mappers.MyWorkbookError
274
+ }
275
+ },
276
+ queryParameters: [Parameters.apiVersion2],
277
+ urlParameters: [
278
+ Parameters.$host,
279
+ Parameters.resourceGroupName,
280
+ Parameters.subscriptionId,
281
+ Parameters.resourceName
282
+ ],
283
+ headerParameters: [Parameters.accept],
284
+ serializer
285
+ };
286
+ const createOrUpdateOperationSpec = {
287
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}",
288
+ httpMethod: "PUT",
289
+ responses: {
290
+ 200: {
291
+ bodyMapper: Mappers.MyWorkbook
292
+ },
293
+ 201: {
294
+ bodyMapper: Mappers.MyWorkbook
295
+ },
296
+ default: {
297
+ bodyMapper: Mappers.MyWorkbookError
298
+ }
299
+ },
300
+ requestBody: Parameters.workbookProperties,
301
+ queryParameters: [Parameters.sourceId, Parameters.apiVersion2],
302
+ urlParameters: [
303
+ Parameters.$host,
304
+ Parameters.resourceGroupName,
305
+ Parameters.subscriptionId,
306
+ Parameters.resourceName
307
+ ],
308
+ headerParameters: [Parameters.accept, Parameters.contentType],
309
+ mediaType: "json",
310
+ serializer
311
+ };
312
+ const updateOperationSpec = {
313
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}",
314
+ httpMethod: "PATCH",
315
+ responses: {
316
+ 201: {
317
+ bodyMapper: Mappers.MyWorkbook
318
+ },
319
+ default: {
320
+ bodyMapper: Mappers.MyWorkbookError
321
+ }
322
+ },
323
+ requestBody: Parameters.workbookProperties,
324
+ queryParameters: [Parameters.sourceId, Parameters.apiVersion2],
325
+ urlParameters: [
326
+ Parameters.$host,
327
+ Parameters.resourceGroupName,
328
+ Parameters.subscriptionId,
329
+ Parameters.resourceName
330
+ ],
331
+ headerParameters: [Parameters.accept, Parameters.contentType],
332
+ mediaType: "json",
333
+ serializer
334
+ };
335
+ const listByResourceGroupNextOperationSpec = {
336
+ path: "{nextLink}",
337
+ httpMethod: "GET",
338
+ responses: {
339
+ 200: {
340
+ bodyMapper: Mappers.MyWorkbooksListResult
341
+ },
342
+ default: {
343
+ bodyMapper: Mappers.MyWorkbookError
344
+ }
345
+ },
346
+ queryParameters: [
347
+ Parameters.canFetchContent,
348
+ Parameters.tags,
349
+ Parameters.category,
350
+ Parameters.sourceId,
351
+ Parameters.apiVersion2
352
+ ],
353
+ urlParameters: [
354
+ Parameters.$host,
355
+ Parameters.resourceGroupName,
356
+ Parameters.subscriptionId,
357
+ Parameters.nextLink
358
+ ],
359
+ headerParameters: [Parameters.accept],
360
+ serializer
361
+ };
362
+ const listBySubscriptionNextOperationSpec = {
363
+ path: "{nextLink}",
364
+ httpMethod: "GET",
365
+ responses: {
366
+ 200: {
367
+ bodyMapper: Mappers.MyWorkbooksListResult
368
+ },
369
+ default: {
370
+ bodyMapper: Mappers.MyWorkbookError
371
+ }
372
+ },
373
+ queryParameters: [
374
+ Parameters.canFetchContent,
375
+ Parameters.tags,
376
+ Parameters.category,
377
+ Parameters.apiVersion2
378
+ ],
379
+ urlParameters: [
380
+ Parameters.$host,
381
+ Parameters.subscriptionId,
382
+ Parameters.nextLink
383
+ ],
384
+ headerParameters: [Parameters.accept],
385
+ serializer
386
+ };
387
+ //# sourceMappingURL=myWorkbooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"myWorkbooks.js","sourceRoot":"","sources":["../../../src/operations/myWorkbooks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAsBnD,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,QAAsB,EACtB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAC5C,iB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ACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;KACvB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;KACvB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { ProactiveDetectionConfigurations } from "../operationsInterfaces";
2
+ import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
3
+ import { ProactiveDetectionConfigurationsListOptionalParams, ProactiveDetectionConfigurationsListResponse, ProactiveDetectionConfigurationsGetOptionalParams, ProactiveDetectionConfigurationsGetResponse, ApplicationInsightsComponentProactiveDetectionConfiguration, ProactiveDetectionConfigurationsUpdateOptionalParams, ProactiveDetectionConfigurationsUpdateResponse } from "../models";
4
+ /** Class containing ProactiveDetectionConfigurations operations. */
5
+ export declare class ProactiveDetectionConfigurationsImpl implements ProactiveDetectionConfigurations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class ProactiveDetectionConfigurations class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: ApplicationInsightsManagementClient);
12
+ /**
13
+ * Gets a list of ProactiveDetection configurations of an Application Insights component.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param resourceName The name of the Application Insights component resource.
16
+ * @param options The options parameters.
17
+ */
18
+ list(resourceGroupName: string, resourceName: string, options?: ProactiveDetectionConfigurationsListOptionalParams): Promise<ProactiveDetectionConfigurationsListResponse>;
19
+ /**
20
+ * Get the ProactiveDetection configuration for this configuration id.
21
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
22
+ * @param resourceName The name of the Application Insights component resource.
23
+ * @param configurationId The ProactiveDetection configuration ID. This is unique within a Application
24
+ * Insights component.
25
+ * @param options The options parameters.
26
+ */
27
+ get(resourceGroupName: string, resourceName: string, configurationId: string, options?: ProactiveDetectionConfigurationsGetOptionalParams): Promise<ProactiveDetectionConfigurationsGetResponse>;
28
+ /**
29
+ * Update the ProactiveDetection configuration for this configuration id.
30
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
31
+ * @param resourceName The name of the Application Insights component resource.
32
+ * @param configurationId The ProactiveDetection configuration ID. This is unique within a Application
33
+ * Insights component.
34
+ * @param proactiveDetectionProperties Properties that need to be specified to update the
35
+ * ProactiveDetection configuration.
36
+ * @param options The options parameters.
37
+ */
38
+ update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: ApplicationInsightsComponentProactiveDetectionConfiguration, options?: ProactiveDetectionConfigurationsUpdateOptionalParams): Promise<ProactiveDetectionConfigurationsUpdateResponse>;
39
+ }
40
+ //# sourceMappingURL=proactiveDetectionConfigurations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proactiveDetectionConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/proactiveDetectionConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gCAAgC,EAAE,MAAM,yBAAyB,CAAC;AAI3E,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,4CAA4C,EAC5C,iDAAiD,EACjD,2CAA2C,EAC3C,2DAA2D,EAC3D,oDAAoD,EACpD,8CAA8C,EAC/C,MAAM,WAAW,CAAC;AAEnB,oEAAoE;AACpE,qBAAa,oCACX,YAAW,gCAAgC;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAOxD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;IAOvD;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,4BAA4B,EAAE,2DAA2D,EACzF,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC;CAY3D"}
@@ -0,0 +1,130 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing ProactiveDetectionConfigurations operations. */
12
+ export class ProactiveDetectionConfigurationsImpl {
13
+ /**
14
+ * Initialize a new instance of the class ProactiveDetectionConfigurations class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Gets a list of ProactiveDetection configurations of an Application Insights component.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param resourceName The name of the Application Insights component resource.
24
+ * @param options The options parameters.
25
+ */
26
+ list(resourceGroupName, resourceName, options) {
27
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec);
28
+ }
29
+ /**
30
+ * Get the ProactiveDetection configuration for this configuration id.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param resourceName The name of the Application Insights component resource.
33
+ * @param configurationId The ProactiveDetection configuration ID. This is unique within a Application
34
+ * Insights component.
35
+ * @param options The options parameters.
36
+ */
37
+ get(resourceGroupName, resourceName, configurationId, options) {
38
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, configurationId, options }, getOperationSpec);
39
+ }
40
+ /**
41
+ * Update the ProactiveDetection configuration for this configuration id.
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param resourceName The name of the Application Insights component resource.
44
+ * @param configurationId The ProactiveDetection configuration ID. This is unique within a Application
45
+ * Insights component.
46
+ * @param proactiveDetectionProperties Properties that need to be specified to update the
47
+ * ProactiveDetection configuration.
48
+ * @param options The options parameters.
49
+ */
50
+ update(resourceGroupName, resourceName, configurationId, proactiveDetectionProperties, options) {
51
+ return this.client.sendOperationRequest({
52
+ resourceGroupName,
53
+ resourceName,
54
+ configurationId,
55
+ proactiveDetectionProperties,
56
+ options
57
+ }, updateOperationSpec);
58
+ }
59
+ }
60
+ // Operation Specifications
61
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
62
+ const listOperationSpec = {
63
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs",
64
+ httpMethod: "GET",
65
+ responses: {
66
+ 200: {
67
+ bodyMapper: {
68
+ type: {
69
+ name: "Sequence",
70
+ element: {
71
+ type: {
72
+ name: "Composite",
73
+ className: "ApplicationInsightsComponentProactiveDetectionConfiguration"
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ },
80
+ queryParameters: [Parameters.apiVersion],
81
+ urlParameters: [
82
+ Parameters.$host,
83
+ Parameters.resourceGroupName,
84
+ Parameters.subscriptionId,
85
+ Parameters.resourceName
86
+ ],
87
+ headerParameters: [Parameters.accept],
88
+ serializer
89
+ };
90
+ const getOperationSpec = {
91
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
92
+ httpMethod: "GET",
93
+ responses: {
94
+ 200: {
95
+ bodyMapper: Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration
96
+ }
97
+ },
98
+ queryParameters: [Parameters.apiVersion],
99
+ urlParameters: [
100
+ Parameters.$host,
101
+ Parameters.resourceGroupName,
102
+ Parameters.subscriptionId,
103
+ Parameters.resourceName,
104
+ Parameters.configurationId
105
+ ],
106
+ headerParameters: [Parameters.accept],
107
+ serializer
108
+ };
109
+ const updateOperationSpec = {
110
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
111
+ httpMethod: "PUT",
112
+ responses: {
113
+ 200: {
114
+ bodyMapper: Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration
115
+ }
116
+ },
117
+ requestBody: Parameters.proactiveDetectionProperties,
118
+ queryParameters: [Parameters.apiVersion],
119
+ urlParameters: [
120
+ Parameters.$host,
121
+ Parameters.resourceGroupName,
122
+ Parameters.subscriptionId,
123
+ Parameters.resourceName,
124
+ Parameters.configurationId
125
+ ],
126
+ headerParameters: [Parameters.accept, Parameters.contentType],
127
+ mediaType: "json",
128
+ serializer
129
+ };
130
+ //# sourceMappingURL=proactiveDetectionConfigurations.js.map