@azure/arm-appinsights 3.0.0 → 5.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +72 -73
  4. package/dist/index.js +7675 -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 +36 -0
  9. package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/applicationInsightsManagementClient.js +69 -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 +2080 -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 +86 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +1481 -1003
  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 +402 -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 +3 -2
  73. package/dist-esm/src/operations/index.d.ts.map +1 -0
  74. package/{esm → dist-esm/src}/operations/index.js +6 -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/operations.d.ts +32 -0
  85. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/operations.js +116 -0
  87. package/dist-esm/src/operations/operations.js.map +1 -0
  88. package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts +40 -0
  89. package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts.map +1 -0
  90. package/dist-esm/src/operations/proactiveDetectionConfigurations.js +130 -0
  91. package/dist-esm/src/operations/proactiveDetectionConfigurations.js.map +1 -0
  92. package/dist-esm/src/operations/webTestLocations.d.ts +30 -0
  93. package/dist-esm/src/operations/webTestLocations.d.ts.map +1 -0
  94. package/dist-esm/src/operations/webTestLocations.js +96 -0
  95. package/dist-esm/src/operations/webTestLocations.js.map +1 -0
  96. package/dist-esm/src/operations/webTests.d.ts +108 -0
  97. package/dist-esm/src/operations/webTests.d.ts.map +1 -0
  98. package/dist-esm/src/operations/webTests.js +435 -0
  99. package/dist-esm/src/operations/webTests.js.map +1 -0
  100. package/dist-esm/src/operations/workItemConfigurations.d.ts +75 -0
  101. package/dist-esm/src/operations/workItemConfigurations.d.ts.map +1 -0
  102. package/dist-esm/src/operations/workItemConfigurations.js +257 -0
  103. package/dist-esm/src/operations/workItemConfigurations.js.map +1 -0
  104. package/dist-esm/src/operations/workbookTemplates.d.ts +57 -0
  105. package/dist-esm/src/operations/workbookTemplates.d.ts.map +1 -0
  106. package/dist-esm/src/operations/workbookTemplates.js +223 -0
  107. package/dist-esm/src/operations/workbookTemplates.js.map +1 -0
  108. package/dist-esm/src/operations/workbooks.d.ts +120 -0
  109. package/dist-esm/src/operations/workbooks.d.ts.map +1 -0
  110. package/dist-esm/src/operations/workbooks.js +530 -0
  111. package/dist-esm/src/operations/workbooks.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts +38 -0
  113. package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/aPIKeys.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/aPIKeys.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts +43 -0
  117. package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/analyticsItems.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/analyticsItems.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/annotations.d.ts +43 -0
  121. package/dist-esm/src/operationsInterfaces/annotations.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/annotations.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/annotations.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts +12 -0
  125. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts +21 -0
  129. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts +12 -0
  133. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts +45 -0
  137. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts +12 -0
  141. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/components.d.ts +72 -0
  145. package/dist-esm/src/operationsInterfaces/components.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/components.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/components.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts +50 -0
  149. package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/exportConfigurations.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/exportConfigurations.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/favorites.d.ts +47 -0
  153. package/dist-esm/src/operationsInterfaces/favorites.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/favorites.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/favorites.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/index.d.ts +21 -0
  157. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/index.js +28 -0
  159. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/liveToken.d.ts +11 -0
  161. package/dist-esm/src/operationsInterfaces/liveToken.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/liveToken.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/liveToken.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts +49 -0
  165. package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/myWorkbooks.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/myWorkbooks.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  169. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts +32 -0
  173. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js +9 -0
  175. package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts +13 -0
  177. package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/webTestLocations.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/webTestLocations.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/webTests.d.ts +55 -0
  181. package/dist-esm/src/operationsInterfaces/webTests.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/webTests.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/webTests.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts +58 -0
  185. package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/workItemConfigurations.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/workItemConfigurations.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts +41 -0
  189. package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/workbookTemplates.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/workbookTemplates.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/workbooks.d.ts +63 -0
  193. package/dist-esm/src/operationsInterfaces/workbooks.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/workbooks.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/workbooks.js.map +1 -0
  196. package/dist-esm/test/sampleTest.d.ts +2 -0
  197. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  198. package/dist-esm/test/sampleTest.js +40 -0
  199. package/dist-esm/test/sampleTest.js.map +1 -0
  200. package/package.json +71 -31
  201. package/review/arm-appinsights.api.md +1779 -0
  202. package/rollup.config.js +181 -30
  203. package/src/applicationInsightsManagementClient.ts +148 -65
  204. package/src/index.ts +12 -0
  205. package/src/models/index.ts +1616 -2507
  206. package/src/models/mappers.ts +1596 -1083
  207. package/src/models/parameters.ts +370 -186
  208. package/src/operations/aPIKeys.ts +155 -191
  209. package/src/operations/analyticsItems.ts +122 -240
  210. package/src/operations/annotations.ts +187 -214
  211. package/src/operations/componentAvailableFeatures.ts +40 -57
  212. package/src/operations/componentCurrentBillingFeatures.ts +66 -110
  213. package/src/operations/componentFeatureCapabilities.ts +40 -57
  214. package/src/operations/componentLinkedStorageAccountsOperations.ts +128 -182
  215. package/src/operations/componentQuotaStatus.ts +39 -57
  216. package/src/operations/components.ts +327 -440
  217. package/src/operations/exportConfigurations.ts +139 -264
  218. package/src/operations/favorites.ts +134 -242
  219. package/src/operations/index.ts +6 -7
  220. package/src/operations/liveToken.ts +30 -50
  221. package/src/operations/myWorkbooks.ts +360 -252
  222. package/src/operations/operations.ts +84 -169
  223. package/src/operations/proactiveDetectionConfigurations.ts +97 -160
  224. package/src/operations/webTestLocations.ts +86 -53
  225. package/src/operations/webTests.ts +391 -411
  226. package/src/operations/workItemConfigurations.ts +202 -283
  227. package/src/operations/workbookTemplates.ts +286 -0
  228. package/src/operations/workbooks.ts +558 -196
  229. package/src/operationsInterfaces/aPIKeys.ts +76 -0
  230. package/src/operationsInterfaces/analyticsItems.ts +82 -0
  231. package/src/operationsInterfaces/annotations.ts +81 -0
  232. package/src/operationsInterfaces/componentAvailableFeatures.ts +27 -0
  233. package/src/operationsInterfaces/componentCurrentBillingFeatures.ts +44 -0
  234. package/src/operationsInterfaces/componentFeatureCapabilities.ts +27 -0
  235. package/src/operationsInterfaces/componentLinkedStorageAccountsOperations.ts +86 -0
  236. package/src/operationsInterfaces/componentQuotaStatus.ts +27 -0
  237. package/src/operationsInterfaces/components.ts +131 -0
  238. package/src/operationsInterfaces/exportConfigurations.ts +95 -0
  239. package/src/operationsInterfaces/favorites.ts +92 -0
  240. package/src/operationsInterfaces/index.ts +28 -0
  241. package/src/operationsInterfaces/liveToken.ts +22 -0
  242. package/src/operationsInterfaces/myWorkbooks.ts +95 -0
  243. package/src/operationsInterfaces/operations.ts +22 -0
  244. package/src/operationsInterfaces/proactiveDetectionConfigurations.ts +63 -0
  245. package/src/operationsInterfaces/webTestLocations.ts +29 -0
  246. package/src/operationsInterfaces/webTests.ts +104 -0
  247. package/src/operationsInterfaces/workItemConfigurations.ts +109 -0
  248. package/src/operationsInterfaces/workbookTemplates.ts +80 -0
  249. package/src/operationsInterfaces/workbooks.ts +120 -0
  250. package/tsconfig.json +3 -3
  251. package/types/arm-appinsights.d.ts +3102 -0
  252. package/types/tsdoc-metadata.json +11 -0
  253. package/dist/arm-appinsights.js +0 -6616
  254. package/dist/arm-appinsights.js.map +0 -1
  255. package/dist/arm-appinsights.min.js +0 -1
  256. package/dist/arm-appinsights.min.js.map +0 -1
  257. package/esm/applicationInsightsManagementClient.d.ts +0 -36
  258. package/esm/applicationInsightsManagementClient.d.ts.map +0 -1
  259. package/esm/applicationInsightsManagementClient.js +0 -51
  260. package/esm/applicationInsightsManagementClient.js.map +0 -1
  261. package/esm/applicationInsightsManagementClientContext.d.ts +0 -15
  262. package/esm/applicationInsightsManagementClientContext.d.ts.map +0 -1
  263. package/esm/applicationInsightsManagementClientContext.js +0 -55
  264. package/esm/applicationInsightsManagementClientContext.js.map +0 -1
  265. package/esm/models/aPIKeysMappers.d.ts +0 -2
  266. package/esm/models/aPIKeysMappers.d.ts.map +0 -1
  267. package/esm/models/aPIKeysMappers.js +0 -9
  268. package/esm/models/aPIKeysMappers.js.map +0 -1
  269. package/esm/models/analyticsItemsMappers.d.ts +0 -2
  270. package/esm/models/analyticsItemsMappers.d.ts.map +0 -1
  271. package/esm/models/analyticsItemsMappers.js +0 -9
  272. package/esm/models/analyticsItemsMappers.js.map +0 -1
  273. package/esm/models/annotationsMappers.d.ts +0 -2
  274. package/esm/models/annotationsMappers.d.ts.map +0 -1
  275. package/esm/models/annotationsMappers.js +0 -9
  276. package/esm/models/annotationsMappers.js.map +0 -1
  277. package/esm/models/componentAvailableFeaturesMappers.d.ts +0 -2
  278. package/esm/models/componentAvailableFeaturesMappers.d.ts.map +0 -1
  279. package/esm/models/componentAvailableFeaturesMappers.js +0 -9
  280. package/esm/models/componentAvailableFeaturesMappers.js.map +0 -1
  281. package/esm/models/componentCurrentBillingFeaturesMappers.d.ts +0 -2
  282. package/esm/models/componentCurrentBillingFeaturesMappers.d.ts.map +0 -1
  283. package/esm/models/componentCurrentBillingFeaturesMappers.js +0 -9
  284. package/esm/models/componentCurrentBillingFeaturesMappers.js.map +0 -1
  285. package/esm/models/componentFeatureCapabilitiesMappers.d.ts +0 -2
  286. package/esm/models/componentFeatureCapabilitiesMappers.d.ts.map +0 -1
  287. package/esm/models/componentFeatureCapabilitiesMappers.js +0 -9
  288. package/esm/models/componentFeatureCapabilitiesMappers.js.map +0 -1
  289. package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts +0 -2
  290. package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts.map +0 -1
  291. package/esm/models/componentLinkedStorageAccountsOperationsMappers.js +0 -9
  292. package/esm/models/componentLinkedStorageAccountsOperationsMappers.js.map +0 -1
  293. package/esm/models/componentQuotaStatusMappers.d.ts +0 -2
  294. package/esm/models/componentQuotaStatusMappers.d.ts.map +0 -1
  295. package/esm/models/componentQuotaStatusMappers.js +0 -9
  296. package/esm/models/componentQuotaStatusMappers.js.map +0 -1
  297. package/esm/models/componentsMappers.d.ts +0 -2
  298. package/esm/models/componentsMappers.d.ts.map +0 -1
  299. package/esm/models/componentsMappers.js +0 -9
  300. package/esm/models/componentsMappers.js.map +0 -1
  301. package/esm/models/exportConfigurationsMappers.d.ts +0 -2
  302. package/esm/models/exportConfigurationsMappers.d.ts.map +0 -1
  303. package/esm/models/exportConfigurationsMappers.js +0 -9
  304. package/esm/models/exportConfigurationsMappers.js.map +0 -1
  305. package/esm/models/favoritesMappers.d.ts +0 -2
  306. package/esm/models/favoritesMappers.d.ts.map +0 -1
  307. package/esm/models/favoritesMappers.js +0 -9
  308. package/esm/models/favoritesMappers.js.map +0 -1
  309. package/esm/models/index.d.ts +0 -3038
  310. package/esm/models/index.d.ts.map +0 -1
  311. package/esm/models/index.js +0 -8
  312. package/esm/models/index.js.map +0 -1
  313. package/esm/models/liveTokenMappers.d.ts +0 -2
  314. package/esm/models/liveTokenMappers.d.ts.map +0 -1
  315. package/esm/models/liveTokenMappers.js +0 -9
  316. package/esm/models/liveTokenMappers.js.map +0 -1
  317. package/esm/models/mappers.d.ts +0 -69
  318. package/esm/models/mappers.d.ts.map +0 -1
  319. package/esm/models/mappers.js.map +0 -1
  320. package/esm/models/myWorkbooksMappers.d.ts +0 -2
  321. package/esm/models/myWorkbooksMappers.d.ts.map +0 -1
  322. package/esm/models/myWorkbooksMappers.js +0 -9
  323. package/esm/models/myWorkbooksMappers.js.map +0 -1
  324. package/esm/models/operationsMappers.d.ts +0 -2
  325. package/esm/models/operationsMappers.d.ts.map +0 -1
  326. package/esm/models/operationsMappers.js +0 -9
  327. package/esm/models/operationsMappers.js.map +0 -1
  328. package/esm/models/parameters.d.ts +0 -36
  329. package/esm/models/parameters.d.ts.map +0 -1
  330. package/esm/models/parameters.js +0 -416
  331. package/esm/models/parameters.js.map +0 -1
  332. package/esm/models/proactiveDetectionConfigurationsMappers.d.ts +0 -2
  333. package/esm/models/proactiveDetectionConfigurationsMappers.d.ts.map +0 -1
  334. package/esm/models/proactiveDetectionConfigurationsMappers.js +0 -9
  335. package/esm/models/proactiveDetectionConfigurationsMappers.js.map +0 -1
  336. package/esm/models/webTestLocationsMappers.d.ts +0 -2
  337. package/esm/models/webTestLocationsMappers.d.ts.map +0 -1
  338. package/esm/models/webTestLocationsMappers.js +0 -9
  339. package/esm/models/webTestLocationsMappers.js.map +0 -1
  340. package/esm/models/webTestsMappers.d.ts +0 -2
  341. package/esm/models/webTestsMappers.d.ts.map +0 -1
  342. package/esm/models/webTestsMappers.js +0 -9
  343. package/esm/models/webTestsMappers.js.map +0 -1
  344. package/esm/models/workItemConfigurationsMappers.d.ts +0 -2
  345. package/esm/models/workItemConfigurationsMappers.d.ts.map +0 -1
  346. package/esm/models/workItemConfigurationsMappers.js +0 -9
  347. package/esm/models/workItemConfigurationsMappers.js.map +0 -1
  348. package/esm/models/workbooksMappers.d.ts +0 -2
  349. package/esm/models/workbooksMappers.d.ts.map +0 -1
  350. package/esm/models/workbooksMappers.js +0 -9
  351. package/esm/models/workbooksMappers.js.map +0 -1
  352. package/esm/operations/aPIKeys.d.ts +0 -109
  353. package/esm/operations/aPIKeys.d.ts.map +0 -1
  354. package/esm/operations/aPIKeys.js +0 -161
  355. package/esm/operations/aPIKeys.js.map +0 -1
  356. package/esm/operations/analyticsItems.d.ts +0 -139
  357. package/esm/operations/analyticsItems.d.ts.map +0 -1
  358. package/esm/operations/analyticsItems.js +0 -182
  359. package/esm/operations/analyticsItems.js.map +0 -1
  360. package/esm/operations/annotations.d.ts +0 -124
  361. package/esm/operations/annotations.d.ts.map +0 -1
  362. package/esm/operations/annotations.js +0 -185
  363. package/esm/operations/annotations.js.map +0 -1
  364. package/esm/operations/componentAvailableFeatures.d.ts +0 -34
  365. package/esm/operations/componentAvailableFeatures.d.ts.map +0 -1
  366. package/esm/operations/componentAvailableFeatures.js +0 -58
  367. package/esm/operations/componentAvailableFeatures.js.map +0 -1
  368. package/esm/operations/componentCurrentBillingFeatures.d.ts +0 -61
  369. package/esm/operations/componentCurrentBillingFeatures.d.ts.map +0 -1
  370. package/esm/operations/componentCurrentBillingFeatures.js +0 -95
  371. package/esm/operations/componentCurrentBillingFeatures.js.map +0 -1
  372. package/esm/operations/componentFeatureCapabilities.d.ts +0 -34
  373. package/esm/operations/componentFeatureCapabilities.d.ts.map +0 -1
  374. package/esm/operations/componentFeatureCapabilities.js +0 -58
  375. package/esm/operations/componentFeatureCapabilities.js.map +0 -1
  376. package/esm/operations/componentLinkedStorageAccountsOperations.d.ts +0 -109
  377. package/esm/operations/componentLinkedStorageAccountsOperations.d.ts.map +0 -1
  378. package/esm/operations/componentLinkedStorageAccountsOperations.js +0 -165
  379. package/esm/operations/componentLinkedStorageAccountsOperations.js.map +0 -1
  380. package/esm/operations/componentQuotaStatus.d.ts +0 -34
  381. package/esm/operations/componentQuotaStatus.d.ts.map +0 -1
  382. package/esm/operations/componentQuotaStatus.js +0 -58
  383. package/esm/operations/componentQuotaStatus.js.map +0 -1
  384. package/esm/operations/components.d.ts +0 -236
  385. package/esm/operations/components.d.ts.map +0 -1
  386. package/esm/operations/components.js +0 -344
  387. package/esm/operations/components.js.map +0 -1
  388. package/esm/operations/exportConfigurations.d.ts +0 -148
  389. package/esm/operations/exportConfigurations.d.ts.map +0 -1
  390. package/esm/operations/exportConfigurations.js +0 -221
  391. package/esm/operations/exportConfigurations.js.map +0 -1
  392. package/esm/operations/favorites.d.ts +0 -139
  393. package/esm/operations/favorites.d.ts.map +0 -1
  394. package/esm/operations/favorites.js +0 -214
  395. package/esm/operations/favorites.js.map +0 -1
  396. package/esm/operations/index.d.ts.map +0 -1
  397. package/esm/operations/index.js.map +0 -1
  398. package/esm/operations/liveToken.d.ts +0 -31
  399. package/esm/operations/liveToken.d.ts.map +0 -1
  400. package/esm/operations/liveToken.js +0 -55
  401. package/esm/operations/liveToken.js.map +0 -1
  402. package/esm/operations/myWorkbooks.d.ts +0 -148
  403. package/esm/operations/myWorkbooks.d.ts.map +0 -1
  404. package/esm/operations/myWorkbooks.js +0 -228
  405. package/esm/operations/myWorkbooks.js.map +0 -1
  406. package/esm/operations/operations.d.ts +0 -81
  407. package/esm/operations/operations.d.ts.map +0 -1
  408. package/esm/operations/operations.js +0 -127
  409. package/esm/operations/operations.js.map +0 -1
  410. package/esm/operations/proactiveDetectionConfigurations.d.ts +0 -94
  411. package/esm/operations/proactiveDetectionConfigurations.d.ts.map +0 -1
  412. package/esm/operations/proactiveDetectionConfigurations.js +0 -141
  413. package/esm/operations/proactiveDetectionConfigurations.js.map +0 -1
  414. package/esm/operations/webTestLocations.d.ts +0 -34
  415. package/esm/operations/webTestLocations.d.ts.map +0 -1
  416. package/esm/operations/webTestLocations.js +0 -58
  417. package/esm/operations/webTestLocations.js.map +0 -1
  418. package/esm/operations/webTests.d.ts +0 -214
  419. package/esm/operations/webTests.d.ts.map +0 -1
  420. package/esm/operations/webTests.js +0 -326
  421. package/esm/operations/webTests.js.map +0 -1
  422. package/esm/operations/workItemConfigurations.d.ts +0 -169
  423. package/esm/operations/workItemConfigurations.d.ts.map +0 -1
  424. package/esm/operations/workItemConfigurations.js +0 -228
  425. package/esm/operations/workItemConfigurations.js.map +0 -1
  426. package/esm/operations/workbooks.d.ts +0 -127
  427. package/esm/operations/workbooks.d.ts.map +0 -1
  428. package/esm/operations/workbooks.js +0 -197
  429. package/esm/operations/workbooks.js.map +0 -1
  430. package/src/applicationInsightsManagementClientContext.ts +0 -60
  431. package/src/models/aPIKeysMappers.ts +0 -14
  432. package/src/models/analyticsItemsMappers.ts +0 -13
  433. package/src/models/annotationsMappers.ts +0 -15
  434. package/src/models/componentAvailableFeaturesMappers.ts +0 -14
  435. package/src/models/componentCurrentBillingFeaturesMappers.ts +0 -13
  436. package/src/models/componentFeatureCapabilitiesMappers.ts +0 -12
  437. package/src/models/componentLinkedStorageAccountsOperationsMappers.ts +0 -31
  438. package/src/models/componentQuotaStatusMappers.ts +0 -12
  439. package/src/models/componentsMappers.ts +0 -36
  440. package/src/models/exportConfigurationsMappers.ts +0 -13
  441. package/src/models/favoritesMappers.ts +0 -12
  442. package/src/models/liveTokenMappers.ts +0 -12
  443. package/src/models/myWorkbooksMappers.ts +0 -32
  444. package/src/models/operationsMappers.ts +0 -18
  445. package/src/models/proactiveDetectionConfigurationsMappers.ts +0 -30
  446. package/src/models/webTestLocationsMappers.ts +0 -13
  447. package/src/models/webTestsMappers.ts +0 -32
  448. package/src/models/workItemConfigurationsMappers.ts +0 -16
  449. package/src/models/workbooksMappers.ts +0 -32
