@azure/arm-containerservicefleet 2.1.0-beta.3 → 2.1.0-beta.4

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 (474) hide show
  1. package/dist/browser/api/autoUpgradeProfileOperations/operations.js +4 -4
  2. package/dist/browser/api/autoUpgradeProfileOperations/operations.js.map +1 -1
  3. package/dist/browser/api/autoUpgradeProfiles/operations.d.ts +0 -5
  4. package/dist/browser/api/autoUpgradeProfiles/operations.js +7 -12
  5. package/dist/browser/api/autoUpgradeProfiles/operations.js.map +1 -1
  6. package/dist/browser/api/clusterMeshProfiles/index.d.ts +3 -0
  7. package/dist/browser/api/clusterMeshProfiles/index.js +4 -0
  8. package/dist/browser/api/clusterMeshProfiles/index.js.map +1 -0
  9. package/dist/browser/api/clusterMeshProfiles/operations.d.ts +27 -0
  10. package/dist/{react-native/api/fleetManagedNamespaces → browser/api/clusterMeshProfiles}/operations.js +45 -52
  11. package/dist/browser/api/clusterMeshProfiles/operations.js.map +1 -0
  12. package/dist/{react-native/api/fleetManagedNamespaces → browser/api/clusterMeshProfiles}/options.d.ts +5 -5
  13. package/dist/browser/api/clusterMeshProfiles/options.js.map +1 -0
  14. package/dist/browser/api/containerServiceFleetContext.js +4 -2
  15. package/dist/browser/api/containerServiceFleetContext.js.map +1 -1
  16. package/dist/browser/api/fleetManagedNamespaces/operations.d.ts +0 -5
  17. package/dist/browser/api/fleetManagedNamespaces/operations.js +9 -14
  18. package/dist/browser/api/fleetManagedNamespaces/operations.js.map +1 -1
  19. package/dist/browser/api/fleetMembers/operations.d.ts +0 -5
  20. package/dist/browser/api/fleetMembers/operations.js +9 -14
  21. package/dist/browser/api/fleetMembers/operations.js.map +1 -1
  22. package/dist/browser/api/fleetUpdateStrategies/operations.d.ts +0 -5
  23. package/dist/browser/api/fleetUpdateStrategies/operations.js +7 -12
  24. package/dist/browser/api/fleetUpdateStrategies/operations.js.map +1 -1
  25. package/dist/browser/api/fleets/operations.d.ts +0 -5
  26. package/dist/browser/api/fleets/operations.js +12 -17
  27. package/dist/browser/api/fleets/operations.js.map +1 -1
  28. package/dist/browser/api/gates/operations.js +5 -5
  29. package/dist/browser/api/gates/operations.js.map +1 -1
  30. package/dist/browser/api/operations/operations.js +2 -2
  31. package/dist/browser/api/operations/operations.js.map +1 -1
  32. package/dist/browser/api/updateRuns/operations.d.ts +0 -5
  33. package/dist/browser/api/updateRuns/operations.js +19 -24
  34. package/dist/browser/api/updateRuns/operations.js.map +1 -1
  35. package/dist/browser/classic/autoUpgradeProfiles/index.d.ts +0 -5
  36. package/dist/browser/classic/autoUpgradeProfiles/index.js.map +1 -1
  37. package/dist/browser/classic/clusterMeshProfiles/index.d.ts +20 -0
  38. package/dist/browser/classic/clusterMeshProfiles/index.js +18 -0
  39. package/dist/browser/classic/clusterMeshProfiles/index.js.map +1 -0
  40. package/dist/browser/classic/fleetManagedNamespaces/index.d.ts +0 -5
  41. package/dist/browser/classic/fleetManagedNamespaces/index.js.map +1 -1
  42. package/dist/browser/classic/fleetMembers/index.d.ts +0 -5
  43. package/dist/browser/classic/fleetMembers/index.js.map +1 -1
  44. package/dist/browser/classic/fleetUpdateStrategies/index.d.ts +0 -5
  45. package/dist/browser/classic/fleetUpdateStrategies/index.js.map +1 -1
  46. package/dist/browser/classic/fleets/index.d.ts +0 -5
  47. package/dist/browser/classic/fleets/index.js.map +1 -1
  48. package/dist/browser/classic/index.d.ts +1 -0
  49. package/dist/browser/classic/index.js.map +1 -1
  50. package/dist/browser/classic/updateRuns/index.d.ts +0 -5
  51. package/dist/browser/classic/updateRuns/index.js.map +1 -1
  52. package/dist/browser/containerServiceFleetClient.d.ts +3 -0
  53. package/dist/browser/containerServiceFleetClient.js +4 -0
  54. package/dist/browser/containerServiceFleetClient.js.map +1 -1
  55. package/dist/browser/index.d.ts +5 -3
  56. package/dist/browser/index.js +2 -1
  57. package/dist/browser/index.js.map +1 -1
  58. package/dist/browser/models/index.d.ts +2 -2
  59. package/dist/browser/models/index.js +1 -1
  60. package/dist/browser/models/index.js.map +1 -1
  61. package/dist/browser/models/models.d.ts +226 -59
  62. package/dist/browser/models/models.js +201 -50
  63. package/dist/browser/models/models.js.map +1 -1
  64. package/dist/browser/restorePollerHelpers.js +14 -4
  65. package/dist/browser/restorePollerHelpers.js.map +1 -1
  66. package/dist/browser/static-helpers/pagingHelpers.js +1 -1
  67. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  68. package/dist/browser/static-helpers/pollingHelpers.js +1 -1
  69. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  70. package/dist/commonjs/api/autoUpgradeProfileOperations/index.js +1 -0
  71. package/dist/commonjs/api/autoUpgradeProfileOperations/index.js.map +1 -1
  72. package/dist/commonjs/api/autoUpgradeProfileOperations/operations.js +5 -4
  73. package/dist/commonjs/api/autoUpgradeProfileOperations/operations.js.map +2 -2
  74. package/dist/commonjs/api/autoUpgradeProfileOperations/options.js +1 -0
  75. package/dist/commonjs/api/autoUpgradeProfileOperations/options.js.map +1 -1
  76. package/dist/commonjs/api/autoUpgradeProfiles/index.js +1 -0
  77. package/dist/commonjs/api/autoUpgradeProfiles/index.js.map +1 -1
  78. package/dist/commonjs/api/autoUpgradeProfiles/operations.d.ts +0 -5
  79. package/dist/commonjs/api/autoUpgradeProfiles/operations.js +8 -7
  80. package/dist/commonjs/api/autoUpgradeProfiles/operations.js.map +3 -3
  81. package/dist/commonjs/api/autoUpgradeProfiles/options.js +1 -0
  82. package/dist/commonjs/api/autoUpgradeProfiles/options.js.map +1 -1
  83. package/dist/commonjs/api/clusterMeshProfiles/index.d.ts +3 -0
  84. package/dist/commonjs/api/clusterMeshProfiles/index.js +36 -0
  85. package/dist/commonjs/api/clusterMeshProfiles/index.js.map +7 -0
  86. package/dist/commonjs/api/clusterMeshProfiles/operations.d.ts +27 -0
  87. package/dist/commonjs/api/clusterMeshProfiles/operations.js +270 -0
  88. package/dist/commonjs/api/clusterMeshProfiles/operations.js.map +7 -0
  89. package/dist/{react-native/api/fleetMembers → commonjs/api/clusterMeshProfiles}/options.d.ts +7 -13
  90. package/dist/commonjs/api/clusterMeshProfiles/options.js +16 -0
  91. package/dist/commonjs/api/clusterMeshProfiles/options.js.map +7 -0
  92. package/dist/commonjs/api/containerServiceFleetContext.js +5 -2
  93. package/dist/commonjs/api/containerServiceFleetContext.js.map +3 -3
  94. package/dist/commonjs/api/fleetManagedNamespaces/index.js +1 -0
  95. package/dist/commonjs/api/fleetManagedNamespaces/index.js.map +1 -1
  96. package/dist/commonjs/api/fleetManagedNamespaces/operations.d.ts +0 -5
  97. package/dist/commonjs/api/fleetManagedNamespaces/operations.js +10 -9
  98. package/dist/commonjs/api/fleetManagedNamespaces/operations.js.map +3 -3
  99. package/dist/commonjs/api/fleetManagedNamespaces/options.js +1 -0
  100. package/dist/commonjs/api/fleetManagedNamespaces/options.js.map +1 -1
  101. package/dist/commonjs/api/fleetMembers/index.js +1 -0
  102. package/dist/commonjs/api/fleetMembers/index.js.map +1 -1
  103. package/dist/commonjs/api/fleetMembers/operations.d.ts +0 -5
  104. package/dist/commonjs/api/fleetMembers/operations.js +10 -9
  105. package/dist/commonjs/api/fleetMembers/operations.js.map +3 -3
  106. package/dist/commonjs/api/fleetMembers/options.js +1 -0
  107. package/dist/commonjs/api/fleetMembers/options.js.map +1 -1
  108. package/dist/commonjs/api/fleetUpdateStrategies/index.js +1 -0
  109. package/dist/commonjs/api/fleetUpdateStrategies/index.js.map +1 -1
  110. package/dist/commonjs/api/fleetUpdateStrategies/operations.d.ts +0 -5
  111. package/dist/commonjs/api/fleetUpdateStrategies/operations.js +8 -7
  112. package/dist/commonjs/api/fleetUpdateStrategies/operations.js.map +3 -3
  113. package/dist/commonjs/api/fleetUpdateStrategies/options.js +1 -0
  114. package/dist/commonjs/api/fleetUpdateStrategies/options.js.map +1 -1
  115. package/dist/commonjs/api/fleets/index.js +1 -0
  116. package/dist/commonjs/api/fleets/index.js.map +1 -1
  117. package/dist/commonjs/api/fleets/operations.d.ts +0 -5
  118. package/dist/commonjs/api/fleets/operations.js +13 -12
  119. package/dist/commonjs/api/fleets/operations.js.map +3 -3
  120. package/dist/commonjs/api/fleets/options.js +1 -0
  121. package/dist/commonjs/api/fleets/options.js.map +1 -1
  122. package/dist/commonjs/api/gates/index.js +1 -0
  123. package/dist/commonjs/api/gates/index.js.map +1 -1
  124. package/dist/commonjs/api/gates/operations.js +6 -5
  125. package/dist/commonjs/api/gates/operations.js.map +2 -2
  126. package/dist/commonjs/api/gates/options.js +1 -0
  127. package/dist/commonjs/api/gates/options.js.map +1 -1
  128. package/dist/commonjs/api/index.js +1 -0
  129. package/dist/commonjs/api/index.js.map +1 -1
  130. package/dist/commonjs/api/operations/index.js +1 -0
  131. package/dist/commonjs/api/operations/index.js.map +1 -1
  132. package/dist/commonjs/api/operations/operations.js +3 -2
  133. package/dist/commonjs/api/operations/operations.js.map +2 -2
  134. package/dist/commonjs/api/operations/options.js +1 -0
  135. package/dist/commonjs/api/operations/options.js.map +1 -1
  136. package/dist/commonjs/api/updateRuns/index.js +1 -0
  137. package/dist/commonjs/api/updateRuns/index.js.map +1 -1
  138. package/dist/commonjs/api/updateRuns/operations.d.ts +0 -5
  139. package/dist/commonjs/api/updateRuns/operations.js +20 -19
  140. package/dist/commonjs/api/updateRuns/operations.js.map +3 -3
  141. package/dist/commonjs/api/updateRuns/options.js +1 -0
  142. package/dist/commonjs/api/updateRuns/options.js.map +1 -1
  143. package/dist/commonjs/classic/autoUpgradeProfileOperations/index.js +1 -0
  144. package/dist/commonjs/classic/autoUpgradeProfileOperations/index.js.map +1 -1
  145. package/dist/commonjs/classic/autoUpgradeProfiles/index.d.ts +0 -5
  146. package/dist/commonjs/classic/autoUpgradeProfiles/index.js +1 -0
  147. package/dist/commonjs/classic/autoUpgradeProfiles/index.js.map +3 -3
  148. package/dist/commonjs/classic/clusterMeshProfiles/index.d.ts +20 -0
  149. package/dist/commonjs/classic/clusterMeshProfiles/index.js +49 -0
  150. package/dist/commonjs/classic/clusterMeshProfiles/index.js.map +7 -0
  151. package/dist/commonjs/classic/fleetManagedNamespaces/index.d.ts +0 -5
  152. package/dist/commonjs/classic/fleetManagedNamespaces/index.js +1 -0
  153. package/dist/commonjs/classic/fleetManagedNamespaces/index.js.map +3 -3
  154. package/dist/commonjs/classic/fleetMembers/index.d.ts +0 -5
  155. package/dist/commonjs/classic/fleetMembers/index.js +1 -0
  156. package/dist/commonjs/classic/fleetMembers/index.js.map +3 -3
  157. package/dist/commonjs/classic/fleetUpdateStrategies/index.d.ts +0 -5
  158. package/dist/commonjs/classic/fleetUpdateStrategies/index.js +1 -0
  159. package/dist/commonjs/classic/fleetUpdateStrategies/index.js.map +3 -3
  160. package/dist/commonjs/classic/fleets/index.d.ts +0 -5
  161. package/dist/commonjs/classic/fleets/index.js +1 -0
  162. package/dist/commonjs/classic/fleets/index.js.map +3 -3
  163. package/dist/commonjs/classic/gates/index.js +1 -0
  164. package/dist/commonjs/classic/gates/index.js.map +1 -1
  165. package/dist/commonjs/classic/index.d.ts +1 -0
  166. package/dist/commonjs/classic/index.js +1 -0
  167. package/dist/commonjs/classic/index.js.map +2 -2
  168. package/dist/commonjs/classic/operations/index.js +1 -0
  169. package/dist/commonjs/classic/operations/index.js.map +1 -1
  170. package/dist/commonjs/classic/updateRuns/index.d.ts +0 -5
  171. package/dist/commonjs/classic/updateRuns/index.js +1 -0
  172. package/dist/commonjs/classic/updateRuns/index.js.map +3 -3
  173. package/dist/commonjs/containerServiceFleetClient.d.ts +3 -0
  174. package/dist/commonjs/containerServiceFleetClient.js +5 -0
  175. package/dist/commonjs/containerServiceFleetClient.js.map +3 -3
  176. package/dist/commonjs/index.d.ts +5 -3
  177. package/dist/commonjs/index.js +12 -0
  178. package/dist/commonjs/index.js.map +3 -3
  179. package/dist/commonjs/logger.js +1 -0
  180. package/dist/commonjs/logger.js.map +1 -1
  181. package/dist/commonjs/models/index.d.ts +2 -2
  182. package/dist/commonjs/models/index.js +7 -0
  183. package/dist/commonjs/models/index.js.map +3 -3
  184. package/dist/commonjs/models/models.d.ts +226 -59
  185. package/dist/commonjs/models/models.js +193 -41
  186. package/dist/commonjs/models/models.js.map +4 -4
  187. package/dist/commonjs/restorePollerHelpers.js +16 -5
  188. package/dist/commonjs/restorePollerHelpers.js.map +4 -4
  189. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +1 -0
  190. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -1
  191. package/dist/commonjs/static-helpers/pagingHelpers.js +2 -1
  192. package/dist/commonjs/static-helpers/pagingHelpers.js.map +3 -3
  193. package/dist/commonjs/static-helpers/pollingHelpers.js +2 -1
  194. package/dist/commonjs/static-helpers/pollingHelpers.js.map +3 -3
  195. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +1 -0
  196. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +1 -1
  197. package/dist/commonjs/static-helpers/urlTemplate.js +1 -0
  198. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
  199. package/dist/commonjs/tsdoc-metadata.json +1 -1
  200. package/dist/esm/api/autoUpgradeProfileOperations/index.js +4 -4
  201. package/dist/esm/api/autoUpgradeProfileOperations/index.js.map +1 -7
  202. package/dist/esm/api/autoUpgradeProfileOperations/operations.js +34 -45
  203. package/dist/esm/api/autoUpgradeProfileOperations/operations.js.map +1 -7
  204. package/dist/esm/api/autoUpgradeProfileOperations/options.js +4 -0
  205. package/dist/esm/api/autoUpgradeProfileOperations/options.js.map +1 -7
  206. package/dist/esm/api/autoUpgradeProfiles/index.js +4 -7
  207. package/dist/esm/api/autoUpgradeProfiles/index.js.map +1 -7
  208. package/dist/esm/api/autoUpgradeProfiles/operations.d.ts +0 -5
  209. package/dist/esm/api/autoUpgradeProfiles/operations.js +129 -176
  210. package/dist/esm/api/autoUpgradeProfiles/operations.js.map +1 -7
  211. package/dist/esm/api/autoUpgradeProfiles/options.js +4 -0
  212. package/dist/esm/api/autoUpgradeProfiles/options.js.map +1 -7
  213. package/dist/esm/api/clusterMeshProfiles/index.d.ts +3 -0
  214. package/dist/esm/api/clusterMeshProfiles/index.js +4 -0
  215. package/dist/esm/api/clusterMeshProfiles/index.js.map +1 -0
  216. package/dist/esm/api/clusterMeshProfiles/operations.d.ts +27 -0
  217. package/dist/{react-native/api/fleetMembers → esm/api/clusterMeshProfiles}/operations.js +70 -80
  218. package/dist/esm/api/clusterMeshProfiles/operations.js.map +1 -0
  219. package/dist/{react-native/api/autoUpgradeProfiles → esm/api/clusterMeshProfiles}/options.d.ts +11 -8
  220. package/dist/esm/api/clusterMeshProfiles/options.js.map +1 -0
  221. package/dist/esm/api/containerServiceFleetContext.js +22 -17
  222. package/dist/esm/api/containerServiceFleetContext.js.map +1 -7
  223. package/dist/esm/api/fleetManagedNamespaces/index.js +4 -8
  224. package/dist/esm/api/fleetManagedNamespaces/index.js.map +1 -7
  225. package/dist/esm/api/fleetManagedNamespaces/operations.d.ts +0 -5
  226. package/dist/esm/api/fleetManagedNamespaces/operations.js +163 -217
  227. package/dist/esm/api/fleetManagedNamespaces/operations.js.map +1 -7
  228. package/dist/esm/api/fleetManagedNamespaces/options.js +4 -0
  229. package/dist/esm/api/fleetManagedNamespaces/options.js.map +1 -7
  230. package/dist/esm/api/fleetMembers/index.js +4 -8
  231. package/dist/esm/api/fleetMembers/index.js.map +1 -7
  232. package/dist/esm/api/fleetMembers/operations.d.ts +0 -5
  233. package/dist/esm/api/fleetMembers/operations.js +166 -207
  234. package/dist/esm/api/fleetMembers/operations.js.map +1 -7
  235. package/dist/esm/api/fleetMembers/options.js +4 -0
  236. package/dist/esm/api/fleetMembers/options.js.map +1 -7
  237. package/dist/esm/api/fleetUpdateStrategies/index.js +4 -7
  238. package/dist/esm/api/fleetUpdateStrategies/index.js.map +1 -7
  239. package/dist/esm/api/fleetUpdateStrategies/operations.d.ts +0 -5
  240. package/dist/esm/api/fleetUpdateStrategies/operations.js +129 -170
  241. package/dist/esm/api/fleetUpdateStrategies/operations.js.map +1 -7
  242. package/dist/esm/api/fleetUpdateStrategies/options.js +4 -0
  243. package/dist/esm/api/fleetUpdateStrategies/options.js.map +1 -7
  244. package/dist/esm/api/fleets/index.js +4 -18
  245. package/dist/esm/api/fleets/index.js.map +1 -7
  246. package/dist/esm/api/fleets/operations.d.ts +0 -5
  247. package/dist/esm/api/fleets/operations.js +227 -287
  248. package/dist/esm/api/fleets/operations.js.map +1 -7
  249. package/dist/esm/api/fleets/options.js +4 -0
  250. package/dist/esm/api/fleets/options.js.map +1 -7
  251. package/dist/esm/api/gates/index.js +4 -6
  252. package/dist/esm/api/gates/index.js.map +1 -7
  253. package/dist/esm/api/gates/operations.js +97 -125
  254. package/dist/esm/api/gates/operations.js.map +1 -7
  255. package/dist/esm/api/gates/options.js +4 -0
  256. package/dist/esm/api/gates/options.js.map +1 -7
  257. package/dist/esm/api/index.js +4 -4
  258. package/dist/esm/api/index.js.map +1 -7
  259. package/dist/esm/api/operations/index.js +4 -4
  260. package/dist/esm/api/operations/index.js.map +1 -7
  261. package/dist/esm/api/operations/operations.js +29 -43
  262. package/dist/esm/api/operations/operations.js.map +1 -7
  263. package/dist/esm/api/operations/options.js +4 -0
  264. package/dist/esm/api/operations/options.js.map +1 -7
  265. package/dist/esm/api/updateRuns/index.js +4 -10
  266. package/dist/esm/api/updateRuns/index.js.map +1 -7
  267. package/dist/esm/api/updateRuns/operations.d.ts +0 -5
  268. package/dist/esm/api/updateRuns/operations.js +233 -286
  269. package/dist/esm/api/updateRuns/operations.js.map +1 -7
  270. package/dist/esm/api/updateRuns/options.js +4 -0
  271. package/dist/esm/api/updateRuns/options.js.map +1 -7
  272. package/dist/esm/classic/autoUpgradeProfileOperations/index.js +10 -10
  273. package/dist/esm/classic/autoUpgradeProfileOperations/index.js.map +1 -7
  274. package/dist/esm/classic/autoUpgradeProfiles/index.d.ts +0 -5
  275. package/dist/esm/classic/autoUpgradeProfiles/index.js +14 -26
  276. package/dist/esm/classic/autoUpgradeProfiles/index.js.map +1 -7
  277. package/dist/esm/classic/clusterMeshProfiles/index.d.ts +20 -0
  278. package/dist/esm/classic/clusterMeshProfiles/index.js +18 -0
  279. package/dist/esm/classic/clusterMeshProfiles/index.js.map +1 -0
  280. package/dist/esm/classic/fleetManagedNamespaces/index.d.ts +0 -5
  281. package/dist/esm/classic/fleetManagedNamespaces/index.js +15 -28
  282. package/dist/esm/classic/fleetManagedNamespaces/index.js.map +1 -7
  283. package/dist/esm/classic/fleetMembers/index.d.ts +0 -5
  284. package/dist/esm/classic/fleetMembers/index.js +15 -21
  285. package/dist/esm/classic/fleetMembers/index.js.map +1 -7
  286. package/dist/esm/classic/fleetUpdateStrategies/index.d.ts +0 -5
  287. package/dist/esm/classic/fleetUpdateStrategies/index.js +14 -19
  288. package/dist/esm/classic/fleetUpdateStrategies/index.js.map +1 -7
  289. package/dist/esm/classic/fleets/index.d.ts +0 -5
  290. package/dist/esm/classic/fleets/index.js +17 -25
  291. package/dist/esm/classic/fleets/index.js.map +1 -7
  292. package/dist/esm/classic/gates/index.js +12 -12
  293. package/dist/esm/classic/gates/index.js.map +1 -7
  294. package/dist/esm/classic/index.d.ts +1 -0
  295. package/dist/esm/classic/index.js +4 -0
  296. package/dist/esm/classic/index.js.map +1 -7
  297. package/dist/esm/classic/operations/index.js +10 -10
  298. package/dist/esm/classic/operations/index.js.map +1 -7
  299. package/dist/esm/classic/updateRuns/index.d.ts +0 -5
  300. package/dist/esm/classic/updateRuns/index.js +17 -25
  301. package/dist/esm/classic/updateRuns/index.js.map +1 -7
  302. package/dist/esm/containerServiceFleetClient.d.ts +3 -0
  303. package/dist/esm/containerServiceFleetClient.js +50 -44
  304. package/dist/esm/containerServiceFleetClient.js.map +1 -7
  305. package/dist/esm/index.d.ts +5 -3
  306. package/dist/esm/index.js +8 -71
  307. package/dist/esm/index.js.map +1 -7
  308. package/dist/esm/logger.js +4 -4
  309. package/dist/esm/logger.js.map +1 -7
  310. package/dist/esm/models/index.d.ts +2 -2
  311. package/dist/esm/models/index.js +4 -66
  312. package/dist/esm/models/index.js.map +1 -7
  313. package/dist/esm/models/models.d.ts +226 -59
  314. package/dist/esm/models/models.js +1825 -1508
  315. package/dist/esm/models/models.js.map +1 -7
  316. package/dist/esm/restorePollerHelpers.js +129 -132
  317. package/dist/esm/restorePollerHelpers.js.map +1 -7
  318. package/dist/esm/static-helpers/cloudSettingHelpers.js +37 -26
  319. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -7
  320. package/dist/esm/static-helpers/pagingHelpers.js +122 -98
  321. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -7
  322. package/dist/esm/static-helpers/pollingHelpers.js +86 -68
  323. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -7
  324. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +15 -9
  325. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -7
  326. package/dist/esm/static-helpers/urlTemplate.js +169 -142
  327. package/dist/esm/static-helpers/urlTemplate.js.map +1 -7
  328. package/package.json +35 -60
  329. package/dist/react-native/api/autoUpgradeProfileOperations/index.d.ts +0 -3
  330. package/dist/react-native/api/autoUpgradeProfileOperations/index.js +0 -4
  331. package/dist/react-native/api/autoUpgradeProfileOperations/index.js.map +0 -1
  332. package/dist/react-native/api/autoUpgradeProfileOperations/operations.d.ts +0 -10
  333. package/dist/react-native/api/autoUpgradeProfileOperations/operations.js +0 -41
  334. package/dist/react-native/api/autoUpgradeProfileOperations/operations.js.map +0 -1
  335. package/dist/react-native/api/autoUpgradeProfileOperations/options.d.ts +0 -7
  336. package/dist/react-native/api/autoUpgradeProfileOperations/options.js.map +0 -1
  337. package/dist/react-native/api/autoUpgradeProfiles/index.d.ts +0 -3
  338. package/dist/react-native/api/autoUpgradeProfiles/index.js +0 -4
  339. package/dist/react-native/api/autoUpgradeProfiles/index.js.map +0 -1
  340. package/dist/react-native/api/autoUpgradeProfiles/operations.d.ts +0 -28
  341. package/dist/react-native/api/autoUpgradeProfiles/operations.js +0 -153
  342. package/dist/react-native/api/autoUpgradeProfiles/operations.js.map +0 -1
  343. package/dist/react-native/api/autoUpgradeProfiles/options.js.map +0 -1
  344. package/dist/react-native/api/containerServiceFleetContext.d.ts +0 -22
  345. package/dist/react-native/api/containerServiceFleetContext.js +0 -24
  346. package/dist/react-native/api/containerServiceFleetContext.js.map +0 -1
  347. package/dist/react-native/api/fleetManagedNamespaces/index.d.ts +0 -3
  348. package/dist/react-native/api/fleetManagedNamespaces/index.js +0 -4
  349. package/dist/react-native/api/fleetManagedNamespaces/index.js.map +0 -1
  350. package/dist/react-native/api/fleetManagedNamespaces/operations.d.ts +0 -32
  351. package/dist/react-native/api/fleetManagedNamespaces/operations.js.map +0 -1
  352. package/dist/react-native/api/fleetManagedNamespaces/options.js +0 -4
  353. package/dist/react-native/api/fleetManagedNamespaces/options.js.map +0 -1
  354. package/dist/react-native/api/fleetMembers/index.d.ts +0 -3
  355. package/dist/react-native/api/fleetMembers/index.js +0 -4
  356. package/dist/react-native/api/fleetMembers/index.js.map +0 -1
  357. package/dist/react-native/api/fleetMembers/operations.d.ts +0 -32
  358. package/dist/react-native/api/fleetMembers/operations.js.map +0 -1
  359. package/dist/react-native/api/fleetMembers/options.js +0 -4
  360. package/dist/react-native/api/fleetMembers/options.js.map +0 -1
  361. package/dist/react-native/api/fleetUpdateStrategies/index.d.ts +0 -3
  362. package/dist/react-native/api/fleetUpdateStrategies/index.js +0 -4
  363. package/dist/react-native/api/fleetUpdateStrategies/index.js.map +0 -1
  364. package/dist/react-native/api/fleetUpdateStrategies/operations.d.ts +0 -28
  365. package/dist/react-native/api/fleetUpdateStrategies/operations.js +0 -153
  366. package/dist/react-native/api/fleetUpdateStrategies/operations.js.map +0 -1
  367. package/dist/react-native/api/fleetUpdateStrategies/options.d.ts +0 -28
  368. package/dist/react-native/api/fleetUpdateStrategies/options.js +0 -4
  369. package/dist/react-native/api/fleetUpdateStrategies/options.js.map +0 -1
  370. package/dist/react-native/api/fleets/index.d.ts +0 -3
  371. package/dist/react-native/api/fleets/index.js +0 -4
  372. package/dist/react-native/api/fleets/index.js.map +0 -1
  373. package/dist/react-native/api/fleets/operations.d.ts +0 -40
  374. package/dist/react-native/api/fleets/operations.js +0 -245
  375. package/dist/react-native/api/fleets/operations.js.map +0 -1
  376. package/dist/react-native/api/fleets/options.d.ts +0 -41
  377. package/dist/react-native/api/fleets/options.js +0 -4
  378. package/dist/react-native/api/fleets/options.js.map +0 -1
  379. package/dist/react-native/api/gates/index.d.ts +0 -3
  380. package/dist/react-native/api/gates/index.js +0 -4
  381. package/dist/react-native/api/gates/index.js.map +0 -1
  382. package/dist/react-native/api/gates/operations.d.ts +0 -19
  383. package/dist/react-native/api/gates/operations.js +0 -112
  384. package/dist/react-native/api/gates/operations.js.map +0 -1
  385. package/dist/react-native/api/gates/options.d.ts +0 -23
  386. package/dist/react-native/api/gates/options.js +0 -4
  387. package/dist/react-native/api/gates/options.js.map +0 -1
  388. package/dist/react-native/api/index.d.ts +0 -3
  389. package/dist/react-native/api/index.js +0 -4
  390. package/dist/react-native/api/index.js.map +0 -1
  391. package/dist/react-native/api/operations/index.d.ts +0 -3
  392. package/dist/react-native/api/operations/index.js +0 -4
  393. package/dist/react-native/api/operations/index.js.map +0 -1
  394. package/dist/react-native/api/operations/operations.d.ts +0 -10
  395. package/dist/react-native/api/operations/operations.js +0 -35
  396. package/dist/react-native/api/operations/operations.js.map +0 -1
  397. package/dist/react-native/api/operations/options.d.ts +0 -5
  398. package/dist/react-native/api/operations/options.js +0 -4
  399. package/dist/react-native/api/operations/options.js.map +0 -1
  400. package/dist/react-native/api/updateRuns/index.d.ts +0 -3
  401. package/dist/react-native/api/updateRuns/index.js +0 -4
  402. package/dist/react-native/api/updateRuns/index.js.map +0 -1
  403. package/dist/react-native/api/updateRuns/operations.d.ts +0 -40
  404. package/dist/react-native/api/updateRuns/operations.js +0 -269
  405. package/dist/react-native/api/updateRuns/operations.js.map +0 -1
  406. package/dist/react-native/api/updateRuns/options.d.ts +0 -49
  407. package/dist/react-native/api/updateRuns/options.js +0 -4
  408. package/dist/react-native/api/updateRuns/options.js.map +0 -1
  409. package/dist/react-native/classic/autoUpgradeProfileOperations/index.d.ts +0 -11
  410. package/dist/react-native/classic/autoUpgradeProfileOperations/index.js +0 -14
  411. package/dist/react-native/classic/autoUpgradeProfileOperations/index.js.map +0 -1
  412. package/dist/react-native/classic/autoUpgradeProfiles/index.d.ts +0 -23
  413. package/dist/react-native/classic/autoUpgradeProfiles/index.js +0 -17
  414. package/dist/react-native/classic/autoUpgradeProfiles/index.js.map +0 -1
  415. package/dist/react-native/classic/fleetManagedNamespaces/index.d.ts +0 -25
  416. package/dist/react-native/classic/fleetManagedNamespaces/index.js +0 -18
  417. package/dist/react-native/classic/fleetManagedNamespaces/index.js.map +0 -1
  418. package/dist/react-native/classic/fleetMembers/index.d.ts +0 -25
  419. package/dist/react-native/classic/fleetMembers/index.js +0 -18
  420. package/dist/react-native/classic/fleetMembers/index.js.map +0 -1
  421. package/dist/react-native/classic/fleetUpdateStrategies/index.d.ts +0 -23
  422. package/dist/react-native/classic/fleetUpdateStrategies/index.js +0 -17
  423. package/dist/react-native/classic/fleetUpdateStrategies/index.js.map +0 -1
  424. package/dist/react-native/classic/fleets/index.d.ts +0 -29
  425. package/dist/react-native/classic/fleets/index.js +0 -20
  426. package/dist/react-native/classic/fleets/index.js.map +0 -1
  427. package/dist/react-native/classic/gates/index.d.ts +0 -16
  428. package/dist/react-native/classic/gates/index.js +0 -16
  429. package/dist/react-native/classic/gates/index.js.map +0 -1
  430. package/dist/react-native/classic/index.d.ts +0 -10
  431. package/dist/react-native/classic/index.js +0 -4
  432. package/dist/react-native/classic/index.js.map +0 -1
  433. package/dist/react-native/classic/operations/index.d.ts +0 -11
  434. package/dist/react-native/classic/operations/index.js +0 -14
  435. package/dist/react-native/classic/operations/index.js.map +0 -1
  436. package/dist/react-native/classic/updateRuns/index.d.ts +0 -29
  437. package/dist/react-native/classic/updateRuns/index.js +0 -20
  438. package/dist/react-native/classic/updateRuns/index.js.map +0 -1
  439. package/dist/react-native/containerServiceFleetClient.d.ts +0 -39
  440. package/dist/react-native/containerServiceFleetClient.js +0 -57
  441. package/dist/react-native/containerServiceFleetClient.js.map +0 -1
  442. package/dist/react-native/index.d.ts +0 -23
  443. package/dist/react-native/index.js +0 -8
  444. package/dist/react-native/index.js.map +0 -1
  445. package/dist/react-native/logger.d.ts +0 -2
  446. package/dist/react-native/logger.js +0 -5
  447. package/dist/react-native/logger.js.map +0 -1
  448. package/dist/react-native/models/index.d.ts +0 -3
  449. package/dist/react-native/models/index.js +0 -4
  450. package/dist/react-native/models/index.js.map +0 -1
  451. package/dist/react-native/models/models.d.ts +0 -1627
  452. package/dist/react-native/models/models.js +0 -1676
  453. package/dist/react-native/models/models.js.map +0 -1
  454. package/dist/react-native/package.json +0 -3
  455. package/dist/react-native/restorePollerHelpers.d.ts +0 -21
  456. package/dist/react-native/restorePollerHelpers.js +0 -135
  457. package/dist/react-native/restorePollerHelpers.js.map +0 -1
  458. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +0 -22
  459. package/dist/react-native/static-helpers/cloudSettingHelpers.js +0 -38
  460. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +0 -1
  461. package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -74
  462. package/dist/react-native/static-helpers/pagingHelpers.js +0 -143
  463. package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
  464. package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -34
  465. package/dist/react-native/static-helpers/pollingHelpers.js +0 -95
  466. package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
  467. package/dist/react-native/static-helpers/serialization/check-prop-undefined.d.ts +0 -8
  468. package/dist/react-native/static-helpers/serialization/check-prop-undefined.js +0 -17
  469. package/dist/react-native/static-helpers/serialization/check-prop-undefined.js.map +0 -1
  470. package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
  471. package/dist/react-native/static-helpers/urlTemplate.js +0 -200
  472. package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
  473. /package/dist/{react-native/api/autoUpgradeProfileOperations → browser/api/clusterMeshProfiles}/options.js +0 -0
  474. /package/dist/{react-native/api/autoUpgradeProfiles → esm/api/clusterMeshProfiles}/options.js +0 -0
