@azure/arm-computeschedule 1.2.0-beta.1 → 2.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (361) hide show
  1. package/dist/browser/api/computeScheduleContext.d.ts +6 -6
  2. package/dist/browser/api/computeScheduleContext.js +4 -23
  3. package/dist/browser/api/computeScheduleContext.js.map +1 -1
  4. package/dist/browser/api/index.d.ts +2 -1
  5. package/dist/browser/api/index.js +1 -1
  6. package/dist/browser/api/index.js.map +1 -1
  7. package/dist/browser/api/occurrenceExtension/index.d.ts +1 -1
  8. package/dist/browser/api/occurrenceExtension/index.js.map +1 -1
  9. package/dist/browser/api/occurrenceExtension/operations.d.ts +5 -5
  10. package/dist/browser/api/occurrenceExtension/operations.js +11 -14
  11. package/dist/browser/api/occurrenceExtension/operations.js.map +1 -1
  12. package/dist/browser/api/occurrenceExtension/options.d.ts +1 -1
  13. package/dist/browser/api/occurrenceExtension/options.js.map +1 -1
  14. package/dist/browser/api/occurrences/index.d.ts +1 -1
  15. package/dist/browser/api/occurrences/index.js.map +1 -1
  16. package/dist/browser/api/occurrences/operations.d.ts +6 -6
  17. package/dist/browser/api/occurrences/operations.js +27 -37
  18. package/dist/browser/api/occurrences/operations.js.map +1 -1
  19. package/dist/browser/api/occurrences/options.d.ts +1 -1
  20. package/dist/browser/api/occurrences/options.js.map +1 -1
  21. package/dist/browser/api/operations/index.d.ts +1 -1
  22. package/dist/browser/api/operations/index.js.map +1 -1
  23. package/dist/browser/api/operations/operations.d.ts +5 -5
  24. package/dist/browser/api/operations/operations.js +9 -8
  25. package/dist/browser/api/operations/operations.js.map +1 -1
  26. package/dist/browser/api/operations/options.d.ts +1 -1
  27. package/dist/browser/api/operations/options.js.map +1 -1
  28. package/dist/browser/api/scheduledActionExtension/index.d.ts +1 -1
  29. package/dist/browser/api/scheduledActionExtension/index.js.map +1 -1
  30. package/dist/browser/api/scheduledActionExtension/operations.d.ts +5 -5
  31. package/dist/browser/api/scheduledActionExtension/operations.js +11 -14
  32. package/dist/browser/api/scheduledActionExtension/operations.js.map +1 -1
  33. package/dist/browser/api/scheduledActionExtension/options.d.ts +1 -1
  34. package/dist/browser/api/scheduledActionExtension/options.js.map +1 -1
  35. package/dist/browser/api/scheduledActions/index.d.ts +2 -2
  36. package/dist/browser/api/scheduledActions/index.js +1 -1
  37. package/dist/browser/api/scheduledActions/index.js.map +1 -1
  38. package/dist/browser/api/scheduledActions/operations.d.ts +16 -17
  39. package/dist/browser/api/scheduledActions/operations.js +142 -264
  40. package/dist/browser/api/scheduledActions/operations.js.map +1 -1
  41. package/dist/browser/api/scheduledActions/options.d.ts +4 -1
  42. package/dist/browser/api/scheduledActions/options.js.map +1 -1
  43. package/dist/browser/classic/index.d.ts +5 -5
  44. package/dist/browser/classic/index.js.map +1 -1
  45. package/dist/browser/classic/occurrenceExtension/index.d.ts +4 -4
  46. package/dist/browser/classic/occurrenceExtension/index.js.map +1 -1
  47. package/dist/browser/classic/occurrences/index.d.ts +5 -5
  48. package/dist/browser/classic/occurrences/index.js.map +1 -1
  49. package/dist/browser/classic/operations/index.d.ts +4 -4
  50. package/dist/browser/classic/operations/index.js.map +1 -1
  51. package/dist/browser/classic/scheduledActionExtension/index.d.ts +4 -4
  52. package/dist/browser/classic/scheduledActionExtension/index.js.map +1 -1
  53. package/dist/browser/classic/scheduledActions/index.d.ts +11 -14
  54. package/dist/browser/classic/scheduledActions/index.js +2 -1
  55. package/dist/browser/classic/scheduledActions/index.js.map +1 -1
  56. package/dist/browser/computeScheduleClient.d.ts +10 -10
  57. package/dist/browser/computeScheduleClient.js +14 -6
  58. package/dist/browser/computeScheduleClient.js.map +1 -1
  59. package/dist/browser/index.d.ts +17 -13
  60. package/dist/browser/index.js +1 -1
  61. package/dist/browser/index.js.map +1 -1
  62. package/dist/browser/models/index.d.ts +2 -1
  63. package/dist/browser/models/index.js +1 -1
  64. package/dist/browser/models/index.js.map +1 -1
  65. package/dist/browser/models/models.d.ts +1627 -44
  66. package/dist/browser/models/models.js +1185 -38
  67. package/dist/browser/models/models.js.map +1 -1
  68. package/dist/browser/restorePollerHelpers.d.ts +4 -4
  69. package/dist/browser/restorePollerHelpers.js +10 -10
  70. package/dist/browser/restorePollerHelpers.js.map +1 -1
  71. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +10 -1
  72. package/dist/browser/static-helpers/cloudSettingHelpers.js +10 -1
  73. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -1
  74. package/dist/browser/static-helpers/pagingHelpers.d.ts +3 -1
  75. package/dist/browser/static-helpers/pagingHelpers.js +28 -3
  76. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  77. package/dist/browser/static-helpers/pollingHelpers.d.ts +7 -3
  78. package/dist/browser/static-helpers/pollingHelpers.js +19 -3
  79. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  80. package/dist/browser/static-helpers/urlTemplate.js +41 -10
  81. package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
  82. package/dist/commonjs/api/computeScheduleContext.d.ts +6 -6
  83. package/dist/commonjs/api/computeScheduleContext.js +43 -44
  84. package/dist/commonjs/api/computeScheduleContext.js.map +7 -1
  85. package/dist/commonjs/api/index.d.ts +2 -1
  86. package/dist/commonjs/api/index.js +28 -8
  87. package/dist/commonjs/api/index.js.map +7 -1
  88. package/dist/commonjs/api/occurrenceExtension/index.d.ts +1 -1
  89. package/dist/commonjs/api/occurrenceExtension/index.js +28 -8
  90. package/dist/commonjs/api/occurrenceExtension/index.js.map +7 -1
  91. package/dist/commonjs/api/occurrenceExtension/operations.d.ts +5 -5
  92. package/dist/commonjs/api/occurrenceExtension/operations.js +69 -40
  93. package/dist/commonjs/api/occurrenceExtension/operations.js.map +7 -1
  94. package/dist/commonjs/api/occurrenceExtension/options.d.ts +1 -1
  95. package/dist/commonjs/api/occurrenceExtension/options.js +16 -5
  96. package/dist/commonjs/api/occurrenceExtension/options.js.map +7 -1
  97. package/dist/commonjs/api/occurrences/index.d.ts +1 -1
  98. package/dist/commonjs/api/occurrences/index.js +36 -12
  99. package/dist/commonjs/api/occurrences/index.js.map +7 -1
  100. package/dist/commonjs/api/occurrences/operations.d.ts +6 -6
  101. package/dist/commonjs/api/occurrences/operations.js +231 -166
  102. package/dist/commonjs/api/occurrences/operations.js.map +7 -1
  103. package/dist/commonjs/api/occurrences/options.d.ts +1 -1
  104. package/dist/commonjs/api/occurrences/options.js +16 -5
  105. package/dist/commonjs/api/occurrences/options.js.map +7 -1
  106. package/dist/commonjs/api/operations/index.d.ts +1 -1
  107. package/dist/commonjs/api/operations/index.js +28 -8
  108. package/dist/commonjs/api/operations/index.js.map +7 -1
  109. package/dist/commonjs/api/operations/operations.d.ts +5 -5
  110. package/dist/commonjs/api/operations/operations.js +66 -33
  111. package/dist/commonjs/api/operations/operations.js.map +7 -1
  112. package/dist/commonjs/api/operations/options.d.ts +1 -1
  113. package/dist/commonjs/api/operations/options.js +16 -5
  114. package/dist/commonjs/api/operations/options.js.map +7 -1
  115. package/dist/commonjs/api/scheduledActionExtension/index.d.ts +1 -1
  116. package/dist/commonjs/api/scheduledActionExtension/index.js +28 -8
  117. package/dist/commonjs/api/scheduledActionExtension/index.js.map +7 -1
  118. package/dist/commonjs/api/scheduledActionExtension/operations.d.ts +5 -5
  119. package/dist/commonjs/api/scheduledActionExtension/operations.js +69 -40
  120. package/dist/commonjs/api/scheduledActionExtension/operations.js.map +7 -1
  121. package/dist/commonjs/api/scheduledActionExtension/options.d.ts +1 -1
  122. package/dist/commonjs/api/scheduledActionExtension/options.js +16 -5
  123. package/dist/commonjs/api/scheduledActionExtension/options.js.map +7 -1
  124. package/dist/commonjs/api/scheduledActions/index.d.ts +2 -2
  125. package/dist/commonjs/api/scheduledActions/index.js +78 -32
  126. package/dist/commonjs/api/scheduledActions/index.js.map +7 -1
  127. package/dist/commonjs/api/scheduledActions/operations.d.ts +16 -17
  128. package/dist/commonjs/api/scheduledActions/operations.js +1048 -878
  129. package/dist/commonjs/api/scheduledActions/operations.js.map +7 -1
  130. package/dist/commonjs/api/scheduledActions/options.d.ts +4 -1
  131. package/dist/commonjs/api/scheduledActions/options.js +16 -5
  132. package/dist/commonjs/api/scheduledActions/options.js.map +7 -1
  133. package/dist/commonjs/classic/index.d.ts +5 -5
  134. package/dist/commonjs/classic/index.js +16 -5
  135. package/dist/commonjs/classic/index.js.map +7 -1
  136. package/dist/commonjs/classic/occurrenceExtension/index.d.ts +4 -4
  137. package/dist/commonjs/classic/occurrenceExtension/index.js +34 -13
  138. package/dist/commonjs/classic/occurrenceExtension/index.js.map +7 -1
  139. package/dist/commonjs/classic/occurrences/index.d.ts +5 -5
  140. package/dist/commonjs/classic/occurrences/index.js +38 -17
  141. package/dist/commonjs/classic/occurrences/index.js.map +7 -1
  142. package/dist/commonjs/classic/operations/index.d.ts +4 -4
  143. package/dist/commonjs/classic/operations/index.js +34 -13
  144. package/dist/commonjs/classic/operations/index.js.map +7 -1
  145. package/dist/commonjs/classic/scheduledActionExtension/index.d.ts +4 -4
  146. package/dist/commonjs/classic/scheduledActionExtension/index.js +34 -13
  147. package/dist/commonjs/classic/scheduledActionExtension/index.js.map +7 -1
  148. package/dist/commonjs/classic/scheduledActions/index.d.ts +11 -14
  149. package/dist/commonjs/classic/scheduledActions/index.js +59 -37
  150. package/dist/commonjs/classic/scheduledActions/index.js.map +7 -1
  151. package/dist/commonjs/computeScheduleClient.d.ts +10 -10
  152. package/dist/commonjs/computeScheduleClient.js +67 -42
  153. package/dist/commonjs/computeScheduleClient.js.map +7 -1
  154. package/dist/commonjs/index.d.ts +17 -13
  155. package/dist/commonjs/index.js +143 -31
  156. package/dist/commonjs/index.js.map +7 -1
  157. package/dist/commonjs/logger.js +29 -8
  158. package/dist/commonjs/logger.js.map +7 -1
  159. package/dist/commonjs/models/index.d.ts +2 -1
  160. package/dist/commonjs/models/index.js +134 -25
  161. package/dist/commonjs/models/index.js.map +7 -1
  162. package/dist/commonjs/models/models.d.ts +1627 -44
  163. package/dist/commonjs/models/models.js +2030 -921
  164. package/dist/commonjs/models/models.js.map +7 -1
  165. package/dist/commonjs/restorePollerHelpers.d.ts +4 -4
  166. package/dist/commonjs/restorePollerHelpers.js +99 -89
  167. package/dist/commonjs/restorePollerHelpers.js.map +7 -1
  168. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +10 -1
  169. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +50 -31
  170. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -1
  171. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +3 -1
  172. package/dist/commonjs/static-helpers/pagingHelpers.js +125 -103
  173. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
  174. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +7 -3
  175. package/dist/commonjs/static-helpers/pollingHelpers.js +95 -76
  176. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -1
  177. package/dist/commonjs/static-helpers/urlTemplate.js +167 -142
  178. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
  179. package/dist/commonjs/tsdoc-metadata.json +1 -1
  180. package/dist/esm/api/computeScheduleContext.d.ts +6 -6
  181. package/dist/esm/api/computeScheduleContext.js +4 -23
  182. package/dist/esm/api/computeScheduleContext.js.map +1 -1
  183. package/dist/esm/api/index.d.ts +2 -1
  184. package/dist/esm/api/index.js +1 -1
  185. package/dist/esm/api/index.js.map +1 -1
  186. package/dist/esm/api/occurrenceExtension/index.d.ts +1 -1
  187. package/dist/esm/api/occurrenceExtension/index.js.map +1 -1
  188. package/dist/esm/api/occurrenceExtension/operations.d.ts +5 -5
  189. package/dist/esm/api/occurrenceExtension/operations.js +11 -14
  190. package/dist/esm/api/occurrenceExtension/operations.js.map +1 -1
  191. package/dist/esm/api/occurrenceExtension/options.d.ts +1 -1
  192. package/dist/esm/api/occurrenceExtension/options.js.map +1 -1
  193. package/dist/esm/api/occurrences/index.d.ts +1 -1
  194. package/dist/esm/api/occurrences/index.js.map +1 -1
  195. package/dist/esm/api/occurrences/operations.d.ts +6 -6
  196. package/dist/esm/api/occurrences/operations.js +27 -37
  197. package/dist/esm/api/occurrences/operations.js.map +1 -1
  198. package/dist/esm/api/occurrences/options.d.ts +1 -1
  199. package/dist/esm/api/occurrences/options.js.map +1 -1
  200. package/dist/esm/api/operations/index.d.ts +1 -1
  201. package/dist/esm/api/operations/index.js.map +1 -1
  202. package/dist/esm/api/operations/operations.d.ts +5 -5
  203. package/dist/esm/api/operations/operations.js +9 -8
  204. package/dist/esm/api/operations/operations.js.map +1 -1
  205. package/dist/esm/api/operations/options.d.ts +1 -1
  206. package/dist/esm/api/operations/options.js.map +1 -1
  207. package/dist/esm/api/scheduledActionExtension/index.d.ts +1 -1
  208. package/dist/esm/api/scheduledActionExtension/index.js.map +1 -1
  209. package/dist/esm/api/scheduledActionExtension/operations.d.ts +5 -5
  210. package/dist/esm/api/scheduledActionExtension/operations.js +11 -14
  211. package/dist/esm/api/scheduledActionExtension/operations.js.map +1 -1
  212. package/dist/esm/api/scheduledActionExtension/options.d.ts +1 -1
  213. package/dist/esm/api/scheduledActionExtension/options.js.map +1 -1
  214. package/dist/esm/api/scheduledActions/index.d.ts +2 -2
  215. package/dist/esm/api/scheduledActions/index.js +1 -1
  216. package/dist/esm/api/scheduledActions/index.js.map +1 -1
  217. package/dist/esm/api/scheduledActions/operations.d.ts +16 -17
  218. package/dist/esm/api/scheduledActions/operations.js +142 -264
  219. package/dist/esm/api/scheduledActions/operations.js.map +1 -1
  220. package/dist/esm/api/scheduledActions/options.d.ts +4 -1
  221. package/dist/esm/api/scheduledActions/options.js.map +1 -1
  222. package/dist/esm/classic/index.d.ts +5 -5
  223. package/dist/esm/classic/index.js.map +1 -1
  224. package/dist/esm/classic/occurrenceExtension/index.d.ts +4 -4
  225. package/dist/esm/classic/occurrenceExtension/index.js.map +1 -1
  226. package/dist/esm/classic/occurrences/index.d.ts +5 -5
  227. package/dist/esm/classic/occurrences/index.js.map +1 -1
  228. package/dist/esm/classic/operations/index.d.ts +4 -4
  229. package/dist/esm/classic/operations/index.js.map +1 -1
  230. package/dist/esm/classic/scheduledActionExtension/index.d.ts +4 -4
  231. package/dist/esm/classic/scheduledActionExtension/index.js.map +1 -1
  232. package/dist/esm/classic/scheduledActions/index.d.ts +11 -14
  233. package/dist/esm/classic/scheduledActions/index.js +2 -1
  234. package/dist/esm/classic/scheduledActions/index.js.map +1 -1
  235. package/dist/esm/computeScheduleClient.d.ts +10 -10
  236. package/dist/esm/computeScheduleClient.js +14 -6
  237. package/dist/esm/computeScheduleClient.js.map +1 -1
  238. package/dist/esm/index.d.ts +17 -13
  239. package/dist/esm/index.js +1 -1
  240. package/dist/esm/index.js.map +1 -1
  241. package/dist/esm/models/index.d.ts +2 -1
  242. package/dist/esm/models/index.js +1 -1
  243. package/dist/esm/models/index.js.map +1 -1
  244. package/dist/esm/models/models.d.ts +1627 -44
  245. package/dist/esm/models/models.js +1185 -38
  246. package/dist/esm/models/models.js.map +1 -1
  247. package/dist/esm/restorePollerHelpers.d.ts +4 -4
  248. package/dist/esm/restorePollerHelpers.js +10 -10
  249. package/dist/esm/restorePollerHelpers.js.map +1 -1
  250. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +10 -1
  251. package/dist/esm/static-helpers/cloudSettingHelpers.js +10 -1
  252. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -1
  253. package/dist/esm/static-helpers/pagingHelpers.d.ts +3 -1
  254. package/dist/esm/static-helpers/pagingHelpers.js +28 -3
  255. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  256. package/dist/esm/static-helpers/pollingHelpers.d.ts +7 -3
  257. package/dist/esm/static-helpers/pollingHelpers.js +19 -3
  258. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
  259. package/dist/esm/static-helpers/urlTemplate.js +41 -10
  260. package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
  261. package/package.json +36 -78
  262. package/dist/react-native/api/computeScheduleContext.d.ts +0 -22
  263. package/dist/react-native/api/computeScheduleContext.js +0 -43
  264. package/dist/react-native/api/computeScheduleContext.js.map +0 -1
  265. package/dist/react-native/api/index.d.ts +0 -2
  266. package/dist/react-native/api/index.js +0 -4
  267. package/dist/react-native/api/index.js.map +0 -1
  268. package/dist/react-native/api/occurrenceExtension/index.d.ts +0 -3
  269. package/dist/react-native/api/occurrenceExtension/index.js +0 -4
  270. package/dist/react-native/api/occurrenceExtension/index.js.map +0 -1
  271. package/dist/react-native/api/occurrenceExtension/operations.d.ts +0 -10
  272. package/dist/react-native/api/occurrenceExtension/operations.js +0 -39
  273. package/dist/react-native/api/occurrenceExtension/operations.js.map +0 -1
  274. package/dist/react-native/api/occurrenceExtension/options.d.ts +0 -5
  275. package/dist/react-native/api/occurrenceExtension/options.js +0 -4
  276. package/dist/react-native/api/occurrenceExtension/options.js.map +0 -1
  277. package/dist/react-native/api/occurrences/index.d.ts +0 -3
  278. package/dist/react-native/api/occurrences/index.js +0 -4
  279. package/dist/react-native/api/occurrences/index.js.map +0 -1
  280. package/dist/react-native/api/occurrences/operations.d.ts +0 -27
  281. package/dist/react-native/api/occurrences/operations.js +0 -177
  282. package/dist/react-native/api/occurrences/operations.js.map +0 -1
  283. package/dist/react-native/api/occurrences/options.d.ts +0 -19
  284. package/dist/react-native/api/occurrences/options.js +0 -4
  285. package/dist/react-native/api/occurrences/options.js.map +0 -1
  286. package/dist/react-native/api/operations/index.d.ts +0 -3
  287. package/dist/react-native/api/operations/index.js +0 -4
  288. package/dist/react-native/api/operations/index.js.map +0 -1
  289. package/dist/react-native/api/operations/operations.d.ts +0 -10
  290. package/dist/react-native/api/operations/operations.js +0 -34
  291. package/dist/react-native/api/operations/operations.js.map +0 -1
  292. package/dist/react-native/api/operations/options.d.ts +0 -5
  293. package/dist/react-native/api/operations/options.js +0 -4
  294. package/dist/react-native/api/operations/options.js.map +0 -1
  295. package/dist/react-native/api/scheduledActionExtension/index.d.ts +0 -3
  296. package/dist/react-native/api/scheduledActionExtension/index.js +0 -4
  297. package/dist/react-native/api/scheduledActionExtension/index.js.map +0 -1
  298. package/dist/react-native/api/scheduledActionExtension/operations.d.ts +0 -10
  299. package/dist/react-native/api/scheduledActionExtension/operations.js +0 -39
  300. package/dist/react-native/api/scheduledActionExtension/operations.js.map +0 -1
  301. package/dist/react-native/api/scheduledActionExtension/options.d.ts +0 -5
  302. package/dist/react-native/api/scheduledActionExtension/options.js +0 -4
  303. package/dist/react-native/api/scheduledActionExtension/options.js.map +0 -1
  304. package/dist/react-native/api/scheduledActions/index.d.ts +0 -3
  305. package/dist/react-native/api/scheduledActions/index.js +0 -4
  306. package/dist/react-native/api/scheduledActions/index.js.map +0 -1
  307. package/dist/react-native/api/scheduledActions/operations.d.ts +0 -112
  308. package/dist/react-native/api/scheduledActions/operations.js +0 -889
  309. package/dist/react-native/api/scheduledActions/operations.js.map +0 -1
  310. package/dist/react-native/api/scheduledActions/options.d.ts +0 -81
  311. package/dist/react-native/api/scheduledActions/options.js +0 -4
  312. package/dist/react-native/api/scheduledActions/options.js.map +0 -1
  313. package/dist/react-native/classic/index.d.ts +0 -6
  314. package/dist/react-native/classic/index.js +0 -4
  315. package/dist/react-native/classic/index.js.map +0 -1
  316. package/dist/react-native/classic/occurrenceExtension/index.d.ts +0 -11
  317. package/dist/react-native/classic/occurrenceExtension/index.js +0 -14
  318. package/dist/react-native/classic/occurrenceExtension/index.js.map +0 -1
  319. package/dist/react-native/classic/occurrences/index.d.ts +0 -20
  320. package/dist/react-native/classic/occurrences/index.js +0 -18
  321. package/dist/react-native/classic/occurrences/index.js.map +0 -1
  322. package/dist/react-native/classic/operations/index.d.ts +0 -11
  323. package/dist/react-native/classic/operations/index.js +0 -14
  324. package/dist/react-native/classic/operations/index.js.map +0 -1
  325. package/dist/react-native/classic/scheduledActionExtension/index.d.ts +0 -11
  326. package/dist/react-native/classic/scheduledActionExtension/index.js +0 -14
  327. package/dist/react-native/classic/scheduledActionExtension/index.js.map +0 -1
  328. package/dist/react-native/classic/scheduledActions/index.d.ts +0 -65
  329. package/dist/react-native/classic/scheduledActions/index.js +0 -38
  330. package/dist/react-native/classic/scheduledActions/index.js.map +0 -1
  331. package/dist/react-native/computeScheduleClient.d.ts +0 -27
  332. package/dist/react-native/computeScheduleClient.js +0 -41
  333. package/dist/react-native/computeScheduleClient.js.map +0 -1
  334. package/dist/react-native/index.d.ts +0 -15
  335. package/dist/react-native/index.js +0 -8
  336. package/dist/react-native/index.js.map +0 -1
  337. package/dist/react-native/logger.d.ts +0 -2
  338. package/dist/react-native/logger.js +0 -5
  339. package/dist/react-native/logger.js.map +0 -1
  340. package/dist/react-native/models/index.d.ts +0 -2
  341. package/dist/react-native/models/index.js +0 -4
  342. package/dist/react-native/models/index.js.map +0 -1
  343. package/dist/react-native/models/models.d.ts +0 -1142
  344. package/dist/react-native/models/models.js +0 -992
  345. package/dist/react-native/models/models.js.map +0 -1
  346. package/dist/react-native/package.json +0 -3
  347. package/dist/react-native/restorePollerHelpers.d.ts +0 -21
  348. package/dist/react-native/restorePollerHelpers.js +0 -97
  349. package/dist/react-native/restorePollerHelpers.js.map +0 -1
  350. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +0 -13
  351. package/dist/react-native/static-helpers/cloudSettingHelpers.js +0 -29
  352. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +0 -1
  353. package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -72
  354. package/dist/react-native/static-helpers/pagingHelpers.js +0 -118
  355. package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
  356. package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -30
  357. package/dist/react-native/static-helpers/pollingHelpers.js +0 -79
  358. package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
  359. package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
  360. package/dist/react-native/static-helpers/urlTemplate.js +0 -169
  361. package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