@@ -1,28 +1,39 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
10
8
 
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Models from "../models";
13
- import * as Mappers from "../models/exportConfigurationsMappers";
9
+ import { ExportConfigurations } from "../operationsInterfaces";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
14
12
  import * as Parameters from "../models/parameters";
15
- import { ApplicationInsightsManagementClientContext } from "../applicationInsightsManagementClientContext";
13
+ import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
14
+ import {
15
+ ExportConfigurationsListOptionalParams,
16
+ ExportConfigurationsListResponse,
17
+ ApplicationInsightsComponentExportRequest,
18
+ ExportConfigurationsCreateOptionalParams,
19
+ ExportConfigurationsCreateResponse,
20
+ ExportConfigurationsDeleteOptionalParams,
21
+ ExportConfigurationsDeleteResponse,
22
+ ExportConfigurationsGetOptionalParams,
23
+ ExportConfigurationsGetResponse,
24
+ ExportConfigurationsUpdateOptionalParams,
25
+ ExportConfigurationsUpdateResponse
26
+ } from "../models";
16
27
 
17
- /** Class representing a ExportConfigurations. */
18
- export class ExportConfigurations {
19
- private readonly client: ApplicationInsightsManagementClientContext;
28
+ /** Class containing ExportConfigurations operations. */
29
+ export class ExportConfigurationsImpl implements ExportConfigurations {
30
+ private readonly client: ApplicationInsightsManagementClient;
20
31
 
21
32
  /**
22
- * Create a ExportConfigurations.
23
- * @param {ApplicationInsightsManagementClientContext} client Reference to the service client.
33
+ * Initialize a new instance of the class ExportConfigurations class.
34
+ * @param client Reference to the service client
24
35
  */
25
- constructor(client: ApplicationInsightsManagementClientContext) {
36
+ constructor(client: ApplicationInsightsManagementClient) {
26
37
  this.client = client;
27
38
  }
28
39
 
@@ -30,32 +41,17 @@ export class ExportConfigurations {
30
41
  * Gets a list of Continuous Export configuration of an Application Insights component.
31
42
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
43
  * @param resourceName The name of the Application Insights component resource.
33
- * @param [options] The optional parameters
34
- * @returns Promise<Models.ExportConfigurationsListResponse>
44
+ * @param options The options parameters.
35
45
  */
36
- list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ExportConfigurationsListResponse>;
37
- /**
38
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
- * @param resourceName The name of the Application Insights component resource.
40
- * @param callback The callback
41
- */
42
- list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration[]>): void;
43
- /**
44
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
45
- * @param resourceName The name of the Application Insights component resource.
46
- * @param options The optional parameters
47
- * @param callback The callback
48
- */
49
- list(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration[]>): void;
50
- list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration[]>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration[]>): Promise<Models.ExportConfigurationsListResponse> {
46
+ list(
47
+ resourceGroupName: string,
48
+ resourceName: string,
49
+ options?: ExportConfigurationsListOptionalParams
50
+ ): Promise<ExportConfigurationsListResponse> {
51
51
  return this.client.sendOperationRequest(
52
- {
53
- resourceGroupName,
54
- resourceName,
55
- options
56
- },
57
- listOperationSpec,
58
- callback) as Promise<Models.ExportConfigurationsListResponse>;
52
+ { resourceGroupName, resourceName, options },
53
+ listOperationSpec
54
+ );
59
55
  }
60
56
 
61
57
  /**
@@ -63,185 +59,94 @@ export class ExportConfigurations {
63
59
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
64
60
  * @param resourceName The name of the Application Insights component resource.
65
61
  * @param exportProperties Properties that need to be specified to create a Continuous Export
66
- * configuration of a Application Insights component.
67
- * @param [options] The optional parameters
68
- * @returns Promise<Models.ExportConfigurationsCreateResponse>
69
- */
70
- create(resourceGroupName: string, resourceName: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase): Promise<Models.ExportConfigurationsCreateResponse>;
71
- /**
72
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
73
- * @param resourceName The name of the Application Insights component resource.
74
- * @param exportProperties Properties that need to be specified to create a Continuous Export
75
- * configuration of a Application Insights component.
76
- * @param callback The callback
62
+ * configuration of a Application Insights component.
63
+ * @param options The options parameters.
77
64
  */
78
- create(resourceGroupName: string, resourceName: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration[]>): void;
79
- /**
80
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
81
- * @param resourceName The name of the Application Insights component resource.
82
- * @param exportProperties Properties that need to be specified to create a Continuous Export
83
- * configuration of a Application Insights component.
84
- * @param options The optional parameters
85
- * @param callback The callback
86
- */
87
- create(resourceGroupName: string, resourceName: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration[]>): void;
88
- create(resourceGroupName: string, resourceName: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration[]>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration[]>): Promise<Models.ExportConfigurationsCreateResponse> {
65
+ create(
66
+ resourceGroupName: string,
67
+ resourceName: string,
68
+ exportProperties: ApplicationInsightsComponentExportRequest,
69
+ options?: ExportConfigurationsCreateOptionalParams
70
+ ): Promise<ExportConfigurationsCreateResponse> {
89
71
  return this.client.sendOperationRequest(
90
- {
91
- resourceGroupName,
92
- resourceName,
93
- exportProperties,
94
- options
95
- },
96
- createOperationSpec,
97
- callback) as Promise<Models.ExportConfigurationsCreateResponse>;
72
+ { resourceGroupName, resourceName, exportProperties, options },
73
+ createOperationSpec
74
+ );
98
75
  }
99
76
 
100
77
  /**
101
78
  * Delete a Continuous Export configuration of an Application Insights component.
102
79
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
103
80
  * @param resourceName The name of the Application Insights component resource.
104
- * @param exportId The Continuous Export configuration ID. This is unique within a Application
105
- * Insights component.
106
- * @param [options] The optional parameters
107
- * @returns Promise<Models.ExportConfigurationsDeleteMethodResponse>
108
- */
109
- deleteMethod(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase): Promise<Models.ExportConfigurationsDeleteMethodResponse>;
110
- /**
111
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
112
- * @param resourceName The name of the Application Insights component resource.
113
- * @param exportId The Continuous Export configuration ID. This is unique within a Application
114
- * Insights component.
115
- * @param callback The callback
116
- */
117
- deleteMethod(resourceGroupName: string, resourceName: string, exportId: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>): void;
118
- /**
119
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
- * @param resourceName The name of the Application Insights component resource.
121
- * @param exportId The Continuous Export configuration ID. This is unique within a Application
122
- * Insights component.
123
- * @param options The optional parameters
124
- * @param callback The callback
81
+ * @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
82
+ * component.
83
+ * @param options The options parameters.
125
84
  */
126
- deleteMethod(resourceGroupName: string, resourceName: string, exportId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>): void;
127
- deleteMethod(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>): Promise<Models.ExportConfigurationsDeleteMethodResponse> {
85
+ delete(
86
+ resourceGroupName: string,
87
+ resourceName: string,
88
+ exportId: string,
89
+ options?: ExportConfigurationsDeleteOptionalParams
90
+ ): Promise<ExportConfigurationsDeleteResponse> {
128
91
  return this.client.sendOperationRequest(
129
- {
130
- resourceGroupName,
131
- resourceName,
132
- exportId,
133
- options
134
- },
135
- deleteMethodOperationSpec,
136
- callback) as Promise<Models.ExportConfigurationsDeleteMethodResponse>;
92
+ { resourceGroupName, resourceName, exportId, options },
93
+ deleteOperationSpec
94
+ );
137
95
  }
138
96
 
139
97
  /**
140
98
  * Get the Continuous Export configuration for this export id.
141
99
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
142
100
  * @param resourceName The name of the Application Insights component resource.
143
- * @param exportId The Continuous Export configuration ID. This is unique within a Application
144
- * Insights component.
145
- * @param [options] The optional parameters
146
- * @returns Promise<Models.ExportConfigurationsGetResponse>
101
+ * @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
102
+ * component.
103
+ * @param options The options parameters.
147
104
  */
148
- get(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase): Promise<Models.ExportConfigurationsGetResponse>;
149
- /**
150
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
151
- * @param resourceName The name of the Application Insights component resource.
152
- * @param exportId The Continuous Export configuration ID. This is unique within a Application
153
- * Insights component.
154
- * @param callback The callback
155
- */
156
- get(resourceGroupName: string, resourceName: string, exportId: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>): void;
157
- /**
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 exportId The Continuous Export configuration ID. This is unique within a Application
161
- * Insights component.
162
- * @param options The optional parameters
163
- * @param callback The callback
164
- */
165
- get(resourceGroupName: string, resourceName: string, exportId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>): void;
166
- get(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>): Promise<Models.ExportConfigurationsGetResponse> {
105
+ get(
106
+ resourceGroupName: string,
107
+ resourceName: string,
108
+ exportId: string,
109
+ options?: ExportConfigurationsGetOptionalParams
110
+ ): Promise<ExportConfigurationsGetResponse> {
167
111
  return this.client.sendOperationRequest(
168
- {
169
- resourceGroupName,
170
- resourceName,
171
- exportId,
172
- options
173
- },
174
- getOperationSpec,
175
- callback) as Promise<Models.ExportConfigurationsGetResponse>;
112
+ { resourceGroupName, resourceName, exportId, options },
113
+ getOperationSpec
114
+ );
176
115
  }
177
116
 
178
117
  /**
179
118
  * Update the Continuous Export configuration for this export id.
180
119
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
181
120
  * @param resourceName The name of the Application Insights component resource.
182
- * @param exportId The Continuous Export configuration ID. This is unique within a Application
183
- * Insights component.
184
- * @param exportProperties Properties that need to be specified to update the Continuous Export
185
- * configuration.
186
- * @param [options] The optional parameters
187
- * @returns Promise<Models.ExportConfigurationsUpdateResponse>
188
- */
189
- update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase): Promise<Models.ExportConfigurationsUpdateResponse>;
190
- /**
191
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
192
- * @param resourceName The name of the Application Insights component resource.
193
- * @param exportId The Continuous Export configuration ID. This is unique within a Application
194
- * Insights component.
121
+ * @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
122
+ * component.
195
123
  * @param exportProperties Properties that need to be specified to update the Continuous Export
196
- * configuration.
197
- * @param callback The callback
124
+ * configuration.
125
+ * @param options The options parameters.
198
126
  */
199
- update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>): void;
200
- /**
201
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
202
- * @param resourceName The name of the Application Insights component resource.
203
- * @param exportId The Continuous Export configuration ID. This is unique within a Application
204
- * Insights component.
205
- * @param exportProperties Properties that need to be specified to update the Continuous Export
206
- * configuration.
207
- * @param options The optional parameters
208
- * @param callback The callback
209
- */
210
- update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>): void;
211
- update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentExportConfiguration>): Promise<Models.ExportConfigurationsUpdateResponse> {
127
+ update(
128
+ resourceGroupName: string,
129
+ resourceName: string,
130
+ exportId: string,
131
+ exportProperties: ApplicationInsightsComponentExportRequest,
132
+ options?: ExportConfigurationsUpdateOptionalParams
133
+ ): Promise<ExportConfigurationsUpdateResponse> {
212
134
  return this.client.sendOperationRequest(
213
- {
214
- resourceGroupName,
215
- resourceName,
216
- exportId,
217
- exportProperties,
218
- options
219
- },
220
- updateOperationSpec,
221
- callback) as Promise<Models.ExportConfigurationsUpdateResponse>;
135
+ { resourceGroupName, resourceName, exportId, exportProperties, options },
136
+ updateOperationSpec
137
+ );
222
138
  }
