@azure/arm-containerservice 25.0.0 → 25.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (811) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/api/agentPools/index.d.ts +2 -2
  3. package/dist/browser/api/agentPools/index.js +1 -1
  4. package/dist/browser/api/agentPools/index.js.map +1 -1
  5. package/dist/browser/api/agentPools/operations.d.ts +5 -1
  6. package/dist/browser/api/agentPools/operations.js +50 -15
  7. package/dist/browser/api/agentPools/operations.js.map +1 -1
  8. package/dist/browser/api/agentPools/options.d.ts +5 -0
  9. package/dist/browser/api/agentPools/options.js.map +1 -1
  10. package/dist/browser/api/containerService/index.d.ts +3 -0
  11. package/dist/browser/api/containerService/index.js +4 -0
  12. package/dist/browser/api/containerService/index.js.map +1 -0
  13. package/dist/browser/api/containerService/operations.d.ts +10 -0
  14. package/dist/browser/api/containerService/operations.js +37 -0
  15. package/dist/browser/api/containerService/operations.js.map +1 -0
  16. package/dist/browser/api/containerService/options.d.ts +5 -0
  17. package/dist/browser/api/containerService/options.js +4 -0
  18. package/dist/browser/api/containerService/options.js.map +1 -0
  19. package/dist/browser/api/containerServiceContext.js +1 -1
  20. package/dist/browser/api/containerServiceContext.js.map +1 -1
  21. package/dist/browser/api/identityBindings/index.d.ts +3 -0
  22. package/dist/browser/api/identityBindings/index.js +4 -0
  23. package/dist/browser/api/identityBindings/index.js.map +1 -0
  24. package/dist/browser/api/identityBindings/operations.d.ts +28 -0
  25. package/dist/browser/api/identityBindings/operations.js +140 -0
  26. package/dist/browser/api/identityBindings/operations.js.map +1 -0
  27. package/dist/browser/api/identityBindings/options.d.ts +18 -0
  28. package/dist/browser/api/identityBindings/options.js +4 -0
  29. package/dist/browser/api/identityBindings/options.js.map +1 -0
  30. package/dist/browser/api/jwtAuthenticators/index.d.ts +3 -0
  31. package/dist/browser/api/jwtAuthenticators/index.js +4 -0
  32. package/dist/browser/api/jwtAuthenticators/index.js.map +1 -0
  33. package/dist/browser/api/jwtAuthenticators/operations.d.ts +28 -0
  34. package/dist/browser/api/jwtAuthenticators/operations.js +140 -0
  35. package/dist/browser/api/jwtAuthenticators/operations.js.map +1 -0
  36. package/dist/browser/api/jwtAuthenticators/options.d.ts +18 -0
  37. package/dist/browser/api/jwtAuthenticators/options.js +4 -0
  38. package/dist/browser/api/jwtAuthenticators/options.js.map +1 -0
  39. package/dist/browser/api/loadBalancers/index.d.ts +3 -0
  40. package/dist/browser/api/loadBalancers/index.js +4 -0
  41. package/dist/browser/api/loadBalancers/index.js.map +1 -0
  42. package/dist/browser/api/loadBalancers/operations.d.ts +28 -0
  43. package/dist/browser/api/loadBalancers/operations.js +135 -0
  44. package/dist/browser/api/loadBalancers/operations.js.map +1 -0
  45. package/dist/browser/api/loadBalancers/options.d.ts +16 -0
  46. package/dist/browser/api/loadBalancers/options.js +4 -0
  47. package/dist/browser/api/loadBalancers/options.js.map +1 -0
  48. package/dist/browser/api/machines/index.d.ts +2 -2
  49. package/dist/browser/api/machines/index.js +1 -1
  50. package/dist/browser/api/machines/index.js.map +1 -1
  51. package/dist/browser/api/machines/operations.d.ts +6 -1
  52. package/dist/browser/api/machines/operations.js +51 -4
  53. package/dist/browser/api/machines/operations.js.map +1 -1
  54. package/dist/browser/api/machines/options.d.ts +9 -0
  55. package/dist/browser/api/machines/options.js.map +1 -1
  56. package/dist/browser/api/maintenanceConfigurations/operations.js +9 -5
  57. package/dist/browser/api/maintenanceConfigurations/operations.js.map +1 -1
  58. package/dist/browser/api/managedClusterSnapshots/index.d.ts +3 -0
  59. package/dist/browser/api/managedClusterSnapshots/index.js +4 -0
  60. package/dist/browser/api/managedClusterSnapshots/index.js.map +1 -0
  61. package/dist/browser/api/managedClusterSnapshots/operations.d.ts +35 -0
  62. package/dist/browser/api/managedClusterSnapshots/operations.js +184 -0
  63. package/dist/browser/api/managedClusterSnapshots/operations.js.map +1 -0
  64. package/dist/browser/api/managedClusterSnapshots/options.d.ts +20 -0
  65. package/dist/browser/api/managedClusterSnapshots/options.js +4 -0
  66. package/dist/browser/api/managedClusterSnapshots/options.js.map +1 -0
  67. package/dist/browser/api/managedClusters/index.d.ts +2 -2
  68. package/dist/browser/api/managedClusters/index.js +1 -1
  69. package/dist/browser/api/managedClusters/index.js.map +1 -1
  70. package/dist/browser/api/managedClusters/operations.d.ts +22 -2
  71. package/dist/browser/api/managedClusters/operations.js +215 -44
  72. package/dist/browser/api/managedClusters/operations.js.map +1 -1
  73. package/dist/browser/api/managedClusters/options.d.ts +19 -0
  74. package/dist/browser/api/managedClusters/options.js.map +1 -1
  75. package/dist/browser/api/managedNamespaces/operations.js +13 -9
  76. package/dist/browser/api/managedNamespaces/operations.js.map +1 -1
  77. package/dist/browser/api/meshMemberships/index.d.ts +3 -0
  78. package/dist/browser/api/meshMemberships/index.js +4 -0
  79. package/dist/browser/api/meshMemberships/index.js.map +1 -0
  80. package/dist/browser/api/meshMemberships/operations.d.ts +28 -0
  81. package/dist/browser/api/meshMemberships/operations.js +140 -0
  82. package/dist/browser/api/meshMemberships/operations.js.map +1 -0
  83. package/dist/browser/api/meshMemberships/options.d.ts +18 -0
  84. package/dist/browser/api/meshMemberships/options.js +4 -0
  85. package/dist/browser/api/meshMemberships/options.js.map +1 -0
  86. package/dist/browser/api/operationStatusResult/index.d.ts +3 -0
  87. package/dist/browser/api/operationStatusResult/index.js +4 -0
  88. package/dist/browser/api/operationStatusResult/index.js.map +1 -0
  89. package/dist/browser/api/operationStatusResult/operations.d.ts +18 -0
  90. package/dist/browser/api/operationStatusResult/operations.js +97 -0
  91. package/dist/browser/api/operationStatusResult/operations.js.map +1 -0
  92. package/dist/browser/api/operationStatusResult/options.d.ts +11 -0
  93. package/dist/browser/api/operationStatusResult/options.js +4 -0
  94. package/dist/browser/api/operationStatusResult/options.js.map +1 -0
  95. package/dist/browser/api/operations/operations.js +6 -2
  96. package/dist/browser/api/operations/operations.js.map +1 -1
  97. package/dist/browser/api/privateEndpointConnections/operations.js +5 -5
  98. package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
  99. package/dist/browser/api/privateLinkResources/operations.js +1 -1
  100. package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
  101. package/dist/browser/api/resolvePrivateLinkServiceId/operations.js +1 -1
  102. package/dist/browser/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
  103. package/dist/browser/api/snapshots/operations.js +16 -8
  104. package/dist/browser/api/snapshots/operations.js.map +1 -1
  105. package/dist/browser/api/trustedAccessRoleBindings/operations.js +11 -7
  106. package/dist/browser/api/trustedAccessRoleBindings/operations.js.map +1 -1
  107. package/dist/browser/api/trustedAccessRoles/operations.js +6 -2
  108. package/dist/browser/api/trustedAccessRoles/operations.js.map +1 -1
  109. package/dist/browser/api/vmSkus/index.d.ts +3 -0
  110. package/dist/browser/api/vmSkus/index.js +4 -0
  111. package/dist/browser/api/vmSkus/index.js.map +1 -0
  112. package/dist/browser/api/vmSkus/operations.d.ts +10 -0
  113. package/dist/browser/api/vmSkus/operations.js +38 -0
  114. package/dist/browser/api/vmSkus/operations.js.map +1 -0
  115. package/dist/browser/api/vmSkus/options.d.ts +7 -0
  116. package/dist/browser/api/vmSkus/options.js +4 -0
  117. package/dist/browser/api/vmSkus/options.js.map +1 -0
  118. package/dist/browser/classic/agentPools/index.d.ts +7 -1
  119. package/dist/browser/classic/agentPools/index.js +10 -1
  120. package/dist/browser/classic/agentPools/index.js.map +1 -1
  121. package/dist/browser/classic/containerService/index.d.ts +11 -0
  122. package/dist/browser/classic/containerService/index.js +14 -0
  123. package/dist/browser/classic/containerService/index.js.map +1 -0
  124. package/dist/browser/classic/identityBindings/index.d.ts +32 -0
  125. package/dist/browser/classic/identityBindings/index.js +34 -0
  126. package/dist/browser/classic/identityBindings/index.js.map +1 -0
  127. package/dist/browser/classic/index.d.ts +8 -0
  128. package/dist/browser/classic/index.js.map +1 -1
  129. package/dist/browser/classic/jwtAuthenticators/index.d.ts +32 -0
  130. package/dist/browser/classic/jwtAuthenticators/index.js +34 -0
  131. package/dist/browser/classic/jwtAuthenticators/index.js.map +1 -0
  132. package/dist/browser/classic/loadBalancers/index.d.ts +28 -0
  133. package/dist/browser/classic/loadBalancers/index.js +26 -0
  134. package/dist/browser/classic/loadBalancers/index.js.map +1 -0
  135. package/dist/browser/classic/machines/index.d.ts +9 -1
  136. package/dist/browser/classic/machines/index.js +11 -1
  137. package/dist/browser/classic/machines/index.js.map +1 -1
  138. package/dist/browser/classic/managedClusterSnapshots/index.d.ts +26 -0
  139. package/dist/browser/classic/managedClusterSnapshots/index.js +19 -0
  140. package/dist/browser/classic/managedClusterSnapshots/index.js.map +1 -0
  141. package/dist/browser/classic/managedClusters/index.d.ts +16 -2
  142. package/dist/browser/classic/managedClusters/index.js +14 -1
  143. package/dist/browser/classic/managedClusters/index.js.map +1 -1
  144. package/dist/browser/classic/meshMemberships/index.d.ts +32 -0
  145. package/dist/browser/classic/meshMemberships/index.js +34 -0
  146. package/dist/browser/classic/meshMemberships/index.js.map +1 -0
  147. package/dist/browser/classic/operationStatusResult/index.d.ts +15 -0
  148. package/dist/browser/classic/operationStatusResult/index.js +16 -0
  149. package/dist/browser/classic/operationStatusResult/index.js.map +1 -0
  150. package/dist/browser/classic/vmSkus/index.d.ts +11 -0
  151. package/dist/browser/classic/vmSkus/index.js +14 -0
  152. package/dist/browser/classic/vmSkus/index.js.map +1 -0
  153. package/dist/browser/containerServiceClient.d.ts +24 -0
  154. package/dist/browser/containerServiceClient.js +32 -0
  155. package/dist/browser/containerServiceClient.js.map +1 -1
  156. package/dist/browser/index.d.ts +14 -6
  157. package/dist/browser/index.js +1 -1
  158. package/dist/browser/index.js.map +1 -1
  159. package/dist/browser/models/index.d.ts +2 -2
  160. package/dist/browser/models/index.js +1 -1
  161. package/dist/browser/models/index.js.map +1 -1
  162. package/dist/browser/models/models.d.ts +1611 -9
  163. package/dist/browser/models/models.js +1996 -8
  164. package/dist/browser/models/models.js.map +1 -1
  165. package/dist/browser/restorePollerHelpers.js +35 -5
  166. package/dist/browser/restorePollerHelpers.js.map +1 -1
  167. package/dist/commonjs/api/agentPools/index.d.ts +2 -2
  168. package/dist/commonjs/api/agentPools/index.js +3 -0
  169. package/dist/commonjs/api/agentPools/index.js.map +3 -3
  170. package/dist/commonjs/api/agentPools/operations.d.ts +5 -1
  171. package/dist/commonjs/api/agentPools/operations.js +60 -15
  172. package/dist/commonjs/api/agentPools/operations.js.map +3 -3
  173. package/dist/commonjs/api/agentPools/options.d.ts +5 -0
  174. package/dist/commonjs/api/agentPools/options.js +1 -0
  175. package/dist/commonjs/api/agentPools/options.js.map +2 -2
  176. package/dist/commonjs/api/containerService/index.d.ts +3 -0
  177. package/dist/commonjs/api/containerService/index.js +28 -0
  178. package/dist/commonjs/api/containerService/index.js.map +7 -0
  179. package/dist/commonjs/api/containerService/operations.d.ts +10 -0
  180. package/dist/commonjs/api/containerService/operations.js +74 -0
  181. package/dist/commonjs/api/containerService/operations.js.map +7 -0
  182. package/dist/commonjs/api/containerService/options.d.ts +5 -0
  183. package/dist/commonjs/api/containerService/options.js +16 -0
  184. package/dist/commonjs/api/containerService/options.js.map +7 -0
  185. package/dist/commonjs/api/containerServiceContext.js +2 -1
  186. package/dist/commonjs/api/containerServiceContext.js.map +2 -2
  187. package/dist/commonjs/api/identityBindings/index.d.ts +3 -0
  188. package/dist/commonjs/api/identityBindings/index.js +34 -0
  189. package/dist/commonjs/api/identityBindings/index.js.map +7 -0
  190. package/dist/commonjs/api/identityBindings/operations.d.ts +28 -0
  191. package/dist/commonjs/api/identityBindings/operations.js +212 -0
  192. package/dist/commonjs/api/identityBindings/operations.js.map +7 -0
  193. package/dist/commonjs/api/identityBindings/options.d.ts +18 -0
  194. package/dist/commonjs/api/identityBindings/options.js +16 -0
  195. package/dist/commonjs/api/identityBindings/options.js.map +7 -0
  196. package/dist/commonjs/api/index.js +1 -0
  197. package/dist/commonjs/api/index.js.map +1 -1
  198. package/dist/commonjs/api/jwtAuthenticators/index.d.ts +3 -0
  199. package/dist/commonjs/api/jwtAuthenticators/index.js +34 -0
  200. package/dist/commonjs/api/jwtAuthenticators/index.js.map +7 -0
  201. package/dist/commonjs/api/jwtAuthenticators/operations.d.ts +28 -0
  202. package/dist/commonjs/api/jwtAuthenticators/operations.js +212 -0
  203. package/dist/commonjs/api/jwtAuthenticators/operations.js.map +7 -0
  204. package/dist/commonjs/api/jwtAuthenticators/options.d.ts +18 -0
  205. package/dist/commonjs/api/jwtAuthenticators/options.js +16 -0
  206. package/dist/commonjs/api/jwtAuthenticators/options.js.map +7 -0
  207. package/dist/commonjs/api/loadBalancers/index.d.ts +3 -0
  208. package/dist/commonjs/api/loadBalancers/index.js +34 -0
  209. package/dist/commonjs/api/loadBalancers/index.js.map +7 -0
  210. package/dist/commonjs/api/loadBalancers/operations.d.ts +28 -0
  211. package/dist/commonjs/api/loadBalancers/operations.js +207 -0
  212. package/dist/commonjs/api/loadBalancers/operations.js.map +7 -0
  213. package/dist/commonjs/api/loadBalancers/options.d.ts +16 -0
  214. package/dist/commonjs/api/loadBalancers/options.js +16 -0
  215. package/dist/commonjs/api/loadBalancers/options.js.map +7 -0
  216. package/dist/commonjs/api/machines/index.d.ts +2 -2
  217. package/dist/commonjs/api/machines/index.js +3 -0
  218. package/dist/commonjs/api/machines/index.js.map +3 -3
  219. package/dist/commonjs/api/machines/operations.d.ts +6 -1
  220. package/dist/commonjs/api/machines/operations.js +68 -3
  221. package/dist/commonjs/api/machines/operations.js.map +3 -3
  222. package/dist/commonjs/api/machines/options.d.ts +9 -0
  223. package/dist/commonjs/api/machines/options.js +1 -0
  224. package/dist/commonjs/api/machines/options.js.map +2 -2
  225. package/dist/commonjs/api/maintenanceConfigurations/index.js +1 -0
  226. package/dist/commonjs/api/maintenanceConfigurations/index.js.map +1 -1
  227. package/dist/commonjs/api/maintenanceConfigurations/operations.js +10 -5
  228. package/dist/commonjs/api/maintenanceConfigurations/operations.js.map +3 -3
  229. package/dist/commonjs/api/maintenanceConfigurations/options.js +1 -0
  230. package/dist/commonjs/api/maintenanceConfigurations/options.js.map +1 -1
  231. package/dist/commonjs/api/managedClusterSnapshots/index.d.ts +3 -0
  232. package/dist/commonjs/api/managedClusterSnapshots/index.js +38 -0
  233. package/dist/commonjs/api/managedClusterSnapshots/index.js.map +7 -0
  234. package/dist/commonjs/api/managedClusterSnapshots/operations.d.ts +35 -0
  235. package/dist/commonjs/api/managedClusterSnapshots/operations.js +279 -0
  236. package/dist/commonjs/api/managedClusterSnapshots/operations.js.map +7 -0
  237. package/dist/commonjs/api/managedClusterSnapshots/options.d.ts +20 -0
  238. package/dist/commonjs/api/managedClusterSnapshots/options.js +16 -0
  239. package/dist/commonjs/api/managedClusterSnapshots/options.js.map +7 -0
  240. package/dist/commonjs/api/managedClusters/index.d.ts +2 -2
  241. package/dist/commonjs/api/managedClusters/index.js +11 -0
  242. package/dist/commonjs/api/managedClusters/index.js.map +3 -3
  243. package/dist/commonjs/api/managedClusters/operations.d.ts +22 -2
  244. package/dist/commonjs/api/managedClusters/operations.js +277 -43
  245. package/dist/commonjs/api/managedClusters/operations.js.map +3 -3
  246. package/dist/commonjs/api/managedClusters/options.d.ts +19 -0
  247. package/dist/commonjs/api/managedClusters/options.js +1 -0
  248. package/dist/commonjs/api/managedClusters/options.js.map +2 -2
  249. package/dist/commonjs/api/managedNamespaces/index.js +1 -0
  250. package/dist/commonjs/api/managedNamespaces/index.js.map +1 -1
  251. package/dist/commonjs/api/managedNamespaces/operations.js +14 -9
  252. package/dist/commonjs/api/managedNamespaces/operations.js.map +3 -3
  253. package/dist/commonjs/api/managedNamespaces/options.js +1 -0
  254. package/dist/commonjs/api/managedNamespaces/options.js.map +1 -1
  255. package/dist/commonjs/api/meshMemberships/index.d.ts +3 -0
  256. package/dist/commonjs/api/meshMemberships/index.js +34 -0
  257. package/dist/commonjs/api/meshMemberships/index.js.map +7 -0
  258. package/dist/commonjs/api/meshMemberships/operations.d.ts +28 -0
  259. package/dist/commonjs/api/meshMemberships/operations.js +212 -0
  260. package/dist/commonjs/api/meshMemberships/operations.js.map +7 -0
  261. package/dist/commonjs/api/meshMemberships/options.d.ts +18 -0
  262. package/dist/commonjs/api/meshMemberships/options.js +16 -0
  263. package/dist/commonjs/api/meshMemberships/options.js.map +7 -0
  264. package/dist/commonjs/api/operationStatusResult/index.d.ts +3 -0
  265. package/dist/commonjs/api/operationStatusResult/index.js +32 -0
  266. package/dist/commonjs/api/operationStatusResult/index.js.map +7 -0
  267. package/dist/commonjs/api/operationStatusResult/operations.d.ts +18 -0
  268. package/dist/commonjs/api/operationStatusResult/operations.js +159 -0
  269. package/dist/commonjs/api/operationStatusResult/operations.js.map +7 -0
  270. package/dist/commonjs/api/operationStatusResult/options.d.ts +11 -0
  271. package/dist/commonjs/api/operationStatusResult/options.js +16 -0
  272. package/dist/commonjs/api/operationStatusResult/options.js.map +7 -0
  273. package/dist/commonjs/api/operations/index.js +1 -0
  274. package/dist/commonjs/api/operations/index.js.map +1 -1
  275. package/dist/commonjs/api/operations/operations.js +7 -2
  276. package/dist/commonjs/api/operations/operations.js.map +3 -3
  277. package/dist/commonjs/api/operations/options.js +1 -0
  278. package/dist/commonjs/api/operations/options.js.map +1 -1
  279. package/dist/commonjs/api/privateEndpointConnections/index.js +1 -0
  280. package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -1
  281. package/dist/commonjs/api/privateEndpointConnections/operations.js +6 -5
  282. package/dist/commonjs/api/privateEndpointConnections/operations.js.map +2 -2
  283. package/dist/commonjs/api/privateEndpointConnections/options.js +1 -0
  284. package/dist/commonjs/api/privateEndpointConnections/options.js.map +1 -1
  285. package/dist/commonjs/api/privateLinkResources/index.js +1 -0
  286. package/dist/commonjs/api/privateLinkResources/index.js.map +1 -1
  287. package/dist/commonjs/api/privateLinkResources/operations.js +2 -1
  288. package/dist/commonjs/api/privateLinkResources/operations.js.map +2 -2
  289. package/dist/commonjs/api/privateLinkResources/options.js +1 -0
  290. package/dist/commonjs/api/privateLinkResources/options.js.map +1 -1
  291. package/dist/commonjs/api/resolvePrivateLinkServiceId/index.js +1 -0
  292. package/dist/commonjs/api/resolvePrivateLinkServiceId/index.js.map +1 -1
  293. package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js +2 -1
  294. package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js.map +2 -2
  295. package/dist/commonjs/api/resolvePrivateLinkServiceId/options.js +1 -0
  296. package/dist/commonjs/api/resolvePrivateLinkServiceId/options.js.map +1 -1
  297. package/dist/commonjs/api/snapshots/index.js +1 -0
  298. package/dist/commonjs/api/snapshots/index.js.map +1 -1
  299. package/dist/commonjs/api/snapshots/operations.js +17 -8
  300. package/dist/commonjs/api/snapshots/operations.js.map +3 -3
  301. package/dist/commonjs/api/snapshots/options.js +1 -0
  302. package/dist/commonjs/api/snapshots/options.js.map +1 -1
  303. package/dist/commonjs/api/trustedAccessRoleBindings/index.js +1 -0
  304. package/dist/commonjs/api/trustedAccessRoleBindings/index.js.map +1 -1
  305. package/dist/commonjs/api/trustedAccessRoleBindings/operations.js +12 -7
  306. package/dist/commonjs/api/trustedAccessRoleBindings/operations.js.map +3 -3
  307. package/dist/commonjs/api/trustedAccessRoleBindings/options.js +1 -0
  308. package/dist/commonjs/api/trustedAccessRoleBindings/options.js.map +1 -1
  309. package/dist/commonjs/api/trustedAccessRoles/index.js +1 -0
  310. package/dist/commonjs/api/trustedAccessRoles/index.js.map +1 -1
  311. package/dist/commonjs/api/trustedAccessRoles/operations.js +7 -2
  312. package/dist/commonjs/api/trustedAccessRoles/operations.js.map +3 -3
  313. package/dist/commonjs/api/trustedAccessRoles/options.js +1 -0
  314. package/dist/commonjs/api/trustedAccessRoles/options.js.map +1 -1
  315. package/dist/commonjs/api/vmSkus/index.d.ts +3 -0
  316. package/dist/commonjs/api/vmSkus/index.js +28 -0
  317. package/dist/commonjs/api/vmSkus/index.js.map +7 -0
  318. package/dist/commonjs/api/vmSkus/operations.d.ts +10 -0
  319. package/dist/commonjs/api/vmSkus/operations.js +75 -0
  320. package/dist/commonjs/api/vmSkus/operations.js.map +7 -0
  321. package/dist/commonjs/api/vmSkus/options.d.ts +7 -0
  322. package/dist/commonjs/api/vmSkus/options.js +16 -0
  323. package/dist/commonjs/api/vmSkus/options.js.map +7 -0
  324. package/dist/commonjs/classic/agentPools/index.d.ts +7 -1
  325. package/dist/commonjs/classic/agentPools/index.js +22 -0
  326. package/dist/commonjs/classic/agentPools/index.js.map +3 -3
  327. package/dist/commonjs/classic/containerService/index.d.ts +11 -0
  328. package/dist/commonjs/classic/containerService/index.js +38 -0
  329. package/dist/commonjs/classic/containerService/index.js.map +7 -0
  330. package/dist/commonjs/classic/identityBindings/index.d.ts +32 -0
  331. package/dist/commonjs/classic/identityBindings/index.js +85 -0
  332. package/dist/commonjs/classic/identityBindings/index.js.map +7 -0
  333. package/dist/commonjs/classic/index.d.ts +8 -0
  334. package/dist/commonjs/classic/index.js +1 -0
  335. package/dist/commonjs/classic/index.js.map +2 -2
  336. package/dist/commonjs/classic/jwtAuthenticators/index.d.ts +32 -0
  337. package/dist/commonjs/classic/jwtAuthenticators/index.js +85 -0
  338. package/dist/commonjs/classic/jwtAuthenticators/index.js.map +7 -0
  339. package/dist/commonjs/classic/loadBalancers/index.d.ts +28 -0
  340. package/dist/commonjs/classic/loadBalancers/index.js +57 -0
  341. package/dist/commonjs/classic/loadBalancers/index.js.map +7 -0
  342. package/dist/commonjs/classic/machines/index.d.ts +9 -1
  343. package/dist/commonjs/classic/machines/index.js +35 -0
  344. package/dist/commonjs/classic/machines/index.js.map +3 -3
  345. package/dist/commonjs/classic/maintenanceConfigurations/index.js +1 -0
  346. package/dist/commonjs/classic/maintenanceConfigurations/index.js.map +1 -1
  347. package/dist/commonjs/classic/managedClusterSnapshots/index.d.ts +26 -0
  348. package/dist/commonjs/classic/managedClusterSnapshots/index.js +43 -0
  349. package/dist/commonjs/classic/managedClusterSnapshots/index.js.map +7 -0
  350. package/dist/commonjs/classic/managedClusters/index.d.ts +16 -2
  351. package/dist/commonjs/classic/managedClusters/index.js +26 -0
  352. package/dist/commonjs/classic/managedClusters/index.js.map +3 -3
  353. package/dist/commonjs/classic/managedNamespaces/index.js +1 -0
  354. package/dist/commonjs/classic/managedNamespaces/index.js.map +1 -1
  355. package/dist/commonjs/classic/meshMemberships/index.d.ts +32 -0
  356. package/dist/commonjs/classic/meshMemberships/index.js +79 -0
  357. package/dist/commonjs/classic/meshMemberships/index.js.map +7 -0
  358. package/dist/commonjs/classic/operationStatusResult/index.d.ts +15 -0
  359. package/dist/commonjs/classic/operationStatusResult/index.js +40 -0
  360. package/dist/commonjs/classic/operationStatusResult/index.js.map +7 -0
  361. package/dist/commonjs/classic/operations/index.js +1 -0
  362. package/dist/commonjs/classic/operations/index.js.map +1 -1
  363. package/dist/commonjs/classic/privateEndpointConnections/index.js +1 -0
  364. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +1 -1
  365. package/dist/commonjs/classic/privateLinkResources/index.js +1 -0
  366. package/dist/commonjs/classic/privateLinkResources/index.js.map +1 -1
  367. package/dist/commonjs/classic/resolvePrivateLinkServiceId/index.js +1 -0
  368. package/dist/commonjs/classic/resolvePrivateLinkServiceId/index.js.map +1 -1
  369. package/dist/commonjs/classic/snapshots/index.js +1 -0
  370. package/dist/commonjs/classic/snapshots/index.js.map +1 -1
  371. package/dist/commonjs/classic/trustedAccessRoleBindings/index.js +1 -0
  372. package/dist/commonjs/classic/trustedAccessRoleBindings/index.js.map +1 -1
  373. package/dist/commonjs/classic/trustedAccessRoles/index.js +1 -0
  374. package/dist/commonjs/classic/trustedAccessRoles/index.js.map +1 -1
  375. package/dist/commonjs/classic/vmSkus/index.d.ts +11 -0
  376. package/dist/commonjs/classic/vmSkus/index.js +38 -0
  377. package/dist/commonjs/classic/vmSkus/index.js.map +7 -0
  378. package/dist/commonjs/containerServiceClient.d.ts +24 -0
  379. package/dist/commonjs/containerServiceClient.js +33 -0
  380. package/dist/commonjs/containerServiceClient.js.map +3 -3
  381. package/dist/commonjs/index.d.ts +14 -6
  382. package/dist/commonjs/index.js +53 -0
  383. package/dist/commonjs/index.js.map +3 -3
  384. package/dist/commonjs/logger.js +1 -0
  385. package/dist/commonjs/logger.js.map +1 -1
  386. package/dist/commonjs/models/index.d.ts +2 -2
  387. package/dist/commonjs/models/index.js +53 -0
  388. package/dist/commonjs/models/index.js.map +3 -3
  389. package/dist/commonjs/models/models.d.ts +1611 -9
  390. package/dist/commonjs/models/models.js +1986 -67
  391. package/dist/commonjs/models/models.js.map +4 -4
  392. package/dist/commonjs/restorePollerHelpers.js +57 -26
  393. package/dist/commonjs/restorePollerHelpers.js.map +4 -4
  394. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +1 -0
  395. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -1
  396. package/dist/commonjs/static-helpers/pagingHelpers.js +1 -0
  397. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
  398. package/dist/commonjs/static-helpers/pollingHelpers.js +1 -0
  399. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
  400. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +1 -0
  401. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +1 -1
  402. package/dist/commonjs/static-helpers/simplePollerHelpers.js +1 -0
  403. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +1 -1
  404. package/dist/commonjs/static-helpers/urlTemplate.js +1 -0
  405. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
  406. package/dist/commonjs/tsdoc-metadata.json +1 -1
  407. package/dist/esm/api/agentPools/index.d.ts +2 -2
  408. package/dist/esm/api/agentPools/index.js +4 -22
  409. package/dist/esm/api/agentPools/index.js.map +1 -7
  410. package/dist/esm/api/agentPools/operations.d.ts +5 -1
  411. package/dist/esm/api/agentPools/operations.js +300 -363
  412. package/dist/esm/api/agentPools/operations.js.map +1 -7
  413. package/dist/esm/api/agentPools/options.d.ts +5 -0
  414. package/dist/esm/api/agentPools/options.js +4 -0
  415. package/dist/esm/api/agentPools/options.js.map +1 -7
  416. package/dist/esm/api/containerService/index.d.ts +3 -0
  417. package/dist/esm/api/containerService/index.js +4 -0
  418. package/dist/esm/api/containerService/index.js.map +1 -0
  419. package/dist/esm/api/containerService/operations.d.ts +10 -0
  420. package/dist/esm/api/containerService/operations.js +37 -0
  421. package/dist/esm/api/containerService/operations.js.map +1 -0
  422. package/dist/esm/api/containerService/options.d.ts +5 -0
  423. package/dist/esm/api/containerService/options.js +4 -0
  424. package/dist/esm/api/containerService/options.js.map +1 -0
  425. package/dist/esm/api/containerServiceContext.js +20 -17
  426. package/dist/esm/api/containerServiceContext.js.map +1 -7
  427. package/dist/esm/api/identityBindings/index.d.ts +3 -0
  428. package/dist/esm/api/identityBindings/index.js +4 -0
  429. package/dist/esm/api/identityBindings/index.js.map +1 -0
  430. package/dist/esm/api/identityBindings/operations.d.ts +28 -0
  431. package/dist/esm/api/identityBindings/operations.js +140 -0
  432. package/dist/esm/api/identityBindings/operations.js.map +1 -0
  433. package/dist/esm/api/identityBindings/options.d.ts +18 -0
  434. package/dist/esm/api/identityBindings/options.js +4 -0
  435. package/dist/esm/api/identityBindings/options.js.map +1 -0
  436. package/dist/esm/api/index.js +4 -4
  437. package/dist/esm/api/index.js.map +1 -7
  438. package/dist/esm/api/jwtAuthenticators/index.d.ts +3 -0
  439. package/dist/esm/api/jwtAuthenticators/index.js +4 -0
  440. package/dist/esm/api/jwtAuthenticators/index.js.map +1 -0
  441. package/dist/esm/api/jwtAuthenticators/operations.d.ts +28 -0
  442. package/dist/esm/api/jwtAuthenticators/operations.js +140 -0
  443. package/dist/esm/api/jwtAuthenticators/operations.js.map +1 -0
  444. package/dist/esm/api/jwtAuthenticators/options.d.ts +18 -0
  445. package/dist/esm/api/jwtAuthenticators/options.js +4 -0
  446. package/dist/esm/api/jwtAuthenticators/options.js.map +1 -0
  447. package/dist/esm/api/loadBalancers/index.d.ts +3 -0
  448. package/dist/esm/api/loadBalancers/index.js +4 -0
  449. package/dist/esm/api/loadBalancers/index.js.map +1 -0
  450. package/dist/esm/api/loadBalancers/operations.d.ts +28 -0
  451. package/dist/esm/api/loadBalancers/operations.js +135 -0
  452. package/dist/esm/api/loadBalancers/operations.js.map +1 -0
  453. package/dist/esm/api/loadBalancers/options.d.ts +16 -0
  454. package/dist/esm/api/loadBalancers/options.js +4 -0
  455. package/dist/esm/api/loadBalancers/options.js.map +1 -0
  456. package/dist/esm/api/machines/index.d.ts +2 -2
  457. package/dist/esm/api/machines/index.js +4 -5
  458. package/dist/esm/api/machines/index.js.map +1 -7
  459. package/dist/esm/api/machines/operations.d.ts +6 -1
  460. package/dist/esm/api/machines/operations.js +101 -82
  461. package/dist/esm/api/machines/operations.js.map +1 -7
  462. package/dist/esm/api/machines/options.d.ts +9 -0
  463. package/dist/esm/api/machines/options.js +4 -0
  464. package/dist/esm/api/machines/options.js.map +1 -7
  465. package/dist/esm/api/maintenanceConfigurations/index.js +4 -7
  466. package/dist/esm/api/maintenanceConfigurations/index.js.map +1 -7
  467. package/dist/esm/api/maintenanceConfigurations/operations.js +111 -143
  468. package/dist/esm/api/maintenanceConfigurations/operations.js.map +1 -7
  469. package/dist/esm/api/maintenanceConfigurations/options.js +4 -0
  470. package/dist/esm/api/maintenanceConfigurations/options.js.map +1 -7
  471. package/dist/esm/api/managedClusterSnapshots/index.d.ts +3 -0
  472. package/dist/esm/api/managedClusterSnapshots/index.js +4 -0
  473. package/dist/esm/api/managedClusterSnapshots/index.js.map +1 -0
  474. package/dist/esm/api/managedClusterSnapshots/operations.d.ts +35 -0
  475. package/dist/esm/api/managedClusterSnapshots/operations.js +184 -0
  476. package/dist/esm/api/managedClusterSnapshots/operations.js.map +1 -0
  477. package/dist/esm/api/managedClusterSnapshots/options.d.ts +20 -0
  478. package/dist/esm/api/managedClusterSnapshots/options.js +4 -0
  479. package/dist/esm/api/managedClusterSnapshots/options.js.map +1 -0
  480. package/dist/esm/api/managedClusters/index.d.ts +2 -2
  481. package/dist/esm/api/managedClusters/index.js +4 -56
  482. package/dist/esm/api/managedClusters/index.js.map +1 -7
  483. package/dist/esm/api/managedClusters/operations.d.ts +22 -2
  484. package/dist/esm/api/managedClusters/operations.js +941 -1033
  485. package/dist/esm/api/managedClusters/operations.js.map +1 -7
  486. package/dist/esm/api/managedClusters/options.d.ts +19 -0
  487. package/dist/esm/api/managedClusters/options.js +4 -0
  488. package/dist/esm/api/managedClusters/options.js.map +1 -7
  489. package/dist/esm/api/managedNamespaces/index.js +4 -16
  490. package/dist/esm/api/managedNamespaces/index.js.map +1 -7
  491. package/dist/esm/api/managedNamespaces/operations.js +188 -253
  492. package/dist/esm/api/managedNamespaces/operations.js.map +1 -7
  493. package/dist/esm/api/managedNamespaces/options.js +4 -0
  494. package/dist/esm/api/managedNamespaces/options.js.map +1 -7
  495. package/dist/esm/api/meshMemberships/index.d.ts +3 -0
  496. package/dist/esm/api/meshMemberships/index.js +4 -0
  497. package/dist/esm/api/meshMemberships/index.js.map +1 -0
  498. package/dist/esm/api/meshMemberships/operations.d.ts +28 -0
  499. package/dist/esm/api/meshMemberships/operations.js +140 -0
  500. package/dist/esm/api/meshMemberships/operations.js.map +1 -0
  501. package/dist/esm/api/meshMemberships/options.d.ts +18 -0
  502. package/dist/esm/api/meshMemberships/options.js +4 -0
  503. package/dist/esm/api/meshMemberships/options.js.map +1 -0
  504. package/dist/esm/api/operationStatusResult/index.d.ts +3 -0
  505. package/dist/esm/api/operationStatusResult/index.js +4 -0
  506. package/dist/esm/api/operationStatusResult/index.js.map +1 -0
  507. package/dist/esm/api/operationStatusResult/operations.d.ts +18 -0
  508. package/dist/esm/api/operationStatusResult/operations.js +97 -0
  509. package/dist/esm/api/operationStatusResult/operations.js.map +1 -0
  510. package/dist/esm/api/operationStatusResult/options.d.ts +11 -0
  511. package/dist/esm/api/operationStatusResult/options.js +4 -0
  512. package/dist/esm/api/operationStatusResult/options.js.map +1 -0
  513. package/dist/esm/api/operations/index.js +4 -4
  514. package/dist/esm/api/operations/index.js.map +1 -7
  515. package/dist/esm/api/operations/operations.js +29 -39
  516. package/dist/esm/api/operations/operations.js.map +1 -7
  517. package/dist/esm/api/operations/options.js +4 -0
  518. package/dist/esm/api/operations/options.js.map +1 -7
  519. package/dist/esm/api/privateEndpointConnections/index.js +4 -7
  520. package/dist/esm/api/privateEndpointConnections/index.js.map +1 -7
  521. package/dist/esm/api/privateEndpointConnections/operations.js +113 -155
  522. package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -7
  523. package/dist/esm/api/privateEndpointConnections/options.js +4 -0
  524. package/dist/esm/api/privateEndpointConnections/options.js.map +1 -7
  525. package/dist/esm/api/privateLinkResources/index.js +4 -4
  526. package/dist/esm/api/privateLinkResources/index.js.map +1 -7
  527. package/dist/esm/api/privateLinkResources/operations.js +29 -37
  528. package/dist/esm/api/privateLinkResources/operations.js.map +1 -7
  529. package/dist/esm/api/privateLinkResources/options.js +4 -0
  530. package/dist/esm/api/privateLinkResources/options.js.map +1 -7
  531. package/dist/esm/api/resolvePrivateLinkServiceId/index.js +4 -4
  532. package/dist/esm/api/resolvePrivateLinkServiceId/index.js.map +1 -7
  533. package/dist/esm/api/resolvePrivateLinkServiceId/operations.js +31 -40
  534. package/dist/esm/api/resolvePrivateLinkServiceId/operations.js.map +1 -7
  535. package/dist/esm/api/resolvePrivateLinkServiceId/options.js +4 -0
  536. package/dist/esm/api/resolvePrivateLinkServiceId/options.js.map +1 -7
  537. package/dist/esm/api/snapshots/index.js +4 -16
  538. package/dist/esm/api/snapshots/index.js.map +1 -7
  539. package/dist/esm/api/snapshots/operations.js +175 -227
  540. package/dist/esm/api/snapshots/operations.js.map +1 -7
  541. package/dist/esm/api/snapshots/options.js +4 -0
  542. package/dist/esm/api/snapshots/options.js.map +1 -7
  543. package/dist/esm/api/trustedAccessRoleBindings/index.js +4 -7
  544. package/dist/esm/api/trustedAccessRoleBindings/index.js.map +1 -7
  545. package/dist/esm/api/trustedAccessRoleBindings/operations.js +121 -159
  546. package/dist/esm/api/trustedAccessRoleBindings/operations.js.map +1 -7
  547. package/dist/esm/api/trustedAccessRoleBindings/options.js +4 -0
  548. package/dist/esm/api/trustedAccessRoleBindings/options.js.map +1 -7
  549. package/dist/esm/api/trustedAccessRoles/index.js +4 -4
  550. package/dist/esm/api/trustedAccessRoles/index.js.map +1 -7
  551. package/dist/esm/api/trustedAccessRoles/operations.js +31 -41
  552. package/dist/esm/api/trustedAccessRoles/operations.js.map +1 -7
  553. package/dist/esm/api/trustedAccessRoles/options.js +4 -0
  554. package/dist/esm/api/trustedAccessRoles/options.js.map +1 -7
  555. package/dist/esm/api/vmSkus/index.d.ts +3 -0
  556. package/dist/esm/api/vmSkus/index.js +4 -0
  557. package/dist/esm/api/vmSkus/index.js.map +1 -0
  558. package/dist/esm/api/vmSkus/operations.d.ts +10 -0
  559. package/dist/esm/api/vmSkus/operations.js +38 -0
  560. package/dist/esm/api/vmSkus/operations.js.map +1 -0
  561. package/dist/esm/api/vmSkus/options.d.ts +7 -0
  562. package/dist/esm/api/vmSkus/options.js +4 -0
  563. package/dist/esm/api/vmSkus/options.js.map +1 -0
  564. package/dist/esm/classic/agentPools/index.d.ts +7 -1
  565. package/dist/esm/classic/agentPools/index.js +68 -121
  566. package/dist/esm/classic/agentPools/index.js.map +1 -7
  567. package/dist/esm/classic/containerService/index.d.ts +11 -0
  568. package/dist/esm/classic/containerService/index.js +14 -0
  569. package/dist/esm/classic/containerService/index.js.map +1 -0
  570. package/dist/esm/classic/identityBindings/index.d.ts +32 -0
  571. package/dist/esm/classic/identityBindings/index.js +34 -0
  572. package/dist/esm/classic/identityBindings/index.js.map +1 -0
  573. package/dist/esm/classic/index.d.ts +8 -0
  574. package/dist/esm/classic/index.js +4 -0
  575. package/dist/esm/classic/index.js.map +1 -7
  576. package/dist/esm/classic/jwtAuthenticators/index.d.ts +32 -0
  577. package/dist/esm/classic/jwtAuthenticators/index.js +34 -0
  578. package/dist/esm/classic/jwtAuthenticators/index.js.map +1 -0
  579. package/dist/esm/classic/loadBalancers/index.d.ts +28 -0
  580. package/dist/esm/classic/loadBalancers/index.js +26 -0
  581. package/dist/esm/classic/loadBalancers/index.js.map +1 -0
  582. package/dist/esm/classic/machines/index.d.ts +9 -1
  583. package/dist/esm/classic/machines/index.js +22 -12
  584. package/dist/esm/classic/machines/index.js.map +1 -7
  585. package/dist/esm/classic/maintenanceConfigurations/index.js +14 -19
  586. package/dist/esm/classic/maintenanceConfigurations/index.js.map +1 -7
  587. package/dist/esm/classic/managedClusterSnapshots/index.d.ts +26 -0
  588. package/dist/esm/classic/managedClusterSnapshots/index.js +19 -0
  589. package/dist/esm/classic/managedClusterSnapshots/index.js.map +1 -0
  590. package/dist/esm/classic/managedClusters/index.d.ts +16 -2
  591. package/dist/esm/classic/managedClusters/index.js +137 -173
  592. package/dist/esm/classic/managedClusters/index.js.map +1 -7
  593. package/dist/esm/classic/managedNamespaces/index.js +32 -66
  594. package/dist/esm/classic/managedNamespaces/index.js.map +1 -7
  595. package/dist/esm/classic/meshMemberships/index.d.ts +32 -0
  596. package/dist/esm/classic/meshMemberships/index.js +34 -0
  597. package/dist/esm/classic/meshMemberships/index.js.map +1 -0
  598. package/dist/esm/classic/operationStatusResult/index.d.ts +15 -0
  599. package/dist/esm/classic/operationStatusResult/index.js +16 -0
  600. package/dist/esm/classic/operationStatusResult/index.js.map +1 -0
  601. package/dist/esm/classic/operations/index.js +10 -10
  602. package/dist/esm/classic/operations/index.js.map +1 -7
  603. package/dist/esm/classic/privateEndpointConnections/index.js +21 -40
  604. package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -7
  605. package/dist/esm/classic/privateLinkResources/index.js +10 -10
  606. package/dist/esm/classic/privateLinkResources/index.js.map +1 -7
  607. package/dist/esm/classic/resolvePrivateLinkServiceId/index.js +10 -10
  608. package/dist/esm/classic/resolvePrivateLinkServiceId/index.js.map +1 -7
  609. package/dist/esm/classic/snapshots/index.js +16 -23
  610. package/dist/esm/classic/snapshots/index.js.map +1 -7
  611. package/dist/esm/classic/trustedAccessRoleBindings/index.js +30 -68
  612. package/dist/esm/classic/trustedAccessRoleBindings/index.js.map +1 -7
  613. package/dist/esm/classic/trustedAccessRoles/index.js +10 -10
  614. package/dist/esm/classic/trustedAccessRoles/index.js.map +1 -7
  615. package/dist/esm/classic/vmSkus/index.d.ts +11 -0
  616. package/dist/esm/classic/vmSkus/index.js +14 -0
  617. package/dist/esm/classic/vmSkus/index.js.map +1 -0
  618. package/dist/esm/containerServiceClient.d.ts +24 -0
  619. package/dist/esm/containerServiceClient.js +94 -59
  620. package/dist/esm/containerServiceClient.js.map +1 -7
  621. package/dist/esm/index.d.ts +14 -6
  622. package/dist/esm/index.js +7 -147
  623. package/dist/esm/index.js.map +1 -7
  624. package/dist/esm/logger.js +4 -4
  625. package/dist/esm/logger.js.map +1 -7
  626. package/dist/esm/models/index.d.ts +2 -2
  627. package/dist/esm/models/index.js +4 -142
  628. package/dist/esm/models/index.js.map +1 -7
  629. package/dist/esm/models/models.d.ts +1611 -9
  630. package/dist/esm/models/models.js +6770 -4137
  631. package/dist/esm/models/models.js.map +1 -7
  632. package/dist/esm/restorePollerHelpers.js +157 -140
  633. package/dist/esm/restorePollerHelpers.js.map +1 -7
  634. package/dist/esm/static-helpers/cloudSettingHelpers.js +37 -26
  635. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -7
  636. package/dist/esm/static-helpers/pagingHelpers.js +122 -98
  637. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -7
  638. package/dist/esm/static-helpers/pollingHelpers.js +86 -68
  639. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -7
  640. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +15 -9
  641. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -7
  642. package/dist/esm/static-helpers/simplePollerHelpers.js +43 -42
  643. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -7
  644. package/dist/esm/static-helpers/urlTemplate.js +169 -142
  645. package/dist/esm/static-helpers/urlTemplate.js.map +1 -7
  646. package/dist/react-native/api/agentPools/index.d.ts +2 -2
  647. package/dist/react-native/api/agentPools/index.js +1 -1
  648. package/dist/react-native/api/agentPools/index.js.map +1 -1
  649. package/dist/react-native/api/agentPools/operations.d.ts +5 -1
  650. package/dist/react-native/api/agentPools/operations.js +50 -15
  651. package/dist/react-native/api/agentPools/operations.js.map +1 -1
  652. package/dist/react-native/api/agentPools/options.d.ts +5 -0
  653. package/dist/react-native/api/agentPools/options.js.map +1 -1
  654. package/dist/react-native/api/containerService/index.d.ts +3 -0
  655. package/dist/react-native/api/containerService/index.js +4 -0
  656. package/dist/react-native/api/containerService/index.js.map +1 -0
  657. package/dist/react-native/api/containerService/operations.d.ts +10 -0
  658. package/dist/react-native/api/containerService/operations.js +37 -0
  659. package/dist/react-native/api/containerService/operations.js.map +1 -0
  660. package/dist/react-native/api/containerService/options.d.ts +5 -0
  661. package/dist/react-native/api/containerService/options.js +4 -0
  662. package/dist/react-native/api/containerService/options.js.map +1 -0
  663. package/dist/react-native/api/containerServiceContext.js +1 -1
  664. package/dist/react-native/api/containerServiceContext.js.map +1 -1
  665. package/dist/react-native/api/identityBindings/index.d.ts +3 -0
  666. package/dist/react-native/api/identityBindings/index.js +4 -0
  667. package/dist/react-native/api/identityBindings/index.js.map +1 -0
  668. package/dist/react-native/api/identityBindings/operations.d.ts +28 -0
  669. package/dist/react-native/api/identityBindings/operations.js +140 -0
  670. package/dist/react-native/api/identityBindings/operations.js.map +1 -0
  671. package/dist/react-native/api/identityBindings/options.d.ts +18 -0
  672. package/dist/react-native/api/identityBindings/options.js +4 -0
  673. package/dist/react-native/api/identityBindings/options.js.map +1 -0
  674. package/dist/react-native/api/jwtAuthenticators/index.d.ts +3 -0
  675. package/dist/react-native/api/jwtAuthenticators/index.js +4 -0
  676. package/dist/react-native/api/jwtAuthenticators/index.js.map +1 -0
  677. package/dist/react-native/api/jwtAuthenticators/operations.d.ts +28 -0
  678. package/dist/react-native/api/jwtAuthenticators/operations.js +140 -0
  679. package/dist/react-native/api/jwtAuthenticators/operations.js.map +1 -0
  680. package/dist/react-native/api/jwtAuthenticators/options.d.ts +18 -0
  681. package/dist/react-native/api/jwtAuthenticators/options.js +4 -0
  682. package/dist/react-native/api/jwtAuthenticators/options.js.map +1 -0
  683. package/dist/react-native/api/loadBalancers/index.d.ts +3 -0
  684. package/dist/react-native/api/loadBalancers/index.js +4 -0
  685. package/dist/react-native/api/loadBalancers/index.js.map +1 -0
  686. package/dist/react-native/api/loadBalancers/operations.d.ts +28 -0
  687. package/dist/react-native/api/loadBalancers/operations.js +135 -0
  688. package/dist/react-native/api/loadBalancers/operations.js.map +1 -0
  689. package/dist/react-native/api/loadBalancers/options.d.ts +16 -0
  690. package/dist/react-native/api/loadBalancers/options.js +4 -0
  691. package/dist/react-native/api/loadBalancers/options.js.map +1 -0
  692. package/dist/react-native/api/machines/index.d.ts +2 -2
  693. package/dist/react-native/api/machines/index.js +1 -1
  694. package/dist/react-native/api/machines/index.js.map +1 -1
  695. package/dist/react-native/api/machines/operations.d.ts +6 -1
  696. package/dist/react-native/api/machines/operations.js +51 -4
  697. package/dist/react-native/api/machines/operations.js.map +1 -1
  698. package/dist/react-native/api/machines/options.d.ts +9 -0
  699. package/dist/react-native/api/machines/options.js.map +1 -1
  700. package/dist/react-native/api/maintenanceConfigurations/operations.js +9 -5
  701. package/dist/react-native/api/maintenanceConfigurations/operations.js.map +1 -1
  702. package/dist/react-native/api/managedClusterSnapshots/index.d.ts +3 -0
  703. package/dist/react-native/api/managedClusterSnapshots/index.js +4 -0
  704. package/dist/react-native/api/managedClusterSnapshots/index.js.map +1 -0
  705. package/dist/react-native/api/managedClusterSnapshots/operations.d.ts +35 -0
  706. package/dist/react-native/api/managedClusterSnapshots/operations.js +184 -0
  707. package/dist/react-native/api/managedClusterSnapshots/operations.js.map +1 -0
  708. package/dist/react-native/api/managedClusterSnapshots/options.d.ts +20 -0
  709. package/dist/react-native/api/managedClusterSnapshots/options.js +4 -0
  710. package/dist/react-native/api/managedClusterSnapshots/options.js.map +1 -0
  711. package/dist/react-native/api/managedClusters/index.d.ts +2 -2
  712. package/dist/react-native/api/managedClusters/index.js +1 -1
  713. package/dist/react-native/api/managedClusters/index.js.map +1 -1
  714. package/dist/react-native/api/managedClusters/operations.d.ts +22 -2
  715. package/dist/react-native/api/managedClusters/operations.js +215 -44
  716. package/dist/react-native/api/managedClusters/operations.js.map +1 -1
  717. package/dist/react-native/api/managedClusters/options.d.ts +19 -0
  718. package/dist/react-native/api/managedClusters/options.js.map +1 -1
  719. package/dist/react-native/api/managedNamespaces/operations.js +13 -9
  720. package/dist/react-native/api/managedNamespaces/operations.js.map +1 -1
  721. package/dist/react-native/api/meshMemberships/index.d.ts +3 -0
  722. package/dist/react-native/api/meshMemberships/index.js +4 -0
  723. package/dist/react-native/api/meshMemberships/index.js.map +1 -0
  724. package/dist/react-native/api/meshMemberships/operations.d.ts +28 -0
  725. package/dist/react-native/api/meshMemberships/operations.js +140 -0
  726. package/dist/react-native/api/meshMemberships/operations.js.map +1 -0
  727. package/dist/react-native/api/meshMemberships/options.d.ts +18 -0
  728. package/dist/react-native/api/meshMemberships/options.js +4 -0
  729. package/dist/react-native/api/meshMemberships/options.js.map +1 -0
  730. package/dist/react-native/api/operationStatusResult/index.d.ts +3 -0
  731. package/dist/react-native/api/operationStatusResult/index.js +4 -0
  732. package/dist/react-native/api/operationStatusResult/index.js.map +1 -0
  733. package/dist/react-native/api/operationStatusResult/operations.d.ts +18 -0
  734. package/dist/react-native/api/operationStatusResult/operations.js +97 -0
  735. package/dist/react-native/api/operationStatusResult/operations.js.map +1 -0
  736. package/dist/react-native/api/operationStatusResult/options.d.ts +11 -0
  737. package/dist/react-native/api/operationStatusResult/options.js +4 -0
  738. package/dist/react-native/api/operationStatusResult/options.js.map +1 -0
  739. package/dist/react-native/api/operations/operations.js +6 -2
  740. package/dist/react-native/api/operations/operations.js.map +1 -1
  741. package/dist/react-native/api/privateEndpointConnections/operations.js +5 -5
  742. package/dist/react-native/api/privateEndpointConnections/operations.js.map +1 -1
  743. package/dist/react-native/api/privateLinkResources/operations.js +1 -1
  744. package/dist/react-native/api/privateLinkResources/operations.js.map +1 -1
  745. package/dist/react-native/api/resolvePrivateLinkServiceId/operations.js +1 -1
  746. package/dist/react-native/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
  747. package/dist/react-native/api/snapshots/operations.js +16 -8
  748. package/dist/react-native/api/snapshots/operations.js.map +1 -1
  749. package/dist/react-native/api/trustedAccessRoleBindings/operations.js +11 -7
  750. package/dist/react-native/api/trustedAccessRoleBindings/operations.js.map +1 -1
  751. package/dist/react-native/api/trustedAccessRoles/operations.js +6 -2
  752. package/dist/react-native/api/trustedAccessRoles/operations.js.map +1 -1
  753. package/dist/react-native/api/vmSkus/index.d.ts +3 -0
  754. package/dist/react-native/api/vmSkus/index.js +4 -0
  755. package/dist/react-native/api/vmSkus/index.js.map +1 -0
  756. package/dist/react-native/api/vmSkus/operations.d.ts +10 -0
  757. package/dist/react-native/api/vmSkus/operations.js +38 -0
  758. package/dist/react-native/api/vmSkus/operations.js.map +1 -0
  759. package/dist/react-native/api/vmSkus/options.d.ts +7 -0
  760. package/dist/react-native/api/vmSkus/options.js +4 -0
  761. package/dist/react-native/api/vmSkus/options.js.map +1 -0
  762. package/dist/react-native/classic/agentPools/index.d.ts +7 -1
  763. package/dist/react-native/classic/agentPools/index.js +10 -1
  764. package/dist/react-native/classic/agentPools/index.js.map +1 -1
  765. package/dist/react-native/classic/containerService/index.d.ts +11 -0
  766. package/dist/react-native/classic/containerService/index.js +14 -0
  767. package/dist/react-native/classic/containerService/index.js.map +1 -0
  768. package/dist/react-native/classic/identityBindings/index.d.ts +32 -0
  769. package/dist/react-native/classic/identityBindings/index.js +34 -0
  770. package/dist/react-native/classic/identityBindings/index.js.map +1 -0
  771. package/dist/react-native/classic/index.d.ts +8 -0
  772. package/dist/react-native/classic/index.js.map +1 -1
  773. package/dist/react-native/classic/jwtAuthenticators/index.d.ts +32 -0
  774. package/dist/react-native/classic/jwtAuthenticators/index.js +34 -0
  775. package/dist/react-native/classic/jwtAuthenticators/index.js.map +1 -0
  776. package/dist/react-native/classic/loadBalancers/index.d.ts +28 -0
  777. package/dist/react-native/classic/loadBalancers/index.js +26 -0
  778. package/dist/react-native/classic/loadBalancers/index.js.map +1 -0
  779. package/dist/react-native/classic/machines/index.d.ts +9 -1
  780. package/dist/react-native/classic/machines/index.js +11 -1
  781. package/dist/react-native/classic/machines/index.js.map +1 -1
  782. package/dist/react-native/classic/managedClusterSnapshots/index.d.ts +26 -0
  783. package/dist/react-native/classic/managedClusterSnapshots/index.js +19 -0
  784. package/dist/react-native/classic/managedClusterSnapshots/index.js.map +1 -0
  785. package/dist/react-native/classic/managedClusters/index.d.ts +16 -2
  786. package/dist/react-native/classic/managedClusters/index.js +14 -1
  787. package/dist/react-native/classic/managedClusters/index.js.map +1 -1
  788. package/dist/react-native/classic/meshMemberships/index.d.ts +32 -0
  789. package/dist/react-native/classic/meshMemberships/index.js +34 -0
  790. package/dist/react-native/classic/meshMemberships/index.js.map +1 -0
  791. package/dist/react-native/classic/operationStatusResult/index.d.ts +15 -0
  792. package/dist/react-native/classic/operationStatusResult/index.js +16 -0
  793. package/dist/react-native/classic/operationStatusResult/index.js.map +1 -0
  794. package/dist/react-native/classic/vmSkus/index.d.ts +11 -0
  795. package/dist/react-native/classic/vmSkus/index.js +14 -0
  796. package/dist/react-native/classic/vmSkus/index.js.map +1 -0
  797. package/dist/react-native/containerServiceClient.d.ts +24 -0
  798. package/dist/react-native/containerServiceClient.js +32 -0
  799. package/dist/react-native/containerServiceClient.js.map +1 -1
  800. package/dist/react-native/index.d.ts +14 -6
  801. package/dist/react-native/index.js +1 -1
  802. package/dist/react-native/index.js.map +1 -1
  803. package/dist/react-native/models/index.d.ts +2 -2
  804. package/dist/react-native/models/index.js +1 -1
  805. package/dist/react-native/models/index.js.map +1 -1
  806. package/dist/react-native/models/models.d.ts +1611 -9
  807. package/dist/react-native/models/models.js +1996 -8
  808. package/dist/react-native/models/models.js.map +1 -1
  809. package/dist/react-native/restorePollerHelpers.js +35 -5
  810. package/dist/react-native/restorePollerHelpers.js.map +1 -1
  811. package/package.json +150 -6
