@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,4 +1,8 @@
1
- import { ErrorModel } from "@azure-rest/core-client";
1
+ import type { ErrorModel } from "@azure-rest/core-client";
2
+ /**
3
+ * This file contains only generated model types and their (de)serializers.
4
+ * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
5
+ */
2
6
  /** 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
7
  export interface _OperationListResult {
4
8
  /** The Operation items on this page */
@@ -22,7 +26,7 @@ export interface Operation {
22
26
  readonly actionType?: ActionType;
23
27
  }
24
28
  export declare function operationDeserializer(item: any): Operation;
25
- /** Localized display information for and operation. */
29
+ /** Localized display information for an operation. */
26
30
  export interface OperationDisplay {
27
31
  /** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
28
32
  readonly provider?: string;
@@ -175,9 +179,39 @@ export interface RetryPolicy {
175
179
  retryCount?: number;
176
180
  /** Retry window in minutes for user request */
177
181
  retryWindowInMinutes?: number;
182
+ /** Action to take on failure */
183
+ onFailureAction?: ResourceOperationType;
178
184
  }
179
185
  export declare function retryPolicySerializer(item: RetryPolicy): any;
180
186
  export declare function retryPolicyDeserializer(item: any): RetryPolicy;
187
+ /** The kind of operation types that can be performed on resources using ScheduledActions */
188
+ export declare enum KnownResourceOperationType {
189
+ /** The default value for this enum type */
190
+ Unknown = "Unknown",
191
+ /** Start operations on the resources */
192
+ Start = "Start",
193
+ /** Deallocate operations on the resources */
194
+ Deallocate = "Deallocate",
195
+ /** Hibernate operations on the resources */
196
+ Hibernate = "Hibernate",
197
+ /** Create operations on the resources */
198
+ Create = "Create",
199
+ /** Delete operations on the resources */
200
+ Delete = "Delete"
201
+ }
202
+ /**
203
+ * The kind of operation types that can be performed on resources using ScheduledActions \
204
+ * {@link KnownResourceOperationType} can be used interchangeably with ResourceOperationType,
205
+ * this enum contains the known values that the service supports.
206
+ * ### Known values supported by the service
207
+ * **Unknown**: The default value for this enum type \
208
+ * **Start**: Start operations on the resources \
209
+ * **Deallocate**: Deallocate operations on the resources \
210
+ * **Hibernate**: Hibernate operations on the resources \
211
+ * **Create**: Create operations on the resources \
212
+ * **Delete**: Delete operations on the resources
213
+ */
214
+ export type ResourceOperationType = string;
181
215
  /** The resources needed for the user request */