223
139
  }
224
-
225
140
  // Operation Specifications
226
- const serializer = new msRest.Serializer(Mappers);
227
- const listOperationSpec: msRest.OperationSpec = {
141
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
142
+
143
+ const listOperationSpec: coreClient.OperationSpec = {
144
+ path:
145
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration",
228
146
  httpMethod: "GET",
229
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration",
230
- urlParameters: [
231
- Parameters.resourceGroupName,
232
- Parameters.subscriptionId,
233
- Parameters.resourceName
234
- ],
235
- queryParameters: [
236
- Parameters.apiVersion0
237
- ],
238
- headerParameters: [
239
- Parameters.acceptLanguage
240
- ],
241
147
  responses: {
242
148
  200: {
243
149
  bodyMapper: {
244
- serializedName: "parsedResponse",
245
150
  type: {
246
151
  name: "Sequence",
247
152
  element: {
@@ -252,39 +157,25 @@ const listOperationSpec: msRest.OperationSpec = {
252
157
  }
253
158
  }
254
159
  }
255
- },
256
- default: {
257
- bodyMapper: Mappers.CloudError
258
160
  }
259
161
  },
260
- serializer
261
- };
262
-
263
- const createOperationSpec: msRest.OperationSpec = {
264
- httpMethod: "POST",
265
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration",
162
+ queryParameters: [Parameters.apiVersion],
266
163
  urlParameters: [
164
+ Parameters.$host,
267
165
  Parameters.resourceGroupName,
268
166
  Parameters.subscriptionId,
269
167
  Parameters.resourceName
270
168
  ],
271
- queryParameters: [
272
- Parameters.apiVersion0
273
- ],
274
- headerParameters: [
275
- Parameters.acceptLanguage
276
- ],
277
- requestBody: {
278
- parameterPath: "exportProperties",
279
- mapper: {
280
- ...Mappers.ApplicationInsightsComponentExportRequest,
281
- required: true
282
- }
283
- },
169
+ headerParameters: [Parameters.accept],
170
+ serializer
171
+ };
172
+ const createOperationSpec: coreClient.OperationSpec = {
173
+ path:
174
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration",
175
+ httpMethod: "POST",
284
176
  responses: {
285
177
  200: {
286
178
  bodyMapper: {
287
- serializedName: "parsedResponse",
288
179
  type: {
289
180
  name: "Sequence",
290
181
  element: {
@@ -295,95 +186,79 @@ const createOperationSpec: msRest.OperationSpec = {
295
186
  }
296
187
  }
297
188
  }
298
- },
299
- default: {
300
- bodyMapper: Mappers.CloudError
301
189
  }
302
190
  },
303
- serializer
304
- };
305
-
306
- const deleteMethodOperationSpec: msRest.OperationSpec = {
307
- httpMethod: "DELETE",
308
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
191
+ requestBody: Parameters.exportProperties,
192
+ queryParameters: [Parameters.apiVersion],
309
193
  urlParameters: [
194
+ Parameters.$host,
310
195
  Parameters.resourceGroupName,
311
196
  Parameters.subscriptionId,
312
- Parameters.resourceName,
313
- Parameters.exportId
314
- ],
315
- queryParameters: [
316
- Parameters.apiVersion0
317
- ],
318
- headerParameters: [
319
- Parameters.acceptLanguage
197
+ Parameters.resourceName
320
198
  ],
199
+ headerParameters: [Parameters.accept, Parameters.contentType],
200
+ mediaType: "json",
201
+ serializer
202
+ };
203
+ const deleteOperationSpec: coreClient.OperationSpec = {
204
+ path:
205
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
206
+ httpMethod: "DELETE",
321
207
  responses: {
322
208
  200: {
323
209
  bodyMapper: Mappers.ApplicationInsightsComponentExportConfiguration
324
- },
325
- default: {
326
- bodyMapper: Mappers.CloudError
327
210
  }
328
211
  },
329
- serializer
330
- };
331
-
332
- const getOperationSpec: msRest.OperationSpec = {
333
- httpMethod: "GET",
334
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
212
+ queryParameters: [Parameters.apiVersion],
335
213
  urlParameters: [
214
+ Parameters.$host,
336
215
  Parameters.resourceGroupName,
337
216
  Parameters.subscriptionId,
338
217
  Parameters.resourceName,
339
218
  Parameters.exportId
340
219
  ],
341
- queryParameters: [
342
- Parameters.apiVersion0
343
- ],
344
- headerParameters: [
345
- Parameters.acceptLanguage
346
- ],
220
+ headerParameters: [Parameters.accept],
221
+ serializer
222
+ };
223
+ const getOperationSpec: coreClient.OperationSpec = {
224
+ path:
225
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
226
+ httpMethod: "GET",
347
227
  responses: {
348
228
  200: {
349
229
  bodyMapper: Mappers.ApplicationInsightsComponentExportConfiguration
350
- },
351
- default: {
352
- bodyMapper: Mappers.CloudError
353
230
  }
354
231
  },
355
- serializer
356
- };
357
-
358
- const updateOperationSpec: msRest.OperationSpec = {
359
- httpMethod: "PUT",
360
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
232
+ queryParameters: [Parameters.apiVersion],
361
233
  urlParameters: [
234
+ Parameters.$host,
362
235
  Parameters.resourceGroupName,
363
236
  Parameters.subscriptionId,
364
237
  Parameters.resourceName,
365
238
  Parameters.exportId
366
239
  ],
367
- queryParameters: [
368
- Parameters.apiVersion0
369
- ],
370
- headerParameters: [
371
- Parameters.acceptLanguage
372
- ],
373
- requestBody: {
374
- parameterPath: "exportProperties",
375
- mapper: {
376
- ...Mappers.ApplicationInsightsComponentExportRequest,
377
- required: true
378
- }
379
- },
240
+ headerParameters: [Parameters.accept],
241
+ serializer
242
+ };
243
+ const updateOperationSpec: coreClient.OperationSpec = {
244
+ path:
245
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
246
+ httpMethod: "PUT",
380
247
  responses: {
381
248
  200: {
382
249
  bodyMapper: Mappers.ApplicationInsightsComponentExportConfiguration
383
- },
384
- default: {
385
- bodyMapper: Mappers.CloudError
386
250
  }
387
251
  },
252
+ requestBody: Parameters.exportProperties,
253
+ queryParameters: [Parameters.apiVersion],
254
+ urlParameters: [
255
+ Parameters.$host,
256
+ Parameters.resourceGroupName,
257
+ Parameters.subscriptionId,
258
+ Parameters.resourceName,
259
+ Parameters.exportId
260
+ ],
261
+ headerParameters: [Parameters.accept, Parameters.contentType],
262
+ mediaType: "json",
388
263
  serializer
389
264
  };