@@ -1,1069 +1,977 @@
1
- import {
2
- errorResponseDeserializer,
3
- managedClusterSerializer,
4
- managedClusterDeserializer,
5
- managedClusterServicePrincipalProfileSerializer,
6
- managedClusterAADProfileSerializer,
7
- tagsObjectSerializer,
8
- _managedClusterListResultDeserializer,
9
- managedClusterAccessProfileDeserializer,
10
- credentialResultsDeserializer,
11
- runCommandRequestSerializer,
12
- runCommandResultDeserializer,
13
- _outboundEnvironmentEndpointCollectionDeserializer,
14
- managedClusterUpgradeProfileDeserializer,
15
- meshRevisionProfileDeserializer,
16
- _meshRevisionProfileListDeserializer,
17
- meshUpgradeProfileDeserializer,
18
- _meshUpgradeProfileListDeserializer,
19
- kubernetesVersionListResultDeserializer
20
- } from "../../models/models.js";
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { errorResponseDeserializer, managedClusterSerializer, managedClusterDeserializer, managedClusterServicePrincipalProfileSerializer, managedClusterAADProfileSerializer, tagsObjectSerializer, _managedClusterListResultDeserializer, managedClusterAccessProfileDeserializer, credentialResultsDeserializer, runCommandRequestSerializer, runCommandResultDeserializer, _outboundEnvironmentEndpointCollectionDeserializer, rebalanceLoadBalancersRequestBodySerializer, managedClusterUpgradeProfileDeserializer, guardrailsAvailableVersionDeserializer, _guardrailsAvailableVersionsListDeserializer, safeguardsAvailableVersionDeserializer, _safeguardsAvailableVersionsListDeserializer, meshRevisionProfileDeserializer, _meshRevisionProfileListDeserializer, meshUpgradeProfileDeserializer, _meshUpgradeProfileListDeserializer, kubernetesVersionListResultDeserializer, } from "../../models/models.js";
21
4
  import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
