@azure/arm-computeschedule 1.1.0-alpha.20250828.1 → 1.2.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 (316) hide show
  1. package/README.md +5 -1
  2. package/dist/browser/api/computeScheduleContext.d.ts +3 -0
  3. package/dist/browser/api/computeScheduleContext.js +4 -3
  4. package/dist/browser/api/computeScheduleContext.js.map +1 -1
  5. package/dist/browser/api/occurrenceExtension/index.d.ts +3 -0
  6. package/dist/browser/api/occurrenceExtension/index.js +4 -0
  7. package/dist/browser/api/occurrenceExtension/index.js.map +1 -0
  8. package/dist/browser/api/occurrenceExtension/operations.d.ts +10 -0
  9. package/dist/browser/api/occurrenceExtension/operations.js +39 -0
  10. package/dist/browser/api/occurrenceExtension/operations.js.map +1 -0
  11. package/dist/browser/api/occurrenceExtension/options.d.ts +5 -0
  12. package/dist/browser/api/occurrenceExtension/options.js +4 -0
  13. package/dist/browser/api/occurrenceExtension/options.js.map +1 -0
  14. package/dist/browser/api/occurrences/index.d.ts +3 -0
  15. package/dist/browser/api/occurrences/index.js +4 -0
  16. package/dist/browser/api/occurrences/index.js.map +1 -0
  17. package/dist/browser/api/occurrences/operations.d.ts +27 -0
  18. package/dist/browser/api/occurrences/operations.js +177 -0
  19. package/dist/browser/api/occurrences/operations.js.map +1 -0
  20. package/dist/browser/api/occurrences/options.d.ts +19 -0
  21. package/dist/browser/api/occurrences/options.js +4 -0
  22. package/dist/browser/api/occurrences/options.js.map +1 -0
  23. package/dist/browser/api/operations/operations.d.ts +1 -1
  24. package/dist/browser/api/operations/operations.js.map +1 -1
  25. package/dist/browser/api/scheduledActionExtension/index.d.ts +3 -0
  26. package/dist/browser/api/scheduledActionExtension/index.js +4 -0
  27. package/dist/browser/api/scheduledActionExtension/index.js.map +1 -0
  28. package/dist/browser/api/scheduledActionExtension/operations.d.ts +10 -0
  29. package/dist/browser/api/scheduledActionExtension/operations.js +39 -0
  30. package/dist/browser/api/scheduledActionExtension/operations.js.map +1 -0
  31. package/dist/browser/api/scheduledActionExtension/options.d.ts +5 -0
  32. package/dist/browser/api/scheduledActionExtension/options.js +4 -0
  33. package/dist/browser/api/scheduledActionExtension/options.js.map +1 -0
  34. package/dist/browser/api/scheduledActions/index.d.ts +2 -2
  35. package/dist/browser/api/scheduledActions/index.js +1 -1
  36. package/dist/browser/api/scheduledActions/index.js.map +1 -1
  37. package/dist/browser/api/scheduledActions/operations.d.ts +65 -2
  38. package/dist/browser/api/scheduledActions/operations.js +488 -1
  39. package/dist/browser/api/scheduledActions/operations.js.map +1 -1
  40. package/dist/browser/api/scheduledActions/options.d.ts +46 -0
  41. package/dist/browser/api/scheduledActions/options.js.map +1 -1
  42. package/dist/browser/classic/index.d.ts +3 -0
  43. package/dist/browser/classic/index.js.map +1 -1
  44. package/dist/browser/classic/occurrenceExtension/index.d.ts +11 -0
  45. package/dist/browser/classic/occurrenceExtension/index.js +14 -0
  46. package/dist/browser/classic/occurrenceExtension/index.js.map +1 -0
  47. package/dist/browser/classic/occurrences/index.d.ts +20 -0
  48. package/dist/browser/classic/occurrences/index.js +18 -0
  49. package/dist/browser/classic/occurrences/index.js.map +1 -0
  50. package/dist/browser/classic/operations/index.d.ts +1 -1
  51. package/dist/browser/classic/operations/index.js.map +1 -1
  52. package/dist/browser/classic/scheduledActionExtension/index.d.ts +11 -0
  53. package/dist/browser/classic/scheduledActionExtension/index.js +14 -0
  54. package/dist/browser/classic/scheduledActionExtension/index.js.map +1 -0
  55. package/dist/browser/classic/scheduledActions/index.d.ts +37 -2
  56. package/dist/browser/classic/scheduledActions/index.js +15 -1
  57. package/dist/browser/classic/scheduledActions/index.js.map +1 -1
  58. package/dist/browser/computeScheduleClient.d.ts +11 -2
  59. package/dist/browser/computeScheduleClient.js +13 -1
  60. package/dist/browser/computeScheduleClient.js.map +1 -1
  61. package/dist/browser/index.d.ts +9 -3
  62. package/dist/browser/index.js +4 -1
  63. package/dist/browser/index.js.map +1 -1
  64. package/dist/browser/models/index.d.ts +1 -1
  65. package/dist/browser/models/index.js +1 -1
  66. package/dist/browser/models/index.js.map +1 -1
  67. package/dist/browser/models/models.d.ts +619 -1
  68. package/dist/browser/models/models.js +581 -0
  69. package/dist/browser/models/models.js.map +1 -1
  70. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  71. package/dist/browser/restorePollerHelpers.js +97 -0
  72. package/dist/browser/restorePollerHelpers.js.map +1 -0
  73. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +13 -0
  74. package/dist/browser/static-helpers/cloudSettingHelpers.js +29 -0
  75. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  76. package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
  77. package/dist/browser/static-helpers/pollingHelpers.js +79 -0
  78. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  79. package/dist/commonjs/api/computeScheduleContext.d.ts +3 -0
  80. package/dist/commonjs/api/computeScheduleContext.js +4 -3
  81. package/dist/commonjs/api/computeScheduleContext.js.map +1 -1
  82. package/dist/commonjs/api/occurrenceExtension/index.d.ts +3 -0
  83. package/dist/commonjs/api/occurrenceExtension/index.js +8 -0
  84. package/dist/commonjs/api/occurrenceExtension/index.js.map +1 -0
  85. package/dist/commonjs/api/occurrenceExtension/operations.d.ts +10 -0
  86. package/dist/commonjs/api/occurrenceExtension/operations.js +44 -0
  87. package/dist/commonjs/api/occurrenceExtension/operations.js.map +1 -0
  88. package/dist/commonjs/api/occurrenceExtension/options.d.ts +5 -0
  89. package/dist/commonjs/api/occurrenceExtension/options.js +5 -0
  90. package/dist/commonjs/api/occurrenceExtension/options.js.map +1 -0
  91. package/dist/commonjs/api/occurrences/index.d.ts +3 -0
  92. package/dist/commonjs/api/occurrences/index.js +12 -0
  93. package/dist/commonjs/api/occurrences/index.js.map +1 -0
  94. package/dist/commonjs/api/occurrences/operations.d.ts +27 -0
  95. package/dist/commonjs/api/occurrences/operations.js +194 -0
  96. package/dist/commonjs/api/occurrences/operations.js.map +1 -0
  97. package/dist/commonjs/api/occurrences/options.d.ts +19 -0
  98. package/dist/commonjs/api/occurrences/options.js +5 -0
  99. package/dist/commonjs/api/occurrences/options.js.map +1 -0
  100. package/dist/commonjs/api/operations/operations.d.ts +1 -1
  101. package/dist/commonjs/api/operations/operations.js.map +1 -1
  102. package/dist/commonjs/api/scheduledActionExtension/index.d.ts +3 -0
  103. package/dist/commonjs/api/scheduledActionExtension/index.js +8 -0
  104. package/dist/commonjs/api/scheduledActionExtension/index.js.map +1 -0
  105. package/dist/commonjs/api/scheduledActionExtension/operations.d.ts +10 -0
  106. package/dist/commonjs/api/scheduledActionExtension/operations.js +44 -0
  107. package/dist/commonjs/api/scheduledActionExtension/operations.js.map +1 -0
  108. package/dist/commonjs/api/scheduledActionExtension/options.d.ts +5 -0
  109. package/dist/commonjs/api/scheduledActionExtension/options.js +5 -0
  110. package/dist/commonjs/api/scheduledActionExtension/options.js.map +1 -0
  111. package/dist/commonjs/api/scheduledActions/index.d.ts +2 -2
  112. package/dist/commonjs/api/scheduledActions/index.js +15 -1
  113. package/dist/commonjs/api/scheduledActions/index.js.map +1 -1
  114. package/dist/commonjs/api/scheduledActions/operations.d.ts +65 -2
  115. package/dist/commonjs/api/scheduledActions/operations.js +529 -0
  116. package/dist/commonjs/api/scheduledActions/operations.js.map +1 -1
  117. package/dist/commonjs/api/scheduledActions/options.d.ts +46 -0
  118. package/dist/commonjs/api/scheduledActions/options.js.map +1 -1
  119. package/dist/commonjs/classic/index.d.ts +3 -0
  120. package/dist/commonjs/classic/index.js.map +1 -1
  121. package/dist/commonjs/classic/occurrenceExtension/index.d.ts +11 -0
  122. package/dist/commonjs/classic/occurrenceExtension/index.js +17 -0
  123. package/dist/commonjs/classic/occurrenceExtension/index.js.map +1 -0
  124. package/dist/commonjs/classic/occurrences/index.d.ts +20 -0
  125. package/dist/commonjs/classic/occurrences/index.js +21 -0
  126. package/dist/commonjs/classic/occurrences/index.js.map +1 -0
  127. package/dist/commonjs/classic/operations/index.d.ts +1 -1
  128. package/dist/commonjs/classic/operations/index.js.map +1 -1
  129. package/dist/commonjs/classic/scheduledActionExtension/index.d.ts +11 -0
  130. package/dist/commonjs/classic/scheduledActionExtension/index.js +17 -0
  131. package/dist/commonjs/classic/scheduledActionExtension/index.js.map +1 -0
  132. package/dist/commonjs/classic/scheduledActions/index.d.ts +37 -2
  133. package/dist/commonjs/classic/scheduledActions/index.js +14 -0
  134. package/dist/commonjs/classic/scheduledActions/index.js.map +1 -1
  135. package/dist/commonjs/computeScheduleClient.d.ts +11 -2
  136. package/dist/commonjs/computeScheduleClient.js +16 -4
  137. package/dist/commonjs/computeScheduleClient.js.map +1 -1
  138. package/dist/commonjs/index.d.ts +9 -3
  139. package/dist/commonjs/index.js +16 -1
  140. package/dist/commonjs/index.js.map +1 -1
  141. package/dist/commonjs/models/index.d.ts +1 -1
  142. package/dist/commonjs/models/index.js +12 -1
  143. package/dist/commonjs/models/index.js.map +1 -1
  144. package/dist/commonjs/models/models.d.ts +619 -1
  145. package/dist/commonjs/models/models.js +635 -1
  146. package/dist/commonjs/models/models.js.map +1 -1
  147. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  148. package/dist/commonjs/restorePollerHelpers.js +100 -0
  149. package/dist/commonjs/restorePollerHelpers.js.map +1 -0
  150. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +13 -0
  151. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +33 -0
  152. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
  153. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
  154. package/dist/commonjs/static-helpers/pollingHelpers.js +82 -0
  155. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  156. package/dist/esm/api/computeScheduleContext.d.ts +3 -0
  157. package/dist/esm/api/computeScheduleContext.js +4 -3
  158. package/dist/esm/api/computeScheduleContext.js.map +1 -1
  159. package/dist/esm/api/occurrenceExtension/index.d.ts +3 -0
  160. package/dist/esm/api/occurrenceExtension/index.js +4 -0
  161. package/dist/esm/api/occurrenceExtension/index.js.map +1 -0
  162. package/dist/esm/api/occurrenceExtension/operations.d.ts +10 -0
  163. package/dist/esm/api/occurrenceExtension/operations.js +39 -0
  164. package/dist/esm/api/occurrenceExtension/operations.js.map +1 -0
  165. package/dist/esm/api/occurrenceExtension/options.d.ts +5 -0
  166. package/dist/esm/api/occurrenceExtension/options.js +4 -0
  167. package/dist/esm/api/occurrenceExtension/options.js.map +1 -0
  168. package/dist/esm/api/occurrences/index.d.ts +3 -0
  169. package/dist/esm/api/occurrences/index.js +4 -0
  170. package/dist/esm/api/occurrences/index.js.map +1 -0
  171. package/dist/esm/api/occurrences/operations.d.ts +27 -0
  172. package/dist/esm/api/occurrences/operations.js +177 -0
  173. package/dist/esm/api/occurrences/operations.js.map +1 -0
  174. package/dist/esm/api/occurrences/options.d.ts +19 -0
  175. package/dist/esm/api/occurrences/options.js +4 -0
  176. package/dist/esm/api/occurrences/options.js.map +1 -0
  177. package/dist/esm/api/operations/operations.d.ts +1 -1
  178. package/dist/esm/api/operations/operations.js.map +1 -1
  179. package/dist/esm/api/scheduledActionExtension/index.d.ts +3 -0
  180. package/dist/esm/api/scheduledActionExtension/index.js +4 -0
  181. package/dist/esm/api/scheduledActionExtension/index.js.map +1 -0
  182. package/dist/esm/api/scheduledActionExtension/operations.d.ts +10 -0
  183. package/dist/esm/api/scheduledActionExtension/operations.js +39 -0
  184. package/dist/esm/api/scheduledActionExtension/operations.js.map +1 -0
  185. package/dist/esm/api/scheduledActionExtension/options.d.ts +5 -0
  186. package/dist/esm/api/scheduledActionExtension/options.js +4 -0
  187. package/dist/esm/api/scheduledActionExtension/options.js.map +1 -0
  188. package/dist/esm/api/scheduledActions/index.d.ts +2 -2
  189. package/dist/esm/api/scheduledActions/index.js +1 -1
  190. package/dist/esm/api/scheduledActions/index.js.map +1 -1
  191. package/dist/esm/api/scheduledActions/operations.d.ts +65 -2
  192. package/dist/esm/api/scheduledActions/operations.js +488 -1
  193. package/dist/esm/api/scheduledActions/operations.js.map +1 -1
  194. package/dist/esm/api/scheduledActions/options.d.ts +46 -0
  195. package/dist/esm/api/scheduledActions/options.js.map +1 -1
  196. package/dist/esm/classic/index.d.ts +3 -0
  197. package/dist/esm/classic/index.js.map +1 -1
  198. package/dist/esm/classic/occurrenceExtension/index.d.ts +11 -0
  199. package/dist/esm/classic/occurrenceExtension/index.js +14 -0
  200. package/dist/esm/classic/occurrenceExtension/index.js.map +1 -0
  201. package/dist/esm/classic/occurrences/index.d.ts +20 -0
  202. package/dist/esm/classic/occurrences/index.js +18 -0
  203. package/dist/esm/classic/occurrences/index.js.map +1 -0
  204. package/dist/esm/classic/operations/index.d.ts +1 -1
  205. package/dist/esm/classic/operations/index.js.map +1 -1
  206. package/dist/esm/classic/scheduledActionExtension/index.d.ts +11 -0
  207. package/dist/esm/classic/scheduledActionExtension/index.js +14 -0
  208. package/dist/esm/classic/scheduledActionExtension/index.js.map +1 -0
  209. package/dist/esm/classic/scheduledActions/index.d.ts +37 -2
  210. package/dist/esm/classic/scheduledActions/index.js +15 -1
  211. package/dist/esm/classic/scheduledActions/index.js.map +1 -1
  212. package/dist/esm/computeScheduleClient.d.ts +11 -2
  213. package/dist/esm/computeScheduleClient.js +13 -1
  214. package/dist/esm/computeScheduleClient.js.map +1 -1
  215. package/dist/esm/index.d.ts +9 -3
  216. package/dist/esm/index.js +4 -1
  217. package/dist/esm/index.js.map +1 -1
  218. package/dist/esm/models/index.d.ts +1 -1
  219. package/dist/esm/models/index.js +1 -1
  220. package/dist/esm/models/index.js.map +1 -1
  221. package/dist/esm/models/models.d.ts +619 -1
  222. package/dist/esm/models/models.js +581 -0
  223. package/dist/esm/models/models.js.map +1 -1
  224. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  225. package/dist/esm/restorePollerHelpers.js +97 -0
  226. package/dist/esm/restorePollerHelpers.js.map +1 -0
  227. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +13 -0
  228. package/dist/esm/static-helpers/cloudSettingHelpers.js +29 -0
  229. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  230. package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
  231. package/dist/esm/static-helpers/pollingHelpers.js +79 -0
  232. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  233. package/dist/react-native/api/computeScheduleContext.d.ts +3 -0
  234. package/dist/react-native/api/computeScheduleContext.js +4 -3
  235. package/dist/react-native/api/computeScheduleContext.js.map +1 -1
  236. package/dist/react-native/api/occurrenceExtension/index.d.ts +3 -0
  237. package/dist/react-native/api/occurrenceExtension/index.js +4 -0
  238. package/dist/react-native/api/occurrenceExtension/index.js.map +1 -0
  239. package/dist/react-native/api/occurrenceExtension/operations.d.ts +10 -0
  240. package/dist/react-native/api/occurrenceExtension/operations.js +39 -0
  241. package/dist/react-native/api/occurrenceExtension/operations.js.map +1 -0
  242. package/dist/react-native/api/occurrenceExtension/options.d.ts +5 -0
  243. package/dist/react-native/api/occurrenceExtension/options.js +4 -0
  244. package/dist/react-native/api/occurrenceExtension/options.js.map +1 -0
  245. package/dist/react-native/api/occurrences/index.d.ts +3 -0
  246. package/dist/react-native/api/occurrences/index.js +4 -0
  247. package/dist/react-native/api/occurrences/index.js.map +1 -0
  248. package/dist/react-native/api/occurrences/operations.d.ts +27 -0
  249. package/dist/react-native/api/occurrences/operations.js +177 -0
  250. package/dist/react-native/api/occurrences/operations.js.map +1 -0
  251. package/dist/react-native/api/occurrences/options.d.ts +19 -0
  252. package/dist/react-native/api/occurrences/options.js +4 -0
  253. package/dist/react-native/api/occurrences/options.js.map +1 -0
  254. package/dist/react-native/api/operations/operations.d.ts +1 -1
  255. package/dist/react-native/api/operations/operations.js.map +1 -1
  256. package/dist/react-native/api/scheduledActionExtension/index.d.ts +3 -0
  257. package/dist/react-native/api/scheduledActionExtension/index.js +4 -0
  258. package/dist/react-native/api/scheduledActionExtension/index.js.map +1 -0
  259. package/dist/react-native/api/scheduledActionExtension/operations.d.ts +10 -0
  260. package/dist/react-native/api/scheduledActionExtension/operations.js +39 -0
  261. package/dist/react-native/api/scheduledActionExtension/operations.js.map +1 -0
  262. package/dist/react-native/api/scheduledActionExtension/options.d.ts +5 -0
  263. package/dist/react-native/api/scheduledActionExtension/options.js +4 -0
  264. package/dist/react-native/api/scheduledActionExtension/options.js.map +1 -0
  265. package/dist/react-native/api/scheduledActions/index.d.ts +2 -2
  266. package/dist/react-native/api/scheduledActions/index.js +1 -1
  267. package/dist/react-native/api/scheduledActions/index.js.map +1 -1
  268. package/dist/react-native/api/scheduledActions/operations.d.ts +65 -2
  269. package/dist/react-native/api/scheduledActions/operations.js +488 -1
  270. package/dist/react-native/api/scheduledActions/operations.js.map +1 -1
  271. package/dist/react-native/api/scheduledActions/options.d.ts +46 -0
  272. package/dist/react-native/api/scheduledActions/options.js.map +1 -1
  273. package/dist/react-native/classic/index.d.ts +3 -0
  274. package/dist/react-native/classic/index.js.map +1 -1
  275. package/dist/react-native/classic/occurrenceExtension/index.d.ts +11 -0
  276. package/dist/react-native/classic/occurrenceExtension/index.js +14 -0
  277. package/dist/react-native/classic/occurrenceExtension/index.js.map +1 -0
  278. package/dist/react-native/classic/occurrences/index.d.ts +20 -0
  279. package/dist/react-native/classic/occurrences/index.js +18 -0
  280. package/dist/react-native/classic/occurrences/index.js.map +1 -0
  281. package/dist/react-native/classic/operations/index.d.ts +1 -1
  282. package/dist/react-native/classic/operations/index.js.map +1 -1
  283. package/dist/react-native/classic/scheduledActionExtension/index.d.ts +11 -0
  284. package/dist/react-native/classic/scheduledActionExtension/index.js +14 -0
  285. package/dist/react-native/classic/scheduledActionExtension/index.js.map +1 -0
  286. package/dist/react-native/classic/scheduledActions/index.d.ts +37 -2
  287. package/dist/react-native/classic/scheduledActions/index.js +15 -1
  288. package/dist/react-native/classic/scheduledActions/index.js.map +1 -1
  289. package/dist/react-native/computeScheduleClient.d.ts +11 -2
  290. package/dist/react-native/computeScheduleClient.js +13 -1
  291. package/dist/react-native/computeScheduleClient.js.map +1 -1
  292. package/dist/react-native/index.d.ts +9 -3
  293. package/dist/react-native/index.js +4 -1
  294. package/dist/react-native/index.js.map +1 -1
  295. package/dist/react-native/models/index.d.ts +1 -1
  296. package/dist/react-native/models/index.js +1 -1
  297. package/dist/react-native/models/index.js.map +1 -1
  298. package/dist/react-native/models/models.d.ts +619 -1
  299. package/dist/react-native/models/models.js +581 -0
  300. package/dist/react-native/models/models.js.map +1 -1
  301. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  302. package/dist/react-native/restorePollerHelpers.js +97 -0
  303. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  304. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +13 -0
  305. package/dist/react-native/static-helpers/cloudSettingHelpers.js +29 -0
  306. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
  307. package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
  308. package/dist/react-native/static-helpers/pollingHelpers.js +79 -0
  309. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  310. package/package.json +70 -16
  311. package/CHANGELOG.md +0 -26
  312. package/review/arm-computeschedule-api-node.api.md +0 -27
  313. package/review/arm-computeschedule-api-operations-node.api.md +0 -19
  314. package/review/arm-computeschedule-api-scheduledActions-node.api.md +0 -89
  315. package/review/arm-computeschedule-models-node.api.md +0 -334
  316. package/review/arm-computeschedule-node.api.md +0 -437
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAUlC,4EAKC;AAED,gEAIC;AAgBD,sDAQC;AAcD,oEAOC;AA4CD,8DAIC;AAgBD,0DAUC;AAED,oEAIC;AAED,oFAIC;AAUD,0EAKC;AAcD,8EAOC;AAgBD,gDAQC;AA+BD,sEAOC;AA+BD,sDAKC;AAED,0DAKC;AAQD,kDAMC;AAcD,0GAWC;AAED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,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACtC,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;QAChC,eAAe,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACvC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACzB,CAAC,CAAC,sCAAsC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACnE,gBAAgB,EAAE,IAAI,CAAC,kBAAkB,CAAC;QAC1C,mBAAmB,EAAE,IAAI,CAAC,qBAAqB,CAAC;KACjD,CAAC;AACJ,CAAC;AAED,SAAgB,sCAAsC,CACpD,MAAoC;IAEpC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,iCAAiC,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC,CAAC,CAAC;AACL,CAAC;AAkBD,SAAgB,iCAAiC,CAAC,IAAS;IACzD,OAAO;QACL,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;QAC5B,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;QAClC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;QAC5B,qBAAqB,EAAE,IAAI,CAAC,WAAW,CAAC;QACxC,kBAAkB,EAAE,IAAI,CAAC,oBAAoB,CAAC;QAC9C,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC;KACvC,CAAC;AACJ,CAAC;AAED,mCAAmC;AACnC,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,yBAAyB;IACzB,2CAA4B,CAAA;IAC5B,yBAAyB;IACzB,yCAAwB,CAAA;AAC1B,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\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 and 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 deallocate request for resources */\nexport interface SubmitDeallocateRequest {\n /** The schedule for the request */\n schedule: Schedule;\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function submitDeallocateRequestSerializer(item: SubmitDeallocateRequest): any {\n return {\n schedule: scheduleSerializer(item[\"schedule\"]),\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The schedule details for the user request */\nexport interface Schedule {\n /** The deadline for the operation */\n deadline?: string;\n /** The deadline for the operation */\n userRequestDeadline?: string;\n /** The timezone for the operation */\n timezone?: string;\n /** The timezone for the operation */\n userRequestTimezone?: string;\n /** The deadlinetype of the operation, this can either be InitiateAt or CompleteBy */\n deadlineType: DeadlineType;\n}\n\nexport function scheduleSerializer(item: Schedule): any {\n return {\n deadline: item[\"deadline\"],\n deadLine: item[\"userRequestDeadline\"],\n timezone: item[\"timezone\"],\n timeZone: item[\"userRequestTimezone\"],\n deadlineType: item[\"deadlineType\"],\n };\n}\n\n/** The types of deadlines supported by ScheduledActions */\nexport enum KnownDeadlineType {\n /** Default value of Unknown. */\n Unknown = \"Unknown\",\n /** Initiate the operation at the given deadline. */\n InitiateAt = \"InitiateAt\",\n /** Complete the operation by the given deadline. */\n CompleteBy = \"CompleteBy\",\n}\n\n/**\n * The types of deadlines supported by ScheduledActions \\\n * {@link KnownDeadlineType} can be used interchangeably with DeadlineType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unknown**: Default value of Unknown. \\\n * **InitiateAt**: Initiate the operation at the given deadline. \\\n * **CompleteBy**: Complete the operation by the given deadline.\n */\nexport type DeadlineType = string;\n\n/** Extra details needed to run the user's request */\nexport interface ExecutionParameters {\n /** Details that could optimize the user's request */\n optimizationPreference?: OptimizationPreference;\n /** Retry policy the user can pass */\n retryPolicy?: RetryPolicy;\n}\n\nexport function executionParametersSerializer(item: ExecutionParameters): any {\n return {\n optimizationPreference: item[\"optimizationPreference\"],\n retryPolicy: !item[\"retryPolicy\"]\n ? item[\"retryPolicy\"]\n : retryPolicySerializer(item[\"retryPolicy\"]),\n };\n}\n\n/** The preferences customers can select to optimize their requests to ScheduledActions */\nexport enum KnownOptimizationPreference {\n /** Optimize while considering cost savings */\n Cost = \"Cost\",\n /** Optimize while considering availability of resources */\n Availability = \"Availability\",\n /** Optimize while considering a balance of cost and availability */\n CostAvailabilityBalanced = \"CostAvailabilityBalanced\",\n}\n\n/**\n * The preferences customers can select to optimize their requests to ScheduledActions \\\n * {@link KnownOptimizationPreference} can be used interchangeably with OptimizationPreference,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Cost**: Optimize while considering cost savings \\\n * **Availability**: Optimize while considering availability of resources \\\n * **CostAvailabilityBalanced**: Optimize while considering a balance of cost and availability\n */\nexport type OptimizationPreference = string;\n\n/** The retry policy for the user request */\nexport interface RetryPolicy {\n /** Retry count for user request */\n retryCount?: number;\n /** Retry window in minutes for user request */\n retryWindowInMinutes?: number;\n}\n\nexport function retryPolicySerializer(item: RetryPolicy): any {\n return {\n retryCount: item[\"retryCount\"],\n retryWindowInMinutes: item[\"retryWindowInMinutes\"],\n };\n}\n\nexport function retryPolicyDeserializer(item: any): RetryPolicy {\n return {\n retryCount: item[\"retryCount\"],\n retryWindowInMinutes: item[\"retryWindowInMinutes\"],\n };\n}\n\n/** The resources needed for the user request */\nexport interface Resources {\n /** The resource ids used for the request */\n ids: string[];\n}\n\nexport function resourcesSerializer(item: Resources): any {\n return {\n ids: item[\"ids\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The response from a deallocate request */\nexport interface DeallocateResourceOperationResponse {\n /** The description of the operation response */\n description: string;\n /** The type of resources used in the deallocate request eg virtual machines */\n type: string;\n /** The location of the deallocate request eg westus */\n location: string;\n /** The results from the deallocate request if no errors exist */\n results?: ResourceOperation[];\n}\n\nexport function deallocateResourceOperationResponseDeserializer(\n item: any,\n): DeallocateResourceOperationResponse {\n return {\n description: item[\"description\"],\n type: item[\"type\"],\n location: item[\"location\"],\n results: !item[\"results\"]\n ? item[\"results\"]\n : resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\nexport function resourceOperationArrayDeserializer(result: Array<ResourceOperation>): any[] {\n return result.map((item) => {\n return resourceOperationDeserializer(item);\n });\n}\n\n/** High level response from an operation on a resource */\nexport interface ResourceOperation {\n /** Unique identifier for the resource involved in the operation, eg ArmId */\n resourceId?: string;\n /** Resource level error code if it exists */\n errorCode?: string;\n /** Resource level error details if they exist */\n errorDetails?: string;\n /** Details of the operation performed on a resource */\n operation?: ResourceOperationDetails;\n}\n\nexport function resourceOperationDeserializer(item: any): ResourceOperation {\n return {\n resourceId: item[\"resourceId\"],\n errorCode: item[\"errorCode\"],\n errorDetails: item[\"errorDetails\"],\n operation: !item[\"operation\"]\n ? item[\"operation\"]\n : resourceOperationDetailsDeserializer(item[\"operation\"]),\n };\n}\n\n/** The details of a response from an operation on a resource */\nexport interface ResourceOperationDetails {\n /** Operation identifier for the unique operation */\n operationId: string;\n /** Unique identifier for the resource involved in the operation, eg ArmId */\n resourceId?: string;\n /** Type of operation performed on the resources */\n opType?: ResourceOperationType;\n /** Subscription id attached to the request */\n subscriptionId?: string;\n /** Deadline for the operation */\n deadline?: string;\n /** Type of deadline of the operation */\n deadlineType?: DeadlineType;\n /** Current state of the operation */\n state?: OperationState;\n /** Timezone for the operation */\n timezone?: string;\n /** Timezone for the operation */\n operationTimezone?: string;\n /** Operation level errors if they exist */\n resourceOperationError?: ResourceOperationError;\n /** Time the operation was complete if errors are null */\n completedAt?: string;\n /** Retry policy the user can pass */\n retryPolicy?: RetryPolicy;\n}\n\nexport function resourceOperationDetailsDeserializer(item: any): ResourceOperationDetails {\n return {\n operationId: item[\"operationId\"],\n resourceId: item[\"resourceId\"],\n opType: item[\"opType\"],\n subscriptionId: item[\"subscriptionId\"],\n deadline: item[\"deadline\"],\n deadlineType: item[\"deadlineType\"],\n state: item[\"state\"],\n timezone: item[\"timezone\"],\n operationTimezone: item[\"timeZone\"],\n resourceOperationError: !item[\"resourceOperationError\"]\n ? item[\"resourceOperationError\"]\n : resourceOperationErrorDeserializer(item[\"resourceOperationError\"]),\n completedAt: item[\"completedAt\"],\n retryPolicy: !item[\"retryPolicy\"]\n ? item[\"retryPolicy\"]\n : retryPolicyDeserializer(item[\"retryPolicy\"]),\n };\n}\n\n/** The kind of operation types that can be performed on resources using ScheduledActions */\nexport enum KnownResourceOperationType {\n /** The default value for this enum type */\n Unknown = \"Unknown\",\n /** Start operations on the resources */\n Start = \"Start\",\n /** Deallocate operations on the resources */\n Deallocate = \"Deallocate\",\n /** Hibernate operations on the resources */\n Hibernate = \"Hibernate\",\n}\n\n/**\n * The kind of operation types that can be performed on resources using ScheduledActions \\\n * {@link KnownResourceOperationType} can be used interchangeably with ResourceOperationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unknown**: The default value for this enum type \\\n * **Start**: Start operations on the resources \\\n * **Deallocate**: Deallocate operations on the resources \\\n * **Hibernate**: Hibernate operations on the resources\n */\nexport type ResourceOperationType = string;\n\n/** Values that define the states of operations in Scheduled Actions */\nexport enum KnownOperationState {\n /** The default value for the operation state enum */\n Unknown = \"Unknown\",\n /** Operations that are pending scheduling */\n PendingScheduling = \"PendingScheduling\",\n /** Operations that have been scheduled */\n Scheduled = \"Scheduled\",\n /** Operations that are waiting to be executed */\n PendingExecution = \"PendingExecution\",\n /** Operations that are in the process of being executed */\n Executing = \"Executing\",\n /** Operations that suceeded */\n Succeeded = \"Succeeded\",\n /** Operations that have failed */\n Failed = \"Failed\",\n /** Operations that have been Cancelled by the user */\n Cancelled = \"Cancelled\",\n /** Operations that are blocked */\n Blocked = \"Blocked\",\n}\n\n/**\n * Values that define the states of operations in Scheduled Actions \\\n * {@link KnownOperationState} can be used interchangeably with OperationState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unknown**: The default value for the operation state enum \\\n * **PendingScheduling**: Operations that are pending scheduling \\\n * **Scheduled**: Operations that have been scheduled \\\n * **PendingExecution**: Operations that are waiting to be executed \\\n * **Executing**: Operations that are in the process of being executed \\\n * **Succeeded**: Operations that suceeded \\\n * **Failed**: Operations that have failed \\\n * **Cancelled**: Operations that have been Cancelled by the user \\\n * **Blocked**: Operations that are blocked\n */\nexport type OperationState = string;\n\n/** These describe errors that occur at the resource level */\nexport interface ResourceOperationError {\n /** Code for the error eg 404, 500 */\n errorCode: string;\n /** Detailed message about the error */\n errorDetails: string;\n}\n\nexport function resourceOperationErrorDeserializer(item: any): ResourceOperationError {\n return {\n errorCode: item[\"errorCode\"],\n errorDetails: item[\"errorDetails\"],\n };\n}\n\n/** This is the request for hibernate */\nexport interface SubmitHibernateRequest {\n /** The schedule for the request */\n schedule: Schedule;\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function submitHibernateRequestSerializer(item: SubmitHibernateRequest): any {\n return {\n schedule: scheduleSerializer(item[\"schedule\"]),\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The response from a Hibernate request */\nexport interface HibernateResourceOperationResponse {\n /** The description of the operation response */\n description: string;\n /** The type of resources used in the Hibernate request eg virtual machines */\n type: string;\n /** The location of the Hibernate request eg westus */\n location: string;\n /** The results from the Hibernate request if no errors exist */\n results?: ResourceOperation[];\n}\n\nexport function hibernateResourceOperationResponseDeserializer(\n item: any,\n): HibernateResourceOperationResponse {\n return {\n description: item[\"description\"],\n type: item[\"type\"],\n location: item[\"location\"],\n results: !item[\"results\"]\n ? item[\"results\"]\n : resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** This is the request for start */\nexport interface SubmitStartRequest {\n /** The schedule for the request */\n schedule: Schedule;\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function submitStartRequestSerializer(item: SubmitStartRequest): any {\n return {\n schedule: scheduleSerializer(item[\"schedule\"]),\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The response from a start request */\nexport interface StartResourceOperationResponse {\n /** The description of the operation response */\n description: string;\n /** The type of resources used in the start request eg virtual machines */\n type: string;\n /** The location of the start request eg westus */\n location: string;\n /** The results from the start request if no errors exist */\n results?: ResourceOperation[];\n}\n\nexport function startResourceOperationResponseDeserializer(\n item: any,\n): StartResourceOperationResponse {\n return {\n description: item[\"description\"],\n type: item[\"type\"],\n location: item[\"location\"],\n results: !item[\"results\"]\n ? item[\"results\"]\n : resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** The ExecuteDeallocateRequest request for executeDeallocate operations */\nexport interface ExecuteDeallocateRequest {\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function executeDeallocateRequestSerializer(item: ExecuteDeallocateRequest): any {\n return {\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The ExecuteHibernateRequest request for executeHibernate operations */\nexport interface ExecuteHibernateRequest {\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function executeHibernateRequestSerializer(item: ExecuteHibernateRequest): any {\n return {\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The ExecuteStartRequest request for executeStart operations */\nexport interface ExecuteStartRequest {\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function executeStartRequestSerializer(item: ExecuteStartRequest): any {\n return {\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The ExecuteCreateRequest request for create operations */\nexport interface ExecuteCreateRequest {\n /** resource creation payload */\n resourceConfigParameters: ResourceProvisionPayload;\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** CorrelationId item */\n correlationid?: string;\n}\n\nexport function executeCreateRequestSerializer(item: ExecuteCreateRequest): any {\n return {\n resourceConfigParameters: resourceProvisionPayloadSerializer(item[\"resourceConfigParameters\"]),\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n correlationid: item[\"correlationid\"],\n };\n}\n\n/** Resource creation data model */\nexport interface ResourceProvisionPayload {\n /** JSON object that contains VM properties that are common across all VMs in this batch (if you want to create 100 VMs in this request, and they all have same vmSize, then include vmSize in baseProfile) */\n baseProfile?: Record<string, any>;\n /** JSON array, that contains VM properties that should to be overridden for each VM in the batch (if you want to create 100 VMs, they all need a distinct computerName property, you pass computerNames for each VM in batch in this array), service will merge baseProfile with VM specific overrides and create a merged VMProfile. */\n resourceOverrides?: Record<string, any>[];\n /** Number of VMs to be created */\n resourceCount: number;\n /** if resourceOverrides doesn't contain \"name\", service will create name based of prefix and ResourceCount e.g. resourceprefix-0,resourceprefix-1.. */\n resourcePrefix?: string;\n}\n\nexport function resourceProvisionPayloadSerializer(item: ResourceProvisionPayload): any {\n return {\n baseProfile: item[\"baseProfile\"],\n resourceOverrides: !item[\"resourceOverrides\"]\n ? item[\"resourceOverrides\"]\n : item[\"resourceOverrides\"].map((p: any) => {\n return p;\n }),\n resourceCount: item[\"resourceCount\"],\n resourcePrefix: item[\"resourcePrefix\"],\n };\n}\n\n/** The response from a create request */\nexport interface CreateResourceOperationResponse {\n /** The description of the operation response */\n description: string;\n /** The type of resources used in the create request eg virtual machines */\n type: string;\n /** The location of the start request eg westus */\n location: string;\n /** The results from the start request if no errors exist */\n results?: ResourceOperation[];\n}\n\nexport function createResourceOperationResponseDeserializer(\n item: any,\n): CreateResourceOperationResponse {\n return {\n description: item[\"description\"],\n type: item[\"type\"],\n location: item[\"location\"],\n results: !item[\"results\"]\n ? item[\"results\"]\n : resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** The ExecuteDeleteRequest for delete VM operation */\nexport interface ExecuteDeleteRequest {\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationid?: string;\n /** Forced delete resource item */\n forceDeletion?: boolean;\n}\n\nexport function executeDeleteRequestSerializer(item: ExecuteDeleteRequest): any {\n return {\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationid\"],\n forceDeletion: item[\"forceDeletion\"],\n };\n}\n\n/** The response from a delete request */\nexport interface DeleteResourceOperationResponse {\n /** The description of the operation response */\n description: string;\n /** The type of resources used in the delete request eg virtual machines */\n type: string;\n /** The location of the start request eg westus */\n location: string;\n /** The results from the start request if no errors exist */\n results?: ResourceOperation[];\n}\n\nexport function deleteResourceOperationResponseDeserializer(\n item: any,\n): DeleteResourceOperationResponse {\n return {\n description: item[\"description\"],\n type: item[\"type\"],\n location: item[\"location\"],\n results: !item[\"results\"]\n ? item[\"results\"]\n : resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** This is the request to get operation status using operationids */\nexport interface GetOperationStatusRequest {\n /** The list of operation ids to get the status of */\n operationIds: string[];\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function getOperationStatusRequestSerializer(item: GetOperationStatusRequest): any {\n return {\n operationIds: item[\"operationIds\"].map((p: any) => {\n return p;\n }),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** This is the response from a get operations status request */\nexport interface GetOperationStatusResponse {\n /** An array of resource operations based on their operation ids */\n results: ResourceOperation[];\n}\n\nexport function getOperationStatusResponseDeserializer(item: any): GetOperationStatusResponse {\n return {\n results: resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** This is the request to cancel running operations in scheduled actions using the operation ids */\nexport interface CancelOperationsRequest {\n /** The list of operation ids to cancel operations on */\n operationIds: string[];\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function cancelOperationsRequestSerializer(item: CancelOperationsRequest): any {\n return {\n operationIds: item[\"operationIds\"].map((p: any) => {\n return p;\n }),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** This is the response from a cancel operations request */\nexport interface CancelOperationsResponse {\n /** An array of resource operations that were successfully cancelled */\n results: ResourceOperation[];\n}\n\nexport function cancelOperationsResponseDeserializer(item: any): CancelOperationsResponse {\n return {\n results: resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** This is the request to get errors per vm operations */\nexport interface GetOperationErrorsRequest {\n /** The list of operation ids to query errors of */\n operationIds: string[];\n}\n\nexport function getOperationErrorsRequestSerializer(item: GetOperationErrorsRequest): any {\n return {\n operationIds: item[\"operationIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** This is the response from a get operations errors request */\nexport interface GetOperationErrorsResponse {\n /** An array of operationids and their corresponding errors if any */\n results: OperationErrorsResult[];\n}\n\nexport function getOperationErrorsResponseDeserializer(item: any): GetOperationErrorsResponse {\n return {\n results: operationErrorsResultArrayDeserializer(item[\"results\"]),\n };\n}\n\nexport function operationErrorsResultArrayDeserializer(\n result: Array<OperationErrorsResult>,\n): any[] {\n return result.map((item) => {\n return operationErrorsResultDeserializer(item);\n });\n}\n\n/** This is the first level of operation errors from the request when clients get errors per vm operation */\nexport interface OperationErrorsResult {\n /** The operationId identifying a vm operation */\n operationId?: string;\n /** The creation time of the error result */\n creationTime?: string;\n /** The activation time of a vm operation */\n activationTime?: string;\n /** The completion time of the operation if the operation was completed */\n completedAt?: string;\n /** A list of errors associated with the operationid */\n operationErrors?: OperationErrorDetails[];\n /** Request level error code */\n requestErrorCode?: string;\n /** Request level error details */\n requestErrorDetails?: string;\n}\n\nexport function operationErrorsResultDeserializer(item: any): OperationErrorsResult {\n return {\n operationId: item[\"operationId\"],\n creationTime: item[\"creationTime\"],\n activationTime: item[\"activationTime\"],\n completedAt: item[\"completedAt\"],\n operationErrors: !item[\"operationErrors\"]\n ? item[\"operationErrors\"]\n : operationErrorDetailsArrayDeserializer(item[\"operationErrors\"]),\n requestErrorCode: item[\"requestErrorCode\"],\n requestErrorDetails: item[\"requestErrorDetails\"],\n };\n}\n\nexport function operationErrorDetailsArrayDeserializer(\n result: Array<OperationErrorDetails>,\n): any[] {\n return result.map((item) => {\n return operationErrorDetailsDeserializer(item);\n });\n}\n\n/** This defines a list of operation errors associated with a unique operationId */\nexport interface OperationErrorDetails {\n /** The error code of the operation */\n errorCode: string;\n /** The error details of the operation */\n errorDetails: string;\n /** The timestamp of the error occurence */\n timestamp?: string;\n /** The timestamp of the error occurence */\n errorDetailsTimestamp?: string;\n /** The compute operationid of the Start/Deallocate/Hibernate request */\n azureOperationName?: string;\n /** The compute operationid of the Start/Deallocate/Hibernate request */\n crpOperationId?: string;\n}\n\nexport function operationErrorDetailsDeserializer(item: any): OperationErrorDetails {\n return {\n errorCode: item[\"errorCode\"],\n errorDetails: item[\"errorDetails\"],\n timestamp: item[\"timestamp\"],\n errorDetailsTimestamp: item[\"timeStamp\"],\n azureOperationName: item[\"azureOperationName\"],\n crpOperationId: item[\"crpOperationId\"],\n };\n}\n\n/** ComputeSchedule API versions */\nexport enum KnownVersions {\n /** 2024-10-01 version */\n \"V2024-10-01\" = \"2024-10-01\",\n /** 2025-05-01 version */\n V20250501 = \"2025-05-01\",\n}\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAYlC,4EAKC;AAED,gEAIC;AAgBD,sDAQC;AAcD,oEAOC;AA4CD,8DAIC;AAgBD,0DAUC;AAED,oEAIC;AAED,oFAIC;AAUD,0EAKC;AAcD,8EAOC;AAgBD,gDAQC;AA+BD,sEAOC;AAED,0EAOC;AA+BD,sDAKC;AAED,0DAKC;AAQD,kDAMC;AAcD,0GAWC;AAED,gFAIC;AAcD,sEASC;AA8BD,oFAmBC;AAyED,gFAKC;AAcD,4EAOC;AAcD,wGAWC;AAcD,oEAOC;AAcD,gGAWC;AAYD,gFAMC;AAYD,8EAMC;AAYD,sEAMC;AAYD,wEAMC;AAcD,gFAWC;AAcD,kGAWC;AAcD,wEAOC;AAcD,kGAWC;AAUD,kFAOC;AAQD,wFAIC;AAUD,8EAOC;AAQD,oFAIC;AAQD,kFAMC;AAQD,wFAIC;AAED,wFAMC;AAoBD,8EAYC;AAED,wFAMC;AAkBD,8EASC;AAQD,8DAQC;AAED,kEAcC;AAsBD,kFAUC;AAED,sFAWC;AA2DD,gFAkBC;AAED,oFAkBC;AAyFD,sFAMC;AAED,0FAMC;AAcD,4EAOC;AAED,gFAOC;AAgED,8DAEC;AAED,kEAWC;AAcD,gDAEC;AAED,oDASC;AAkBD,wDAWC;AAuDD,0EAOC;AAoBD,8FAgBC;AAUD,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,yBAAyB;IACzB,yCAAwB,CAAA;IACxB,iCAAiC;IACjC,wDAAuC,CAAA;AACzC,CAAC,EATW,aAAa,6BAAb,aAAa,QASxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ErrorModel } from \"@azure-rest/core-client\";\n\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 and 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 deallocate request for resources */\nexport interface SubmitDeallocateRequest {\n /** The schedule for the request */\n schedule: Schedule;\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function submitDeallocateRequestSerializer(item: SubmitDeallocateRequest): any {\n return {\n schedule: scheduleSerializer(item[\"schedule\"]),\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The schedule details for the user request */\nexport interface Schedule {\n /** The deadline for the operation */\n deadline?: string;\n /** The deadline for the operation */\n userRequestDeadline?: string;\n /** The timezone for the operation */\n timezone?: string;\n /** The timezone for the operation */\n userRequestTimezone?: string;\n /** The deadlinetype of the operation, this can either be InitiateAt or CompleteBy */\n deadlineType: DeadlineType;\n}\n\nexport function scheduleSerializer(item: Schedule): any {\n return {\n deadline: item[\"deadline\"],\n deadLine: item[\"userRequestDeadline\"],\n timezone: item[\"timezone\"],\n timeZone: item[\"userRequestTimezone\"],\n deadlineType: item[\"deadlineType\"],\n };\n}\n\n/** The types of deadlines supported by ScheduledActions */\nexport enum KnownDeadlineType {\n /** Default value of Unknown. */\n Unknown = \"Unknown\",\n /** Initiate the operation at the given deadline. */\n InitiateAt = \"InitiateAt\",\n /** Complete the operation by the given deadline. */\n CompleteBy = \"CompleteBy\",\n}\n\n/**\n * The types of deadlines supported by ScheduledActions \\\n * {@link KnownDeadlineType} can be used interchangeably with DeadlineType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unknown**: Default value of Unknown. \\\n * **InitiateAt**: Initiate the operation at the given deadline. \\\n * **CompleteBy**: Complete the operation by the given deadline.\n */\nexport type DeadlineType = string;\n\n/** Extra details needed to run the user's request */\nexport interface ExecutionParameters {\n /** Details that could optimize the user's request */\n optimizationPreference?: OptimizationPreference;\n /** Retry policy the user can pass */\n retryPolicy?: RetryPolicy;\n}\n\nexport function executionParametersSerializer(item: ExecutionParameters): any {\n return {\n optimizationPreference: item[\"optimizationPreference\"],\n retryPolicy: !item[\"retryPolicy\"]\n ? item[\"retryPolicy\"]\n : retryPolicySerializer(item[\"retryPolicy\"]),\n };\n}\n\nexport function executionParametersDeserializer(item: any): ExecutionParameters {\n return {\n optimizationPreference: item[\"optimizationPreference\"],\n retryPolicy: !item[\"retryPolicy\"]\n ? item[\"retryPolicy\"]\n : retryPolicyDeserializer(item[\"retryPolicy\"]),\n };\n}\n\n/** The preferences customers can select to optimize their requests to ScheduledActions */\nexport enum KnownOptimizationPreference {\n /** Optimize while considering cost savings */\n Cost = \"Cost\",\n /** Optimize while considering availability of resources */\n Availability = \"Availability\",\n /** Optimize while considering a balance of cost and availability */\n CostAvailabilityBalanced = \"CostAvailabilityBalanced\",\n}\n\n/**\n * The preferences customers can select to optimize their requests to ScheduledActions \\\n * {@link KnownOptimizationPreference} can be used interchangeably with OptimizationPreference,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Cost**: Optimize while considering cost savings \\\n * **Availability**: Optimize while considering availability of resources \\\n * **CostAvailabilityBalanced**: Optimize while considering a balance of cost and availability\n */\nexport type OptimizationPreference = string;\n\n/** The retry policy for the user request */\nexport interface RetryPolicy {\n /** Retry count for user request */\n retryCount?: number;\n /** Retry window in minutes for user request */\n retryWindowInMinutes?: number;\n}\n\nexport function retryPolicySerializer(item: RetryPolicy): any {\n return {\n retryCount: item[\"retryCount\"],\n retryWindowInMinutes: item[\"retryWindowInMinutes\"],\n };\n}\n\nexport function retryPolicyDeserializer(item: any): RetryPolicy {\n return {\n retryCount: item[\"retryCount\"],\n retryWindowInMinutes: item[\"retryWindowInMinutes\"],\n };\n}\n\n/** The resources needed for the user request */\nexport interface Resources {\n /** The resource ids used for the request */\n ids: string[];\n}\n\nexport function resourcesSerializer(item: Resources): any {\n return {\n ids: item[\"ids\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The response from a deallocate request */\nexport interface DeallocateResourceOperationResponse {\n /** The description of the operation response */\n description: string;\n /** The type of resources used in the deallocate request eg virtual machines */\n type: string;\n /** The location of the deallocate request eg westus */\n location: string;\n /** The results from the deallocate request if no errors exist */\n results?: ResourceOperation[];\n}\n\nexport function deallocateResourceOperationResponseDeserializer(\n item: any,\n): DeallocateResourceOperationResponse {\n return {\n description: item[\"description\"],\n type: item[\"type\"],\n location: item[\"location\"],\n results: !item[\"results\"]\n ? item[\"results\"]\n : resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\nexport function resourceOperationArrayDeserializer(result: Array<ResourceOperation>): any[] {\n return result.map((item) => {\n return resourceOperationDeserializer(item);\n });\n}\n\n/** High level response from an operation on a resource */\nexport interface ResourceOperation {\n /** Unique identifier for the resource involved in the operation, eg ArmId */\n resourceId?: string;\n /** Resource level error code if it exists */\n errorCode?: string;\n /** Resource level error details if they exist */\n errorDetails?: string;\n /** Details of the operation performed on a resource */\n operation?: ResourceOperationDetails;\n}\n\nexport function resourceOperationDeserializer(item: any): ResourceOperation {\n return {\n resourceId: item[\"resourceId\"],\n errorCode: item[\"errorCode\"],\n errorDetails: item[\"errorDetails\"],\n operation: !item[\"operation\"]\n ? item[\"operation\"]\n : resourceOperationDetailsDeserializer(item[\"operation\"]),\n };\n}\n\n/** The details of a response from an operation on a resource */\nexport interface ResourceOperationDetails {\n /** Operation identifier for the unique operation */\n operationId: string;\n /** Unique identifier for the resource involved in the operation, eg ArmId */\n resourceId?: string;\n /** Type of operation performed on the resources */\n opType?: ResourceOperationType;\n /** Subscription id attached to the request */\n subscriptionId?: string;\n /** Deadline for the operation */\n deadline?: string;\n /** Type of deadline of the operation */\n deadlineType?: DeadlineType;\n /** Current state of the operation */\n state?: OperationState;\n /** Timezone for the operation */\n timezone?: string;\n /** Timezone for the operation */\n operationTimezone?: string;\n /** Operation level errors if they exist */\n resourceOperationError?: ResourceOperationError;\n /** Time the operation was complete if errors are null */\n completedAt?: string;\n /** Retry policy the user can pass */\n retryPolicy?: RetryPolicy;\n}\n\nexport function resourceOperationDetailsDeserializer(item: any): ResourceOperationDetails {\n return {\n operationId: item[\"operationId\"],\n resourceId: item[\"resourceId\"],\n opType: item[\"opType\"],\n subscriptionId: item[\"subscriptionId\"],\n deadline: item[\"deadline\"],\n deadlineType: item[\"deadlineType\"],\n state: item[\"state\"],\n timezone: item[\"timezone\"],\n operationTimezone: item[\"timeZone\"],\n resourceOperationError: !item[\"resourceOperationError\"]\n ? item[\"resourceOperationError\"]\n : resourceOperationErrorDeserializer(item[\"resourceOperationError\"]),\n completedAt: item[\"completedAt\"],\n retryPolicy: !item[\"retryPolicy\"]\n ? item[\"retryPolicy\"]\n : retryPolicyDeserializer(item[\"retryPolicy\"]),\n };\n}\n\n/** The kind of operation types that can be performed on resources using ScheduledActions */\nexport enum KnownResourceOperationType {\n /** The default value for this enum type */\n Unknown = \"Unknown\",\n /** Start operations on the resources */\n Start = \"Start\",\n /** Deallocate operations on the resources */\n Deallocate = \"Deallocate\",\n /** Hibernate operations on the resources */\n Hibernate = \"Hibernate\",\n}\n\n/**\n * The kind of operation types that can be performed on resources using ScheduledActions \\\n * {@link KnownResourceOperationType} can be used interchangeably with ResourceOperationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unknown**: The default value for this enum type \\\n * **Start**: Start operations on the resources \\\n * **Deallocate**: Deallocate operations on the resources \\\n * **Hibernate**: Hibernate operations on the resources\n */\nexport type ResourceOperationType = string;\n\n/** Values that define the states of operations in Scheduled Actions */\nexport enum KnownOperationState {\n /** The default value for the operation state enum */\n Unknown = \"Unknown\",\n /** Operations that are pending scheduling */\n PendingScheduling = \"PendingScheduling\",\n /** Operations that have been scheduled */\n Scheduled = \"Scheduled\",\n /** Operations that are waiting to be executed */\n PendingExecution = \"PendingExecution\",\n /** Operations that are in the process of being executed */\n Executing = \"Executing\",\n /** Operations that suceeded */\n Succeeded = \"Succeeded\",\n /** Operations that have failed */\n Failed = \"Failed\",\n /** Operations that have been Cancelled by the user */\n Cancelled = \"Cancelled\",\n /** Operations that are blocked */\n Blocked = \"Blocked\",\n}\n\n/**\n * Values that define the states of operations in Scheduled Actions \\\n * {@link KnownOperationState} can be used interchangeably with OperationState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unknown**: The default value for the operation state enum \\\n * **PendingScheduling**: Operations that are pending scheduling \\\n * **Scheduled**: Operations that have been scheduled \\\n * **PendingExecution**: Operations that are waiting to be executed \\\n * **Executing**: Operations that are in the process of being executed \\\n * **Succeeded**: Operations that suceeded \\\n * **Failed**: Operations that have failed \\\n * **Cancelled**: Operations that have been Cancelled by the user \\\n * **Blocked**: Operations that are blocked\n */\nexport type OperationState = string;\n\n/** These describe errors that occur at the resource level */\nexport interface ResourceOperationError {\n /** Code for the error eg 404, 500 */\n errorCode: string;\n /** Detailed message about the error */\n errorDetails: string;\n}\n\nexport function resourceOperationErrorDeserializer(item: any): ResourceOperationError {\n return {\n errorCode: item[\"errorCode\"],\n errorDetails: item[\"errorDetails\"],\n };\n}\n\n/** This is the request for hibernate */\nexport interface SubmitHibernateRequest {\n /** The schedule for the request */\n schedule: Schedule;\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function submitHibernateRequestSerializer(item: SubmitHibernateRequest): any {\n return {\n schedule: scheduleSerializer(item[\"schedule\"]),\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The response from a Hibernate request */\nexport interface HibernateResourceOperationResponse {\n /** The description of the operation response */\n description: string;\n /** The type of resources used in the Hibernate request eg virtual machines */\n type: string;\n /** The location of the Hibernate request eg westus */\n location: string;\n /** The results from the Hibernate request if no errors exist */\n results?: ResourceOperation[];\n}\n\nexport function hibernateResourceOperationResponseDeserializer(\n item: any,\n): HibernateResourceOperationResponse {\n return {\n description: item[\"description\"],\n type: item[\"type\"],\n location: item[\"location\"],\n results: !item[\"results\"]\n ? item[\"results\"]\n : resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** This is the request for start */\nexport interface SubmitStartRequest {\n /** The schedule for the request */\n schedule: Schedule;\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function submitStartRequestSerializer(item: SubmitStartRequest): any {\n return {\n schedule: scheduleSerializer(item[\"schedule\"]),\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The response from a start request */\nexport interface StartResourceOperationResponse {\n /** The description of the operation response */\n description: string;\n /** The type of resources used in the start request eg virtual machines */\n type: string;\n /** The location of the start request eg westus */\n location: string;\n /** The results from the start request if no errors exist */\n results?: ResourceOperation[];\n}\n\nexport function startResourceOperationResponseDeserializer(\n item: any,\n): StartResourceOperationResponse {\n return {\n description: item[\"description\"],\n type: item[\"type\"],\n location: item[\"location\"],\n results: !item[\"results\"]\n ? item[\"results\"]\n : resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** The ExecuteDeallocateRequest request for executeDeallocate operations */\nexport interface ExecuteDeallocateRequest {\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function executeDeallocateRequestSerializer(item: ExecuteDeallocateRequest): any {\n return {\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The ExecuteHibernateRequest request for executeHibernate operations */\nexport interface ExecuteHibernateRequest {\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function executeHibernateRequestSerializer(item: ExecuteHibernateRequest): any {\n return {\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The ExecuteStartRequest request for executeStart operations */\nexport interface ExecuteStartRequest {\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function executeStartRequestSerializer(item: ExecuteStartRequest): any {\n return {\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** The ExecuteCreateRequest request for create operations */\nexport interface ExecuteCreateRequest {\n /** resource creation payload */\n resourceConfigParameters: ResourceProvisionPayload;\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** CorrelationId item */\n correlationid?: string;\n}\n\nexport function executeCreateRequestSerializer(item: ExecuteCreateRequest): any {\n return {\n resourceConfigParameters: resourceProvisionPayloadSerializer(item[\"resourceConfigParameters\"]),\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n correlationid: item[\"correlationid\"],\n };\n}\n\n/** Resource creation data model */\nexport interface ResourceProvisionPayload {\n /** JSON object that contains VM properties that are common across all VMs in this batch (if you want to create 100 VMs in this request, and they all have same vmSize, then include vmSize in baseProfile) */\n baseProfile?: Record<string, any>;\n /** JSON array, that contains VM properties that should to be overridden for each VM in the batch (if you want to create 100 VMs, they all need a distinct computerName property, you pass computerNames for each VM in batch in this array), service will merge baseProfile with VM specific overrides and create a merged VMProfile. */\n resourceOverrides?: Record<string, any>[];\n /** Number of VMs to be created */\n resourceCount: number;\n /** if resourceOverrides doesn't contain \"name\", service will create name based of prefix and ResourceCount e.g. resourceprefix-0,resourceprefix-1.. */\n resourcePrefix?: string;\n}\n\nexport function resourceProvisionPayloadSerializer(item: ResourceProvisionPayload): any {\n return {\n baseProfile: item[\"baseProfile\"],\n resourceOverrides: !item[\"resourceOverrides\"]\n ? item[\"resourceOverrides\"]\n : item[\"resourceOverrides\"].map((p: any) => {\n return p;\n }),\n resourceCount: item[\"resourceCount\"],\n resourcePrefix: item[\"resourcePrefix\"],\n };\n}\n\n/** The response from a create request */\nexport interface CreateResourceOperationResponse {\n /** The description of the operation response */\n description: string;\n /** The type of resources used in the create request eg virtual machines */\n type: string;\n /** The location of the start request eg westus */\n location: string;\n /** The results from the start request if no errors exist */\n results?: ResourceOperation[];\n}\n\nexport function createResourceOperationResponseDeserializer(\n item: any,\n): CreateResourceOperationResponse {\n return {\n description: item[\"description\"],\n type: item[\"type\"],\n location: item[\"location\"],\n results: !item[\"results\"]\n ? item[\"results\"]\n : resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** The ExecuteDeleteRequest for delete VM operation */\nexport interface ExecuteDeleteRequest {\n /** The execution parameters for the request */\n executionParameters: ExecutionParameters;\n /** The resources for the request */\n resources: Resources;\n /** CorrelationId item */\n correlationid?: string;\n /** Forced delete resource item */\n forceDeletion?: boolean;\n}\n\nexport function executeDeleteRequestSerializer(item: ExecuteDeleteRequest): any {\n return {\n executionParameters: executionParametersSerializer(item[\"executionParameters\"]),\n resources: resourcesSerializer(item[\"resources\"]),\n correlationid: item[\"correlationid\"],\n forceDeletion: item[\"forceDeletion\"],\n };\n}\n\n/** The response from a delete request */\nexport interface DeleteResourceOperationResponse {\n /** The description of the operation response */\n description: string;\n /** The type of resources used in the delete request eg virtual machines */\n type: string;\n /** The location of the start request eg westus */\n location: string;\n /** The results from the start request if no errors exist */\n results?: ResourceOperation[];\n}\n\nexport function deleteResourceOperationResponseDeserializer(\n item: any,\n): DeleteResourceOperationResponse {\n return {\n description: item[\"description\"],\n type: item[\"type\"],\n location: item[\"location\"],\n results: !item[\"results\"]\n ? item[\"results\"]\n : resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** This is the request to get operation status using operationids */\nexport interface GetOperationStatusRequest {\n /** The list of operation ids to get the status of */\n operationIds: string[];\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function getOperationStatusRequestSerializer(item: GetOperationStatusRequest): any {\n return {\n operationIds: item[\"operationIds\"].map((p: any) => {\n return p;\n }),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** This is the response from a get operations status request */\nexport interface GetOperationStatusResponse {\n /** An array of resource operations based on their operation ids */\n results: ResourceOperation[];\n}\n\nexport function getOperationStatusResponseDeserializer(item: any): GetOperationStatusResponse {\n return {\n results: resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** This is the request to cancel running operations in scheduled actions using the operation ids */\nexport interface CancelOperationsRequest {\n /** The list of operation ids to cancel operations on */\n operationIds: string[];\n /** CorrelationId item */\n correlationId: string;\n}\n\nexport function cancelOperationsRequestSerializer(item: CancelOperationsRequest): any {\n return {\n operationIds: item[\"operationIds\"].map((p: any) => {\n return p;\n }),\n correlationid: item[\"correlationId\"],\n };\n}\n\n/** This is the response from a cancel operations request */\nexport interface CancelOperationsResponse {\n /** An array of resource operations that were successfully cancelled */\n results: ResourceOperation[];\n}\n\nexport function cancelOperationsResponseDeserializer(item: any): CancelOperationsResponse {\n return {\n results: resourceOperationArrayDeserializer(item[\"results\"]),\n };\n}\n\n/** This is the request to get errors per vm operations */\nexport interface GetOperationErrorsRequest {\n /** The list of operation ids to query errors of */\n operationIds: string[];\n}\n\nexport function getOperationErrorsRequestSerializer(item: GetOperationErrorsRequest): any {\n return {\n operationIds: item[\"operationIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** This is the response from a get operations errors request */\nexport interface GetOperationErrorsResponse {\n /** An array of operationids and their corresponding errors if any */\n results: OperationErrorsResult[];\n}\n\nexport function getOperationErrorsResponseDeserializer(item: any): GetOperationErrorsResponse {\n return {\n results: operationErrorsResultArrayDeserializer(item[\"results\"]),\n };\n}\n\nexport function operationErrorsResultArrayDeserializer(\n result: Array<OperationErrorsResult>,\n): any[] {\n return result.map((item) => {\n return operationErrorsResultDeserializer(item);\n });\n}\n\n/** This is the first level of operation errors from the request when clients get errors per vm operation */\nexport interface OperationErrorsResult {\n /** The operationId identifying a vm operation */\n operationId?: string;\n /** The creation time of the error result */\n creationTime?: string;\n /** The activation time of a vm operation */\n activationTime?: string;\n /** The completion time of the operation if the operation was completed */\n completedAt?: string;\n /** A list of errors associated with the operationid */\n operationErrors?: OperationErrorDetails[];\n /** Request level error code */\n requestErrorCode?: string;\n /** Request level error details */\n requestErrorDetails?: string;\n}\n\nexport function operationErrorsResultDeserializer(item: any): OperationErrorsResult {\n return {\n operationId: item[\"operationId\"],\n creationTime: item[\"creationTime\"],\n activationTime: item[\"activationTime\"],\n completedAt: item[\"completedAt\"],\n operationErrors: !item[\"operationErrors\"]\n ? item[\"operationErrors\"]\n : operationErrorDetailsArrayDeserializer(item[\"operationErrors\"]),\n requestErrorCode: item[\"requestErrorCode\"],\n requestErrorDetails: item[\"requestErrorDetails\"],\n };\n}\n\nexport function operationErrorDetailsArrayDeserializer(\n result: Array<OperationErrorDetails>,\n): any[] {\n return result.map((item) => {\n return operationErrorDetailsDeserializer(item);\n });\n}\n\n/** This defines a list of operation errors associated with a unique operationId */\nexport interface OperationErrorDetails {\n /** The error code of the operation */\n errorCode: string;\n /** The error details of the operation */\n errorDetails: string;\n /** The timestamp of the error occurence */\n timestamp?: string;\n /** The timestamp of the error occurence */\n errorDetailsTimestamp?: string;\n /** The compute operationid of the Start/Deallocate/Hibernate request */\n azureOperationName?: string;\n /** The compute operationid of the Start/Deallocate/Hibernate request */\n crpOperationId?: string;\n}\n\nexport function operationErrorDetailsDeserializer(item: any): OperationErrorDetails {\n return {\n errorCode: item[\"errorCode\"],\n errorDetails: item[\"errorDetails\"],\n timestamp: item[\"timestamp\"],\n errorDetailsTimestamp: item[\"timeStamp\"],\n azureOperationName: item[\"azureOperationName\"],\n crpOperationId: item[\"crpOperationId\"],\n };\n}\n\n/** The scheduled action resource */\nexport interface ScheduledAction extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: ScheduledActionProperties;\n}\n\nexport function scheduledActionSerializer(item: ScheduledAction): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : scheduledActionPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function scheduledActionDeserializer(item: any): ScheduledAction {\n return {\n tags: item[\"tags\"],\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 properties: !item[\"properties\"]\n ? item[\"properties\"]\n : scheduledActionPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Scheduled action properties */\nexport interface ScheduledActionProperties {\n /** The type of resource the scheduled action is targeting */\n resourceType: ResourceType;\n /** The action the scheduled action should perform in the resources */\n actionType: ScheduledActionType;\n /** The time which the scheduled action is supposed to start running */\n startTime: string;\n /** The time when the scheduled action is supposed to stop scheduling */\n endTime?: string;\n /** The schedule the scheduled action is supposed to follow */\n schedule: ScheduledActionsSchedule;\n /** The notification settings for the scheduled action */\n notificationSettings: NotificationProperties[];\n /** Tell if the scheduled action is disabled or not */\n disabled?: boolean;\n /** The status of the last provisioning operation performed on the resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function scheduledActionPropertiesSerializer(item: ScheduledActionProperties): any {\n return {\n resourceType: item[\"resourceType\"],\n actionType: item[\"actionType\"],\n startTime: item[\"startTime\"],\n endTime: item[\"endTime\"],\n schedule: scheduledActionsScheduleSerializer(item[\"schedule\"]),\n notificationSettings: notificationPropertiesArraySerializer(item[\"notificationSettings\"]),\n disabled: item[\"disabled\"],\n };\n}\n\nexport function scheduledActionPropertiesDeserializer(item: any): ScheduledActionProperties {\n return {\n resourceType: item[\"resourceType\"],\n actionType: item[\"actionType\"],\n startTime: item[\"startTime\"],\n endTime: item[\"endTime\"],\n schedule: scheduledActionsScheduleDeserializer(item[\"schedule\"]),\n notificationSettings: notificationPropertiesArrayDeserializer(item[\"notificationSettings\"]),\n disabled: item[\"disabled\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The type of resource being targeted */\nexport enum KnownResourceType {\n /** Resources defined are Virtual Machines */\n VirtualMachine = \"VirtualMachine\",\n /** Resources defined are Virtual Machines Scale Sets */\n VirtualMachineScaleSet = \"VirtualMachineScaleSet\",\n}\n\n/**\n * The type of resource being targeted \\\n * {@link KnownResourceType} can be used interchangeably with ResourceType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **VirtualMachine**: Resources defined are Virtual Machines \\\n * **VirtualMachineScaleSet**: Resources defined are Virtual Machines Scale Sets\n */\nexport type ResourceType = string;\n\n/** Specify which action user wants to be performed on the resources */\nexport enum KnownScheduledActionType {\n /** Perform a start action on the specified resources */\n Start = \"Start\",\n /** Perform a deallocate action on the specified resources */\n Deallocate = \"Deallocate\",\n /** Perform hibernate and deallocate on the specified resources */\n Hibernate = \"Hibernate\",\n}\n\n/**\n * Specify which action user wants to be performed on the resources \\\n * {@link KnownScheduledActionType} can be used interchangeably with ScheduledActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Start**: Perform a start action on the specified resources \\\n * **Deallocate**: Perform a deallocate action on the specified resources \\\n * **Hibernate**: Perform hibernate and deallocate on the specified resources\n */\nexport type ScheduledActionType = string;\n\n/** Specify the schedule in which the scheduled action is supposed to follow */\nexport interface ScheduledActionsSchedule {\n /** The time the scheduled action is supposed to run on */\n scheduledTime: string;\n /** The timezone the scheduled time is specified on */\n timeZone: string;\n /** The week days the scheduled action is supposed to run on */\n requestedWeekDays: WeekDay[];\n /** The months the scheduled action is supposed to run on */\n requestedMonths: Month[];\n /** The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month. */\n requestedDaysOfTheMonth: number[];\n /** The execution parameters the scheduled action is supposed to follow */\n executionParameters?: ExecutionParameters;\n /** The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt. */\n deadlineType?: DeadlineType;\n}\n\nexport function scheduledActionsScheduleSerializer(item: ScheduledActionsSchedule): any {\n return {\n scheduledTime: item[\"scheduledTime\"],\n timeZone: item[\"timeZone\"],\n requestedWeekDays: item[\"requestedWeekDays\"].map((p: any) => {\n return p;\n }),\n requestedMonths: item[\"requestedMonths\"].map((p: any) => {\n return p;\n }),\n requestedDaysOfTheMonth: item[\"requestedDaysOfTheMonth\"].map((p: any) => {\n return p;\n }),\n executionParameters: !item[\"executionParameters\"]\n ? item[\"executionParameters\"]\n : executionParametersSerializer(item[\"executionParameters\"]),\n deadlineType: item[\"deadlineType\"],\n };\n}\n\nexport function scheduledActionsScheduleDeserializer(item: any): ScheduledActionsSchedule {\n return {\n scheduledTime: item[\"scheduledTime\"],\n timeZone: item[\"timeZone\"],\n requestedWeekDays: item[\"requestedWeekDays\"].map((p: any) => {\n return p;\n }),\n requestedMonths: item[\"requestedMonths\"].map((p: any) => {\n return p;\n }),\n requestedDaysOfTheMonth: item[\"requestedDaysOfTheMonth\"].map((p: any) => {\n return p;\n }),\n executionParameters: !item[\"executionParameters\"]\n ? item[\"executionParameters\"]\n : executionParametersDeserializer(item[\"executionParameters\"]),\n deadlineType: item[\"deadlineType\"],\n };\n}\n\n/** Representation of the possible selection of days in a week in a gregorian calendar */\nexport enum KnownWeekDay {\n /** Monday weekday. */\n Monday = \"Monday\",\n /** Tuesday weekday. */\n Tuesday = \"Tuesday\",\n /** Wednesday weekday. */\n Wednesday = \"Wednesday\",\n /** Thursday weekday. */\n Thursday = \"Thursday\",\n /** Friday weekday. */\n Friday = \"Friday\",\n /** Saturday weekday. */\n Saturday = \"Saturday\",\n /** Sunday weekday. */\n Sunday = \"Sunday\",\n /** All week days */\n All = \"All\",\n}\n\n/**\n * Representation of the possible selection of days in a week in a gregorian calendar \\\n * {@link KnownWeekDay} can be used interchangeably with WeekDay,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Monday**: Monday weekday. \\\n * **Tuesday**: Tuesday weekday. \\\n * **Wednesday**: Wednesday weekday. \\\n * **Thursday**: Thursday weekday. \\\n * **Friday**: Friday weekday. \\\n * **Saturday**: Saturday weekday. \\\n * **Sunday**: Sunday weekday. \\\n * **All**: All week days\n */\nexport type WeekDay = string;\n\n/** Representation of the months available selection in a gregorian calendar */\nexport enum KnownMonth {\n /** The January month. */\n January = \"January\",\n /** The February month. */\n February = \"February\",\n /** The March month. */\n March = \"March\",\n /** The April month. */\n April = \"April\",\n /** The May month. */\n May = \"May\",\n /** The June month. */\n June = \"June\",\n /** The July month. */\n July = \"July\",\n /** The August month. */\n August = \"August\",\n /** The September month. */\n September = \"September\",\n /** The October month. */\n October = \"October\",\n /** The November month. */\n November = \"November\",\n /** The December month. */\n December = \"December\",\n /** All months */\n All = \"All\",\n}\n\n/**\n * Representation of the months available selection in a gregorian calendar \\\n * {@link KnownMonth} can be used interchangeably with Month,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **January**: The January month. \\\n * **February**: The February month. \\\n * **March**: The March month. \\\n * **April**: The April month. \\\n * **May**: The May month. \\\n * **June**: The June month. \\\n * **July**: The July month. \\\n * **August**: The August month. \\\n * **September**: The September month. \\\n * **October**: The October month. \\\n * **November**: The November month. \\\n * **December**: The December month. \\\n * **All**: All months\n */\nexport type Month = string;\n\nexport function notificationPropertiesArraySerializer(\n result: Array<NotificationProperties>,\n): any[] {\n return result.map((item) => {\n return notificationPropertiesSerializer(item);\n });\n}\n\nexport function notificationPropertiesArrayDeserializer(\n result: Array<NotificationProperties>,\n): any[] {\n return result.map((item) => {\n return notificationPropertiesDeserializer(item);\n });\n}\n\n/** The information about notifications to be send to about upcoming operations. */\nexport interface NotificationProperties {\n /** Where the notification should be sent. For email, it should follow email format. */\n destination: string;\n /** Type of notification to be sent. */\n type: NotificationType;\n /** The language the notification should be sent on. */\n language: Language;\n /** Tells if the notification is enabled or not. */\n disabled?: boolean;\n}\n\nexport function notificationPropertiesSerializer(item: NotificationProperties): any {\n return {\n destination: item[\"destination\"],\n type: item[\"type\"],\n language: item[\"language\"],\n disabled: item[\"disabled\"],\n };\n}\n\nexport function notificationPropertiesDeserializer(item: any): NotificationProperties {\n return {\n destination: item[\"destination\"],\n type: item[\"type\"],\n language: item[\"language\"],\n disabled: item[\"disabled\"],\n };\n}\n\n/** The type of notification supported */\nexport enum KnownNotificationType {\n /** Notify through e-mail */\n Email = \"Email\",\n}\n\n/**\n * The type of notification supported \\\n * {@link KnownNotificationType} can be used interchangeably with NotificationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Email**: Notify through e-mail\n */\nexport type NotificationType = string;\n\n/** The notification languages currently supported */\nexport enum KnownLanguage {\n /** American english language */\n EnUs = \"en-us\",\n}\n\n/**\n * The notification languages currently supported \\\n * {@link KnownLanguage} can be used interchangeably with Language,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **en-us**: American english language\n */\nexport type Language = string;\n\n/** Provisioning state */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** Resource is being deleted. */\n Deleting = \"Deleting\",\n}\n\n/**\n * Provisioning state \\\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 * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Deleting**: Resource is being deleted.\n */\nexport type ProvisioningState = string;\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 location: item[\"location\"],\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 item;\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/** The provisioning state of a resource type. */\nexport enum KnownResourceProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n}\n\n/**\n * The provisioning state of a resource type. \\\n * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled.\n */\nexport type ResourceProvisioningState = string;\n\n/** The type used for update operations of the ScheduledAction. */\nexport interface ScheduledActionUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: ScheduledActionUpdateProperties;\n}\n\nexport function scheduledActionUpdateSerializer(item: ScheduledActionUpdate): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : scheduledActionUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the ScheduledAction. */\nexport interface ScheduledActionUpdateProperties {\n /** The type of resource the scheduled action is targeting */\n resourceType?: ResourceType;\n /** The action the scheduled action should perform in the resources */\n actionType?: ScheduledActionType;\n /** The time which the scheduled action is supposed to start running */\n startTime?: string;\n /** The time when the scheduled action is supposed to stop scheduling */\n endTime?: string;\n /** The schedule the scheduled action is supposed to follow */\n schedule?: ScheduledActionsSchedule;\n /** The notification settings for the scheduled action */\n notificationSettings?: NotificationProperties[];\n /** Tell if the scheduled action is disabled or not */\n disabled?: boolean;\n}\n\nexport function scheduledActionUpdatePropertiesSerializer(\n item: ScheduledActionUpdateProperties,\n): any {\n return {\n resourceType: item[\"resourceType\"],\n actionType: item[\"actionType\"],\n startTime: item[\"startTime\"],\n endTime: item[\"endTime\"],\n schedule: !item[\"schedule\"]\n ? item[\"schedule\"]\n : scheduledActionsScheduleSerializer(item[\"schedule\"]),\n notificationSettings: !item[\"notificationSettings\"]\n ? item[\"notificationSettings\"]\n : notificationPropertiesArraySerializer(item[\"notificationSettings\"]),\n disabled: item[\"disabled\"],\n };\n}\n\n/** The response of a ScheduledAction list operation. */\nexport interface _ScheduledActionListResult {\n /** The ScheduledAction items on this page */\n value: ScheduledAction[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _scheduledActionListResultDeserializer(item: any): _ScheduledActionListResult {\n return {\n value: scheduledActionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function scheduledActionArraySerializer(result: Array<ScheduledAction>): any[] {\n return result.map((item) => {\n return scheduledActionSerializer(item);\n });\n}\n\nexport function scheduledActionArrayDeserializer(result: Array<ScheduledAction>): any[] {\n return result.map((item) => {\n return scheduledActionDeserializer(item);\n });\n}\n\n/** Paged collection of ScheduledActionResource items */\nexport interface _ResourceListResponse {\n /** The ScheduledActionResource items on this page */\n value: ScheduledActionResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _resourceListResponseDeserializer(item: any): _ResourceListResponse {\n return {\n value: scheduledActionResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function scheduledActionResourceArrayDeserializer(\n result: Array<ScheduledActionResource>,\n): any[] {\n return result.map((item) => {\n return scheduledActionResourceDeserializer(item);\n });\n}\n\n/** Represents an scheduled action resource metadata. */\nexport interface ScheduledActionResource {\n /** The name of the resource */\n readonly name: string;\n /** The compute RP resource id of the resource in the scheduled actions scope. */\n readonly id: string;\n /** The type of resource */\n readonly type?: string;\n /**\n * The ARM Id of the resource.\n * \"subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}\"\n */\n resourceId: string;\n /** The desired notification settings for the specified resource. */\n notificationSettings?: NotificationProperties[];\n}\n\nexport function scheduledActionResourceDeserializer(item: any): ScheduledActionResource {\n return {\n name: item[\"name\"],\n id: item[\"id\"],\n type: item[\"type\"],\n resourceId: item[\"resourceId\"],\n notificationSettings: !item[\"notificationSettings\"]\n ? item[\"notificationSettings\"]\n : notificationPropertiesArrayDeserializer(item[\"notificationSettings\"]),\n };\n}\n\n/** Request model to attach a list of scheduled action resources. */\nexport interface ResourceAttachRequest {\n /** List of resources to be attached/patched */\n resources: ScheduledActionResourceCreate[];\n}\n\nexport function resourceAttachRequestSerializer(item: ResourceAttachRequest): any {\n return {\n resources: scheduledActionResourceCreateArraySerializer(item[\"resources\"]),\n };\n}\n\nexport function scheduledActionResourceCreateArraySerializer(\n result: Array<ScheduledActionResourceCreate>,\n): any[] {\n return result.map((item) => {\n return scheduledActionResourceCreateSerializer(item);\n });\n}\n\n/** Represents an scheduled action resource metadata. */\nexport interface ScheduledActionResourceCreate {\n /**\n * The ARM Id of the resource.\n * \"subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}\"\n */\n resourceId: string;\n /** The desired notification settings for the specified resource. */\n notificationSettings?: NotificationProperties[];\n}\n\nexport function scheduledActionResourceCreateSerializer(item: ScheduledActionResourceCreate): any {\n return {\n resourceId: item[\"resourceId\"],\n notificationSettings: !item[\"notificationSettings\"]\n ? item[\"notificationSettings\"]\n : notificationPropertiesArraySerializer(item[\"notificationSettings\"]),\n };\n}\n\n/** The response from scheduled action resource requests, which contains the status of each resource */\nexport interface RecurringActionsResourceOperationResult {\n /** The total number of resources operated on */\n totalResources: number;\n /** The resource status of for each resource */\n resourcesStatuses: ResourceStatus[];\n}\n\nexport function recurringActionsResourceOperationResultDeserializer(\n item: any,\n): RecurringActionsResourceOperationResult {\n return {\n totalResources: item[\"totalResources\"],\n resourcesStatuses: resourceStatusArrayDeserializer(item[\"resourcesStatuses\"]),\n };\n}\n\nexport function resourceStatusArrayDeserializer(result: Array<ResourceStatus>): any[] {\n return result.map((item) => {\n return resourceStatusDeserializer(item);\n });\n}\n\n/** The status of a resource after a resource level operation was performed */\nexport interface ResourceStatus {\n /** The arm identifier of the resource */\n resourceId: string;\n /** The state the resource is currently on */\n status: ResourceOperationStatus;\n /** Errors encountered while trying to perform */\n error?: ErrorModel;\n}\n\nexport function resourceStatusDeserializer(item: any): ResourceStatus {\n return {\n resourceId: item[\"resourceId\"],\n status: item[\"status\"],\n error: !item[\"error\"] ? item[\"error\"] : item[\"error\"],\n };\n}\n\n/** The state the resource is on after the resource operation is applied */\nexport enum KnownResourceOperationStatus {\n /** The resource operation was successful */\n Succeeded = \"Succeeded\",\n /** The resource operation has failed. */\n Failed = \"Failed\",\n}\n\n/**\n * The state the resource is on after the resource operation is applied \\\n * {@link KnownResourceOperationStatus} can be used interchangeably with ResourceOperationStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: The resource operation was successful \\\n * **Failed**: The resource operation has failed.\n */\nexport type ResourceOperationStatus = string;\n\n/** Request model to detach a list of scheduled action resources. */\nexport interface ResourceDetachRequest {\n /** List of resources to be detached */\n resources: string[];\n}\n\nexport function resourceDetachRequestSerializer(item: ResourceDetachRequest): any {\n return {\n resources: item[\"resources\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Request model perform a resource operation in a list of resources */\nexport interface ResourcePatchRequest {\n /** The list of resources we watch to patch */\n resources: ScheduledActionResourceCreate[];\n}\n\nexport function resourcePatchRequestSerializer(item: ResourcePatchRequest): any {\n return {\n resources: scheduledActionResourceCreateArraySerializer(item[\"resources\"]),\n };\n}\n\n/** The request to cancel an occurrence. */\nexport interface CancelOccurrenceRequest {\n /** The resources the cancellation should act on. If no resource is passed in the list, Scheduled Action will cancel the occurrence for all resources. */\n resourceIds: string[];\n}\n\nexport function cancelOccurrenceRequestSerializer(item: CancelOccurrenceRequest): any {\n return {\n resourceIds: item[\"resourceIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */\nexport interface Occurrence extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: OccurrenceProperties;\n}\n\nexport function occurrenceDeserializer(item: any): Occurrence {\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 : occurrencePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties for an occurrence */\nexport interface OccurrenceProperties {\n /** The time the occurrence is scheduled for. This value can be changed by calling the delay API */\n readonly scheduledTime: Date;\n /** The result for occurrences that achieved a terminal state */\n readonly resultSummary: OccurrenceResultSummary;\n /** The aggregated provisioning state of the occurrence */\n readonly provisioningState?: OccurrenceState;\n}\n\nexport function occurrencePropertiesDeserializer(item: any): OccurrenceProperties {\n return {\n scheduledTime: new Date(item[\"scheduledTime\"]),\n resultSummary: occurrenceResultSummaryDeserializer(item[\"resultSummary\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The summarized provisioning result of an occurrence */\nexport interface OccurrenceResultSummary {\n /** The total number of resources that the occurrence was supposed to act on. */\n total: number;\n /** The summarized status of the resources. */\n statuses: ResourceResultSummary[];\n}\n\nexport function occurrenceResultSummaryDeserializer(item: any): OccurrenceResultSummary {\n return {\n total: item[\"total\"],\n statuses: resourceResultSummaryArrayDeserializer(item[\"statuses\"]),\n };\n}\n\nexport function resourceResultSummaryArrayDeserializer(\n result: Array<ResourceResultSummary>,\n): any[] {\n return result.map((item) => {\n return resourceResultSummaryDeserializer(item);\n });\n}\n\n/** The status of the resources */\nexport interface ResourceResultSummary {\n /** The error code for those resources. In case of success, code is populated with Success. */\n code: string;\n /** The number of resources that the code applies to. */\n count: number;\n /** The error details for the resources. Not populated on success cases. */\n errorDetails?: ErrorModel;\n}\n\nexport function resourceResultSummaryDeserializer(item: any): ResourceResultSummary {\n return {\n code: item[\"code\"],\n count: item[\"count\"],\n errorDetails: !item[\"errorDetails\"] ? item[\"errorDetails\"] : item[\"errorDetails\"],\n };\n}\n\n/** The state the occurrence is at a given time */\nexport enum KnownOccurrenceState {\n /** The occurrence was created */\n Created = \"Created\",\n /** The occurrence is being rescheduled */\n Rescheduling = \"Rescheduling\",\n /** The occurrence has been scheduled */\n Scheduled = \"Scheduled\",\n /** The occurrence has successfully ran */\n Succeeded = \"Succeeded\",\n /** The occurrence has failed during its scheduling */\n Failed = \"Failed\",\n /** The occurrence is going through cancellation */\n Cancelling = \"Cancelling\",\n /** The occurrence has been canceled */\n Canceled = \"Canceled\",\n}\n\n/**\n * The state the occurrence is at a given time \\\n * {@link KnownOccurrenceState} can be used interchangeably with OccurrenceState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Created**: The occurrence was created \\\n * **Rescheduling**: The occurrence is being rescheduled \\\n * **Scheduled**: The occurrence has been scheduled \\\n * **Succeeded**: The occurrence has successfully ran \\\n * **Failed**: The occurrence has failed during its scheduling \\\n * **Cancelling**: The occurrence is going through cancellation \\\n * **Canceled**: The occurrence has been canceled\n */\nexport type OccurrenceState = 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 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/** The response of a ScheduledActionResources list operation. */\nexport interface _ScheduledActionResourcesListResult {\n /** The ScheduledActionResources items on this page */\n value: ScheduledActionResources[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _scheduledActionResourcesListResultDeserializer(\n item: any,\n): _ScheduledActionResourcesListResult {\n return {\n value: scheduledActionResourcesArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function scheduledActionResourcesArrayDeserializer(\n result: Array<ScheduledActionResources>,\n): any[] {\n return result.map((item) => {\n return scheduledActionResourcesDeserializer(item);\n });\n}\n\n/** The scheduled action extension */\nexport interface ScheduledActionResources extends ExtensionResource {\n /** The resource-specific properties for this resource. */\n properties?: ScheduledActionProperties;\n}\n\nexport function scheduledActionResourcesDeserializer(item: any): ScheduledActionResources {\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 : scheduledActionPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The base extension resource. */\nexport interface ExtensionResource extends Resource {}\n\nexport function extensionResourceDeserializer(item: any): ExtensionResource {\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/** The response of a Occurrence list operation. */\nexport interface _OccurrenceListResult {\n /** The Occurrence items on this page */\n value: Occurrence[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _occurrenceListResultDeserializer(item: any): _OccurrenceListResult {\n return {\n value: occurrenceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function occurrenceArrayDeserializer(result: Array<Occurrence>): any[] {\n return result.map((item) => {\n return occurrenceDeserializer(item);\n });\n}\n\n/** Paged collection of OccurrenceResource items */\nexport interface _OccurrenceResourceListResponse {\n /** The OccurrenceResource items on this page */\n value: OccurrenceResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _occurrenceResourceListResponseDeserializer(\n item: any,\n): _OccurrenceResourceListResponse {\n return {\n value: occurrenceResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function occurrenceResourceArrayDeserializer(result: Array<OccurrenceResource>): any[] {\n return result.map((item) => {\n return occurrenceResourceDeserializer(item);\n });\n}\n\n/** Represents an scheduled action resource metadata. */\nexport interface OccurrenceResource {\n /** The name of the resource */\n readonly name: string;\n /** The compute RP resource id of the resource in the scheduled actions scope. */\n readonly id: string;\n /** The type of resource */\n readonly type?: string;\n /**\n * The ARM Id of the resource.\n * \"subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}\"\n */\n resourceId: string;\n /** The desired notification settings for the specified resource. */\n notificationSettings?: NotificationProperties[];\n /** The time the occurrence is scheduled for the resource. */\n readonly scheduledTime: Date;\n /** The current state of the resource */\n readonly provisioningState?: ResourceProvisioningState;\n /** Error details for the resource. Only populated if resource is in failed state. */\n readonly errorDetails?: ErrorModel;\n}\n\nexport function occurrenceResourceDeserializer(item: any): OccurrenceResource {\n return {\n name: item[\"name\"],\n id: item[\"id\"],\n type: item[\"type\"],\n resourceId: item[\"resourceId\"],\n notificationSettings: !item[\"notificationSettings\"]\n ? item[\"notificationSettings\"]\n : notificationPropertiesArrayDeserializer(item[\"notificationSettings\"]),\n scheduledTime: new Date(item[\"scheduledTime\"]),\n provisioningState: item[\"provisioningState\"],\n errorDetails: !item[\"errorDetails\"] ? item[\"errorDetails\"] : item[\"errorDetails\"],\n };\n}\n\n/** Request to ask for a delay in an occurrence, delay should be set to client local time eg (ACST) 2025-05-30T22:03:00+09:30, (PST) 2025-05-30T06:35:00-07:00 */\nexport interface DelayRequest {\n /** The exact time to delay the operations to */\n delay: string;\n /** The resources that should be delayed. If empty, the delay will apply to the all resources in the occurrence. */\n resourceIds: string[];\n}\n\nexport function delayRequestSerializer(item: DelayRequest): any {\n return {\n delay: item[\"delay\"],\n resourceIds: item[\"resourceIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The response of a OccurrenceExtensionResource list operation. */\nexport interface _OccurrenceExtensionResourceListResult {\n /** The OccurrenceExtensionResource items on this page */\n value: OccurrenceExtensionResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _occurrenceExtensionResourceListResultDeserializer(\n item: any,\n): _OccurrenceExtensionResourceListResult {\n return {\n value: occurrenceExtensionResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function occurrenceExtensionResourceArrayDeserializer(\n result: Array<OccurrenceExtensionResource>,\n): any[] {\n return result.map((item) => {\n return occurrenceExtensionResourceDeserializer(item);\n });\n}\n\n/** The scheduled action extension */\nexport interface OccurrenceExtensionResource extends ExtensionResource {\n /** The resource-specific properties for this resource. */\n properties?: OccurrenceExtensionProperties;\n}\n\nexport function occurrenceExtensionResourceDeserializer(item: any): OccurrenceExtensionResource {\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 : occurrenceExtensionPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The properties of the occurrence extension */\nexport interface OccurrenceExtensionProperties {\n /**\n * The ARM Id of the resource.\n * \"subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}\"\n */\n resourceId: string;\n /** The desired notification settings for the specified resource. */\n notificationSettings?: NotificationProperties[];\n /** The time the occurrence is scheduled for the resource. Specified in UTC. */\n readonly scheduledTime: Date;\n /** The current state of the resource */\n readonly provisioningState?: ResourceProvisioningState;\n /** Error details for the resource. Only populated if resource is in failed state. */\n readonly errorDetails?: ErrorModel;\n /** The arm identifier of the scheduled action the occurrence belongs to */\n scheduledActionId: string;\n}\n\nexport function occurrenceExtensionPropertiesDeserializer(\n item: any,\n): OccurrenceExtensionProperties {\n return {\n resourceId: item[\"resourceId\"],\n notificationSettings: !item[\"notificationSettings\"]\n ? item[\"notificationSettings\"]\n : notificationPropertiesArrayDeserializer(item[\"notificationSettings\"]),\n scheduledTime: new Date(item[\"scheduledTime\"]),\n provisioningState: item[\"provisioningState\"],\n errorDetails: !item[\"errorDetails\"] ? item[\"errorDetails\"] : item[\"errorDetails\"],\n scheduledActionId: item[\"scheduledActionId\"],\n };\n}\n\n/** ComputeSchedule API versions */\nexport enum KnownVersions {\n /** 2024-08-15-preview version */\n V20240815Preview = \"2024-08-15-preview\",\n /** 2024-10-01 version */\n \"V2024-10-01\" = \"2024-10-01\",\n /** 2025-05-01 version */\n V20250501 = \"2025-05-01\",\n /** 2025-04-15-preview version */\n V20250415Preview = \"2025-04-15-preview\",\n}\n"]}
@@ -0,0 +1,21 @@
1
+ import { ComputeScheduleClient } from "./computeScheduleClient.js";
2
+ import { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
3
+ import { AbortSignalLike } from "@azure/abort-controller";
4
+ import { 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: ComputeScheduleClient, 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,100 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.restorePoller = restorePoller;
6
+ const operations_js_1 = require("./api/occurrences/operations.js");
7
+ const operations_js_2 = require("./api/scheduledActions/operations.js");
8
+ const pollingHelpers_js_1 = require("./static-helpers/pollingHelpers.js");
9
+ const core_lro_1 = require("@azure/core-lro");
10
+ /**
11
+ * Creates a poller from the serialized state of another poller. This can be
12
+ * useful when you want to create pollers on a different host or a poller
13
+ * needs to be constructed after the original one is not in scope.
14
+ */
15
+ function restorePoller(client, serializedState, sourceOperation, options) {
16
+ const pollerConfig = (0, core_lro_1.deserializeState)(serializedState).config;
17
+ const { initialRequestUrl, requestMethod, metadata } = pollerConfig;
18
+ if (!initialRequestUrl || !requestMethod) {
19
+ throw new Error(`Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`);
20
+ }
21
+ const resourceLocationConfig = metadata?.["resourceLocationConfig"];
22
+ const { deserializer, expectedStatuses = [] } = getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};
23
+ const deserializeHelper = options?.processResponseBody ?? deserializer;
24
+ if (!deserializeHelper) {
25
+ throw new Error(`Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`);
26
+ }
27
+ return (0, pollingHelpers_js_1.getLongRunningPoller)(client["_client"] ?? client, deserializeHelper, expectedStatuses, {
28
+ updateIntervalInMs: options?.updateIntervalInMs,
29
+ abortSignal: options?.abortSignal,
30
+ resourceLocationConfig,
31
+ restoreFrom: serializedState,
32
+ initialRequestUrl,
33
+ });
34
+ }
35
+ const deserializeMap = {
36
+ "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences/{occurrenceId}/delay": { deserializer: operations_js_1._delayDeserialize, expectedStatuses: ["202", "200"] },
37
+ "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}": {
38
+ deserializer: operations_js_2._$deleteDeserialize,
39
+ expectedStatuses: ["202", "204", "200"],
40
+ },
41
+ "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}": {
42
+ deserializer: operations_js_2._createOrUpdateDeserialize,
43
+ expectedStatuses: ["200", "201", "202"],
44
+ },
45
+ };
46
+ function getDeserializationHelper(urlStr, method) {
47
+ const path = new URL(urlStr).pathname;
48
+ const pathParts = path.split("/");
49
+ // Traverse list to match the longest candidate
50
+ // matchedLen: the length of candidate path
51
+ // matchedValue: the matched status code array
52
+ let matchedLen = -1, matchedValue;
53
+ // Iterate the responseMap to find a match
54
+ for (const [key, value] of Object.entries(deserializeMap)) {
55
+ // Extracting the path from the map key which is in format
56
+ // GET /path/foo
57
+ if (!key.startsWith(method)) {
58
+ continue;
59
+ }
60
+ const candidatePath = getPathFromMapKey(key);
61
+ // Get each part of the url path
62
+ const candidateParts = candidatePath.split("/");
63
+ // track if we have found a match to return the values found.
64
+ let found = true;
65
+ for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
66
+ if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) {
67
+ const start = candidateParts[i].indexOf("}") + 1, end = candidateParts[i]?.length;
68
+ // If the current part of the candidate is a "template" part
69
+ // Try to use the suffix of pattern to match the path
70
+ // {guid} ==> $
71
+ // {guid}:export ==> :export$
72
+ const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(pathParts[j] || "");
73
+ if (!isMatched) {
74
+ found = false;
75
+ break;
76
+ }
77
+ continue;
78
+ }
79
+ // If the candidate part is not a template and
80
+ // the parts don't match mark the candidate as not found
81
+ // to move on with the next candidate path.
82
+ if (candidateParts[i] !== pathParts[j]) {
83
+ found = false;
84
+ break;
85
+ }
86
+ }
87
+ // We finished evaluating the current candidate parts
88
+ // Update the matched value if and only if we found the longer pattern
89
+ if (found && candidatePath.length > matchedLen) {
90
+ matchedLen = candidatePath.length;
91
+ matchedValue = value;
92
+ }
93
+ }
94
+ return matchedValue;
95
+ }
96
+ function getPathFromMapKey(mapKey) {
97
+ const pathStart = mapKey.indexOf("/");
98
+ return mapKey.slice(pathStart);
99
+ }
100
+ //# sourceMappingURL=restorePollerHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restorePollerHelpers.js","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":";AAA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ourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ComputeScheduleClient } from \"./computeScheduleClient.js\";\nimport { _delayDeserialize } from \"./api/occurrences/operations.js\";\nimport {\n _$deleteDeserialize,\n _createOrUpdateDeserialize,\n} from \"./api/scheduledActions/operations.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport {\n PollerLike,\n OperationState,\n deserializeState,\n ResourceLocationConfig,\n} 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: ComputeScheduleClient,\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 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 },\n );\n}\n\ninterface DeserializationHelper {\n deserializer: Function;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences/{occurrenceId}/delay\":\n { deserializer: _delayDeserialize, expectedStatuses: [\"202\", \"200\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}\":\n {\n deserializer: _$deleteDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}\":\n {\n deserializer: _createOrUpdateDeserialize,\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"]}
@@ -0,0 +1,13 @@
1
+ /** An enum to describe Azure Cloud. */
2
+ export declare enum AzureClouds {
3
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
4
+ AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
5
+ /** Azure China cloud */
6
+ AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
7
+ /** Azure US government cloud */
8
+ AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
9
+ }
10
+ /** The supported values for cloud setting as a string literal type */
11
+ export type AzureSupportedClouds = `${AzureClouds}`;
12
+ export declare function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined;
13
+ //# sourceMappingURL=cloudSettingHelpers.d.ts.map
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.AzureClouds = void 0;
6
+ exports.getArmEndpoint = getArmEndpoint;
7
+ /** An enum to describe Azure Cloud. */
8
+ var AzureClouds;
9
+ (function (AzureClouds) {
10
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
11
+ AzureClouds["AZURE_PUBLIC_CLOUD"] = "AZURE_PUBLIC_CLOUD";
12
+ /** Azure China cloud */
13
+ AzureClouds["AZURE_CHINA_CLOUD"] = "AZURE_CHINA_CLOUD";
14
+ /** Azure US government cloud */
15
+ AzureClouds["AZURE_US_GOVERNMENT"] = "AZURE_US_GOVERNMENT";
16
+ })(AzureClouds || (exports.AzureClouds = AzureClouds = {}));
17
+ function getArmEndpoint(cloudSetting) {
18
+ if (cloudSetting === undefined) {
19
+ return undefined;
20
+ }
21
+ const cloudEndpoints = {
22
+ AZURE_CHINA_CLOUD: "https://management.chinacloudapi.cn/",
23
+ AZURE_US_GOVERNMENT: "https://management.usgovcloudapi.net/",
24
+ AZURE_PUBLIC_CLOUD: "https://management.azure.com/",
25
+ };
26
+ if (cloudSetting in cloudEndpoints) {
27
+ return cloudEndpoints[cloudSetting];
28
+ }
29
+ else {
30
+ throw new Error(`Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`);
31
+ }
32
+ }
33
+ //# sourceMappingURL=cloudSettingHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudSettingHelpers.js","sourceRoot":"","sources":["../../../src/static-helpers/cloudSettingHelpers.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAelC,wCAgBC;AA7BD,uCAAuC;AACvC,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,qEAAqE;IACrE,wDAAyC,CAAA;IACzC,wBAAwB;IACxB,sDAAuC,CAAA;IACvC,gCAAgC;IAChC,0DAA2C,CAAA;AAC7C,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AAKD,SAAgB,cAAc,CAAC,YAAmC;IAChE,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,cAAc,GAA6C;QAC/D,iBAAiB,EAAE,sCAAsC;QACzD,mBAAmB,EAAE,uCAAuC;QAC5D,kBAAkB,EAAE,+BAA+B;KACpD,CAAC;IACF,IAAI,YAAY,IAAI,cAAc,EAAE,CAAC;QACnC,OAAO,cAAc,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,KAAK,CACb,0BAA0B,YAAY,6DAA6D,CACpG,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** An enum to describe Azure Cloud. */\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\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"]}
@@ -0,0 +1,30 @@
1
+ import { PollerLike, OperationState, ResourceLocationConfig } from "@azure/core-lro";
2
+ import { Client, PathUncheckedResponse } from "@azure-rest/core-client";
3
+ import { AbortSignalLike } from "@azure/abort-controller";
4
+ export interface GetLongRunningPollerOptions<TResponse> {
5
+ /** Delay to wait until next poll, in milliseconds. */
6
+ updateIntervalInMs?: number;
7
+ /**
8
+ * The signal which can be used to abort requests.
9
+ */
10
+ abortSignal?: AbortSignalLike;
11
+ /**
12
+ * The potential location of the result of the LRO if specified by the LRO extension in the swagger.
13
+ */
14
+ resourceLocationConfig?: ResourceLocationConfig;
15
+ /**
16
+ * The original url of the LRO
17
+ * Should not be null when restoreFrom is set
18
+ */
19
+ initialRequestUrl?: string;
20
+ /**
21
+ * A serialized poller which can be used to resume an existing paused Long-Running-Operation.
22
+ */
23
+ restoreFrom?: string;
24
+ /**
25
+ * The function to get the initial response
26
+ */
27
+ getInitialResponse?: () => PromiseLike<TResponse>;
28
+ }
29
+ export declare function getLongRunningPoller<TResponse extends PathUncheckedResponse, TResult = void>(client: Client, processResponseBody: (result: TResponse) => Promise<TResult>, expectedStatuses: string[], options: GetLongRunningPollerOptions<TResponse>): PollerLike<OperationState<TResult>, TResult>;
30
+ //# sourceMappingURL=pollingHelpers.d.ts.map