@@ -1,1627 +0,0 @@
1
- /**
2
- * This file contains only generated model types and their (de)serializers.
3
- * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
4
- */
5
- /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
6
- export interface _OperationListResult {
7
- /** The Operation items on this page */
8
- value: Operation[];
9
- /** The link to the next page of items */
10
- nextLink?: string;
11
- }
12
- export declare function _operationListResultDeserializer(item: any): _OperationListResult;
13
- export declare function operationArrayDeserializer(result: Array<Operation>): any[];
14
- /** Details of a REST API operation, returned from the Resource Provider Operations API */
15
- export interface Operation {
16
- /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */
17
- readonly name?: string;
18
- /** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */
19
- readonly isDataAction?: boolean;
20
- /** Localized display information for this particular operation. */
21
- display?: OperationDisplay;
22
- /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
23
- readonly origin?: Origin;
24
- /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
25
- readonly actionType?: ActionType;
26
- }
27
- export declare function operationDeserializer(item: any): Operation;
28
- /** Localized display information for an operation. */
29
- export interface OperationDisplay {
30
- /** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
31
- readonly provider?: string;
32
- /** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
33
- readonly resource?: string;
34
- /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
35
- readonly operation?: string;
36
- /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
37
- readonly description?: string;
38
- }
39
- export declare function operationDisplayDeserializer(item: any): OperationDisplay;
40
- /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
41
- export declare enum KnownOrigin {
42
- /** Indicates the operation is initiated by a user. */
43
- User = "user",
44
- /** Indicates the operation is initiated by a system. */
45
- System = "system",
46
- /** Indicates the operation is initiated by a user or system. */
47
- UserSystem = "user,system"
48
- }
49
- /**
50
- * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" \
51
- * {@link KnownOrigin} can be used interchangeably with Origin,
52
- * this enum contains the known values that the service supports.
53
- * ### Known values supported by the service
54
- * **user**: Indicates the operation is initiated by a user. \
55
- * **system**: Indicates the operation is initiated by a system. \
56
- * **user,system**: Indicates the operation is initiated by a user or system.
57
- */
58
- export type Origin = string;
59
- /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
60
- export declare enum KnownActionType {
61
- /** Actions are for internal-only APIs. */
62
- Internal = "Internal"
63
- }
64
- /**
65
- * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. \
66
- * {@link KnownActionType} can be used interchangeably with ActionType,
67
- * this enum contains the known values that the service supports.
68
- * ### Known values supported by the service
69
- * **Internal**: Actions are for internal-only APIs.
70
- */
71
- export type ActionType = string;
72
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
73
- export interface ErrorResponse {
74
- /** The error object. */
75
- error?: ErrorDetail;
76
- }
77
- export declare function errorResponseDeserializer(item: any): ErrorResponse;
78
- /** The error detail. */
79
- export interface ErrorDetail {
80
- /** The error code. */
81
- readonly code?: string;
82
- /** The error message. */
83
- readonly message?: string;
84
- /** The error target. */
85
- readonly target?: string;
86
- /** The error details. */
87
- readonly details?: ErrorDetail[];
88
- /** The error additional info. */
89
- readonly additionalInfo?: ErrorAdditionalInfo[];
90
- }
91
- export declare function errorDetailDeserializer(item: any): ErrorDetail;
92
- export declare function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[];
93
- export declare function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[];
94
- /** The resource management error additional info. */
95
- export interface ErrorAdditionalInfo {
96
- /** The additional info type. */
97
- readonly type?: string;
98
- /** The additional info. */
99
- readonly info?: any;
100
- }
101
- export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo;
102
- /** The Fleet resource. */
103
- export interface Fleet extends TrackedResource {
104
- /** The resource-specific properties for this resource. */
105
- properties?: FleetProperties;
106
- /** If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. */
107
- readonly eTag?: string;
108
- /** Managed identity. */
109
- identity?: ManagedServiceIdentity;
110
- }
111
- export declare function fleetSerializer(item: Fleet): any;
112
- export declare function fleetDeserializer(item: any): Fleet;
113
- /** Fleet properties. */
114
- export interface FleetProperties {
115
- /** The status of the last operation. */
116
- readonly provisioningState?: FleetProvisioningState;
117
- /** The FleetHubProfile configures the Fleet's hub. */
118
- hubProfile?: FleetHubProfile;
119
- /** Status information for the fleet. */
120
- readonly status?: FleetStatus;
121
- }
122
- export declare function fleetPropertiesSerializer(item: FleetProperties): any;
123
- export declare function fleetPropertiesDeserializer(item: any): FleetProperties;
124
- /** The provisioning state of the last accepted operation. */
125
- export declare enum KnownFleetProvisioningState {
126
- /** Resource has been created. */
127
- Succeeded = "Succeeded",
128
- /** Resource creation failed. */
129
- Failed = "Failed",
130
- /** Resource creation was canceled. */
131
- Canceled = "Canceled",
132
- /** The provisioning state of a fleet being created. */
133
- Creating = "Creating",
134
- /** The provisioning state of a fleet being updated. */
135
- Updating = "Updating",
136
- /** The provisioning state of a fleet being deleted. */
137
- Deleting = "Deleting"
138
- }
139
- /**
140
- * The provisioning state of the last accepted operation. \
141
- * {@link KnownFleetProvisioningState} can be used interchangeably with FleetProvisioningState,
142
- * this enum contains the known values that the service supports.
143
- * ### Known values supported by the service
144
- * **Succeeded**: Resource has been created. \
145
- * **Failed**: Resource creation failed. \
146
- * **Canceled**: Resource creation was canceled. \
147
- * **Creating**: The provisioning state of a fleet being created. \
148
- * **Updating**: The provisioning state of a fleet being updated. \
149
- * **Deleting**: The provisioning state of a fleet being deleted.
150
- */
151
- export type FleetProvisioningState = string;
152
- /** The FleetHubProfile configures the fleet hub. */
153
- export interface FleetHubProfile {
154
- /** DNS prefix used to create the FQDN for the Fleet hub. */
155
- dnsPrefix?: string;
156
- /** The access profile for the Fleet hub API server. */
157
- apiServerAccessProfile?: APIServerAccessProfile;
158
- /** The agent profile for the Fleet hub. */
159
- agentProfile?: AgentProfile;
160
- /** The FQDN of the Fleet hub. */
161
- readonly fqdn?: string;
162
- /** The Kubernetes version of the Fleet hub. */
163
- readonly kubernetesVersion?: string;
164
- /** The Azure Portal FQDN of the Fleet hub. */
165
- readonly portalFqdn?: string;
166
- }
167
- export declare function fleetHubProfileSerializer(item: FleetHubProfile): any;
168
- export declare function fleetHubProfileDeserializer(item: any): FleetHubProfile;
169
- /** Access profile for the Fleet hub API server. */
170
- export interface APIServerAccessProfile {
171
- /** Whether to create the Fleet hub as a private cluster or not. */
172
- enablePrivateCluster?: boolean;
173
- /** Whether to enable apiserver vnet integration for the Fleet hub or not. */
174
- enableVnetIntegration?: boolean;
175
- /** The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet. */
176
- subnetId?: string;
177
- }
178
- export declare function apiServerAccessProfileSerializer(item: APIServerAccessProfile): any;
179
- export declare function apiServerAccessProfileDeserializer(item: any): APIServerAccessProfile;
180
- /** Agent profile for the Fleet hub. */
181
- export interface AgentProfile {
182
- /** The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used. */
183
- subnetId?: string;
184
- /** The virtual machine size of the Fleet hub. */
185
- vmSize?: string;
186
- }
187
- export declare function agentProfileSerializer(item: AgentProfile): any;
188
- export declare function agentProfileDeserializer(item: any): AgentProfile;
189
- /** Status information for the fleet. */
190
- export interface FleetStatus {
191
- /** The last operation ID for the fleet. */
192
- readonly lastOperationId?: string;
193
- /** The last operation error for the fleet. */
194
- readonly lastOperationError?: ErrorDetail;
195
- }
196
- export declare function fleetStatusDeserializer(item: any): FleetStatus;
197
- /** Managed service identity (system assigned and/or user assigned identities) */
198
- export interface ManagedServiceIdentity {
199
- /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */
200
- readonly principalId?: string;
201
- /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */
202
- readonly tenantId?: string;
203
- /** The type of managed identity assigned to this resource. */
204
- type: ManagedServiceIdentityType;
205
- /** The identities assigned to this resource by the user. */
206
- userAssignedIdentities?: Record<string, UserAssignedIdentity>;
207
- }
208
- export declare function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any;
209
- export declare function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity;
210
- /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
211
- export declare enum KnownManagedServiceIdentityType {
212
- /** No managed identity. */
213
- None = "None",
214
- /** System assigned managed identity. */
215
- SystemAssigned = "SystemAssigned",
216
- /** User assigned managed identity. */
217
- UserAssigned = "UserAssigned",
218
- /** System and user assigned managed identity. */
219
- SystemAndUserAssigned = "SystemAssigned, UserAssigned"
220
- }
221
- /**
222
- * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \
223
- * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
224
- * this enum contains the known values that the service supports.
225
- * ### Known values supported by the service
226
- * **None**: No managed identity. \
227
- * **SystemAssigned**: System assigned managed identity. \
228
- * **UserAssigned**: User assigned managed identity. \
229
- * **SystemAssigned, UserAssigned**: System and user assigned managed identity.
230
- */
231
- export type ManagedServiceIdentityType = string;
232
- export declare function userAssignedIdentityRecordSerializer(item: Record<string, UserAssignedIdentity>): Record<string, any>;
233
- export declare function userAssignedIdentityRecordDeserializer(item: Record<string, any>): Record<string, UserAssignedIdentity>;
234
- /** User assigned identity properties */
235
- export interface UserAssignedIdentity {
236
- /** The principal ID of the assigned identity. */
237
- readonly principalId?: string;
238
- /** The client ID of the assigned identity. */
239
- readonly clientId?: string;
240
- }
241
- export declare function userAssignedIdentitySerializer(item: UserAssignedIdentity): any;
242
- export declare function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity;
243
- /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
244
- export interface TrackedResource extends Resource {
245
- /** Resource tags. */
246
- tags?: Record<string, string>;
247
- /** The geo-location where the resource lives */
248
- location: string;
249
- }
250
- export declare function trackedResourceSerializer(item: TrackedResource): any;
251
- export declare function trackedResourceDeserializer(item: any): TrackedResource;
252
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
253
- export interface Resource {
254
- /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
255
- readonly id?: string;
256
- /** The name of the resource */
257
- readonly name?: string;
258
- /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
259
- readonly type?: string;
260
- /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
261
- readonly systemData?: SystemData;
262
- }
263
- export declare function resourceSerializer(item: Resource): any;
264
- export declare function resourceDeserializer(item: any): Resource;
265
- /** Metadata pertaining to creation and last modification of the resource. */
266
- export interface SystemData {
267
- /** The identity that created the resource. */
268
- createdBy?: string;
269
- /** The type of identity that created the resource. */
270
- createdByType?: CreatedByType;
271
- /** The timestamp of resource creation (UTC). */
272
- createdAt?: Date;
273
- /** The identity that last modified the resource. */
274
- lastModifiedBy?: string;
275
- /** The type of identity that last modified the resource. */
276
- lastModifiedByType?: CreatedByType;
277
- /** The timestamp of resource last modification (UTC) */
278
- lastModifiedAt?: Date;
279
- }
280
- export declare function systemDataDeserializer(item: any): SystemData;
281
- /** The kind of entity that created the resource. */
282
- export declare enum KnownCreatedByType {
283
- /** The entity was created by a user. */
284
- User = "User",
285
- /** The entity was created by an application. */
286
- Application = "Application",
287
- /** The entity was created by a managed identity. */
288
- ManagedIdentity = "ManagedIdentity",
289
- /** The entity was created by a key. */
290
- Key = "Key"
291
- }
292
- /**
293
- * The kind of entity that created the resource. \
294
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
295
- * this enum contains the known values that the service supports.
296
- * ### Known values supported by the service
297
- * **User**: The entity was created by a user. \
298
- * **Application**: The entity was created by an application. \
299
- * **ManagedIdentity**: The entity was created by a managed identity. \
300
- * **Key**: The entity was created by a key.
301
- */
302
- export type CreatedByType = string;
303
- /** Properties of a Fleet that can be patched. */
304
- export interface FleetPatch {
305
- /** Resource tags. */
306
- tags?: Record<string, string>;
307
- /** Managed identity. */
308
- identity?: ManagedServiceIdentity;
309
- }
310
- export declare function fleetPatchSerializer(item: FleetPatch): any;
311
- /** The response of a Fleet list operation. */
312
- export interface _FleetListResult {
313
- /** The Fleet items on this page */
314
- value: Fleet[];
315
- /** The link to the next page of items */
316
- nextLink?: string;
317
- }
318
- export declare function _fleetListResultDeserializer(item: any): _FleetListResult;
319
- export declare function fleetArraySerializer(result: Array<Fleet>): any[];
320
- export declare function fleetArrayDeserializer(result: Array<Fleet>): any[];
321
- /** The Credential results response. */
322
- export interface FleetCredentialResults {
323
- /** Array of base64-encoded Kubernetes configuration files. */
324
- readonly kubeconfigs?: FleetCredentialResult[];
325
- }
326
- export declare function fleetCredentialResultsDeserializer(item: any): FleetCredentialResults;
327
- export declare function fleetCredentialResultArrayDeserializer(result: Array<FleetCredentialResult>): any[];
328
- /** One credential result item. */
329
- export interface FleetCredentialResult {
330
- /** The name of the credential. */
331
- readonly name?: string;
332
- /** Base64-encoded Kubernetes configuration file. */
333
- readonly value?: Uint8Array;
334
- }
335
- export declare function fleetCredentialResultDeserializer(item: any): FleetCredentialResult;
336
- /** A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure. */
337
- export interface FleetMember extends ProxyResource {
338
- /** The resource-specific properties for this resource. */
339
- properties?: FleetMemberProperties;
340
- /** If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. */
341
- readonly eTag?: string;
342
- }
343
- export declare function fleetMemberSerializer(item: FleetMember): any;
344
- export declare function fleetMemberDeserializer(item: any): FleetMember;
345
- /** A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure. */
346
- export interface FleetMemberProperties {
347
- /** The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. */
348
- clusterResourceId: string;
349
- /** The group this member belongs to for multi-cluster update management. */
350
- group?: string;
351
- /** The status of the last operation. */
352
- readonly provisioningState?: FleetMemberProvisioningState;
353
- /** The labels for the fleet member. */
354
- labels?: Record<string, string>;
355
- /** Status information of the last operation for fleet member. */
356
- readonly status?: FleetMemberStatus;
357
- }
358
- export declare function fleetMemberPropertiesSerializer(item: FleetMemberProperties): any;
359
- export declare function fleetMemberPropertiesDeserializer(item: any): FleetMemberProperties;
360
- /** The provisioning state of the last accepted operation. */
361
- export declare enum KnownFleetMemberProvisioningState {
362
- /** Resource has been created. */
363
- Succeeded = "Succeeded",
364
- /** Resource creation failed. */
365
- Failed = "Failed",
366
- /** Resource creation was canceled. */
367
- Canceled = "Canceled",
368
- /** The provisioning state of a member joining a fleet. */
369
- Joining = "Joining",
370
- /** The provisioning state of a member leaving a fleet. */
371
- Leaving = "Leaving",
372
- /** The provisioning state of a member being updated. */
373
- Updating = "Updating"
374
- }
375
- /**
376
- * The provisioning state of the last accepted operation. \
377
- * {@link KnownFleetMemberProvisioningState} can be used interchangeably with FleetMemberProvisioningState,
378
- * this enum contains the known values that the service supports.
379
- * ### Known values supported by the service
380
- * **Succeeded**: Resource has been created. \
381
- * **Failed**: Resource creation failed. \
382
- * **Canceled**: Resource creation was canceled. \
383
- * **Joining**: The provisioning state of a member joining a fleet. \
384
- * **Leaving**: The provisioning state of a member leaving a fleet. \
385
- * **Updating**: The provisioning state of a member being updated.
386
- */
387
- export type FleetMemberProvisioningState = string;
388
- /** Status information for the fleet member */
389
- export interface FleetMemberStatus {
390
- /** The last operation ID for the fleet member */
391
- readonly lastOperationId?: string;
392
- /** The last operation error of the fleet member */
393
- readonly lastOperationError?: ErrorDetail;
394
- }
395
- export declare function fleetMemberStatusDeserializer(item: any): FleetMemberStatus;
396
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
397
- export interface ProxyResource extends Resource {
398
- }
399
- export declare function proxyResourceSerializer(item: ProxyResource): any;
400
- export declare function proxyResourceDeserializer(item: any): ProxyResource;
401
- /** The type used for update operations of the FleetMember. */
402
- export interface FleetMemberUpdate {
403
- /** The resource-specific properties for this resource. */
404
- properties?: FleetMemberUpdateProperties;
405
- }
406
- export declare function fleetMemberUpdateSerializer(item: FleetMemberUpdate): any;
407
- /** The updatable properties of the FleetMember. */
408
- export interface FleetMemberUpdateProperties {
409
- /** The group this member belongs to for multi-cluster update management. */
410
- group?: string;
411
- /** The labels for the fleet member. */
412
- labels?: Record<string, string>;
413
- }
414
- export declare function fleetMemberUpdatePropertiesSerializer(item: FleetMemberUpdateProperties): any;
415
- /** The response of a FleetMember list operation. */
416
- export interface _FleetMemberListResult {
417
- /** The FleetMember items on this page */
418
- value: FleetMember[];
419
- /** The link to the next page of items */
420
- nextLink?: string;
421
- }
422
- export declare function _fleetMemberListResultDeserializer(item: any): _FleetMemberListResult;
423
- export declare function fleetMemberArraySerializer(result: Array<FleetMember>): any[];
424
- export declare function fleetMemberArrayDeserializer(result: Array<FleetMember>): any[];
425
- /** A fleet managed namespace. */
426
- export interface FleetManagedNamespace extends TrackedResource {
427
- /** If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. */
428
- readonly eTag?: string;
429
- /** The status of the last operation. */
430
- readonly provisioningState?: FleetManagedNamespaceProvisioningState;
431
- /** The namespace properties for the fleet managed namespace. */
432
- managedNamespaceProperties?: ManagedNamespaceProperties;
433
- /** Action if the managed namespace with the same name already exists. Default is Never. */
434
- adoptionPolicy?: AdoptionPolicy;
435
- /** Delete options of a fleet managed namespace. Default is Keep. */
436
- deletePolicy?: DeletePolicy;
437
- /** The profile of the propagation to create the namespace. */
438
- propagationPolicy?: PropagationPolicy;
439
- /** Status information of the last operation for fleet managed namespace. */
440
- readonly status?: FleetManagedNamespaceStatus;
441
- /** The Azure Portal FQDN of the Fleet hub. */
442
- readonly portalFqdn?: string;
443
- }
444
- export declare function fleetManagedNamespaceSerializer(item: FleetManagedNamespace): any;
445
- export declare function fleetManagedNamespaceDeserializer(item: any): FleetManagedNamespace;
446
- /** The properties of a fleet managed namespace. */
447
- export interface FleetManagedNamespaceProperties {
448
- /** The status of the last operation. */
449
- readonly provisioningState?: FleetManagedNamespaceProvisioningState;
450
- /** The namespace properties for the fleet managed namespace. */
451
- managedNamespaceProperties?: ManagedNamespaceProperties;
452
- /** Action if the managed namespace with the same name already exists. Default is Never. */
453
- adoptionPolicy: AdoptionPolicy;
454
- /** Delete options of a fleet managed namespace. Default is Keep. */
455
- deletePolicy: DeletePolicy;
456
- /** The profile of the propagation to create the namespace. */
457
- propagationPolicy?: PropagationPolicy;
458
- /** Status information of the last operation for fleet managed namespace. */
459
- readonly status?: FleetManagedNamespaceStatus;
460
- /** The Azure Portal FQDN of the Fleet hub. */
461
- readonly portalFqdn?: string;
462
- }
463
- export declare function fleetManagedNamespacePropertiesSerializer(item: FleetManagedNamespaceProperties): any;
464
- export declare function fleetManagedNamespacePropertiesDeserializer(item: any): FleetManagedNamespaceProperties;
465
- /** The provisioning state of the fleet managed namespace resource */
466
- export declare enum KnownFleetManagedNamespaceProvisioningState {
467
- /** Resource has been created. */
468
- Succeeded = "Succeeded",
469
- /** Resource creation failed. */
470
- Failed = "Failed",
471
- /** Resource creation was canceled. */
472
- Canceled = "Canceled",
473
- /** The provisioning state of a fleet managed namespace being created. */
474
- Creating = "Creating",
475
- /** The provisioning state of a fleet managed namespace being updated. */
476
- Updating = "Updating",
477
- /** The provisioning state of a fleet managed namespace being deleted. */
478
- Deleting = "Deleting"
479
- }
480
- /**
481
- * The provisioning state of the fleet managed namespace resource \
482
- * {@link KnownFleetManagedNamespaceProvisioningState} can be used interchangeably with FleetManagedNamespaceProvisioningState,
483
- * this enum contains the known values that the service supports.
484
- * ### Known values supported by the service
485
- * **Succeeded**: Resource has been created. \
486
- * **Failed**: Resource creation failed. \
487
- * **Canceled**: Resource creation was canceled. \
488
- * **Creating**: The provisioning state of a fleet managed namespace being created. \
489
- * **Updating**: The provisioning state of a fleet managed namespace being updated. \
490
- * **Deleting**: The provisioning state of a fleet managed namespace being deleted.
491
- */
492
- export type FleetManagedNamespaceProvisioningState = string;
493
- /** The namespace properties for the fleet managed namespace. */
494
- export interface ManagedNamespaceProperties {
495
- /** The labels for the fleet managed namespace. */
496
- labels?: Record<string, string>;
497
- /** The annotations for the fleet managed namespace. */
498
- annotations?: Record<string, string>;
499
- /** The default resource quota for the fleet managed namespace. */
500
- defaultResourceQuota?: ResourceQuota;
501
- /** The default network policy for the fleet managed namespace. */
502
- defaultNetworkPolicy?: NetworkPolicy;
503
- }
504
- export declare function managedNamespacePropertiesSerializer(item: ManagedNamespaceProperties): any;
505
- export declare function managedNamespacePropertiesDeserializer(item: any): ManagedNamespaceProperties;
506
- /** The resource quota for the managed namespace. */
507
- export interface ResourceQuota {
508
- /** The CPU request for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu */
509
- cpuRequest?: string;
510
- /** The CPU limit for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu */
511
- cpuLimit?: string;
512
- /** The memory request for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory */
513
- memoryRequest?: string;
514
- /** The memory limit for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory */
515
- memoryLimit?: string;
516
- }
517
- export declare function resourceQuotaSerializer(item: ResourceQuota): any;
518
- export declare function resourceQuotaDeserializer(item: any): ResourceQuota;
519
- /** The network policy for the managed namespace. */
520
- export interface NetworkPolicy {
521
- /** The ingress policy for the managed namespace. */
522
- ingress?: PolicyRule;
523
- /** The egress policy for the managed namespace. */
524
- egress?: PolicyRule;
525
- }
526
- export declare function networkPolicySerializer(item: NetworkPolicy): any;
527
- export declare function networkPolicyDeserializer(item: any): NetworkPolicy;
528
- /** The possible values representing different network policy rules. */
529
- export declare enum KnownPolicyRule {
530
- /** Allow all network traffic. */
531
- AllowAll = "AllowAll",
532
- /** Deny all network traffic. */
533
- DenyAll = "DenyAll",
534
- /** Allow traffic within the same namespace. */
535
- AllowSameNamespace = "AllowSameNamespace"
536
- }
537
- /**
538
- * The possible values representing different network policy rules. \
539
- * {@link KnownPolicyRule} can be used interchangeably with PolicyRule,
540
- * this enum contains the known values that the service supports.
541
- * ### Known values supported by the service
542
- * **AllowAll**: Allow all network traffic. \
543
- * **DenyAll**: Deny all network traffic. \
544
- * **AllowSameNamespace**: Allow traffic within the same namespace.
545
- */
546
- export type PolicyRule = string;
547
- /** Action if the Namespace with the same name already exists. */
548
- export declare enum KnownAdoptionPolicy {
549
- /** If the Namespace already exists, do not take over the existing Namespace to be managed by ARM. */
550
- Never = "Never",
551
- /** If there is an identical Namespace, take over the existing Namespace to be managed by ARM. */
552
- IfIdentical = "IfIdentical",
553
- /** Always take over the existing Namespace to be managed by ARM, even if it is not identical. */
554
- Always = "Always"
555
- }
556
- /**
557
- * Action if the Namespace with the same name already exists. \
558
- * {@link KnownAdoptionPolicy} can be used interchangeably with AdoptionPolicy,
559
- * this enum contains the known values that the service supports.
560
- * ### Known values supported by the service
561
- * **Never**: If the Namespace already exists, do not take over the existing Namespace to be managed by ARM. \
562
- * **IfIdentical**: If there is an identical Namespace, take over the existing Namespace to be managed by ARM. \
563
- * **Always**: Always take over the existing Namespace to be managed by ARM, even if it is not identical.
564
- */
565
- export type AdoptionPolicy = string;
566
- /** Delete options for the ARM managed namespace. */
567
- export declare enum KnownDeletePolicy {
568
- /** Delete the ARM resource but keep the Namespace. */
569
- Keep = "Keep",
570
- /** Delete both ARM resource and Namespace. */
571
- Delete = "Delete"
572
- }
573
- /**
574
- * Delete options for the ARM managed namespace. \
575
- * {@link KnownDeletePolicy} can be used interchangeably with DeletePolicy,
576
- * this enum contains the known values that the service supports.
577
- * ### Known values supported by the service
578
- * **Keep**: Delete the ARM resource but keep the Namespace. \
579
- * **Delete**: Delete both ARM resource and Namespace.
580
- */
581
- export type DeletePolicy = string;
582
- /** The propagation to be used for provisioning the namespace among the fleet. */
583
- export interface PropagationPolicy {
584
- /** The type of the policy to be used. Default is Placement. */
585
- type: PropagationType;
586
- /** The profile to be used for propagation via placement. */
587
- placementProfile?: PlacementProfile;
588
- }
589
- export declare function propagationPolicySerializer(item: PropagationPolicy): any;
590
- export declare function propagationPolicyDeserializer(item: any): PropagationPolicy;
591
- /** How the namespace will be provisioned among the fleet members. */
592
- export declare enum KnownPropagationType {
593
- /** Using ClusterResourcePlacement. */
594
- Placement = "Placement"
595
- }
596
- /**
597
- * How the namespace will be provisioned among the fleet members. \
598
- * {@link KnownPropagationType} can be used interchangeably with PropagationType,
599
- * this enum contains the known values that the service supports.
600
- * ### Known values supported by the service
601
- * **Placement**: Using ClusterResourcePlacement.
602
- */
603
- export type PropagationType = string;
604
- /** The configuration profile for default ClusterResourcePlacement for placement. */
605
- export interface PlacementProfile {
606
- /** The default ClusterResourcePlacement policy configuration. */
607
- defaultClusterResourcePlacement?: ClusterResourcePlacementSpec;
608
- }
609
- export declare function placementProfileSerializer(item: PlacementProfile): any;
610
- export declare function placementProfileDeserializer(item: any): PlacementProfile;
611
- /** ClusterResourcePlacementSpec defines the desired state of ClusterResourcePlacement. */
612
- export interface ClusterResourcePlacementSpec {
613
- /** Policy defines how to select member clusters to place the selected resources. If unspecified, all the joined member clusters are selected. */
614
- policy?: PlacementPolicy;
615
- }
616
- export declare function clusterResourcePlacementSpecSerializer(item: ClusterResourcePlacementSpec): any;
617
- export declare function clusterResourcePlacementSpecDeserializer(item: any): ClusterResourcePlacementSpec;
618
- /** PlacementPolicy contains the rules to select target member clusters to place the selected resources. Note that only clusters that are both joined and satisfying the rules will be selected. You can only specify at most one of the two fields: ClusterNames and Affinity. If none is specified, all the joined clusters are selected. */
619
- export interface PlacementPolicy {
620
- /** Type of placement. Can be "PickAll", "PickN" or "PickFixed". Default is PickAll. */
621
- placementType?: PlacementType;
622
- /** ClusterNames contains a list of names of MemberCluster to place the selected resources. Only valid if the placement type is "PickFixed" */
623
- clusterNames?: string[];
624
- /** Affinity contains cluster affinity scheduling rules. Defines which member clusters to place the selected resources. Only valid if the placement type is "PickAll" or "PickN". */
625
- affinity?: Affinity;
626
- /** If specified, the ClusterResourcePlacement's Tolerations. Tolerations cannot be updated or deleted. This field is beta-level and is for the taints and tolerations feature. */
627
- tolerations?: Toleration[];
628
- }
629
- export declare function placementPolicySerializer(item: PlacementPolicy): any;
630
- export declare function placementPolicyDeserializer(item: any): PlacementPolicy;
631
- /** PlacementType identifies the type of placement. */
632
- export declare enum KnownPlacementType {
633
- /** PickAll picks all clusters that satisfy the rules. */
634
- PickAll = "PickAll",
635
- /** PickFixed picks a fixed set of clusters. */
636
- PickFixed = "PickFixed"
637
- }
638
- /**
639
- * PlacementType identifies the type of placement. \
640
- * {@link KnownPlacementType} can be used interchangeably with PlacementType,
641
- * this enum contains the known values that the service supports.
642
- * ### Known values supported by the service
643
- * **PickAll**: PickAll picks all clusters that satisfy the rules. \
644
- * **PickFixed**: PickFixed picks a fixed set of clusters.
645
- */
646
- export type PlacementType = string;
647
- /** Affinity is a group of cluster affinity scheduling rules. More to be added. */
648
- export interface Affinity {
649
- /** ClusterAffinity contains cluster affinity scheduling rules for the selected resources. */
650
- clusterAffinity?: ClusterAffinity;
651
- }
652
- export declare function affinitySerializer(item: Affinity): any;
653
- export declare function affinityDeserializer(item: any): Affinity;
654
- /** ClusterAffinity contains cluster affinity scheduling rules for the selected resources. */
655
- export interface ClusterAffinity {
656
- /** If the affinity requirements specified by this field are not met at scheduling time, the resource will not be scheduled onto the cluster. If the affinity requirements specified by this field cease to be met at some point after the placement (e.g. due to an update), the system may or may not try to eventually remove the resource from the cluster. */
657
- requiredDuringSchedulingIgnoredDuringExecution?: ClusterSelector;
658
- }
659
- export declare function clusterAffinitySerializer(item: ClusterAffinity): any;
660
- export declare function clusterAffinityDeserializer(item: any): ClusterAffinity;
661
- /** ClusterSelector */
662
- export interface ClusterSelector {
663
- /** ClusterSelectorTerms is a list of cluster selector terms. The terms are `ORed`. */
664
- clusterSelectorTerms: ClusterSelectorTerm[];
665
- }
666
- export declare function clusterSelectorSerializer(item: ClusterSelector): any;
667
- export declare function clusterSelectorDeserializer(item: any): ClusterSelector;
668
- export declare function clusterSelectorTermArraySerializer(result: Array<ClusterSelectorTerm>): any[];
669
- export declare function clusterSelectorTermArrayDeserializer(result: Array<ClusterSelectorTerm>): any[];
670
- /** ClusterSelectorTerm */
671
- export interface ClusterSelectorTerm {
672
- /** LabelSelector is a label query over all the joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd. */
673
- labelSelector?: LabelSelector;
674
- /** PropertySelector is a property query over all joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd. At this moment, PropertySelector can only be used with `RequiredDuringSchedulingIgnoredDuringExecution` affinity terms. This field is beta-level; it is for the property-based scheduling feature and is only functional when a property provider is enabled in the deployment. */
675
- propertySelector?: PropertySelector;
676
- }
677
- export declare function clusterSelectorTermSerializer(item: ClusterSelectorTerm): any;
678
- export declare function clusterSelectorTermDeserializer(item: any): ClusterSelectorTerm;
679
- /** A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. */
680
- export interface LabelSelector {
681
- /** matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. */
682
- matchLabels?: Record<string, string>;
683
- /** matchExpressions is a list of label selector requirements. The requirements are ANDed. */
684
- matchExpressions?: LabelSelectorRequirement[];
685
- }
686
- export declare function labelSelectorSerializer(item: LabelSelector): any;
687
- export declare function labelSelectorDeserializer(item: any): LabelSelector;
688
- export declare function labelSelectorRequirementArraySerializer(result: Array<LabelSelectorRequirement>): any[];
689
- export declare function labelSelectorRequirementArrayDeserializer(result: Array<LabelSelectorRequirement>): any[];
690
- /** A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. */
691
- export interface LabelSelectorRequirement {
692
- /** key is the label key that the selector applies to. */
693
- key: string;
694
- /** operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. */
695
- operator: LabelSelectorOperator;
696
- /** values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. */
697
- values?: string[];
698
- }
699
- export declare function labelSelectorRequirementSerializer(item: LabelSelectorRequirement): any;
700
- export declare function labelSelectorRequirementDeserializer(item: any): LabelSelectorRequirement;
701
- /** A label selector operator is the set of operators that can be used in a selector requirement. */
702
- export declare enum KnownLabelSelectorOperator {
703
- /** Label Selector Operator In */
704
- In = "In",
705
- /** Label Selector Operator NotIn */
706
- NotIn = "NotIn",
707
- /** Label Selector Operator Exists */
708
- Exists = "Exists",
709
- /** Label Selector Operator DoesNotExist */
710
- DoesNotExist = "DoesNotExist"
711
- }
712
- /**
713
- * A label selector operator is the set of operators that can be used in a selector requirement. \
714
- * {@link KnownLabelSelectorOperator} can be used interchangeably with LabelSelectorOperator,
715
- * this enum contains the known values that the service supports.
716
- * ### Known values supported by the service
717
- * **In**: Label Selector Operator In \
718
- * **NotIn**: Label Selector Operator NotIn \
719
- * **Exists**: Label Selector Operator Exists \
720
- * **DoesNotExist**: Label Selector Operator DoesNotExist
721
- */
722
- export type LabelSelectorOperator = string;
723
- /** PropertySelector helps user specify property requirements when picking clusters for resource placement. */
724
- export interface PropertySelector {
725
- /** MatchExpressions is an array of PropertySelectorRequirements. The requirements are AND'd. */
726
- matchExpressions: PropertySelectorRequirement[];
727
- }
728
- export declare function propertySelectorSerializer(item: PropertySelector): any;
729
- export declare function propertySelectorDeserializer(item: any): PropertySelector;
730
- export declare function propertySelectorRequirementArraySerializer(result: Array<PropertySelectorRequirement>): any[];
731
- export declare function propertySelectorRequirementArrayDeserializer(result: Array<PropertySelectorRequirement>): any[];
732
- /** PropertySelectorRequirement is a specific property requirement when picking clusters for resource placement. */
733
- export interface PropertySelectorRequirement {
734
- /** Name is the name of the property; it should be a Kubernetes label name. */
735
- name: string;
736
- /** Operator specifies the relationship between a cluster's observed value of the specified property and the values given in the requirement. */
737
- operator: PropertySelectorOperator;
738
- /** Values are a list of values of the specified property which Fleet will compare against the observed values of individual member clusters in accordance with the given operator. At this moment, each value should be a Kubernetes quantity. For more information, see https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity. If the operator is Gt (greater than), Ge (greater than or equal to), Lt (less than), or `Le` (less than or equal to), Eq (equal to), or Ne (ne), exactly one value must be specified in the list. */
739
- values: string[];
740
- }
741
- export declare function propertySelectorRequirementSerializer(item: PropertySelectorRequirement): any;
742
- export declare function propertySelectorRequirementDeserializer(item: any): PropertySelectorRequirement;
743
- /** PropertySelectorOperator is the operator that can be used with PropertySelectorRequirements. */
744
- export declare enum KnownPropertySelectorOperator {
745
- /** Gt dictates Fleet to select cluster if its observed value of a given property is greater than the value specified in the requirement. */
746
- Gt = "Gt",
747
- /** Ge dictates Fleet to select cluster if its observed value of a given property is greater than or equal to the value specified in the requirement. */
748
- Ge = "Ge",
749
- /** Eq dictates Fleet to select cluster if its observed value of a given property is equal to the values specified in the requirement. */
750
- Eq = "Eq",
751
- /** Ne dictates Fleet to select cluster if its observed value of a given property is not equal to the values specified in the requirement. */
752
- Ne = "Ne",
753
- /** Lt dictates Fleet to select cluster if its observed value of a given property is less than the value specified in the requirement. */
754
- Lt = "Lt",
755
- /** Le dictates Fleet to select cluster if its observed value of a given property is less than or equal to the value specified in the requirement. */
756
- Le = "Le"
757
- }
758
- /**
759
- * PropertySelectorOperator is the operator that can be used with PropertySelectorRequirements. \
760
- * {@link KnownPropertySelectorOperator} can be used interchangeably with PropertySelectorOperator,
761
- * this enum contains the known values that the service supports.
762
- * ### Known values supported by the service
763
- * **Gt**: Gt dictates Fleet to select cluster if its observed value of a given property is greater than the value specified in the requirement. \
764
- * **Ge**: Ge dictates Fleet to select cluster if its observed value of a given property is greater than or equal to the value specified in the requirement. \
765
- * **Eq**: Eq dictates Fleet to select cluster if its observed value of a given property is equal to the values specified in the requirement. \
766
- * **Ne**: Ne dictates Fleet to select cluster if its observed value of a given property is not equal to the values specified in the requirement. \
767
- * **Lt**: Lt dictates Fleet to select cluster if its observed value of a given property is less than the value specified in the requirement. \
768
- * **Le**: Le dictates Fleet to select cluster if its observed value of a given property is less than or equal to the value specified in the requirement.
769
- */
770
- export type PropertySelectorOperator = string;
771
- export declare function tolerationArraySerializer(result: Array<Toleration>): any[];
772
- export declare function tolerationArrayDeserializer(result: Array<Toleration>): any[];
773
- /** Toleration allows ClusterResourcePlacement to tolerate any taint that matches the triple <key,value,effect> using the matching operator <operator>. */
774
- export interface Toleration {
775
- /** Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. */
776
- key?: string;
777
- /** Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ClusterResourcePlacement can tolerate all taints of a particular category. */
778
- operator?: TolerationOperator;
779
- /** Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. */
780
- value?: string;
781
- /** Effect indicates the taint effect to match. Empty means match all taint effects. When specified, only allowed value is NoSchedule. */
782
- effect?: TaintEffect;
783
- }
784
- export declare function tolerationSerializer(item: Toleration): any;
785
- export declare function tolerationDeserializer(item: any): Toleration;
786
- /** A toleration operator is the set of operators that can be used in a toleration. */
787
- export declare enum KnownTolerationOperator {
788
- /** Toleration Operator Exists */
789
- Exists = "Exists",
790
- /** Toleration Operator Equal */
791
- Equal = "Equal"
792
- }
793
- /**
794
- * A toleration operator is the set of operators that can be used in a toleration. \
795
- * {@link KnownTolerationOperator} can be used interchangeably with TolerationOperator,
796
- * this enum contains the known values that the service supports.
797
- * ### Known values supported by the service
798
- * **Exists**: Toleration Operator Exists \
799
- * **Equal**: Toleration Operator Equal
800
- */
801
- export type TolerationOperator = string;
802
- /** TaintEffect */
803
- export declare enum KnownTaintEffect {
804
- /** Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler. */
805
- NoSchedule = "NoSchedule"
806
- }
807
- /**
808
- * TaintEffect \
809
- * {@link KnownTaintEffect} can be used interchangeably with TaintEffect,
810
- * this enum contains the known values that the service supports.
811
- * ### Known values supported by the service
812
- * **NoSchedule**: Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.
813
- */
814
- export type TaintEffect = string;
815
- /** Status information for the fleet managed namespace. */
816
- export interface FleetManagedNamespaceStatus {
817
- /** The last operation ID for the fleet managed namespace */
818
- readonly lastOperationId?: string;
819
- /** The last operation error of the fleet managed namespace */
820
- readonly lastOperationError?: ErrorDetail;
821
- }
822
- export declare function fleetManagedNamespaceStatusDeserializer(item: any): FleetManagedNamespaceStatus;
823
- /** The response of a FleetManagedNamespace list operation. */
824
- export interface _FleetManagedNamespaceListResult {
825
- /** The FleetManagedNamespace items on this page */
826
- value: FleetManagedNamespace[];
827
- /** The link to the next page of items */
828
- nextLink?: string;
829
- }
830
- export declare function _fleetManagedNamespaceListResultDeserializer(item: any): _FleetManagedNamespaceListResult;
831
- export declare function fleetManagedNamespaceArraySerializer(result: Array<FleetManagedNamespace>): any[];
832
- export declare function fleetManagedNamespaceArrayDeserializer(result: Array<FleetManagedNamespace>): any[];
833
- /** The properties of a fleet managed namespace that can be patched. */
834
- export interface FleetManagedNamespacePatch {
835
- /** Resource tags. */
836
- tags?: Record<string, string>;
837
- }
838
- export declare function fleetManagedNamespacePatchSerializer(item: FleetManagedNamespacePatch): any;
839
- /** A Gate controls the progression during a staged rollout, e.g. in an Update Run. */
840
- export interface Gate extends ProxyResource {
841
- /** The resource-specific properties for this resource. */
842
- properties?: GateProperties;
843
- /** If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. */
844
- readonly eTag?: string;
845
- }
846
- export declare function gateDeserializer(item: any): Gate;
847
- /** A Gate controls the progression during a staged rollout, e.g. in an Update Run. */
848
- export interface GateProperties {
849
- /** The provisioning state of the Gate resource. */
850
- readonly provisioningState?: GateProvisioningState;
851
- /** The human-readable display name of the Gate. */
852
- displayName?: string;
853
- /** The type of the Gate determines how it is completed. */
854
- gateType: GateType;
855
- /** The target that the Gate is controlling, e.g. an Update Run. */
856
- target: GateTarget;
857
- /** The state of the Gate. */
858
- state: GateState;
859
- }
860
- export declare function gatePropertiesDeserializer(item: any): GateProperties;
861
- /** The provisioning state of the Gate resource. */
862
- export declare enum KnownGateProvisioningState {
863
- /** Resource has been created. */
864
- Succeeded = "Succeeded",
865
- /** Resource creation failed. */
866
- Failed = "Failed",
867
- /** Resource creation was canceled. */
868
- Canceled = "Canceled"
869
- }
870
- /**
871
- * The provisioning state of the Gate resource. \
872
- * {@link KnownGateProvisioningState} can be used interchangeably with GateProvisioningState,
873
- * this enum contains the known values that the service supports.
874
- * ### Known values supported by the service
875
- * **Succeeded**: Resource has been created. \
876
- * **Failed**: Resource creation failed. \
877
- * **Canceled**: Resource creation was canceled.
878
- */
879
- export type GateProvisioningState = string;
880
- /** The type of the Gate determines how it is completed. */
881
- export declare enum KnownGateType {
882
- /** An approval gate is completed by setting its state to be Completed. */
883
- Approval = "Approval"
884
- }
885
- /**
886
- * The type of the Gate determines how it is completed. \
887
- * {@link KnownGateType} can be used interchangeably with GateType,
888
- * this enum contains the known values that the service supports.
889
- * ### Known values supported by the service
890
- * **Approval**: An approval gate is completed by setting its state to be Completed.
891
- */
892
- export type GateType = string;
893
- /** The target that the Gate is controlling, e.g. an Update Run. Exactly one of the properties objects will be set. */
894
- export interface GateTarget {
895
- /** The resource id that the Gate is controlling the rollout of. */
896
- id: string;
897
- /** The properties of the Update Run that the Gate is targeting. */
898
- updateRunProperties?: UpdateRunGateTargetProperties;
899
- }
900
- export declare function gateTargetDeserializer(item: any): GateTarget;
901
- /** The properties of the Update Run that the Gate is targeting. */
902
- export interface UpdateRunGateTargetProperties {
903
- /** The name of the Update Run. */
904
- readonly name: string;
905
- /** The Update Stage of the Update Run. */
906
- readonly stage?: string;
907
- /** The Update Group of the Update Run. */
908
- readonly group?: string;
909
- /** Whether the Gate is placed before or after the update itself. */
910
- timing: Timing;
911
- }
912
- export declare function updateRunGateTargetPropertiesDeserializer(item: any): UpdateRunGateTargetProperties;
913
- /** Whether the Gate is placed before or after the target. */
914
- export declare enum KnownTiming {
915
- /** The Gate is before the target. */
916
- Before = "Before",
917
- /** The Gate is after the target. */
918
- After = "After"
919
- }
920
- /**
921
- * Whether the Gate is placed before or after the target. \
922
- * {@link KnownTiming} can be used interchangeably with Timing,
923
- * this enum contains the known values that the service supports.
924
- * ### Known values supported by the service
925
- * **Before**: The Gate is before the target. \
926
- * **After**: The Gate is after the target.
927
- */
928
- export type Timing = string;
929
- /** The state of the Gate. */
930
- export declare enum KnownGateState {
931
- /** A Pending Gate will continue to block the staged rollout process it is controlling. */
932
- Pending = "Pending",
933
- /** A Skipped Gate means that the staged rollout process it is controlling was skipped. */
934
- Skipped = "Skipped",
935
- /** An Completed Gate allows the staged rollout process to continue. */
936
- Completed = "Completed"
937
- }
938
- /**
939
- * The state of the Gate. \
940
- * {@link KnownGateState} can be used interchangeably with GateState,
941
- * this enum contains the known values that the service supports.
942
- * ### Known values supported by the service
943
- * **Pending**: A Pending Gate will continue to block the staged rollout process it is controlling. \
944
- * **Skipped**: A Skipped Gate means that the staged rollout process it is controlling was skipped. \
945
- * **Completed**: An Completed Gate allows the staged rollout process to continue.
946
- */
947
- export type GateState = string;
948
- /** Patch a Gate resource. */
949
- export interface GatePatch {
950
- /** Properties of a Gate that can be patched. */
951
- properties: GatePatchProperties;
952
- }
953
- export declare function gatePatchSerializer(item: GatePatch): any;
954
- /** Properties of a Gate that can be patched. */
955
- export interface GatePatchProperties {
956
- /** The state of the Gate. */
957
- state: GateState;
958
- }
959
- export declare function gatePatchPropertiesSerializer(item: GatePatchProperties): any;
960
- /** The response of a Gate list operation. */
961
- export interface _GateListResult {
962
- /** The Gate items on this page */
963
- value: Gate[];
964
- /** The link to the next page of items */
965
- nextLink?: string;
966
- }
967
- export declare function _gateListResultDeserializer(item: any): _GateListResult;
968
- export declare function gateArrayDeserializer(result: Array<Gate>): any[];
969
- /** A multi-stage process to perform update operations across members of a Fleet. */
970
- export interface UpdateRun extends ProxyResource {
971
- /** The resource-specific properties for this resource. */
972
- properties?: UpdateRunProperties;
973
- /** If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. */
974
- readonly eTag?: string;
975
- }
976
- export declare function updateRunSerializer(item: UpdateRun): any;
977
- export declare function updateRunDeserializer(item: any): UpdateRun;
978
- /** The properties of the UpdateRun. */
979
- export interface UpdateRunProperties {
980
- /** The provisioning state of the UpdateRun resource. */
981
- readonly provisioningState?: UpdateRunProvisioningState;
982
- /**
983
- * The resource id of the FleetUpdateStrategy resource to reference.
984
- *
985
- * When creating a new run, there are three ways to define a strategy for the run:
986
- * 1. Define a new strategy in place: Set the "strategy" field.
987
- * 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview)
988
- * 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview)
989
- *
990
- * Setting both "updateStrategyId" and "strategy" is invalid.
991
- *
992
- * UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field.
993
- * Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate.
994
- * UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.
995
- */
996
- updateStrategyId?: string;
997
- /**
998
- * The strategy defines the order in which the clusters will be updated.
999
- * If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members.
1000
- * The strategy of the UpdateRun can be modified until the run is started.
1001
- */
1002
- strategy?: UpdateRunStrategy;
1003
- /** The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. */
1004
- managedClusterUpdate: ManagedClusterUpdate;
1005
- /** The status of the UpdateRun. */
1006
- readonly status?: UpdateRunStatus;
1007
- /** AutoUpgradeProfileId is the id of an auto upgrade profile resource. */
1008
- readonly autoUpgradeProfileId?: string;
1009
- }
1010
- export declare function updateRunPropertiesSerializer(item: UpdateRunProperties): any;
1011
- export declare function updateRunPropertiesDeserializer(item: any): UpdateRunProperties;
1012
- /** The provisioning state of the UpdateRun resource. */
1013
- export declare enum KnownUpdateRunProvisioningState {
1014
- /** Resource has been created. */
1015
- Succeeded = "Succeeded",
1016
- /** Resource creation failed. */
1017
- Failed = "Failed",
1018
- /** Resource creation was canceled. */
1019
- Canceled = "Canceled"
1020
- }
1021
- /**
1022
- * The provisioning state of the UpdateRun resource. \
1023
- * {@link KnownUpdateRunProvisioningState} can be used interchangeably with UpdateRunProvisioningState,
1024
- * this enum contains the known values that the service supports.
1025
- * ### Known values supported by the service
1026
- * **Succeeded**: Resource has been created. \
1027
- * **Failed**: Resource creation failed. \
1028
- * **Canceled**: Resource creation was canceled.
1029
- */
1030
- export type UpdateRunProvisioningState = string;
1031
- /**
1032
- * Defines the update sequence of the clusters via stages and groups.
1033
- *
1034
- * Stages within a run are executed sequentially one after another.
1035
- * Groups within a stage are executed in parallel.
1036
- * Member clusters within a group are updated sequentially one after another.
1037
- *
1038
- * A valid strategy contains no duplicate groups within or across stages.
1039
- */
1040
- export interface UpdateRunStrategy {
1041
- /** The list of stages that compose this update run. Min size: 1. */
1042
- stages: UpdateStage[];
1043
- }
1044
- export declare function updateRunStrategySerializer(item: UpdateRunStrategy): any;
1045
- export declare function updateRunStrategyDeserializer(item: any): UpdateRunStrategy;
1046
- export declare function updateStageArraySerializer(result: Array<UpdateStage>): any[];
1047
- export declare function updateStageArrayDeserializer(result: Array<UpdateStage>): any[];
1048
- /** Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. */
1049
- export interface UpdateStage {
1050
- /** The name of the stage. Must be unique within the UpdateRun. */
1051
- name: string;
1052
- /** Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. */
1053
- groups?: UpdateGroup[];
1054
- /** The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. */
1055
- afterStageWaitInSeconds?: number;
1056
- /**
1057
- * The max number of upgrades that can run concurrently across all groups in this stage.
1058
- * Acts as a ceiling (and not a quota) for the number of concurrent upgrades within the stage you want to tolerate at a time.
1059
- * Actual concurrency may be lower depending on group-level concurrency limits or individual member conditions.
1060
- * Stage maxConcurrency has a min value of "1".
1061
- * Accepts either:
1062
- * • A fixed count, e.g., "3"
1063
- * • A percentage, e.g., "25%" (range 1–100). Percentage is of the total number of clusters across all groups in the stage.
1064
- * Fractional results are rounded down. A minimum of 1 upgrade is enforced.
1065
- * Examples:
1066
- * • "3" --> up to 3 clusters from this stage upgrade at once (across all groups).
1067
- * • "100%" --> “all at once”; up to all clusters in this stage upgrade at the same time.
1068
- * • "25%" --> up to 25% of the stage’s total clusters upgrade at the same time.
1069
- */
1070
- maxConcurrency?: string;
1071
- /** A list of Gates that will be created before this Stage is executed. */
1072
- beforeGates?: GateConfiguration[];
1073
- /** A list of Gates that will be created after this Stage is executed. */
1074
- afterGates?: GateConfiguration[];
1075
- }
1076
- export declare function updateStageSerializer(item: UpdateStage): any;
1077
- export declare function updateStageDeserializer(item: any): UpdateStage;
1078
- export declare function updateGroupArraySerializer(result: Array<UpdateGroup>): any[];
1079
- export declare function updateGroupArrayDeserializer(result: Array<UpdateGroup>): any[];
1080
- /** A group to be updated. */
1081
- export interface UpdateGroup {
1082
- /**
1083
- * Name of the group.
1084
- * It must match a group name of an existing fleet member.
1085
- */
1086
- name: string;
1087
- /**
1088
- * The max number of upgrades that can run concurrently in this specific group.
1089
- * Acts as a ceiling (and not a quota) for the number of concurrent upgrades within the group you want to tolerate at a time.
1090
- * Actual concurrency may be lower depending on stage-level concurrency limits or individual member conditions.
1091
- * Group maxConcurrency has a min value of "1". The max value is min(number of clusters in the group, the stage maxConcurrency).
1092
- * If no value is provided, defaults to 1.
1093
- * Accepts either:
1094
- * • A fixed count, e.g. "3"
1095
- * • A percentage, e.g. "25%" (range 1–100). Percentage is of the number of clusters in the group.
1096
- * Fractional results are rounded down. A minimum of 1 upgrade is enforced.
1097
- * Examples:
1098
- * • "3" --> up to 3 members from this group upgrade at once.
1099
- * • "100%" --> “all at once”, up to all members for this group upgrade at the same time.
1100
- * • "25%" --> up to 25% of the members in the group will be upgraded at the same time.
1101
- */
1102
- maxConcurrency?: string;
1103
- /** A list of Gates that will be created before this Group is executed. */
1104
- beforeGates?: GateConfiguration[];
1105
- /** A list of Gates that will be created after this Group is executed. */
1106
- afterGates?: GateConfiguration[];
1107
- }
1108
- export declare function updateGroupSerializer(item: UpdateGroup): any;
1109
- export declare function updateGroupDeserializer(item: any): UpdateGroup;
1110
- export declare function gateConfigurationArraySerializer(result: Array<GateConfiguration>): any[];
1111
- export declare function gateConfigurationArrayDeserializer(result: Array<GateConfiguration>): any[];
1112
- /** GateConfiguration is used to define where Gates should be placed within the Update Run. */
1113
- export interface GateConfiguration {
1114
- /** The human-readable display name of the Gate. */
1115
- displayName?: string;
1116
- /** The type of the Gate determines how it is completed. */
1117
- type: GateType;
1118
- }
1119
- export declare function gateConfigurationSerializer(item: GateConfiguration): any;
1120
- export declare function gateConfigurationDeserializer(item: any): GateConfiguration;
1121
- /** The update to be applied to the ManagedClusters. */
1122
- export interface ManagedClusterUpdate {
1123
- /** The upgrade to apply to the ManagedClusters. */
1124
- upgrade: ManagedClusterUpgradeSpec;
1125
- /** The node image upgrade to be applied to the target nodes in update run. */
1126
- nodeImageSelection?: NodeImageSelection;
1127
- }
1128
- export declare function managedClusterUpdateSerializer(item: ManagedClusterUpdate): any;
1129
- export declare function managedClusterUpdateDeserializer(item: any): ManagedClusterUpdate;
1130
- /** The upgrade to apply to a ManagedCluster. */
1131
- export interface ManagedClusterUpgradeSpec {
1132
- /** ManagedClusterUpgradeType is the type of upgrade to be applied. */
1133
- type: ManagedClusterUpgradeType;
1134
- /** The Kubernetes version to upgrade the member clusters to. */
1135
- kubernetesVersion?: string;
1136
- }
1137
- export declare function managedClusterUpgradeSpecSerializer(item: ManagedClusterUpgradeSpec): any;
1138
- export declare function managedClusterUpgradeSpecDeserializer(item: any): ManagedClusterUpgradeSpec;
1139
- /** The type of upgrade to perform when targeting ManagedClusters. */
1140
- export declare enum KnownManagedClusterUpgradeType {
1141
- /** Full upgrades the control plane and all agent pools of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set. */
1142
- Full = "Full",
1143
- /** NodeImageOnly upgrades only the node images of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to NOT be set. */
1144
- NodeImageOnly = "NodeImageOnly",
1145
- /** ControlPlaneOnly upgrades only targets the KubernetesVersion of the ManagedClusters and will not be applied to the AgentPool. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set. */
1146
- ControlPlaneOnly = "ControlPlaneOnly"
1147
- }
1148
- /**
1149
- * The type of upgrade to perform when targeting ManagedClusters. \
1150
- * {@link KnownManagedClusterUpgradeType} can be used interchangeably with ManagedClusterUpgradeType,
1151
- * this enum contains the known values that the service supports.
1152
- * ### Known values supported by the service
1153
- * **Full**: Full upgrades the control plane and all agent pools of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set. \
1154
- * **NodeImageOnly**: NodeImageOnly upgrades only the node images of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to NOT be set. \
1155
- * **ControlPlaneOnly**: ControlPlaneOnly upgrades only targets the KubernetesVersion of the ManagedClusters and will not be applied to the AgentPool. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set.
1156
- */
1157
- export type ManagedClusterUpgradeType = string;
1158
- /** The node image upgrade to be applied to the target nodes in update run. */
1159
- export interface NodeImageSelection {
1160
- /** The node image upgrade type. */
1161
- type: NodeImageSelectionType;
1162
- /** Custom node image versions to upgrade the nodes to. This field is required if node image selection type is Custom. Otherwise, it must be empty. For each node image family (e.g., 'AKSUbuntu-1804gen2containerd'), this field can contain at most one version (e.g., only one of 'AKSUbuntu-1804gen2containerd-2023.01.12' or 'AKSUbuntu-1804gen2containerd-2023.02.12', not both). If the nodes belong to a family without a matching image version in this field, they are not upgraded. */
1163
- customNodeImageVersions?: NodeImageVersion[];
1164
- }
1165
- export declare function nodeImageSelectionSerializer(item: NodeImageSelection): any;
1166
- export declare function nodeImageSelectionDeserializer(item: any): NodeImageSelection;
1167
- /** The node image upgrade type. */
1168
- export declare enum KnownNodeImageSelectionType {
1169
- /** Use the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions. */
1170
- Latest = "Latest",
1171
- /** The image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'. */
1172
- Consistent = "Consistent",
1173
- /** Upgrade the nodes to the custom image versions. When set, update run will use node image versions provided in customNodeImageVersions to upgrade the nodes. If set, customNodeImageVersions must not be empty. */
1174
- Custom = "Custom"
1175
- }
1176
- /**
1177
- * The node image upgrade type. \
1178
- * {@link KnownNodeImageSelectionType} can be used interchangeably with NodeImageSelectionType,
1179
- * this enum contains the known values that the service supports.
1180
- * ### Known values supported by the service
1181
- * **Latest**: Use the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions. \
1182
- * **Consistent**: The image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'. \
1183
- * **Custom**: Upgrade the nodes to the custom image versions. When set, update run will use node image versions provided in customNodeImageVersions to upgrade the nodes. If set, customNodeImageVersions must not be empty.
1184
- */
1185
- export type NodeImageSelectionType = string;
1186
- export declare function nodeImageVersionArraySerializer(result: Array<NodeImageVersion>): any[];
1187
- export declare function nodeImageVersionArrayDeserializer(result: Array<NodeImageVersion>): any[];
1188
- /** The node upgrade image version. */
1189
- export interface NodeImageVersion {
1190
- /** The image version to upgrade the nodes to (e.g., 'AKSUbuntu-1804gen2containerd-2022.12.13'). */
1191
- readonly version?: string;
1192
- }
1193
- export declare function nodeImageVersionSerializer(item: NodeImageVersion): any;
1194
- export declare function nodeImageVersionDeserializer(item: any): NodeImageVersion;
1195
- /** The status of a UpdateRun. */
1196
- export interface UpdateRunStatus {
1197
- /** The status of the UpdateRun. */
1198
- readonly status?: UpdateStatus;
1199
- /** The stages composing an update run. Stages are run sequentially withing an UpdateRun. */
1200
- readonly stages?: UpdateStageStatus[];
1201
- /** The node image upgrade specs for the update run. It is only set in update run when `NodeImageSelection.type` is `Consistent`. */
1202
- readonly nodeImageSelection?: NodeImageSelectionStatus;
1203
- }
1204
- export declare function updateRunStatusDeserializer(item: any): UpdateRunStatus;
1205
- /** The status for an operation or group of operations. */
1206
- export interface UpdateStatus {
1207
- /** The time the operation or group was started. */
1208
- readonly startTime?: Date;
1209
- /** The time the operation or group was completed. */
1210
- readonly completedTime?: Date;
1211
- /** The State of the operation or group. */
1212
- readonly state?: UpdateState;
1213
- /** The error details when a failure is encountered. */
1214
- readonly error?: ErrorDetail;
1215
- }
1216
- export declare function updateStatusDeserializer(item: any): UpdateStatus;
1217
- /** The state of the UpdateRun, UpdateStage, UpdateGroup, or MemberUpdate. */
1218
- export declare enum KnownUpdateState {
1219
- /** The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has not been started. */
1220
- NotStarted = "NotStarted",
1221
- /** The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that is running. */
1222
- Running = "Running",
1223
- /** The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that is being stopped. */
1224
- Stopping = "Stopping",
1225
- /** The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has stopped. */
1226
- Stopped = "Stopped",
1227
- /** The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has been skipped. */
1228
- Skipped = "Skipped",
1229
- /** The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has failed. */
1230
- Failed = "Failed",
1231
- /** The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that is pending. */
1232
- Pending = "Pending",
1233
- /** The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has completed. */
1234
- Completed = "Completed"
1235
- }
1236
- /**
1237
- * The state of the UpdateRun, UpdateStage, UpdateGroup, or MemberUpdate. \
1238
- * {@link KnownUpdateState} can be used interchangeably with UpdateState,
1239
- * this enum contains the known values that the service supports.
1240
- * ### Known values supported by the service
1241
- * **NotStarted**: The state of an UpdateRun\/UpdateStage\/UpdateGroup\/MemberUpdate that has not been started. \
1242
- * **Running**: The state of an UpdateRun\/UpdateStage\/UpdateGroup\/MemberUpdate that is running. \
1243
- * **Stopping**: The state of an UpdateRun\/UpdateStage\/UpdateGroup\/MemberUpdate that is being stopped. \
1244
- * **Stopped**: The state of an UpdateRun\/UpdateStage\/UpdateGroup\/MemberUpdate that has stopped. \
1245
- * **Skipped**: The state of an UpdateRun\/UpdateStage\/UpdateGroup\/MemberUpdate that has been skipped. \
1246
- * **Failed**: The state of an UpdateRun\/UpdateStage\/UpdateGroup\/MemberUpdate that has failed. \
1247
- * **Pending**: The state of an UpdateRun\/UpdateStage\/UpdateGroup\/MemberUpdate that is pending. \
1248
- * **Completed**: The state of an UpdateRun\/UpdateStage\/UpdateGroup\/MemberUpdate that has completed.
1249
- */
1250
- export type UpdateState = string;
1251
- export declare function updateStageStatusArrayDeserializer(result: Array<UpdateStageStatus>): any[];
1252
- /** The status of a UpdateStage. */
1253
- export interface UpdateStageStatus {
1254
- /** The status of the UpdateStage. */
1255
- readonly status?: UpdateStatus;
1256
- /** The name of the UpdateStage. */
1257
- readonly name?: string;
1258
- /** The max number of upgrades that can run concurrently across all groups in this stage, resolved from the UpdateStrategy.UpdateStage.maxConcurrency value. */
1259
- readonly maxConcurrency?: number;
1260
- /** The list of groups to be updated as part of this UpdateStage. */
1261
- readonly groups?: UpdateGroupStatus[];
1262
- /** The list of Gates that will run before this UpdateStage. */
1263
- readonly beforeGates?: UpdateRunGateStatus[];
1264
- /** The list of Gates that will run after this UpdateStage. */
1265
- readonly afterGates?: UpdateRunGateStatus[];
1266
- /** The status of the wait period configured on the UpdateStage. */
1267
- readonly afterStageWaitStatus?: WaitStatus;
1268
- }
1269
- export declare function updateStageStatusDeserializer(item: any): UpdateStageStatus;
1270
- export declare function updateGroupStatusArrayDeserializer(result: Array<UpdateGroupStatus>): any[];
1271
- /** The status of a UpdateGroup. */
1272
- export interface UpdateGroupStatus {
1273
- /** The status of the UpdateGroup. */
1274
- readonly status?: UpdateStatus;
1275
- /** The name of the UpdateGroup. */
1276
- readonly name?: string;
1277
- /** The max number of upgrades that can run concurrently in this group, resolved from the UpdateStrategy.UpdateGroup.maxConcurrency value. If no value was provided, this value defaults to "1". */
1278
- readonly maxConcurrency?: number;
1279
- /** The list of member this UpdateGroup updates. */
1280
- readonly members?: MemberUpdateStatus[];
1281
- /** The list of Gates that will run before this UpdateGroup. */
1282
- readonly beforeGates?: UpdateRunGateStatus[];
1283
- /** The list of Gates that will run after this UpdateGroup. */
1284
- readonly afterGates?: UpdateRunGateStatus[];
1285
- }
1286
- export declare function updateGroupStatusDeserializer(item: any): UpdateGroupStatus;
1287
- export declare function memberUpdateStatusArrayDeserializer(result: Array<MemberUpdateStatus>): any[];
1288
- /** The status of a member update operation. */
1289
- export interface MemberUpdateStatus {
1290
- /** The status of the MemberUpdate operation. */
1291
- readonly status?: UpdateStatus;
1292
- /** The name of the FleetMember. */
1293
- readonly name?: string;
1294
- /** The Azure resource id of the target Kubernetes cluster. */
1295
- readonly clusterResourceId?: string;
1296
- /** The operation resource id of the latest attempt to perform the operation. */
1297
- readonly operationId?: string;
1298
- /** The status message after processing the member update operation. */
1299
- readonly message?: string;
1300
- }
1301
- export declare function memberUpdateStatusDeserializer(item: any): MemberUpdateStatus;
1302
- export declare function updateRunGateStatusArrayDeserializer(result: Array<UpdateRunGateStatus>): any[];
1303
- /** The status of the Gate, as represented in the Update Run. */
1304
- export interface UpdateRunGateStatus {
1305
- /** The human-readable display name of the Gate. */
1306
- readonly displayName?: string;
1307
- /** The resource id of the Gate. */
1308
- readonly gateId?: string;
1309
- /** The status of the Gate. */
1310
- readonly status?: UpdateStatus;
1311
- }
1312
- export declare function updateRunGateStatusDeserializer(item: any): UpdateRunGateStatus;
1313
- /** The status of the wait duration. */
1314
- export interface WaitStatus {
1315
- /** The status of the wait duration. */
1316
- readonly status?: UpdateStatus;
1317
- /** The wait duration configured in seconds. */
1318
- readonly waitDurationInSeconds?: number;
1319
- }
1320
- export declare function waitStatusDeserializer(item: any): WaitStatus;
1321
- /** The node image upgrade specs for the update run. */
1322
- export interface NodeImageSelectionStatus {
1323
- /** The image versions to upgrade the nodes to. */
1324
- readonly selectedNodeImageVersions?: NodeImageVersion[];
1325
- }
1326
- export declare function nodeImageSelectionStatusDeserializer(item: any): NodeImageSelectionStatus;
1327
- /** The response of a UpdateRun list operation. */
1328
- export interface _UpdateRunListResult {
1329
- /** The UpdateRun items on this page */
1330
- value: UpdateRun[];
1331
- /** The link to the next page of items */
1332
- nextLink?: string;
1333
- }
1334
- export declare function _updateRunListResultDeserializer(item: any): _UpdateRunListResult;
1335
- export declare function updateRunArraySerializer(result: Array<UpdateRun>): any[];
1336
- export declare function updateRunArrayDeserializer(result: Array<UpdateRun>): any[];
1337
- /** The properties of a skip operation containing multiple skip requests. */
1338
- export interface SkipProperties {
1339
- /** The targets to skip. */
1340
- targets: SkipTarget[];
1341
- }
1342
- export declare function skipPropertiesSerializer(item: SkipProperties): any;
1343
- export declare function skipTargetArraySerializer(result: Array<SkipTarget>): any[];
1344
- /** The definition of a single skip request. */
1345
- export interface SkipTarget {
1346
- /** The skip target type. */
1347
- type: TargetType;
1348
- /**
1349
- * The skip target's name.
1350
- * To skip a member/group/stage, use the member/group/stage's name;
1351
- * Tp skip an after stage wait, use the parent stage's name.
1352
- */
1353
- name: string;
1354
- }
1355
- export declare function skipTargetSerializer(item: SkipTarget): any;
1356
- /** The target type of a skip request. */
1357
- export declare enum KnownTargetType {
1358
- /** Skip the update of a member. */
1359
- Member = "Member",
1360
- /** Skip the update of a group. */
1361
- Group = "Group",
1362
- /** Skip the update of an entire stage including the after stage wait. */
1363
- Stage = "Stage",
1364
- /** Skip the update of the after stage wait of a certain stage. */
1365
- AfterStageWait = "AfterStageWait"
1366
- }
1367
- /**
1368
- * The target type of a skip request. \
1369
- * {@link KnownTargetType} can be used interchangeably with TargetType,
1370
- * this enum contains the known values that the service supports.
1371
- * ### Known values supported by the service
1372
- * **Member**: Skip the update of a member. \
1373
- * **Group**: Skip the update of a group. \
1374
- * **Stage**: Skip the update of an entire stage including the after stage wait. \
1375
- * **AfterStageWait**: Skip the update of the after stage wait of a certain stage.
1376
- */
1377
- export type TargetType = string;
1378
- /** Defines a multi-stage process to perform update operations across members of a Fleet. */
1379
- export interface FleetUpdateStrategy extends ProxyResource {
1380
- /** The resource-specific properties for this resource. */
1381
- properties?: FleetUpdateStrategyProperties;
1382
- /** If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. */
1383
- readonly eTag?: string;
1384
- }
1385
- export declare function fleetUpdateStrategySerializer(item: FleetUpdateStrategy): any;
1386
- export declare function fleetUpdateStrategyDeserializer(item: any): FleetUpdateStrategy;
1387
- /** The properties of the UpdateStrategy. */
1388
- export interface FleetUpdateStrategyProperties {
1389
- /** The provisioning state of the UpdateStrategy resource. */
1390
- readonly provisioningState?: FleetUpdateStrategyProvisioningState;
1391
- /** Defines the update sequence of the clusters. */
1392
- strategy: UpdateRunStrategy;
1393
- }
1394
- export declare function fleetUpdateStrategyPropertiesSerializer(item: FleetUpdateStrategyProperties): any;
1395
- export declare function fleetUpdateStrategyPropertiesDeserializer(item: any): FleetUpdateStrategyProperties;
1396
- /** The provisioning state of the UpdateStrategy resource. */
1397
- export declare enum KnownFleetUpdateStrategyProvisioningState {
1398
- /** Resource has been created. */
1399
- Succeeded = "Succeeded",
1400
- /** Resource creation failed. */
1401
- Failed = "Failed",
1402
- /** Resource creation was canceled. */
1403
- Canceled = "Canceled"
1404
- }
1405
- /**
1406
- * The provisioning state of the UpdateStrategy resource. \
1407
- * {@link KnownFleetUpdateStrategyProvisioningState} can be used interchangeably with FleetUpdateStrategyProvisioningState,
1408
- * this enum contains the known values that the service supports.
1409
- * ### Known values supported by the service
1410
- * **Succeeded**: Resource has been created. \
1411
- * **Failed**: Resource creation failed. \
1412
- * **Canceled**: Resource creation was canceled.
1413
- */
1414
- export type FleetUpdateStrategyProvisioningState = string;
1415
- /** The response of a FleetUpdateStrategy list operation. */
1416
- export interface _FleetUpdateStrategyListResult {
1417
- /** The FleetUpdateStrategy items on this page */
1418
- value: FleetUpdateStrategy[];
1419
- /** The link to the next page of items */
1420
- nextLink?: string;
1421
- }
1422
- export declare function _fleetUpdateStrategyListResultDeserializer(item: any): _FleetUpdateStrategyListResult;
1423
- export declare function fleetUpdateStrategyArraySerializer(result: Array<FleetUpdateStrategy>): any[];
1424
- export declare function fleetUpdateStrategyArrayDeserializer(result: Array<FleetUpdateStrategy>): any[];
1425
- /** The AutoUpgradeProfile resource. */
1426
- export interface AutoUpgradeProfile extends ProxyResource {
1427
- /** The resource-specific properties for this resource. */
1428
- properties?: AutoUpgradeProfileProperties;
1429
- /** If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. */
1430
- readonly eTag?: string;
1431
- }
1432
- export declare function autoUpgradeProfileSerializer(item: AutoUpgradeProfile): any;
1433
- export declare function autoUpgradeProfileDeserializer(item: any): AutoUpgradeProfile;
1434
- /** The properties of the AutoUpgradeProfile. */
1435
- export interface AutoUpgradeProfileProperties {
1436
- /** The provisioning state of the AutoUpgradeProfile resource. */
1437
- readonly provisioningState?: AutoUpgradeProfileProvisioningState;
1438
- /** The resource id of the UpdateStrategy resource to reference. If not specified, the auto upgrade will run on all clusters which are members of the fleet. */
1439
- updateStrategyId?: string;
1440
- /** Configures how auto-upgrade will be run. */
1441
- channel: UpgradeChannel;
1442
- /** The node image upgrade to be applied to the target clusters in auto upgrade. */
1443
- nodeImageSelection?: AutoUpgradeNodeImageSelection;
1444
- /**
1445
- * If set to False: the auto upgrade has effect - target managed clusters will be upgraded on schedule.
1446
- * If set to True: the auto upgrade has no effect - no upgrade will be run on the target managed clusters.
1447
- * This is a boolean and not an enum because enabled/disabled are all available states of the auto upgrade profile.
1448
- * By default, this is set to False.
1449
- */
1450
- disabled?: boolean;
1451
- /** The status of the auto upgrade profile. */
1452
- autoUpgradeProfileStatus?: AutoUpgradeProfileStatus;
1453
- /**
1454
- * This is the target Kubernetes version for auto-upgrade. The format must be `{major version}.{minor version}`. For example, "1.30".
1455
- * By default, this is empty.
1456
- * If upgrade channel is set to TargetKubernetesVersion, this field must not be empty.
1457
- * If upgrade channel is Rapid, Stable or NodeImage, this field must be empty.
1458
- */
1459
- targetKubernetesVersion?: string;
1460
- /**
1461
- * If upgrade channel is not TargetKubernetesVersion, this field must be False.
1462
- * If set to True: Fleet auto upgrade will continue generate update runs for patches of minor versions earlier than N-2
1463
- * (where N is the latest supported minor version) if those minor versions support Long-Term Support (LTS).
1464
- * By default, this is set to False.
1465
- * For more information on AKS LTS, please see https://learn.microsoft.com/en-us/azure/aks/long-term-support
1466
- */
1467
- longTermSupport?: boolean;
1468
- }
1469
- export declare function autoUpgradeProfilePropertiesSerializer(item: AutoUpgradeProfileProperties): any;
1470
- export declare function autoUpgradeProfilePropertiesDeserializer(item: any): AutoUpgradeProfileProperties;
1471
- /** The provisioning state of the AutoUpgradeProfile resource. */
1472
- export declare enum KnownAutoUpgradeProfileProvisioningState {
1473
- /** Resource has been created. */
1474
- Succeeded = "Succeeded",
1475
- /** Resource creation failed. */
1476
- Failed = "Failed",
1477
- /** Resource creation was canceled. */
1478
- Canceled = "Canceled"
1479
- }
1480
- /**
1481
- * The provisioning state of the AutoUpgradeProfile resource. \
1482
- * {@link KnownAutoUpgradeProfileProvisioningState} can be used interchangeably with AutoUpgradeProfileProvisioningState,
1483
- * this enum contains the known values that the service supports.
1484
- * ### Known values supported by the service
1485
- * **Succeeded**: Resource has been created. \
1486
- * **Failed**: Resource creation failed. \
1487
- * **Canceled**: Resource creation was canceled.
1488
- */
1489
- export type AutoUpgradeProfileProvisioningState = string;
1490
- /** Configuration of how auto upgrade will be run. */
1491
- export declare enum KnownUpgradeChannel {
1492
- /**
1493
- * Upgrades the clusters kubernetes version to the latest supported patch release on minor version N-1, where N is the latest supported minor version.
1494
- * For example, if a cluster runs version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, the cluster upgrades to 1.18.6.
1495
- */
1496
- Stable = "Stable",
1497
- /** Upgrades the clusters kubernetes version to the latest supported patch release on the latest supported minor version. */
1498
- Rapid = "Rapid",
1499
- /** Upgrade node image version of the clusters. */
1500
- NodeImage = "NodeImage",
1501
- /**
1502
- * Upgrades the clusters Kubernetes version to the latest supported patch version of the specified target Kubernetes version.
1503
- * For information on the behavior of update run for Kubernetes version upgrade,
1504
- * see https://learn.microsoft.com/en-us/azure/kubernetes-fleet/update-orchestration?tabs=azure-portal
1505
- */
1506
- TargetKubernetesVersion = "TargetKubernetesVersion"
1507
- }
1508
- /**
1509
- * Configuration of how auto upgrade will be run. \
1510
- * {@link KnownUpgradeChannel} can be used interchangeably with UpgradeChannel,
1511
- * this enum contains the known values that the service supports.
1512
- * ### Known values supported by the service
1513
- * **Stable**: Upgrades the clusters kubernetes version to the latest supported patch release on minor version N-1, where N is the latest supported minor version.
1514
- * For example, if a cluster runs version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, the cluster upgrades to 1.18.6. \
1515
- * **Rapid**: Upgrades the clusters kubernetes version to the latest supported patch release on the latest supported minor version. \
1516
- * **NodeImage**: Upgrade node image version of the clusters. \
1517
- * **TargetKubernetesVersion**: Upgrades the clusters Kubernetes version to the latest supported patch version of the specified target Kubernetes version.
1518
- * For information on the behavior of update run for Kubernetes version upgrade,
1519
- * see https:\//learn.microsoft.com\/en-us\/azure\/kubernetes-fleet\/update-orchestration?tabs=azure-portal
1520
- */
1521
- export type UpgradeChannel = string;
1522
- /** The node image upgrade to be applied to the target clusters in auto upgrade. */
1523
- export interface AutoUpgradeNodeImageSelection {
1524
- /** The node image upgrade type. */
1525
- type: AutoUpgradeNodeImageSelectionType;
1526
- }
1527
- export declare function autoUpgradeNodeImageSelectionSerializer(item: AutoUpgradeNodeImageSelection): any;
1528
- export declare function autoUpgradeNodeImageSelectionDeserializer(item: any): AutoUpgradeNodeImageSelection;
1529
- /** The node image upgrade type. */
1530
- export declare enum KnownAutoUpgradeNodeImageSelectionType {
1531
- /** Use the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions. */
1532
- Latest = "Latest",
1533
- /** The image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'. */
1534
- Consistent = "Consistent"
1535
- }
1536
- /**
1537
- * The node image upgrade type. \
1538
- * {@link KnownAutoUpgradeNodeImageSelectionType} can be used interchangeably with AutoUpgradeNodeImageSelectionType,
1539
- * this enum contains the known values that the service supports.
1540
- * ### Known values supported by the service
1541
- * **Latest**: Use the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions. \
1542
- * **Consistent**: The image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'.
1543
- */
1544
- export type AutoUpgradeNodeImageSelectionType = string;
1545
- /** AutoUpgradeProfileStatus is the status of an auto upgrade profile. */
1546
- export interface AutoUpgradeProfileStatus {
1547
- /** The UTC time of the last attempt to automatically create and start an UpdateRun as triggered by the release of new versions. */
1548
- readonly lastTriggeredAt?: Date;
1549
- /** The status of the last AutoUpgrade trigger. */
1550
- readonly lastTriggerStatus?: AutoUpgradeLastTriggerStatus;
1551
- /** The error details of the last trigger. */
1552
- readonly lastTriggerError?: ErrorDetail;
1553
- /** The target Kubernetes version or node image versions of the last trigger. */
1554
- readonly lastTriggerUpgradeVersions?: string[];
1555
- }
1556
- export declare function autoUpgradeProfileStatusSerializer(item: AutoUpgradeProfileStatus): any;
1557
- export declare function autoUpgradeProfileStatusDeserializer(item: any): AutoUpgradeProfileStatus;
1558
- /** AutoUpgradeLastTriggerStatus is the status of the last AutoUpgrade trigger (attempt to automatically create and start UpdateRun when there are new released versions) of an auto upgrade profile. */
1559
- export declare enum KnownAutoUpgradeLastTriggerStatus {
1560
- /** The last AutoUpgrade trigger was succeeded. */
1561
- Succeeded = "Succeeded",
1562
- /** The last AutoUpgrade trigger failed. */
1563
- Failed = "Failed"
1564
- }
1565
- /**
1566
- * AutoUpgradeLastTriggerStatus is the status of the last AutoUpgrade trigger (attempt to automatically create and start UpdateRun when there are new released versions) of an auto upgrade profile. \
1567
- * {@link KnownAutoUpgradeLastTriggerStatus} can be used interchangeably with AutoUpgradeLastTriggerStatus,
1568
- * this enum contains the known values that the service supports.
1569
- * ### Known values supported by the service
1570
- * **Succeeded**: The last AutoUpgrade trigger was succeeded. \
1571
- * **Failed**: The last AutoUpgrade trigger failed.
1572
- */
1573
- export type AutoUpgradeLastTriggerStatus = string;
1574
- /** The response of a AutoUpgradeProfile list operation. */
1575
- export interface _AutoUpgradeProfileListResult {
1576
- /** The AutoUpgradeProfile items on this page */
1577
- value: AutoUpgradeProfile[];
1578
- /** The link to the next page of items */
1579
- nextLink?: string;
1580
- }
1581
- export declare function _autoUpgradeProfileListResultDeserializer(item: any): _AutoUpgradeProfileListResult;
1582
- export declare function autoUpgradeProfileArraySerializer(result: Array<AutoUpgradeProfile>): any[];
1583
- export declare function autoUpgradeProfileArrayDeserializer(result: Array<AutoUpgradeProfile>): any[];
1584
- /** GenerateResponse is the response of a generate request. */
1585
- export interface GenerateResponse {
1586
- /** The ARM resource id of the generated UpdateRun. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}'. */
1587
- readonly id: string;
1588
- }
1589
- export declare function generateResponseDeserializer(item: any): GenerateResponse;
1590
- /** Azure Kubernetes Fleet Manager api versions. */
1591
- export declare enum KnownVersions {
1592
- /** Azure Kubernetes Fleet Manager api version 2022-09-02-preview. */
1593
- V20220902Preview = "2022-09-02-preview",
1594
- /** Azure Kubernetes Fleet Manager api version 2023-03-15-preview. */
1595
- V20230315Preview = "2023-03-15-preview",
1596
- /** Azure Kubernetes Fleet Manager api version 2023-06-15-preview. */
1597
- V20230615Preview = "2023-06-15-preview",
1598
- /** Azure Kubernetes Fleet Manager api version 2023-08-15-preview. */
1599
- V20230815Preview = "2023-08-15-preview",
1600
- /** Azure Kubernetes Fleet Manager api version 2023-10-15. */
1601
- V20231015 = "2023-10-15",
1602
- /** Azure Kubernetes Fleet Manager api version 2024-02-02-preview. */
1603
- V20240202Preview = "2024-02-02-preview",
1604
- /** Azure Kubernetes Fleet Manager api version 2024-04-01. */
1605
- V20240401 = "2024-04-01",
1606
- /** Azure Kubernetes Fleet Manager api version 2024-05-02-preview. */
1607
- V20240502Preview = "2024-05-02-preview",
1608
- /** Azure Kubernetes Fleet Manager api version 2025-03-01. */
1609
- V20250301 = "2025-03-01",
1610
- /** Azure Kubernetes Fleet Manager api version 2025-04-01-preview. */
1611
- V20250401Preview = "2025-04-01-preview",
1612
- /** Azure Kubernetes Fleet Manager api version 2025-08-01-preview. */
1613
- V20250801Preview = "2025-08-01-preview",
1614
- /** Azure Kubernetes Fleet Manager api version 2026-02-01-preview. */
1615
- V20260201Preview = "2026-02-01-preview"
1616
- }
1617
- export declare function _fleetManagedNamespacePropertiesSerializer(item: FleetManagedNamespace): any;
1618
- export declare function _fleetManagedNamespacePropertiesDeserializer(item: any): {
1619
- provisioningState: any;
1620
- managedNamespaceProperties: any;
1621
- adoptionPolicy: any;
1622
- deletePolicy: any;
1623
- propagationPolicy: any;
1624
- status: any;
1625
- portalFqdn: any;
1626
- };
1627
- //# sourceMappingURL=models.d.ts.map