22
5
  import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
23
6
  import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
24
7
  import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
25
- function _listKubernetesVersionsSend(context, location, options = { requestOptions: {} }) {
26
- const path = expandUrlTemplate(
27
- "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/kubernetesVersions{?api%2Dversion}",
28
- {
29
- subscriptionId: context.subscriptionId,
30
- location,
31
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
32
- },
33
- {
34
- allowReserved: options?.requestOptions?.skipUrlEncoding
8
+ export function _listKubernetesVersionsSend(context, location, options = { requestOptions: {} }) {
9
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/kubernetesVersions{?api%2Dversion}", {
10
+ subscriptionId: context.subscriptionId,
11
+ location: location,
12
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
13
+ }, {
14
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
15
+ });
16
+ return context.path(path).get({
17
+ ...operationOptionsToRequestParameters(options),
18
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
19
+ });
20
+ }
21
+ export async function _listKubernetesVersionsDeserialize(result) {
22
+ const expectedStatuses = ["200"];
23
+ if (!expectedStatuses.includes(result.status)) {
24
+ const error = createRestError(result);
25
+ error.details = errorResponseDeserializer(result.body);
26
+ throw error;
35
27
  }
36
- );
37
- return context.path(path).get({
38
- ...operationOptionsToRequestParameters(options),
39
- headers: { accept: "application/json", ...options.requestOptions?.headers }
40
- });
41
- }
42
- async function _listKubernetesVersionsDeserialize(result) {
43
- const expectedStatuses = ["200"];
44
- if (!expectedStatuses.includes(result.status)) {
45
- const error = createRestError(result);
46
- error.details = errorResponseDeserializer(result.body);
47
- throw error;
48
- }
49
- return kubernetesVersionListResultDeserializer(result.body);
50
- }
51
- async function listKubernetesVersions(context, location, options = { requestOptions: {} }) {
52
- const result = await _listKubernetesVersionsSend(context, location, options);
53
- return _listKubernetesVersionsDeserialize(result);
54
- }
55
- function _listMeshUpgradeProfilesSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
56
- const path = expandUrlTemplate(
57
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/meshUpgradeProfiles{?api%2Dversion}",
58
- {
59
- subscriptionId: context.subscriptionId,
60
- resourceGroupName,
61
- resourceName,
62
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
63
- },
64
- {
65
- allowReserved: options?.requestOptions?.skipUrlEncoding
28
+ return kubernetesVersionListResultDeserializer(result.body);
29
+ }
30
+ /** Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version */
31
+ export async function listKubernetesVersions(context, location, options = { requestOptions: {} }) {
32
+ const result = await _listKubernetesVersionsSend(context, location, options);
33
+ return _listKubernetesVersionsDeserialize(result);
34
+ }
35
+ export function _listMeshUpgradeProfilesSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
36
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/meshUpgradeProfiles{?api%2Dversion}", {
37
+ subscriptionId: context.subscriptionId,
38
+ resourceGroupName: resourceGroupName,
39
+ resourceName: resourceName,
40
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
41
+ }, {
42
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
43
+ });
44
+ return context.path(path).get({
45
+ ...operationOptionsToRequestParameters(options),
46
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
47
+ });
48
+ }
49
+ export async function _listMeshUpgradeProfilesDeserialize(result) {
50
+ const expectedStatuses = ["200"];
51
+ if (!expectedStatuses.includes(result.status)) {
52
+ const error = createRestError(result);
53
+ error.details = errorResponseDeserializer(result.body);
54
+ throw error;
66
55
  }
67
- );
68
- return context.path(path).get({
69
- ...operationOptionsToRequestParameters(options),
70
- headers: { accept: "application/json", ...options.requestOptions?.headers }
71
- });
72
- }
73
- async function _listMeshUpgradeProfilesDeserialize(result) {
74
- const expectedStatuses = ["200"];
75
- if (!expectedStatuses.includes(result.status)) {
76
- const error = createRestError(result);
77
- error.details = errorResponseDeserializer(result.body);
78
- throw error;
79
- }
80
- return _meshUpgradeProfileListDeserializer(result.body);
81
- }
82
- function listMeshUpgradeProfiles(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
83
- return buildPagedAsyncIterator(
84
- context,
85
- () => _listMeshUpgradeProfilesSend(context, resourceGroupName, resourceName, options),
86
- _listMeshUpgradeProfilesDeserialize,
87
- ["200"],
88
- { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-01-01" }
89
- );
90
- }
91
- function _getMeshUpgradeProfileSend(context, resourceGroupName, resourceName, mode, options = { requestOptions: {} }) {
92
- const path = expandUrlTemplate(
93
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/meshUpgradeProfiles/{mode}{?api%2Dversion}",
94
- {
95
- subscriptionId: context.subscriptionId,
96
- resourceGroupName,
97
- resourceName,
98
- mode,
99
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
100
- },
101
- {
102
- allowReserved: options?.requestOptions?.skipUrlEncoding
56
+ return _meshUpgradeProfileListDeserializer(result.body);
57
+ }
58
+ /** Lists available upgrades for all service meshes in a specific cluster. */
59
+ export function listMeshUpgradeProfiles(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
60
+ return buildPagedAsyncIterator(context, () => _listMeshUpgradeProfilesSend(context, resourceGroupName, resourceName, options), _listMeshUpgradeProfilesDeserialize, ["200"], {
61
+ itemName: "value",
62
+ nextLinkName: "nextLink",
63
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
64
+ });
65
+ }
66
+ export function _getMeshUpgradeProfileSend(context, resourceGroupName, resourceName, mode, options = { requestOptions: {} }) {
67
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/meshUpgradeProfiles/{mode}{?api%2Dversion}", {
68
+ subscriptionId: context.subscriptionId,
69
+ resourceGroupName: resourceGroupName,
70
+ resourceName: resourceName,
71
+ mode: mode,
72
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
73
+ }, {
74
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
75
+ });
76
+ return context.path(path).get({
77
+ ...operationOptionsToRequestParameters(options),
78
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
79
+ });
80
+ }
81
+ export async function _getMeshUpgradeProfileDeserialize(result) {
82
+ const expectedStatuses = ["200"];
83
+ if (!expectedStatuses.includes(result.status)) {
84
+ const error = createRestError(result);
85
+ error.details = errorResponseDeserializer(result.body);
86
+ throw error;
103
87
  }
104
- );
105
- return context.path(path).get({
106
- ...operationOptionsToRequestParameters(options),
107
- headers: { accept: "application/json", ...options.requestOptions?.headers }
108
- });
109
- }
110
- async function _getMeshUpgradeProfileDeserialize(result) {
111
- const expectedStatuses = ["200"];
112
- if (!expectedStatuses.includes(result.status)) {
113
- const error = createRestError(result);
114
- error.details = errorResponseDeserializer(result.body);
115
- throw error;
116
- }
117
- return meshUpgradeProfileDeserializer(result.body);
118
- }
119
- async function getMeshUpgradeProfile(context, resourceGroupName, resourceName, mode, options = { requestOptions: {} }) {
120
- const result = await _getMeshUpgradeProfileSend(
121
- context,
122
- resourceGroupName,
123
- resourceName,
124
- mode,
125
- options
126
- );
127
- return _getMeshUpgradeProfileDeserialize(result);
128
- }
129
- function _listMeshRevisionProfilesSend(context, location, options = { requestOptions: {} }) {
130
- const path = expandUrlTemplate(
131
- "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles{?api%2Dversion}",
132
- {
133
- subscriptionId: context.subscriptionId,
134
- location,
135
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
136
- },
137
- {
138
- allowReserved: options?.requestOptions?.skipUrlEncoding
88
+ return meshUpgradeProfileDeserializer(result.body);
89
+ }
90
+ /** Gets available upgrades for a service mesh in a cluster. */
91
+ export async function getMeshUpgradeProfile(context, resourceGroupName, resourceName, mode, options = { requestOptions: {} }) {
92
+ const result = await _getMeshUpgradeProfileSend(context, resourceGroupName, resourceName, mode, options);
93
+ return _getMeshUpgradeProfileDeserialize(result);
94
+ }
95
+ export function _listMeshRevisionProfilesSend(context, location, options = { requestOptions: {} }) {
96
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles{?api%2Dversion}", {
97
+ subscriptionId: context.subscriptionId,
98
+ location: location,
99
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
100
+ }, {
101
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
102
+ });
103
+ return context.path(path).get({
104
+ ...operationOptionsToRequestParameters(options),
105
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
106
+ });
107
+ }
108
+ export async function _listMeshRevisionProfilesDeserialize(result) {
109
+ const expectedStatuses = ["200"];
110
+ if (!expectedStatuses.includes(result.status)) {
111
+ const error = createRestError(result);
112
+ error.details = errorResponseDeserializer(result.body);
113
+ throw error;
139
114
  }
140
- );
141
- return context.path(path).get({
142
- ...operationOptionsToRequestParameters(options),
143
- headers: { accept: "application/json", ...options.requestOptions?.headers }
144
- });
145
- }
146
- async function _listMeshRevisionProfilesDeserialize(result) {
147
- const expectedStatuses = ["200"];
148
- if (!expectedStatuses.includes(result.status)) {
149
- const error = createRestError(result);
150
- error.details = errorResponseDeserializer(result.body);
151
- throw error;
152
- }
153
- return _meshRevisionProfileListDeserializer(result.body);
154
- }
155
- function listMeshRevisionProfiles(context, location, options = { requestOptions: {} }) {
156
- return buildPagedAsyncIterator(
157
- context,
158
- () => _listMeshRevisionProfilesSend(context, location, options),
159
- _listMeshRevisionProfilesDeserialize,
160
- ["200"],
161
- { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-01-01" }
162
- );
163
- }
164
- function _getMeshRevisionProfileSend(context, location, mode, options = { requestOptions: {} }) {
165
- const path = expandUrlTemplate(
166
- "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles/{mode}{?api%2Dversion}",
167
- {
168
- subscriptionId: context.subscriptionId,
169
- location,
170
- mode,
171
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
172
- },
173
- {
174
- allowReserved: options?.requestOptions?.skipUrlEncoding
115
+ return _meshRevisionProfileListDeserializer(result.body);
116
+ }
117
+ /** Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades */
118
+ export function listMeshRevisionProfiles(context, location, options = { requestOptions: {} }) {
119
+ return buildPagedAsyncIterator(context, () => _listMeshRevisionProfilesSend(context, location, options), _listMeshRevisionProfilesDeserialize, ["200"], {
120
+ itemName: "value",
121
+ nextLinkName: "nextLink",
122
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
123
+ });
124
+ }
125
+ export function _getMeshRevisionProfileSend(context, location, mode, options = { requestOptions: {} }) {
126
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles/{mode}{?api%2Dversion}", {
127
+ subscriptionId: context.subscriptionId,
128
+ location: location,
129
+ mode: mode,
130
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
131
+ }, {
132
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
133
+ });
134
+ return context.path(path).get({
135
+ ...operationOptionsToRequestParameters(options),
136
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
137
+ });
138
+ }
139
+ export async function _getMeshRevisionProfileDeserialize(result) {
140
+ const expectedStatuses = ["200"];
141
+ if (!expectedStatuses.includes(result.status)) {
142
+ const error = createRestError(result);
143
+ error.details = errorResponseDeserializer(result.body);
144
+ throw error;
175
145
  }
176
- );
177
- return context.path(path).get({
178
- ...operationOptionsToRequestParameters(options),
179
- headers: { accept: "application/json", ...options.requestOptions?.headers }
180
- });
181
- }
182
- async function _getMeshRevisionProfileDeserialize(result) {
183
- const expectedStatuses = ["200"];
184
- if (!expectedStatuses.includes(result.status)) {
185
- const error = createRestError(result);
186
- error.details = errorResponseDeserializer(result.body);
187
- throw error;
188
- }
189
- return meshRevisionProfileDeserializer(result.body);
190
- }
191
- async function getMeshRevisionProfile(context, location, mode, options = { requestOptions: {} }) {
192
- const result = await _getMeshRevisionProfileSend(context, location, mode, options);
193
- return _getMeshRevisionProfileDeserialize(result);
194
- }
195
- function _getUpgradeProfileSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
196
- const path = expandUrlTemplate(
197
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default{?api%2Dversion}",
198
- {
199
- subscriptionId: context.subscriptionId,
200
- resourceGroupName,
201
- resourceName,
202
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
203
- },
204
- {
205
- allowReserved: options?.requestOptions?.skipUrlEncoding
146
+ return meshRevisionProfileDeserializer(result.body);
147
+ }
148
+ /** Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades */
149
+ export async function getMeshRevisionProfile(context, location, mode, options = { requestOptions: {} }) {
150
+ const result = await _getMeshRevisionProfileSend(context, location, mode, options);
151
+ return _getMeshRevisionProfileDeserialize(result);
152
+ }
153
+ export function _listSafeguardsVersionsSend(context, location, options = { requestOptions: {} }) {
154
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/safeguardsVersions{?api%2Dversion}", {
155
+ subscriptionId: context.subscriptionId,
156
+ location: location,
157
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
158
+ }, {
159
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
160
+ });
161
+ return context.path(path).get({
162
+ ...operationOptionsToRequestParameters(options),
163
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
164
+ });
165
+ }
166
+ export async function _listSafeguardsVersionsDeserialize(result) {
167
+ const expectedStatuses = ["200"];
168
+ if (!expectedStatuses.includes(result.status)) {
169
+ const error = createRestError(result);
170
+ error.details = errorResponseDeserializer(result.body);
171
+ throw error;
206
172
  }
207
- );
208
- return context.path(path).get({
209
- ...operationOptionsToRequestParameters(options),
210
- headers: { accept: "application/json", ...options.requestOptions?.headers }
211
- });
212
- }
213
- async function _getUpgradeProfileDeserialize(result) {
214
- const expectedStatuses = ["200"];
215
- if (!expectedStatuses.includes(result.status)) {
216
- const error = createRestError(result);
217
- error.details = errorResponseDeserializer(result.body);
218
- throw error;
219
- }
220
- return managedClusterUpgradeProfileDeserializer(result.body);
221
- }
222
- async function getUpgradeProfile(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
223
- const result = await _getUpgradeProfileSend(context, resourceGroupName, resourceName, options);
224
- return _getUpgradeProfileDeserialize(result);
225
- }
226
- function _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options = {
227
- requestOptions: {}
228
- }) {
229
- const path = expandUrlTemplate(
230
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints{?api%2Dversion}",
231
- {
232
- subscriptionId: context.subscriptionId,
233
- resourceGroupName,
234
- resourceName,
235
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
236
- },
237
- {
238
- allowReserved: options?.requestOptions?.skipUrlEncoding
173
+ return _safeguardsAvailableVersionsListDeserializer(result.body);
174
+ }
175
+ /** Contains list of Safeguards version along with its support info and whether it is a default version. */
176
+ export function listSafeguardsVersions(context, location, options = { requestOptions: {} }) {
177
+ return buildPagedAsyncIterator(context, () => _listSafeguardsVersionsSend(context, location, options), _listSafeguardsVersionsDeserialize, ["200"], {
178
+ itemName: "value",
179
+ nextLinkName: "nextLink",
180
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
181
+ });
182
+ }
183
+ export function _getSafeguardsVersionsSend(context, location, version, options = { requestOptions: {} }) {
184
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/safeguardsVersions/{version}{?api%2Dversion}", {
185
+ subscriptionId: context.subscriptionId,
186
+ location: location,
187
+ version: version,
188
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
189
+ }, {
190
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
191
+ });
192
+ return context.path(path).get({
193
+ ...operationOptionsToRequestParameters(options),
194
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
195
+ });
196
+ }
197
+ export async function _getSafeguardsVersionsDeserialize(result) {
198
+ const expectedStatuses = ["200"];
199
+ if (!expectedStatuses.includes(result.status)) {
200
+ const error = createRestError(result);
201
+ error.details = errorResponseDeserializer(result.body);
202
+ throw error;
239
203
  }
240
- );
241
- return context.path(path).get({
242
- ...operationOptionsToRequestParameters(options),
243
- headers: { accept: "application/json", ...options.requestOptions?.headers }
244
- });
245
- }
246
- async function _listOutboundNetworkDependenciesEndpointsDeserialize(result) {
247
- const expectedStatuses = ["200"];
248
- if (!expectedStatuses.includes(result.status)) {
249
- const error = createRestError(result);
250
- error.details = errorResponseDeserializer(result.body);
251
- throw error;
252
- }
253
- return _outboundEnvironmentEndpointCollectionDeserializer(result.body);
254
- }
255
- function listOutboundNetworkDependenciesEndpoints(context, resourceGroupName, resourceName, options = {
256
- requestOptions: {}
257
- }) {
258
- return buildPagedAsyncIterator(
259
- context,
260
- () => _listOutboundNetworkDependenciesEndpointsSend(
261
- context,
262
- resourceGroupName,
263
- resourceName,
264
- options
265
- ),
266
- _listOutboundNetworkDependenciesEndpointsDeserialize,
267
- ["200"],
268
- { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-01-01" }
269
- );
270
- }
271
- function _getCommandResultSend(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
272
- const path = expandUrlTemplate(
273
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}{?api%2Dversion}",
274
- {
275
- subscriptionId: context.subscriptionId,
276
- resourceGroupName,
277
- resourceName,
278
- commandId,
279
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
280
- },
281
- {
282
- allowReserved: options?.requestOptions?.skipUrlEncoding
204
+ return safeguardsAvailableVersionDeserializer(result.body);
205
+ }
206
+ /** Contains Safeguards version along with its support info and whether it is a default version. */
207
+ export async function getSafeguardsVersions(context, location, version, options = { requestOptions: {} }) {
208
+ const result = await _getSafeguardsVersionsSend(context, location, version, options);
209
+ return _getSafeguardsVersionsDeserialize(result);
210
+ }
211
+ export function _listGuardrailsVersionsSend(context, location, options = { requestOptions: {} }) {
212
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/guardrailsVersions{?api%2Dversion}", {
213
+ subscriptionId: context.subscriptionId,
214
+ location: location,
215
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
216
+ }, {
217
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
218
+ });
219
+ return context.path(path).get({
220
+ ...operationOptionsToRequestParameters(options),
221
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
222
+ });
223
+ }
224
+ export async function _listGuardrailsVersionsDeserialize(result) {
225
+ const expectedStatuses = ["200"];
226
+ if (!expectedStatuses.includes(result.status)) {
227
+ const error = createRestError(result);
228
+ error.details = errorResponseDeserializer(result.body);
229
+ throw error;
283
230
  }
284
- );
285
- return context.path(path).get({
286
- ...operationOptionsToRequestParameters(options),
287
- headers: { accept: "application/json", ...options.requestOptions?.headers }
288
- });
289
- }
290
- async function _getCommandResultDeserialize(result) {
291
- const expectedStatuses = ["200", "202"];
292
- if (!expectedStatuses.includes(result.status)) {
293
- const error = createRestError(result);
294
- error.details = errorResponseDeserializer(result.body);
295
- throw error;
296
- }
297
- return runCommandResultDeserializer(result.body);
298
- }
299
- async function getCommandResult(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
300
- const result = await _getCommandResultSend(
301
- context,
302
- resourceGroupName,
303
- resourceName,
304
- commandId,
305
- options
306
- );
307
- return _getCommandResultDeserialize(result);
308
- }
309
- function _runCommandSend(context, resourceGroupName, resourceName, requestPayload, options = { requestOptions: {} }) {
310
- const path = expandUrlTemplate(
311
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand{?api%2Dversion}",
312
- {
313
- subscriptionId: context.subscriptionId,
314
- resourceGroupName,
315
- resourceName,
316
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
317
- },
318
- {
319
- allowReserved: options?.requestOptions?.skipUrlEncoding
231
+ return _guardrailsAvailableVersionsListDeserializer(result.body);
232
+ }
233
+ /** Contains list of Guardrails version along with its support info and whether it is a default version. */
234
+ export function listGuardrailsVersions(context, location, options = { requestOptions: {} }) {
235
+ return buildPagedAsyncIterator(context, () => _listGuardrailsVersionsSend(context, location, options), _listGuardrailsVersionsDeserialize, ["200"], {
236
+ itemName: "value",
237
+ nextLinkName: "nextLink",
238
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
239
+ });
240
+ }
241
+ export function _getGuardrailsVersionsSend(context, location, version, options = { requestOptions: {} }) {
242
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/guardrailsVersions/{version}{?api%2Dversion}", {
243
+ subscriptionId: context.subscriptionId,
244
+ location: location,
245
+ version: version,
246
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
247
+ }, {
248
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
249
+ });
250
+ return context.path(path).get({
251
+ ...operationOptionsToRequestParameters(options),
252
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
253
+ });
254
+ }
255
+ export async function _getGuardrailsVersionsDeserialize(result) {
256
+ const expectedStatuses = ["200"];
257
+ if (!expectedStatuses.includes(result.status)) {
258
+ const error = createRestError(result);
259
+ error.details = errorResponseDeserializer(result.body);
260
+ throw error;
320
261
  }
321
- );
322
- return context.path(path).post({
323
- ...operationOptionsToRequestParameters(options),
324
- contentType: "application/json",
325
- headers: { accept: "application/json", ...options.requestOptions?.headers },
326
- body: runCommandRequestSerializer(requestPayload)
327
- });
328
- }
329
- async function _runCommandDeserialize(result) {
330
- const expectedStatuses = ["202", "200", "201"];
331
- if (!expectedStatuses.includes(result.status)) {
332
- const error = createRestError(result);
333
- error.details = errorResponseDeserializer(result.body);
334
- throw error;
335
- }
336
- return runCommandResultDeserializer(result.body);
337
- }
338
- function runCommand(context, resourceGroupName, resourceName, requestPayload, options = { requestOptions: {} }) {
339
- return getLongRunningPoller(context, _runCommandDeserialize, ["202", "200", "201"], {
340
- updateIntervalInMs: options?.updateIntervalInMs,
341
- abortSignal: options?.abortSignal,
342
- getInitialResponse: () => _runCommandSend(context, resourceGroupName, resourceName, requestPayload, options),
343
- resourceLocationConfig: "location",
344
- apiVersion: context.apiVersion ?? "2026-01-01"
345
- });
346
- }
347
- function _startSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
348
- const path = expandUrlTemplate(
349
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start{?api%2Dversion}",
350
- {
351
- subscriptionId: context.subscriptionId,
352
- resourceGroupName,
353
- resourceName,
354
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
355
- },
356
- {
357
- allowReserved: options?.requestOptions?.skipUrlEncoding
262
+ return guardrailsAvailableVersionDeserializer(result.body);
263
+ }
264
+ /** Contains Guardrails version along with its support info and whether it is a default version. */
265
+ export async function getGuardrailsVersions(context, location, version, options = { requestOptions: {} }) {
266
+ const result = await _getGuardrailsVersionsSend(context, location, version, options);
267
+ return _getGuardrailsVersionsDeserialize(result);
268
+ }
269
+ export function _getUpgradeProfileSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
270
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default{?api%2Dversion}", {
271
+ subscriptionId: context.subscriptionId,
272
+ resourceGroupName: resourceGroupName,
273
+ resourceName: resourceName,
274
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
275
+ }, {
276
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
277
+ });
278
+ return context.path(path).get({
279
+ ...operationOptionsToRequestParameters(options),
280
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
281
+ });
282
+ }
283
+ export async function _getUpgradeProfileDeserialize(result) {
284
+ const expectedStatuses = ["200"];
285
+ if (!expectedStatuses.includes(result.status)) {
286
+ const error = createRestError(result);
287
+ error.details = errorResponseDeserializer(result.body);
288
+ throw error;
358
289
  }
359
- );
360
- return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
361
- }
362
- async function _startDeserialize(result) {
363
- const expectedStatuses = ["202", "204", "200", "201"];
364
- if (!expectedStatuses.includes(result.status)) {
365
- const error = createRestError(result);
366
- error.details = errorResponseDeserializer(result.body);
367
- throw error;
368
- }
369
- return;
370
- }
371
- function start(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
372
- return getLongRunningPoller(context, _startDeserialize, ["202", "204", "200", "201"], {
373
- updateIntervalInMs: options?.updateIntervalInMs,
374
- abortSignal: options?.abortSignal,
375
- getInitialResponse: () => _startSend(context, resourceGroupName, resourceName, options),
376
- resourceLocationConfig: "location",
377
- apiVersion: context.apiVersion ?? "2026-01-01"
378
- });
379
- }
380
- function _stopSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
381
- const path = expandUrlTemplate(
382
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop{?api%2Dversion}",
383
- {
384
- subscriptionId: context.subscriptionId,
385
- resourceGroupName,
386
- resourceName,
387
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
388
- },
389
- {
390
- allowReserved: options?.requestOptions?.skipUrlEncoding
290
+ return managedClusterUpgradeProfileDeserializer(result.body);
291
+ }
292
+ /** Gets the upgrade profile of a managed cluster. */
293
+ export async function getUpgradeProfile(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
294
+ const result = await _getUpgradeProfileSend(context, resourceGroupName, resourceName, options);
295
+ return _getUpgradeProfileDeserialize(result);
296
+ }
297
+ export function _rebalanceLoadBalancersSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
298
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rebalanceLoadBalancers{?api%2Dversion}", {
299
+ subscriptionId: context.subscriptionId,
300
+ resourceGroupName: resourceGroupName,
301
+ resourceName: resourceName,
302
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
303
+ }, {
304
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
305
+ });
306
+ return context.path(path).post({
307
+ ...operationOptionsToRequestParameters(options),
308
+ contentType: "application/json",
309
+ body: rebalanceLoadBalancersRequestBodySerializer(parameters),
310
+ });
311
+ }
312
+ export async function _rebalanceLoadBalancersDeserialize(result) {
313
+ const expectedStatuses = ["202", "204", "200", "201"];
314
+ if (!expectedStatuses.includes(result.status)) {
315
+ const error = createRestError(result);
316
+ error.details = errorResponseDeserializer(result.body);
317
+ throw error;
391
318
  }
392
- );
393
- return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
394
- }
395
- async function _stopDeserialize(result) {
396
- const expectedStatuses = ["202", "204", "200", "201"];
397
- if (!expectedStatuses.includes(result.status)) {
398
- const error = createRestError(result);
399
- error.details = errorResponseDeserializer(result.body);
400
- throw error;
401
- }
402
- return;
403
- }
404
- function stop(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
405
- return getLongRunningPoller(context, _stopDeserialize, ["202", "204", "200", "201"], {
406
- updateIntervalInMs: options?.updateIntervalInMs,
407
- abortSignal: options?.abortSignal,
408
- getInitialResponse: () => _stopSend(context, resourceGroupName, resourceName, options),
409
- resourceLocationConfig: "location",
410
- apiVersion: context.apiVersion ?? "2026-01-01"
411
- });
412
- }
413
- function _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
414
- const path = expandUrlTemplate(
415
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys{?api%2Dversion}",
416
- {
417
- subscriptionId: context.subscriptionId,
418
- resourceGroupName,
419
- resourceName,
420
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
421
- },
422
- {
423
- allowReserved: options?.requestOptions?.skipUrlEncoding
319
+ return;
320
+ }
321
+ /** Rebalance nodes across specific load balancers. */
322
+ export function rebalanceLoadBalancers(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
323
+ return getLongRunningPoller(context, _rebalanceLoadBalancersDeserialize, ["202", "204", "200", "201"], {
324
+ updateIntervalInMs: options?.updateIntervalInMs,
325
+ abortSignal: options?.abortSignal,
326
+ getInitialResponse: () => _rebalanceLoadBalancersSend(context, resourceGroupName, resourceName, parameters, options),
327
+ resourceLocationConfig: "azure-async-operation",
328
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
329
+ });
330
+ }
331
+ export function _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options = {
332
+ requestOptions: {},
333
+ }) {
334
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints{?api%2Dversion}", {
335
+ subscriptionId: context.subscriptionId,
336
+ resourceGroupName: resourceGroupName,
337
+ resourceName: resourceName,
338
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
339
+ }, {
340
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
341
+ });
342
+ return context.path(path).get({
343
+ ...operationOptionsToRequestParameters(options),
344
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
345
+ });
346
+ }
347
+ export async function _listOutboundNetworkDependenciesEndpointsDeserialize(result) {
348
+ const expectedStatuses = ["200"];
349
+ if (!expectedStatuses.includes(result.status)) {
350
+ const error = createRestError(result);
351
+ error.details = errorResponseDeserializer(result.body);
352
+ throw error;
424
353
  }
425
- );
426
- return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
427
- }
428
- async function _rotateServiceAccountSigningKeysDeserialize(result) {
429
- const expectedStatuses = ["202", "204", "200", "201"];
430
- if (!expectedStatuses.includes(result.status)) {
431
- const error = createRestError(result);
432
- error.details = errorResponseDeserializer(result.body);
433
- throw error;
434
- }
435
- return;
436
- }
437
- function rotateServiceAccountSigningKeys(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
438
- return getLongRunningPoller(
439
- context,
440
- _rotateServiceAccountSigningKeysDeserialize,
441
- ["202", "204", "200", "201"],
442
- {
443
- updateIntervalInMs: options?.updateIntervalInMs,
444
- abortSignal: options?.abortSignal,
445
- getInitialResponse: () => _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options),
446
- resourceLocationConfig: "location",
447
- apiVersion: context.apiVersion ?? "2026-01-01"
354
+ return _outboundEnvironmentEndpointCollectionDeserializer(result.body);
355
+ }
356
+ /** Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. */
357
+ export function listOutboundNetworkDependenciesEndpoints(context, resourceGroupName, resourceName, options = {
358
+ requestOptions: {},
359
+ }) {
360
+ return buildPagedAsyncIterator(context, () => _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options), _listOutboundNetworkDependenciesEndpointsDeserialize, ["200"], {
361
+ itemName: "value",
362
+ nextLinkName: "nextLink",
363
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
364
+ });
365
+ }
366
+ export function _getCommandResultSend(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
367
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}{?api%2Dversion}", {
368
+ subscriptionId: context.subscriptionId,
369
+ resourceGroupName: resourceGroupName,
370
+ resourceName: resourceName,
371
+ commandId: commandId,
372
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
373
+ }, {
374
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
375
+ });
376
+ return context.path(path).get({
377
+ ...operationOptionsToRequestParameters(options),
378
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
379
+ });
380
+ }
381
+ export async function _getCommandResultDeserialize(result) {
382
+ const expectedStatuses = ["200", "202"];
383
+ if (!expectedStatuses.includes(result.status)) {
384
+ const error = createRestError(result);
385
+ error.details = errorResponseDeserializer(result.body);
386
+ throw error;
448
387
  }
449
- );
450
- }
451
- function _abortLatestOperationSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
452
- const path = expandUrlTemplate(
453
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/abort{?api%2Dversion}",
454
- {
455
- subscriptionId: context.subscriptionId,
456
- resourceGroupName,
457
- resourceName,
458
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
459
- },
460
- {
461
- allowReserved: options?.requestOptions?.skipUrlEncoding
388
+ return runCommandResultDeserializer(result.body);
389
+ }
390
+ /** Gets the results of a command which has been run on the Managed Cluster. */
391
+ export async function getCommandResult(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
392
+ const result = await _getCommandResultSend(context, resourceGroupName, resourceName, commandId, options);
393
+ return _getCommandResultDeserialize(result);
394
+ }
395
+ export function _runCommandSend(context, resourceGroupName, resourceName, requestPayload, options = { requestOptions: {} }) {
396
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand{?api%2Dversion}", {
397
+ subscriptionId: context.subscriptionId,
398
+ resourceGroupName: resourceGroupName,
399
+ resourceName: resourceName,
400
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
401
+ }, {
402
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
403
+ });
404
+ return context.path(path).post({
405
+ ...operationOptionsToRequestParameters(options),
406
+ contentType: "application/json",
407
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
408
+ body: runCommandRequestSerializer(requestPayload),
409
+ });
410
+ }
411
+ export async function _runCommandDeserialize(result) {
412
+ const expectedStatuses = ["202", "200", "201"];
413
+ if (!expectedStatuses.includes(result.status)) {
414
+ const error = createRestError(result);
415
+ error.details = errorResponseDeserializer(result.body);
416
+ throw error;
462
417
  }
463
- );
464
- return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
465
- }
466
- async function _abortLatestOperationDeserialize(result) {
467
- const expectedStatuses = ["202", "204", "200", "201"];
468
- if (!expectedStatuses.includes(result.status)) {
469
- const error = createRestError(result);
470
- error.details = errorResponseDeserializer(result.body);
471
- throw error;
472
- }
473
- return;
474
- }
475
- function abortLatestOperation(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
476
- return getLongRunningPoller(
477
- context,
478
- _abortLatestOperationDeserialize,
479
- ["202", "204", "200", "201"],
480
- {
481
- updateIntervalInMs: options?.updateIntervalInMs,
482
- abortSignal: options?.abortSignal,
483
- getInitialResponse: () => _abortLatestOperationSend(context, resourceGroupName, resourceName, options),
484
- resourceLocationConfig: "location",
485
- apiVersion: context.apiVersion ?? "2026-01-01"
418
+ return runCommandResultDeserializer(result.body);
419
+ }
420
+ /** AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). */
421
+ export function runCommand(context, resourceGroupName, resourceName, requestPayload, options = { requestOptions: {} }) {
422
+ return getLongRunningPoller(context, _runCommandDeserialize, ["202", "200", "201"], {
423
+ updateIntervalInMs: options?.updateIntervalInMs,
424
+ abortSignal: options?.abortSignal,
425
+ getInitialResponse: () => _runCommandSend(context, resourceGroupName, resourceName, requestPayload, options),
426
+ resourceLocationConfig: "location",
427
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
428
+ });
429
+ }
430
+ export function _startSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
431
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start{?api%2Dversion}", {
432
+ subscriptionId: context.subscriptionId,
433
+ resourceGroupName: resourceGroupName,
434
+ resourceName: resourceName,
435
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
436
+ }, {
437
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
438
+ });
439
+ return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
440
+ }
441
+ export async function _startDeserialize(result) {
442
+ const expectedStatuses = ["202", "204", "200", "201"];
443
+ if (!expectedStatuses.includes(result.status)) {
444
+ const error = createRestError(result);
445
+ error.details = errorResponseDeserializer(result.body);
446
+ throw error;
486
447
  }
487
- );
488
- }
489
- function _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
490
- const path = expandUrlTemplate(
491
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates{?api%2Dversion}",
492
- {
493
- subscriptionId: context.subscriptionId,
494
- resourceGroupName,
495
- resourceName,
496
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
497
- },
498
- {
499
- allowReserved: options?.requestOptions?.skipUrlEncoding
448
+ return;
449
+ }
450
+ /** See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. */
451
+ export function start(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
452
+ return getLongRunningPoller(context, _startDeserialize, ["202", "204", "200", "201"], {
453
+ updateIntervalInMs: options?.updateIntervalInMs,
454
+ abortSignal: options?.abortSignal,
455
+ getInitialResponse: () => _startSend(context, resourceGroupName, resourceName, options),
456
+ resourceLocationConfig: "location",
457
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
458
+ });
459
+ }
460
+ export function _stopSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
461
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop{?api%2Dversion}", {
462
+ subscriptionId: context.subscriptionId,
463
+ resourceGroupName: resourceGroupName,
464
+ resourceName: resourceName,
465
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
466
+ }, {
467
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
468
+ });
469
+ return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
470
+ }
471
+ export async function _stopDeserialize(result) {
472
+ const expectedStatuses = ["202", "204", "200", "201"];
473
+ if (!expectedStatuses.includes(result.status)) {
474
+ const error = createRestError(result);
475
+ error.details = errorResponseDeserializer(result.body);
476
+ throw error;
500
477
  }
501
- );
502
- return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
503
- }
504
- async function _rotateClusterCertificatesDeserialize(result) {
505
- const expectedStatuses = ["202", "204", "200", "201"];
506
- if (!expectedStatuses.includes(result.status)) {
507
- const error = createRestError(result);
508
- error.details = errorResponseDeserializer(result.body);
509
- throw error;
510
- }
511
- return;
512
- }
513
- function rotateClusterCertificates(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
514
- return getLongRunningPoller(
515
- context,
516
- _rotateClusterCertificatesDeserialize,
517
- ["202", "204", "200", "201"],
518
- {
519
- updateIntervalInMs: options?.updateIntervalInMs,
520
- abortSignal: options?.abortSignal,
521
- getInitialResponse: () => _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options),
522
- resourceLocationConfig: "location",
523
- apiVersion: context.apiVersion ?? "2026-01-01"
478
+ return;
479
+ }
480
+ /** This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. */
481
+ export function stop(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
482
+ return getLongRunningPoller(context, _stopDeserialize, ["202", "204", "200", "201"], {
483
+ updateIntervalInMs: options?.updateIntervalInMs,
484
+ abortSignal: options?.abortSignal,
485
+ getInitialResponse: () => _stopSend(context, resourceGroupName, resourceName, options),
486
+ resourceLocationConfig: "location",
487
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
488
+ });
489
+ }
490
+ export function _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
491
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys{?api%2Dversion}", {
492
+ subscriptionId: context.subscriptionId,
493
+ resourceGroupName: resourceGroupName,
494
+ resourceName: resourceName,
495
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
496
+ }, {
497
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
498
+ });
499
+ return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
500
+ }
501
+ export async function _rotateServiceAccountSigningKeysDeserialize(result) {
502
+ const expectedStatuses = ["202", "204", "200", "201"];
503
+ if (!expectedStatuses.includes(result.status)) {
504
+ const error = createRestError(result);
505
+ error.details = errorResponseDeserializer(result.body);
506
+ throw error;
524
507
  }
525
- );
526
- }
527
- function _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
528
- const path = expandUrlTemplate(
529
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile{?api%2Dversion}",
530
- {
531
- subscriptionId: context.subscriptionId,
532
- resourceGroupName,
533
- resourceName,
534
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
535
- },
536
- {
537
- allowReserved: options?.requestOptions?.skipUrlEncoding
508
+ return;
509
+ }
510
+ /** Rotates the service account signing keys of a managed cluster. */
511
+ export function rotateServiceAccountSigningKeys(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
512
+ return getLongRunningPoller(context, _rotateServiceAccountSigningKeysDeserialize, ["202", "204", "200", "201"], {
513
+ updateIntervalInMs: options?.updateIntervalInMs,
514
+ abortSignal: options?.abortSignal,
515
+ getInitialResponse: () => _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options),
516
+ resourceLocationConfig: "location",
517
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
518
+ });
519
+ }
520
+ export function _abortLatestOperationSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
521
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/abort{?api%2Dversion}", {
522
+ subscriptionId: context.subscriptionId,
523
+ resourceGroupName: resourceGroupName,
524
+ resourceName: resourceName,
525
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
526
+ }, {
527
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
528
+ });
529
+ return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
530
+ }
531
+ export async function _abortLatestOperationDeserialize(result) {
532
+ const expectedStatuses = ["202", "204", "200", "201"];
533
+ if (!expectedStatuses.includes(result.status)) {
534
+ const error = createRestError(result);
535
+ error.details = errorResponseDeserializer(result.body);
536
+ throw error;
538
537
  }
539
- );
540
- return context.path(path).post({
541
- ...operationOptionsToRequestParameters(options),
542
- contentType: "application/json",
543
- body: managedClusterAADProfileSerializer(parameters)
544
- });
545
- }
546
- async function _resetAADProfileDeserialize(result) {
547
- const expectedStatuses = ["202", "200", "201"];
548
- if (!expectedStatuses.includes(result.status)) {
549
- const error = createRestError(result);
550
- error.details = errorResponseDeserializer(result.body);
551
- throw error;
552
- }
553
- return;
554
- }
555
- function resetAADProfile(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
556
- return getLongRunningPoller(context, _resetAADProfileDeserialize, ["202", "200", "201"], {
557
- updateIntervalInMs: options?.updateIntervalInMs,
558
- abortSignal: options?.abortSignal,
559
- getInitialResponse: () => _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options),
560
- resourceLocationConfig: "location",
561
- apiVersion: context.apiVersion ?? "2026-01-01"
562
- });
563
- }
564
- function _resetServicePrincipalProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
565
- const path = expandUrlTemplate(
566
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile{?api%2Dversion}",
567
- {
568
- subscriptionId: context.subscriptionId,
569
- resourceGroupName,
570
- resourceName,
571
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
572
- },
573
- {
574
- allowReserved: options?.requestOptions?.skipUrlEncoding
538
+ return;
539
+ }
540
+ /** Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. */
541
+ export function abortLatestOperation(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
542
+ return getLongRunningPoller(context, _abortLatestOperationDeserialize, ["202", "204", "200", "201"], {
543
+ updateIntervalInMs: options?.updateIntervalInMs,
544
+ abortSignal: options?.abortSignal,
545
+ getInitialResponse: () => _abortLatestOperationSend(context, resourceGroupName, resourceName, options),
546
+ resourceLocationConfig: "location",
547
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
548
+ });
549
+ }
550
+ export function _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
551
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates{?api%2Dversion}", {
552
+ subscriptionId: context.subscriptionId,
553
+ resourceGroupName: resourceGroupName,
554
+ resourceName: resourceName,
555
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
556
+ }, {
557
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
558
+ });
559
+ return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
560
+ }
561
+ export async function _rotateClusterCertificatesDeserialize(result) {
562
+ const expectedStatuses = ["202", "204", "200", "201"];
563
+ if (!expectedStatuses.includes(result.status)) {
564
+ const error = createRestError(result);
565
+ error.details = errorResponseDeserializer(result.body);
566
+ throw error;
575
567
  }
576
- );
577
- return context.path(path).post({
578
- ...operationOptionsToRequestParameters(options),
579
- contentType: "application/json",
580
- body: managedClusterServicePrincipalProfileSerializer(parameters)
581
- });
582
- }
583
- async function _resetServicePrincipalProfileDeserialize(result) {
584
- const expectedStatuses = ["202", "200", "201"];
585
- if (!expectedStatuses.includes(result.status)) {
586
- const error = createRestError(result);
587
- error.details = errorResponseDeserializer(result.body);
588
- throw error;
589
- }
590
- return;
591
- }
592
- function resetServicePrincipalProfile(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
593
- return getLongRunningPoller(
594
- context,
595
- _resetServicePrincipalProfileDeserialize,
596
- ["202", "200", "201"],
597
- {
598
- updateIntervalInMs: options?.updateIntervalInMs,
599
- abortSignal: options?.abortSignal,
600
- getInitialResponse: () => _resetServicePrincipalProfileSend(
601
- context,
602
- resourceGroupName,
603
- resourceName,
604
- parameters,
605
- options
606
- ),
607
- resourceLocationConfig: "location",
608
- apiVersion: context.apiVersion ?? "2026-01-01"
568
+ return;
569
+ }
570
+ /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */
571
+ export function rotateClusterCertificates(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
572
+ return getLongRunningPoller(context, _rotateClusterCertificatesDeserialize, ["202", "204", "200", "201"], {
573
+ updateIntervalInMs: options?.updateIntervalInMs,
574
+ abortSignal: options?.abortSignal,
575
+ getInitialResponse: () => _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options),
576
+ resourceLocationConfig: "location",
577
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
578
+ });
579
+ }
580
+ export function _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
581
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile{?api%2Dversion}", {
582
+ subscriptionId: context.subscriptionId,
583
+ resourceGroupName: resourceGroupName,
584
+ resourceName: resourceName,
585
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
586
+ }, {
587
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
588
+ });
589
+ return context.path(path).post({
590
+ ...operationOptionsToRequestParameters(options),
591
+ contentType: "application/json",
592
+ body: managedClusterAADProfileSerializer(parameters),
593
+ });
594
+ }
595
+ export async function _resetAADProfileDeserialize(result) {
596
+ const expectedStatuses = ["202", "200", "201"];
597
+ if (!expectedStatuses.includes(result.status)) {
598
+ const error = createRestError(result);
599
+ error.details = errorResponseDeserializer(result.body);
600
+ throw error;
609
601
  }
610
- );
611
- }
612
- function _listClusterMonitoringUserCredentialsSend(context, resourceGroupName, resourceName, options = {
613
- requestOptions: {}
614
- }) {
615
- const path = expandUrlTemplate(
616
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential{?api%2Dversion,server%2Dfqdn}",
617
- {
618
- subscriptionId: context.subscriptionId,
619
- resourceGroupName,
620
- resourceName,
621
- "api%2Dversion": context.apiVersion ?? "2026-01-01",
622
- "server%2Dfqdn": options?.serverFqdn
623
- },
624
- {
625
- allowReserved: options?.requestOptions?.skipUrlEncoding
602
+ return;
603
+ }
604
+ /** **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. */
605
+ export function resetAADProfile(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
606
+ return getLongRunningPoller(context, _resetAADProfileDeserialize, ["202", "200", "201"], {
607
+ updateIntervalInMs: options?.updateIntervalInMs,
608
+ abortSignal: options?.abortSignal,
609
+ getInitialResponse: () => _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options),
610
+ resourceLocationConfig: "location",
611
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
612
+ });
613
+ }
614
+ export function _resetServicePrincipalProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
615
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile{?api%2Dversion}", {
616
+ subscriptionId: context.subscriptionId,
617
+ resourceGroupName: resourceGroupName,
618
+ resourceName: resourceName,
619
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
620
+ }, {
621
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
622
+ });
623
+ return context.path(path).post({
624
+ ...operationOptionsToRequestParameters(options),
625
+ contentType: "application/json",
626
+ body: managedClusterServicePrincipalProfileSerializer(parameters),
627
+ });
628
+ }
629
+ export async function _resetServicePrincipalProfileDeserialize(result) {
630
+ const expectedStatuses = ["202", "200", "201"];
631
+ if (!expectedStatuses.includes(result.status)) {
632
+ const error = createRestError(result);
633
+ error.details = errorResponseDeserializer(result.body);
634
+ throw error;
626
635
  }
627
- );
628
- return context.path(path).post({
629
- ...operationOptionsToRequestParameters(options),
630
- headers: { accept: "application/json", ...options.requestOptions?.headers }
631
- });
632
- }
633
- async function _listClusterMonitoringUserCredentialsDeserialize(result) {
634
- const expectedStatuses = ["200"];
635
- if (!expectedStatuses.includes(result.status)) {
636
- const error = createRestError(result);
637
- error.details = errorResponseDeserializer(result.body);
638
- throw error;
639
- }
640
- return credentialResultsDeserializer(result.body);
641
- }
642
- async function listClusterMonitoringUserCredentials(context, resourceGroupName, resourceName, options = {
643
- requestOptions: {}
636
+ return;
637
+ }
638
+ /** This action cannot be performed on a cluster that is not using a service principal */
639
+ export function resetServicePrincipalProfile(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
640
+ return getLongRunningPoller(context, _resetServicePrincipalProfileDeserialize, ["202", "200", "201"], {
641
+ updateIntervalInMs: options?.updateIntervalInMs,
642
+ abortSignal: options?.abortSignal,
643
+ getInitialResponse: () => _resetServicePrincipalProfileSend(context, resourceGroupName, resourceName, parameters, options),
644
+ resourceLocationConfig: "location",
645
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
646
+ });
647
+ }
648
+ export function _listClusterMonitoringUserCredentialsSend(context, resourceGroupName, resourceName, options = {
649
+ requestOptions: {},
644
650
  }) {
645
- const result = await _listClusterMonitoringUserCredentialsSend(
646
- context,
647
- resourceGroupName,
648
- resourceName,
649
- options
650
- );
651
- return _listClusterMonitoringUserCredentialsDeserialize(result);
652
- }
653
- function _listClusterUserCredentialsSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
654
- const path = expandUrlTemplate(
655
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential{?api%2Dversion,server%2Dfqdn,format}",
656
- {
657
- subscriptionId: context.subscriptionId,
658
- resourceGroupName,
659
- resourceName,
660
- "api%2Dversion": context.apiVersion ?? "2026-01-01",
661
- "server%2Dfqdn": options?.serverFqdn,
662
- format: options?.format
663
- },
664
- {
665
- allowReserved: options?.requestOptions?.skipUrlEncoding
651
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential{?api%2Dversion,server%2Dfqdn}", {
652
+ subscriptionId: context.subscriptionId,
653
+ resourceGroupName: resourceGroupName,
654
+ resourceName: resourceName,
655
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
656
+ "server%2Dfqdn": options?.serverFqdn,
657
+ }, {
658
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
659
+ });
660
+ return context.path(path).post({
661
+ ...operationOptionsToRequestParameters(options),
662
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
663
+ });
664
+ }
665
+ export async function _listClusterMonitoringUserCredentialsDeserialize(result) {
666
+ const expectedStatuses = ["200"];
667
+ if (!expectedStatuses.includes(result.status)) {
668
+ const error = createRestError(result);
669
+ error.details = errorResponseDeserializer(result.body);
670
+ throw error;
666
671
  }
667
- );
668
- return context.path(path).post({
669
- ...operationOptionsToRequestParameters(options),
670
- headers: { accept: "application/json", ...options.requestOptions?.headers }
671
- });
672
- }
673
- async function _listClusterUserCredentialsDeserialize(result) {
674
- const expectedStatuses = ["200"];
675
- if (!expectedStatuses.includes(result.status)) {
676
- const error = createRestError(result);
677
- error.details = errorResponseDeserializer(result.body);
678
- throw error;
679
- }
680
- return credentialResultsDeserializer(result.body);
681
- }
682
- async function listClusterUserCredentials(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
683
- const result = await _listClusterUserCredentialsSend(
684
- context,
685
- resourceGroupName,
686
- resourceName,
687
- options
688
- );
689
- return _listClusterUserCredentialsDeserialize(result);
690
- }
691
- function _listClusterAdminCredentialsSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
692
- const path = expandUrlTemplate(
693
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential{?api%2Dversion,server%2Dfqdn}",
694
- {
695
- subscriptionId: context.subscriptionId,
696
- resourceGroupName,
697
- resourceName,
698
- "api%2Dversion": context.apiVersion ?? "2026-01-01",
699
- "server%2Dfqdn": options?.serverFqdn
700
- },
701
- {
702
- allowReserved: options?.requestOptions?.skipUrlEncoding
672
+ return credentialResultsDeserializer(result.body);
673
+ }
674
+ /** Lists the cluster monitoring user credentials of a managed cluster. */
675
+ export async function listClusterMonitoringUserCredentials(context, resourceGroupName, resourceName, options = {
676
+ requestOptions: {},
677
+ }) {
678
+ const result = await _listClusterMonitoringUserCredentialsSend(context, resourceGroupName, resourceName, options);
679
+ return _listClusterMonitoringUserCredentialsDeserialize(result);
680
+ }
681
+ export function _listClusterUserCredentialsSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
682
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential{?api%2Dversion,server%2Dfqdn,format}", {
683
+ subscriptionId: context.subscriptionId,
684
+ resourceGroupName: resourceGroupName,
685
+ resourceName: resourceName,
686
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
687
+ "server%2Dfqdn": options?.serverFqdn,
688
+ format: options?.format,
689
+ }, {
690
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
691
+ });
692
+ return context.path(path).post({
693
+ ...operationOptionsToRequestParameters(options),
694
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
695
+ });
696
+ }
697
+ export async function _listClusterUserCredentialsDeserialize(result) {
698
+ const expectedStatuses = ["200"];
699
+ if (!expectedStatuses.includes(result.status)) {
700
+ const error = createRestError(result);
701
+ error.details = errorResponseDeserializer(result.body);
702
+ throw error;
703
703
  }
704
- );
705
- return context.path(path).post({
706
- ...operationOptionsToRequestParameters(options),
707
- headers: { accept: "application/json", ...options.requestOptions?.headers }
708
- });
709
- }
710
- async function _listClusterAdminCredentialsDeserialize(result) {
711
- const expectedStatuses = ["200"];
712
- if (!expectedStatuses.includes(result.status)) {
713
- const error = createRestError(result);
714
- error.details = errorResponseDeserializer(result.body);
715
- throw error;
716
- }
717
- return credentialResultsDeserializer(result.body);
718
- }
719
- async function listClusterAdminCredentials(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
720
- const result = await _listClusterAdminCredentialsSend(
721
- context,
722
- resourceGroupName,
723
- resourceName,
724
- options
725
- );
726
- return _listClusterAdminCredentialsDeserialize(result);
727
- }
728
- function _getAccessProfileSend(context, resourceGroupName, resourceName, roleName, options = { requestOptions: {} }) {
729
- const path = expandUrlTemplate(
730
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential{?api%2Dversion}",
731
- {
732
- subscriptionId: context.subscriptionId,
733
- resourceGroupName,
734
- resourceName,
735
- roleName,
736
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
737
- },
738
- {
739
- allowReserved: options?.requestOptions?.skipUrlEncoding
704
+ return credentialResultsDeserializer(result.body);
705
+ }
706
+ /** Lists the user credentials of a managed cluster. */
707
+ export async function listClusterUserCredentials(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
708
+ const result = await _listClusterUserCredentialsSend(context, resourceGroupName, resourceName, options);
709
+ return _listClusterUserCredentialsDeserialize(result);
710
+ }
711
+ export function _listClusterAdminCredentialsSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
712
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential{?api%2Dversion,server%2Dfqdn}", {
713
+ subscriptionId: context.subscriptionId,
714
+ resourceGroupName: resourceGroupName,
715
+ resourceName: resourceName,
716
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
717
+ "server%2Dfqdn": options?.serverFqdn,
718
+ }, {
719
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
720
+ });
721
+ return context.path(path).post({
722
+ ...operationOptionsToRequestParameters(options),
723
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
724
+ });
725
+ }
726
+ export async function _listClusterAdminCredentialsDeserialize(result) {
727
+ const expectedStatuses = ["200"];
728
+ if (!expectedStatuses.includes(result.status)) {
729
+ const error = createRestError(result);
730
+ error.details = errorResponseDeserializer(result.body);
731
+ throw error;
740
732
  }
741
- );
742
- return context.path(path).post({
743
- ...operationOptionsToRequestParameters(options),
744
- headers: { accept: "application/json", ...options.requestOptions?.headers }
745
- });
746
- }
747
- async function _getAccessProfileDeserialize(result) {
748
- const expectedStatuses = ["200"];
749
- if (!expectedStatuses.includes(result.status)) {
750
- const error = createRestError(result);
751
- error.details = errorResponseDeserializer(result.body);
752
- throw error;
753
- }
754
- return managedClusterAccessProfileDeserializer(result.body);
755
- }
756
- async function getAccessProfile(context, resourceGroupName, resourceName, roleName, options = { requestOptions: {} }) {
757
- const result = await _getAccessProfileSend(
758
- context,
759
- resourceGroupName,
760
- resourceName,
761
- roleName,
762
- options
763
- );
764
- return _getAccessProfileDeserialize(result);
765
- }
766
- function _listSend(context, options = { requestOptions: {} }) {
767
- const path = expandUrlTemplate(
768
- "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}",
769
- {
770
- subscriptionId: context.subscriptionId,
771
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
772
- },
773
- {
774
- allowReserved: options?.requestOptions?.skipUrlEncoding
733
+ return credentialResultsDeserializer(result.body);
734
+ }
735
+ /** Lists the admin credentials of a managed cluster. */
736
+ export async function listClusterAdminCredentials(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
737
+ const result = await _listClusterAdminCredentialsSend(context, resourceGroupName, resourceName, options);
738
+ return _listClusterAdminCredentialsDeserialize(result);
739
+ }
740
+ export function _getAccessProfileSend(context, resourceGroupName, resourceName, roleName, options = { requestOptions: {} }) {
741
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential{?api%2Dversion}", {
742
+ subscriptionId: context.subscriptionId,
743
+ resourceGroupName: resourceGroupName,
744
+ resourceName: resourceName,
745
+ roleName: roleName,
746
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
747
+ }, {
748
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
749
+ });
750
+ return context.path(path).post({
751
+ ...operationOptionsToRequestParameters(options),
752
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
753
+ });
754
+ }
755
+ export async function _getAccessProfileDeserialize(result) {
756
+ const expectedStatuses = ["200"];
757
+ if (!expectedStatuses.includes(result.status)) {
758
+ const error = createRestError(result);
759
+ error.details = errorResponseDeserializer(result.body);
760
+ throw error;
775
761
  }
776
- );
777
- return context.path(path).get({
778
- ...operationOptionsToRequestParameters(options),
779
- headers: { accept: "application/json", ...options.requestOptions?.headers }
780
- });
781
- }
782
- async function _listDeserialize(result) {
783
- const expectedStatuses = ["200"];
784
- if (!expectedStatuses.includes(result.status)) {
785
- const error = createRestError(result);
786
- error.details = errorResponseDeserializer(result.body);
787
- throw error;
788
- }
789
- return _managedClusterListResultDeserializer(result.body);
790
- }
791
- function list(context, options = { requestOptions: {} }) {
792
- return buildPagedAsyncIterator(
793
- context,
794
- () => _listSend(context, options),
795
- _listDeserialize,
796
- ["200"],
797
- { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-01-01" }
798
- );
799
- }
800
- function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
801
- const path = expandUrlTemplate(
802
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}",
803
- {
804
- subscriptionId: context.subscriptionId,
805
- resourceGroupName,
806
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
807
- },
808
- {
809
- allowReserved: options?.requestOptions?.skipUrlEncoding
762
+ return managedClusterAccessProfileDeserializer(result.body);
763
+ }
764
+ /** **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . */
765
+ export async function getAccessProfile(context, resourceGroupName, resourceName, roleName, options = { requestOptions: {} }) {
766
+ const result = await _getAccessProfileSend(context, resourceGroupName, resourceName, roleName, options);
767
+ return _getAccessProfileDeserialize(result);
768
+ }
769
+ export function _listSend(context, options = { requestOptions: {} }) {
770
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}", {
771
+ subscriptionId: context.subscriptionId,
772
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
773
+ }, {
774
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
775
+ });
776
+ return context.path(path).get({
777
+ ...operationOptionsToRequestParameters(options),
778
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
779
+ });
780
+ }
781
+ export async function _listDeserialize(result) {
782
+ const expectedStatuses = ["200"];
783
+ if (!expectedStatuses.includes(result.status)) {
784
+ const error = createRestError(result);
785
+ error.details = errorResponseDeserializer(result.body);
786
+ throw error;
810
787
  }
811
- );
812
- return context.path(path).get({
813
- ...operationOptionsToRequestParameters(options),
814
- headers: { accept: "application/json", ...options.requestOptions?.headers }
815
- });
816
- }
817
- async function _listByResourceGroupDeserialize(result) {
818
- const expectedStatuses = ["200"];
819
- if (!expectedStatuses.includes(result.status)) {
820
- const error = createRestError(result);
821
- error.details = errorResponseDeserializer(result.body);
822
- throw error;
823
- }
824
- return _managedClusterListResultDeserializer(result.body);
825
- }
826
- function listByResourceGroup(context, resourceGroupName, options = { requestOptions: {} }) {
827
- return buildPagedAsyncIterator(
828
- context,
829
- () => _listByResourceGroupSend(context, resourceGroupName, options),
830
- _listByResourceGroupDeserialize,
831
- ["200"],
832
- { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-01-01" }
833
- );
834
- }
835
- function _$deleteSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
836
- const path = expandUrlTemplate(
837
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}",
838
- {
839
- subscriptionId: context.subscriptionId,
840
- resourceGroupName,
841
- resourceName,
842
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
843
- },
844
- {
845
- allowReserved: options?.requestOptions?.skipUrlEncoding
788
+ return _managedClusterListResultDeserializer(result.body);
789
+ }
790
+ /** Gets a list of managed clusters in the specified subscription. */
791
+ export function list(context, options = { requestOptions: {} }) {
792
+ return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], {
793
+ itemName: "value",
794
+ nextLinkName: "nextLink",
795
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
796
+ });
797
+ }
798
+ export function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
799
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}", {
800
+ subscriptionId: context.subscriptionId,
801
+ resourceGroupName: resourceGroupName,
802
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
803
+ }, {
804
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
805
+ });
806
+ return context.path(path).get({
807
+ ...operationOptionsToRequestParameters(options),
808
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
809
+ });
810
+ }
811
+ export async function _listByResourceGroupDeserialize(result) {
812
+ const expectedStatuses = ["200"];
813
+ if (!expectedStatuses.includes(result.status)) {
814
+ const error = createRestError(result);
815
+ error.details = errorResponseDeserializer(result.body);
816
+ throw error;
846
817
  }
847
- );
848
- return context.path(path).delete({
849
- ...operationOptionsToRequestParameters(options),
850
- headers: {
851
- ...options?.ifMatch !== void 0 ? { "if-match": options?.ifMatch } : {},
852
- ...options.requestOptions?.headers
818
+ return _managedClusterListResultDeserializer(result.body);
819
+ }
820
+ /** Lists managed clusters in the specified subscription and resource group. */
821
+ export function listByResourceGroup(context, resourceGroupName, options = { requestOptions: {} }) {
822
+ return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], {
823
+ itemName: "value",
824
+ nextLinkName: "nextLink",
825
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
826
+ });
827
+ }
828
+ export function _$deleteSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
829
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion,ignore%2Dpod%2Ddisruption%2Dbudget}", {
830
+ subscriptionId: context.subscriptionId,
831
+ resourceGroupName: resourceGroupName,
832
+ resourceName: resourceName,
833
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
834
+ "ignore%2Dpod%2Ddisruption%2Dbudget": options?.ignorePodDisruptionBudget,
835
+ }, {
836
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
837
+ });
838
+ return context.path(path).delete({
839
+ ...operationOptionsToRequestParameters(options),
840
+ headers: {
841
+ ...(options?.ifMatch !== undefined ? { "if-match": options?.ifMatch } : {}),
842
+ ...options.requestOptions?.headers,
843
+ },
844
+ });
845
+ }
846
+ export async function _$deleteDeserialize(result) {
847
+ const expectedStatuses = ["202", "204", "200"];
848
+ if (!expectedStatuses.includes(result.status)) {
849
+ const error = createRestError(result);
850
+ error.details = errorResponseDeserializer(result.body);
851
+ throw error;
853
852
  }
854
- });
855
- }
856
- async function _$deleteDeserialize(result) {
857
- const expectedStatuses = ["202", "204", "200"];
858
- if (!expectedStatuses.includes(result.status)) {
859
- const error = createRestError(result);
860
- error.details = errorResponseDeserializer(result.body);
861
- throw error;
862
- }
863
- return;
864
- }
865
- function $delete(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
866
- return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
867
- updateIntervalInMs: options?.updateIntervalInMs,
868
- abortSignal: options?.abortSignal,
869
- getInitialResponse: () => _$deleteSend(context, resourceGroupName, resourceName, options),
870
- resourceLocationConfig: "azure-async-operation",
871
- apiVersion: context.apiVersion ?? "2026-01-01"
872
- });
873
- }
874
- function _updateTagsSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
875
- const path = expandUrlTemplate(
876
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}",
877
- {
878
- subscriptionId: context.subscriptionId,
879
- resourceGroupName,
880
- resourceName,
881
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
882
- },
883
- {
884
- allowReserved: options?.requestOptions?.skipUrlEncoding
853
+ return;
854
+ }
855
+ /** Deletes a managed cluster. */
856
+ /**
857
+ * @fixme delete is a reserved word that cannot be used as an operation name.
858
+ * Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
859
+ * to the operation to override the generated name.
860
+ */
861
+ export function $delete(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
862
+ return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
863
+ updateIntervalInMs: options?.updateIntervalInMs,
864
+ abortSignal: options?.abortSignal,
865
+ getInitialResponse: () => _$deleteSend(context, resourceGroupName, resourceName, options),
866
+ resourceLocationConfig: "azure-async-operation",
867
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
868
+ });
869
+ }
870
+ export function _updateTagsSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
871
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}", {
872
+ subscriptionId: context.subscriptionId,
873
+ resourceGroupName: resourceGroupName,
874
+ resourceName: resourceName,
875
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
876
+ }, {
877
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
878
+ });
879
+ return context.path(path).patch({
880
+ ...operationOptionsToRequestParameters(options),
881
+ contentType: "application/json",
882
+ headers: {
883
+ ...(options?.ifMatch !== undefined ? { "if-match": options?.ifMatch } : {}),
884
+ accept: "application/json",
885
+ ...options.requestOptions?.headers,
886
+ },
887
+ body: tagsObjectSerializer(parameters),
888
+ });
889
+ }
890
+ export async function _updateTagsDeserialize(result) {
891
+ const expectedStatuses = ["200", "202", "201"];
892
+ if (!expectedStatuses.includes(result.status)) {
893
+ const error = createRestError(result);
894
+ error.details = errorResponseDeserializer(result.body);
895
+ throw error;
885
896
  }
886
- );
887
- return context.path(path).patch({
888
- ...operationOptionsToRequestParameters(options),
889
- contentType: "application/json",
890
- headers: {
891
- ...options?.ifMatch !== void 0 ? { "if-match": options?.ifMatch } : {},
892
- accept: "application/json",
893
- ...options.requestOptions?.headers
894
- },
895
- body: tagsObjectSerializer(parameters)
896
- });
897
- }
898
- async function _updateTagsDeserialize(result) {
899
- const expectedStatuses = ["200", "202", "201"];
900
- if (!expectedStatuses.includes(result.status)) {
901
- const error = createRestError(result);
902
- error.details = errorResponseDeserializer(result.body);
903
- throw error;
904
- }
905
- return managedClusterDeserializer(result.body);
906
- }
907
- function updateTags(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
908
- return getLongRunningPoller(context, _updateTagsDeserialize, ["200", "202", "201"], {
909
- updateIntervalInMs: options?.updateIntervalInMs,
910
- abortSignal: options?.abortSignal,
911
- getInitialResponse: () => _updateTagsSend(context, resourceGroupName, resourceName, parameters, options),
912
- resourceLocationConfig: "azure-async-operation",
913
- apiVersion: context.apiVersion ?? "2026-01-01"
914
- });
915
- }
916
- function _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
917
- const path = expandUrlTemplate(
918
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}",
919
- {
920
- subscriptionId: context.subscriptionId,
921
- resourceGroupName,
922
- resourceName,
923
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
924
- },
925
- {
926
- allowReserved: options?.requestOptions?.skipUrlEncoding
897
+ return managedClusterDeserializer(result.body);
898
+ }
899
+ /** Updates tags on a managed cluster. */
900
+ export function updateTags(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
901
+ return getLongRunningPoller(context, _updateTagsDeserialize, ["200", "202", "201"], {
902
+ updateIntervalInMs: options?.updateIntervalInMs,
903
+ abortSignal: options?.abortSignal,
904
+ getInitialResponse: () => _updateTagsSend(context, resourceGroupName, resourceName, parameters, options),
905
+ resourceLocationConfig: "azure-async-operation",
906
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
907
+ });
908
+ }
909
+ export function _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
910
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}", {
911
+ subscriptionId: context.subscriptionId,
912
+ resourceGroupName: resourceGroupName,
913
+ resourceName: resourceName,
914
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
915
+ }, {
916
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
917
+ });
918
+ return context.path(path).put({
919
+ ...operationOptionsToRequestParameters(options),
920
+ contentType: "application/json",
921
+ headers: {
922
+ ...(options?.ifMatch !== undefined ? { "if-match": options?.ifMatch } : {}),
923
+ ...(options?.ifNoneMatch !== undefined ? { "if-none-match": options?.ifNoneMatch } : {}),
924
+ accept: "application/json",
925
+ ...options.requestOptions?.headers,
926
+ },
927
+ body: managedClusterSerializer(parameters),
928
+ });
929
+ }
930
+ export async function _createOrUpdateDeserialize(result) {
931
+ const expectedStatuses = ["200", "201", "202"];
932
+ if (!expectedStatuses.includes(result.status)) {
933
+ const error = createRestError(result);
934
+ error.details = errorResponseDeserializer(result.body);
935
+ throw error;
927
936
  }
928
- );
929
- return context.path(path).put({
930
- ...operationOptionsToRequestParameters(options),
931
- contentType: "application/json",
932
- headers: {
933
- ...options?.ifMatch !== void 0 ? { "if-match": options?.ifMatch } : {},
934
- ...options?.ifNoneMatch !== void 0 ? { "if-none-match": options?.ifNoneMatch } : {},
935
- accept: "application/json",
936
- ...options.requestOptions?.headers
937
- },
938
- body: managedClusterSerializer(parameters)
939
- });
940
- }
941
- async function _createOrUpdateDeserialize(result) {
942
- const expectedStatuses = ["200", "201", "202"];
943
- if (!expectedStatuses.includes(result.status)) {
944
- const error = createRestError(result);
945
- error.details = errorResponseDeserializer(result.body);
946
- throw error;
947
- }
948
- return managedClusterDeserializer(result.body);
949
- }
950
- function createOrUpdate(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
951
- return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201", "202"], {
952
- updateIntervalInMs: options?.updateIntervalInMs,
953
- abortSignal: options?.abortSignal,
954
- getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options),
955
- resourceLocationConfig: "azure-async-operation",
956
- apiVersion: context.apiVersion ?? "2026-01-01"
957
- });
958
- }
959
- function _getSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
960
- const path = expandUrlTemplate(
961
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}",
962
- {
963
- subscriptionId: context.subscriptionId,
964
- resourceGroupName,
965
- resourceName,
966
- "api%2Dversion": context.apiVersion ?? "2026-01-01"
967
- },
968
- {
969
- allowReserved: options?.requestOptions?.skipUrlEncoding
937
+ return managedClusterDeserializer(result.body);
938
+ }
939
+ /** Creates or updates a managed cluster. */
940
+ export function createOrUpdate(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
941
+ return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201", "202"], {
942
+ updateIntervalInMs: options?.updateIntervalInMs,
943
+ abortSignal: options?.abortSignal,
944
+ getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options),
945
+ resourceLocationConfig: "azure-async-operation",
946
+ apiVersion: context.apiVersion ?? "2026-01-02-preview",
947
+ });
948
+ }
949
+ export function _getSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
950
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}", {
951
+ subscriptionId: context.subscriptionId,
952
+ resourceGroupName: resourceGroupName,
953
+ resourceName: resourceName,
954
+ "api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
955
+ }, {
956
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
957
+ });
958
+ return context.path(path).get({
959
+ ...operationOptionsToRequestParameters(options),
960
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
961
+ });
962
+ }
963
+ export async function _getDeserialize(result) {
964
+ const expectedStatuses = ["200"];
965
+ if (!expectedStatuses.includes(result.status)) {
966
+ const error = createRestError(result);
967
+ error.details = errorResponseDeserializer(result.body);
968
+ throw error;
970
969
  }
971
- );
972
- return context.path(path).get({
973
- ...operationOptionsToRequestParameters(options),
974
- headers: { accept: "application/json", ...options.requestOptions?.headers }
975
- });
976
- }
977
- async function _getDeserialize(result) {
978
- const expectedStatuses = ["200"];
979
- if (!expectedStatuses.includes(result.status)) {
980
- const error = createRestError(result);
981
- error.details = errorResponseDeserializer(result.body);
982
- throw error;
983
- }
984
- return managedClusterDeserializer(result.body);
985
- }
986
- async function get(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
987
- const result = await _getSend(context, resourceGroupName, resourceName, options);
988
- return _getDeserialize(result);
989
- }
990
- export {
991
- $delete,
992
- _$deleteDeserialize,
993
- _$deleteSend,
994
- _abortLatestOperationDeserialize,
995
- _abortLatestOperationSend,
996
- _createOrUpdateDeserialize,
997
- _createOrUpdateSend,
998
- _getAccessProfileDeserialize,
999
- _getAccessProfileSend,
1000
- _getCommandResultDeserialize,
1001
- _getCommandResultSend,
1002
- _getDeserialize,
1003
- _getMeshRevisionProfileDeserialize,
1004
- _getMeshRevisionProfileSend,
1005
- _getMeshUpgradeProfileDeserialize,
1006
- _getMeshUpgradeProfileSend,
1007
- _getSend,
1008
- _getUpgradeProfileDeserialize,
1009
- _getUpgradeProfileSend,
1010
- _listByResourceGroupDeserialize,
1011
- _listByResourceGroupSend,
1012
- _listClusterAdminCredentialsDeserialize,
1013
- _listClusterAdminCredentialsSend,
1014
- _listClusterMonitoringUserCredentialsDeserialize,
1015
- _listClusterMonitoringUserCredentialsSend,
1016
- _listClusterUserCredentialsDeserialize,
1017
- _listClusterUserCredentialsSend,
1018
- _listDeserialize,
1019
- _listKubernetesVersionsDeserialize,
1020
- _listKubernetesVersionsSend,
1021
- _listMeshRevisionProfilesDeserialize,
1022
- _listMeshRevisionProfilesSend,
1023
- _listMeshUpgradeProfilesDeserialize,
1024
- _listMeshUpgradeProfilesSend,
1025
- _listOutboundNetworkDependenciesEndpointsDeserialize,
1026
- _listOutboundNetworkDependenciesEndpointsSend,
1027
- _listSend,
1028
- _resetAADProfileDeserialize,
1029
- _resetAADProfileSend,
1030
- _resetServicePrincipalProfileDeserialize,
1031
- _resetServicePrincipalProfileSend,
1032
- _rotateClusterCertificatesDeserialize,
1033
- _rotateClusterCertificatesSend,
1034
- _rotateServiceAccountSigningKeysDeserialize,
1035
- _rotateServiceAccountSigningKeysSend,
1036
- _runCommandDeserialize,
1037
- _runCommandSend,
1038
- _startDeserialize,
1039
- _startSend,
1040
- _stopDeserialize,
1041
- _stopSend,
1042
- _updateTagsDeserialize,
1043
- _updateTagsSend,
1044
- abortLatestOperation,
1045
- createOrUpdate,
1046
- get,
1047
- getAccessProfile,
1048
- getCommandResult,
1049
- getMeshRevisionProfile,
1050
- getMeshUpgradeProfile,
1051
- getUpgradeProfile,
1052
- list,
1053
- listByResourceGroup,
1054
- listClusterAdminCredentials,
1055
- listClusterMonitoringUserCredentials,
1056
- listClusterUserCredentials,
1057
- listKubernetesVersions,
1058
- listMeshRevisionProfiles,
1059
- listMeshUpgradeProfiles,
1060
- listOutboundNetworkDependenciesEndpoints,
1061
- resetAADProfile,
1062
- resetServicePrincipalProfile,
1063
- rotateClusterCertificates,
1064
- rotateServiceAccountSigningKeys,
1065
- runCommand,
1066
- start,
1067
- stop,
1068
- updateTags
1069
- };
970
+ return managedClusterDeserializer(result.body);
971
+ }
972
+ /** Gets a managed cluster. */
973
+ export async function get(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
974
+ const result = await _getSend(context, resourceGroupName, resourceName, options);
975
+ return _getDeserialize(result);
976
+ }
977
+ //# sourceMappingURL=operations.js.map