@azure/arm-dynatrace 2.0.0 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (535) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +30 -24
  3. package/dist/browser/api/creationSupported/index.d.ts +3 -0
  4. package/dist/browser/api/creationSupported/index.js +4 -0
  5. package/dist/browser/api/creationSupported/index.js.map +1 -0
  6. package/dist/browser/api/creationSupported/operations.d.ts +13 -0
  7. package/dist/browser/api/creationSupported/operations.js +64 -0
  8. package/dist/browser/api/creationSupported/operations.js.map +1 -0
  9. package/dist/browser/api/creationSupported/options.d.ts +8 -0
  10. package/dist/browser/api/creationSupported/options.js +4 -0
  11. package/dist/browser/api/creationSupported/options.js.map +1 -0
  12. package/dist/browser/api/dynatraceObservabilityContext.d.ts +20 -0
  13. package/dist/browser/api/dynatraceObservabilityContext.js +25 -0
  14. package/dist/browser/api/dynatraceObservabilityContext.js.map +1 -0
  15. package/dist/browser/api/index.d.ts +3 -0
  16. package/dist/browser/api/index.js +4 -0
  17. package/dist/browser/api/index.js.map +1 -0
  18. package/dist/browser/api/monitoredSubscriptions/index.d.ts +3 -0
  19. package/dist/browser/api/monitoredSubscriptions/index.js +4 -0
  20. package/dist/browser/api/monitoredSubscriptions/index.js.map +1 -0
  21. package/dist/browser/api/monitoredSubscriptions/operations.d.ts +27 -0
  22. package/dist/browser/api/monitoredSubscriptions/operations.js +173 -0
  23. package/dist/browser/api/monitoredSubscriptions/operations.js.map +1 -0
  24. package/dist/browser/api/monitoredSubscriptions/options.d.ts +26 -0
  25. package/dist/browser/api/monitoredSubscriptions/options.js +4 -0
  26. package/dist/browser/api/monitoredSubscriptions/options.js.map +1 -0
  27. package/dist/browser/api/monitors/index.d.ts +3 -0
  28. package/dist/browser/api/monitors/index.js +4 -0
  29. package/dist/browser/api/monitors/index.js.map +1 -0
  30. package/dist/browser/api/monitors/operations.d.ts +75 -0
  31. package/dist/browser/api/monitors/operations.js +535 -0
  32. package/dist/browser/api/monitors/operations.js.map +1 -0
  33. package/dist/browser/api/monitors/options.d.ts +66 -0
  34. package/dist/browser/api/monitors/options.js +4 -0
  35. package/dist/browser/api/monitors/options.js.map +1 -0
  36. package/dist/browser/api/operations/index.d.ts +3 -0
  37. package/dist/browser/api/operations/index.js +4 -0
  38. package/dist/browser/api/operations/index.js.map +1 -0
  39. package/dist/browser/api/operations/operations.d.ts +10 -0
  40. package/dist/browser/api/operations/operations.js +33 -0
  41. package/dist/browser/api/operations/operations.js.map +1 -0
  42. package/dist/browser/api/operations/options.d.ts +5 -0
  43. package/dist/browser/api/operations/options.js +4 -0
  44. package/dist/browser/api/operations/options.js.map +1 -0
  45. package/dist/browser/api/singleSignOn/index.d.ts +3 -0
  46. package/dist/browser/api/singleSignOn/index.js +4 -0
  47. package/dist/browser/api/singleSignOn/index.js.map +1 -0
  48. package/dist/browser/api/singleSignOn/operations.d.ts +19 -0
  49. package/dist/browser/api/singleSignOn/operations.js +106 -0
  50. package/dist/browser/api/singleSignOn/operations.js.map +1 -0
  51. package/dist/browser/api/singleSignOn/options.d.ts +13 -0
  52. package/dist/browser/api/singleSignOn/options.js +4 -0
  53. package/dist/browser/api/singleSignOn/options.js.map +1 -0
  54. package/dist/browser/api/tagRules/index.d.ts +3 -0
  55. package/dist/browser/api/tagRules/index.js +4 -0
  56. package/dist/browser/api/tagRules/index.js.map +1 -0
  57. package/dist/browser/api/tagRules/operations.d.ts +23 -0
  58. package/dist/browser/api/tagRules/operations.js +139 -0
  59. package/dist/browser/api/tagRules/operations.js.map +1 -0
  60. package/dist/browser/api/tagRules/options.d.ts +18 -0
  61. package/dist/browser/api/tagRules/options.js +4 -0
  62. package/dist/browser/api/tagRules/options.js.map +1 -0
  63. package/dist/browser/classic/creationSupported/index.d.ts +12 -0
  64. package/dist/browser/classic/creationSupported/index.js +15 -0
  65. package/dist/browser/classic/creationSupported/index.js.map +1 -0
  66. package/dist/browser/classic/index.d.ts +7 -0
  67. package/dist/browser/classic/index.js +4 -0
  68. package/dist/browser/classic/index.js.map +1 -0
  69. package/dist/browser/classic/monitoredSubscriptions/index.d.ts +33 -0
  70. package/dist/browser/classic/monitoredSubscriptions/index.js +43 -0
  71. package/dist/browser/classic/monitoredSubscriptions/index.js.map +1 -0
  72. package/dist/browser/classic/monitors/index.d.ts +57 -0
  73. package/dist/browser/classic/monitors/index.js +55 -0
  74. package/dist/browser/classic/monitors/index.js.map +1 -0
  75. package/dist/browser/classic/operations/index.d.ts +11 -0
  76. package/dist/browser/classic/operations/index.js +14 -0
  77. package/dist/browser/classic/operations/index.js.map +1 -0
  78. package/dist/browser/classic/singleSignOn/index.d.ts +21 -0
  79. package/dist/browser/classic/singleSignOn/index.js +25 -0
  80. package/dist/browser/classic/singleSignOn/index.js.map +1 -0
  81. package/dist/browser/classic/tagRules/index.d.ts +27 -0
  82. package/dist/browser/classic/tagRules/index.js +34 -0
  83. package/dist/browser/classic/tagRules/index.js.map +1 -0
  84. package/dist/browser/dynatraceObservability.d.ts +29 -0
  85. package/dist/browser/dynatraceObservability.js +44 -0
  86. package/dist/browser/dynatraceObservability.js.map +1 -0
  87. package/dist/browser/index.d.ts +22 -0
  88. package/dist/browser/index.js +9 -0
  89. package/dist/browser/index.js.map +1 -0
  90. package/dist/browser/logger.d.ts +2 -0
  91. package/dist/browser/logger.js +5 -0
  92. package/dist/browser/logger.js.map +1 -0
  93. package/dist/browser/models/index.d.ts +3 -0
  94. package/dist/browser/models/index.js +4 -0
  95. package/dist/browser/models/index.js.map +1 -0
  96. package/dist/browser/models/models.d.ts +1218 -0
  97. package/dist/browser/models/models.js +1132 -0
  98. package/dist/browser/models/models.js.map +1 -0
  99. package/dist/browser/package.json +3 -0
  100. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  101. package/dist/browser/restorePollerHelpers.js +111 -0
  102. package/dist/browser/restorePollerHelpers.js.map +1 -0
  103. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  104. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  105. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  106. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  107. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  108. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  109. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  110. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  111. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  112. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  113. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  114. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  115. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  116. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  117. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  118. package/dist/commonjs/api/creationSupported/index.d.ts +3 -0
  119. package/dist/commonjs/api/creationSupported/index.js +30 -0
  120. package/dist/commonjs/api/creationSupported/index.js.map +7 -0
  121. package/dist/commonjs/api/creationSupported/operations.d.ts +13 -0
  122. package/dist/commonjs/api/creationSupported/operations.js +104 -0
  123. package/dist/commonjs/api/creationSupported/operations.js.map +7 -0
  124. package/dist/commonjs/api/creationSupported/options.d.ts +8 -0
  125. package/dist/commonjs/api/creationSupported/options.js +16 -0
  126. package/dist/commonjs/api/creationSupported/options.js.map +7 -0
  127. package/dist/commonjs/api/dynatraceObservabilityContext.d.ts +20 -0
  128. package/dist/commonjs/api/dynatraceObservabilityContext.js +47 -0
  129. package/dist/commonjs/api/dynatraceObservabilityContext.js.map +7 -0
  130. package/dist/commonjs/api/index.d.ts +3 -0
  131. package/dist/commonjs/api/index.js +28 -0
  132. package/dist/commonjs/api/index.js.map +7 -0
  133. package/dist/commonjs/api/monitoredSubscriptions/index.d.ts +3 -0
  134. package/dist/commonjs/api/monitoredSubscriptions/index.js +36 -0
  135. package/dist/commonjs/api/monitoredSubscriptions/index.js.map +7 -0
  136. package/dist/commonjs/api/monitoredSubscriptions/operations.d.ts +27 -0
  137. package/dist/commonjs/api/monitoredSubscriptions/operations.js +246 -0
  138. package/dist/commonjs/api/monitoredSubscriptions/operations.js.map +7 -0
  139. package/dist/commonjs/api/monitoredSubscriptions/options.d.ts +26 -0
  140. package/dist/commonjs/api/monitoredSubscriptions/options.js +16 -0
  141. package/dist/commonjs/api/monitoredSubscriptions/options.js.map +7 -0
  142. package/dist/commonjs/api/monitors/index.d.ts +3 -0
  143. package/dist/commonjs/api/monitors/index.js +60 -0
  144. package/dist/commonjs/api/monitors/index.js.map +7 -0
  145. package/dist/commonjs/api/monitors/operations.d.ts +75 -0
  146. package/dist/commonjs/api/monitors/operations.js +752 -0
  147. package/dist/commonjs/api/monitors/operations.js.map +7 -0
  148. package/dist/commonjs/api/monitors/options.d.ts +66 -0
  149. package/dist/commonjs/api/monitors/options.js +16 -0
  150. package/dist/commonjs/api/monitors/options.js.map +7 -0
  151. package/dist/commonjs/api/operations/index.d.ts +3 -0
  152. package/dist/commonjs/api/operations/index.js +28 -0
  153. package/dist/commonjs/api/operations/index.js.map +7 -0
  154. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  155. package/dist/commonjs/api/operations/operations.js +70 -0
  156. package/dist/commonjs/api/operations/operations.js.map +7 -0
  157. package/dist/commonjs/api/operations/options.d.ts +5 -0
  158. package/dist/commonjs/api/operations/options.js +16 -0
  159. package/dist/commonjs/api/operations/options.js.map +7 -0
  160. package/dist/commonjs/api/singleSignOn/index.d.ts +3 -0
  161. package/dist/commonjs/api/singleSignOn/index.js +32 -0
  162. package/dist/commonjs/api/singleSignOn/index.js.map +7 -0
  163. package/dist/commonjs/api/singleSignOn/operations.d.ts +19 -0
  164. package/dist/commonjs/api/singleSignOn/operations.js +174 -0
  165. package/dist/commonjs/api/singleSignOn/operations.js.map +7 -0
  166. package/dist/commonjs/api/singleSignOn/options.d.ts +13 -0
  167. package/dist/commonjs/api/singleSignOn/options.js +16 -0
  168. package/dist/commonjs/api/singleSignOn/options.js.map +7 -0
  169. package/dist/commonjs/api/tagRules/index.d.ts +3 -0
  170. package/dist/commonjs/api/tagRules/index.js +34 -0
  171. package/dist/commonjs/api/tagRules/index.js.map +7 -0
  172. package/dist/commonjs/api/tagRules/operations.d.ts +23 -0
  173. package/dist/commonjs/api/tagRules/operations.js +203 -0
  174. package/dist/commonjs/api/tagRules/operations.js.map +7 -0
  175. package/dist/commonjs/api/tagRules/options.d.ts +18 -0
  176. package/dist/commonjs/api/tagRules/options.js +16 -0
  177. package/dist/commonjs/api/tagRules/options.js.map +7 -0
  178. package/dist/commonjs/classic/creationSupported/index.d.ts +12 -0
  179. package/dist/commonjs/classic/creationSupported/index.js +39 -0
  180. package/dist/commonjs/classic/creationSupported/index.js.map +7 -0
  181. package/dist/commonjs/classic/index.d.ts +7 -0
  182. package/dist/commonjs/classic/index.js +16 -0
  183. package/dist/commonjs/classic/index.js.map +7 -0
  184. package/dist/commonjs/classic/monitoredSubscriptions/index.d.ts +33 -0
  185. package/dist/commonjs/classic/monitoredSubscriptions/index.js +67 -0
  186. package/dist/commonjs/classic/monitoredSubscriptions/index.js.map +7 -0
  187. package/dist/commonjs/classic/monitors/index.d.ts +57 -0
  188. package/dist/commonjs/classic/monitors/index.js +79 -0
  189. package/dist/commonjs/classic/monitors/index.js.map +7 -0
  190. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  191. package/dist/commonjs/classic/operations/index.js +38 -0
  192. package/dist/commonjs/classic/operations/index.js.map +7 -0
  193. package/dist/commonjs/classic/singleSignOn/index.d.ts +21 -0
  194. package/dist/commonjs/classic/singleSignOn/index.js +63 -0
  195. package/dist/commonjs/classic/singleSignOn/index.js.map +7 -0
  196. package/dist/commonjs/classic/tagRules/index.d.ts +27 -0
  197. package/dist/commonjs/classic/tagRules/index.js +72 -0
  198. package/dist/commonjs/classic/tagRules/index.js.map +7 -0
  199. package/dist/commonjs/dynatraceObservability.d.ts +29 -0
  200. package/dist/commonjs/dynatraceObservability.js +66 -0
  201. package/dist/commonjs/dynatraceObservability.js.map +7 -0
  202. package/dist/commonjs/index.d.ts +22 -0
  203. package/dist/commonjs/index.js +94 -0
  204. package/dist/commonjs/index.js.map +7 -0
  205. package/dist/commonjs/logger.d.ts +2 -0
  206. package/dist/commonjs/logger.js +29 -0
  207. package/dist/commonjs/logger.js.map +7 -0
  208. package/dist/commonjs/models/index.d.ts +3 -0
  209. package/dist/commonjs/models/index.js +80 -0
  210. package/dist/commonjs/models/index.js.map +7 -0
  211. package/dist/commonjs/models/models.d.ts +1218 -0
  212. package/dist/commonjs/models/models.js +1216 -0
  213. package/dist/commonjs/models/models.js.map +7 -0
  214. package/dist/commonjs/package.json +3 -0
  215. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  216. package/dist/commonjs/restorePollerHelpers.js +124 -0
  217. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  218. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  219. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  220. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  221. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  222. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  223. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  224. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  225. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  226. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  227. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  228. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  229. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  230. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  231. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  232. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  233. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  234. package/dist/esm/api/creationSupported/index.d.ts +3 -0
  235. package/dist/esm/api/creationSupported/index.js +4 -0
  236. package/dist/esm/api/creationSupported/index.js.map +1 -0
  237. package/dist/esm/api/creationSupported/operations.d.ts +13 -0
  238. package/dist/esm/api/creationSupported/operations.js +64 -0
  239. package/dist/esm/api/creationSupported/operations.js.map +1 -0
  240. package/dist/esm/api/creationSupported/options.d.ts +8 -0
  241. package/dist/esm/api/creationSupported/options.js +4 -0
  242. package/dist/esm/api/creationSupported/options.js.map +1 -0
  243. package/dist/esm/api/dynatraceObservabilityContext.d.ts +20 -0
  244. package/dist/esm/api/dynatraceObservabilityContext.js +25 -0
  245. package/dist/esm/api/dynatraceObservabilityContext.js.map +1 -0
  246. package/dist/esm/api/index.d.ts +3 -0
  247. package/dist/esm/api/index.js +4 -0
  248. package/dist/esm/api/index.js.map +1 -0
  249. package/dist/esm/api/monitoredSubscriptions/index.d.ts +3 -0
  250. package/dist/esm/api/monitoredSubscriptions/index.js +4 -0
  251. package/dist/esm/api/monitoredSubscriptions/index.js.map +1 -0
  252. package/dist/esm/api/monitoredSubscriptions/operations.d.ts +27 -0
  253. package/dist/esm/api/monitoredSubscriptions/operations.js +173 -0
  254. package/dist/esm/api/monitoredSubscriptions/operations.js.map +1 -0
  255. package/dist/esm/api/monitoredSubscriptions/options.d.ts +26 -0
  256. package/dist/esm/api/monitoredSubscriptions/options.js +4 -0
  257. package/dist/esm/api/monitoredSubscriptions/options.js.map +1 -0
  258. package/dist/esm/api/monitors/index.d.ts +3 -0
  259. package/dist/esm/api/monitors/index.js +4 -0
  260. package/dist/esm/api/monitors/index.js.map +1 -0
  261. package/dist/esm/api/monitors/operations.d.ts +75 -0
  262. package/dist/esm/api/monitors/operations.js +535 -0
  263. package/dist/esm/api/monitors/operations.js.map +1 -0
  264. package/dist/esm/api/monitors/options.d.ts +66 -0
  265. package/dist/esm/api/monitors/options.js +4 -0
  266. package/dist/esm/api/monitors/options.js.map +1 -0
  267. package/dist/esm/api/operations/index.d.ts +3 -0
  268. package/dist/esm/api/operations/index.js +4 -0
  269. package/dist/esm/api/operations/index.js.map +1 -0
  270. package/dist/esm/api/operations/operations.d.ts +10 -0
  271. package/dist/esm/api/operations/operations.js +33 -0
  272. package/dist/esm/api/operations/operations.js.map +1 -0
  273. package/dist/esm/api/operations/options.d.ts +5 -0
  274. package/dist/esm/api/operations/options.js +4 -0
  275. package/dist/esm/api/operations/options.js.map +1 -0
  276. package/dist/esm/api/singleSignOn/index.d.ts +3 -0
  277. package/dist/esm/api/singleSignOn/index.js +4 -0
  278. package/dist/esm/api/singleSignOn/index.js.map +1 -0
  279. package/dist/esm/api/singleSignOn/operations.d.ts +19 -0
  280. package/dist/esm/api/singleSignOn/operations.js +106 -0
  281. package/dist/esm/api/singleSignOn/operations.js.map +1 -0
  282. package/dist/esm/api/singleSignOn/options.d.ts +13 -0
  283. package/dist/esm/api/singleSignOn/options.js +4 -0
  284. package/dist/esm/api/singleSignOn/options.js.map +1 -0
  285. package/dist/esm/api/tagRules/index.d.ts +3 -0
  286. package/dist/esm/api/tagRules/index.js +4 -0
  287. package/dist/esm/api/tagRules/index.js.map +1 -0
  288. package/dist/esm/api/tagRules/operations.d.ts +23 -0
  289. package/dist/esm/api/tagRules/operations.js +139 -0
  290. package/dist/esm/api/tagRules/operations.js.map +1 -0
  291. package/dist/esm/api/tagRules/options.d.ts +18 -0
  292. package/dist/esm/api/tagRules/options.js +4 -0
  293. package/dist/esm/api/tagRules/options.js.map +1 -0
  294. package/dist/esm/classic/creationSupported/index.d.ts +12 -0
  295. package/dist/esm/classic/creationSupported/index.js +15 -0
  296. package/dist/esm/classic/creationSupported/index.js.map +1 -0
  297. package/dist/esm/classic/index.d.ts +7 -0
  298. package/dist/esm/classic/index.js +4 -0
  299. package/dist/esm/classic/index.js.map +1 -0
  300. package/dist/esm/classic/monitoredSubscriptions/index.d.ts +33 -0
  301. package/dist/esm/classic/monitoredSubscriptions/index.js +43 -0
  302. package/dist/esm/classic/monitoredSubscriptions/index.js.map +1 -0
  303. package/dist/esm/classic/monitors/index.d.ts +57 -0
  304. package/dist/esm/classic/monitors/index.js +55 -0
  305. package/dist/esm/classic/monitors/index.js.map +1 -0
  306. package/dist/esm/classic/operations/index.d.ts +11 -0
  307. package/dist/esm/classic/operations/index.js +14 -0
  308. package/dist/esm/classic/operations/index.js.map +1 -0
  309. package/dist/esm/classic/singleSignOn/index.d.ts +21 -0
  310. package/dist/esm/classic/singleSignOn/index.js +25 -0
  311. package/dist/esm/classic/singleSignOn/index.js.map +1 -0
  312. package/dist/esm/classic/tagRules/index.d.ts +27 -0
  313. package/dist/esm/classic/tagRules/index.js +34 -0
  314. package/dist/esm/classic/tagRules/index.js.map +1 -0
  315. package/dist/esm/dynatraceObservability.d.ts +29 -0
  316. package/dist/esm/dynatraceObservability.js +44 -0
  317. package/dist/esm/dynatraceObservability.js.map +1 -0
  318. package/dist/esm/index.d.ts +22 -0
  319. package/dist/esm/index.js +9 -0
  320. package/dist/esm/index.js.map +1 -0
  321. package/dist/esm/logger.d.ts +2 -0
  322. package/dist/esm/logger.js +5 -0
  323. package/dist/esm/logger.js.map +1 -0
  324. package/dist/esm/models/index.d.ts +3 -0
  325. package/dist/esm/models/index.js +4 -0
  326. package/dist/esm/models/index.js.map +1 -0
  327. package/dist/esm/models/models.d.ts +1218 -0
  328. package/dist/esm/models/models.js +1132 -0
  329. package/dist/esm/models/models.js.map +1 -0
  330. package/dist/esm/package.json +3 -0
  331. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  332. package/dist/esm/restorePollerHelpers.js +111 -0
  333. package/dist/esm/restorePollerHelpers.js.map +1 -0
  334. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  335. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  336. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  337. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  338. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  339. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  340. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  341. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  342. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  343. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  344. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  345. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  346. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  347. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  348. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  349. package/package.json +207 -92
  350. package/CHANGELOG.md +0 -44
  351. package/dist/index.js +0 -3880
  352. package/dist/index.js.map +0 -1
  353. package/dist/index.min.js +0 -1
  354. package/dist/index.min.js.map +0 -1
  355. package/dist-esm/samples-dev/monitorsCreateOrUpdateSample.d.ts +0 -2
  356. package/dist-esm/samples-dev/monitorsCreateOrUpdateSample.d.ts.map +0 -1
  357. package/dist-esm/samples-dev/monitorsCreateOrUpdateSample.js +0 -86
  358. package/dist-esm/samples-dev/monitorsCreateOrUpdateSample.js.map +0 -1
  359. package/dist-esm/samples-dev/monitorsDeleteSample.d.ts +0 -2
  360. package/dist-esm/samples-dev/monitorsDeleteSample.d.ts.map +0 -1
  361. package/dist-esm/samples-dev/monitorsDeleteSample.js +0 -58
  362. package/dist-esm/samples-dev/monitorsDeleteSample.js.map +0 -1
  363. package/dist-esm/samples-dev/monitorsGetMarketplaceSaaSResourceDetailsSample.d.ts +0 -2
  364. package/dist-esm/samples-dev/monitorsGetMarketplaceSaaSResourceDetailsSample.d.ts.map +0 -1
  365. package/dist-esm/samples-dev/monitorsGetMarketplaceSaaSResourceDetailsSample.js +0 -58
  366. package/dist-esm/samples-dev/monitorsGetMarketplaceSaaSResourceDetailsSample.js.map +0 -1
  367. package/dist-esm/samples-dev/monitorsGetMetricStatusSample.d.ts +0 -2
  368. package/dist-esm/samples-dev/monitorsGetMetricStatusSample.d.ts.map +0 -1
  369. package/dist-esm/samples-dev/monitorsGetMetricStatusSample.js +0 -56
  370. package/dist-esm/samples-dev/monitorsGetMetricStatusSample.js.map +0 -1
  371. package/dist-esm/samples-dev/monitorsGetSample.d.ts +0 -2
  372. package/dist-esm/samples-dev/monitorsGetSample.d.ts.map +0 -1
  373. package/dist-esm/samples-dev/monitorsGetSample.js +0 -58
  374. package/dist-esm/samples-dev/monitorsGetSample.js.map +0 -1
  375. package/dist-esm/samples-dev/monitorsGetSsoDetailsSample.d.ts +0 -2
  376. package/dist-esm/samples-dev/monitorsGetSsoDetailsSample.d.ts.map +0 -1
  377. package/dist-esm/samples-dev/monitorsGetSsoDetailsSample.js +0 -62
  378. package/dist-esm/samples-dev/monitorsGetSsoDetailsSample.js.map +0 -1
  379. package/dist-esm/samples-dev/monitorsGetVMHostPayloadSample.d.ts +0 -2
  380. package/dist-esm/samples-dev/monitorsGetVMHostPayloadSample.d.ts.map +0 -1
  381. package/dist-esm/samples-dev/monitorsGetVMHostPayloadSample.js +0 -58
  382. package/dist-esm/samples-dev/monitorsGetVMHostPayloadSample.js.map +0 -1
  383. package/dist-esm/samples-dev/monitorsListAppServicesSample.d.ts +0 -2
  384. package/dist-esm/samples-dev/monitorsListAppServicesSample.d.ts.map +0 -1
  385. package/dist-esm/samples-dev/monitorsListAppServicesSample.js +0 -100
  386. package/dist-esm/samples-dev/monitorsListAppServicesSample.js.map +0 -1
  387. package/dist-esm/samples-dev/monitorsListByResourceGroupSample.d.ts +0 -2
  388. package/dist-esm/samples-dev/monitorsListByResourceGroupSample.d.ts.map +0 -1
  389. package/dist-esm/samples-dev/monitorsListByResourceGroupSample.js +0 -98
  390. package/dist-esm/samples-dev/monitorsListByResourceGroupSample.js.map +0 -1
  391. package/dist-esm/samples-dev/monitorsListBySubscriptionIdSample.d.ts +0 -2
  392. package/dist-esm/samples-dev/monitorsListBySubscriptionIdSample.d.ts.map +0 -1
  393. package/dist-esm/samples-dev/monitorsListBySubscriptionIdSample.js +0 -96
  394. package/dist-esm/samples-dev/monitorsListBySubscriptionIdSample.js.map +0 -1
  395. package/dist-esm/samples-dev/monitorsListHostsSample.d.ts +0 -2
  396. package/dist-esm/samples-dev/monitorsListHostsSample.d.ts.map +0 -1
  397. package/dist-esm/samples-dev/monitorsListHostsSample.js +0 -100
  398. package/dist-esm/samples-dev/monitorsListHostsSample.js.map +0 -1
  399. package/dist-esm/samples-dev/monitorsListLinkableEnvironmentsSample.d.ts +0 -2
  400. package/dist-esm/samples-dev/monitorsListLinkableEnvironmentsSample.d.ts.map +0 -1
  401. package/dist-esm/samples-dev/monitorsListLinkableEnvironmentsSample.js +0 -110
  402. package/dist-esm/samples-dev/monitorsListLinkableEnvironmentsSample.js.map +0 -1
  403. package/dist-esm/samples-dev/monitorsListMonitoredResourcesSample.d.ts +0 -2
  404. package/dist-esm/samples-dev/monitorsListMonitoredResourcesSample.d.ts.map +0 -1
  405. package/dist-esm/samples-dev/monitorsListMonitoredResourcesSample.js +0 -100
  406. package/dist-esm/samples-dev/monitorsListMonitoredResourcesSample.js.map +0 -1
  407. package/dist-esm/samples-dev/monitorsUpdateSample.d.ts +0 -2
  408. package/dist-esm/samples-dev/monitorsUpdateSample.d.ts.map +0 -1
  409. package/dist-esm/samples-dev/monitorsUpdateSample.js +0 -60
  410. package/dist-esm/samples-dev/monitorsUpdateSample.js.map +0 -1
  411. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  412. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  413. package/dist-esm/samples-dev/operationsListSample.js +0 -96
  414. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  415. package/dist-esm/samples-dev/singleSignOnCreateOrUpdateSample.d.ts +0 -2
  416. package/dist-esm/samples-dev/singleSignOnCreateOrUpdateSample.d.ts.map +0 -1
  417. package/dist-esm/samples-dev/singleSignOnCreateOrUpdateSample.js +0 -71
  418. package/dist-esm/samples-dev/singleSignOnCreateOrUpdateSample.js.map +0 -1
  419. package/dist-esm/samples-dev/singleSignOnGetSample.d.ts +0 -2
  420. package/dist-esm/samples-dev/singleSignOnGetSample.d.ts.map +0 -1
  421. package/dist-esm/samples-dev/singleSignOnGetSample.js +0 -60
  422. package/dist-esm/samples-dev/singleSignOnGetSample.js.map +0 -1
  423. package/dist-esm/samples-dev/singleSignOnListSample.d.ts +0 -2
  424. package/dist-esm/samples-dev/singleSignOnListSample.d.ts.map +0 -1
  425. package/dist-esm/samples-dev/singleSignOnListSample.js +0 -100
  426. package/dist-esm/samples-dev/singleSignOnListSample.js.map +0 -1
  427. package/dist-esm/samples-dev/tagRulesCreateOrUpdateSample.d.ts +0 -2
  428. package/dist-esm/samples-dev/tagRulesCreateOrUpdateSample.d.ts.map +0 -1
  429. package/dist-esm/samples-dev/tagRulesCreateOrUpdateSample.js +0 -79
  430. package/dist-esm/samples-dev/tagRulesCreateOrUpdateSample.js.map +0 -1
  431. package/dist-esm/samples-dev/tagRulesDeleteSample.d.ts +0 -2
  432. package/dist-esm/samples-dev/tagRulesDeleteSample.d.ts.map +0 -1
  433. package/dist-esm/samples-dev/tagRulesDeleteSample.js +0 -60
  434. package/dist-esm/samples-dev/tagRulesDeleteSample.js.map +0 -1
  435. package/dist-esm/samples-dev/tagRulesGetSample.d.ts +0 -2
  436. package/dist-esm/samples-dev/tagRulesGetSample.d.ts.map +0 -1
  437. package/dist-esm/samples-dev/tagRulesGetSample.js +0 -60
  438. package/dist-esm/samples-dev/tagRulesGetSample.js.map +0 -1
  439. package/dist-esm/samples-dev/tagRulesListSample.d.ts +0 -2
  440. package/dist-esm/samples-dev/tagRulesListSample.d.ts.map +0 -1
  441. package/dist-esm/samples-dev/tagRulesListSample.js +0 -100
  442. package/dist-esm/samples-dev/tagRulesListSample.js.map +0 -1
  443. package/dist-esm/src/dynatraceObservability.d.ts +0 -23
  444. package/dist-esm/src/dynatraceObservability.d.ts.map +0 -1
  445. package/dist-esm/src/dynatraceObservability.js +0 -103
  446. package/dist-esm/src/dynatraceObservability.js.map +0 -1
  447. package/dist-esm/src/index.d.ts +0 -6
  448. package/dist-esm/src/index.d.ts.map +0 -1
  449. package/dist-esm/src/index.js +0 -13
  450. package/dist-esm/src/index.js.map +0 -1
  451. package/dist-esm/src/lroImpl.d.ts +0 -11
  452. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  453. package/dist-esm/src/lroImpl.js +0 -21
  454. package/dist-esm/src/lroImpl.js.map +0 -1
  455. package/dist-esm/src/models/index.d.ts +0 -1118
  456. package/dist-esm/src/models/index.d.ts.map +0 -1
  457. package/dist-esm/src/models/index.js +0 -226
  458. package/dist-esm/src/models/index.js.map +0 -1
  459. package/dist-esm/src/models/mappers.d.ts +0 -45
  460. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  461. package/dist-esm/src/models/mappers.js +0 -1365
  462. package/dist-esm/src/models/mappers.js.map +0 -1
  463. package/dist-esm/src/models/parameters.d.ts +0 -19
  464. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  465. package/dist-esm/src/models/parameters.js +0 -149
  466. package/dist-esm/src/models/parameters.js.map +0 -1
  467. package/dist-esm/src/operations/index.d.ts +0 -5
  468. package/dist-esm/src/operations/index.d.ts.map +0 -1
  469. package/dist-esm/src/operations/index.js +0 -12
  470. package/dist-esm/src/operations/index.js.map +0 -1
  471. package/dist-esm/src/operations/monitors.d.ts +0 -227
  472. package/dist-esm/src/operations/monitors.d.ts.map +0 -1
  473. package/dist-esm/src/operations/monitors.js +0 -1147
  474. package/dist-esm/src/operations/monitors.js.map +0 -1
  475. package/dist-esm/src/operations/operations.d.ts +0 -32
  476. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  477. package/dist-esm/src/operations/operations.js +0 -138
  478. package/dist-esm/src/operations/operations.js.map +0 -1
  479. package/dist-esm/src/operations/singleSignOn.d.ts +0 -65
  480. package/dist-esm/src/operations/singleSignOn.d.ts.map +0 -1
  481. package/dist-esm/src/operations/singleSignOn.js +0 -288
  482. package/dist-esm/src/operations/singleSignOn.js.map +0 -1
  483. package/dist-esm/src/operations/tagRules.d.ts +0 -81
  484. package/dist-esm/src/operations/tagRules.d.ts.map +0 -1
  485. package/dist-esm/src/operations/tagRules.js +0 -363
  486. package/dist-esm/src/operations/tagRules.js.map +0 -1
  487. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  488. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  489. package/dist-esm/src/operationsInterfaces/index.js +0 -12
  490. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  491. package/dist-esm/src/operationsInterfaces/monitors.d.ts +0 -120
  492. package/dist-esm/src/operationsInterfaces/monitors.d.ts.map +0 -1
  493. package/dist-esm/src/operationsInterfaces/monitors.js +0 -9
  494. package/dist-esm/src/operationsInterfaces/monitors.js.map +0 -1
  495. package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
  496. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  497. package/dist-esm/src/operationsInterfaces/operations.js +0 -9
  498. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  499. package/dist-esm/src/operationsInterfaces/singleSignOn.d.ts +0 -40
  500. package/dist-esm/src/operationsInterfaces/singleSignOn.d.ts.map +0 -1
  501. package/dist-esm/src/operationsInterfaces/singleSignOn.js +0 -9
  502. package/dist-esm/src/operationsInterfaces/singleSignOn.js.map +0 -1
  503. package/dist-esm/src/operationsInterfaces/tagRules.d.ts +0 -56
  504. package/dist-esm/src/operationsInterfaces/tagRules.d.ts.map +0 -1
  505. package/dist-esm/src/operationsInterfaces/tagRules.js +0 -9
  506. package/dist-esm/src/operationsInterfaces/tagRules.js.map +0 -1
  507. package/dist-esm/src/pagingHelper.d.ts +0 -13
  508. package/dist-esm/src/pagingHelper.d.ts.map +0 -1
  509. package/dist-esm/src/pagingHelper.js +0 -32
  510. package/dist-esm/src/pagingHelper.js.map +0 -1
  511. package/dist-esm/test/dynatrace_examples.spec.d.ts +0 -4
  512. package/dist-esm/test/dynatrace_examples.spec.d.ts.map +0 -1
  513. package/dist-esm/test/dynatrace_examples.spec.js +0 -172
  514. package/dist-esm/test/dynatrace_examples.spec.js.map +0 -1
  515. package/review/arm-dynatrace.api.md +0 -847
  516. package/rollup.config.js +0 -122
  517. package/src/dynatraceObservability.ts +0 -156
  518. package/src/index.ts +0 -13
  519. package/src/lroImpl.ts +0 -42
  520. package/src/models/index.ts +0 -1271
  521. package/src/models/mappers.ts +0 -1443
  522. package/src/models/parameters.ts +0 -179
  523. package/src/operations/index.ts +0 -12
  524. package/src/operations/monitors.ts +0 -1489
  525. package/src/operations/operations.ts +0 -149
  526. package/src/operations/singleSignOn.ts +0 -387
  527. package/src/operations/tagRules.ts +0 -494
  528. package/src/operationsInterfaces/index.ts +0 -12
  529. package/src/operationsInterfaces/monitors.ts +0 -228
  530. package/src/operationsInterfaces/operations.ts +0 -22
  531. package/src/operationsInterfaces/singleSignOn.ts +0 -82
  532. package/src/operationsInterfaces/tagRules.ts +0 -109
  533. package/src/pagingHelper.ts +0 -39
  534. package/tsconfig.json +0 -33
  535. package/types/arm-dynatrace.d.ts +0 -1513
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/models/models.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for an operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** The request to update subscriptions needed to be monitored by the Dynatrace monitor resource. */\nexport interface MonitoredSubscriptionProperties extends ProxyResource {\n /** The request to update subscriptions needed to be monitored by the Dynatrace monitor resource. */\n properties?: SubscriptionList;\n}\n\nexport function monitoredSubscriptionPropertiesSerializer(\n item: MonitoredSubscriptionProperties,\n): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : subscriptionListSerializer(item[\"properties\"]),\n };\n}\n\nexport function monitoredSubscriptionPropertiesDeserializer(\n item: any,\n): MonitoredSubscriptionProperties {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : subscriptionListDeserializer(item[\"properties\"]),\n };\n}\n\n/** The request to update subscriptions needed to be monitored by the Dynatrace monitor resource. */\nexport interface SubscriptionList {\n /** The operation for the patch on the resource. */\n operation?: SubscriptionListOperation;\n /** List of subscriptions and the state of the monitoring. */\n monitoredSubscriptionList?: MonitoredSubscription[];\n /** Provisioning State of the resource */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function subscriptionListSerializer(item: SubscriptionList): any {\n return {\n operation: item[\"operation\"],\n monitoredSubscriptionList: !item[\"monitoredSubscriptionList\"]\n ? item[\"monitoredSubscriptionList\"]\n : monitoredSubscriptionArraySerializer(item[\"monitoredSubscriptionList\"]),\n };\n}\n\nexport function subscriptionListDeserializer(item: any): SubscriptionList {\n return {\n operation: item[\"operation\"],\n monitoredSubscriptionList: !item[\"monitoredSubscriptionList\"]\n ? item[\"monitoredSubscriptionList\"]\n : monitoredSubscriptionArrayDeserializer(item[\"monitoredSubscriptionList\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The operation for the patch on the resource. */\nexport enum KnownSubscriptionListOperation {\n /** AddBegin */\n AddBegin = \"AddBegin\",\n /** AddComplete */\n AddComplete = \"AddComplete\",\n /** DeleteBegin */\n DeleteBegin = \"DeleteBegin\",\n /** DeleteComplete */\n DeleteComplete = \"DeleteComplete\",\n /** Active */\n Active = \"Active\",\n}\n\n/**\n * The operation for the patch on the resource. \\\n * {@link KnownSubscriptionListOperation} can be used interchangeably with SubscriptionListOperation,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AddBegin** \\\n * **AddComplete** \\\n * **DeleteBegin** \\\n * **DeleteComplete** \\\n * **Active**\n */\nexport type SubscriptionListOperation = string;\n\nexport function monitoredSubscriptionArraySerializer(result: Array<MonitoredSubscription>): any[] {\n return result.map((item) => {\n return monitoredSubscriptionSerializer(item);\n });\n}\n\nexport function monitoredSubscriptionArrayDeserializer(\n result: Array<MonitoredSubscription>,\n): any[] {\n return result.map((item) => {\n return monitoredSubscriptionDeserializer(item);\n });\n}\n\n/** The list of subscriptions and it's monitoring status by current Dynatrace monitor. */\nexport interface MonitoredSubscription {\n /** The subscriptionId to be monitored. */\n subscriptionId: string;\n /** The state of monitoring. */\n status?: Status;\n /** The reason of not monitoring the subscription. */\n error?: string;\n /** Properties for the Tag rules resource of a Monitor account. */\n tagRules?: MonitoringTagRulesProperties;\n}\n\nexport function monitoredSubscriptionSerializer(item: MonitoredSubscription): any {\n return {\n subscriptionId: item[\"subscriptionId\"],\n status: item[\"status\"],\n error: item[\"error\"],\n tagRules: !item[\"tagRules\"]\n ? item[\"tagRules\"]\n : monitoringTagRulesPropertiesSerializer(item[\"tagRules\"]),\n };\n}\n\nexport function monitoredSubscriptionDeserializer(item: any): MonitoredSubscription {\n return {\n subscriptionId: item[\"subscriptionId\"],\n status: item[\"status\"],\n error: item[\"error\"],\n tagRules: !item[\"tagRules\"]\n ? item[\"tagRules\"]\n : monitoringTagRulesPropertiesDeserializer(item[\"tagRules\"]),\n };\n}\n\n/** The state of monitoring. */\nexport enum KnownStatus {\n /** InProgress */\n InProgress = \"InProgress\",\n /** Active */\n Active = \"Active\",\n /** Failed */\n Failed = \"Failed\",\n /** Deleting */\n Deleting = \"Deleting\",\n}\n\n/**\n * The state of monitoring. \\\n * {@link KnownStatus} can be used interchangeably with Status,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InProgress** \\\n * **Active** \\\n * **Failed** \\\n * **Deleting**\n */\nexport type Status = string;\n\n/** Properties for the Tag rules resource of a Monitor account. */\nexport interface MonitoringTagRulesProperties {\n /** Set of rules for sending logs for the Monitor resource. */\n logRules?: LogRules;\n /** Set of rules for sending metrics for the Monitor resource. */\n metricRules?: MetricRules;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function monitoringTagRulesPropertiesSerializer(item: MonitoringTagRulesProperties): any {\n return {\n logRules: !item[\"logRules\"] ? item[\"logRules\"] : logRulesSerializer(item[\"logRules\"]),\n metricRules: !item[\"metricRules\"]\n ? item[\"metricRules\"]\n : metricRulesSerializer(item[\"metricRules\"]),\n };\n}\n\nexport function monitoringTagRulesPropertiesDeserializer(item: any): MonitoringTagRulesProperties {\n return {\n logRules: !item[\"logRules\"] ? item[\"logRules\"] : logRulesDeserializer(item[\"logRules\"]),\n metricRules: !item[\"metricRules\"]\n ? item[\"metricRules\"]\n : metricRulesDeserializer(item[\"metricRules\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Set of rules for sending logs for the Monitor resource. */\nexport interface LogRules {\n /** Flag specifying if AAD logs should be sent for the Monitor resource. */\n sendAadLogs?: SendAadLogsStatus;\n /** Flag specifying if subscription logs should be sent for the Monitor resource. */\n sendSubscriptionLogs?: SendSubscriptionLogsStatus;\n /** Flag specifying if activity logs from Azure resources should be sent for the Monitor resource. */\n sendActivityLogs?: SendActivityLogsStatus;\n /**\n * List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured.\n * If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.\n */\n filteringTags?: FilteringTag[];\n}\n\nexport function logRulesSerializer(item: LogRules): any {\n return {\n sendAadLogs: item[\"sendAadLogs\"],\n sendSubscriptionLogs: item[\"sendSubscriptionLogs\"],\n sendActivityLogs: item[\"sendActivityLogs\"],\n filteringTags: !item[\"filteringTags\"]\n ? item[\"filteringTags\"]\n : filteringTagArraySerializer(item[\"filteringTags\"]),\n };\n}\n\nexport function logRulesDeserializer(item: any): LogRules {\n return {\n sendAadLogs: item[\"sendAadLogs\"],\n sendSubscriptionLogs: item[\"sendSubscriptionLogs\"],\n sendActivityLogs: item[\"sendActivityLogs\"],\n filteringTags: !item[\"filteringTags\"]\n ? item[\"filteringTags\"]\n : filteringTagArrayDeserializer(item[\"filteringTags\"]),\n };\n}\n\n/** Indicates whether AAD logs are being sent. */\nexport enum KnownSendAadLogsStatus {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\",\n}\n\n/**\n * Indicates whether AAD logs are being sent. \\\n * {@link KnownSendAadLogsStatus} can be used interchangeably with SendAadLogsStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type SendAadLogsStatus = string;\n\n/** Indicates whether subscription logs are being sent. */\nexport enum KnownSendSubscriptionLogsStatus {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\",\n}\n\n/**\n * Indicates whether subscription logs are being sent. \\\n * {@link KnownSendSubscriptionLogsStatus} can be used interchangeably with SendSubscriptionLogsStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type SendSubscriptionLogsStatus = string;\n\n/** Indicates whether activity logs are being sent. */\nexport enum KnownSendActivityLogsStatus {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\",\n}\n\n/**\n * Indicates whether activity logs are being sent. \\\n * {@link KnownSendActivityLogsStatus} can be used interchangeably with SendActivityLogsStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type SendActivityLogsStatus = string;\n\nexport function filteringTagArraySerializer(result: Array<FilteringTag>): any[] {\n return result.map((item) => {\n return filteringTagSerializer(item);\n });\n}\n\nexport function filteringTagArrayDeserializer(result: Array<FilteringTag>): any[] {\n return result.map((item) => {\n return filteringTagDeserializer(item);\n });\n}\n\n/** The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored. */\nexport interface FilteringTag {\n /** The name (also known as the key) of the tag. */\n name?: string;\n /** The value of the tag. */\n value?: string;\n /** Valid actions for a filtering tag. Exclusion takes priority over inclusion. */\n action?: TagAction;\n}\n\nexport function filteringTagSerializer(item: FilteringTag): any {\n return { name: item[\"name\"], value: item[\"value\"], action: item[\"action\"] };\n}\n\nexport function filteringTagDeserializer(item: any): FilteringTag {\n return {\n name: item[\"name\"],\n value: item[\"value\"],\n action: item[\"action\"],\n };\n}\n\n/** Valid actions for a filtering tag. Exclusion takes priority over inclusion. */\nexport enum KnownTagAction {\n /** Include */\n Include = \"Include\",\n /** Exclude */\n Exclude = \"Exclude\",\n}\n\n/**\n * Valid actions for a filtering tag. Exclusion takes priority over inclusion. \\\n * {@link KnownTagAction} can be used interchangeably with TagAction,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Include** \\\n * **Exclude**\n */\nexport type TagAction = string;\n\n/** Set of rules for sending metrics for the Monitor resource. */\nexport interface MetricRules {\n /** Flag specifying if metrics from Azure resources should be sent for the Monitor resource. */\n sendingMetrics?: SendingMetricsStatus;\n /** List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags. */\n filteringTags?: FilteringTag[];\n}\n\nexport function metricRulesSerializer(item: MetricRules): any {\n return {\n sendingMetrics: item[\"sendingMetrics\"],\n filteringTags: !item[\"filteringTags\"]\n ? item[\"filteringTags\"]\n : filteringTagArraySerializer(item[\"filteringTags\"]),\n };\n}\n\nexport function metricRulesDeserializer(item: any): MetricRules {\n return {\n sendingMetrics: item[\"sendingMetrics\"],\n filteringTags: !item[\"filteringTags\"]\n ? item[\"filteringTags\"]\n : filteringTagArrayDeserializer(item[\"filteringTags\"]),\n };\n}\n\n/** Indicates whether metrics are being sent. */\nexport enum KnownSendingMetricsStatus {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\",\n}\n\n/**\n * Indicates whether metrics are being sent. \\\n * {@link KnownSendingMetricsStatus} can be used interchangeably with SendingMetricsStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type SendingMetricsStatus = string;\n\n/** Provisioning state of the monitoring resource */\nexport enum KnownProvisioningState {\n /** Accepted */\n Accepted = \"Accepted\",\n /** Creating */\n Creating = \"Creating\",\n /** Updating */\n Updating = \"Updating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\",\n /** Deleted */\n Deleted = \"Deleted\",\n /** NotSpecified */\n NotSpecified = \"NotSpecified\",\n}\n\n/**\n * Provisioning state of the monitoring resource \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Accepted** \\\n * **Creating** \\\n * **Updating** \\\n * **Deleting** \\\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled** \\\n * **Deleted** \\\n * **NotSpecified**\n */\nexport type ProvisioningState = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(_item: ProxyResource): any {\n return {};\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(_item: Resource): any {\n return {};\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** Paged collection of MonitoredSubscriptionProperties items */\nexport interface _MonitoredSubscriptionPropertiesList {\n /** The MonitoredSubscriptionProperties items on this page */\n value: MonitoredSubscriptionProperties[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _monitoredSubscriptionPropertiesListDeserializer(\n item: any,\n): _MonitoredSubscriptionPropertiesList {\n return {\n value: monitoredSubscriptionPropertiesArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function monitoredSubscriptionPropertiesArraySerializer(\n result: Array<MonitoredSubscriptionProperties>,\n): any[] {\n return result.map((item) => {\n return monitoredSubscriptionPropertiesSerializer(item);\n });\n}\n\nexport function monitoredSubscriptionPropertiesArrayDeserializer(\n result: Array<MonitoredSubscriptionProperties>,\n): any[] {\n return result.map((item) => {\n return monitoredSubscriptionPropertiesDeserializer(item);\n });\n}\n\n/** Tag rules for a monitor resource */\nexport interface TagRule extends ProxyResource {\n /** Set of rules for sending logs for the Monitor resource. */\n logRules?: LogRules;\n /** Set of rules for sending metrics for the Monitor resource. */\n metricRules?: MetricRules;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function tagRuleSerializer(item: TagRule): any {\n return { properties: _tagRulePropertiesSerializer(item) };\n}\n\nexport function tagRuleDeserializer(item: any): TagRule {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ..._tagRulePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The response of a TagRule list operation. */\nexport interface _TagRuleListResult {\n /** The TagRule items on this page */\n value: TagRule[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _tagRuleListResultDeserializer(item: any): _TagRuleListResult {\n return {\n value: tagRuleArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function tagRuleArraySerializer(result: Array<TagRule>): any[] {\n return result.map((item) => {\n return tagRuleSerializer(item);\n });\n}\n\nexport function tagRuleArrayDeserializer(result: Array<TagRule>): any[] {\n return result.map((item) => {\n return tagRuleDeserializer(item);\n });\n}\n\n/** Dynatrace Monitor Resource */\nexport interface MonitorResource extends TrackedResource {\n /** The managed service identities assigned to this resource. */\n identity?: IdentityProperties;\n /** Status of the monitor. */\n monitoringStatus?: MonitoringStatus;\n /** Marketplace subscription status. */\n marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus;\n /** Marketplace resource autorenew flag */\n marketplaceSaasAutoRenew?: MarketplaceSaasAutoRenew;\n /** Properties of the Dynatrace environment. */\n dynatraceEnvironmentProperties?: DynatraceEnvironmentProperties;\n /** User info. */\n userInfo?: UserInfo;\n /** Billing plan information. */\n planData?: PlanData;\n /** Liftr Resource category. */\n readonly liftrResourceCategory?: LiftrResourceCategories;\n /** The priority of the resource. */\n readonly liftrResourcePreference?: number;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function monitorResourceSerializer(item: MonitorResource): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: _monitorResourcePropertiesSerializer(item),\n identity: !item[\"identity\"] ? item[\"identity\"] : identityPropertiesSerializer(item[\"identity\"]),\n };\n}\n\nexport function monitorResourceDeserializer(item: any): MonitorResource {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ..._monitorResourcePropertiesDeserializer(item[\"properties\"]),\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : identityPropertiesDeserializer(item[\"identity\"]),\n };\n}\n\n/** Properties specific to the monitor resource. */\nexport interface MonitorProperties {\n /** Status of the monitor. */\n monitoringStatus?: MonitoringStatus;\n /** Marketplace subscription status. */\n marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus;\n /** Marketplace resource autorenew flag */\n marketplaceSaasAutoRenew?: MarketplaceSaasAutoRenew;\n /** Properties of the Dynatrace environment. */\n dynatraceEnvironmentProperties?: DynatraceEnvironmentProperties;\n /** User info. */\n userInfo?: UserInfo;\n /** Billing plan information. */\n planData?: PlanData;\n /** Liftr Resource category. */\n readonly liftrResourceCategory?: LiftrResourceCategories;\n /** The priority of the resource. */\n readonly liftrResourcePreference?: number;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function monitorPropertiesSerializer(item: MonitorProperties): any {\n return {\n monitoringStatus: item[\"monitoringStatus\"],\n marketplaceSubscriptionStatus: item[\"marketplaceSubscriptionStatus\"],\n marketplaceSaasAutoRenew: item[\"marketplaceSaasAutoRenew\"],\n dynatraceEnvironmentProperties: !item[\"dynatraceEnvironmentProperties\"]\n ? item[\"dynatraceEnvironmentProperties\"]\n : dynatraceEnvironmentPropertiesSerializer(item[\"dynatraceEnvironmentProperties\"]),\n userInfo: !item[\"userInfo\"] ? item[\"userInfo\"] : userInfoSerializer(item[\"userInfo\"]),\n planData: !item[\"planData\"] ? item[\"planData\"] : planDataSerializer(item[\"planData\"]),\n };\n}\n\nexport function monitorPropertiesDeserializer(item: any): MonitorProperties {\n return {\n monitoringStatus: item[\"monitoringStatus\"],\n marketplaceSubscriptionStatus: item[\"marketplaceSubscriptionStatus\"],\n marketplaceSaasAutoRenew: item[\"marketplaceSaasAutoRenew\"],\n dynatraceEnvironmentProperties: !item[\"dynatraceEnvironmentProperties\"]\n ? item[\"dynatraceEnvironmentProperties\"]\n : dynatraceEnvironmentPropertiesDeserializer(item[\"dynatraceEnvironmentProperties\"]),\n userInfo: !item[\"userInfo\"] ? item[\"userInfo\"] : userInfoDeserializer(item[\"userInfo\"]),\n planData: !item[\"planData\"] ? item[\"planData\"] : planDataDeserializer(item[\"planData\"]),\n liftrResourceCategory: item[\"liftrResourceCategory\"],\n liftrResourcePreference: item[\"liftrResourcePreference\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Flag specifying if the resource monitoring is enabled or disabled. */\nexport enum KnownMonitoringStatus {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\",\n}\n\n/**\n * Flag specifying if the resource monitoring is enabled or disabled. \\\n * {@link KnownMonitoringStatus} can be used interchangeably with MonitoringStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type MonitoringStatus = string;\n\n/** Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. */\nexport enum KnownMarketplaceSubscriptionStatus {\n /** Active */\n Active = \"Active\",\n /** Suspended */\n Suspended = \"Suspended\",\n /** Unsubscribed */\n Unsubscribed = \"Unsubscribed\",\n}\n\n/**\n * Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. \\\n * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Active** \\\n * **Suspended** \\\n * **Unsubscribed**\n */\nexport type MarketplaceSubscriptionStatus = string;\n\n/** Marketplace resource autorenew flag */\nexport enum KnownMarketplaceSaasAutoRenew {\n /** On */\n On = \"On\",\n /** Off */\n Off = \"Off\",\n}\n\n/**\n * Marketplace resource autorenew flag \\\n * {@link KnownMarketplaceSaasAutoRenew} can be used interchangeably with MarketplaceSaasAutoRenew,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **On** \\\n * **Off**\n */\nexport type MarketplaceSaasAutoRenew = string;\n\n/** Properties of the Dynatrace environment. */\nexport interface DynatraceEnvironmentProperties {\n /** User id */\n userId?: string;\n /** Dynatrace Account Information */\n accountInfo?: AccountInfo;\n /** Dynatrace Environment Information */\n environmentInfo?: EnvironmentInfo;\n /** The details of a Dynatrace single sign-on. */\n singleSignOnProperties?: DynatraceSingleSignOnProperties;\n}\n\nexport function dynatraceEnvironmentPropertiesSerializer(\n item: DynatraceEnvironmentProperties,\n): any {\n return {\n userId: item[\"userId\"],\n accountInfo: !item[\"accountInfo\"]\n ? item[\"accountInfo\"]\n : accountInfoSerializer(item[\"accountInfo\"]),\n environmentInfo: !item[\"environmentInfo\"]\n ? item[\"environmentInfo\"]\n : environmentInfoSerializer(item[\"environmentInfo\"]),\n singleSignOnProperties: !item[\"singleSignOnProperties\"]\n ? item[\"singleSignOnProperties\"]\n : dynatraceSingleSignOnPropertiesSerializer(item[\"singleSignOnProperties\"]),\n };\n}\n\nexport function dynatraceEnvironmentPropertiesDeserializer(\n item: any,\n): DynatraceEnvironmentProperties {\n return {\n userId: item[\"userId\"],\n accountInfo: !item[\"accountInfo\"]\n ? item[\"accountInfo\"]\n : accountInfoDeserializer(item[\"accountInfo\"]),\n environmentInfo: !item[\"environmentInfo\"]\n ? item[\"environmentInfo\"]\n : environmentInfoDeserializer(item[\"environmentInfo\"]),\n singleSignOnProperties: !item[\"singleSignOnProperties\"]\n ? item[\"singleSignOnProperties\"]\n : dynatraceSingleSignOnPropertiesDeserializer(item[\"singleSignOnProperties\"]),\n };\n}\n\n/** Dynatrace Account Information */\nexport interface AccountInfo {\n /** Account Id of the account this environment is linked to */\n accountId?: string;\n /** Region in which the account is created */\n regionId?: string;\n /** Name of the customer account / company */\n companyName?: string;\n}\n\nexport function accountInfoSerializer(item: AccountInfo): any {\n return {\n accountId: item[\"accountId\"],\n regionId: item[\"regionId\"],\n companyName: item[\"companyName\"],\n };\n}\n\nexport function accountInfoDeserializer(item: any): AccountInfo {\n return {\n accountId: item[\"accountId\"],\n regionId: item[\"regionId\"],\n companyName: item[\"companyName\"],\n };\n}\n\n/** Dynatrace Environment Information */\nexport interface EnvironmentInfo {\n /** Id of the environment created */\n environmentId?: string;\n /** Ingestion key of the environment */\n ingestionKey?: string;\n /** Ingestion endpoint used for sending logs */\n logsIngestionEndpoint?: string;\n /** Landing URL for Dynatrace environment */\n landingURL?: string;\n}\n\nexport function environmentInfoSerializer(item: EnvironmentInfo): any {\n return {\n environmentId: item[\"environmentId\"],\n ingestionKey: item[\"ingestionKey\"],\n logsIngestionEndpoint: item[\"logsIngestionEndpoint\"],\n landingURL: item[\"landingURL\"],\n };\n}\n\nexport function environmentInfoDeserializer(item: any): EnvironmentInfo {\n return {\n environmentId: item[\"environmentId\"],\n ingestionKey: item[\"ingestionKey\"],\n logsIngestionEndpoint: item[\"logsIngestionEndpoint\"],\n landingURL: item[\"landingURL\"],\n };\n}\n\n/** The details of a Dynatrace single sign-on. */\nexport interface DynatraceSingleSignOnProperties {\n /** State of Single Sign On */\n singleSignOnState?: SingleSignOnStates;\n /** Version of the Dynatrace agent installed on the VM. */\n enterpriseAppId?: string;\n /** The login URL specific to this Dynatrace Environment */\n singleSignOnUrl?: string;\n /** array of Aad(azure active directory) domains */\n aadDomains?: string[];\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function dynatraceSingleSignOnPropertiesSerializer(\n item: DynatraceSingleSignOnProperties,\n): any {\n return {\n singleSignOnState: item[\"singleSignOnState\"],\n enterpriseAppId: item[\"enterpriseAppId\"],\n singleSignOnUrl: item[\"singleSignOnUrl\"],\n aadDomains: !item[\"aadDomains\"]\n ? item[\"aadDomains\"]\n : item[\"aadDomains\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function dynatraceSingleSignOnPropertiesDeserializer(\n item: any,\n): DynatraceSingleSignOnProperties {\n return {\n singleSignOnState: item[\"singleSignOnState\"],\n enterpriseAppId: item[\"enterpriseAppId\"],\n singleSignOnUrl: item[\"singleSignOnUrl\"],\n aadDomains: !item[\"aadDomains\"]\n ? item[\"aadDomains\"]\n : item[\"aadDomains\"].map((p: any) => {\n return p;\n }),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Various states of the SSO resource */\nexport enum KnownSingleSignOnStates {\n /** Initial */\n Initial = \"Initial\",\n /** Enable */\n Enable = \"Enable\",\n /** Disable */\n Disable = \"Disable\",\n /** Existing */\n Existing = \"Existing\",\n}\n\n/**\n * Various states of the SSO resource \\\n * {@link KnownSingleSignOnStates} can be used interchangeably with SingleSignOnStates,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Initial** \\\n * **Enable** \\\n * **Disable** \\\n * **Existing**\n */\nexport type SingleSignOnStates = string;\n\n/** User info. */\nexport interface UserInfo {\n /** First Name of the user */\n firstName?: string;\n /** Last Name of the user */\n lastName?: string;\n /** Email of the user used by Dynatrace for contacting them if needed */\n emailAddress?: string;\n /** Phone number of the user used by Dynatrace for contacting them if needed */\n phoneNumber?: string;\n /** Country of the user */\n country?: string;\n}\n\nexport function userInfoSerializer(item: UserInfo): any {\n return {\n firstName: item[\"firstName\"],\n lastName: item[\"lastName\"],\n emailAddress: item[\"emailAddress\"],\n phoneNumber: item[\"phoneNumber\"],\n country: item[\"country\"],\n };\n}\n\nexport function userInfoDeserializer(item: any): UserInfo {\n return {\n firstName: item[\"firstName\"],\n lastName: item[\"lastName\"],\n emailAddress: item[\"emailAddress\"],\n phoneNumber: item[\"phoneNumber\"],\n country: item[\"country\"],\n };\n}\n\n/** Billing plan information. */\nexport interface PlanData {\n /** different usage type like PAYG/COMMITTED. this could be enum */\n usageType?: string;\n /** different billing cycles like MONTHLY/WEEKLY. this could be enum */\n billingCycle?: string;\n /** plan id as published by Dynatrace */\n planDetails?: string;\n /** date when plan was applied */\n effectiveDate?: Date;\n}\n\nexport function planDataSerializer(item: PlanData): any {\n return {\n usageType: item[\"usageType\"],\n billingCycle: item[\"billingCycle\"],\n planDetails: item[\"planDetails\"],\n effectiveDate: !item[\"effectiveDate\"]\n ? item[\"effectiveDate\"]\n : item[\"effectiveDate\"].toISOString(),\n };\n}\n\nexport function planDataDeserializer(item: any): PlanData {\n return {\n usageType: item[\"usageType\"],\n billingCycle: item[\"billingCycle\"],\n planDetails: item[\"planDetails\"],\n effectiveDate: !item[\"effectiveDate\"] ? item[\"effectiveDate\"] : new Date(item[\"effectiveDate\"]),\n };\n}\n\n/** Liftr resource category */\nexport enum KnownLiftrResourceCategories {\n /** Unknown */\n Unknown = \"Unknown\",\n /** MonitorLogs */\n MonitorLogs = \"MonitorLogs\",\n}\n\n/**\n * Liftr resource category \\\n * {@link KnownLiftrResourceCategories} can be used interchangeably with LiftrResourceCategories,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unknown** \\\n * **MonitorLogs**\n */\nexport type LiftrResourceCategories = string;\n\n/** The properties of the managed service identities assigned to this resource. */\nexport interface IdentityProperties {\n /** The Active Directory tenant id of the principal. */\n readonly tenantId?: string;\n /** The active directory identifier of this principal. */\n readonly principalId?: string;\n /** The type of managed identity assigned to this resource. */\n type: ManagedIdentityType;\n /** The identities assigned to this resource by the user. */\n userAssignedIdentities?: Record<string, UserAssignedIdentity>;\n}\n\nexport function identityPropertiesSerializer(item: IdentityProperties): any {\n return {\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : userAssignedIdentityRecordSerializer(item[\"userAssignedIdentities\"]),\n };\n}\n\nexport function identityPropertiesDeserializer(item: any): IdentityProperties {\n return {\n tenantId: item[\"tenantId\"],\n principalId: item[\"principalId\"],\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : userAssignedIdentityRecordDeserializer(item[\"userAssignedIdentities\"]),\n };\n}\n\n/** The kind of managed identity assigned to this resource. */\nexport enum KnownManagedIdentityType {\n /** SystemAssigned */\n SystemAssigned = \"SystemAssigned\",\n /** UserAssigned */\n UserAssigned = \"UserAssigned\",\n /** SystemAndUserAssigned */\n SystemAndUserAssigned = \"SystemAndUserAssigned\",\n}\n\n/**\n * The kind of managed identity assigned to this resource. \\\n * {@link KnownManagedIdentityType} can be used interchangeably with ManagedIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SystemAssigned** \\\n * **UserAssigned** \\\n * **SystemAndUserAssigned**\n */\nexport type ManagedIdentityType = string;\n\nexport function userAssignedIdentityRecordSerializer(\n item: Record<string, UserAssignedIdentity>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : userAssignedIdentitySerializer(item[key]);\n });\n return result;\n}\n\nexport function userAssignedIdentityRecordDeserializer(\n item: Record<string, any>,\n): Record<string, UserAssignedIdentity> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : userAssignedIdentityDeserializer(item[key]);\n });\n return result;\n}\n\n/** User assigned identity properties */\nexport interface UserAssignedIdentity {\n /** The principal ID of the assigned identity. */\n readonly principalId?: string;\n /** The client ID of the assigned identity. */\n readonly clientId?: string;\n}\n\nexport function userAssignedIdentitySerializer(_item: UserAssignedIdentity): any {\n return {};\n}\n\nexport function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity {\n return {\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n };\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n };\n}\n\n/** The updatable properties of the MonitorResource. */\nexport interface MonitorResourceUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The set of properties that can be updated in a PATCH request to a monitor resource. */\n properties?: MonitorUpdateProperties;\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n}\n\nexport function monitorResourceUpdateSerializer(item: MonitorResourceUpdate): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : monitorUpdatePropertiesSerializer(item[\"properties\"]),\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n };\n}\n\n/** The set of properties that can be updated in a PATCH request to a monitor resource. */\nexport interface MonitorUpdateProperties {\n /** The new Billing plan information. */\n planData?: PlanData;\n}\n\nexport function monitorUpdatePropertiesSerializer(item: MonitorUpdateProperties): any {\n return { planData: !item[\"planData\"] ? item[\"planData\"] : planDataSerializer(item[\"planData\"]) };\n}\n\n/** Managed service identity (system assigned and/or user assigned identities) */\nexport interface ManagedServiceIdentity {\n /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly principalId?: string;\n /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly tenantId?: string;\n /** The type of managed identity assigned to this resource. */\n type: ManagedServiceIdentityType;\n /** The identities assigned to this resource by the user. */\n userAssignedIdentities?: Record<string, UserAssignedIdentity>;\n}\n\nexport function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any {\n return { type: item[\"type\"], userAssignedIdentities: item[\"userAssignedIdentities\"] };\n}\n\n/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */\nexport enum KnownManagedServiceIdentityType {\n /** No managed identity. */\n None = \"None\",\n /** System assigned managed identity. */\n SystemAssigned = \"SystemAssigned\",\n /** User assigned managed identity. */\n UserAssigned = \"UserAssigned\",\n /** System and user assigned managed identity. */\n SystemAssignedUserAssigned = \"SystemAssigned,UserAssigned\",\n}\n\n/**\n * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \\\n * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: No managed identity. \\\n * **SystemAssigned**: System assigned managed identity. \\\n * **UserAssigned**: User assigned managed identity. \\\n * **SystemAssigned,UserAssigned**: System and user assigned managed identity.\n */\nexport type ManagedServiceIdentityType = string;\n\n/** The response of a MonitorResource list operation. */\nexport interface _MonitorResourceListResult {\n /** The MonitorResource items on this page */\n value: MonitorResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _monitorResourceListResultDeserializer(item: any): _MonitorResourceListResult {\n return {\n value: monitorResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function monitorResourceArraySerializer(result: Array<MonitorResource>): any[] {\n return result.map((item) => {\n return monitorResourceSerializer(item);\n });\n}\n\nexport function monitorResourceArrayDeserializer(result: Array<MonitorResource>): any[] {\n return result.map((item) => {\n return monitorResourceDeserializer(item);\n });\n}\n\n/** Request for getting log status for given monitored resource Ids */\nexport interface LogStatusRequest {\n /** List of azure resource Id of monitored resources for which we get the log status */\n monitoredResourceIds?: string[];\n}\n\nexport function logStatusRequestSerializer(item: LogStatusRequest): any {\n return {\n monitoredResourceIds: !item[\"monitoredResourceIds\"]\n ? item[\"monitoredResourceIds\"]\n : item[\"monitoredResourceIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** List of all the resources being monitored by Dynatrace monitor resource */\nexport interface _MonitoredResourceListResponse {\n /** The MonitoredResource items on this page */\n value: MonitoredResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _monitoredResourceListResponseDeserializer(\n item: any,\n): _MonitoredResourceListResponse {\n return {\n value: monitoredResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function monitoredResourceArrayDeserializer(result: Array<MonitoredResource>): any[] {\n return result.map((item) => {\n return monitoredResourceDeserializer(item);\n });\n}\n\n/** Details of resource being monitored by Dynatrace monitor resource */\nexport interface MonitoredResource {\n /** The ARM id of the resource. */\n id?: string;\n /** Flag indicating if resource is sending metrics to Dynatrace. */\n sendingMetrics?: SendingMetricsStatus;\n /** Reason for why the resource is sending metrics (or why it is not sending). */\n reasonForMetricsStatus?: string;\n /** Flag indicating if resource is sending logs to Dynatrace. */\n sendingLogs?: SendingLogsStatus;\n /** Reason for why the resource is sending logs (or why it is not sending). */\n reasonForLogsStatus?: string;\n}\n\nexport function monitoredResourceDeserializer(item: any): MonitoredResource {\n return {\n id: item[\"id\"],\n sendingMetrics: item[\"sendingMetrics\"],\n reasonForMetricsStatus: item[\"reasonForMetricsStatus\"],\n sendingLogs: item[\"sendingLogs\"],\n reasonForLogsStatus: item[\"reasonForLogsStatus\"],\n };\n}\n\n/** Indicates whether logs are being sent. */\nexport enum KnownSendingLogsStatus {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\",\n}\n\n/**\n * Indicates whether logs are being sent. \\\n * {@link KnownSendingLogsStatus} can be used interchangeably with SendingLogsStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type SendingLogsStatus = string;\n\n/** Response of payload to be passed while installing VM agent. */\nexport interface VMExtensionPayload {\n /** Ingestion key of the environment */\n ingestionKey?: string;\n /** Id of the environment created */\n environmentId?: string;\n}\n\nexport function vmExtensionPayloadDeserializer(item: any): VMExtensionPayload {\n return {\n ingestionKey: item[\"ingestionKey\"],\n environmentId: item[\"environmentId\"],\n };\n}\n\n/** Request for performing Dynatrace agent install/uninstall action through the Azure Dynatrace resource on the provided list of agent resources. */\nexport interface ManageAgentInstallationRequest {\n /** The list of resources. */\n manageAgentInstallationList: ManageAgentList[];\n /** Install/Uninstall action. */\n action: Action;\n}\n\nexport function manageAgentInstallationRequestSerializer(\n item: ManageAgentInstallationRequest,\n): any {\n return {\n manageAgentInstallationList: manageAgentListArraySerializer(\n item[\"manageAgentInstallationList\"],\n ),\n action: item[\"action\"],\n };\n}\n\nexport function manageAgentListArraySerializer(result: Array<ManageAgentList>): any[] {\n return result.map((item) => {\n return manageAgentListSerializer(item);\n });\n}\n\n/** Details of resource that has Dynatrace agent installed through the Azure Dynatrace resource. */\nexport interface ManageAgentList {\n /** The ARM id of the resource to install/uninstall agent. */\n id?: string;\n}\n\nexport function manageAgentListSerializer(item: ManageAgentList): any {\n return { id: item[\"id\"] };\n}\n\n/** Install/Uninstall action. */\nexport enum KnownAction {\n /** Install */\n Install = \"Install\",\n /** Uninstall */\n Uninstall = \"Uninstall\",\n}\n\n/**\n * Install/Uninstall action. \\\n * {@link KnownAction} can be used interchangeably with Action,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Install** \\\n * **Uninstall**\n */\nexport type Action = string;\n\n/** Response of a list VM Host Operation. */\nexport interface _VMHostsListResponse {\n /** The VMInfo items on this page */\n value: VMInfo[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _vmHostsListResponseDeserializer(item: any): _VMHostsListResponse {\n return {\n value: vmInfoArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function vmInfoArrayDeserializer(result: Array<VMInfo>): any[] {\n return result.map((item) => {\n return vmInfoDeserializer(item);\n });\n}\n\n/** Details of VM Resource having Dynatrace OneAgent installed */\nexport interface VMInfo {\n /** Azure VM resource ID */\n resourceId?: string;\n /** Version of the Dynatrace agent installed on the VM. */\n version?: string;\n /** The monitoring mode of OneAgent */\n monitoringType?: MonitoringType;\n /** Update settings of OneAgent. */\n autoUpdateSetting?: AutoUpdateSetting;\n /** The current update status of OneAgent. */\n updateStatus?: UpdateStatus;\n /** The availability state of OneAgent. */\n availabilityState?: AvailabilityState;\n /** Tells whether log modules are enabled or not */\n logModule?: LogModule;\n /** The name of the host group */\n hostGroup?: string;\n /** The name of the host */\n hostName?: string;\n}\n\nexport function vmInfoDeserializer(item: any): VMInfo {\n return {\n resourceId: item[\"resourceId\"],\n version: item[\"version\"],\n monitoringType: item[\"monitoringType\"],\n autoUpdateSetting: item[\"autoUpdateSetting\"],\n updateStatus: item[\"updateStatus\"],\n availabilityState: item[\"availabilityState\"],\n logModule: item[\"logModule\"],\n hostGroup: item[\"hostGroup\"],\n hostName: item[\"hostName\"],\n };\n}\n\n/** The monitoring mode of OneAgent */\nexport enum KnownMonitoringType {\n /** CLOUD_INFRASTRUCTURE */\n CloudInfrastructure = \"CLOUD_INFRASTRUCTURE\",\n /** FULL_STACK */\n FullStack = \"FULL_STACK\",\n /** DISCOVERY */\n Discovery = \"DISCOVERY\",\n}\n\n/**\n * The monitoring mode of OneAgent \\\n * {@link KnownMonitoringType} can be used interchangeably with MonitoringType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **CLOUD_INFRASTRUCTURE** \\\n * **FULL_STACK** \\\n * **DISCOVERY**\n */\nexport type MonitoringType = string;\n\n/** Update settings of OneAgent. */\nexport enum KnownAutoUpdateSetting {\n /** ENABLED */\n Enabled = \"ENABLED\",\n /** DISABLED */\n Disabled = \"DISABLED\",\n}\n\n/**\n * Update settings of OneAgent. \\\n * {@link KnownAutoUpdateSetting} can be used interchangeably with AutoUpdateSetting,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ENABLED** \\\n * **DISABLED**\n */\nexport type AutoUpdateSetting = string;\n\n/** The current update status of OneAgent. */\nexport enum KnownUpdateStatus {\n /** INCOMPATIBLE */\n Incompatible = \"INCOMPATIBLE\",\n /** OUTDATED */\n Outdated = \"OUTDATED\",\n /** SCHEDULED */\n Scheduled = \"SCHEDULED\",\n /** SUPPRESSED */\n Suppressed = \"SUPPRESSED\",\n /** UNKNOWN */\n Unknown = \"UNKNOWN\",\n /** UP2DATE */\n UP2Date = \"UP2DATE\",\n /** UPDATE_IN_PROGRESS */\n UpdateINProgress = \"UPDATE_IN_PROGRESS\",\n /** UPDATE_PENDING */\n UpdatePending = \"UPDATE_PENDING\",\n /** UPDATE_PROBLEM */\n UpdateProblem = \"UPDATE_PROBLEM\",\n}\n\n/**\n * The current update status of OneAgent. \\\n * {@link KnownUpdateStatus} can be used interchangeably with UpdateStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **INCOMPATIBLE** \\\n * **OUTDATED** \\\n * **SCHEDULED** \\\n * **SUPPRESSED** \\\n * **UNKNOWN** \\\n * **UP2DATE** \\\n * **UPDATE_IN_PROGRESS** \\\n * **UPDATE_PENDING** \\\n * **UPDATE_PROBLEM**\n */\nexport type UpdateStatus = string;\n\n/** The availability state of OneAgent. */\nexport enum KnownAvailabilityState {\n /** CRASHED */\n Crashed = \"CRASHED\",\n /** LOST */\n Lost = \"LOST\",\n /** MONITORED */\n Monitored = \"MONITORED\",\n /** PRE_MONITORED */\n PREMonitored = \"PRE_MONITORED\",\n /** SHUTDOWN */\n Shutdown = \"SHUTDOWN\",\n /** UNEXPECTED_SHUTDOWN */\n UnexpectedShutdown = \"UNEXPECTED_SHUTDOWN\",\n /** UNKNOWN */\n Unknown = \"UNKNOWN\",\n /** UNMONITORED */\n Unmonitored = \"UNMONITORED\",\n}\n\n/**\n * The availability state of OneAgent. \\\n * {@link KnownAvailabilityState} can be used interchangeably with AvailabilityState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **CRASHED** \\\n * **LOST** \\\n * **MONITORED** \\\n * **PRE_MONITORED** \\\n * **SHUTDOWN** \\\n * **UNEXPECTED_SHUTDOWN** \\\n * **UNKNOWN** \\\n * **UNMONITORED**\n */\nexport type AvailabilityState = string;\n\n/** Tells whether log modules are enabled or not */\nexport enum KnownLogModule {\n /** ENABLED */\n Enabled = \"ENABLED\",\n /** DISABLED */\n Disabled = \"DISABLED\",\n}\n\n/**\n * Tells whether log modules are enabled or not \\\n * {@link KnownLogModule} can be used interchangeably with LogModule,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ENABLED** \\\n * **DISABLED**\n */\nexport type LogModule = string;\n\n/** Request for getting metric status for given monitored resource Ids */\nexport interface MetricStatusRequest {\n /** List of azure resource Id of monitored resources for which we get the metric status */\n monitoredResourceIds?: string[];\n}\n\nexport function metricStatusRequestSerializer(item: MetricStatusRequest): any {\n return {\n monitoredResourceIds: !item[\"monitoredResourceIds\"]\n ? item[\"monitoredResourceIds\"]\n : item[\"monitoredResourceIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Response of get metrics status operation */\nexport interface MetricsStatusResponse {\n /** Azure resource IDs */\n azureResourceIds?: string[];\n}\n\nexport function metricsStatusResponseDeserializer(item: any): MetricsStatusResponse {\n return {\n azureResourceIds: !item[\"azureResourceIds\"]\n ? item[\"azureResourceIds\"]\n : item[\"azureResourceIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Response of a list App Services Operation. */\nexport interface _AppServiceListResponse {\n /** The AppServiceInfo items on this page */\n value: AppServiceInfo[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _appServiceListResponseDeserializer(item: any): _AppServiceListResponse {\n return {\n value: appServiceInfoArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function appServiceInfoArrayDeserializer(result: Array<AppServiceInfo>): any[] {\n return result.map((item) => {\n return appServiceInfoDeserializer(item);\n });\n}\n\n/** Details of App Services having Dynatrace OneAgent installed */\nexport interface AppServiceInfo {\n /** App service resource ID */\n resourceId?: string;\n /** Version of the Dynatrace agent installed on the App Service. */\n version?: string;\n /** The monitoring mode of OneAgent */\n monitoringType?: MonitoringType;\n /** Update settings of OneAgent. */\n autoUpdateSetting?: AutoUpdateSetting;\n /** The current update status of OneAgent. */\n updateStatus?: UpdateStatus;\n /** The availability state of OneAgent. */\n availabilityState?: AvailabilityState;\n /** Tells whether log modules are enabled or not */\n logModule?: LogModule;\n /** The name of the host group */\n hostGroup?: string;\n /** The name of the host */\n hostName?: string;\n}\n\nexport function appServiceInfoDeserializer(item: any): AppServiceInfo {\n return {\n resourceId: item[\"resourceId\"],\n version: item[\"version\"],\n monitoringType: item[\"monitoringType\"],\n autoUpdateSetting: item[\"autoUpdateSetting\"],\n updateStatus: item[\"updateStatus\"],\n availabilityState: item[\"availabilityState\"],\n logModule: item[\"logModule\"],\n hostGroup: item[\"hostGroup\"],\n hostName: item[\"hostName\"],\n };\n}\n\n/** The billing plan properties for the upgrade plan call. */\nexport interface UpgradePlanRequest {\n /** The new Billing plan information. */\n planData?: PlanData;\n}\n\nexport function upgradePlanRequestSerializer(item: UpgradePlanRequest): any {\n return { planData: !item[\"planData\"] ? item[\"planData\"] : planDataSerializer(item[\"planData\"]) };\n}\n\n/** Request for getting sso details for a user */\nexport interface SSODetailsRequest {\n /** user principal id of the user */\n userPrincipal: string;\n}\n\nexport function ssoDetailsRequestSerializer(item: SSODetailsRequest): any {\n return { userPrincipal: item[\"userPrincipal\"] };\n}\n\n/** SSO details from the Dynatrace partner */\nexport interface SSODetailsResponse {\n /** Whether the SSO is enabled for this resource or not. */\n isSsoEnabled?: SSOStatus;\n /** URL for Azure AD metadata */\n metadataUrl?: string;\n /** The login URL specific to this Dynatrace Environment */\n singleSignOnUrl?: string;\n /** array of Aad(azure active directory) domains */\n aadDomains?: string[];\n /** Array of admin user emails. */\n adminUsers?: string[];\n}\n\nexport function ssoDetailsResponseDeserializer(item: any): SSODetailsResponse {\n return {\n isSsoEnabled: item[\"isSsoEnabled\"],\n metadataUrl: item[\"metadataUrl\"],\n singleSignOnUrl: item[\"singleSignOnUrl\"],\n aadDomains: !item[\"aadDomains\"]\n ? item[\"aadDomains\"]\n : item[\"aadDomains\"].map((p: any) => {\n return p;\n }),\n adminUsers: !item[\"adminUsers\"]\n ? item[\"adminUsers\"]\n : item[\"adminUsers\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Indicates whether SSO is enabled or not */\nexport enum KnownSSOStatus {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\",\n}\n\n/**\n * Indicates whether SSO is enabled or not \\\n * {@link KnownSSOStatus} can be used interchangeably with SSOStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type SSOStatus = string;\n\n/** Request for getting all the linkable environments for a user */\nexport interface LinkableEnvironmentRequest {\n /** Tenant Id of the user in which they want to link the environment */\n tenantId: string;\n /** user principal id of the user */\n userPrincipal: string;\n /** Azure region in which we want to link the environment */\n region: string;\n}\n\nexport function linkableEnvironmentRequestSerializer(item: LinkableEnvironmentRequest): any {\n return {\n tenantId: item[\"tenantId\"],\n userPrincipal: item[\"userPrincipal\"],\n region: item[\"region\"],\n };\n}\n\n/** Response for getting all the linkable environments */\nexport interface _LinkableEnvironmentListResponse {\n /** The LinkableEnvironmentResponse items on this page */\n value: LinkableEnvironmentResponse[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _linkableEnvironmentListResponseDeserializer(\n item: any,\n): _LinkableEnvironmentListResponse {\n return {\n value: linkableEnvironmentResponseArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function linkableEnvironmentResponseArrayDeserializer(\n result: Array<LinkableEnvironmentResponse>,\n): any[] {\n return result.map((item) => {\n return linkableEnvironmentResponseDeserializer(item);\n });\n}\n\n/** Response for getting all the linkable environments */\nexport interface LinkableEnvironmentResponse {\n /** environment id for which user is an admin */\n environmentId?: string;\n /** Name of the environment */\n environmentName?: string;\n /** Billing plan information. */\n planData?: PlanData;\n}\n\nexport function linkableEnvironmentResponseDeserializer(item: any): LinkableEnvironmentResponse {\n return {\n environmentId: item[\"environmentId\"],\n environmentName: item[\"environmentName\"],\n planData: !item[\"planData\"] ? item[\"planData\"] : planDataDeserializer(item[\"planData\"]),\n };\n}\n\n/** Request for getting connected resources count for a Marketplace Subscription Id */\nexport interface MarketplaceSubscriptionIdRequest {\n /** Marketplace Subscription Id */\n marketplaceSubscriptionId: string;\n}\n\nexport function marketplaceSubscriptionIdRequestSerializer(\n item: MarketplaceSubscriptionIdRequest,\n): any {\n return { marketplaceSubscriptionId: item[\"marketplaceSubscriptionId\"] };\n}\n\n/** Response for getting Connected resources for a MP SaaS Resource */\nexport interface ConnectedResourcesCountResponse {\n /** Count of the connected resources */\n connectedResourcesCount?: number;\n}\n\nexport function connectedResourcesCountResponseDeserializer(\n item: any,\n): ConnectedResourcesCountResponse {\n return {\n connectedResourcesCount: item[\"connectedResourcesCount\"],\n };\n}\n\n/** Request for getting Marketplace SaaS resource details for a tenant Id */\nexport interface MarketplaceSaaSResourceDetailsRequest {\n /** Tenant Id */\n tenantId: string;\n}\n\nexport function marketplaceSaaSResourceDetailsRequestSerializer(\n item: MarketplaceSaaSResourceDetailsRequest,\n): any {\n return { tenantId: item[\"tenantId\"] };\n}\n\n/** Marketplace SaaS resource details linked to the given tenant Id */\nexport interface MarketplaceSaaSResourceDetailsResponse {\n /** Id of the Marketplace SaaS Resource */\n marketplaceSaaSResourceId?: string;\n /** Id of the plan */\n planId?: string;\n /** Marketplace subscription status */\n marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus;\n /** Name of the Marketplace SaaS Resource */\n marketplaceSaaSResourceName?: string;\n}\n\nexport function marketplaceSaaSResourceDetailsResponseDeserializer(\n item: any,\n): MarketplaceSaaSResourceDetailsResponse {\n return {\n marketplaceSaaSResourceId: item[\"marketplaceSaaSResourceId\"],\n planId: item[\"planId\"],\n marketplaceSubscriptionStatus: item[\"marketplaceSubscriptionStatus\"],\n marketplaceSaaSResourceName: item[\"marketplaceSaaSResourceName\"],\n };\n}\n\n/** Single sign-on configurations for a given monitor resource. */\nexport interface DynatraceSingleSignOnResource extends ProxyResource {\n /** State of Single Sign On */\n singleSignOnState?: SingleSignOnStates;\n /** Version of the Dynatrace agent installed on the VM. */\n enterpriseAppId?: string;\n /** The login URL specific to this Dynatrace Environment */\n singleSignOnUrl?: string;\n /** array of Aad(azure active directory) domains */\n aadDomains?: string[];\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function dynatraceSingleSignOnResourceSerializer(item: DynatraceSingleSignOnResource): any {\n return { properties: _dynatraceSingleSignOnResourcePropertiesSerializer(item) };\n}\n\nexport function dynatraceSingleSignOnResourceDeserializer(\n item: any,\n): DynatraceSingleSignOnResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ..._dynatraceSingleSignOnResourcePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The response of a DynatraceSingleSignOnResource list operation. */\nexport interface _DynatraceSingleSignOnResourceListResult {\n /** The DynatraceSingleSignOnResource items on this page */\n value: DynatraceSingleSignOnResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _dynatraceSingleSignOnResourceListResultDeserializer(\n item: any,\n): _DynatraceSingleSignOnResourceListResult {\n return {\n value: dynatraceSingleSignOnResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function dynatraceSingleSignOnResourceArraySerializer(\n result: Array<DynatraceSingleSignOnResource>,\n): any[] {\n return result.map((item) => {\n return dynatraceSingleSignOnResourceSerializer(item);\n });\n}\n\nexport function dynatraceSingleSignOnResourceArrayDeserializer(\n result: Array<DynatraceSingleSignOnResource>,\n): any[] {\n return result.map((item) => {\n return dynatraceSingleSignOnResourceDeserializer(item);\n });\n}\n\n/** Dynatrace resource can be created or not. */\nexport interface CreateResourceSupportedResponse {\n /** Represents the properties of the resource. */\n value?: CreateResourceSupportedProperties[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function createResourceSupportedResponseDeserializer(\n item: any,\n): CreateResourceSupportedResponse {\n return {\n value: !item[\"value\"]\n ? item[\"value\"]\n : createResourceSupportedPropertiesArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function createResourceSupportedPropertiesArrayDeserializer(\n result: Array<CreateResourceSupportedProperties>,\n): any[] {\n return result.map((item) => {\n return createResourceSupportedPropertiesDeserializer(item);\n });\n}\n\n/** Properties related to the support for creating Dynatrace resources. */\nexport interface CreateResourceSupportedProperties {\n /** The ARM id of the subscription. */\n readonly name?: string;\n /** Indicates if selected subscription supports Dynatrace resource creation, if not it is already being monitored for the selected organization via multi subscription feature. */\n readonly creationSupported?: boolean;\n}\n\nexport function createResourceSupportedPropertiesDeserializer(\n item: any,\n): CreateResourceSupportedProperties {\n return {\n name: item[\"name\"],\n creationSupported: item[\"creationSupported\"],\n };\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2024-04-24 API version. */\n V20240424 = \"2024-04-24\",\n}\n\nexport function _tagRulePropertiesSerializer(item: TagRule): any {\n return {\n logRules: !item[\"logRules\"] ? item[\"logRules\"] : logRulesSerializer(item[\"logRules\"]),\n metricRules: !item[\"metricRules\"]\n ? item[\"metricRules\"]\n : metricRulesSerializer(item[\"metricRules\"]),\n };\n}\n\nexport function _tagRulePropertiesDeserializer(item: any) {\n return {\n logRules: !item[\"logRules\"] ? item[\"logRules\"] : logRulesDeserializer(item[\"logRules\"]),\n metricRules: !item[\"metricRules\"]\n ? item[\"metricRules\"]\n : metricRulesDeserializer(item[\"metricRules\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\nexport function _monitorResourcePropertiesSerializer(item: MonitorResource): any {\n return {\n monitoringStatus: item[\"monitoringStatus\"],\n marketplaceSubscriptionStatus: item[\"marketplaceSubscriptionStatus\"],\n marketplaceSaasAutoRenew: item[\"marketplaceSaasAutoRenew\"],\n dynatraceEnvironmentProperties: !item[\"dynatraceEnvironmentProperties\"]\n ? item[\"dynatraceEnvironmentProperties\"]\n : dynatraceEnvironmentPropertiesSerializer(item[\"dynatraceEnvironmentProperties\"]),\n userInfo: !item[\"userInfo\"] ? item[\"userInfo\"] : userInfoSerializer(item[\"userInfo\"]),\n planData: !item[\"planData\"] ? item[\"planData\"] : planDataSerializer(item[\"planData\"]),\n };\n}\n\nexport function _monitorResourcePropertiesDeserializer(item: any) {\n return {\n monitoringStatus: item[\"monitoringStatus\"],\n marketplaceSubscriptionStatus: item[\"marketplaceSubscriptionStatus\"],\n marketplaceSaasAutoRenew: item[\"marketplaceSaasAutoRenew\"],\n dynatraceEnvironmentProperties: !item[\"dynatraceEnvironmentProperties\"]\n ? item[\"dynatraceEnvironmentProperties\"]\n : dynatraceEnvironmentPropertiesDeserializer(item[\"dynatraceEnvironmentProperties\"]),\n userInfo: !item[\"userInfo\"] ? item[\"userInfo\"] : userInfoDeserializer(item[\"userInfo\"]),\n planData: !item[\"planData\"] ? item[\"planData\"] : planDataDeserializer(item[\"planData\"]),\n liftrResourceCategory: item[\"liftrResourceCategory\"],\n liftrResourcePreference: item[\"liftrResourcePreference\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\nexport function _dynatraceSingleSignOnResourcePropertiesSerializer(\n item: DynatraceSingleSignOnResource,\n): any {\n return {\n singleSignOnState: item[\"singleSignOnState\"],\n enterpriseAppId: item[\"enterpriseAppId\"],\n singleSignOnUrl: item[\"singleSignOnUrl\"],\n aadDomains: !item[\"aadDomains\"]\n ? item[\"aadDomains\"]\n : item[\"aadDomains\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function _dynatraceSingleSignOnResourcePropertiesDeserializer(item: any) {\n return {\n singleSignOnState: item[\"singleSignOnState\"],\n enterpriseAppId: item[\"enterpriseAppId\"],\n singleSignOnUrl: item[\"singleSignOnUrl\"],\n aadDomains: !item[\"aadDomains\"]\n ? item[\"aadDomains\"]\n : item[\"aadDomains\"].map((p: any) => {\n return p;\n }),\n provisioningState: item[\"provisioningState\"],\n };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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gCAAgC,IACrC,2CAA2C,KAAK,gCAAgC,CAAC;AAAA,IACrF,UAAU,CAAC,KAAK,UAAU,IAAI,KAAK,UAAU,IAAI,qBAAqB,KAAK,UAAU,CAAC;AAAA,IACtF,UAAU,CAAC,KAAK,UAAU,IAAI,KAAK,UAAU,IAAI,qBAAqB,KAAK,UAAU,CAAC;AAAA,IACtF,uBAAuB,KAAK,uBAAuB;AAAA,IACnD,yBAAyB,KAAK,yBAAyB;AAAA,IACvD,mBAAmB,KAAK,mBAAmB;AAAA,EAC7C;AACF;AAEO,SAAS,mDACd,MACK;AACL,SAAO;AAAA,IACL,mBAAmB,KAAK,mBAAmB;AAAA,IAC3C,iBAAiB,KAAK,iBAAiB;AAAA,IACvC,iBAAiB,KAAK,iBAAiB;AAAA,IACvC,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,KAAK,YAAY,EAAE,IAAI,CAAC,MAAW;AACjC,aAAO;AAAA,IACT,CAAC;AAAA,EACP;AACF;AAEO,SAAS,qDAAqD,MAAW;AAC9E,SAAO;AAAA,IACL,mBAAmB,KAAK,mBAAmB;AAAA,IAC3C,iBAAiB,KAAK,iBAAiB;AAAA,IACvC,iBAAiB,KAAK,iBAAiB;AAAA,IACvC,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,KAAK,YAAY,EAAE,IAAI,CAAC,MAAW;AACjC,aAAO;AAAA,IACT,CAAC;AAAA,IACL,mBAAmB,KAAK,mBAAmB;AAAA,EAC7C;AACF;",
6
+ "names": ["KnownOrigin", "KnownActionType", "KnownSubscriptionListOperation", "KnownStatus", "KnownSendAadLogsStatus", "KnownSendSubscriptionLogsStatus", "KnownSendActivityLogsStatus", "KnownTagAction", "KnownSendingMetricsStatus", "KnownProvisioningState", "KnownCreatedByType", "KnownMonitoringStatus", "KnownMarketplaceSubscriptionStatus", "KnownMarketplaceSaasAutoRenew", "KnownSingleSignOnStates", "KnownLiftrResourceCategories", "KnownManagedIdentityType", "KnownManagedServiceIdentityType", "KnownSendingLogsStatus", "KnownAction", "KnownMonitoringType", "KnownAutoUpdateSetting", "KnownUpdateStatus", "KnownAvailabilityState", "KnownLogModule", "KnownSSOStatus", "KnownVersions"]
7
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -0,0 +1,21 @@
1
+ import type { DynatraceObservability } from "./dynatraceObservability.js";
2
+ import type { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
3
+ import type { AbortSignalLike } from "@azure/abort-controller";
4
+ import type { PollerLike, OperationState } from "@azure/core-lro";
5
+ export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
6
+ /** Delay to wait until next poll, in milliseconds. */
7
+ updateIntervalInMs?: number;
8
+ /**
9
+ * The signal which can be used to abort requests.
10
+ */
11
+ abortSignal?: AbortSignalLike;
12
+ /** Deserialization function for raw response body */
13
+ processResponseBody?: (result: TResponse) => Promise<TResult>;
14
+ }
15
+ /**
16
+ * Creates a poller from the serialized state of another poller. This can be
17
+ * useful when you want to create pollers on a different host or a poller
18
+ * needs to be constructed after the original one is not in scope.
19
+ */
20
+ export declare function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: DynatraceObservability, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
21
+ //# sourceMappingURL=restorePollerHelpers.d.ts.map
@@ -0,0 +1,124 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var restorePollerHelpers_exports = {};
19
+ __export(restorePollerHelpers_exports, {
20
+ restorePoller: () => restorePoller
21
+ });
22
+ module.exports = __toCommonJS(restorePollerHelpers_exports);
23
+ var import_operations = require("./api/singleSignOn/operations.js");
24
+ var import_operations2 = require("./api/monitors/operations.js");
25
+ var import_operations3 = require("./api/tagRules/operations.js");
26
+ var import_operations4 = require("./api/monitoredSubscriptions/operations.js");
27
+ var import_pollingHelpers = require("./static-helpers/pollingHelpers.js");
28
+ var import_core_lro = require("@azure/core-lro");
29
+ function restorePoller(client, serializedState, sourceOperation, options) {
30
+ const pollerConfig = (0, import_core_lro.deserializeState)(serializedState).config;
31
+ const { initialRequestUrl, requestMethod, metadata } = pollerConfig;
32
+ if (!initialRequestUrl || !requestMethod) {
33
+ throw new Error(
34
+ `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`
35
+ );
36
+ }
37
+ const resourceLocationConfig = metadata?.["resourceLocationConfig"];
38
+ const { deserializer, expectedStatuses = [] } = getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};
39
+ const deserializeHelper = options?.processResponseBody ?? deserializer;
40
+ if (!deserializeHelper) {
41
+ throw new Error(
42
+ `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`
43
+ );
44
+ }
45
+ const apiVersion = getApiVersionFromUrl(initialRequestUrl);
46
+ return (0, import_pollingHelpers.getLongRunningPoller)(
47
+ client["_client"] ?? client,
48
+ deserializeHelper,
49
+ expectedStatuses,
50
+ {
51
+ updateIntervalInMs: options?.updateIntervalInMs,
52
+ abortSignal: options?.abortSignal,
53
+ resourceLocationConfig,
54
+ restoreFrom: serializedState,
55
+ initialRequestUrl,
56
+ apiVersion
57
+ }
58
+ );
59
+ }
60
+ const deserializeMap = {
61
+ "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}": { deserializer: import_operations._createOrUpdateDeserialize, expectedStatuses: ["200", "201", "202"] },
62
+ "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/upgradePlan": { deserializer: import_operations2._upgradePlanDeserialize, expectedStatuses: ["202", "200", "201"] },
63
+ "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}": { deserializer: import_operations2._$deleteDeserialize, expectedStatuses: ["202", "204", "200"] },
64
+ "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}": { deserializer: import_operations2._createOrUpdateDeserialize, expectedStatuses: ["200", "201", "202"] },
65
+ "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}": { deserializer: import_operations3._$deleteDeserialize, expectedStatuses: ["202", "204", "200"] },
66
+ "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}": { deserializer: import_operations3._createOrUpdateDeserialize, expectedStatuses: ["200", "201", "202"] },
67
+ "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default": {
68
+ deserializer: import_operations4._$deleteDeserialize,
69
+ expectedStatuses: ["202", "204", "200"]
70
+ },
71
+ "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default": { deserializer: import_operations4._updateDeserialize, expectedStatuses: ["200", "202", "201"] },
72
+ "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default": {
73
+ deserializer: import_operations4._createOrUpdateDeserialize,
74
+ expectedStatuses: ["200", "201", "202"]
75
+ }
76
+ };
77
+ function getDeserializationHelper(urlStr, method) {
78
+ const path = new URL(urlStr).pathname;
79
+ const pathParts = path.split("/");
80
+ let matchedLen = -1, matchedValue;
81
+ for (const [key, value] of Object.entries(deserializeMap)) {
82
+ if (!key.startsWith(method)) {
83
+ continue;
84
+ }
85
+ const candidatePath = getPathFromMapKey(key);
86
+ const candidateParts = candidatePath.split("/");
87
+ let found = true;
88
+ for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
89
+ if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) {
90
+ const start = candidateParts[i].indexOf("}") + 1, end = candidateParts[i]?.length;
91
+ const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(
92
+ pathParts[j] || ""
93
+ );
94
+ if (!isMatched) {
95
+ found = false;
96
+ break;
97
+ }
98
+ continue;
99
+ }
100
+ if (candidateParts[i] !== pathParts[j]) {
101
+ found = false;
102
+ break;
103
+ }
104
+ }
105
+ if (found && candidatePath.length > matchedLen) {
106
+ matchedLen = candidatePath.length;
107
+ matchedValue = value;
108
+ }
109
+ }
110
+ return matchedValue;
111
+ }
112
+ function getPathFromMapKey(mapKey) {
113
+ const pathStart = mapKey.indexOf("/");
114
+ return mapKey.slice(pathStart);
115
+ }
116
+ function getApiVersionFromUrl(urlStr) {
117
+ const url = new URL(urlStr);
118
+ return url.searchParams.get("api-version") ?? void 0;
119
+ }
120
+ // Annotate the CommonJS export names for ESM import in node:
121
+ 0 && (module.exports = {
122
+ restorePoller
123
+ });
124
+ //# sourceMappingURL=restorePollerHelpers.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/restorePollerHelpers.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { DynatraceObservability } from \"./dynatraceObservability.js\";\nimport { _createOrUpdateDeserialize } from \"./api/singleSignOn/operations.js\";\nimport {\n _upgradePlanDeserialize,\n _$deleteDeserialize,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeMonitors,\n} from \"./api/monitors/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializeTagRules,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeTagRules,\n} from \"./api/tagRules/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializeMonitoredSubscriptions,\n _updateDeserialize,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeMonitoredSubscriptions,\n} from \"./api/monitoredSubscriptions/operations.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport type { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { PollerLike, OperationState, ResourceLocationConfig } from \"@azure/core-lro\";\nimport { deserializeState } from \"@azure/core-lro\";\n\nexport interface RestorePollerOptions<\n TResult,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n> extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /** Deserialization function for raw response body */\n processResponseBody?: (result: TResponse) => Promise<TResult>;\n}\n\n/**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n */\nexport function restorePoller<TResponse extends PathUncheckedResponse, TResult>(\n client: DynatraceObservability,\n serializedState: string,\n sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>,\n options?: RestorePollerOptions<TResult>,\n): PollerLike<OperationState<TResult>, TResult> {\n const pollerConfig = deserializeState(serializedState).config;\n const { initialRequestUrl, requestMethod, metadata } = pollerConfig;\n if (!initialRequestUrl || !requestMethod) {\n throw new Error(\n `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`,\n );\n }\n const resourceLocationConfig = metadata?.[\"resourceLocationConfig\"] as\n | ResourceLocationConfig\n | undefined;\n const { deserializer, expectedStatuses = [] } =\n getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};\n const deserializeHelper = options?.processResponseBody ?? deserializer;\n if (!deserializeHelper) {\n throw new Error(\n `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`,\n );\n }\n const apiVersion = getApiVersionFromUrl(initialRequestUrl);\n return getLongRunningPoller(\n (client as any)[\"_client\"] ?? client,\n deserializeHelper as (result: TResponse) => Promise<TResult>,\n expectedStatuses,\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n resourceLocationConfig,\n restoreFrom: serializedState,\n initialRequestUrl,\n apiVersion,\n },\n );\n}\n\ninterface DeserializationHelper {\n deserializer: (result: PathUncheckedResponse) => Promise<any>;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}\":\n { deserializer: _createOrUpdateDeserialize, expectedStatuses: [\"200\", \"201\", \"202\"] },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/upgradePlan\":\n { deserializer: _upgradePlanDeserialize, expectedStatuses: [\"202\", \"200\", \"201\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}\":\n { deserializer: _$deleteDeserialize, expectedStatuses: [\"202\", \"204\", \"200\"] },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}\":\n { deserializer: _createOrUpdateDeserializeMonitors, expectedStatuses: [\"200\", \"201\", \"202\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}\":\n { deserializer: _$deleteDeserializeTagRules, expectedStatuses: [\"202\", \"204\", \"200\"] },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}\":\n { deserializer: _createOrUpdateDeserializeTagRules, expectedStatuses: [\"200\", \"201\", \"202\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default\":\n {\n deserializer: _$deleteDeserializeMonitoredSubscriptions,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default\":\n { deserializer: _updateDeserialize, expectedStatuses: [\"200\", \"202\", \"201\"] },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default\":\n {\n deserializer: _createOrUpdateDeserializeMonitoredSubscriptions,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n};\n\nfunction getDeserializationHelper(\n urlStr: string,\n method: string,\n): DeserializationHelper | undefined {\n const path = new URL(urlStr).pathname;\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: DeserializationHelper | undefined;\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(deserializeMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n\nfunction getApiVersionFromUrl(urlStr: string): string | undefined {\n const url = new URL(urlStr);\n return url.searchParams.get(\"api-version\") ?? undefined;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAA2C;AAC3C,IAAAA,qBAIO;AACP,IAAAA,qBAGO;AACP,IAAAA,qBAIO;AACP,4BAAqC;AAIrC,sBAAiC;AAqB1B,SAAS,cACd,QACA,iBACA,iBACA,SAC8C;AAC9C,QAAM,mBAAe,kCAAiB,eAAe,EAAE;AACvD,QAAM,EAAE,mBAAmB,eAAe,SAAS,IAAI;AACvD,MAAI,CAAC,qBAAqB,CAAC,eAAe;AACxC,UAAM,IAAI;AAAA,MACR,6BAA6B,eAAe,wBAAwB,iBAAiB,IAAI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,QAAoC;AAChE,QAAM,MAAM,IAAI,IAAI,MAAM;AAC1B,SAAO,IAAI,aAAa,IAAI,aAAa,KAAK;AAChD;",
6
+ "names": ["import_operations", "_createOrUpdateDeserializeMonitors", "_$deleteDeserializeTagRules", "_createOrUpdateDeserializeTagRules", "_$deleteDeserializeMonitoredSubscriptions", "_createOrUpdateDeserializeMonitoredSubscriptions"]
7
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * An enum to describe Azure Cloud environments.
3
+ * @enum {string}
4
+ */
5
+ export declare enum AzureClouds {
6
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
7
+ AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
8
+ /** Azure China cloud */
9
+ AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
10
+ /** Azure US government cloud */
11
+ AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
12
+ }
13
+ /** The supported values for cloud setting as a string literal type */
14
+ export type AzureSupportedClouds = `${AzureClouds}`;
15
+ /**
16
+ * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
17
+ * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
18
+ * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
19
+ * @throws {Error} Throws an error if an unknown cloud setting is provided.
20
+ */
21
+ export declare function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined;
22
+ //# sourceMappingURL=cloudSettingHelpers.d.ts.map
@@ -0,0 +1,52 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var cloudSettingHelpers_exports = {};
19
+ __export(cloudSettingHelpers_exports, {
20
+ AzureClouds: () => AzureClouds,
21
+ getArmEndpoint: () => getArmEndpoint
22
+ });
23
+ module.exports = __toCommonJS(cloudSettingHelpers_exports);
24
+ var AzureClouds = /* @__PURE__ */ ((AzureClouds2) => {
25
+ AzureClouds2["AZURE_PUBLIC_CLOUD"] = "AZURE_PUBLIC_CLOUD";
26
+ AzureClouds2["AZURE_CHINA_CLOUD"] = "AZURE_CHINA_CLOUD";
27
+ AzureClouds2["AZURE_US_GOVERNMENT"] = "AZURE_US_GOVERNMENT";
28
+ return AzureClouds2;
29
+ })(AzureClouds || {});
30
+ function getArmEndpoint(cloudSetting) {
31
+ if (cloudSetting === void 0) {
32
+ return void 0;
33
+ }
34
+ const cloudEndpoints = {
35
+ AZURE_CHINA_CLOUD: "https://management.chinacloudapi.cn/",
36
+ AZURE_US_GOVERNMENT: "https://management.usgovcloudapi.net/",
37
+ AZURE_PUBLIC_CLOUD: "https://management.azure.com/"
38
+ };
39
+ if (cloudSetting in cloudEndpoints) {
40
+ return cloudEndpoints[cloudSetting];
41
+ } else {
42
+ throw new Error(
43
+ `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`
44
+ );
45
+ }
46
+ }
47
+ // Annotate the CommonJS export names for ESM import in node:
48
+ 0 && (module.exports = {
49
+ AzureClouds,
50
+ getArmEndpoint
51
+ });
52
+ //# sourceMappingURL=cloudSettingHelpers.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/static-helpers/cloudSettingHelpers.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * An enum to describe Azure Cloud environments.\n * @enum {string}\n */\nexport enum AzureClouds {\n /** Azure public cloud, which is the default cloud for Azure SDKs. */\n AZURE_PUBLIC_CLOUD = \"AZURE_PUBLIC_CLOUD\",\n /** Azure China cloud */\n AZURE_CHINA_CLOUD = \"AZURE_CHINA_CLOUD\",\n /** Azure US government cloud */\n AZURE_US_GOVERNMENT = \"AZURE_US_GOVERNMENT\",\n}\n\n/** The supported values for cloud setting as a string literal type */\nexport type AzureSupportedClouds = `${AzureClouds}`;\n\n/**\n * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.\n * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.\n * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.\n * @throws {Error} Throws an error if an unknown cloud setting is provided.\n */\nexport function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined {\n if (cloudSetting === undefined) {\n return undefined;\n }\n const cloudEndpoints: Record<keyof typeof AzureClouds, string> = {\n AZURE_CHINA_CLOUD: \"https://management.chinacloudapi.cn/\",\n AZURE_US_GOVERNMENT: \"https://management.usgovcloudapi.net/\",\n AZURE_PUBLIC_CLOUD: \"https://management.azure.com/\",\n };\n if (cloudSetting in cloudEndpoints) {\n return cloudEndpoints[cloudSetting];\n } else {\n throw new Error(\n `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`,\n );\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOO,IAAK,cAAL,kBAAKA,iBAAL;AAEL,EAAAA,aAAA,wBAAqB;AAErB,EAAAA,aAAA,uBAAoB;AAEpB,EAAAA,aAAA,yBAAsB;AANZ,SAAAA;AAAA,GAAA;AAkBL,SAAS,eAAe,cAAyD;AACtF,MAAI,iBAAiB,QAAW;AAC9B,WAAO;AAAA,EACT;AACA,QAAM,iBAA2D;AAAA,IAC/D,mBAAmB;AAAA,IACnB,qBAAqB;AAAA,IACrB,oBAAoB;AAAA,EACtB;AACA,MAAI,gBAAgB,gBAAgB;AAClC,WAAO,eAAe,YAAY;AAAA,EACpC,OAAO;AACL,UAAM,IAAI;AAAA,MACR,0BAA0B,YAAY;AAAA,IACxC;AAAA,EACF;AACF;",
6
+ "names": ["AzureClouds"]
7
+ }
@@ -0,0 +1,74 @@
1
+ import type { Client, PathUncheckedResponse } from "@azure-rest/core-client";
2
+ /**
3
+ * Options for the byPage method
4
+ */
5
+ export interface PageSettings {
6
+ /**
7
+ * A reference to a specific page to start iterating from.
8
+ */
9
+ continuationToken?: string;
10
+ }
11
+ /**
12
+ * An interface that describes a page of results.
13
+ */
14
+ export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
15
+ /**
16
+ * The token that keeps track of where to continue the iterator
17
+ */
18
+ continuationToken?: string;
19
+ };
20
+ /**
21
+ * An interface that allows async iterable iteration both to completion and by page.
22
+ */
23
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
24
+ /**
25
+ * The next method, part of the iteration protocol
26
+ */
27
+ next(): Promise<IteratorResult<TElement>>;
28
+ /**
29
+ * The connection to the async iterator, part of the iteration protocol
30
+ */
31
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
32
+ /**
33
+ * Return an AsyncIterableIterator that works a page at a time
34
+ */
35
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
36
+ }
37
+ /**
38
+ * An interface that describes how to communicate with the service.
39
+ */
40
+ export interface PagedResult<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
41
+ /**
42
+ * Link to the first page of results.
43
+ */
44
+ firstPageLink?: string;
45
+ /**
46
+ * A method that returns a page of results.
47
+ */
48
+ getPage: (pageLink?: string) => Promise<{
49
+ page: TPage;
50
+ nextPageLink?: string;
51
+ } | undefined>;
52
+ /**
53
+ * a function to implement the `byPage` method on the paged async iterator.
54
+ */
55
+ byPage?: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
56
+ /**
57
+ * A function to extract elements from a page.
58
+ */
59
+ toElements?: (page: TPage) => TElement[];
60
+ }
61
+ /**
62
+ * Options for the paging helper
63
+ */
64
+ export interface BuildPagedAsyncIteratorOptions {
65
+ itemName?: string;
66
+ nextLinkName?: string;
67
+ nextLinkMethod?: "GET" | "POST";
68
+ apiVersion?: string;
69
+ }
70
+ /**
71
+ * Helper to paginate results in a generic way and return a PagedAsyncIterableIterator
72
+ */
73
+ export declare function buildPagedAsyncIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings, TResponse extends PathUncheckedResponse = PathUncheckedResponse>(client: Client, getInitialResponse: () => PromiseLike<TResponse>, processResponseBody: (result: TResponse) => PromiseLike<unknown>, expectedStatuses: string[], options?: BuildPagedAsyncIteratorOptions): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
74
+ //# sourceMappingURL=pagingHelpers.d.ts.map