@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
@@ -1,556 +1,390 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
-
5
- /** Defines values for AggregationType. */
6
- export declare type AggregationType = "None" | "Average" | "Count" | "Minimum" | "Maximum" | "Total";
7
-
8
- /** Defines values for CategoryType. */
9
- export declare type CategoryType = "Metrics" | "Logs";
10
-
11
- /** Interface representing a DiagnosticSettings. */
12
- export declare interface DiagnosticSettings {
13
- /**
14
- * Gets the active diagnostic settings for the specified resource.
15
- * @param resourceUri The identifier of the resource.
16
- * @param name The name of the diagnostic setting.
17
- * @param options The options parameters.
18
- */
19
- get(resourceUri: string, name: string, options?: DiagnosticSettingsGetOptionalParams): Promise<DiagnosticSettingsGetResponse>;
20
- /**
21
- * Creates or updates diagnostic settings for the specified resource.
22
- * @param resourceUri The identifier of the resource.
23
- * @param name The name of the diagnostic setting.
24
- * @param parameters Parameters supplied to the operation.
25
- * @param options The options parameters.
26
- */
27
- createOrUpdate(resourceUri: string, name: string, parameters: DiagnosticSettingsResource, options?: DiagnosticSettingsCreateOrUpdateOptionalParams): Promise<DiagnosticSettingsCreateOrUpdateResponse>;
28
- /**
29
- * Deletes existing diagnostic settings for the specified resource.
30
- * @param resourceUri The identifier of the resource.
31
- * @param name The name of the diagnostic setting.
32
- * @param options The options parameters.
33
- */
34
- delete(resourceUri: string, name: string, options?: DiagnosticSettingsDeleteOptionalParams): Promise<void>;
35
- /**
36
- * Gets the active diagnostic settings list for the specified resource.
37
- * @param resourceUri The identifier of the resource.
38
- * @param options The options parameters.
39
- */
40
- list(resourceUri: string, options?: DiagnosticSettingsListOptionalParams): Promise<DiagnosticSettingsListResponse>;
41
- }
42
-
43
- /** Interface representing a DiagnosticSettingsCategory. */
44
- export declare interface DiagnosticSettingsCategory {
45
- /**
46
- * Gets the diagnostic settings category for the specified resource.
47
- * @param resourceUri The identifier of the resource.
48
- * @param name The name of the diagnostic setting.
49
- * @param options The options parameters.
50
- */
51
- get(resourceUri: string, name: string, options?: DiagnosticSettingsCategoryGetOptionalParams): Promise<DiagnosticSettingsCategoryGetResponse>;
52
- /**
53
- * Lists the diagnostic settings categories for the specified resource.
54
- * @param resourceUri The identifier of the resource.
55
- * @param options The options parameters.
56
- */
57
- list(resourceUri: string, options?: DiagnosticSettingsCategoryListOptionalParams): Promise<DiagnosticSettingsCategoryListResponse>;
58
- }
59
-
60
- /** Optional parameters. */
61
- export declare interface DiagnosticSettingsCategoryGetOptionalParams extends coreClient.OperationOptions {
62
- }
63
-
64
- /** Contains response data for the get operation. */
65
- export declare type DiagnosticSettingsCategoryGetResponse = DiagnosticSettingsCategoryResource;
66
-
67
- /** Optional parameters. */
68
- export declare interface DiagnosticSettingsCategoryListOptionalParams extends coreClient.OperationOptions {
69
- }
70
-
71
- /** Contains response data for the list operation. */
72
- export declare type DiagnosticSettingsCategoryListResponse = DiagnosticSettingsCategoryResourceCollection;
73
-
74
- /** The diagnostic settings category resource. */
75
- export declare interface DiagnosticSettingsCategoryResource extends ProxyOnlyResource {
76
- /** The type of the diagnostic settings category. */
77
- categoryType?: CategoryType;
78
- }
79
-
80
- /** Represents a collection of diagnostic setting category resources. */
81
- export declare interface DiagnosticSettingsCategoryResourceCollection {
82
- /** The collection of diagnostic settings category resources. */
83
- value?: DiagnosticSettingsCategoryResource[];
84
- }
85
-
86
- /** Optional parameters. */
87
- export declare interface DiagnosticSettingsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
88
- }
89
-
90
- /** Contains response data for the createOrUpdate operation. */
91
- export declare type DiagnosticSettingsCreateOrUpdateResponse = DiagnosticSettingsResource;
92
-
93
- /** Optional parameters. */
94
- export declare interface DiagnosticSettingsDeleteOptionalParams extends coreClient.OperationOptions {
95
- }
96
-
97
- /** Optional parameters. */
98
- export declare interface DiagnosticSettingsGetOptionalParams extends coreClient.OperationOptions {
99
- }
100
-
101
- /** Contains response data for the get operation. */
102
- export declare type DiagnosticSettingsGetResponse = DiagnosticSettingsResource;
103
-
104
- /** Optional parameters. */
105
- export declare interface DiagnosticSettingsListOptionalParams extends coreClient.OperationOptions {
106
- }
107
-
108
- /** Contains response data for the list operation. */
109
- export declare type DiagnosticSettingsListResponse = DiagnosticSettingsResourceCollection;
110
-
111
- /** The diagnostic setting resource. */
112
- export declare interface DiagnosticSettingsResource extends ProxyOnlyResource {
113
- /** The resource ID of the storage account to which you would like to send Diagnostic Logs. */
114
- storageAccountId?: string;
115
- /** The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. */
116
- serviceBusRuleId?: string;
117
- /** The resource Id for the event hub authorization rule. */
118
- eventHubAuthorizationRuleId?: string;
119
- /** The name of the event hub. If none is specified, the default event hub will be selected. */
120
- eventHubName?: string;
121
- /** The list of metric settings. */
122
- metrics?: MetricSettings[];
123
- /** The list of logs settings. */
124
- logs?: LogSettings[];
125
- /** 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 */
126
- workspaceId?: string;
127
- /** 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.) */
128
- logAnalyticsDestinationType?: string;
129
- }
130
-
131
- /** Represents a collection of alert rule resources. */
132
- export declare interface DiagnosticSettingsResourceCollection {
133
- /** The collection of diagnostic settings resources;. */
134
- value?: DiagnosticSettingsResource[];
135
- }
136
-
137
- /** Describes the format of Error response. */
138
- export declare interface ErrorResponse {
139
- /** Error code */
140
- code?: string;
141
- /** Error message indicating why the operation failed. */
142
- message?: string;
143
- }
144
-
145
- /** Interface representing a EventCategories. */
146
- export declare interface EventCategories {
147
- /**
148
- * Get the list of available event categories supported in the Activity Logs Service.<br>The current
149
- * list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
150
- * @param options The options parameters.
151
- */
152
- list(options?: EventCategoriesListOptionalParams): PagedAsyncIterableIterator<LocalizableString>;
153
- }
154
-
155
- /** Optional parameters. */
156
- export declare interface EventCategoriesListOptionalParams extends coreClient.OperationOptions {
157
- }
158
-
159
- /** Contains response data for the list operation. */
160
- export declare type EventCategoriesListResponse = EventCategoryCollection;
161
-
162
- /** A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy. */
163
- export declare interface EventCategoryCollection {
164
- /** the list that includes the Azure event categories. */
165
- value: LocalizableString[];
166
- }
167
-
168
- /**
169
- * Given the last `.value` produced by the `byPage` iterator,
170
- * returns a continuation token that can be used to begin paging from
171
- * that point later.
172
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
173
- * @returns The continuation token that can be passed into byPage() during future calls.
174
- */
175
- export declare function getContinuationToken(page: unknown): string | undefined;
176
-
177
- /** Known values of {@link MetricClass} that the service accepts. */
178
- export declare enum KnownMetricClass {
179
- /** Availability */
180
- Availability = "Availability",
181
- /** Transactions */
182
- Transactions = "Transactions",
183
- /** Errors */
184
- Errors = "Errors",
185
- /** Latency */
186
- Latency = "Latency",
187
- /** Saturation */
188
- Saturation = "Saturation"
189
- }
190
-
191
- /** Known values of {@link MetricUnit} that the service accepts. */
192
- export declare enum KnownMetricUnit {
193
- /** Count */
194
- Count = "Count",
195
- /** Bytes */
196
- Bytes = "Bytes",
197
- /** Seconds */
198
- Seconds = "Seconds",
199
- /** CountPerSecond */
200
- CountPerSecond = "CountPerSecond",
201
- /** BytesPerSecond */
202
- BytesPerSecond = "BytesPerSecond",
203
- /** Percent */
204
- Percent = "Percent",
205
- /** MilliSeconds */
206
- MilliSeconds = "MilliSeconds",
207
- /** ByteSeconds */
208
- ByteSeconds = "ByteSeconds",
209
- /** Unspecified */
210
- Unspecified = "Unspecified",
211
- /** Cores */
212
- Cores = "Cores",
213
- /** MilliCores */
214
- MilliCores = "MilliCores",
215
- /** NanoCores */
216
- NanoCores = "NanoCores",
217
- /** BitsPerSecond */
218
- BitsPerSecond = "BitsPerSecond"
219
- }
220
-
221
- /** The localizable string class. */
222
- export declare interface LocalizableString {
223
- /** the invariant value. */
224
- value: string;
225
- /** the locale specific value. */
226
- localizedValue?: string;
227
- }
228
-
229
- /** Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log. */
230
- export declare interface LogSettings {
231
- /** 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. */
232
- category?: string;
233
- /** a value indicating whether this log is enabled. */
234
- enabled: boolean;
235
- /** the retention policy for this log. */
236
- retentionPolicy?: RetentionPolicy;
237
- }
238
-
239
- /** Represents a metric metadata value. */
240
- export declare interface MetadataValue {
241
- /** the name of the metadata. */
242
- name?: LocalizableString;
243
- /** the value of the metadata. */
244
- value?: string;
245
- }
246
-
247
- /** The result data of a query. */
248
- export declare interface Metric {
249
- /** the metric Id. */
250
- id: string;
251
- /** the resource type of the metric resource. */
252
- type: string;
253
- /** the name and the display name of the metric, i.e. it is localizable string. */
254
- name: LocalizableString;
255
- /** Detailed description of this metric. */
256
- displayDescription?: string;
257
- /** 'Success' or the error details on query failures for this metric. */
258
- errorCode?: string;
259
- /** Error message encountered querying this specific metric. */
260
- errorMessage?: string;
261
- /** The unit of the metric. */
262
- unit: MetricUnit;
263
- /** the time series returned when a data query is performed. */
264
- timeseries: TimeSeriesElement[];
265
- }
266
-
267
- /** Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. */
268
- export declare interface MetricAvailability {
269
- /** the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. */
270
- timeGrain?: string;
271
- /** the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. */
272
- retention?: string;
273
- }
274
-
275
- /**
276
- * Defines values for MetricClass. \
277
- * {@link KnownMetricClass} can be used interchangeably with MetricClass,
278
- * this enum contains the known values that the service supports.
279
- * ### Known values supported by the service
280
- * **Availability** \
281
- * **Transactions** \
282
- * **Errors** \
283
- * **Latency** \
284
- * **Saturation**
285
- */
286
- export declare type MetricClass = string;
287
-
288
- /** Metric definition class specifies the metadata for a metric. */
289
- export declare interface MetricDefinition {
290
- /** Flag to indicate whether the dimension is required. */
291
- isDimensionRequired?: boolean;
292
- /** the resource identifier of the resource that emitted the metric. */
293
- resourceId?: string;
294
- /** the namespace the metric belongs to. */
295
- namespace?: string;
296
- /** the name and the display name of the metric, i.e. it is a localizable string. */
297
- name?: LocalizableString;
298
- /** Detailed description of this metric. */
299
- displayDescription?: string;
300
- /** Custom category name for this metric. */
301
- category?: string;
302
- /** The class of the metric. */
303
- metricClass?: MetricClass;
304
- /** The unit of the metric. */
305
- unit?: MetricUnit;
306
- /** the primary aggregation type value defining how to use the values for display. */
307
- primaryAggregationType?: AggregationType;
308
- /** the collection of what aggregation types are supported. */
309
- supportedAggregationTypes?: AggregationType[];
310
- /** the collection of what aggregation intervals are available to be queried. */
311
- metricAvailabilities?: MetricAvailability[];
312
- /** the resource identifier of the metric definition. */
313
- id?: string;
314
- /** the name and the display name of the dimension, i.e. it is a localizable string. */
315
- dimensions?: LocalizableString[];
316
- }
317
-
318
- /** Represents collection of metric definitions. */
319
- export declare interface MetricDefinitionCollection {
320
- /** the values for the metric definitions. */
321
- value: MetricDefinition[];
322
- }
323
-
324
- /** Interface representing a MetricDefinitions. */
325
- export declare interface MetricDefinitions {
326
- /**
327
- * Lists the metric definitions for the resource.
328
- * @param resourceUri The identifier of the resource.
329
- * @param options The options parameters.
330
- */
331
- list(resourceUri: string, options?: MetricDefinitionsListOptionalParams): PagedAsyncIterableIterator<MetricDefinition>;
332
- }
333
-
334
- /** Optional parameters. */
335
- export declare interface MetricDefinitionsListOptionalParams extends coreClient.OperationOptions {
336
- /** Metric namespace to query metric definitions for. */
337
- metricnamespace?: string;
338
- }
339
-
340
- /** Contains response data for the list operation. */
341
- export declare type MetricDefinitionsListResponse = MetricDefinitionCollection;
342
-
343
- /** Interface representing a Metrics. */
344
- export declare interface Metrics {
345
- /**
346
- * **Lists the metric values for a resource**.
347
- * @param resourceUri The identifier of the resource.
348
- * @param options The options parameters.
349
- */
350
- list(resourceUri: string, options?: MetricsListOptionalParams): Promise<MetricsListResponse>;
351
- }
352
-
353
- /** Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric. */
354
- export declare interface MetricSettings {
355
- /** the timegrain of the metric in ISO8601 format. */
356
- timeGrain?: string;
357
- /** 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. */
358
- category?: string;
359
- /** a value indicating whether this category is enabled. */
360
- enabled: boolean;
361
- /** the retention policy for this category. */
362
- retentionPolicy?: RetentionPolicy;
363
- }
364
-
365
- /** Optional parameters. */
366
- export declare interface MetricsListOptionalParams extends coreClient.OperationOptions {
367
- /** Metric namespace to query metric definitions for. */
368
- metricnamespace?: string;
369
- /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
370
- timespan?: string;
371
- /** The interval (i.e. timegrain) of the query. */
372
- interval?: string;
373
- /** 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'** */
374
- metricnames?: string;
375
- /** The list of aggregation types (comma separated) to retrieve. */
376
- aggregation?: string;
377
- /**
378
- * The maximum number of records to retrieve.
379
- * Valid only if $filter is specified.
380
- * Defaults to 10.
381
- */
382
- top?: number;
383
- /**
384
- * The aggregation to use for sorting results and the direction of the sort.
385
- * Only one order can be specified.
386
- * Examples: sum asc.
387
- */
388
- orderby?: string;
389
- /** 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' "** */
390
- filter?: string;
391
- /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
392
- resultType?: ResultType;
393
- }
394
-
395
- /** Contains response data for the list operation. */
396
- export declare type MetricsListResponse = Response_2;
397
-
398
- /**
399
- * Defines values for MetricUnit. \
400
- * {@link KnownMetricUnit} can be used interchangeably with MetricUnit,
401
- * this enum contains the known values that the service supports.
402
- * ### Known values supported by the service
403
- * **Count** \
404
- * **Bytes** \
405
- * **Seconds** \
406
- * **CountPerSecond** \
407
- * **BytesPerSecond** \
408
- * **Percent** \
409
- * **MilliSeconds** \
410
- * **ByteSeconds** \
411
- * **Unspecified** \
412
- * **Cores** \
413
- * **MilliCores** \
414
- * **NanoCores** \
415
- * **BitsPerSecond**
416
- */
417
- export declare type MetricUnit = string;
418
-
419
- /** Represents a metric value. */
420
- export declare interface MetricValue {
421
- /** the timestamp for the metric value in ISO 8601 format. */
422
- timeStamp: Date;
423
- /** the average value in the time range. */
424
- average?: number;
425
- /** the least value in the time range. */
426
- minimum?: number;
427
- /** the greatest value in the time range. */
428
- maximum?: number;
429
- /** the sum of all of the values in the time range. */
430
- total?: number;
431
- /** the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. */
432
- count?: number;
433
- }
434
-
435
- export declare class MonitorClient extends coreClient.ServiceClient {
436
- $host: string;
437
- /**
438
- * Initializes a new instance of the MonitorClient class.
439
- * @param credentials Subscription credentials which uniquely identify client subscription.
440
- * @param options The parameter options
441
- */
442
- constructor(credentials: coreAuth.TokenCredential, options?: MonitorClientOptionalParams);
443
- metricDefinitions: MetricDefinitions;
444
- metrics: Metrics;
445
- diagnosticSettings: DiagnosticSettings;
446
- diagnosticSettingsCategory: DiagnosticSettingsCategory;
447
- eventCategories: EventCategories;
448
- operations: Operations;
449
- }
450
-
451
- /** Optional parameters. */
452
- export declare interface MonitorClientOptionalParams extends coreClient.ServiceClientOptions {
453
- /** server parameter */
454
- $host?: string;
455
- /** Overrides client endpoint. */
456
- endpoint?: string;
457
- }
458
-
459
- /** Microsoft Insights API operation definition. */
460
- export declare interface Operation {
461
- /** Operation name: {provider}/{resource}/{operation} */
462
- name?: string;
463
- /** Display metadata associated with the operation. */
464
- display?: OperationDisplay;
465
- }
466
-
467
- /** Display metadata associated with the operation. */
468
- export declare interface OperationDisplay {
469
- /** Service provider: Microsoft.Insights */
470
- provider?: string;
471
- /** Resource on which the operation is performed: AlertRules, Autoscale, etc. */
472
- resource?: string;
473
- /** Operation type: Read, write, delete, etc. */
474
- operation?: string;
475
- }
476
-
477
- /** 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. */
478
- export declare interface OperationListResult {
479
- /** List of operations supported by the Microsoft.Insights provider. */
480
- value?: Operation[];
481
- /** URL to get the next set of operation list results if there are any. */
482
- nextLink?: string;
483
- }
484
-
485
- /** Interface representing a Operations. */
486
- export declare interface Operations {
487
- /**
488
- * Lists all of the available operations from Microsoft.Insights provider.
489
- * @param options The options parameters.
490
- */
491
- list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
492
- }
493
-
494
- /** Optional parameters. */
495
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
496
- }
497
-
498
- /** Contains response data for the list operation. */
499
- export declare type OperationsListResponse = OperationListResult;
500
-
501
- /** A proxy only azure resource object */
502
- export declare interface ProxyOnlyResource {
503
- /**
504
- * Azure resource Id
505
- * NOTE: This property will not be serialized. It can only be populated by the server.
506
- */
507
- readonly id?: string;
508
- /**
509
- * Azure resource name
510
- * NOTE: This property will not be serialized. It can only be populated by the server.
511
- */
512
- readonly name?: string;
513
- /**
514
- * Azure resource type
515
- * NOTE: This property will not be serialized. It can only be populated by the server.
516
- */
517
- readonly type?: string;
518
- }
519
-
520
- /** The response to a metrics query. */
521
- declare interface Response_2 {
522
- /** The integer value representing the relative cost of the query. */
523
- cost?: number;
524
- /** 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. */
525
- timespan: string;
526
- /** 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. */
527
- interval?: string;
528
- /** The namespace of the metrics being queried */
529
- namespace?: string;
530
- /** The region of the resource being queried for metrics. */
531
- resourceregion?: string;
532
- /** the value of the collection. */
533
- value: Metric[];
534
- }
535
- export { Response_2 as Response }
536
-
537
- /** Defines values for ResultType. */
538
- export declare type ResultType = "Data" | "Metadata";
539
-
540
- /** Specifies the retention policy for the log. */
541
- export declare interface RetentionPolicy {
542
- /** a value indicating whether the retention policy is enabled. */
543
- enabled: boolean;
544
- /** the number of days for the retention in days. A value of 0 will retain the events indefinitely. */
545
- days: number;
546
- }
547
-
548
- /** A time series result type. The discriminator value is always TimeSeries in this case. */
549
- export declare interface TimeSeriesElement {
550
- /** the metadata values returned if $filter was specified in the call. */
551
- metadatavalues?: MetadataValue[];
552
- /** An array of data points representing the metric values. This is only returned if a result type of data is specified. */
553
- data?: MetricValue[];
554
- }
555
-
556
- export { }
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