@@ -1,1142 +0,0 @@
1
- import { ErrorModel } from "@azure-rest/core-client";
2
- /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
3
- export interface _OperationListResult {
4
- /** The Operation items on this page */
5
- value: Operation[];
6
- /** The link to the next page of items */
7
- nextLink?: string;
8
- }
9
- export declare function _operationListResultDeserializer(item: any): _OperationListResult;
10
- export declare function operationArrayDeserializer(result: Array<Operation>): any[];
11
- /** Details of a REST API operation, returned from the Resource Provider Operations API */
12
- export interface Operation {
13
- /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */
14
- readonly name?: string;
15
- /** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */
16
- readonly isDataAction?: boolean;
17
- /** Localized display information for this particular operation. */
18
- display?: OperationDisplay;
19
- /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
20
- readonly origin?: Origin;
21
- /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
22
- readonly actionType?: ActionType;
23
- }
24
- export declare function operationDeserializer(item: any): Operation;
25
- /** Localized display information for and operation. */
26
- export interface OperationDisplay {
27
- /** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
28
- readonly provider?: string;
29
- /** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
30
- readonly resource?: string;
31
- /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
32
- readonly operation?: string;
33
- /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
34
- readonly description?: string;
35
- }
36
- export declare function operationDisplayDeserializer(item: any): OperationDisplay;
37
- /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
38
- export declare enum KnownOrigin {
39
- /** Indicates the operation is initiated by a user. */
40
- User = "user",
41
- /** Indicates the operation is initiated by a system. */
42
- System = "system",
43
- /** Indicates the operation is initiated by a user or system. */
44
- UserSystem = "user,system"
45
- }
46
- /**
47
- * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" \
48
- * {@link KnownOrigin} can be used interchangeably with Origin,
49
- * this enum contains the known values that the service supports.
50
- * ### Known values supported by the service
51
- * **user**: Indicates the operation is initiated by a user. \
52
- * **system**: Indicates the operation is initiated by a system. \
53
- * **user,system**: Indicates the operation is initiated by a user or system.
54
- */
55
- export type Origin = string;
56
- /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
57
- export declare enum KnownActionType {
58
- /** Actions are for internal-only APIs. */
59
- Internal = "Internal"
60
- }
61
- /**
62
- * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. \
63
- * {@link KnownActionType} can be used interchangeably with ActionType,
64
- * this enum contains the known values that the service supports.
65
- * ### Known values supported by the service
66
- * **Internal**: Actions are for internal-only APIs.
67
- */
68
- export type ActionType = string;
69
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
70
- export interface ErrorResponse {
71
- /** The error object. */
72
- error?: ErrorDetail;
73
- }
74
- export declare function errorResponseDeserializer(item: any): ErrorResponse;
75
- /** The error detail. */
76
- export interface ErrorDetail {
77
- /** The error code. */
78
- readonly code?: string;
79
- /** The error message. */
80
- readonly message?: string;
81
- /** The error target. */
82
- readonly target?: string;
83
- /** The error details. */
84
- readonly details?: ErrorDetail[];
85
- /** The error additional info. */
86
- readonly additionalInfo?: ErrorAdditionalInfo[];
87
- }
88
- export declare function errorDetailDeserializer(item: any): ErrorDetail;
89
- export declare function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[];
90
- export declare function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[];
91
- /** The resource management error additional info. */
92
- export interface ErrorAdditionalInfo {
93
- /** The additional info type. */
94
- readonly type?: string;
95
- /** The additional info. */
96
- readonly info?: any;
97
- }
98
- export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo;
99
- /** The deallocate request for resources */
100
- export interface SubmitDeallocateRequest {
101
- /** The schedule for the request */
102
- schedule: Schedule;
103
- /** The execution parameters for the request */
104
- executionParameters: ExecutionParameters;
105
- /** The resources for the request */
106
- resources: Resources;
107
- /** CorrelationId item */
108
- correlationId: string;
109
- }
110
- export declare function submitDeallocateRequestSerializer(item: SubmitDeallocateRequest): any;
111
- /** The schedule details for the user request */
112
- export interface Schedule {
113
- /** The deadline for the operation */
114
- deadline?: string;
115
- /** The deadline for the operation */
116
- userRequestDeadline?: string;
117
- /** The timezone for the operation */
118
- timezone?: string;
119
- /** The timezone for the operation */
120
- userRequestTimezone?: string;
121
- /** The deadlinetype of the operation, this can either be InitiateAt or CompleteBy */
122
- deadlineType: DeadlineType;
123
- }
124
- export declare function scheduleSerializer(item: Schedule): any;
125
- /** The types of deadlines supported by ScheduledActions */
126
- export declare enum KnownDeadlineType {
127
- /** Default value of Unknown. */
128
- Unknown = "Unknown",
129
- /** Initiate the operation at the given deadline. */
130
- InitiateAt = "InitiateAt",
131
- /** Complete the operation by the given deadline. */
132
- CompleteBy = "CompleteBy"
133
- }
134
- /**
135
- * The types of deadlines supported by ScheduledActions \
136
- * {@link KnownDeadlineType} can be used interchangeably with DeadlineType,
137
- * this enum contains the known values that the service supports.
138
- * ### Known values supported by the service
139
- * **Unknown**: Default value of Unknown. \
140
- * **InitiateAt**: Initiate the operation at the given deadline. \
141
- * **CompleteBy**: Complete the operation by the given deadline.
142
- */
143
- export type DeadlineType = string;
144
- /** Extra details needed to run the user's request */
145
- export interface ExecutionParameters {
146
- /** Details that could optimize the user's request */
147
- optimizationPreference?: OptimizationPreference;
148
- /** Retry policy the user can pass */
149
- retryPolicy?: RetryPolicy;
150
- }
151
- export declare function executionParametersSerializer(item: ExecutionParameters): any;
152
- export declare function executionParametersDeserializer(item: any): ExecutionParameters;
153
- /** The preferences customers can select to optimize their requests to ScheduledActions */
154
- export declare enum KnownOptimizationPreference {
155
- /** Optimize while considering cost savings */
156
- Cost = "Cost",
157
- /** Optimize while considering availability of resources */
158
- Availability = "Availability",
159
- /** Optimize while considering a balance of cost and availability */
160
- CostAvailabilityBalanced = "CostAvailabilityBalanced"
161
- }
162
- /**
163
- * The preferences customers can select to optimize their requests to ScheduledActions \
164
- * {@link KnownOptimizationPreference} can be used interchangeably with OptimizationPreference,
165
- * this enum contains the known values that the service supports.
166
- * ### Known values supported by the service
167
- * **Cost**: Optimize while considering cost savings \
168
- * **Availability**: Optimize while considering availability of resources \
169
- * **CostAvailabilityBalanced**: Optimize while considering a balance of cost and availability
170
- */
171
- export type OptimizationPreference = string;
172
- /** The retry policy for the user request */
173
- export interface RetryPolicy {
174
- /** Retry count for user request */
175
- retryCount?: number;
176
- /** Retry window in minutes for user request */
177
- retryWindowInMinutes?: number;
178
- }
179
- export declare function retryPolicySerializer(item: RetryPolicy): any;
180
- export declare function retryPolicyDeserializer(item: any): RetryPolicy;
181
- /** The resources needed for the user request */
182
- export interface Resources {
183
- /** The resource ids used for the request */
184
- ids: string[];
185
- }
186
- export declare function resourcesSerializer(item: Resources): any;
187
- /** The response from a deallocate request */
188
- export interface DeallocateResourceOperationResponse {
189
- /** The description of the operation response */
190
- description: string;
191
- /** The type of resources used in the deallocate request eg virtual machines */
192
- type: string;
193
- /** The location of the deallocate request eg westus */
194
- location: string;
195
- /** The results from the deallocate request if no errors exist */
196
- results?: ResourceOperation[];
197
- }
198
- export declare function deallocateResourceOperationResponseDeserializer(item: any): DeallocateResourceOperationResponse;
199
- export declare function resourceOperationArrayDeserializer(result: Array<ResourceOperation>): any[];
200
- /** High level response from an operation on a resource */
201
- export interface ResourceOperation {
202
- /** Unique identifier for the resource involved in the operation, eg ArmId */
203
- resourceId?: string;
204
- /** Resource level error code if it exists */
205
- errorCode?: string;
206
- /** Resource level error details if they exist */
207
- errorDetails?: string;
208
- /** Details of the operation performed on a resource */
209
- operation?: ResourceOperationDetails;
210
- }
211
- export declare function resourceOperationDeserializer(item: any): ResourceOperation;
212
- /** The details of a response from an operation on a resource */
213
- export interface ResourceOperationDetails {
214
- /** Operation identifier for the unique operation */
215
- operationId: string;
216
- /** Unique identifier for the resource involved in the operation, eg ArmId */
217
- resourceId?: string;
218
- /** Type of operation performed on the resources */
219
- opType?: ResourceOperationType;
220
- /** Subscription id attached to the request */
221
- subscriptionId?: string;
222
- /** Deadline for the operation */
223
- deadline?: string;
224
- /** Type of deadline of the operation */
225
- deadlineType?: DeadlineType;
226
- /** Current state of the operation */
227
- state?: OperationState;
228
- /** Timezone for the operation */
229
- timezone?: string;
230
- /** Timezone for the operation */
231
- operationTimezone?: string;
232
- /** Operation level errors if they exist */
233
- resourceOperationError?: ResourceOperationError;
234
- /** Time the operation was complete if errors are null */
235
- completedAt?: string;
236
- /** Retry policy the user can pass */
237
- retryPolicy?: RetryPolicy;
238
- }
239
- export declare function resourceOperationDetailsDeserializer(item: any): ResourceOperationDetails;
240
- /** The kind of operation types that can be performed on resources using ScheduledActions */
241
- export declare enum KnownResourceOperationType {
242
- /** The default value for this enum type */
243
- Unknown = "Unknown",
244
- /** Start operations on the resources */
245
- Start = "Start",
246
- /** Deallocate operations on the resources */
247
- Deallocate = "Deallocate",
248
- /** Hibernate operations on the resources */
249
- Hibernate = "Hibernate"
250
- }
251
- /**
252
- * The kind of operation types that can be performed on resources using ScheduledActions \
253
- * {@link KnownResourceOperationType} can be used interchangeably with ResourceOperationType,
254
- * this enum contains the known values that the service supports.
255
- * ### Known values supported by the service
256
- * **Unknown**: The default value for this enum type \
257
- * **Start**: Start operations on the resources \
258
- * **Deallocate**: Deallocate operations on the resources \
259
- * **Hibernate**: Hibernate operations on the resources
260
- */
261
- export type ResourceOperationType = string;
262
- /** Values that define the states of operations in Scheduled Actions */
263
- export declare enum KnownOperationState {
264
- /** The default value for the operation state enum */
265
- Unknown = "Unknown",
266
- /** Operations that are pending scheduling */
267
- PendingScheduling = "PendingScheduling",
268
- /** Operations that have been scheduled */
269
- Scheduled = "Scheduled",
270
- /** Operations that are waiting to be executed */
271
- PendingExecution = "PendingExecution",
272
- /** Operations that are in the process of being executed */
273
- Executing = "Executing",
274
- /** Operations that suceeded */
275
- Succeeded = "Succeeded",
276
- /** Operations that have failed */
277
- Failed = "Failed",
278
- /** Operations that have been Cancelled by the user */
279
- Cancelled = "Cancelled",
280
- /** Operations that are blocked */
281
- Blocked = "Blocked"
282
- }
283
- /**
284
- * Values that define the states of operations in Scheduled Actions \
285
- * {@link KnownOperationState} can be used interchangeably with OperationState,
286
- * this enum contains the known values that the service supports.
287
- * ### Known values supported by the service
288
- * **Unknown**: The default value for the operation state enum \
289
- * **PendingScheduling**: Operations that are pending scheduling \
290
- * **Scheduled**: Operations that have been scheduled \
291
- * **PendingExecution**: Operations that are waiting to be executed \
292
- * **Executing**: Operations that are in the process of being executed \
293
- * **Succeeded**: Operations that suceeded \
294
- * **Failed**: Operations that have failed \
295
- * **Cancelled**: Operations that have been Cancelled by the user \
296
- * **Blocked**: Operations that are blocked
297
- */
298
- export type OperationState = string;
299
- /** These describe errors that occur at the resource level */
300
- export interface ResourceOperationError {
301
- /** Code for the error eg 404, 500 */
302
- errorCode: string;
303
- /** Detailed message about the error */
304
- errorDetails: string;
305
- }
306
- export declare function resourceOperationErrorDeserializer(item: any): ResourceOperationError;
307
- /** This is the request for hibernate */
308
- export interface SubmitHibernateRequest {
309
- /** The schedule for the request */
310
- schedule: Schedule;
311
- /** The execution parameters for the request */
312
- executionParameters: ExecutionParameters;
313
- /** The resources for the request */
314
- resources: Resources;
315
- /** CorrelationId item */
316
- correlationId: string;
317
- }
318
- export declare function submitHibernateRequestSerializer(item: SubmitHibernateRequest): any;
319
- /** The response from a Hibernate request */
320
- export interface HibernateResourceOperationResponse {
321
- /** The description of the operation response */
322
- description: string;
323
- /** The type of resources used in the Hibernate request eg virtual machines */
324
- type: string;
325
- /** The location of the Hibernate request eg westus */
326
- location: string;
327
- /** The results from the Hibernate request if no errors exist */
328
- results?: ResourceOperation[];
329
- }
330
- export declare function hibernateResourceOperationResponseDeserializer(item: any): HibernateResourceOperationResponse;
331
- /** This is the request for start */
332
- export interface SubmitStartRequest {
333
- /** The schedule for the request */
334
- schedule: Schedule;
335
- /** The execution parameters for the request */
336
- executionParameters: ExecutionParameters;
337
- /** The resources for the request */
338
- resources: Resources;
339
- /** CorrelationId item */
340
- correlationId: string;
341
- }
342
- export declare function submitStartRequestSerializer(item: SubmitStartRequest): any;
343
- /** The response from a start request */
344
- export interface StartResourceOperationResponse {
345
- /** The description of the operation response */
346
- description: string;
347
- /** The type of resources used in the start request eg virtual machines */
348
- type: string;
349
- /** The location of the start request eg westus */
350
- location: string;
351
- /** The results from the start request if no errors exist */
352
- results?: ResourceOperation[];
353
- }
354
- export declare function startResourceOperationResponseDeserializer(item: any): StartResourceOperationResponse;
355
- /** The ExecuteDeallocateRequest request for executeDeallocate operations */
356
- export interface ExecuteDeallocateRequest {
357
- /** The execution parameters for the request */
358
- executionParameters: ExecutionParameters;
359
- /** The resources for the request */
360
- resources: Resources;
361
- /** CorrelationId item */
362
- correlationId: string;
363
- }
364
- export declare function executeDeallocateRequestSerializer(item: ExecuteDeallocateRequest): any;
365
- /** The ExecuteHibernateRequest request for executeHibernate operations */
366
- export interface ExecuteHibernateRequest {
367
- /** The execution parameters for the request */
368
- executionParameters: ExecutionParameters;
369
- /** The resources for the request */
370
- resources: Resources;
371
- /** CorrelationId item */
372
- correlationId: string;
373
- }
374
- export declare function executeHibernateRequestSerializer(item: ExecuteHibernateRequest): any;
375
- /** The ExecuteStartRequest request for executeStart operations */
376
- export interface ExecuteStartRequest {
377
- /** The execution parameters for the request */
378
- executionParameters: ExecutionParameters;
379
- /** The resources for the request */
380
- resources: Resources;
381
- /** CorrelationId item */
382
- correlationId: string;
383
- }
384
- export declare function executeStartRequestSerializer(item: ExecuteStartRequest): any;
385
- /** The ExecuteCreateRequest request for create operations */
386
- export interface ExecuteCreateRequest {
387
- /** resource creation payload */
388
- resourceConfigParameters: ResourceProvisionPayload;
389
- /** The execution parameters for the request */
390
- executionParameters: ExecutionParameters;
391
- /** CorrelationId item */
392
- correlationid?: string;
393
- }
394
- export declare function executeCreateRequestSerializer(item: ExecuteCreateRequest): any;
395
- /** Resource creation data model */
396
- export interface ResourceProvisionPayload {
397
- /** 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) */
398
- baseProfile?: Record<string, any>;
399
- /** 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. */
400
- resourceOverrides?: Record<string, any>[];
401
- /** Number of VMs to be created */
402
- resourceCount: number;
403
- /** if resourceOverrides doesn't contain "name", service will create name based of prefix and ResourceCount e.g. resourceprefix-0,resourceprefix-1.. */
404
- resourcePrefix?: string;
405
- }
406
- export declare function resourceProvisionPayloadSerializer(item: ResourceProvisionPayload): any;
407
- /** The response from a create request */
408
- export interface CreateResourceOperationResponse {
409
- /** The description of the operation response */
410
- description: string;
411
- /** The type of resources used in the create request eg virtual machines */
412
- type: string;
413
- /** The location of the start request eg westus */
414
- location: string;
415
- /** The results from the start request if no errors exist */
416
- results?: ResourceOperation[];
417
- }
418
- export declare function createResourceOperationResponseDeserializer(item: any): CreateResourceOperationResponse;
419
- /** The ExecuteDeleteRequest for delete VM operation */
420
- export interface ExecuteDeleteRequest {
421
- /** The execution parameters for the request */
422
- executionParameters: ExecutionParameters;
423
- /** The resources for the request */
424
- resources: Resources;
425
- /** CorrelationId item */
426
- correlationid?: string;
427
- /** Forced delete resource item */
428
- forceDeletion?: boolean;
429
- }
430
- export declare function executeDeleteRequestSerializer(item: ExecuteDeleteRequest): any;
431
- /** The response from a delete request */
432
- export interface DeleteResourceOperationResponse {
433
- /** The description of the operation response */
434
- description: string;
435
- /** The type of resources used in the delete request eg virtual machines */
436
- type: string;
437
- /** The location of the start request eg westus */
438
- location: string;
439
- /** The results from the start request if no errors exist */
440
- results?: ResourceOperation[];
441
- }
442
- export declare function deleteResourceOperationResponseDeserializer(item: any): DeleteResourceOperationResponse;
443
- /** This is the request to get operation status using operationids */
444
- export interface GetOperationStatusRequest {
445
- /** The list of operation ids to get the status of */
446
- operationIds: string[];
447
- /** CorrelationId item */
448
- correlationId: string;
449
- }
450
- export declare function getOperationStatusRequestSerializer(item: GetOperationStatusRequest): any;
451
- /** This is the response from a get operations status request */
452
- export interface GetOperationStatusResponse {
453
- /** An array of resource operations based on their operation ids */
454
- results: ResourceOperation[];
455
- }
456
- export declare function getOperationStatusResponseDeserializer(item: any): GetOperationStatusResponse;
457
- /** This is the request to cancel running operations in scheduled actions using the operation ids */
458
- export interface CancelOperationsRequest {
459
- /** The list of operation ids to cancel operations on */
460
- operationIds: string[];
461
- /** CorrelationId item */
462
- correlationId: string;
463
- }
464
- export declare function cancelOperationsRequestSerializer(item: CancelOperationsRequest): any;
465
- /** This is the response from a cancel operations request */
466
- export interface CancelOperationsResponse {
467
- /** An array of resource operations that were successfully cancelled */
468
- results: ResourceOperation[];
469
- }
470
- export declare function cancelOperationsResponseDeserializer(item: any): CancelOperationsResponse;
471
- /** This is the request to get errors per vm operations */
472
- export interface GetOperationErrorsRequest {
473
- /** The list of operation ids to query errors of */
474
- operationIds: string[];
475
- }
476
- export declare function getOperationErrorsRequestSerializer(item: GetOperationErrorsRequest): any;
477
- /** This is the response from a get operations errors request */
478
- export interface GetOperationErrorsResponse {
479
- /** An array of operationids and their corresponding errors if any */
480
- results: OperationErrorsResult[];
481
- }
482
- export declare function getOperationErrorsResponseDeserializer(item: any): GetOperationErrorsResponse;
483
- export declare function operationErrorsResultArrayDeserializer(result: Array<OperationErrorsResult>): any[];
484
- /** This is the first level of operation errors from the request when clients get errors per vm operation */
485
- export interface OperationErrorsResult {
486
- /** The operationId identifying a vm operation */
487
- operationId?: string;
488
- /** The creation time of the error result */
489
- creationTime?: string;
490
- /** The activation time of a vm operation */
491
- activationTime?: string;
492
- /** The completion time of the operation if the operation was completed */
493
- completedAt?: string;
494
- /** A list of errors associated with the operationid */
495
- operationErrors?: OperationErrorDetails[];
496
- /** Request level error code */
497
- requestErrorCode?: string;
498
- /** Request level error details */
499
- requestErrorDetails?: string;
500
- }
501
- export declare function operationErrorsResultDeserializer(item: any): OperationErrorsResult;
502
- export declare function operationErrorDetailsArrayDeserializer(result: Array<OperationErrorDetails>): any[];
503
- /** This defines a list of operation errors associated with a unique operationId */
504
- export interface OperationErrorDetails {
505
- /** The error code of the operation */
506
- errorCode: string;
507
- /** The error details of the operation */
508
- errorDetails: string;
509
- /** The timestamp of the error occurence */
510
- timestamp?: string;
511
- /** The timestamp of the error occurence */
512
- errorDetailsTimestamp?: string;
513
- /** The compute operationid of the Start/Deallocate/Hibernate request */
514
- azureOperationName?: string;
515
- /** The compute operationid of the Start/Deallocate/Hibernate request */
516
- crpOperationId?: string;
517
- }
518
- export declare function operationErrorDetailsDeserializer(item: any): OperationErrorDetails;
519
- /** The scheduled action resource */
520
- export interface ScheduledAction extends TrackedResource {
521
- /** The resource-specific properties for this resource. */
522
- properties?: ScheduledActionProperties;
523
- }
524
- export declare function scheduledActionSerializer(item: ScheduledAction): any;
525
- export declare function scheduledActionDeserializer(item: any): ScheduledAction;
526
- /** Scheduled action properties */
527
- export interface ScheduledActionProperties {
528
- /** The type of resource the scheduled action is targeting */
529
- resourceType: ResourceType;
530
- /** The action the scheduled action should perform in the resources */
531
- actionType: ScheduledActionType;
532
- /** The time which the scheduled action is supposed to start running */
533
- startTime: string;
534
- /** The time when the scheduled action is supposed to stop scheduling */
535
- endTime?: string;
536
- /** The schedule the scheduled action is supposed to follow */
537
- schedule: ScheduledActionsSchedule;
538
- /** The notification settings for the scheduled action */
539
- notificationSettings: NotificationProperties[];
540
- /** Tell if the scheduled action is disabled or not */
541
- disabled?: boolean;
542
- /** The status of the last provisioning operation performed on the resource. */
543
- readonly provisioningState?: ProvisioningState;
544
- }
545
- export declare function scheduledActionPropertiesSerializer(item: ScheduledActionProperties): any;
546
- export declare function scheduledActionPropertiesDeserializer(item: any): ScheduledActionProperties;
547
- /** The type of resource being targeted */
548
- export declare enum KnownResourceType {
549
- /** Resources defined are Virtual Machines */
550
- VirtualMachine = "VirtualMachine",
551
- /** Resources defined are Virtual Machines Scale Sets */
552
- VirtualMachineScaleSet = "VirtualMachineScaleSet"
553
- }
554
- /**
555
- * The type of resource being targeted \
556
- * {@link KnownResourceType} can be used interchangeably with ResourceType,
557
- * this enum contains the known values that the service supports.
558
- * ### Known values supported by the service
559
- * **VirtualMachine**: Resources defined are Virtual Machines \
560
- * **VirtualMachineScaleSet**: Resources defined are Virtual Machines Scale Sets
561
- */
562
- export type ResourceType = string;
563
- /** Specify which action user wants to be performed on the resources */
564
- export declare enum KnownScheduledActionType {
565
- /** Perform a start action on the specified resources */
566
- Start = "Start",
567
- /** Perform a deallocate action on the specified resources */
568
- Deallocate = "Deallocate",
569
- /** Perform hibernate and deallocate on the specified resources */
570
- Hibernate = "Hibernate"
571
- }
572
- /**
573
- * Specify which action user wants to be performed on the resources \
574
- * {@link KnownScheduledActionType} can be used interchangeably with ScheduledActionType,
575
- * this enum contains the known values that the service supports.
576
- * ### Known values supported by the service
577
- * **Start**: Perform a start action on the specified resources \
578
- * **Deallocate**: Perform a deallocate action on the specified resources \
579
- * **Hibernate**: Perform hibernate and deallocate on the specified resources
580
- */
581
- export type ScheduledActionType = string;
582
- /** Specify the schedule in which the scheduled action is supposed to follow */
583
- export interface ScheduledActionsSchedule {
584
- /** The time the scheduled action is supposed to run on */
585
- scheduledTime: string;
586
- /** The timezone the scheduled time is specified on */
587
- timeZone: string;
588
- /** The week days the scheduled action is supposed to run on */
589
- requestedWeekDays: WeekDay[];
590
- /** The months the scheduled action is supposed to run on */
591
- requestedMonths: Month[];
592
- /** 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. */
593
- requestedDaysOfTheMonth: number[];
594
- /** The execution parameters the scheduled action is supposed to follow */
595
- executionParameters?: ExecutionParameters;
596
- /** The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt. */
597
- deadlineType?: DeadlineType;
598
- }
599
- export declare function scheduledActionsScheduleSerializer(item: ScheduledActionsSchedule): any;
600
- export declare function scheduledActionsScheduleDeserializer(item: any): ScheduledActionsSchedule;
601
- /** Representation of the possible selection of days in a week in a gregorian calendar */
602
- export declare enum KnownWeekDay {
603
- /** Monday weekday. */
604
- Monday = "Monday",
605
- /** Tuesday weekday. */
606
- Tuesday = "Tuesday",
607
- /** Wednesday weekday. */
608
- Wednesday = "Wednesday",
609
- /** Thursday weekday. */
610
- Thursday = "Thursday",
611
- /** Friday weekday. */
612
- Friday = "Friday",
613
- /** Saturday weekday. */
614
- Saturday = "Saturday",
615
- /** Sunday weekday. */
616
- Sunday = "Sunday",
617
- /** All week days */
618
- All = "All"
619
- }
620
- /**
621
- * Representation of the possible selection of days in a week in a gregorian calendar \
622
- * {@link KnownWeekDay} can be used interchangeably with WeekDay,
623
- * this enum contains the known values that the service supports.
624
- * ### Known values supported by the service
625
- * **Monday**: Monday weekday. \
626
- * **Tuesday**: Tuesday weekday. \
627
- * **Wednesday**: Wednesday weekday. \
628
- * **Thursday**: Thursday weekday. \
629
- * **Friday**: Friday weekday. \
630
- * **Saturday**: Saturday weekday. \
631
- * **Sunday**: Sunday weekday. \
632
- * **All**: All week days
633
- */
634
- export type WeekDay = string;
635
- /** Representation of the months available selection in a gregorian calendar */
636
- export declare enum KnownMonth {
637
- /** The January month. */
638
- January = "January",
639
- /** The February month. */
640
- February = "February",
641
- /** The March month. */
642
- March = "March",
643
- /** The April month. */
644
- April = "April",
645
- /** The May month. */
646
- May = "May",
647
- /** The June month. */
648
- June = "June",
649
- /** The July month. */
650
- July = "July",
651
- /** The August month. */
652
- August = "August",
653
- /** The September month. */
654
- September = "September",
655
- /** The October month. */
656
- October = "October",
657
- /** The November month. */
658
- November = "November",
659
- /** The December month. */
660
- December = "December",
661
- /** All months */
662
- All = "All"
663
- }
664
- /**
665
- * Representation of the months available selection in a gregorian calendar \
666
- * {@link KnownMonth} can be used interchangeably with Month,
667
- * this enum contains the known values that the service supports.
668
- * ### Known values supported by the service
669
- * **January**: The January month. \
670
- * **February**: The February month. \
671
- * **March**: The March month. \
672
- * **April**: The April month. \
673
- * **May**: The May month. \
674
- * **June**: The June month. \
675
- * **July**: The July month. \
676
- * **August**: The August month. \
677
- * **September**: The September month. \
678
- * **October**: The October month. \
679
- * **November**: The November month. \
680
- * **December**: The December month. \
681
- * **All**: All months
682
- */
683
- export type Month = string;
684
- export declare function notificationPropertiesArraySerializer(result: Array<NotificationProperties>): any[];
685
- export declare function notificationPropertiesArrayDeserializer(result: Array<NotificationProperties>): any[];
686
- /** The information about notifications to be send to about upcoming operations. */
687
- export interface NotificationProperties {
688
- /** Where the notification should be sent. For email, it should follow email format. */
689
- destination: string;
690
- /** Type of notification to be sent. */
691
- type: NotificationType;
692
- /** The language the notification should be sent on. */
693
- language: Language;
694
- /** Tells if the notification is enabled or not. */
695
- disabled?: boolean;
696
- }
697
- export declare function notificationPropertiesSerializer(item: NotificationProperties): any;
698
- export declare function notificationPropertiesDeserializer(item: any): NotificationProperties;
699
- /** The type of notification supported */
700
- export declare enum KnownNotificationType {
701
- /** Notify through e-mail */
702
- Email = "Email"
703
- }
704
- /**
705
- * The type of notification supported \
706
- * {@link KnownNotificationType} can be used interchangeably with NotificationType,
707
- * this enum contains the known values that the service supports.
708
- * ### Known values supported by the service
709
- * **Email**: Notify through e-mail
710
- */
711
- export type NotificationType = string;
712
- /** The notification languages currently supported */
713
- export declare enum KnownLanguage {
714
- /** American english language */
715
- EnUs = "en-us"
716
- }
717
- /**
718
- * The notification languages currently supported \
719
- * {@link KnownLanguage} can be used interchangeably with Language,
720
- * this enum contains the known values that the service supports.
721
- * ### Known values supported by the service
722
- * **en-us**: American english language
723
- */
724
- export type Language = string;
725
- /** Provisioning state */
726
- export declare enum KnownProvisioningState {
727
- /** Resource has been created. */
728
- Succeeded = "Succeeded",
729
- /** Resource creation failed. */
730
- Failed = "Failed",
731
- /** Resource creation was canceled. */
732
- Canceled = "Canceled",
733
- /** Resource is being deleted. */
734
- Deleting = "Deleting"
735
- }
736
- /**
737
- * Provisioning state \
738
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
739
- * this enum contains the known values that the service supports.
740
- * ### Known values supported by the service
741
- * **Succeeded**: Resource has been created. \
742
- * **Failed**: Resource creation failed. \
743
- * **Canceled**: Resource creation was canceled. \
744
- * **Deleting**: Resource is being deleted.
745
- */
746
- export type ProvisioningState = string;
747
- /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
748
- export interface TrackedResource extends Resource {
749
- /** Resource tags. */
750
- tags?: Record<string, string>;
751
- /** The geo-location where the resource lives */
752
- location: string;
753
- }
754
- export declare function trackedResourceSerializer(item: TrackedResource): any;
755
- export declare function trackedResourceDeserializer(item: any): TrackedResource;
756
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
757
- export interface Resource {
758
- /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
759
- readonly id?: string;
760
- /** The name of the resource */
761
- readonly name?: string;
762
- /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
763
- readonly type?: string;
764
- /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
765
- readonly systemData?: SystemData;
766
- }
767
- export declare function resourceSerializer(item: Resource): any;
768
- export declare function resourceDeserializer(item: any): Resource;
769
- /** Metadata pertaining to creation and last modification of the resource. */
770
- export interface SystemData {
771
- /** The identity that created the resource. */
772
- createdBy?: string;
773
- /** The type of identity that created the resource. */
774
- createdByType?: CreatedByType;
775
- /** The timestamp of resource creation (UTC). */
776
- createdAt?: Date;
777
- /** The identity that last modified the resource. */
778
- lastModifiedBy?: string;
779
- /** The type of identity that last modified the resource. */
780
- lastModifiedByType?: CreatedByType;
781
- /** The timestamp of resource last modification (UTC) */
782
- lastModifiedAt?: Date;
783
- }
784
- export declare function systemDataDeserializer(item: any): SystemData;
785
- /** The kind of entity that created the resource. */
786
- export declare enum KnownCreatedByType {
787
- /** The entity was created by a user. */
788
- User = "User",
789
- /** The entity was created by an application. */
790
- Application = "Application",
791
- /** The entity was created by a managed identity. */
792
- ManagedIdentity = "ManagedIdentity",
793
- /** The entity was created by a key. */
794
- Key = "Key"
795
- }
796
- /**
797
- * The kind of entity that created the resource. \
798
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
799
- * this enum contains the known values that the service supports.
800
- * ### Known values supported by the service
801
- * **User**: The entity was created by a user. \
802
- * **Application**: The entity was created by an application. \
803
- * **ManagedIdentity**: The entity was created by a managed identity. \
804
- * **Key**: The entity was created by a key.
805
- */
806
- export type CreatedByType = string;
807
- /** The provisioning state of a resource type. */
808
- export declare enum KnownResourceProvisioningState {
809
- /** Resource has been created. */
810
- Succeeded = "Succeeded",
811
- /** Resource creation failed. */
812
- Failed = "Failed",
813
- /** Resource creation was canceled. */
814
- Canceled = "Canceled"
815
- }
816
- /**
817
- * The provisioning state of a resource type. \
818
- * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,
819
- * this enum contains the known values that the service supports.
820
- * ### Known values supported by the service
821
- * **Succeeded**: Resource has been created. \
822
- * **Failed**: Resource creation failed. \
823
- * **Canceled**: Resource creation was canceled.
824
- */
825
- export type ResourceProvisioningState = string;
826
- /** The type used for update operations of the ScheduledAction. */
827
- export interface ScheduledActionUpdate {
828
- /** Resource tags. */
829
- tags?: Record<string, string>;
830
- /** The resource-specific properties for this resource. */
831
- properties?: ScheduledActionUpdateProperties;
832
- }
833
- export declare function scheduledActionUpdateSerializer(item: ScheduledActionUpdate): any;
834
- /** The updatable properties of the ScheduledAction. */
835
- export interface ScheduledActionUpdateProperties {
836
- /** The type of resource the scheduled action is targeting */
837
- resourceType?: ResourceType;
838
- /** The action the scheduled action should perform in the resources */
839
- actionType?: ScheduledActionType;
840
- /** The time which the scheduled action is supposed to start running */
841
- startTime?: string;
842
- /** The time when the scheduled action is supposed to stop scheduling */
843
- endTime?: string;
844
- /** The schedule the scheduled action is supposed to follow */
845
- schedule?: ScheduledActionsSchedule;
846
- /** The notification settings for the scheduled action */
847
- notificationSettings?: NotificationProperties[];
848
- /** Tell if the scheduled action is disabled or not */
849
- disabled?: boolean;
850
- }
851
- export declare function scheduledActionUpdatePropertiesSerializer(item: ScheduledActionUpdateProperties): any;
852
- /** The response of a ScheduledAction list operation. */
853
- export interface _ScheduledActionListResult {
854
- /** The ScheduledAction items on this page */
855
- value: ScheduledAction[];
856
- /** The link to the next page of items */
857
- nextLink?: string;
858
- }
859
- export declare function _scheduledActionListResultDeserializer(item: any): _ScheduledActionListResult;
860
- export declare function scheduledActionArraySerializer(result: Array<ScheduledAction>): any[];
861
- export declare function scheduledActionArrayDeserializer(result: Array<ScheduledAction>): any[];
862
- /** Paged collection of ScheduledActionResource items */
863
- export interface _ResourceListResponse {
864
- /** The ScheduledActionResource items on this page */
865
- value: ScheduledActionResource[];
866
- /** The link to the next page of items */
867
- nextLink?: string;
868
- }
869
- export declare function _resourceListResponseDeserializer(item: any): _ResourceListResponse;
870
- export declare function scheduledActionResourceArrayDeserializer(result: Array<ScheduledActionResource>): any[];
871
- /** Represents an scheduled action resource metadata. */
872
- export interface ScheduledActionResource {
873
- /** The name of the resource */
874
- readonly name: string;
875
- /** The compute RP resource id of the resource in the scheduled actions scope. */
876
- readonly id: string;
877
- /** The type of resource */
878
- readonly type?: string;
879
- /**
880
- * The ARM Id of the resource.
881
- * "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
882
- */
883
- resourceId: string;
884
- /** The desired notification settings for the specified resource. */
885
- notificationSettings?: NotificationProperties[];
886
- }
887
- export declare function scheduledActionResourceDeserializer(item: any): ScheduledActionResource;
888
- /** Request model to attach a list of scheduled action resources. */
889
- export interface ResourceAttachRequest {
890
- /** List of resources to be attached/patched */
891
- resources: ScheduledActionResourceCreate[];
892
- }
893
- export declare function resourceAttachRequestSerializer(item: ResourceAttachRequest): any;
894
- export declare function scheduledActionResourceCreateArraySerializer(result: Array<ScheduledActionResourceCreate>): any[];
895
- /** Represents an scheduled action resource metadata. */
896
- export interface ScheduledActionResourceCreate {
897
- /**
898
- * The ARM Id of the resource.
899
- * "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
900
- */
901
- resourceId: string;
902
- /** The desired notification settings for the specified resource. */
903
- notificationSettings?: NotificationProperties[];
904
- }
905
- export declare function scheduledActionResourceCreateSerializer(item: ScheduledActionResourceCreate): any;
906
- /** The response from scheduled action resource requests, which contains the status of each resource */
907
- export interface RecurringActionsResourceOperationResult {
908
- /** The total number of resources operated on */
909
- totalResources: number;
910
- /** The resource status of for each resource */
911
- resourcesStatuses: ResourceStatus[];
912
- }
913
- export declare function recurringActionsResourceOperationResultDeserializer(item: any): RecurringActionsResourceOperationResult;
914
- export declare function resourceStatusArrayDeserializer(result: Array<ResourceStatus>): any[];
915
- /** The status of a resource after a resource level operation was performed */
916
- export interface ResourceStatus {
917
- /** The arm identifier of the resource */
918
- resourceId: string;
919
- /** The state the resource is currently on */
920
- status: ResourceOperationStatus;
921
- /** Errors encountered while trying to perform */
922
- error?: ErrorModel;
923
- }
924
- export declare function resourceStatusDeserializer(item: any): ResourceStatus;
925
- /** The state the resource is on after the resource operation is applied */
926
- export declare enum KnownResourceOperationStatus {
927
- /** The resource operation was successful */
928
- Succeeded = "Succeeded",
929
- /** The resource operation has failed. */
930
- Failed = "Failed"
931
- }
932
- /**
933
- * The state the resource is on after the resource operation is applied \
934
- * {@link KnownResourceOperationStatus} can be used interchangeably with ResourceOperationStatus,
935
- * this enum contains the known values that the service supports.
936
- * ### Known values supported by the service
937
- * **Succeeded**: The resource operation was successful \
938
- * **Failed**: The resource operation has failed.
939
- */
940
- export type ResourceOperationStatus = string;
941
- /** Request model to detach a list of scheduled action resources. */
942
- export interface ResourceDetachRequest {
943
- /** List of resources to be detached */
944
- resources: string[];
945
- }
946
- export declare function resourceDetachRequestSerializer(item: ResourceDetachRequest): any;
947
- /** Request model perform a resource operation in a list of resources */
948
- export interface ResourcePatchRequest {
949
- /** The list of resources we watch to patch */
950
- resources: ScheduledActionResourceCreate[];
951
- }
952
- export declare function resourcePatchRequestSerializer(item: ResourcePatchRequest): any;
953
- /** The request to cancel an occurrence. */
954
- export interface CancelOccurrenceRequest {
955
- /** The resources the cancellation should act on. If no resource is passed in the list, Scheduled Action will cancel the occurrence for all resources. */
956
- resourceIds: string[];
957
- }
958
- export declare function cancelOccurrenceRequestSerializer(item: CancelOccurrenceRequest): any;
959
- /** Concrete proxy resource types can be created by aliasing this type using a specific property type. */
960
- export interface Occurrence extends ProxyResource {
961
- /** The resource-specific properties for this resource. */
962
- properties?: OccurrenceProperties;
963
- }
964
- export declare function occurrenceDeserializer(item: any): Occurrence;
965
- /** Properties for an occurrence */
966
- export interface OccurrenceProperties {
967
- /** The time the occurrence is scheduled for. This value can be changed by calling the delay API */
968
- readonly scheduledTime: Date;
969
- /** The result for occurrences that achieved a terminal state */
970
- readonly resultSummary: OccurrenceResultSummary;
971
- /** The aggregated provisioning state of the occurrence */
972
- readonly provisioningState?: OccurrenceState;
973
- }
974
- export declare function occurrencePropertiesDeserializer(item: any): OccurrenceProperties;
975
- /** The summarized provisioning result of an occurrence */
976
- export interface OccurrenceResultSummary {
977
- /** The total number of resources that the occurrence was supposed to act on. */
978
- total: number;
979
- /** The summarized status of the resources. */
980
- statuses: ResourceResultSummary[];
981
- }
982
- export declare function occurrenceResultSummaryDeserializer(item: any): OccurrenceResultSummary;
983
- export declare function resourceResultSummaryArrayDeserializer(result: Array<ResourceResultSummary>): any[];
984
- /** The status of the resources */
985
- export interface ResourceResultSummary {
986
- /** The error code for those resources. In case of success, code is populated with Success. */
987
- code: string;
988
- /** The number of resources that the code applies to. */
989
- count: number;
990
- /** The error details for the resources. Not populated on success cases. */
991
- errorDetails?: ErrorModel;
992
- }
993
- export declare function resourceResultSummaryDeserializer(item: any): ResourceResultSummary;
994
- /** The state the occurrence is at a given time */
995
- export declare enum KnownOccurrenceState {
996
- /** The occurrence was created */
997
- Created = "Created",
998
- /** The occurrence is being rescheduled */
999
- Rescheduling = "Rescheduling",
1000
- /** The occurrence has been scheduled */
1001
- Scheduled = "Scheduled",
1002
- /** The occurrence has successfully ran */
1003
- Succeeded = "Succeeded",
1004
- /** The occurrence has failed during its scheduling */
1005
- Failed = "Failed",
1006
- /** The occurrence is going through cancellation */
1007
- Cancelling = "Cancelling",
1008
- /** The occurrence has been canceled */
1009
- Canceled = "Canceled"
1010
- }
1011
- /**
1012
- * The state the occurrence is at a given time \
1013
- * {@link KnownOccurrenceState} can be used interchangeably with OccurrenceState,
1014
- * this enum contains the known values that the service supports.
1015
- * ### Known values supported by the service
1016
- * **Created**: The occurrence was created \
1017
- * **Rescheduling**: The occurrence is being rescheduled \
1018
- * **Scheduled**: The occurrence has been scheduled \
1019
- * **Succeeded**: The occurrence has successfully ran \
1020
- * **Failed**: The occurrence has failed during its scheduling \
1021
- * **Cancelling**: The occurrence is going through cancellation \
1022
- * **Canceled**: The occurrence has been canceled
1023
- */
1024
- export type OccurrenceState = string;
1025
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1026
- export interface ProxyResource extends Resource {
1027
- }
1028
- export declare function proxyResourceDeserializer(item: any): ProxyResource;
1029
- /** The response of a ScheduledActionResources list operation. */
1030
- export interface _ScheduledActionResourcesListResult {
1031
- /** The ScheduledActionResources items on this page */
1032
- value: ScheduledActionResources[];
1033
- /** The link to the next page of items */
1034
- nextLink?: string;
1035
- }
1036
- export declare function _scheduledActionResourcesListResultDeserializer(item: any): _ScheduledActionResourcesListResult;
1037
- export declare function scheduledActionResourcesArrayDeserializer(result: Array<ScheduledActionResources>): any[];
1038
- /** The scheduled action extension */
1039
- export interface ScheduledActionResources extends ExtensionResource {
1040
- /** The resource-specific properties for this resource. */
1041
- properties?: ScheduledActionProperties;
1042
- }
1043
- export declare function scheduledActionResourcesDeserializer(item: any): ScheduledActionResources;
1044
- /** The base extension resource. */
1045
- export interface ExtensionResource extends Resource {
1046
- }
1047
- export declare function extensionResourceDeserializer(item: any): ExtensionResource;
1048
- /** The response of a Occurrence list operation. */
1049
- export interface _OccurrenceListResult {
1050
- /** The Occurrence items on this page */
1051
- value: Occurrence[];
1052
- /** The link to the next page of items */
1053
- nextLink?: string;
1054
- }
1055
- export declare function _occurrenceListResultDeserializer(item: any): _OccurrenceListResult;
1056
- export declare function occurrenceArrayDeserializer(result: Array<Occurrence>): any[];
1057
- /** Paged collection of OccurrenceResource items */
1058
- export interface _OccurrenceResourceListResponse {
1059
- /** The OccurrenceResource items on this page */
1060
- value: OccurrenceResource[];
1061
- /** The link to the next page of items */
1062
- nextLink?: string;
1063
- }
1064
- export declare function _occurrenceResourceListResponseDeserializer(item: any): _OccurrenceResourceListResponse;
1065
- export declare function occurrenceResourceArrayDeserializer(result: Array<OccurrenceResource>): any[];
1066
- /** Represents an scheduled action resource metadata. */
1067
- export interface OccurrenceResource {
1068
- /** The name of the resource */
1069
- readonly name: string;
1070
- /** The compute RP resource id of the resource in the scheduled actions scope. */
1071
- readonly id: string;
1072
- /** The type of resource */
1073
- readonly type?: string;
1074
- /**
1075
- * The ARM Id of the resource.
1076
- * "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
1077
- */
1078
- resourceId: string;
1079
- /** The desired notification settings for the specified resource. */
1080
- notificationSettings?: NotificationProperties[];
1081
- /** The time the occurrence is scheduled for the resource. */
1082
- readonly scheduledTime: Date;
1083
- /** The current state of the resource */
1084
- readonly provisioningState?: ResourceProvisioningState;
1085
- /** Error details for the resource. Only populated if resource is in failed state. */
1086
- readonly errorDetails?: ErrorModel;
1087
- }
1088
- export declare function occurrenceResourceDeserializer(item: any): OccurrenceResource;
1089
- /** 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 */
1090
- export interface DelayRequest {
1091
- /** The exact time to delay the operations to */
1092
- delay: string;
1093
- /** The resources that should be delayed. If empty, the delay will apply to the all resources in the occurrence. */
1094
- resourceIds: string[];
1095
- }
1096
- export declare function delayRequestSerializer(item: DelayRequest): any;
1097
- /** The response of a OccurrenceExtensionResource list operation. */
1098
- export interface _OccurrenceExtensionResourceListResult {
1099
- /** The OccurrenceExtensionResource items on this page */
1100
- value: OccurrenceExtensionResource[];
1101
- /** The link to the next page of items */
1102
- nextLink?: string;
1103
- }
1104
- export declare function _occurrenceExtensionResourceListResultDeserializer(item: any): _OccurrenceExtensionResourceListResult;
1105
- export declare function occurrenceExtensionResourceArrayDeserializer(result: Array<OccurrenceExtensionResource>): any[];
1106
- /** The scheduled action extension */
1107
- export interface OccurrenceExtensionResource extends ExtensionResource {
1108
- /** The resource-specific properties for this resource. */
1109
- properties?: OccurrenceExtensionProperties;
1110
- }
1111
- export declare function occurrenceExtensionResourceDeserializer(item: any): OccurrenceExtensionResource;
1112
- /** The properties of the occurrence extension */
1113
- export interface OccurrenceExtensionProperties {
1114
- /**
1115
- * The ARM Id of the resource.
1116
- * "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
1117
- */
1118
- resourceId: string;
1119
- /** The desired notification settings for the specified resource. */
1120
- notificationSettings?: NotificationProperties[];
1121
- /** The time the occurrence is scheduled for the resource. Specified in UTC. */
1122
- readonly scheduledTime: Date;
1123
- /** The current state of the resource */
1124
- readonly provisioningState?: ResourceProvisioningState;
1125
- /** Error details for the resource. Only populated if resource is in failed state. */
1126
- readonly errorDetails?: ErrorModel;
1127
- /** The arm identifier of the scheduled action the occurrence belongs to */
1128
- scheduledActionId: string;
1129
- }
1130
- export declare function occurrenceExtensionPropertiesDeserializer(item: any): OccurrenceExtensionProperties;
1131
- /** ComputeSchedule API versions */
1132
- export declare enum KnownVersions {
1133
- /** 2024-08-15-preview version */
1134
- V20240815Preview = "2024-08-15-preview",
1135
- /** 2024-10-01 version */
1136
- "V2024-10-01" = "2024-10-01",
1137
- /** 2025-05-01 version */
1138
- V20250501 = "2025-05-01",
1139
- /** 2025-04-15-preview version */
1140
- V20250415Preview = "2025-04-15-preview"
1141
- }
1142
- //# sourceMappingURL=models.d.ts.map