182
216
  export interface Resources {
183
217
  /** The resource ids used for the request */
@@ -231,34 +265,14 @@ export interface ResourceOperationDetails {
231
265
  operationTimezone?: string;
232
266
  /** Operation level errors if they exist */
233
267
  resourceOperationError?: ResourceOperationError;
268
+ /** Fallback operation details if a fallback was performed */
269
+ fallbackOperationInfo?: FallbackOperationInfo;
234
270
  /** Time the operation was complete if errors are null */
235
271
  completedAt?: string;
236
272
  /** Retry policy the user can pass */
237
273
  retryPolicy?: RetryPolicy;
238
274
  }
239
275
  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
276
  /** Values that define the states of operations in Scheduled Actions */
263
277
  export declare enum KnownOperationState {
264
278
  /** The default value for the operation state enum */
@@ -304,6 +318,16 @@ export interface ResourceOperationError {
304
318
  errorDetails: string;
305
319
  }
306
320
  export declare function resourceOperationErrorDeserializer(item: any): ResourceOperationError;
321
+ /** Describes the fallback operation that was performed */
322
+ export interface FallbackOperationInfo {
323
+ /** The last operation type that was performed as a fallback */
324
+ lastOpType: ResourceOperationType;
325
+ /** The status of the fallback operation */
326
+ status: string;
327
+ /** The error code if the fallback operation failed */
328
+ error?: ResourceOperationError;
329
+ }
330
+ export declare function fallbackOperationInfoDeserializer(item: any): FallbackOperationInfo;
307
331
  /** This is the request for hibernate */
308
332
  export interface SubmitHibernateRequest {
309
333
  /** The schedule for the request */
@@ -382,6 +406,1537 @@ export interface ExecuteStartRequest {
382
406
  correlationId: string;
383
407
  }
384
408
  export declare function executeStartRequestSerializer(item: ExecuteStartRequest): any;
409
+ /** The ExecuteCreateFlexRequest request for executeCreateFlex operations */
410
+ export interface ExecuteCreateFlexRequest {
411
+ /** Resource creation payload with flex properties */
412
+ resourceConfigParameters: ResourceProvisionFlexPayload;
413
+ /** The execution parameters for the request */
414
+ executionParameters: ExecutionParameters;
415
+ /** Correlationid item */
416
+ correlationId?: string;
417
+ }
418
+ export declare function executeCreateFlexRequestSerializer(item: ExecuteCreateFlexRequest): any;
419
+ /** Resource creation data model for flex VM provisioning */
420
+ export interface ResourceProvisionFlexPayload {
421
+ /** JSON object that contains VM properties that are common across all VMs in this batch */
422
+ virtualMachineBaseProfile?: BulkVMConfiguration;
423
+ /** JSON array that contains VM properties that should be overridden for each VM in the batch */
424
+ virtualMachineOverrides?: BulkVMConfiguration[];
425
+ /** Number of VMs to be created */
426
+ resourceCount: number;
427
+ /** If resourceOverrides doesn't contain name, service will create name based on prefix and resourceCount */
428
+ resourcePrefix?: string;
429
+ /** The flex properties for flexible VM creation */
430
+ flexProperties: FlexProperties;
431
+ }
432
+ export declare function resourceProvisionFlexPayloadSerializer(item: ResourceProvisionFlexPayload): any;
433
+ /** Specifies the configuration for a virtual machine operation */
434
+ export interface BulkVMConfiguration {
435
+ /** Identifier for created virtual machine. If not passed, it will be created from resource prefix. */
436
+ name?: string;
437
+ /** Specifies the Microsoft.Compute API version to use when creating underlying Virtual Machines. */
438
+ computeApiVersion?: string;
439
+ /** Resource group name for the virtual machine. */
440
+ resourceGroupName?: string;
441
+ /** The availability zones. */
442
+ zones?: string[];
443
+ /** The marketplace image plan used for the virtual machine. */
444
+ plan?: Plan;
445
+ /** The identity of the virtual machine, if configured. */
446
+ identity?: VirtualMachineIdentity;
447
+ /** The extended location of the Virtual Machine. */
448
+ extendedLocation?: ExtendedLocation;
449
+ /** Placement constraints for virtual machine hardware placement. */
450
+ placement?: Placement;
451
+ /** Resource tags to apply to the virtual machines created by this bulk action. */
452
+ tags?: Record<string, string>;
453
+ /** Specifies the properties of the virtual machine to be created. */
454
+ properties?: BulkActionVMProperties;
455
+ /** Virtual Machine Extensions Array to be applied to the Virtual Machines. */
456
+ vmExtensions?: BulkActionVMExtension[];
457
+ }
458
+ export declare function bulkVMConfigurationSerializer(item: BulkVMConfiguration): any;
459
+ /** Plan for the resource. */
460
+ export interface Plan {
461
+ /** A user defined name of the 3rd Party Artifact that is being procured. */
462
+ name: string;
463
+ /** The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic */
464
+ publisher: string;
465
+ /** The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. */
466
+ product: string;
467
+ /** A publisher provided promotion code as provisioned in Data Market for the said product/artifact. */
468
+ promotionCode?: string;
469
+ /** The version of the desired product/artifact. */
470
+ version?: string;
471
+ }
472
+ export declare function planSerializer(item: Plan): any;
473
+ /** Identity for the virtual machine. */
474
+ export interface VirtualMachineIdentity {
475
+ /** The principal id of virtual machine identity. This property will only be provided for a system assigned identity. */
476
+ readonly principalId?: string;
477
+ /** The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. */
478
+ readonly tenantId?: string;
479
+ /** The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */
480
+ type?: ResourceIdentityType;
481
+ /** The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */
482
+ userAssignedIdentities?: Record<string, UserAssignedIdentitiesValue>;
483
+ }
484
+ export declare function virtualMachineIdentitySerializer(item: VirtualMachineIdentity): any;
485
+ /** The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. */
486
+ export type ResourceIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
487
+ export declare function userAssignedIdentitiesValueRecordSerializer(item: Record<string, UserAssignedIdentitiesValue>): Record<string, any>;
488
+ /** model interface UserAssignedIdentitiesValue */
489
+ export interface UserAssignedIdentitiesValue {
490
+ /** The principal id of user assigned identity. */
491
+ readonly principalId?: string;
492
+ /** The client id of user assigned identity. */
493
+ readonly clientId?: string;
494
+ }
495
+ export declare function userAssignedIdentitiesValueSerializer(_item: UserAssignedIdentitiesValue): any;
496
+ /** The complex type of the extended location. */
497
+ export interface ExtendedLocation {
498
+ /** The name of the extended location. */
499
+ name: string;
500
+ /** The type of the extended location. */
501
+ type: ExtendedLocationType;
502
+ }
503
+ export declare function extendedLocationSerializer(item: ExtendedLocation): any;
504
+ /** The supported ExtendedLocation types. */
505
+ export declare enum KnownExtendedLocationType {
506
+ /** Azure Edge Zones location type */
507
+ EdgeZone = "EdgeZone",
508
+ /** Azure Custom Locations type */
509
+ CustomLocation = "CustomLocation"
510
+ }
511
+ /**
512
+ * The supported ExtendedLocation types. \
513
+ * {@link KnownExtendedLocationType} can be used interchangeably with ExtendedLocationType,
514
+ * this enum contains the known values that the service supports.
515
+ * ### Known values supported by the service
516
+ * **EdgeZone**: Azure Edge Zones location type \
517
+ * **CustomLocation**: Azure Custom Locations type
518
+ */
519
+ export type ExtendedLocationType = string;
520
+ /** Describes the user-defined constraints for resource hardware placement. */
521
+ export interface Placement {
522
+ /** Specifies the policy for resource's placement in availability zone. Possible values are: **Any** (used for Virtual Machines), **Auto** (used for Virtual Machine Scale Sets) - An availability zone will be automatically picked by system as part of resource creation. */
523
+ zonePlacementPolicy?: ZonePlacementPolicyType;
524
+ /** This property supplements the 'zonePlacementPolicy' property. If 'zonePlacementPolicy' is set to 'Any'/'Auto', availability zone selected by the system must be present in the list of availability zones passed with 'includeZones'. If 'includeZones' is not provided, all availability zones in region will be considered for selection. */
525
+ includeZones?: string[];
526
+ /** This property supplements the 'zonePlacementPolicy' property. If 'zonePlacementPolicy' is set to 'Any'/'Auto', availability zone selected by the system must not be present in the list of availability zones passed with 'excludeZones'. If 'excludeZones' is not provided, all availability zones in region will be considered for selection. */
527
+ excludeZones?: string[];
528
+ }
529
+ export declare function placementSerializer(item: Placement): any;
530
+ /** Specifies the policy for resource's placement in availability zone. Possible values are: **Any** (used for Virtual Machines), **Auto** (used for Virtual Machine Scale Sets) - An availability zone will be automatically picked by system as part of resource creation. */
531
+ export declare enum KnownZonePlacementPolicyType {
532
+ /** Any */
533
+ Any = "Any",
534
+ /** The platform automatically selects an availability zone based on the request. */
535
+ Auto = "Auto"
536
+ }
537
+ /**
538
+ * Specifies the policy for resource's placement in availability zone. Possible values are: **Any** (used for Virtual Machines), **Auto** (used for Virtual Machine Scale Sets) - An availability zone will be automatically picked by system as part of resource creation. \
539
+ * {@link KnownZonePlacementPolicyType} can be used interchangeably with ZonePlacementPolicyType,
540
+ * this enum contains the known values that the service supports.
541
+ * ### Known values supported by the service
542
+ * **Any** \
543
+ * **Auto**: The platform automatically selects an availability zone based on the request.
544
+ */
545
+ export type ZonePlacementPolicyType = string;
546
+ /** Describes the properties of a Virtual Machine for create. */
547
+ export interface BulkActionVMProperties {
548
+ /** Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the virtual machine. */
549
+ scheduledEventsPolicy?: ScheduledEventsPolicy;
550
+ /** Specifies the storage settings for the virtual machine disks. */
551
+ storageProfile?: StorageProfile;
552
+ /** Specifies additional capabilities enabled or disabled on the virtual machine. */
553
+ additionalCapabilities?: AdditionalCapabilities;
554
+ /** Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned. */
555
+ osProfile?: OSProfile;
556
+ /** Specifies the network interfaces of the virtual machine. */
557
+ networkProfile?: NetworkProfile;
558
+ /** Specifies the hardware profile for the virtual machine. */
559
+ hardwareProfile?: HardwareProfile;
560
+ /** Specifies the Security related profile settings for the virtual machine. */
561
+ securityProfile?: SecurityProfile;
562
+ /** Specifies the boot diagnostic settings state. Minimum compute api-version: 2015-06-15. */
563
+ diagnosticsProfile?: DiagnosticsProfile;
564
+ /** Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15 */
565
+ licenseType?: string;
566
+ /** Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum compute api-version: 2020-06-01. */
567
+ extensionsTimeBudget?: string;
568
+ /** Specifies Scheduled Event related configurations. */
569
+ scheduledEventsProfile?: ScheduledEventsProfile;
570
+ /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum compute api-version: 2021-03-01. */
571
+ userData?: string;
572
+ /** Specifies information about the capacity reservation that is used to allocate virtual machine. Minimum compute api-version: 2021-04-01. */
573
+ capacityReservation?: CapacityReservationProfile;
574
+ /** Specifies the gallery applications that should be made available to the VM. */
575
+ applicationProfile?: ApplicationProfile;
576
+ }
577
+ export declare function bulkActionVMPropertiesSerializer(item: BulkActionVMProperties): any;
578
+ /** Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations. */
579
+ export interface ScheduledEventsPolicy {
580
+ /** The configuration parameters used while creating userInitiatedRedeploy scheduled event setting creation. */
581
+ userInitiatedRedeploy?: UserInitiatedRedeploy;
582
+ /** The configuration parameters used while creating userInitiatedReboot scheduled event setting creation. */
583
+ userInitiatedReboot?: UserInitiatedReboot;
584
+ /** The configuration parameters used while publishing scheduledEventsAdditionalPublishingTargets. */
585
+ scheduledEventsAdditionalPublishingTargets?: ScheduledEventsAdditionalPublishingTargets;
586
+ /** The configuration parameters used while creating AllInstancesDown scheduled event setting creation. */
587
+ allInstancesDown?: AllInstancesDown;
588
+ }
589
+ export declare function scheduledEventsPolicySerializer(item: ScheduledEventsPolicy): any;
590
+ /** Specifies Redeploy related Scheduled Event related configurations. */
591
+ export interface UserInitiatedRedeploy {
592
+ /** Specifies Redeploy Scheduled Event related configurations. */
593
+ automaticallyApprove?: boolean;
594
+ }
595
+ export declare function userInitiatedRedeploySerializer(item: UserInitiatedRedeploy): any;
596
+ /** Specifies Reboot related Scheduled Event related configurations. */
597
+ export interface UserInitiatedReboot {
598
+ /** Specifies Reboot Scheduled Event related configurations. */
599
+ automaticallyApprove?: boolean;
600
+ }
601
+ export declare function userInitiatedRebootSerializer(item: UserInitiatedReboot): any;
602
+ /** Specifies additional publishing targets for scheduled events. */
603
+ export interface ScheduledEventsAdditionalPublishingTargets {
604
+ /** The configuration parameters used while creating eventGridAndResourceGraph Scheduled Event setting. */
605
+ eventGridAndResourceGraph?: EventGridAndResourceGraph;
606
+ }
607
+ export declare function scheduledEventsAdditionalPublishingTargetsSerializer(item: ScheduledEventsAdditionalPublishingTargets): any;
608
+ /** Specifies eventGridAndResourceGraph related Scheduled Event related configurations. */
609
+ export interface EventGridAndResourceGraph {
610
+ /** Specifies if event grid and resource graph is enabled for Scheduled event related configurations. */
611
+ enable?: boolean;
612
+ /** Specifies the api-version to determine which Scheduled Events configuration schema version will be delivered. */
613
+ scheduledEventsApiVersion?: string;
614
+ }
615
+ export declare function eventGridAndResourceGraphSerializer(item: EventGridAndResourceGraph): any;
616
+ /** Specifies if Scheduled Events should be auto-approved when all instances are down. */
617
+ export interface AllInstancesDown {
618
+ /** Specifies if Scheduled Events should be auto-approved when all instances are down. Its default value is true. */
619
+ automaticallyApprove?: boolean;
620
+ }
621
+ export declare function allInstancesDownSerializer(item: AllInstancesDown): any;
622
+ /** Specifies the storage settings for the virtual machine disks. */
623
+ export interface StorageProfile {
624
+ /** Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. */
625
+ imageReference?: ImageReference;
626
+ /** Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */
627
+ osDisk?: OSDisk;
628
+ /** Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */
629
+ dataDisks?: DataDisk[];
630
+ /** Specifies the disk controller type configured for the VM. **Note:** This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01. */
631
+ diskControllerType?: DiskControllerTypes;
632
+ }
633
+ export declare function storageProfileSerializer(item: StorageProfile): any;
634
+ /** Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set. */
635
+ export interface ImageReference extends SubResource {
636
+ /** The image publisher. */
637
+ publisher?: string;
638
+ /** Specifies the offer of the platform image or marketplace image used to create the virtual machine. */
639
+ offer?: string;
640
+ /** The image SKU. */
641
+ sku?: string;
642
+ /** Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input. */
643
+ version?: string;
644
+ /** Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. */
645
+ sharedGalleryImageId?: string;
646
+ /** Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. */
647
+ communityGalleryImageId?: string;
648
+ }
649
+ export declare function imageReferenceSerializer(item: ImageReference): any;
650
+ /** Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */
651
+ export interface OSDisk {
652
+ /** This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux. */
653
+ osType?: OperatingSystemTypes;
654
+ /** Specifies the encryption settings for the OS Disk. Minimum compute api-version: 2015-06-15. */
655
+ encryptionSettings?: DiskEncryptionSettings;
656
+ /** The disk name. */
657
+ name?: string;
658
+ /** The virtual hard disk. */
659
+ vhd?: VirtualHardDisk;
660
+ /** The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. */
661
+ image?: VirtualHardDisk;
662
+ /** Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The defaulting behavior is: None for Standard storage. ReadOnly for Premium storage. */
663
+ caching?: CachingTypes;
664
+ /** Specifies whether writeAccelerator should be enabled or disabled on the disk. */
665
+ writeAcceleratorEnabled?: boolean;
666
+ /** Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine. */
667
+ diffDiskSettings?: DiffDiskSettings;
668
+ /** Specifies how the virtual machine disk should be created. Possible values are Attach, FromImage. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. */
669
+ createOption: DiskCreateOptionTypes;
670
+ /** Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. */
671
+ diskSizeGB?: number;
672
+ /** The managed disk parameters. */
673
+ managedDisk?: ManagedDiskParameters;
674
+ /** Specifies whether OS Disk should be deleted or detached upon VM deletion. Possible values are: Delete, Detach. The default value is set to Detach. For an ephemeral OS Disk, the default value is set to Delete. The user cannot change the delete option for an ephemeral OS Disk. */
675
+ deleteOption?: DiskDeleteOptionTypes;
676
+ }
677
+ export declare function osDiskSerializer(item: OSDisk): any;
678
+ /** This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.** */
679
+ export declare enum KnownOperatingSystemTypes {
680
+ /** Windows OS */
681
+ Windows = "Windows",
682
+ /** Linux OS */
683
+ Linux = "Linux"
684
+ }
685
+ /**
686
+ * This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.** \
687
+ * {@link KnownOperatingSystemTypes} can be used interchangeably with OperatingSystemTypes,
688
+ * this enum contains the known values that the service supports.
689
+ * ### Known values supported by the service
690
+ * **Windows**: Windows OS \
691
+ * **Linux**: Linux OS
692
+ */
693
+ export type OperatingSystemTypes = string;
694
+ /** Describes a Encryption Settings for a Disk */
695
+ export interface DiskEncryptionSettings {
696
+ /** Specifies the location of the disk encryption key, which is a Key Vault Secret. */
697
+ diskEncryptionKey?: KeyVaultSecretReference;
698
+ /** Specifies the location of the key encryption key in Key Vault. */
699
+ keyEncryptionKey?: KeyVaultKeyReference;
700
+ /** Specifies whether disk encryption should be enabled on the virtual machine. */
701
+ enabled?: boolean;
702
+ }
703
+ export declare function diskEncryptionSettingsSerializer(item: DiskEncryptionSettings): any;
704
+ /** Describes a reference to Key Vault Secret */
705
+ export interface KeyVaultSecretReference {
706
+ /** The URL referencing a secret in a Key Vault. */
707
+ secretUrl: string;
708
+ /** The relative URL of the Key Vault containing the secret. */
709
+ sourceVault: SubResource;
710
+ }
711
+ export declare function keyVaultSecretReferenceSerializer(item: KeyVaultSecretReference): any;
712
+ /** Describes a reference to a sub-resource. */
713
+ export interface SubResource {
714
+ /** The ID of the sub-resource. */
715
+ id?: string;
716
+ }
717
+ export declare function subResourceSerializer(item: SubResource): any;
718
+ /** Describes a reference to Key Vault Key */
719
+ export interface KeyVaultKeyReference {
720
+ /** The URL referencing a key encryption key in Key Vault. */
721
+ keyUrl: string;
722
+ /** The relative URL of the Key Vault containing the key. */
723
+ sourceVault: SubResource;
724
+ }
725
+ export declare function keyVaultKeyReferenceSerializer(item: KeyVaultKeyReference): any;
726
+ /** Describes the uri of a disk. */
727
+ export interface VirtualHardDisk {
728
+ /** Specifies the virtual hard disk's uri. */
729
+ uri?: string;
730
+ }
731
+ export declare function virtualHardDiskSerializer(item: VirtualHardDisk): any;
732
+ /** Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage** */
733
+ export declare enum KnownCachingTypes {
734
+ /** Caching type:None */
735
+ None = "None",
736
+ /** Caching type:ReadOnly */
737
+ ReadOnly = "ReadOnly",
738
+ /** Caching type:ReadWrite */
739
+ ReadWrite = "ReadWrite"
740
+ }
741
+ /**
742
+ * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage** \
743
+ * {@link KnownCachingTypes} can be used interchangeably with CachingTypes,
744
+ * this enum contains the known values that the service supports.
745
+ * ### Known values supported by the service
746
+ * **None**: Caching type:None \
747
+ * **ReadOnly**: Caching type:ReadOnly \
748
+ * **ReadWrite**: Caching type:ReadWrite
749
+ */
750
+ export type CachingTypes = string;
751
+ /** Describes the parameters of ephemeral disk settings that can be specified for operating system disk. Note: The ephemeral disk settings can only be specified for managed disk. */
752
+ export interface DiffDiskSettings {
753
+ /** Specifies the ephemeral disk settings for operating system disk. */
754
+ option?: DiffDiskOptions;
755
+ /** Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk, NvmeDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk or NvmeDisk is used. Minimum api-version for NvmeDisk: 2024-03-01. */
756
+ placement?: DiffDiskPlacement;
757
+ }
758
+ export declare function diffDiskSettingsSerializer(item: DiffDiskSettings): any;
759
+ /** Specifies the ephemeral disk option for operating system disk. */
760
+ export declare enum KnownDiffDiskOptions {
761
+ /** Local Ephemeral disk option: Local */
762
+ Local = "Local"
763
+ }
764
+ /**
765
+ * Specifies the ephemeral disk option for operating system disk. \
766
+ * {@link KnownDiffDiskOptions} can be used interchangeably with DiffDiskOptions,
767
+ * this enum contains the known values that the service supports.
768
+ * ### Known values supported by the service
769
+ * **Local**: Local Ephemeral disk option: Local
770
+ */
771
+ export type DiffDiskOptions = string;
772
+ /** Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e, cache disk, resource disk or nvme disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. Minimum api-version for NvmeDisk: 2024-03-01. */
773
+ export declare enum KnownDiffDiskPlacement {
774
+ /** CacheDisk disk placement */
775
+ CacheDisk = "CacheDisk",
776
+ /** ResourceDisk disk placement */
777
+ ResourceDisk = "ResourceDisk",
778
+ /** NvmeDisk disk placement */
779
+ NvmeDisk = "NvmeDisk"
780
+ }
781
+ /**
782
+ * Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e, cache disk, resource disk or nvme disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. Minimum api-version for NvmeDisk: 2024-03-01. \
783
+ * {@link KnownDiffDiskPlacement} can be used interchangeably with DiffDiskPlacement,
784
+ * this enum contains the known values that the service supports.
785
+ * ### Known values supported by the service
786
+ * **CacheDisk**: CacheDisk disk placement \
787
+ * **ResourceDisk**: ResourceDisk disk placement \
788
+ * **NvmeDisk**: NvmeDisk disk placement
789
+ */
790
+ export type DiffDiskPlacement = string;
791
+ /** Specifies how the virtual machine disk should be created. Possible values are **Attach:** This value is used when you are using a specialized disk to create the virtual machine. **FromImage:** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. **Empty:** This value is used when creating an empty data disk. **Copy:** This value is used to create a data disk from a snapshot or another disk. **Restore:** This value is used to create a data disk from a disk restore point. */
792
+ export declare enum KnownDiskCreateOptionTypes {
793
+ /** Create disk FromImage */
794
+ FromImage = "FromImage",
795
+ /** Empty value */
796
+ Empty = "Empty",
797
+ /** Create disk by Attach */
798
+ Attach = "Attach",
799
+ /** Create disk by Copy */
800
+ Copy = "Copy",
801
+ /** Create disk by Restore */
802
+ Restore = "Restore"
803
+ }
804
+ /**
805
+ * Specifies how the virtual machine disk should be created. Possible values are **Attach:** This value is used when you are using a specialized disk to create the virtual machine. **FromImage:** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. **Empty:** This value is used when creating an empty data disk. **Copy:** This value is used to create a data disk from a snapshot or another disk. **Restore:** This value is used to create a data disk from a disk restore point. \
806
+ * {@link KnownDiskCreateOptionTypes} can be used interchangeably with DiskCreateOptionTypes,
807
+ * this enum contains the known values that the service supports.
808
+ * ### Known values supported by the service
809
+ * **FromImage**: Create disk FromImage \
810
+ * **Empty**: Empty value \
811
+ * **Attach**: Create disk by Attach \
812
+ * **Copy**: Create disk by Copy \
813
+ * **Restore**: Create disk by Restore
814
+ */
815
+ export type DiskCreateOptionTypes = string;
816
+ /** The parameters of a managed disk. */
817
+ export interface ManagedDiskParameters extends SubResource {
818
+ /** Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. */
819
+ storageAccountType?: StorageAccountTypes;
820
+ /** Specifies the customer managed disk encryption set resource id for the managed disk. */
821
+ diskEncryptionSet?: DiskEncryptionSetParameters;
822
+ /** Specifies the security profile for the managed disk. */
823
+ securityProfile?: VMDiskSecurityProfile;
824
+ }
825
+ export declare function managedDiskParametersSerializer(item: ManagedDiskParameters): any;
826
+ /** Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant storage. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/linux/disks-types */
827
+ export declare enum KnownStorageAccountTypes {
828
+ /** Standard_LRS storage account type */
829
+ StandardLRS = "Standard_LRS",
830
+ /** Premium_LRS storage account type */
831
+ PremiumLRS = "Premium_LRS",
832
+ /** StandardSSD_LRS storage account type */
833
+ StandardSSDLRS = "StandardSSD_LRS",
834
+ /** UltraSSD_LRS storage account type */
835
+ UltraSSDLRS = "UltraSSD_LRS",
836
+ /** Premium_ZRS storage account type */
837
+ PremiumZRS = "Premium_ZRS",
838
+ /** StandardSSD_ZRS storage account type */
839
+ StandardSSDZRS = "StandardSSD_ZRS",
840
+ /** PremiumV2_LRS storage account type */
841
+ PremiumV2LRS = "PremiumV2_LRS"
842
+ }
843
+ /**
844
+ * Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant storage. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/linux/disks-types \
845
+ * {@link KnownStorageAccountTypes} can be used interchangeably with StorageAccountTypes,
846
+ * this enum contains the known values that the service supports.
847
+ * ### Known values supported by the service
848
+ * **Standard_LRS**: Standard_LRS storage account type \
849
+ * **Premium_LRS**: Premium_LRS storage account type \
850
+ * **StandardSSD_LRS**: StandardSSD_LRS storage account type \
851
+ * **UltraSSD_LRS**: UltraSSD_LRS storage account type \
852
+ * **Premium_ZRS**: Premium_ZRS storage account type \
853
+ * **StandardSSD_ZRS**: StandardSSD_ZRS storage account type \
854
+ * **PremiumV2_LRS**: PremiumV2_LRS storage account type
855
+ */
856
+ export type StorageAccountTypes = string;
857
+ /** Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. */
858
+ export interface DiskEncryptionSetParameters extends SubResource {
859
+ }
860
+ export declare function diskEncryptionSetParametersSerializer(item: DiskEncryptionSetParameters): any;
861
+ /** Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs. */
862
+ export interface VMDiskSecurityProfile {
863
+ /** Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs. */
864
+ securityEncryptionType?: SecurityEncryptionTypes;
865
+ /** Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob. */
866
+ diskEncryptionSet?: DiskEncryptionSetParameters;
867
+ }
868
+ export declare function vmDiskSecurityProfileSerializer(item: VMDiskSecurityProfile): any;
869
+ /** Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs. */
870
+ export declare enum KnownSecurityEncryptionTypes {
871
+ /** VMGuestStateOnly encryption */
872
+ VMGuestStateOnly = "VMGuestStateOnly",
873
+ /** DiskWithVMGuestState encryption */
874
+ DiskWithVMGuestState = "DiskWithVMGuestState",
875
+ /** NonPersistedTPM encryption */
876
+ NonPersistedTPM = "NonPersistedTPM"
877
+ }
878
+ /**
879
+ * Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs. \
880
+ * {@link KnownSecurityEncryptionTypes} can be used interchangeably with SecurityEncryptionTypes,
881
+ * this enum contains the known values that the service supports.
882
+ * ### Known values supported by the service
883
+ * **VMGuestStateOnly**: VMGuestStateOnly encryption \
884
+ * **DiskWithVMGuestState**: DiskWithVMGuestState encryption \
885
+ * **NonPersistedTPM**: NonPersistedTPM encryption
886
+ */
887
+ export type SecurityEncryptionTypes = string;
888
+ /** Specifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached. Supported values are: **Delete.** If this value is used, the managed disk is deleted when VM gets deleted. **Detach.** If this value is used, the managed disk is retained after VM gets deleted. Minimum api-version: 2021-03-01. */
889
+ export declare enum KnownDiskDeleteOptionTypes {
890
+ /** Delete the disk upon VM deletion */
891
+ Delete = "Delete",
892
+ /** Detach the disk upon VM deletion */
893
+ Detach = "Detach"
894
+ }
895
+ /**
896
+ * Specifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached. Supported values are: **Delete.** If this value is used, the managed disk is deleted when VM gets deleted. **Detach.** If this value is used, the managed disk is retained after VM gets deleted. Minimum api-version: 2021-03-01. \
897
+ * {@link KnownDiskDeleteOptionTypes} can be used interchangeably with DiskDeleteOptionTypes,
898
+ * this enum contains the known values that the service supports.
899
+ * ### Known values supported by the service
900
+ * **Delete**: Delete the disk upon VM deletion \
901
+ * **Detach**: Detach the disk upon VM deletion
902
+ */
903
+ export type DiskDeleteOptionTypes = string;
904
+ export declare function dataDiskArraySerializer(result: Array<DataDisk>): any[];
905
+ /** Describes a data disk. */
906
+ export interface DataDisk {
907
+ /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */
908
+ lun: number;
909
+ /** The disk name. */
910
+ name?: string;
911
+ /** The virtual hard disk. */
912
+ vhd?: VirtualHardDisk;
913
+ /** The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. */
914
+ image?: VirtualHardDisk;
915
+ /** Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The defaulting behavior is: None for Standard storage. ReadOnly for Premium storage. */
916
+ caching?: CachingTypes;
917
+ /** Specifies whether writeAccelerator should be enabled or disabled on the disk. */
918
+ writeAcceleratorEnabled?: boolean;
919
+ /** Specifies how the virtual machine disk should be created. Possible values are Attach, FromImage, Empty, Copy, Restore. */
920
+ createOption: DiskCreateOptionTypes;
921
+ /** Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. */
922
+ diskSizeGB?: number;
923
+ /** The managed disk parameters. */
924
+ managedDisk?: ManagedDiskParameters;
925
+ /** The source resource identifier. It can be a snapshot, or disk restore point from which to create a disk. */
926
+ sourceResource?: ApiEntityReference;
927
+ /** Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset. */
928
+ toBeDetached?: boolean;
929
+ /** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: ForceDetach. This feature is still in preview. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */
930
+ detachOption?: DiskDetachOptionTypes;
931
+ /** Specifies whether data disk should be deleted or detached upon VM deletion. Possible values are: Delete, Detach. The default value is set to Detach. */
932
+ deleteOption?: DiskDeleteOptionTypes;
933
+ }
934
+ export declare function dataDiskSerializer(item: DataDisk): any;
935
+ /** The API entity reference. */
936
+ export interface ApiEntityReference {
937
+ /** The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... */
938
+ id?: string;
939
+ }
940
+ export declare function apiEntityReferenceSerializer(item: ApiEntityReference): any;
941
+ /** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values are: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview**. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */
942
+ export declare enum KnownDiskDetachOptionTypes {
943
+ /** ForceDetach the disk */
944
+ ForceDetach = "ForceDetach"
945
+ }
946
+ /**
947
+ * Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values are: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview**. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. \
948
+ * {@link KnownDiskDetachOptionTypes} can be used interchangeably with DiskDetachOptionTypes,
949
+ * this enum contains the known values that the service supports.
950
+ * ### Known values supported by the service
951
+ * **ForceDetach**: ForceDetach the disk
952
+ */
953
+ export type DiskDetachOptionTypes = string;
954
+ /** Specifies the disk controller type configured for the VM and VirtualMachineScaleSet. This property is only supported for virtual machines whose operating system disk and VM sku supports Generation 2 (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please check the HyperVGenerations capability returned as part of VM sku capabilities in the response of Microsoft.Compute SKUs api for the region contains V2 (https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more information about Disk Controller Types supported please refer to https://aka.ms/azure-diskcontrollertypes. */
955
+ export declare enum KnownDiskControllerTypes {
956
+ /** SCSI disk controller type */
957
+ Scsi = "SCSI",
958
+ /** NVMe disk controller type */
959
+ NVMe = "NVMe"
960
+ }
961
+ /**
962
+ * Specifies the disk controller type configured for the VM and VirtualMachineScaleSet. This property is only supported for virtual machines whose operating system disk and VM sku supports Generation 2 (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please check the HyperVGenerations capability returned as part of VM sku capabilities in the response of Microsoft.Compute SKUs api for the region contains V2 (https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more information about Disk Controller Types supported please refer to https://aka.ms/azure-diskcontrollertypes. \
963
+ * {@link KnownDiskControllerTypes} can be used interchangeably with DiskControllerTypes,
964
+ * this enum contains the known values that the service supports.
965
+ * ### Known values supported by the service
966
+ * **SCSI**: SCSI disk controller type \
967
+ * **NVMe**: NVMe disk controller type
968
+ */
969
+ export type DiskControllerTypes = string;
970
+ /** Enables or disables a capability on the virtual machine or virtual machine scale set. */
971
+ export interface AdditionalCapabilities {
972
+ /** The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. */
973
+ ultraSSDEnabled?: boolean;
974
+ /** The flag that enables or disables hibernation capability on the VM. */
975
+ hibernationEnabled?: boolean;
976
+ }
977
+ export declare function additionalCapabilitiesSerializer(item: AdditionalCapabilities): any;
978
+ /** Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned. */
979
+ export interface OSProfile {
980
+ /** Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters. **Max-length (Linux):** 64 characters. For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules). */
981
+ computerName?: string;
982
+ /** Specifies the name of the administrator account. <br><br> This property cannot be updated after the VM is created. <br><br> **Windows-only restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters. */
983
+ adminUsername?: string;
984
+ /** Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) */
985
+ adminPassword?: string;
986
+ /** Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData property.** This property cannot be updated after the VM is created. The property 'customData' is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/). For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init). */
987
+ customData?: string;
988
+ /** Specifies Windows operating system settings on the virtual machine. */
989
+ windowsConfiguration?: WindowsConfiguration;
990
+ /** Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). */
991
+ linuxConfiguration?: LinuxConfiguration;
992
+ /** Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */
993
+ secrets?: VaultSecretGroup[];
994
+ /** Specifies whether extension operations should be allowed on the virtual machine. This may only be set to False when no extensions are present on the virtual machine. */
995
+ allowExtensionOperations?: boolean;
996
+ /** Optional property which must either be set to True or omitted. */
997
+ requireGuestProvisionSignal?: boolean;
998
+ }
999
+ export declare function osProfileSerializer(item: OSProfile): any;
1000
+ /** Specifies Windows operating system settings on the virtual machine. */
1001
+ export interface WindowsConfiguration {
1002
+ /** Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. */
1003
+ provisionVMAgent?: boolean;
1004
+ /** Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning. */
1005
+ enableAutomaticUpdates?: boolean;
1006
+ /** Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones). */
1007
+ timeZone?: string;
1008
+ /** Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. */
1009
+ additionalUnattendContent?: AdditionalUnattendContent[];
1010
+ /** [Preview Feature] Specifies settings related to VM Guest Patching on Windows. */
1011
+ patchSettings?: PatchSettings;
1012
+ /** Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell. */
1013
+ winRM?: WinRMConfiguration;
1014
+ }
1015
+ export declare function windowsConfigurationSerializer(item: WindowsConfiguration): any;
1016
+ export declare function additionalUnattendContentArraySerializer(result: Array<AdditionalUnattendContent>): any[];
1017
+ /** Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied. */
1018
+ export interface AdditionalUnattendContent {
1019
+ /** The pass name. Currently, the only allowable value is OobeSystem. */
1020
+ passName?: "OobeSystem";
1021
+ /** The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. */
1022
+ componentName?: "Microsoft-Windows-Shell-Setup";
1023
+ /** Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. */
1024
+ settingName?: SettingNames;
1025
+ /** Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted. */
1026
+ content?: string;
1027
+ }
1028
+ export declare function additionalUnattendContentSerializer(item: AdditionalUnattendContent): any;
1029
+ /** Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. */
1030
+ export declare enum KnownSettingNames {
1031
+ /** AutoLogon mode */
1032
+ AutoLogon = "AutoLogon",
1033
+ /** FirstLogonCommands mode */
1034
+ FirstLogonCommands = "FirstLogonCommands"
1035
+ }
1036
+ /**
1037
+ * Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. \
1038
+ * {@link KnownSettingNames} can be used interchangeably with SettingNames,
1039
+ * this enum contains the known values that the service supports.
1040
+ * ### Known values supported by the service
1041
+ * **AutoLogon**: AutoLogon mode \
1042
+ * **FirstLogonCommands**: FirstLogonCommands mode
1043
+ */
1044
+ export type SettingNames = string;
1045
+ /** Specifies settings related to VM Guest Patching on Windows. */
1046
+ export interface PatchSettings {
1047
+ /** Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true */
1048
+ patchMode?: WindowsVMGuestPatchMode;
1049
+ /** Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'. */
1050
+ enableHotpatching?: boolean;
1051
+ /** Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. */
1052
+ assessmentMode?: WindowsPatchAssessmentMode;
1053
+ /** Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows. */
1054
+ automaticByPlatformSettings?: WindowsVMGuestPatchAutomaticByPlatformSettings;
1055
+ }
1056
+ export declare function patchSettingsSerializer(item: PatchSettings): any;
1057
+ /** Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true */
1058
+ export declare enum KnownWindowsVMGuestPatchMode {
1059
+ /** Manual VM guest patch mode */
1060
+ Manual = "Manual",
1061
+ /** AutomaticByOS VM guest patch mode */
1062
+ AutomaticByOS = "AutomaticByOS",
1063
+ /** AutomaticByPlatform VM guest patch mode */
1064
+ AutomaticByPlatform = "AutomaticByPlatform"
1065
+ }
1066
+ /**
1067
+ * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true \
1068
+ * {@link KnownWindowsVMGuestPatchMode} can be used interchangeably with WindowsVMGuestPatchMode,
1069
+ * this enum contains the known values that the service supports.
1070
+ * ### Known values supported by the service
1071
+ * **Manual**: Manual VM guest patch mode \
1072
+ * **AutomaticByOS**: AutomaticByOS VM guest patch mode \
1073
+ * **AutomaticByPlatform**: AutomaticByPlatform VM guest patch mode
1074
+ */
1075
+ export type WindowsVMGuestPatchMode = string;
1076
+ /** Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. */
1077
+ export declare enum KnownWindowsPatchAssessmentMode {
1078
+ /** ImageDefault patch assessment mode */
1079
+ ImageDefault = "ImageDefault",
1080
+ /** AutomaticByPlatform patch assessment mode */
1081
+ AutomaticByPlatform = "AutomaticByPlatform"
1082
+ }
1083
+ /**
1084
+ * Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. \
1085
+ * {@link KnownWindowsPatchAssessmentMode} can be used interchangeably with WindowsPatchAssessmentMode,
1086
+ * this enum contains the known values that the service supports.
1087
+ * ### Known values supported by the service
1088
+ * **ImageDefault**: ImageDefault patch assessment mode \
1089
+ * **AutomaticByPlatform**: AutomaticByPlatform patch assessment mode
1090
+ */
1091
+ export type WindowsPatchAssessmentMode = string;
1092
+ /** Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings. */
1093
+ export interface WindowsVMGuestPatchAutomaticByPlatformSettings {
1094
+ /** Specifies the reboot setting for all AutomaticByPlatform patch installation operations. */
1095
+ rebootSetting?: WindowsVMGuestPatchAutomaticByPlatformRebootSetting;
1096
+ /** Enables customer to schedule patching without accidental upgrades */
1097
+ bypassPlatformSafetyChecksOnUserSchedule?: boolean;
1098
+ }
1099
+ export declare function windowsVMGuestPatchAutomaticByPlatformSettingsSerializer(item: WindowsVMGuestPatchAutomaticByPlatformSettings): any;
1100
+ /** Specifies the reboot setting for all AutomaticByPlatform patch installation operations. */
1101
+ export declare enum KnownWindowsVMGuestPatchAutomaticByPlatformRebootSetting {
1102
+ /** Reboot setting for Unknown */
1103
+ Unknown = "Unknown",
1104
+ /** Reboot setting for IfRequired */
1105
+ IfRequired = "IfRequired",
1106
+ /** Reboot setting for Never */
1107
+ Never = "Never",
1108
+ /** Reboot setting for Always */
1109
+ Always = "Always"
1110
+ }
1111
+ /**
1112
+ * Specifies the reboot setting for all AutomaticByPlatform patch installation operations. \
1113
+ * {@link KnownWindowsVMGuestPatchAutomaticByPlatformRebootSetting} can be used interchangeably with WindowsVMGuestPatchAutomaticByPlatformRebootSetting,
1114
+ * this enum contains the known values that the service supports.
1115
+ * ### Known values supported by the service
1116
+ * **Unknown**: Reboot setting for Unknown \
1117
+ * **IfRequired**: Reboot setting for IfRequired \
1118
+ * **Never**: Reboot setting for Never \
1119
+ * **Always**: Reboot setting for Always
1120
+ */
1121
+ export type WindowsVMGuestPatchAutomaticByPlatformRebootSetting = string;
1122
+ /** Describes Windows Remote Management configuration of the VM */
1123
+ export interface WinRMConfiguration {
1124
+ /** The list of Windows Remote Management listeners */
1125
+ listeners?: WinRMListener[];
1126
+ }
1127
+ export declare function winRMConfigurationSerializer(item: WinRMConfiguration): any;
1128
+ export declare function winRMListenerArraySerializer(result: Array<WinRMListener>): any[];
1129
+ /** Describes Protocol and thumbprint of Windows Remote Management listener */
1130
+ export interface WinRMListener {
1131
+ /** Specifies the protocol of WinRM listener. Possible values are: **http,** **https.** */
1132
+ protocol?: ProtocolTypes;
1133
+ /** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br> "password":"<pfx-file-password>"<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */
1134
+ certificateUrl?: string;
1135
+ }
1136
+ export declare function winRMListenerSerializer(item: WinRMListener): any;
1137
+ /** Specifies the protocol of WinRM listener. Possible values are: **http,** **https.** */
1138
+ export declare enum KnownProtocolTypes {
1139
+ /** Http protocol */
1140
+ Http = "Http",
1141
+ /** Https protocol */
1142
+ Https = "Https"
1143
+ }
1144
+ /**
1145
+ * Specifies the protocol of WinRM listener. Possible values are: **http,** **https.** \
1146
+ * {@link KnownProtocolTypes} can be used interchangeably with ProtocolTypes,
1147
+ * this enum contains the known values that the service supports.
1148
+ * ### Known values supported by the service
1149
+ * **Http**: Http protocol \
1150
+ * **Https**: Https protocol
1151
+ */
1152
+ export type ProtocolTypes = string;
1153
+ /** Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). */
1154
+ export interface LinuxConfiguration {
1155
+ /** Specifies whether password authentication should be disabled. */
1156
+ disablePasswordAuthentication?: boolean;
1157
+ /** Specifies the ssh key configuration for a Linux OS. */
1158
+ ssh?: SshConfiguration;
1159
+ /** Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. */
1160
+ provisionVMAgent?: boolean;
1161
+ /** [Preview Feature] Specifies settings related to VM Guest Patching on Linux. */
1162
+ patchSettings?: LinuxPatchSettings;
1163
+ /** Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false. */
1164
+ enableVMAgentPlatformUpdates?: boolean;
1165
+ }
1166
+ export declare function linuxConfigurationSerializer(item: LinuxConfiguration): any;
1167
+ /** SSH configuration for Linux based VMs running on Azure */
1168
+ export interface SshConfiguration {
1169
+ /** The list of SSH public keys used to authenticate with linux based VMs. */
1170
+ publicKeys?: SshPublicKey[];
1171
+ }
1172
+ export declare function sshConfigurationSerializer(item: SshConfiguration): any;
1173
+ export declare function sshPublicKeyArraySerializer(result: Array<SshPublicKey>): any[];
1174
+ /** Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. */
1175
+ export interface SshPublicKey {
1176
+ /** Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys */
1177
+ path?: string;
1178
+ /** SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). */
1179
+ keyData?: string;
1180
+ }
1181
+ export declare function sshPublicKeySerializer(item: SshPublicKey): any;
1182
+ /** Specifies settings related to VM Guest Patching on Linux. */
1183
+ export interface LinuxPatchSettings {
1184
+ /** Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true */
1185
+ patchMode?: LinuxVMGuestPatchMode;
1186
+ /** Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine. <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. */
1187
+ assessmentMode?: LinuxPatchAssessmentMode;
1188
+ /** Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux. */
1189
+ automaticByPlatformSettings?: LinuxVMGuestPatchAutomaticByPlatformSettings;
1190
+ }
1191
+ export declare function linuxPatchSettingsSerializer(item: LinuxPatchSettings): any;
1192
+ /** Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true */
1193
+ export declare enum KnownLinuxVMGuestPatchMode {
1194
+ /** ImageDefault linux VM guest patch mode */
1195
+ ImageDefault = "ImageDefault",
1196
+ /** AutomaticByPlatform linux VM guest patch mode */
1197
+ AutomaticByPlatform = "AutomaticByPlatform"
1198
+ }
1199
+ /**
1200
+ * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true \
1201
+ * {@link KnownLinuxVMGuestPatchMode} can be used interchangeably with LinuxVMGuestPatchMode,
1202
+ * this enum contains the known values that the service supports.
1203
+ * ### Known values supported by the service
1204
+ * **ImageDefault**: ImageDefault linux VM guest patch mode \
1205
+ * **AutomaticByPlatform**: AutomaticByPlatform linux VM guest patch mode
1206
+ */
1207
+ export type LinuxVMGuestPatchMode = string;
1208
+ /** Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine. <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. */
1209
+ export declare enum KnownLinuxPatchAssessmentMode {
1210
+ /** ImageDefault mode */
1211
+ ImageDefault = "ImageDefault",
1212
+ /** AutomaticByPlatform mode */
1213
+ AutomaticByPlatform = "AutomaticByPlatform"
1214
+ }
1215
+ /**
1216
+ * Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine. <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. \
1217
+ * {@link KnownLinuxPatchAssessmentMode} can be used interchangeably with LinuxPatchAssessmentMode,
1218
+ * this enum contains the known values that the service supports.
1219
+ * ### Known values supported by the service
1220
+ * **ImageDefault**: ImageDefault mode \
1221
+ * **AutomaticByPlatform**: AutomaticByPlatform mode
1222
+ */
1223
+ export type LinuxPatchAssessmentMode = string;
1224
+ /** Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings. */
1225
+ export interface LinuxVMGuestPatchAutomaticByPlatformSettings {
1226
+ /** Specifies the reboot setting for all AutomaticByPlatform patch installation operations. */
1227
+ rebootSetting?: LinuxVMGuestPatchAutomaticByPlatformRebootSetting;
1228
+ /** Enables customer to schedule patching without accidental upgrades */
1229
+ bypassPlatformSafetyChecksOnUserSchedule?: boolean;
1230
+ }
1231
+ export declare function linuxVMGuestPatchAutomaticByPlatformSettingsSerializer(item: LinuxVMGuestPatchAutomaticByPlatformSettings): any;
1232
+ /** Specifies the reboot setting for all AutomaticByPlatform patch installation operations. */
1233
+ export declare enum KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting {
1234
+ /** Unknown reboot setting */
1235
+ Unknown = "Unknown",
1236
+ /** Reboot if required */
1237
+ IfRequired = "IfRequired",
1238
+ /** Never reboot */
1239
+ Never = "Never",
1240
+ /** Always reboot */
1241
+ Always = "Always"
1242
+ }
1243
+ /**
1244
+ * Specifies the reboot setting for all AutomaticByPlatform patch installation operations. \
1245
+ * {@link KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting} can be used interchangeably with LinuxVMGuestPatchAutomaticByPlatformRebootSetting,
1246
+ * this enum contains the known values that the service supports.
1247
+ * ### Known values supported by the service
1248
+ * **Unknown**: Unknown reboot setting \
1249
+ * **IfRequired**: Reboot if required \
1250
+ * **Never**: Never reboot \
1251
+ * **Always**: Always reboot
1252
+ */
1253
+ export type LinuxVMGuestPatchAutomaticByPlatformRebootSetting = string;
1254
+ export declare function vaultSecretGroupArraySerializer(result: Array<VaultSecretGroup>): any[];
1255
+ /** Describes a set of certificates which are all in the same Key Vault. */
1256
+ export interface VaultSecretGroup {
1257
+ /** The relative URL of the Key Vault containing all of the certificates in VaultCertificates. */
1258
+ sourceVault?: SubResource;
1259
+ /** The list of key vault references in SourceVault which contain certificates. */
1260
+ vaultCertificates?: VaultCertificate[];
1261
+ }
1262
+ export declare function vaultSecretGroupSerializer(item: VaultSecretGroup): any;
1263
+ export declare function vaultCertificateArraySerializer(result: Array<VaultCertificate>): any[];
1264
+ /** Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM. */
1265
+ export interface VaultCertificate {
1266
+ /** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> 'data':'<Base64-encoded-certificate>',<br> 'dataType':'pfx',<br> 'password':'<pfx-file-password>'<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */
1267
+ certificateUrl?: string;
1268
+ /** For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted. */
1269
+ certificateStore?: string;
1270
+ }
1271
+ export declare function vaultCertificateSerializer(item: VaultCertificate): any;
1272
+ /** Specifies the network interfaces or the networking configuration of the virtual machine. */
1273
+ export interface NetworkProfile {
1274
+ /** Specifies the list of resource Ids for the network interfaces associated with the virtual machine. */
1275
+ networkInterfaces?: NetworkInterfaceReference[];
1276
+ /** specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations */
1277
+ networkApiVersion?: NetworkApiVersion;
1278
+ /** Specifies the networking configurations that will be used to create the virtual machine networking resources. */
1279
+ networkInterfaceConfigurations?: VirtualMachineNetworkInterfaceConfiguration[];
1280
+ }
1281
+ export declare function networkProfileSerializer(item: NetworkProfile): any;
1282
+ export declare function networkInterfaceReferenceArraySerializer(result: Array<NetworkInterfaceReference>): any[];
1283
+ /** Describes a network interface reference. */
1284
+ export interface NetworkInterfaceReference extends SubResource {
1285
+ /** Describes a network interface reference properties. */
1286
+ properties?: NetworkInterfaceReferenceProperties;
1287
+ }
1288
+ export declare function networkInterfaceReferenceSerializer(item: NetworkInterfaceReference): any;
1289
+ /** Describes a network interface reference properties. */
1290
+ export interface NetworkInterfaceReferenceProperties {
1291
+ /** Specifies the primary network interface in case the virtual machine has more than 1 network interface. */
1292
+ primary?: boolean;
1293
+ /** Specify what happens to the network interface when the VM is deleted */
1294
+ deleteOption?: DeleteOptions;
1295
+ }
1296
+ export declare function networkInterfaceReferencePropertiesSerializer(item: NetworkInterfaceReferenceProperties): any;
1297
+ /** Specify what happens to the network interface when the VM is deleted */
1298
+ export declare enum KnownDeleteOptions {
1299
+ /** Delete network interface when the VM is deleted */
1300
+ Delete = "Delete",
1301
+ /** Detach network interface when the VM is deleted */
1302
+ Detach = "Detach"
1303
+ }
1304
+ /**
1305
+ * Specify what happens to the network interface when the VM is deleted \
1306
+ * {@link KnownDeleteOptions} can be used interchangeably with DeleteOptions,
1307
+ * this enum contains the known values that the service supports.
1308
+ * ### Known values supported by the service
1309
+ * **Delete**: Delete network interface when the VM is deleted \
1310
+ * **Detach**: Detach network interface when the VM is deleted
1311
+ */
1312
+ export type DeleteOptions = string;
1313
+ /** Specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations */
1314
+ export declare enum KnownNetworkApiVersion {
1315
+ /** 2020-11-01 version */
1316
+ NetworkApiVersion20201101 = "2020-11-01",
1317
+ /** 2022-11-01 version */
1318
+ NetworkApiVersion20221101 = "2022-11-01"
1319
+ }
1320
+ /**
1321
+ * Specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations \
1322
+ * {@link KnownNetworkApiVersion} can be used interchangeably with NetworkApiVersion,
1323
+ * this enum contains the known values that the service supports.
1324
+ * ### Known values supported by the service
1325
+ * **2020-11-01**: 2020-11-01 version \
1326
+ * **2022-11-01**: 2022-11-01 version
1327
+ */
1328
+ export type NetworkApiVersion = string;
1329
+ export declare function virtualMachineNetworkInterfaceConfigurationArraySerializer(result: Array<VirtualMachineNetworkInterfaceConfiguration>): any[];
1330
+ /** Describes a virtual machine network interface configurations. */
1331
+ export interface VirtualMachineNetworkInterfaceConfiguration {
1332
+ /** The network interface configuration name. */
1333
+ name: string;
1334
+ /** Describes a virtual machine network profile's IP configuration. */
1335
+ properties?: VirtualMachineNetworkInterfaceConfigurationProperties;
1336
+ /** Resource tags applied to the networkInterface address created by this NetworkInterfaceConfiguration */
1337
+ tags?: Record<string, string>;
1338
+ }
1339
+ export declare function virtualMachineNetworkInterfaceConfigurationSerializer(item: VirtualMachineNetworkInterfaceConfiguration): any;
1340
+ /** Describes a virtual machine network profile's IP configuration. */
1341
+ export interface VirtualMachineNetworkInterfaceConfigurationProperties {
1342
+ /** Specifies the primary network interface in case the virtual machine has more than 1 network interface. */
1343
+ primary?: boolean;
1344
+ /** Specify what happens to the network interface when the VM is deleted */
1345
+ deleteOption?: DeleteOptions;
1346
+ /** Specifies whether the network interface is accelerated networking-enabled. */
1347
+ enableAcceleratedNetworking?: boolean;
1348
+ /** Specifies whether the network interface is disabled for tcp state tracking. */
1349
+ disableTcpStateTracking?: boolean;
1350
+ /** Specifies whether the network interface is FPGA networking-enabled. */
1351
+ enableFpga?: boolean;
1352
+ /** Whether IP forwarding enabled on this NIC. */
1353
+ enableIPForwarding?: boolean;
1354
+ /** The network security group. */
1355
+ networkSecurityGroup?: SubResource;
1356
+ /** The dns settings to be applied on the network interfaces. */
1357
+ dnsSettings?: VirtualMachineNetworkInterfaceDnsSettingsConfiguration;
1358
+ /** Specifies the IP configurations of the network interface. */
1359
+ ipConfigurations: VirtualMachineNetworkInterfaceIPConfiguration[];
1360
+ /** The DSCP configuration for the network interface. */
1361
+ dscpConfiguration?: SubResource;
1362
+ /** Specifies whether the Auxiliary mode is enabled for the Network Interface resource. */
1363
+ auxiliaryMode?: NetworkInterfaceAuxiliaryMode;
1364
+ /** Specifies whether the Auxiliary sku is enabled for the Network Interface resource. */
1365
+ auxiliarySku?: NetworkInterfaceAuxiliarySku;
1366
+ }
1367
+ export declare function virtualMachineNetworkInterfaceConfigurationPropertiesSerializer(item: VirtualMachineNetworkInterfaceConfigurationProperties): any;
1368
+ /** Describes a virtual machines network configuration's DNS settings. */
1369
+ export interface VirtualMachineNetworkInterfaceDnsSettingsConfiguration {
1370
+ /** List of DNS servers IP addresses */
1371
+ dnsServers?: string[];
1372
+ }
1373
+ export declare function virtualMachineNetworkInterfaceDnsSettingsConfigurationSerializer(item: VirtualMachineNetworkInterfaceDnsSettingsConfiguration): any;
1374
+ export declare function virtualMachineNetworkInterfaceIPConfigurationArraySerializer(result: Array<VirtualMachineNetworkInterfaceIPConfiguration>): any[];
1375
+ /** Describes a virtual machine network profile's IP configuration. */
1376
+ export interface VirtualMachineNetworkInterfaceIPConfiguration {
1377
+ /** The IP configuration name. */
1378
+ name: string;
1379
+ /** Describes a virtual machine network interface IP configuration properties. */
1380
+ properties?: VirtualMachineNetworkInterfaceIPConfigurationProperties;
1381
+ }
1382
+ export declare function virtualMachineNetworkInterfaceIPConfigurationSerializer(item: VirtualMachineNetworkInterfaceIPConfiguration): any;
1383
+ /** Describes a virtual machine network interface IP configuration properties. */
1384
+ export interface VirtualMachineNetworkInterfaceIPConfigurationProperties {
1385
+ /** Specifies the identifier of the subnet. */
1386
+ subnet?: SubResource;
1387
+ /** Specifies the primary network interface in case the virtual machine has more than 1 network interface. */
1388
+ primary?: boolean;
1389
+ /** The publicIPAddressConfiguration. */
1390
+ publicIPAddressConfiguration?: VirtualMachinePublicIPAddressConfiguration;
1391
+ /** Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. */
1392
+ privateIPAddressVersion?: IPVersions;
1393
+ /** Specifies an array of references to application security group. */
1394
+ applicationSecurityGroups?: SubResource[];
1395
+ /** Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway. */
1396
+ applicationGatewayBackendAddressPools?: SubResource[];
1397
+ /** Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]. */
1398
+ loadBalancerBackendAddressPools?: SubResource[];
1399
+ }
1400
+ export declare function virtualMachineNetworkInterfaceIPConfigurationPropertiesSerializer(item: VirtualMachineNetworkInterfaceIPConfigurationProperties): any;
1401
+ /** Describes a virtual machines IP Configuration's PublicIPAddress configuration */
1402
+ export interface VirtualMachinePublicIPAddressConfiguration {
1403
+ /** The publicIP address configuration name. */
1404
+ name: string;
1405
+ /** Describes a virtual machines IP Configuration's PublicIPAddress configuration */
1406
+ properties?: VirtualMachinePublicIPAddressConfigurationProperties;
1407
+ /** Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. */
1408
+ sku?: PublicIPAddressSku;
1409
+ /** Resource tags applied to the publicIP address created by this PublicIPAddressConfiguration */
1410
+ tags?: Record<string, string>;
1411
+ }
1412
+ export declare function virtualMachinePublicIPAddressConfigurationSerializer(item: VirtualMachinePublicIPAddressConfiguration): any;
1413
+ /** Describes a virtual machines IP Configuration's PublicIPAddress configuration */
1414
+ export interface VirtualMachinePublicIPAddressConfigurationProperties {
1415
+ /** The idle timeout of the public IP address. */
1416
+ idleTimeoutInMinutes?: number;
1417
+ /** Specify what happens to the public IP address when the VM is deleted */
1418
+ deleteOption?: DeleteOptions;
1419
+ /** The dns settings to be applied on the publicIP addresses . */
1420
+ dnsSettings?: VirtualMachinePublicIPAddressDnsSettingsConfiguration;
1421
+ /** The list of IP tags associated with the public IP address. */
1422
+ ipTags?: VirtualMachineIpTag[];
1423
+ /** The PublicIPPrefix from which to allocate publicIP addresses. */
1424
+ publicIPPrefix?: SubResource;
1425
+ /** Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. */
1426
+ publicIPAddressVersion?: IPVersions;
1427
+ /** Specify the public IP allocation type */
1428
+ publicIPAllocationMethod?: PublicIPAllocationMethod;
1429
+ }
1430
+ export declare function virtualMachinePublicIPAddressConfigurationPropertiesSerializer(item: VirtualMachinePublicIPAddressConfigurationProperties): any;
1431
+ /** Describes a virtual machines network configuration's DNS settings. */
1432
+ export interface VirtualMachinePublicIPAddressDnsSettingsConfiguration {
1433
+ /** The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID. */
1434
+ domainNameLabel: string;
1435
+ /** The Domain name label scope of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the hashed domain name label with policy according to the domain name label scope and vm network profile unique ID. */
1436
+ domainNameLabelScope?: DomainNameLabelScopeTypes;
1437
+ }
1438
+ export declare function virtualMachinePublicIPAddressDnsSettingsConfigurationSerializer(item: VirtualMachinePublicIPAddressDnsSettingsConfiguration): any;
1439
+ /** The Domain name label scope.The concatenation of the hashed domain name label that generated according to the policy from domain name label scope and vm index will be the domain name labels of the PublicIPAddress resources that will be created */
1440
+ export declare enum KnownDomainNameLabelScopeTypes {
1441
+ /** TenantReuse scope type */
1442
+ TenantReuse = "TenantReuse",
1443
+ /** SubscriptionReuse scope type */
1444
+ SubscriptionReuse = "SubscriptionReuse",
1445
+ /** ResourceGroupReuse scope type */
1446
+ ResourceGroupReuse = "ResourceGroupReuse",
1447
+ /** NoReuse scope type */
1448
+ NoReuse = "NoReuse"
1449
+ }
1450
+ /**
1451
+ * The Domain name label scope.The concatenation of the hashed domain name label that generated according to the policy from domain name label scope and vm index will be the domain name labels of the PublicIPAddress resources that will be created \
1452
+ * {@link KnownDomainNameLabelScopeTypes} can be used interchangeably with DomainNameLabelScopeTypes,
1453
+ * this enum contains the known values that the service supports.
1454
+ * ### Known values supported by the service
1455
+ * **TenantReuse**: TenantReuse scope type \
1456
+ * **SubscriptionReuse**: SubscriptionReuse scope type \
1457
+ * **ResourceGroupReuse**: ResourceGroupReuse scope type \
1458
+ * **NoReuse**: NoReuse scope type
1459
+ */
1460
+ export type DomainNameLabelScopeTypes = string;
1461
+ export declare function virtualMachineIpTagArraySerializer(result: Array<VirtualMachineIpTag>): any[];
1462
+ /** Contains the IP tag associated with the public IP address. */
1463
+ export interface VirtualMachineIpTag {
1464
+ /** IP tag type. Example: FirstPartyUsage. */
1465
+ ipTagType?: string;
1466
+ /** IP tag associated with the public IP. Example: SQL, Storage etc. */
1467
+ tag?: string;
1468
+ }
1469
+ export declare function virtualMachineIpTagSerializer(item: VirtualMachineIpTag): any;
1470
+ /** Available from compute Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. */
1471
+ export declare enum KnownIPVersions {
1472
+ /** IPv4 version */
1473
+ IPv4 = "IPv4",
1474
+ /** IPv6 version */
1475
+ IPv6 = "IPv6"
1476
+ }
1477
+ /**
1478
+ * Available from compute Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. \
1479
+ * {@link KnownIPVersions} can be used interchangeably with IPVersions,
1480
+ * this enum contains the known values that the service supports.
1481
+ * ### Known values supported by the service
1482
+ * **IPv4**: IPv4 version \
1483
+ * **IPv6**: IPv6 version
1484
+ */
1485
+ export type IPVersions = string;
1486
+ /** Specify the public IP allocation type */
1487
+ export declare enum KnownPublicIPAllocationMethod {
1488
+ /** Dynamic IP allocation */
1489
+ Dynamic = "Dynamic",
1490
+ /** Static IP allocation */
1491
+ Static = "Static"
1492
+ }
1493
+ /**
1494
+ * Specify the public IP allocation type \
1495
+ * {@link KnownPublicIPAllocationMethod} can be used interchangeably with PublicIPAllocationMethod,
1496
+ * this enum contains the known values that the service supports.
1497
+ * ### Known values supported by the service
1498
+ * **Dynamic**: Dynamic IP allocation \
1499
+ * **Static**: Static IP allocation
1500
+ */
1501
+ export type PublicIPAllocationMethod = string;
1502
+ /** Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. */
1503
+ export interface PublicIPAddressSku {
1504
+ /** Specify public IP sku name */
1505
+ name?: PublicIPAddressSkuName;
1506
+ /** Specify public IP sku tier */
1507
+ tier?: PublicIPAddressSkuTier;
1508
+ }
1509
+ export declare function publicIPAddressSkuSerializer(item: PublicIPAddressSku): any;
1510
+ /** Specify public IP sku name */
1511
+ export declare enum KnownPublicIPAddressSkuName {
1512
+ /** Basic IP sku name */
1513
+ Basic = "Basic",
1514
+ /** Standard IP sku name */
1515
+ Standard = "Standard"
1516
+ }
1517
+ /**
1518
+ * Specify public IP sku name \
1519
+ * {@link KnownPublicIPAddressSkuName} can be used interchangeably with PublicIPAddressSkuName,
1520
+ * this enum contains the known values that the service supports.
1521
+ * ### Known values supported by the service
1522
+ * **Basic**: Basic IP sku name \
1523
+ * **Standard**: Standard IP sku name
1524
+ */
1525
+ export type PublicIPAddressSkuName = string;
1526
+ /** Specify public IP sku tier */
1527
+ export declare enum KnownPublicIPAddressSkuTier {
1528
+ /** Regional IP address sku tier */
1529
+ Regional = "Regional",
1530
+ /** Global IP address sku tier */
1531
+ Global = "Global"
1532
+ }
1533
+ /**
1534
+ * Specify public IP sku tier \
1535
+ * {@link KnownPublicIPAddressSkuTier} can be used interchangeably with PublicIPAddressSkuTier,
1536
+ * this enum contains the known values that the service supports.
1537
+ * ### Known values supported by the service
1538
+ * **Regional**: Regional IP address sku tier \
1539
+ * **Global**: Global IP address sku tier
1540
+ */
1541
+ export type PublicIPAddressSkuTier = string;
1542
+ export declare function subResourceArraySerializer(result: Array<SubResource>): any[];
1543
+ /** Specifies whether the Auxiliary mode is enabled for the Network Interface resource. */
1544
+ export declare enum KnownNetworkInterfaceAuxiliaryMode {
1545
+ /** None mode */
1546
+ None = "None",
1547
+ /** AcceleratedConnections mode */
1548
+ AcceleratedConnections = "AcceleratedConnections",
1549
+ /** Floating mode */
1550
+ Floating = "Floating"
1551
+ }
1552
+ /**
1553
+ * Specifies whether the Auxiliary mode is enabled for the Network Interface resource. \
1554
+ * {@link KnownNetworkInterfaceAuxiliaryMode} can be used interchangeably with NetworkInterfaceAuxiliaryMode,
1555
+ * this enum contains the known values that the service supports.
1556
+ * ### Known values supported by the service
1557
+ * **None**: None mode \
1558
+ * **AcceleratedConnections**: AcceleratedConnections mode \
1559
+ * **Floating**: Floating mode
1560
+ */
1561
+ export type NetworkInterfaceAuxiliaryMode = string;
1562
+ /** Specifies whether the Auxiliary sku is enabled for the Network Interface resource. */
1563
+ export declare enum KnownNetworkInterfaceAuxiliarySku {
1564
+ /** None: None sku */
1565
+ None = "None",
1566
+ /** A1 sku */
1567
+ A1 = "A1",
1568
+ /** A2 sku */
1569
+ A2 = "A2",
1570
+ /** A4 sku */
1571
+ A4 = "A4",
1572
+ /** A8 sku */
1573
+ A8 = "A8"
1574
+ }
1575
+ /**
1576
+ * Specifies whether the Auxiliary sku is enabled for the Network Interface resource. \
1577
+ * {@link KnownNetworkInterfaceAuxiliarySku} can be used interchangeably with NetworkInterfaceAuxiliarySku,
1578
+ * this enum contains the known values that the service supports.
1579
+ * ### Known values supported by the service
1580
+ * **None**: None: None sku \
1581
+ * **A1**: A1 sku \
1582
+ * **A2**: A2 sku \
1583
+ * **A4**: A4 sku \
1584
+ * **A8**: A8 sku
1585
+ */
1586
+ export type NetworkInterfaceAuxiliarySku = string;
1587
+ /** Specifies the hardware profile for the virtual machine. */
1588
+ export interface HardwareProfile {
1589
+ /** Specifies the size of the virtual machine. The enum data type is currently deprecated and will be removed by December 23rd 2023. The recommended way to get the list of available sizes is using these APIs: [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes), [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list), [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). The available VM sizes depend on region and availability set. */
1590
+ vmSize?: string;
1591
+ /** Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01. This feature is still in preview mode and is not supported for VirtualMachineScaleSet. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details. */
1592
+ vmSizeProperties?: VmSizeProperties;
1593
+ }
1594
+ export declare function hardwareProfileSerializer(item: HardwareProfile): any;
1595
+ /** Specifies VM Size Property settings on the virtual machine. */
1596
+ export interface VmSizeProperties {
1597
+ /** Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). */
1598
+ vCpusAvailable?: number;
1599
+ /** Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). **Setting this property to 1 also means that hyper-threading is disabled.** */
1600
+ vCpusPerCore?: number;
1601
+ }
1602
+ export declare function vmSizePropertiesSerializer(item: VmSizeProperties): any;
1603
+ /** Specifies the Security profile settings for the virtual machine or virtual machine scale set. */
1604
+ export interface SecurityProfile {
1605
+ /** Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum compute api-version: 2020-12-01. */
1606
+ uefiSettings?: UefiSettings;
1607
+ /** This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource. */
1608
+ encryptionAtHost?: boolean;
1609
+ /** Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set. */
1610
+ securityType?: SecurityTypes;
1611
+ /** Specifies the Managed Identity used by ADE to get access token for keyvault operations. */
1612
+ encryptionIdentity?: EncryptionIdentity;
1613
+ /** Specifies ProxyAgent settings while creating the virtual machine. Minimum compute api-version: 2023-09-01. */
1614
+ proxyAgentSettings?: ProxyAgentSettings;
1615
+ }
1616
+ export declare function securityProfileSerializer(item: SecurityProfile): any;
1617
+ /** Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01. */
1618
+ export interface UefiSettings {
1619
+ /** Specifies whether secure boot should be enabled on the virtual machine. Minimum compute api-version: 2020-12-01. */
1620
+ secureBootEnabled?: boolean;
1621
+ /** Specifies whether vTPM should be enabled on the virtual machine. Minimum compute api-version: 2020-12-01. */
1622
+ vTpmEnabled?: boolean;
1623
+ }
1624
+ export declare function uefiSettingsSerializer(item: UefiSettings): any;
1625
+ /** Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set. */
1626
+ export declare enum KnownSecurityTypes {
1627
+ /** TrustedLaunch security type */
1628
+ TrustedLaunch = "TrustedLaunch",
1629
+ /** ConfidentialVM security type */
1630
+ ConfidentialVM = "ConfidentialVM"
1631
+ }
1632
+ /**
1633
+ * Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set. \
1634
+ * {@link KnownSecurityTypes} can be used interchangeably with SecurityTypes,
1635
+ * this enum contains the known values that the service supports.
1636
+ * ### Known values supported by the service
1637
+ * **TrustedLaunch**: TrustedLaunch security type \
1638
+ * **ConfidentialVM**: ConfidentialVM security type
1639
+ */
1640
+ export type SecurityTypes = string;
1641
+ /** Specifies the Managed Identity used by ADE to get access token for keyvault operations. */
1642
+ export interface EncryptionIdentity {
1643
+ /** Specifies ARM Resource ID of one of the user identities associated with the VM. */
1644
+ userAssignedIdentityResourceId?: string;
1645
+ }
1646
+ export declare function encryptionIdentitySerializer(item: EncryptionIdentity): any;
1647
+ /** Specifies ProxyAgent settings for the virtual machine or virtual machine scale set. Minimum api-version: 2023-09-01. */
1648
+ export interface ProxyAgentSettings {
1649
+ /** Specifies whether ProxyAgent feature should be enabled on the virtual machine or virtual machine scale set. */
1650
+ enabled?: boolean;
1651
+ /** Specifies the mode that ProxyAgent will execute on. Warning: this property has been deprecated, please specify 'mode' under particular hostendpoint setting. */
1652
+ mode?: Mode;
1653
+ /** Increase the value of this property allows users to reset the key used for securing communication channel between guest and host. */
1654
+ keyIncarnationId?: number;
1655
+ /** Specifies the Wire Server endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01. */
1656
+ wireServer?: HostEndpointSettings;
1657
+ /** Specifies the IMDS endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01. */
1658
+ imds?: HostEndpointSettings;
1659
+ /** Specify whether to implicitly install the ProxyAgent Extension. This option is currently applicable only for Linux Os. */
1660
+ addProxyAgentExtension?: boolean;
1661
+ }
1662
+ export declare function proxyAgentSettingsSerializer(item: ProxyAgentSettings): any;
1663
+ /** Specifies the mode that ProxyAgent will execute on if the feature is enabled. ProxyAgent will start to audit or monitor but not enforce access control over requests to host endpoints in Audit mode, while in Enforce mode it will enforce access control. The default value is Enforce mode. */
1664
+ export declare enum KnownMode {
1665
+ /** Audit mode */
1666
+ Audit = "Audit",
1667
+ /** Enforce mode */
1668
+ Enforce = "Enforce"
1669
+ }
1670
+ /**
1671
+ * Specifies the mode that ProxyAgent will execute on if the feature is enabled. ProxyAgent will start to audit or monitor but not enforce access control over requests to host endpoints in Audit mode, while in Enforce mode it will enforce access control. The default value is Enforce mode. \
1672
+ * {@link KnownMode} can be used interchangeably with Mode,
1673
+ * this enum contains the known values that the service supports.
1674
+ * ### Known values supported by the service
1675
+ * **Audit**: Audit mode \
1676
+ * **Enforce**: Enforce mode
1677
+ */
1678
+ export type Mode = string;
1679
+ /** Specifies particular host endpoint settings. */
1680
+ export interface HostEndpointSettings {
1681
+ /** Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation. */
1682
+ mode?: Modes;
1683
+ /** Specifies the InVMAccessControlProfileVersion resource id in the format of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version} */
1684
+ inVMAccessControlProfileReferenceId?: string;
1685
+ }
1686
+ export declare function hostEndpointSettingsSerializer(item: HostEndpointSettings): any;
1687
+ /** Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation. */
1688
+ export declare enum KnownModes {
1689
+ /** Audit mode */
1690
+ Audit = "Audit",
1691
+ /** Enforce mode */
1692
+ Enforce = "Enforce",
1693
+ /** Disabled mode */
1694
+ Disabled = "Disabled"
1695
+ }
1696
+ /**
1697
+ * Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation. \
1698
+ * {@link KnownModes} can be used interchangeably with Modes,
1699
+ * this enum contains the known values that the service supports.
1700
+ * ### Known values supported by the service
1701
+ * **Audit**: Audit mode \
1702
+ * **Enforce**: Enforce mode \
1703
+ * **Disabled**: Disabled mode
1704
+ */
1705
+ export type Modes = string;
1706
+ /** Specifies the boot diagnostic settings state. Minimum compute api-version: 2015-06-15. */
1707
+ export interface DiagnosticsProfile {
1708
+ /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor. */
1709
+ bootDiagnostics?: BootDiagnostics;
1710
+ }
1711
+ export declare function diagnosticsProfileSerializer(item: DiagnosticsProfile): any;
1712
+ /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor. */
1713
+ export interface BootDiagnostics {
1714
+ /** Whether boot diagnostics should be enabled on the Virtual Machine. */
1715
+ enabled?: boolean;
1716
+ /** Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used. */
1717
+ storageUri?: string;
1718
+ }
1719
+ export declare function bootDiagnosticsSerializer(item: BootDiagnostics): any;
1720
+ /** Profile for the scheduled events. */
1721
+ export interface ScheduledEventsProfile {
1722
+ /** Specifies Terminate Scheduled Event related configurations. */
1723
+ terminateNotificationProfile?: TerminateNotificationProfile;
1724
+ /** Specifies OS Image Scheduled Event related configurations. */
1725
+ osImageNotificationProfile?: OSImageNotificationProfile;
1726
+ }
1727
+ export declare function scheduledEventsProfileSerializer(item: ScheduledEventsProfile): any;
1728
+ /** Profile properties for the Terminate Scheduled event. */
1729
+ export interface TerminateNotificationProfile {
1730
+ /** Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) */
1731
+ notBeforeTimeout?: string;
1732
+ /** Specifies whether the Terminate Scheduled event is enabled or disabled. */
1733
+ enable?: boolean;
1734
+ }
1735
+ export declare function terminateNotificationProfileSerializer(item: TerminateNotificationProfile): any;
1736
+ /** Profile for the OS Image Scheduled event. */
1737
+ export interface OSImageNotificationProfile {
1738
+ /** Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M) */
1739
+ notBeforeTimeout?: string;
1740
+ /** Specifies whether the OS Image Scheduled event is enabled or disabled. */
1741
+ enable?: boolean;
1742
+ }
1743
+ export declare function osImageNotificationProfileSerializer(item: OSImageNotificationProfile): any;
1744
+ /** The parameters of a capacity reservation Profile. */
1745
+ export interface CapacityReservationProfile {
1746
+ /** Specifies the capacity reservation group resource id that should be used for allocating the virtual machine provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details. */
1747
+ capacityReservationGroup?: SubResource;
1748
+ }
1749
+ export declare function capacityReservationProfileSerializer(item: CapacityReservationProfile): any;
1750
+ /** Contains the list of gallery applications that should be made available to the VM */
1751
+ export interface ApplicationProfile {
1752
+ /** Specifies the gallery applications that should be made available to the VM */
1753
+ galleryApplications?: VMGalleryApplication[];
1754
+ }
1755
+ export declare function applicationProfileSerializer(item: ApplicationProfile): any;
1756
+ export declare function vmGalleryApplicationArraySerializer(result: Array<VMGalleryApplication>): any[];
1757
+ /** Specifies the required information to reference a compute gallery application version */
1758
+ export interface VMGalleryApplication {
1759
+ /** Optional, Specifies a passthrough value for more generic context. */
1760
+ tags?: string;
1761
+ /** Optional, Specifies the order in which the packages have to be installed */
1762
+ order?: number;
1763
+ /** Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version} */
1764
+ packageReferenceId: string;
1765
+ /** Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided */
1766
+ configurationReference?: string;
1767
+ /** Optional, If true, any failure for any operation in the VmApplication will fail the deployment */
1768
+ treatFailureAsDeploymentFailure?: boolean;
1769
+ /** If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS */
1770
+ enableAutomaticUpgrade?: boolean;
1771
+ }
1772
+ export declare function vmGalleryApplicationSerializer(item: VMGalleryApplication): any;
1773
+ export declare function bulkActionVMExtensionArraySerializer(result: Array<BulkActionVMExtension>): any[];
1774
+ /** Defines a virtual machine extension. */
1775
+ export interface BulkActionVMExtension {
1776
+ /** The name of the virtual machine extension. */
1777
+ name: string;
1778
+ /** Properties of the virtual machine extension. */
1779
+ properties: BulkActionVmExtensionProperties;
1780
+ }
1781
+ export declare function bulkActionVMExtensionSerializer(item: BulkActionVMExtension): any;
1782
+ /** Describes the properties of a Virtual Machine Extension. */
1783
+ export interface BulkActionVmExtensionProperties {
1784
+ /** How the extension handler should be forced to update even if the extension configuration has not changed. */
1785
+ forceUpdateTag?: string;
1786
+ /** The name of the extension handler publisher. */
1787
+ publisher?: string;
1788
+ /** Specifies the type of the extension; an example is 'CustomScriptExtension'. */
1789
+ type?: string;
1790
+ /** Specifies the version of the script handler. */
1791
+ typeHandlerVersion?: string;
1792
+ /** Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. */
1793
+ autoUpgradeMinorVersion?: boolean;
1794
+ /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */
1795
+ enableAutomaticUpgrade?: boolean;
1796
+ /** JSON formatted public settings for the extension. */
1797
+ settings?: Record<string, any>;
1798
+ /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */
1799
+ protectedSettings?: Record<string, any>;
1800
+ /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */
1801
+ suppressFailures?: boolean;
1802
+ /** The extensions protected settings that are passed by reference, and consumed from key vault */
1803
+ protectedSettingsFromKeyVault?: KeyVaultSecretReference;
1804
+ /** Collection of extension names after which this extension needs to be provisioned. */
1805
+ provisionAfterExtensions?: string[];
1806
+ }
1807
+ export declare function bulkActionVmExtensionPropertiesSerializer(item: BulkActionVmExtensionProperties): any;
1808
+ export declare function bulkVMConfigurationArraySerializer(result: Array<BulkVMConfiguration>): any[];
1809
+ /** The flex properties for flexible VM creation */
1810
+ export interface FlexProperties {
1811
+ /** The list of VM size profiles to use for flex creation */
1812
+ vmSizeProfiles: VmSizeProfile[];
1813
+ /** The operating system type for the VMs */
1814
+ osType: OsType;
1815
+ /** The priority profile for VM allocation */
1816
+ priorityProfile: PriorityProfile;
1817
+ /** The zone allocation policy for distributing VMs across availability zones */
1818
+ zoneAllocationPolicy?: ZoneAllocationPolicy;
1819
+ }
1820
+ export declare function flexPropertiesSerializer(item: FlexProperties): any;
1821
+ export declare function vmSizeProfileArraySerializer(result: Array<VmSizeProfile>): any[];
1822
+ /** A VM size profile with a name and rank for flex VM creation */
1823
+ export interface VmSizeProfile {
1824
+ /** The name of the VM size, eg Standard_D2ads_v5 */
1825
+ name: string;
1826
+ /** The rank of this VM size in the priority order */
1827
+ rank?: number;
1828
+ }
1829
+ export declare function vmSizeProfileSerializer(item: VmSizeProfile): any;
1830
+ /** The supported operating system types for flex VM creation */
1831
+ export declare enum KnownOsType {
1832
+ /** Windows operating system */
1833
+ Windows = "Windows",
1834
+ /** Linux operating system */
1835
+ Linux = "Linux"
1836
+ }
1837
+ /**
1838
+ * The supported operating system types for flex VM creation \
1839
+ * {@link KnownOsType} can be used interchangeably with OsType,
1840
+ * this enum contains the known values that the service supports.
1841
+ * ### Known values supported by the service
1842
+ * **Windows**: Windows operating system \
1843
+ * **Linux**: Linux operating system
1844
+ */
1845
+ export type OsType = string;
1846
+ /** The priority profile for flex VM creation */
1847
+ export interface PriorityProfile {
1848
+ /** The priority type for VM allocation */
1849
+ type?: PriorityType;
1850
+ /** The allocation strategy for VM size selection */
1851
+ allocationStrategy?: AllocationStrategy;
1852
+ }
1853
+ export declare function priorityProfileSerializer(item: PriorityProfile): any;
1854
+ /** The priority type for VM allocation */
1855
+ export declare enum KnownPriorityType {
1856
+ /** Regular priority VMs */
1857
+ Regular = "Regular",
1858
+ /** Spot priority VMs */
1859
+ Spot = "Spot"
1860
+ }
1861
+ /**
1862
+ * The priority type for VM allocation \
1863
+ * {@link KnownPriorityType} can be used interchangeably with PriorityType,
1864
+ * this enum contains the known values that the service supports.
1865
+ * ### Known values supported by the service
1866
+ * **Regular**: Regular priority VMs \
1867
+ * **Spot**: Spot priority VMs
1868
+ */
1869
+ export type PriorityType = string;
1870
+ /** The allocation strategy for VM size selection */
1871
+ export declare enum KnownAllocationStrategy {
1872
+ /** Platform prioritizes VM sizes with the lowest hourly cost */
1873
+ LowestPrice = "LowestPrice",
1874
+ /** Customer specifies a rank for each VM size, platform uses VM sizes in rank order */
1875
+ Prioritized = "Prioritized",
1876
+ /** Platform prioritizes VM sizes with the highest available capacity first */
1877
+ CapacityOptimized = "CapacityOptimized"
1878
+ }
1879
+ /**
1880
+ * The allocation strategy for VM size selection \
1881
+ * {@link KnownAllocationStrategy} can be used interchangeably with AllocationStrategy,
1882
+ * this enum contains the known values that the service supports.
1883
+ * ### Known values supported by the service
1884
+ * **LowestPrice**: Platform prioritizes VM sizes with the lowest hourly cost \
1885
+ * **Prioritized**: Customer specifies a rank for each VM size, platform uses VM sizes in rank order \
1886
+ * **CapacityOptimized**: Platform prioritizes VM sizes with the highest available capacity first
1887
+ */
1888
+ export type AllocationStrategy = string;
1889
+ /** The zone allocation policy for distributing VMs across availability zones */
1890
+ export interface ZoneAllocationPolicy {
1891
+ /** The distribution strategy for zone allocation */
1892
+ distributionStrategy: DistributionStrategy;
1893
+ /** The zone preferences for allocation priority */
1894
+ zonePreferences?: ZonePreference[];
1895
+ }
1896
+ export declare function zoneAllocationPolicySerializer(item: ZoneAllocationPolicy): any;
1897
+ /** The distribution strategy for zone allocation */
1898
+ export declare enum KnownDistributionStrategy {
1899
+ /** Platform attempts to place as many VMs as possible in a single zone, falls back to multiple zones if needed */
1900
+ BestEffortSingleZone = "BestEffortSingleZone",
1901
+ /** Platform uses customer-provided zone rankings to allocate VMs */
1902
+ Prioritized = "Prioritized",
1903
+ /** Platform attempts to evenly distribute VMs across all available zones with best effort */
1904
+ BestEffortBalanced = "BestEffortBalanced",
1905
+ /** Platform must evenly distribute VMs across zones, request is rejected if exact balance cannot be achieved */
1906
+ StrictBalanced = "StrictBalanced"
1907
+ }
1908
+ /**
1909
+ * The distribution strategy for zone allocation \
1910
+ * {@link KnownDistributionStrategy} can be used interchangeably with DistributionStrategy,
1911
+ * this enum contains the known values that the service supports.
1912
+ * ### Known values supported by the service
1913
+ * **BestEffortSingleZone**: Platform attempts to place as many VMs as possible in a single zone, falls back to multiple zones if needed \
1914
+ * **Prioritized**: Platform uses customer-provided zone rankings to allocate VMs \
1915
+ * **BestEffortBalanced**: Platform attempts to evenly distribute VMs across all available zones with best effort \
1916
+ * **StrictBalanced**: Platform must evenly distribute VMs across zones, request is rejected if exact balance cannot be achieved
1917
+ */
1918
+ export type DistributionStrategy = string;
1919
+ export declare function zonePreferenceArraySerializer(result: Array<ZonePreference>): any[];
1920
+ /** A zone preference with a zone identifier and rank */
1921
+ export interface ZonePreference {
1922
+ /** The zone identifier */
1923
+ zone: string;
1924
+ /** The rank of this zone in the priority order */
1925
+ rank?: number;
1926
+ }
1927
+ export declare function zonePreferenceSerializer(item: ZonePreference): any;
1928
+ /** The response from a create flex request */
1929
+ export interface CreateFlexResourceOperationResponse {
1930
+ /** The description of the operation response */
1931
+ description: string;
1932
+ /** The type of resources used in the create flex request eg virtual machines */
1933
+ type: string;
1934
+ /** The location of the create flex request eg westus */
1935
+ location: string;
1936
+ /** The results from the create flex request if no errors exist */
1937
+ results?: ResourceOperation[];
1938
+ }
1939
+ export declare function createFlexResourceOperationResponseDeserializer(item: any): CreateFlexResourceOperationResponse;
385
1940
  /** The ExecuteCreateRequest request for create operations */
386
1941
  export interface ExecuteCreateRequest {
387
1942
  /** resource creation payload */
@@ -389,15 +1944,15 @@ export interface ExecuteCreateRequest {
389
1944
  /** The execution parameters for the request */
390
1945
  executionParameters: ExecutionParameters;
391
1946
  /** CorrelationId item */
392
- correlationid?: string;
1947
+ correlationId?: string;
393
1948
  }
394
1949
  export declare function executeCreateRequestSerializer(item: ExecuteCreateRequest): any;
395
1950
  /** Resource creation data model */
396
1951
  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>[];
1952
+ /** Virtual machine profile 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) */
1953
+ virtualMachineBaseProfile?: BulkVMConfiguration;
1954
+ /** Virtual machine profile array that contains VM properties that needs 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. */
1955
+ virtualMachineOverrides?: BulkVMConfiguration[];
401
1956
  /** Number of VMs to be created */
402
1957
  resourceCount: number;
403
1958
  /** if resourceOverrides doesn't contain "name", service will create name based of prefix and ResourceCount e.g. resourceprefix-0,resourceprefix-1.. */
@@ -423,7 +1978,7 @@ export interface ExecuteDeleteRequest {
423
1978
  /** The resources for the request */
424
1979
  resources: Resources;
425
1980
  /** CorrelationId item */
426
- correlationid?: string;
1981
+ correlationId?: string;
427
1982
  /** Forced delete resource item */
428
1983
  forceDeletion?: boolean;
429
1984
  }
@@ -764,7 +2319,7 @@ export interface Resource {
764
2319
  /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
765
2320
  readonly systemData?: SystemData;
766
2321
  }
767
- export declare function resourceSerializer(item: Resource): any;
2322
+ export declare function resourceSerializer(_item: Resource): any;
768
2323
  export declare function resourceDeserializer(item: any): Resource;
769
2324
  /** Metadata pertaining to creation and last modification of the resource. */
770
2325
  export interface SystemData {
@@ -886,14 +2441,14 @@ export interface ScheduledActionResource {
886
2441
  }
887
2442
  export declare function scheduledActionResourceDeserializer(item: any): ScheduledActionResource;
888
2443
  /** Request model to attach a list of scheduled action resources. */
889
- export interface ResourceAttachRequest {
2444
+ export interface ResourceAttachRequestInput {
890
2445
  /** List of resources to be attached/patched */
891
- resources: ScheduledActionResourceCreate[];
2446
+ resources: ScheduledActionResourceInput[];
892
2447
  }
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 {
2448
+ export declare function resourceAttachRequestInputSerializer(item: ResourceAttachRequestInput): any;
2449
+ export declare function scheduledActionResourceInputArraySerializer(result: Array<ScheduledActionResourceInput>): any[];
2450
+ /** Represents a scheduled action resource input for write operations. */
2451
+ export interface ScheduledActionResourceInput {
897
2452
  /**
898
2453
  * The ARM Id of the resource.
899
2454
  * "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
@@ -902,7 +2457,7 @@ export interface ScheduledActionResourceCreate {
902
2457
  /** The desired notification settings for the specified resource. */
903
2458
  notificationSettings?: NotificationProperties[];
904
2459
  }
905
- export declare function scheduledActionResourceCreateSerializer(item: ScheduledActionResourceCreate): any;
2460
+ export declare function scheduledActionResourceInputSerializer(item: ScheduledActionResourceInput): any;
906
2461
  /** The response from scheduled action resource requests, which contains the status of each resource */
907
2462
  export interface RecurringActionsResourceOperationResult {
908
2463
  /** The total number of resources operated on */
@@ -945,11 +2500,11 @@ export interface ResourceDetachRequest {
945
2500
  }
946
2501
  export declare function resourceDetachRequestSerializer(item: ResourceDetachRequest): any;
947
2502
  /** Request model perform a resource operation in a list of resources */
948
- export interface ResourcePatchRequest {
2503
+ export interface ResourcePatchRequestInput {
949
2504
  /** The list of resources we watch to patch */
950
- resources: ScheduledActionResourceCreate[];
2505
+ resources: ScheduledActionResourceInput[];
951
2506
  }
952
- export declare function resourcePatchRequestSerializer(item: ResourcePatchRequest): any;
2507
+ export declare function resourcePatchRequestInputSerializer(item: ResourcePatchRequestInput): any;
953
2508
  /** The request to cancel an occurrence. */
954
2509
  export interface CancelOccurrenceRequest {
955
2510
  /** The resources the cancellation should act on. If no resource is passed in the list, Scheduled Action will cancel the occurrence for all resources. */
@@ -1038,9 +2593,31 @@ export declare function scheduledActionResourcesArrayDeserializer(result: Array<
1038
2593
  /** The scheduled action extension */
1039
2594
  export interface ScheduledActionResources extends ExtensionResource {
1040
2595
  /** The resource-specific properties for this resource. */
1041
- properties?: ScheduledActionProperties;
2596
+ properties?: ScheduledActionsExtensionProperties;
1042
2597
  }
1043
2598
  export declare function scheduledActionResourcesDeserializer(item: any): ScheduledActionResources;
2599
+ /** Scheduled action extension properties */
2600
+ export interface ScheduledActionsExtensionProperties {
2601
+ /** The type of resource the scheduled action is targeting */
2602
+ resourceType: ResourceType;
2603
+ /** The action the scheduled action should perform in the resources */
2604
+ actionType: ScheduledActionType;
2605
+ /** The time which the scheduled action is supposed to start running */
2606
+ startTime: string;
2607
+ /** The time when the scheduled action is supposed to stop scheduling */
2608
+ endTime?: string;
2609
+ /** The schedule the scheduled action is supposed to follow */
2610
+ schedule: ScheduledActionsSchedule;
2611
+ /** The notification settings for the scheduled action */
2612
+ notificationSettings: NotificationProperties[];
2613
+ /** Tell if the scheduled action is disabled or not */
2614
+ disabled?: boolean;
2615
+ /** The status of the last provisioning operation performed on the resource. */
2616
+ readonly provisioningState?: ProvisioningState;
2617
+ /** The notification settings for the scheduled action at a resource level. Resource level notification settings are scope to specific resources only and submitted through attach requests. */
2618
+ readonly resourceNotificationSettings?: NotificationProperties[];
2619
+ }
2620
+ export declare function scheduledActionsExtensionPropertiesDeserializer(item: any): ScheduledActionsExtensionProperties;
1044
2621
  /** The base extension resource. */
1045
2622
  export interface ExtensionResource extends Resource {
1046
2623
  }
@@ -1131,12 +2708,18 @@ export declare function occurrenceExtensionPropertiesDeserializer(item: any): Oc
1131
2708
  /** ComputeSchedule API versions */
1132
2709
  export declare enum KnownVersions {
1133
2710
  /** 2024-08-15-preview version */
1134
- V20240815Preview = "2024-08-15-preview",
2711
+ Versions20240815Preview = "2024-08-15-preview",
1135
2712
  /** 2024-10-01 version */
1136
2713
  "V2024-10-01" = "2024-10-01",
1137
2714
  /** 2025-05-01 version */
1138
2715
  V20250501 = "2025-05-01",
1139
2716
  /** 2025-04-15-preview version */
1140
- V20250415Preview = "2025-04-15-preview"
2717
+ Versions20250415Preview = "2025-04-15-preview",
2718
+ /** 2026-01-01-preview version */
2719
+ Versions20260101Preview = "2026-01-01-preview",
2720
+ /** 2026-03-01-preview version */
2721
+ Versions20260301Preview = "2026-03-01-preview",
2722
+ /** 2026-04-15-preview version */
2723
+ Versions20260415Preview = "2026-04-15-preview"
1141
2724
  }
1142
2725
  //# sourceMappingURL=models.d.ts.map