@azure/arm-monitor-profile-2020-09-01-hybrid 2.1.1-alpha.20250213.1 → 2.1.1-alpha.20250214.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 (433) hide show
  1. package/README.md +23 -18
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/models/index.js.map +1 -0
  7. package/dist/browser/models/mappers.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  9. package/dist/browser/models/parameters.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/monitorClient.d.ts +2 -2
  11. package/dist/browser/monitorClient.d.ts.map +1 -0
  12. package/{dist-esm/src → dist/browser}/monitorClient.js +1 -1
  13. package/dist/browser/monitorClient.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/diagnosticSettings.d.ts +3 -3
  15. package/dist/browser/operations/diagnosticSettings.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/diagnosticSettings.js +2 -2
  17. package/dist/browser/operations/diagnosticSettings.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/diagnosticSettingsCategory.d.ts +3 -3
  19. package/dist/browser/operations/diagnosticSettingsCategory.d.ts.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/diagnosticSettingsCategory.js +2 -2
  21. package/dist/browser/operations/diagnosticSettingsCategory.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/eventCategories.d.ts +3 -3
  23. package/dist/browser/operations/eventCategories.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/eventCategories.js +2 -2
  25. package/dist/browser/operations/eventCategories.js.map +1 -0
  26. package/dist/browser/operations/index.d.ts +7 -0
  27. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  28. package/dist/browser/operations/index.js +14 -0
  29. package/dist/browser/operations/index.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/metricDefinitions.d.ts +3 -3
  31. package/dist/browser/operations/metricDefinitions.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/metricDefinitions.js +2 -2
  33. package/dist/browser/operations/metricDefinitions.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/metrics.d.ts +3 -3
  35. package/dist/browser/operations/metrics.d.ts.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/metrics.js +2 -2
  37. package/dist/browser/operations/metrics.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  39. package/dist/browser/operations/operations.d.ts.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
  41. package/dist/browser/operations/operations.js.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operationsInterfaces/diagnosticSettings.d.ts +1 -1
  43. package/dist/browser/operationsInterfaces/diagnosticSettings.d.ts.map +1 -0
  44. package/dist/browser/operationsInterfaces/diagnosticSettings.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operationsInterfaces/diagnosticSettingsCategory.d.ts +1 -1
  46. package/dist/browser/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -0
  47. package/dist/browser/operationsInterfaces/diagnosticSettingsCategory.js.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/eventCategories.d.ts +1 -1
  49. package/{dist-esm/src → dist/browser}/operationsInterfaces/eventCategories.d.ts.map +1 -1
  50. package/dist/browser/operationsInterfaces/eventCategories.js.map +1 -0
  51. package/dist/browser/operationsInterfaces/index.d.ts +7 -0
  52. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/index.js +14 -0
  54. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  55. package/{dist-esm/src → dist/browser}/operationsInterfaces/metricDefinitions.d.ts +1 -1
  56. package/dist/browser/operationsInterfaces/metricDefinitions.d.ts.map +1 -0
  57. package/dist/browser/operationsInterfaces/metricDefinitions.js.map +1 -0
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/metrics.d.ts +1 -1
  59. package/dist/browser/operationsInterfaces/metrics.d.ts.map +1 -0
  60. package/dist/browser/operationsInterfaces/metrics.js.map +1 -0
  61. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  62. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  63. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  64. package/dist/browser/package.json +3 -0
  65. package/dist/browser/pagingHelper.js.map +1 -0
  66. package/dist/commonjs/index.d.ts +5 -0
  67. package/dist/commonjs/index.d.ts.map +1 -0
  68. package/dist/commonjs/index.js +19 -0
  69. package/dist/commonjs/index.js.map +1 -0
  70. package/{types/arm-monitor-profile-2020-09-01-hybrid.d.ts → dist/commonjs/models/index.d.ts} +390 -556
  71. package/dist/commonjs/models/index.d.ts.map +1 -0
  72. package/dist/commonjs/models/index.js +55 -0
  73. package/dist/commonjs/models/index.js.map +1 -0
  74. package/dist/commonjs/models/mappers.d.ts +24 -0
  75. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  76. package/dist/commonjs/models/mappers.js +755 -0
  77. package/dist/commonjs/models/mappers.js.map +1 -0
  78. package/dist/commonjs/models/parameters.d.ts +20 -0
  79. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  80. package/dist/commonjs/models/parameters.js +185 -0
  81. package/dist/commonjs/models/parameters.js.map +1 -0
  82. package/dist/commonjs/monitorClient.d.ts +20 -0
  83. package/dist/commonjs/monitorClient.d.ts.map +1 -0
  84. package/dist/commonjs/monitorClient.js +74 -0
  85. package/dist/commonjs/monitorClient.js.map +1 -0
  86. package/dist/commonjs/operations/diagnosticSettings.d.ts +41 -0
  87. package/dist/commonjs/operations/diagnosticSettings.d.ts.map +1 -0
  88. package/dist/commonjs/operations/diagnosticSettings.js +129 -0
  89. package/dist/commonjs/operations/diagnosticSettings.js.map +1 -0
  90. package/dist/commonjs/operations/diagnosticSettingsCategory.d.ts +26 -0
  91. package/dist/commonjs/operations/diagnosticSettingsCategory.d.ts.map +1 -0
  92. package/dist/commonjs/operations/diagnosticSettingsCategory.js +77 -0
  93. package/dist/commonjs/operations/diagnosticSettingsCategory.js.map +1 -0
  94. package/dist/commonjs/operations/eventCategories.d.ts +28 -0
  95. package/dist/commonjs/operations/eventCategories.d.ts.map +1 -0
  96. package/dist/commonjs/operations/eventCategories.js +102 -0
  97. package/dist/commonjs/operations/eventCategories.js.map +1 -0
  98. package/dist/commonjs/operations/index.d.ts +7 -0
  99. package/dist/commonjs/operations/index.d.ts.map +1 -0
  100. package/dist/commonjs/operations/index.js +17 -0
  101. package/dist/commonjs/operations/index.js.map +1 -0
  102. package/dist/commonjs/operations/metricDefinitions.d.ts +28 -0
  103. package/dist/commonjs/operations/metricDefinitions.d.ts.map +1 -0
  104. package/dist/commonjs/operations/metricDefinitions.js +102 -0
  105. package/dist/commonjs/operations/metricDefinitions.js.map +1 -0
  106. package/dist/commonjs/operations/metrics.d.ts +19 -0
  107. package/dist/commonjs/operations/metrics.d.ts.map +1 -0
  108. package/dist/commonjs/operations/metrics.js +63 -0
  109. package/dist/commonjs/operations/metrics.js.map +1 -0
  110. package/dist/commonjs/operations/operations.d.ts +18 -0
  111. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  112. package/dist/commonjs/operations/operations.js +48 -0
  113. package/dist/commonjs/operations/operations.js.map +1 -0
  114. package/dist/commonjs/operationsInterfaces/diagnosticSettings.d.ts +33 -0
  115. package/dist/commonjs/operationsInterfaces/diagnosticSettings.d.ts.map +1 -0
  116. package/dist/commonjs/operationsInterfaces/diagnosticSettings.js +10 -0
  117. package/dist/commonjs/operationsInterfaces/diagnosticSettings.js.map +1 -0
  118. package/dist/commonjs/operationsInterfaces/diagnosticSettingsCategory.d.ts +18 -0
  119. package/dist/commonjs/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -0
  120. package/dist/commonjs/operationsInterfaces/diagnosticSettingsCategory.js +10 -0
  121. package/dist/commonjs/operationsInterfaces/diagnosticSettingsCategory.js.map +1 -0
  122. package/dist/commonjs/operationsInterfaces/eventCategories.d.ts +12 -0
  123. package/dist/commonjs/operationsInterfaces/eventCategories.d.ts.map +1 -0
  124. package/dist/commonjs/operationsInterfaces/eventCategories.js +10 -0
  125. package/dist/commonjs/operationsInterfaces/eventCategories.js.map +1 -0
  126. package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
  127. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  128. package/dist/commonjs/operationsInterfaces/index.js +17 -0
  129. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  130. package/dist/commonjs/operationsInterfaces/metricDefinitions.d.ts +12 -0
  131. package/dist/commonjs/operationsInterfaces/metricDefinitions.d.ts.map +1 -0
  132. package/dist/commonjs/operationsInterfaces/metricDefinitions.js +10 -0
  133. package/dist/commonjs/operationsInterfaces/metricDefinitions.js.map +1 -0
  134. package/dist/commonjs/operationsInterfaces/metrics.d.ts +11 -0
  135. package/dist/commonjs/operationsInterfaces/metrics.d.ts.map +1 -0
  136. package/dist/commonjs/operationsInterfaces/metrics.js +10 -0
  137. package/dist/commonjs/operationsInterfaces/metrics.js.map +1 -0
  138. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  139. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  140. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  141. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  142. package/dist/commonjs/package.json +3 -0
  143. package/dist/commonjs/pagingHelper.d.ts +13 -0
  144. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  145. package/dist/commonjs/pagingHelper.js +36 -0
  146. package/dist/commonjs/pagingHelper.js.map +1 -0
  147. package/dist/esm/index.d.ts +5 -0
  148. package/dist/esm/index.d.ts.map +1 -0
  149. package/{src/index.ts → dist/esm/index.js} +5 -5
  150. package/dist/esm/index.js.map +1 -0
  151. package/dist/esm/models/index.d.ts +390 -0
  152. package/dist/esm/models/index.d.ts.map +1 -0
  153. package/dist/esm/models/index.js +52 -0
  154. package/dist/esm/models/index.js.map +1 -0
  155. package/dist/esm/models/mappers.d.ts +24 -0
  156. package/dist/esm/models/mappers.d.ts.map +1 -0
  157. package/dist/esm/models/mappers.js +752 -0
  158. package/dist/esm/models/mappers.js.map +1 -0
  159. package/dist/esm/models/parameters.d.ts +20 -0
  160. package/dist/esm/models/parameters.d.ts.map +1 -0
  161. package/dist/esm/models/parameters.js +182 -0
  162. package/dist/esm/models/parameters.js.map +1 -0
  163. package/dist/esm/monitorClient.d.ts +20 -0
  164. package/dist/esm/monitorClient.d.ts.map +1 -0
  165. package/dist/esm/monitorClient.js +69 -0
  166. package/dist/esm/monitorClient.js.map +1 -0
  167. package/dist/esm/operations/diagnosticSettings.d.ts +41 -0
  168. package/dist/esm/operations/diagnosticSettings.d.ts.map +1 -0
  169. package/dist/esm/operations/diagnosticSettings.js +124 -0
  170. package/dist/esm/operations/diagnosticSettings.js.map +1 -0
  171. package/dist/esm/operations/diagnosticSettingsCategory.d.ts +26 -0
  172. package/dist/esm/operations/diagnosticSettingsCategory.d.ts.map +1 -0
  173. package/dist/esm/operations/diagnosticSettingsCategory.js +72 -0
  174. package/dist/esm/operations/diagnosticSettingsCategory.js.map +1 -0
  175. package/dist/esm/operations/eventCategories.d.ts +28 -0
  176. package/dist/esm/operations/eventCategories.d.ts.map +1 -0
  177. package/dist/esm/operations/eventCategories.js +98 -0
  178. package/dist/esm/operations/eventCategories.js.map +1 -0
  179. package/dist/esm/operations/index.d.ts +7 -0
  180. package/dist/esm/operations/index.d.ts.map +1 -0
  181. package/dist/esm/operations/index.js +14 -0
  182. package/dist/esm/operations/index.js.map +1 -0
  183. package/dist/esm/operations/metricDefinitions.d.ts +28 -0
  184. package/dist/esm/operations/metricDefinitions.d.ts.map +1 -0
  185. package/dist/esm/operations/metricDefinitions.js +98 -0
  186. package/dist/esm/operations/metricDefinitions.js.map +1 -0
  187. package/dist/esm/operations/metrics.d.ts +19 -0
  188. package/dist/esm/operations/metrics.d.ts.map +1 -0
  189. package/dist/esm/operations/metrics.js +58 -0
  190. package/dist/esm/operations/metrics.js.map +1 -0
  191. package/dist/esm/operations/operations.d.ts +18 -0
  192. package/dist/esm/operations/operations.d.ts.map +1 -0
  193. package/dist/esm/operations/operations.js +43 -0
  194. package/dist/esm/operations/operations.js.map +1 -0
  195. package/dist/esm/operationsInterfaces/diagnosticSettings.d.ts +33 -0
  196. package/dist/esm/operationsInterfaces/diagnosticSettings.d.ts.map +1 -0
  197. package/dist/esm/operationsInterfaces/diagnosticSettings.js +9 -0
  198. package/dist/esm/operationsInterfaces/diagnosticSettings.js.map +1 -0
  199. package/dist/esm/operationsInterfaces/diagnosticSettingsCategory.d.ts +18 -0
  200. package/dist/esm/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -0
  201. package/dist/esm/operationsInterfaces/diagnosticSettingsCategory.js +9 -0
  202. package/dist/esm/operationsInterfaces/diagnosticSettingsCategory.js.map +1 -0
  203. package/dist/esm/operationsInterfaces/eventCategories.d.ts +12 -0
  204. package/dist/esm/operationsInterfaces/eventCategories.d.ts.map +1 -0
  205. package/dist/esm/operationsInterfaces/eventCategories.js +9 -0
  206. package/dist/esm/operationsInterfaces/eventCategories.js.map +1 -0
  207. package/dist/esm/operationsInterfaces/index.d.ts +7 -0
  208. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  209. package/dist/esm/operationsInterfaces/index.js +14 -0
  210. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  211. package/dist/esm/operationsInterfaces/metricDefinitions.d.ts +12 -0
  212. package/dist/esm/operationsInterfaces/metricDefinitions.d.ts.map +1 -0
  213. package/dist/esm/operationsInterfaces/metricDefinitions.js +9 -0
  214. package/dist/esm/operationsInterfaces/metricDefinitions.js.map +1 -0
  215. package/dist/esm/operationsInterfaces/metrics.d.ts +11 -0
  216. package/dist/esm/operationsInterfaces/metrics.d.ts.map +1 -0
  217. package/dist/esm/operationsInterfaces/metrics.js +9 -0
  218. package/dist/esm/operationsInterfaces/metrics.js.map +1 -0
  219. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  220. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  221. package/dist/esm/operationsInterfaces/operations.js +9 -0
  222. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  223. package/dist/esm/package.json +3 -0
  224. package/dist/esm/pagingHelper.d.ts +13 -0
  225. package/dist/esm/pagingHelper.d.ts.map +1 -0
  226. package/dist/esm/pagingHelper.js +32 -0
  227. package/dist/esm/pagingHelper.js.map +1 -0
  228. package/dist/react-native/index.d.ts +5 -0
  229. package/dist/react-native/index.d.ts.map +1 -0
  230. package/dist/react-native/index.js +13 -0
  231. package/dist/react-native/index.js.map +1 -0
  232. package/dist/react-native/models/index.d.ts +390 -0
  233. package/dist/react-native/models/index.d.ts.map +1 -0
  234. package/dist/react-native/models/index.js +52 -0
  235. package/dist/react-native/models/index.js.map +1 -0
  236. package/dist/react-native/models/mappers.d.ts +24 -0
  237. package/dist/react-native/models/mappers.d.ts.map +1 -0
  238. package/dist/react-native/models/mappers.js +752 -0
  239. package/dist/react-native/models/mappers.js.map +1 -0
  240. package/dist/react-native/models/parameters.d.ts +20 -0
  241. package/dist/react-native/models/parameters.d.ts.map +1 -0
  242. package/dist/react-native/models/parameters.js +182 -0
  243. package/dist/react-native/models/parameters.js.map +1 -0
  244. package/dist/react-native/monitorClient.d.ts +20 -0
  245. package/dist/react-native/monitorClient.d.ts.map +1 -0
  246. package/dist/react-native/monitorClient.js +69 -0
  247. package/dist/react-native/monitorClient.js.map +1 -0
  248. package/dist/react-native/operations/diagnosticSettings.d.ts +41 -0
  249. package/dist/react-native/operations/diagnosticSettings.d.ts.map +1 -0
  250. package/dist/react-native/operations/diagnosticSettings.js +124 -0
  251. package/dist/react-native/operations/diagnosticSettings.js.map +1 -0
  252. package/dist/react-native/operations/diagnosticSettingsCategory.d.ts +26 -0
  253. package/dist/react-native/operations/diagnosticSettingsCategory.d.ts.map +1 -0
  254. package/dist/react-native/operations/diagnosticSettingsCategory.js +72 -0
  255. package/dist/react-native/operations/diagnosticSettingsCategory.js.map +1 -0
  256. package/dist/react-native/operations/eventCategories.d.ts +28 -0
  257. package/dist/react-native/operations/eventCategories.d.ts.map +1 -0
  258. package/dist/react-native/operations/eventCategories.js +98 -0
  259. package/dist/react-native/operations/eventCategories.js.map +1 -0
  260. package/dist/react-native/operations/index.d.ts +7 -0
  261. package/dist/react-native/operations/index.d.ts.map +1 -0
  262. package/dist/react-native/operations/index.js +14 -0
  263. package/dist/react-native/operations/index.js.map +1 -0
  264. package/dist/react-native/operations/metricDefinitions.d.ts +28 -0
  265. package/dist/react-native/operations/metricDefinitions.d.ts.map +1 -0
  266. package/dist/react-native/operations/metricDefinitions.js +98 -0
  267. package/dist/react-native/operations/metricDefinitions.js.map +1 -0
  268. package/dist/react-native/operations/metrics.d.ts +19 -0
  269. package/dist/react-native/operations/metrics.d.ts.map +1 -0
  270. package/dist/react-native/operations/metrics.js +58 -0
  271. package/dist/react-native/operations/metrics.js.map +1 -0
  272. package/dist/react-native/operations/operations.d.ts +18 -0
  273. package/dist/react-native/operations/operations.d.ts.map +1 -0
  274. package/dist/react-native/operations/operations.js +43 -0
  275. package/dist/react-native/operations/operations.js.map +1 -0
  276. package/dist/react-native/operationsInterfaces/diagnosticSettings.d.ts +33 -0
  277. package/dist/react-native/operationsInterfaces/diagnosticSettings.d.ts.map +1 -0
  278. package/dist/react-native/operationsInterfaces/diagnosticSettings.js +9 -0
  279. package/dist/react-native/operationsInterfaces/diagnosticSettings.js.map +1 -0
  280. package/dist/react-native/operationsInterfaces/diagnosticSettingsCategory.d.ts +18 -0
  281. package/dist/react-native/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -0
  282. package/dist/react-native/operationsInterfaces/diagnosticSettingsCategory.js +9 -0
  283. package/dist/react-native/operationsInterfaces/diagnosticSettingsCategory.js.map +1 -0
  284. package/dist/react-native/operationsInterfaces/eventCategories.d.ts +12 -0
  285. package/dist/react-native/operationsInterfaces/eventCategories.d.ts.map +1 -0
  286. package/dist/react-native/operationsInterfaces/eventCategories.js +9 -0
  287. package/dist/react-native/operationsInterfaces/eventCategories.js.map +1 -0
  288. package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
  289. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  290. package/dist/react-native/operationsInterfaces/index.js +14 -0
  291. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  292. package/dist/react-native/operationsInterfaces/metricDefinitions.d.ts +12 -0
  293. package/dist/react-native/operationsInterfaces/metricDefinitions.d.ts.map +1 -0
  294. package/dist/react-native/operationsInterfaces/metricDefinitions.js +9 -0
  295. package/dist/react-native/operationsInterfaces/metricDefinitions.js.map +1 -0
  296. package/dist/react-native/operationsInterfaces/metrics.d.ts +11 -0
  297. package/dist/react-native/operationsInterfaces/metrics.d.ts.map +1 -0
  298. package/dist/react-native/operationsInterfaces/metrics.js +9 -0
  299. package/dist/react-native/operationsInterfaces/metrics.js.map +1 -0
  300. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  301. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  302. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  303. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  304. package/dist/react-native/package.json +3 -0
  305. package/dist/react-native/pagingHelper.d.ts +13 -0
  306. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  307. package/dist/react-native/pagingHelper.js +32 -0
  308. package/dist/react-native/pagingHelper.js.map +1 -0
  309. package/package.json +69 -40
  310. package/dist/index.js +0 -1604
  311. package/dist/index.js.map +0 -1
  312. package/dist/index.min.js +0 -1
  313. package/dist/index.min.js.map +0 -1
  314. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.d.ts +0 -2
  315. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.d.ts.map +0 -1
  316. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +0 -35
  317. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js.map +0 -1
  318. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.d.ts +0 -2
  319. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.d.ts.map +0 -1
  320. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +0 -34
  321. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +0 -1
  322. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.d.ts +0 -2
  323. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.d.ts.map +0 -1
  324. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +0 -49
  325. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +0 -1
  326. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.d.ts +0 -2
  327. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.d.ts.map +0 -1
  328. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +0 -35
  329. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js.map +0 -1
  330. package/dist-esm/samples-dev/diagnosticSettingsGetSample.d.ts +0 -2
  331. package/dist-esm/samples-dev/diagnosticSettingsGetSample.d.ts.map +0 -1
  332. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +0 -35
  333. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +0 -1
  334. package/dist-esm/samples-dev/diagnosticSettingsListSample.d.ts +0 -2
  335. package/dist-esm/samples-dev/diagnosticSettingsListSample.d.ts.map +0 -1
  336. package/dist-esm/samples-dev/diagnosticSettingsListSample.js +0 -34
  337. package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +0 -1
  338. package/dist-esm/samples-dev/eventCategoriesListSample.d.ts +0 -2
  339. package/dist-esm/samples-dev/eventCategoriesListSample.d.ts.map +0 -1
  340. package/dist-esm/samples-dev/eventCategoriesListSample.js +0 -49
  341. package/dist-esm/samples-dev/eventCategoriesListSample.js.map +0 -1
  342. package/dist-esm/samples-dev/metricDefinitionsListSample.d.ts +0 -2
  343. package/dist-esm/samples-dev/metricDefinitionsListSample.d.ts.map +0 -1
  344. package/dist-esm/samples-dev/metricDefinitionsListSample.js +0 -113
  345. package/dist-esm/samples-dev/metricDefinitionsListSample.js.map +0 -1
  346. package/dist-esm/samples-dev/metricsListSample.d.ts +0 -2
  347. package/dist-esm/samples-dev/metricsListSample.d.ts.map +0 -1
  348. package/dist-esm/samples-dev/metricsListSample.js +0 -103
  349. package/dist-esm/samples-dev/metricsListSample.js.map +0 -1
  350. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  351. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  352. package/dist-esm/samples-dev/operationsListSample.js +0 -33
  353. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  354. package/dist-esm/src/index.d.ts +0 -5
  355. package/dist-esm/src/index.js.map +0 -1
  356. package/dist-esm/src/models/index.js.map +0 -1
  357. package/dist-esm/src/models/mappers.js.map +0 -1
  358. package/dist-esm/src/models/parameters.js.map +0 -1
  359. package/dist-esm/src/monitorClient.d.ts.map +0 -1
  360. package/dist-esm/src/monitorClient.js.map +0 -1
  361. package/dist-esm/src/operations/diagnosticSettings.d.ts.map +0 -1
  362. package/dist-esm/src/operations/diagnosticSettings.js.map +0 -1
  363. package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +0 -1
  364. package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +0 -1
  365. package/dist-esm/src/operations/eventCategories.d.ts.map +0 -1
  366. package/dist-esm/src/operations/eventCategories.js.map +0 -1
  367. package/dist-esm/src/operations/index.d.ts +0 -7
  368. package/dist-esm/src/operations/index.js +0 -14
  369. package/dist-esm/src/operations/index.js.map +0 -1
  370. package/dist-esm/src/operations/metricDefinitions.d.ts.map +0 -1
  371. package/dist-esm/src/operations/metricDefinitions.js.map +0 -1
  372. package/dist-esm/src/operations/metrics.d.ts.map +0 -1
  373. package/dist-esm/src/operations/metrics.js.map +0 -1
  374. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  375. package/dist-esm/src/operations/operations.js.map +0 -1
  376. package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts.map +0 -1
  377. package/dist-esm/src/operationsInterfaces/diagnosticSettings.js.map +0 -1
  378. package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +0 -1
  379. package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.js.map +0 -1
  380. package/dist-esm/src/operationsInterfaces/eventCategories.js.map +0 -1
  381. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
  382. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  383. package/dist-esm/src/operationsInterfaces/index.js +0 -14
  384. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  385. package/dist-esm/src/operationsInterfaces/metricDefinitions.d.ts.map +0 -1
  386. package/dist-esm/src/operationsInterfaces/metricDefinitions.js.map +0 -1
  387. package/dist-esm/src/operationsInterfaces/metrics.d.ts.map +0 -1
  388. package/dist-esm/src/operationsInterfaces/metrics.js.map +0 -1
  389. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  390. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  391. package/dist-esm/src/pagingHelper.js.map +0 -1
  392. package/dist-esm/test/sampleTest.d.ts +0 -2
  393. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  394. package/dist-esm/test/sampleTest.js +0 -42
  395. package/dist-esm/test/sampleTest.js.map +0 -1
  396. package/src/models/index.ts +0 -451
  397. package/src/models/mappers.ts +0 -788
  398. package/src/models/parameters.ts +0 -205
  399. package/src/monitorClient.ts +0 -120
  400. package/src/operations/diagnosticSettings.ts +0 -172
  401. package/src/operations/diagnosticSettingsCategory.ts +0 -102
  402. package/src/operations/eventCategories.ts +0 -105
  403. package/src/operations/index.ts +0 -14
  404. package/src/operations/metricDefinitions.ts +0 -112
  405. package/src/operations/metrics.ts +0 -72
  406. package/src/operations/operations.ts +0 -56
  407. package/src/operationsInterfaces/diagnosticSettings.ts +0 -66
  408. package/src/operationsInterfaces/diagnosticSettingsCategory.ts +0 -38
  409. package/src/operationsInterfaces/eventCategories.ts +0 -26
  410. package/src/operationsInterfaces/index.ts +0 -14
  411. package/src/operationsInterfaces/metricDefinitions.ts +0 -27
  412. package/src/operationsInterfaces/metrics.ts +0 -22
  413. package/src/operationsInterfaces/operations.ts +0 -21
  414. package/src/pagingHelper.ts +0 -39
  415. package/tsconfig.json +0 -33
  416. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  417. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  418. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  419. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  420. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  421. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  422. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  423. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  424. /package/{dist-esm/src → dist/browser}/operationsInterfaces/diagnosticSettings.js +0 -0
  425. /package/{dist-esm/src → dist/browser}/operationsInterfaces/diagnosticSettingsCategory.js +0 -0
  426. /package/{dist-esm/src → dist/browser}/operationsInterfaces/eventCategories.js +0 -0
  427. /package/{dist-esm/src → dist/browser}/operationsInterfaces/metricDefinitions.js +0 -0
  428. /package/{dist-esm/src → dist/browser}/operationsInterfaces/metrics.js +0 -0
  429. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  430. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  431. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  432. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  433. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,390 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** Represents collection of metric definitions. */
3
+ export interface MetricDefinitionCollection {
4
+ /** the values for the metric definitions. */
5
+ value: MetricDefinition[];
6
+ }
7
+ /** Metric definition class specifies the metadata for a metric. */
8
+ export interface MetricDefinition {
9
+ /** Flag to indicate whether the dimension is required. */
10
+ isDimensionRequired?: boolean;
11
+ /** the resource identifier of the resource that emitted the metric. */
12
+ resourceId?: string;
13
+ /** the namespace the metric belongs to. */
14
+ namespace?: string;
15
+ /** the name and the display name of the metric, i.e. it is a localizable string. */
16
+ name?: LocalizableString;
17
+ /** Detailed description of this metric. */
18
+ displayDescription?: string;
19
+ /** Custom category name for this metric. */
20
+ category?: string;
21
+ /** The class of the metric. */
22
+ metricClass?: MetricClass;
23
+ /** The unit of the metric. */
24
+ unit?: MetricUnit;
25
+ /** the primary aggregation type value defining how to use the values for display. */
26
+ primaryAggregationType?: AggregationType;
27
+ /** the collection of what aggregation types are supported. */
28
+ supportedAggregationTypes?: AggregationType[];
29
+ /** the collection of what aggregation intervals are available to be queried. */
30
+ metricAvailabilities?: MetricAvailability[];
31
+ /** the resource identifier of the metric definition. */
32
+ id?: string;
33
+ /** the name and the display name of the dimension, i.e. it is a localizable string. */
34
+ dimensions?: LocalizableString[];
35
+ }
36
+ /** The localizable string class. */
37
+ export interface LocalizableString {
38
+ /** the invariant value. */
39
+ value: string;
40
+ /** the locale specific value. */
41
+ localizedValue?: string;
42
+ }
43
+ /** Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. */
44
+ export interface MetricAvailability {
45
+ /** the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. */
46
+ timeGrain?: string;
47
+ /** the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. */
48
+ retention?: string;
49
+ }
50
+ /** Describes the format of Error response. */
51
+ export interface ErrorResponse {
52
+ /** Error code */
53
+ code?: string;
54
+ /** Error message indicating why the operation failed. */
55
+ message?: string;
56
+ }
57
+ /** The response to a metrics query. */
58
+ export interface Response {
59
+ /** The integer value representing the relative cost of the query. */
60
+ cost?: number;
61
+ /** The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. */
62
+ timespan: string;
63
+ /** The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. */
64
+ interval?: string;
65
+ /** The namespace of the metrics being queried */
66
+ namespace?: string;
67
+ /** The region of the resource being queried for metrics. */
68
+ resourceregion?: string;
69
+ /** the value of the collection. */
70
+ value: Metric[];
71
+ }
72
+ /** The result data of a query. */
73
+ export interface Metric {
74
+ /** the metric Id. */
75
+ id: string;
76
+ /** the resource type of the metric resource. */
77
+ type: string;
78
+ /** the name and the display name of the metric, i.e. it is localizable string. */
79
+ name: LocalizableString;
80
+ /** Detailed description of this metric. */
81
+ displayDescription?: string;
82
+ /** 'Success' or the error details on query failures for this metric. */
83
+ errorCode?: string;
84
+ /** Error message encountered querying this specific metric. */
85
+ errorMessage?: string;
86
+ /** The unit of the metric. */
87
+ unit: MetricUnit;
88
+ /** the time series returned when a data query is performed. */
89
+ timeseries: TimeSeriesElement[];
90
+ }
91
+ /** A time series result type. The discriminator value is always TimeSeries in this case. */
92
+ export interface TimeSeriesElement {
93
+ /** the metadata values returned if $filter was specified in the call. */
94
+ metadatavalues?: MetadataValue[];
95
+ /** An array of data points representing the metric values. This is only returned if a result type of data is specified. */
96
+ data?: MetricValue[];
97
+ }
98
+ /** Represents a metric metadata value. */
99
+ export interface MetadataValue {
100
+ /** the name of the metadata. */
101
+ name?: LocalizableString;
102
+ /** the value of the metadata. */
103
+ value?: string;
104
+ }
105
+ /** Represents a metric value. */
106
+ export interface MetricValue {
107
+ /** the timestamp for the metric value in ISO 8601 format. */
108
+ timeStamp: Date;
109
+ /** the average value in the time range. */
110
+ average?: number;
111
+ /** the least value in the time range. */
112
+ minimum?: number;
113
+ /** the greatest value in the time range. */
114
+ maximum?: number;
115
+ /** the sum of all of the values in the time range. */
116
+ total?: number;
117
+ /** the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. */
118
+ count?: number;
119
+ }
120
+ /** Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric. */
121
+ export interface MetricSettings {
122
+ /** the timegrain of the metric in ISO8601 format. */
123
+ timeGrain?: string;
124
+ /** Name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation. */
125
+ category?: string;
126
+ /** a value indicating whether this category is enabled. */
127
+ enabled: boolean;
128
+ /** the retention policy for this category. */
129
+ retentionPolicy?: RetentionPolicy;
130
+ }
131
+ /** Specifies the retention policy for the log. */
132
+ export interface RetentionPolicy {
133
+ /** a value indicating whether the retention policy is enabled. */
134
+ enabled: boolean;
135
+ /** the number of days for the retention in days. A value of 0 will retain the events indefinitely. */
136
+ days: number;
137
+ }
138
+ /** Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log. */
139
+ export interface LogSettings {
140
+ /** Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. */
141
+ category?: string;
142
+ /** a value indicating whether this log is enabled. */
143
+ enabled: boolean;
144
+ /** the retention policy for this log. */
145
+ retentionPolicy?: RetentionPolicy;
146
+ }
147
+ /** A proxy only azure resource object */
148
+ export interface ProxyOnlyResource {
149
+ /**
150
+ * Azure resource Id
151
+ * NOTE: This property will not be serialized. It can only be populated by the server.
152
+ */
153
+ readonly id?: string;
154
+ /**
155
+ * Azure resource name
156
+ * NOTE: This property will not be serialized. It can only be populated by the server.
157
+ */
158
+ readonly name?: string;
159
+ /**
160
+ * Azure resource type
161
+ * NOTE: This property will not be serialized. It can only be populated by the server.
162
+ */
163
+ readonly type?: string;
164
+ }
165
+ /** Represents a collection of alert rule resources. */
166
+ export interface DiagnosticSettingsResourceCollection {
167
+ /** The collection of diagnostic settings resources;. */
168
+ value?: DiagnosticSettingsResource[];
169
+ }
170
+ /** Represents a collection of diagnostic setting category resources. */
171
+ export interface DiagnosticSettingsCategoryResourceCollection {
172
+ /** The collection of diagnostic settings category resources. */
173
+ value?: DiagnosticSettingsCategoryResource[];
174
+ }
175
+ /** A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy. */
176
+ export interface EventCategoryCollection {
177
+ /** the list that includes the Azure event categories. */
178
+ value: LocalizableString[];
179
+ }
180
+ /** Result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results. */
181
+ export interface OperationListResult {
182
+ /** List of operations supported by the Microsoft.Insights provider. */
183
+ value?: Operation[];
184
+ /** URL to get the next set of operation list results if there are any. */
185
+ nextLink?: string;
186
+ }
187
+ /** Microsoft Insights API operation definition. */
188
+ export interface Operation {
189
+ /** Operation name: {provider}/{resource}/{operation} */
190
+ name?: string;
191
+ /** Display metadata associated with the operation. */
192
+ display?: OperationDisplay;
193
+ }
194
+ /** Display metadata associated with the operation. */
195
+ export interface OperationDisplay {
196
+ /** Service provider: Microsoft.Insights */
197
+ provider?: string;
198
+ /** Resource on which the operation is performed: AlertRules, Autoscale, etc. */
199
+ resource?: string;
200
+ /** Operation type: Read, write, delete, etc. */
201
+ operation?: string;
202
+ }
203
+ /** The diagnostic setting resource. */
204
+ export interface DiagnosticSettingsResource extends ProxyOnlyResource {
205
+ /** The resource ID of the storage account to which you would like to send Diagnostic Logs. */
206
+ storageAccountId?: string;
207
+ /** The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. */
208
+ serviceBusRuleId?: string;
209
+ /** The resource Id for the event hub authorization rule. */
210
+ eventHubAuthorizationRuleId?: string;
211
+ /** The name of the event hub. If none is specified, the default event hub will be selected. */
212
+ eventHubName?: string;
213
+ /** The list of metric settings. */
214
+ metrics?: MetricSettings[];
215
+ /** The list of logs settings. */
216
+ logs?: LogSettings[];
217
+ /** The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2 */
218
+ workspaceId?: string;
219
+ /** A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.) */
220
+ logAnalyticsDestinationType?: string;
221
+ }
222
+ /** The diagnostic settings category resource. */
223
+ export interface DiagnosticSettingsCategoryResource extends ProxyOnlyResource {
224
+ /** The type of the diagnostic settings category. */
225
+ categoryType?: CategoryType;
226
+ }
227
+ /** Known values of {@link MetricClass} that the service accepts. */
228
+ export declare enum KnownMetricClass {
229
+ /** Availability */
230
+ Availability = "Availability",
231
+ /** Transactions */
232
+ Transactions = "Transactions",
233
+ /** Errors */
234
+ Errors = "Errors",
235
+ /** Latency */
236
+ Latency = "Latency",
237
+ /** Saturation */
238
+ Saturation = "Saturation"
239
+ }
240
+ /**
241
+ * Defines values for MetricClass. \
242
+ * {@link KnownMetricClass} can be used interchangeably with MetricClass,
243
+ * this enum contains the known values that the service supports.
244
+ * ### Known values supported by the service
245
+ * **Availability** \
246
+ * **Transactions** \
247
+ * **Errors** \
248
+ * **Latency** \
249
+ * **Saturation**
250
+ */
251
+ export type MetricClass = string;
252
+ /** Known values of {@link MetricUnit} that the service accepts. */
253
+ export declare enum KnownMetricUnit {
254
+ /** Count */
255
+ Count = "Count",
256
+ /** Bytes */
257
+ Bytes = "Bytes",
258
+ /** Seconds */
259
+ Seconds = "Seconds",
260
+ /** CountPerSecond */
261
+ CountPerSecond = "CountPerSecond",
262
+ /** BytesPerSecond */
263
+ BytesPerSecond = "BytesPerSecond",
264
+ /** Percent */
265
+ Percent = "Percent",
266
+ /** MilliSeconds */
267
+ MilliSeconds = "MilliSeconds",
268
+ /** ByteSeconds */
269
+ ByteSeconds = "ByteSeconds",
270
+ /** Unspecified */
271
+ Unspecified = "Unspecified",
272
+ /** Cores */
273
+ Cores = "Cores",
274
+ /** MilliCores */
275
+ MilliCores = "MilliCores",
276
+ /** NanoCores */
277
+ NanoCores = "NanoCores",
278
+ /** BitsPerSecond */
279
+ BitsPerSecond = "BitsPerSecond"
280
+ }
281
+ /**
282
+ * Defines values for MetricUnit. \
283
+ * {@link KnownMetricUnit} can be used interchangeably with MetricUnit,
284
+ * this enum contains the known values that the service supports.
285
+ * ### Known values supported by the service
286
+ * **Count** \
287
+ * **Bytes** \
288
+ * **Seconds** \
289
+ * **CountPerSecond** \
290
+ * **BytesPerSecond** \
291
+ * **Percent** \
292
+ * **MilliSeconds** \
293
+ * **ByteSeconds** \
294
+ * **Unspecified** \
295
+ * **Cores** \
296
+ * **MilliCores** \
297
+ * **NanoCores** \
298
+ * **BitsPerSecond**
299
+ */
300
+ export type MetricUnit = string;
301
+ /** Defines values for AggregationType. */
302
+ export type AggregationType = "None" | "Average" | "Count" | "Minimum" | "Maximum" | "Total";
303
+ /** Defines values for ResultType. */
304
+ export type ResultType = "Data" | "Metadata";
305
+ /** Defines values for CategoryType. */
306
+ export type CategoryType = "Metrics" | "Logs";
307
+ /** Optional parameters. */
308
+ export interface MetricDefinitionsListOptionalParams extends coreClient.OperationOptions {
309
+ /** Metric namespace to query metric definitions for. */
310
+ metricnamespace?: string;
311
+ }
312
+ /** Contains response data for the list operation. */
313
+ export type MetricDefinitionsListResponse = MetricDefinitionCollection;
314
+ /** Optional parameters. */
315
+ export interface MetricsListOptionalParams extends coreClient.OperationOptions {
316
+ /** Metric namespace to query metric definitions for. */
317
+ metricnamespace?: string;
318
+ /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
319
+ timespan?: string;
320
+ /** The interval (i.e. timegrain) of the query. */
321
+ interval?: string;
322
+ /** The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'** */
323
+ metricnames?: string;
324
+ /** The list of aggregation types (comma separated) to retrieve. */
325
+ aggregation?: string;
326
+ /**
327
+ * The maximum number of records to retrieve.
328
+ * Valid only if $filter is specified.
329
+ * Defaults to 10.
330
+ */
331
+ top?: number;
332
+ /**
333
+ * The aggregation to use for sorting results and the direction of the sort.
334
+ * Only one order can be specified.
335
+ * Examples: sum asc.
336
+ */
337
+ orderby?: string;
338
+ /** The **$filter** is used to reduce the set of metric data returned. Example: Metric contains metadata A, B and C. - Return all time series of C where A = a1 and B = b1 or b2 **$filter=A eq 'a1' and B eq 'b1' or B eq 'b2' and C eq '*'** - Invalid variant: **$filter=A eq 'a1' and B eq 'b1' and C eq '*' or B = 'b2'** This is invalid because the logical or operator cannot separate two different metadata names. - Return all time series where A = a1, B = b1 and C = c1: **$filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** - Return all time series where A = a1 **$filter=A eq 'a1' and B eq '*' and C eq '*'**. Special case: When dimension name or dimension value uses round brackets. Eg: When dimension name is **dim (test) 1** Instead of using $filter= "dim (test) 1 eq '*' " use **$filter= "dim %2528test%2529 1 eq '*' "** When dimension name is **dim (test) 3** and dimension value is **dim3 (test) val** Instead of using $filter= "dim (test) 3 eq 'dim3 (test) val' " use **$filter= "dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' "** */
339
+ filter?: string;
340
+ /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
341
+ resultType?: ResultType;
342
+ }
343
+ /** Contains response data for the list operation. */
344
+ export type MetricsListResponse = Response;
345
+ /** Optional parameters. */
346
+ export interface DiagnosticSettingsGetOptionalParams extends coreClient.OperationOptions {
347
+ }
348
+ /** Contains response data for the get operation. */
349
+ export type DiagnosticSettingsGetResponse = DiagnosticSettingsResource;
350
+ /** Optional parameters. */
351
+ export interface DiagnosticSettingsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
352
+ }
353
+ /** Contains response data for the createOrUpdate operation. */
354
+ export type DiagnosticSettingsCreateOrUpdateResponse = DiagnosticSettingsResource;
355
+ /** Optional parameters. */
356
+ export interface DiagnosticSettingsDeleteOptionalParams extends coreClient.OperationOptions {
357
+ }
358
+ /** Optional parameters. */
359
+ export interface DiagnosticSettingsListOptionalParams extends coreClient.OperationOptions {
360
+ }
361
+ /** Contains response data for the list operation. */
362
+ export type DiagnosticSettingsListResponse = DiagnosticSettingsResourceCollection;
363
+ /** Optional parameters. */
364
+ export interface DiagnosticSettingsCategoryGetOptionalParams extends coreClient.OperationOptions {
365
+ }
366
+ /** Contains response data for the get operation. */
367
+ export type DiagnosticSettingsCategoryGetResponse = DiagnosticSettingsCategoryResource;
368
+ /** Optional parameters. */
369
+ export interface DiagnosticSettingsCategoryListOptionalParams extends coreClient.OperationOptions {
370
+ }
371
+ /** Contains response data for the list operation. */
372
+ export type DiagnosticSettingsCategoryListResponse = DiagnosticSettingsCategoryResourceCollection;
373
+ /** Optional parameters. */
374
+ export interface EventCategoriesListOptionalParams extends coreClient.OperationOptions {
375
+ }
376
+ /** Contains response data for the list operation. */
377
+ export type EventCategoriesListResponse = EventCategoryCollection;
378
+ /** Optional parameters. */
379
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
380
+ }
381
+ /** Contains response data for the list operation. */
382
+ export type OperationsListResponse = OperationListResult;
383
+ /** Optional parameters. */
384
+ export interface MonitorClientOptionalParams extends coreClient.ServiceClientOptions {
385
+ /** server parameter */
386
+ $host?: string;
387
+ /** Overrides client endpoint. */
388
+ endpoint?: string;
389
+ }
390
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,mDAAmD;AACnD,MAAM,WAAW,0BAA0B;IACzC,6CAA6C;IAC7C,KAAK,EA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Q,UAAU,CAAC,gBAAgB;CAAG;AAExC,qDAAqD;AACrD,MAAM,MAAM,sCAAsC,GAAG,4CAA4C,CAAC;AAElG,2BAA2B;AAC3B,MAAM,WAAW,iCACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,qDAAqD;AACrD,MAAM,MAAM,2BAA2B,GAAG,uBAAuB,CAAC;AAElE,2BAA2B;AAC3B,MAAM,WAAW,4BACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,qDAAqD;AACrD,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,CAAC;AAEzD,2BAA2B;AAC3B,MAAM,WAAW,2BACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,52 @@
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
+ /** Known values of {@link MetricClass} that the service accepts. */
9
+ export var KnownMetricClass;
10
+ (function (KnownMetricClass) {
11
+ /** Availability */
12
+ KnownMetricClass["Availability"] = "Availability";
13
+ /** Transactions */
14
+ KnownMetricClass["Transactions"] = "Transactions";
15
+ /** Errors */
16
+ KnownMetricClass["Errors"] = "Errors";
17
+ /** Latency */
18
+ KnownMetricClass["Latency"] = "Latency";
19
+ /** Saturation */
20
+ KnownMetricClass["Saturation"] = "Saturation";
21
+ })(KnownMetricClass || (KnownMetricClass = {}));
22
+ /** Known values of {@link MetricUnit} that the service accepts. */
23
+ export var KnownMetricUnit;
24
+ (function (KnownMetricUnit) {
25
+ /** Count */
26
+ KnownMetricUnit["Count"] = "Count";
27
+ /** Bytes */
28
+ KnownMetricUnit["Bytes"] = "Bytes";
29
+ /** Seconds */
30
+ KnownMetricUnit["Seconds"] = "Seconds";
31
+ /** CountPerSecond */
32
+ KnownMetricUnit["CountPerSecond"] = "CountPerSecond";
33
+ /** BytesPerSecond */
34
+ KnownMetricUnit["BytesPerSecond"] = "BytesPerSecond";
35
+ /** Percent */
36
+ KnownMetricUnit["Percent"] = "Percent";
37
+ /** MilliSeconds */
38
+ KnownMetricUnit["MilliSeconds"] = "MilliSeconds";
39
+ /** ByteSeconds */
40
+ KnownMetricUnit["ByteSeconds"] = "ByteSeconds";
41
+ /** Unspecified */
42
+ KnownMetricUnit["Unspecified"] = "Unspecified";
43
+ /** Cores */
44
+ KnownMetricUnit["Cores"] = "Cores";
45
+ /** MilliCores */
46
+ KnownMetricUnit["MilliCores"] = "MilliCores";
47
+ /** NanoCores */
48
+ KnownMetricUnit["NanoCores"] = "NanoCores";
49
+ /** BitsPerSecond */
50
+ KnownMetricUnit["BitsPerSecond"] = "BitsPerSecond";
51
+ })(KnownMetricUnit || (KnownMetricUnit = {}));
52
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA2PH,oEAAoE;AACpE,MAAM,CAAN,IAAY,gBAWX;AAXD,WAAY,gBAAgB;IAC1B,mBAAmB;IACnB,iDAA6B,CAAA;IAC7B,mBAAmB;IACnB,iDAA6B,CAAA;IAC7B,aAAa;IACb,qCAAiB,CAAA;IACjB,cAAc;IACd,uCAAmB,CAAA;IACnB,iBAAiB;IACjB,6CAAyB,CAAA;AAC3B,CAAC,EAXW,gBAAgB,KAAhB,gBAAgB,QAW3B;AAeD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eA2BX;AA3BD,WAAY,eAAe;IACzB,YAAY;IACZ,kCAAe,CAAA;IACf,YAAY;IACZ,kCAAe,CAAA;IACf,cAAc;IACd,sCAAmB,CAAA;IACnB,qBAAqB;IACrB,oDAAiC,CAAA;IACjC,qBAAqB;IACrB,oDAAiC,CAAA;IACjC,cAAc;IACd,sCAAmB,CAAA;IACnB,mBAAmB;IACnB,gDAA6B,CAAA;IAC7B,kBAAkB;IAClB,8CAA2B,CAAA;IAC3B,kBAAkB;IAClB,8CAA2B,CAAA;IAC3B,YAAY;IACZ,kCAAe,CAAA;IACf,iBAAiB;IACjB,4CAAyB,CAAA;IACzB,gBAAgB;IAChB,0CAAuB,CAAA;IACvB,oBAAoB;IACpB,kDAA+B,CAAA;AACjC,CAAC,EA3BW,eAAe,KAAf,eAAe,QA2B1B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Represents collection of metric definitions. */\nexport interface MetricDefinitionCollection {\n /** the values for the metric definitions. */\n value: MetricDefinition[];\n}\n\n/** Metric definition class specifies the metadata for a metric. */\nexport interface MetricDefinition {\n /** Flag to indicate whether the dimension is required. */\n isDimensionRequired?: boolean;\n /** the resource identifier of the resource that emitted the metric. */\n resourceId?: string;\n /** the namespace the metric belongs to. */\n namespace?: string;\n /** the name and the display name of the metric, i.e. it is a localizable string. */\n name?: LocalizableString;\n /** Detailed description of this metric. */\n displayDescription?: string;\n /** Custom category name for this metric. */\n category?: string;\n /** The class of the metric. */\n metricClass?: MetricClass;\n /** The unit of the metric. */\n unit?: MetricUnit;\n /** the primary aggregation type value defining how to use the values for display. */\n primaryAggregationType?: AggregationType;\n /** the collection of what aggregation types are supported. */\n supportedAggregationTypes?: AggregationType[];\n /** the collection of what aggregation intervals are available to be queried. */\n metricAvailabilities?: MetricAvailability[];\n /** the resource identifier of the metric definition. */\n id?: string;\n /** the name and the display name of the dimension, i.e. it is a localizable string. */\n dimensions?: LocalizableString[];\n}\n\n/** The localizable string class. */\nexport interface LocalizableString {\n /** the invariant value. */\n value: string;\n /** the locale specific value. */\n localizedValue?: string;\n}\n\n/** Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. */\nexport interface MetricAvailability {\n /** the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. */\n timeGrain?: string;\n /** the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. */\n retention?: string;\n}\n\n/** Describes the format of Error response. */\nexport interface ErrorResponse {\n /** Error code */\n code?: string;\n /** Error message indicating why the operation failed. */\n message?: string;\n}\n\n/** The response to a metrics query. */\nexport interface Response {\n /** The integer value representing the relative cost of the query. */\n cost?: number;\n /** The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. */\n timespan: string;\n /** The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. */\n interval?: string;\n /** The namespace of the metrics being queried */\n namespace?: string;\n /** The region of the resource being queried for metrics. */\n resourceregion?: string;\n /** the value of the collection. */\n value: Metric[];\n}\n\n/** The result data of a query. */\nexport interface Metric {\n /** the metric Id. */\n id: string;\n /** the resource type of the metric resource. */\n type: string;\n /** the name and the display name of the metric, i.e. it is localizable string. */\n name: LocalizableString;\n /** Detailed description of this metric. */\n displayDescription?: string;\n /** 'Success' or the error details on query failures for this metric. */\n errorCode?: string;\n /** Error message encountered querying this specific metric. */\n errorMessage?: string;\n /** The unit of the metric. */\n unit: MetricUnit;\n /** the time series returned when a data query is performed. */\n timeseries: TimeSeriesElement[];\n}\n\n/** A time series result type. The discriminator value is always TimeSeries in this case. */\nexport interface TimeSeriesElement {\n /** the metadata values returned if $filter was specified in the call. */\n metadatavalues?: MetadataValue[];\n /** An array of data points representing the metric values. This is only returned if a result type of data is specified. */\n data?: MetricValue[];\n}\n\n/** Represents a metric metadata value. */\nexport interface MetadataValue {\n /** the name of the metadata. */\n name?: LocalizableString;\n /** the value of the metadata. */\n value?: string;\n}\n\n/** Represents a metric value. */\nexport interface MetricValue {\n /** the timestamp for the metric value in ISO 8601 format. */\n timeStamp: Date;\n /** the average value in the time range. */\n average?: number;\n /** the least value in the time range. */\n minimum?: number;\n /** the greatest value in the time range. */\n maximum?: number;\n /** the sum of all of the values in the time range. */\n total?: number;\n /** the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. */\n count?: number;\n}\n\n/** Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric. */\nexport interface MetricSettings {\n /** the timegrain of the metric in ISO8601 format. */\n timeGrain?: string;\n /** Name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation. */\n category?: string;\n /** a value indicating whether this category is enabled. */\n enabled: boolean;\n /** the retention policy for this category. */\n retentionPolicy?: RetentionPolicy;\n}\n\n/** Specifies the retention policy for the log. */\nexport interface RetentionPolicy {\n /** a value indicating whether the retention policy is enabled. */\n enabled: boolean;\n /** the number of days for the retention in days. A value of 0 will retain the events indefinitely. */\n days: number;\n}\n\n/** Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log. */\nexport interface LogSettings {\n /** Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. */\n category?: string;\n /** a value indicating whether this log is enabled. */\n enabled: boolean;\n /** the retention policy for this log. */\n retentionPolicy?: RetentionPolicy;\n}\n\n/** A proxy only azure resource object */\nexport interface ProxyOnlyResource {\n /**\n * Azure resource Id\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Azure resource name\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Azure resource type\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** Represents a collection of alert rule resources. */\nexport interface DiagnosticSettingsResourceCollection {\n /** The collection of diagnostic settings resources;. */\n value?: DiagnosticSettingsResource[];\n}\n\n/** Represents a collection of diagnostic setting category resources. */\nexport interface DiagnosticSettingsCategoryResourceCollection {\n /** The collection of diagnostic settings category resources. */\n value?: DiagnosticSettingsCategoryResource[];\n}\n\n/** A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy. */\nexport interface EventCategoryCollection {\n /** the list that includes the Azure event categories. */\n value: LocalizableString[];\n}\n\n/** Result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of operations supported by the Microsoft.Insights provider. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** Microsoft Insights API operation definition. */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** Display metadata associated with the operation. */\n display?: OperationDisplay;\n}\n\n/** Display metadata associated with the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.Insights */\n provider?: string;\n /** Resource on which the operation is performed: AlertRules, Autoscale, etc. */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n}\n\n/** The diagnostic setting resource. */\nexport interface DiagnosticSettingsResource extends ProxyOnlyResource {\n /** The resource ID of the storage account to which you would like to send Diagnostic Logs. */\n storageAccountId?: string;\n /** The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. */\n serviceBusRuleId?: string;\n /** The resource Id for the event hub authorization rule. */\n eventHubAuthorizationRuleId?: string;\n /** The name of the event hub. If none is specified, the default event hub will be selected. */\n eventHubName?: string;\n /** The list of metric settings. */\n metrics?: MetricSettings[];\n /** The list of logs settings. */\n logs?: LogSettings[];\n /** The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2 */\n workspaceId?: string;\n /** A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.) */\n logAnalyticsDestinationType?: string;\n}\n\n/** The diagnostic settings category resource. */\nexport interface DiagnosticSettingsCategoryResource extends ProxyOnlyResource {\n /** The type of the diagnostic settings category. */\n categoryType?: CategoryType;\n}\n\n/** Known values of {@link MetricClass} that the service accepts. */\nexport enum KnownMetricClass {\n /** Availability */\n Availability = \"Availability\",\n /** Transactions */\n Transactions = \"Transactions\",\n /** Errors */\n Errors = \"Errors\",\n /** Latency */\n Latency = \"Latency\",\n /** Saturation */\n Saturation = \"Saturation\"\n}\n\n/**\n * Defines values for MetricClass. \\\n * {@link KnownMetricClass} can be used interchangeably with MetricClass,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Availability** \\\n * **Transactions** \\\n * **Errors** \\\n * **Latency** \\\n * **Saturation**\n */\nexport type MetricClass = string;\n\n/** Known values of {@link MetricUnit} that the service accepts. */\nexport enum KnownMetricUnit {\n /** Count */\n Count = \"Count\",\n /** Bytes */\n Bytes = \"Bytes\",\n /** Seconds */\n Seconds = \"Seconds\",\n /** CountPerSecond */\n CountPerSecond = \"CountPerSecond\",\n /** BytesPerSecond */\n BytesPerSecond = \"BytesPerSecond\",\n /** Percent */\n Percent = \"Percent\",\n /** MilliSeconds */\n MilliSeconds = \"MilliSeconds\",\n /** ByteSeconds */\n ByteSeconds = \"ByteSeconds\",\n /** Unspecified */\n Unspecified = \"Unspecified\",\n /** Cores */\n Cores = \"Cores\",\n /** MilliCores */\n MilliCores = \"MilliCores\",\n /** NanoCores */\n NanoCores = \"NanoCores\",\n /** BitsPerSecond */\n BitsPerSecond = \"BitsPerSecond\"\n}\n\n/**\n * Defines values for MetricUnit. \\\n * {@link KnownMetricUnit} can be used interchangeably with MetricUnit,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Count** \\\n * **Bytes** \\\n * **Seconds** \\\n * **CountPerSecond** \\\n * **BytesPerSecond** \\\n * **Percent** \\\n * **MilliSeconds** \\\n * **ByteSeconds** \\\n * **Unspecified** \\\n * **Cores** \\\n * **MilliCores** \\\n * **NanoCores** \\\n * **BitsPerSecond**\n */\nexport type MetricUnit = string;\n/** Defines values for AggregationType. */\nexport type AggregationType =\n | \"None\"\n | \"Average\"\n | \"Count\"\n | \"Minimum\"\n | \"Maximum\"\n | \"Total\";\n/** Defines values for ResultType. */\nexport type ResultType = \"Data\" | \"Metadata\";\n/** Defines values for CategoryType. */\nexport type CategoryType = \"Metrics\" | \"Logs\";\n\n/** Optional parameters. */\nexport interface MetricDefinitionsListOptionalParams\n extends coreClient.OperationOptions {\n /** Metric namespace to query metric definitions for. */\n metricnamespace?: string;\n}\n\n/** Contains response data for the list operation. */\nexport type MetricDefinitionsListResponse = MetricDefinitionCollection;\n\n/** Optional parameters. */\nexport interface MetricsListOptionalParams extends coreClient.OperationOptions {\n /** Metric namespace to query metric definitions for. */\n metricnamespace?: string;\n /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */\n timespan?: string;\n /** The interval (i.e. timegrain) of the query. */\n interval?: string;\n /** The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'** */\n metricnames?: string;\n /** The list of aggregation types (comma separated) to retrieve. */\n aggregation?: string;\n /**\n * The maximum number of records to retrieve.\n * Valid only if $filter is specified.\n * Defaults to 10.\n */\n top?: number;\n /**\n * The aggregation to use for sorting results and the direction of the sort.\n * Only one order can be specified.\n * Examples: sum asc.\n */\n orderby?: string;\n /** The **$filter** is used to reduce the set of metric data returned. Example: Metric contains metadata A, B and C. - Return all time series of C where A = a1 and B = b1 or b2 **$filter=A eq 'a1' and B eq 'b1' or B eq 'b2' and C eq '*'** - Invalid variant: **$filter=A eq 'a1' and B eq 'b1' and C eq '*' or B = 'b2'** This is invalid because the logical or operator cannot separate two different metadata names. - Return all time series where A = a1, B = b1 and C = c1: **$filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** - Return all time series where A = a1 **$filter=A eq 'a1' and B eq '*' and C eq '*'**. Special case: When dimension name or dimension value uses round brackets. Eg: When dimension name is **dim (test) 1** Instead of using $filter= \"dim (test) 1 eq '*' \" use **$filter= \"dim %2528test%2529 1 eq '*' \"** When dimension name is **dim (test) 3** and dimension value is **dim3 (test) val** Instead of using $filter= \"dim (test) 3 eq 'dim3 (test) val' \" use **$filter= \"dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' \"** */\n filter?: string;\n /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */\n resultType?: ResultType;\n}\n\n/** Contains response data for the list operation. */\nexport type MetricsListResponse = Response;\n\n/** Optional parameters. */\nexport interface DiagnosticSettingsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type DiagnosticSettingsGetResponse = DiagnosticSettingsResource;\n\n/** Optional parameters. */\nexport interface DiagnosticSettingsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type DiagnosticSettingsCreateOrUpdateResponse = DiagnosticSettingsResource;\n\n/** Optional parameters. */\nexport interface DiagnosticSettingsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface DiagnosticSettingsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type DiagnosticSettingsListResponse = DiagnosticSettingsResourceCollection;\n\n/** Optional parameters. */\nexport interface DiagnosticSettingsCategoryGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type DiagnosticSettingsCategoryGetResponse = DiagnosticSettingsCategoryResource;\n\n/** Optional parameters. */\nexport interface DiagnosticSettingsCategoryListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type DiagnosticSettingsCategoryListResponse = DiagnosticSettingsCategoryResourceCollection;\n\n/** Optional parameters. */\nexport interface EventCategoriesListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type EventCategoriesListResponse = EventCategoryCollection;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface MonitorClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1,24 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ export declare const MetricDefinitionCollection: coreClient.CompositeMapper;
3
+ export declare const MetricDefinition: coreClient.CompositeMapper;
4
+ export declare const LocalizableString: coreClient.CompositeMapper;
5
+ export declare const MetricAvailability: coreClient.CompositeMapper;
6
+ export declare const ErrorResponse: coreClient.CompositeMapper;
7
+ export declare const Response: coreClient.CompositeMapper;
8
+ export declare const Metric: coreClient.CompositeMapper;
9
+ export declare const TimeSeriesElement: coreClient.CompositeMapper;
10
+ export declare const MetadataValue: coreClient.CompositeMapper;
11
+ export declare const MetricValue: coreClient.CompositeMapper;
12
+ export declare const MetricSettings: coreClient.CompositeMapper;
13
+ export declare const RetentionPolicy: coreClient.CompositeMapper;
14
+ export declare const LogSettings: coreClient.CompositeMapper;
15
+ export declare const ProxyOnlyResource: coreClient.CompositeMapper;
16
+ export declare const DiagnosticSettingsResourceCollection: coreClient.CompositeMapper;
17
+ export declare const DiagnosticSettingsCategoryResourceCollection: coreClient.CompositeMapper;
18
+ export declare const EventCategoryCollection: coreClient.CompositeMapper;
19
+ export declare const OperationListResult: coreClient.CompositeMapper;
20
+ export declare const Operation: coreClient.CompositeMapper;
21
+ export declare const OperationDisplay: coreClient.CompositeMapper;
22
+ export declare const DiagnosticSettingsResource: coreClient.CompositeMapper;
23
+ export declare const DiagnosticSettingsCategoryResource: coreClient.CompositeMapper;
24
+ //# sourceMappingURL=mappers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings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