@azure/arm-containerservice 25.3.0-beta.1 → 25.3.0

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 (479) 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 +1 -5
  6. package/dist/browser/api/agentPools/operations.js +42 -59
  7. package/dist/browser/api/agentPools/operations.js.map +1 -1
  8. package/dist/browser/api/agentPools/options.d.ts +0 -5
  9. package/dist/browser/api/agentPools/options.js.map +1 -1
  10. package/dist/browser/api/containerServiceContext.js +4 -2
  11. package/dist/browser/api/containerServiceContext.js.map +1 -1
  12. package/dist/browser/api/identityBindings/operations.js +19 -15
  13. package/dist/browser/api/identityBindings/operations.js.map +1 -1
  14. package/dist/browser/api/machines/index.d.ts +2 -2
  15. package/dist/browser/api/machines/index.js +1 -1
  16. package/dist/browser/api/machines/index.js.map +1 -1
  17. package/dist/browser/api/machines/operations.d.ts +1 -6
  18. package/dist/browser/api/machines/operations.js +10 -53
  19. package/dist/browser/api/machines/operations.js.map +1 -1
  20. package/dist/browser/api/machines/options.d.ts +0 -9
  21. package/dist/browser/api/machines/options.js.map +1 -1
  22. package/dist/browser/api/maintenanceConfigurations/operations.js +17 -13
  23. package/dist/browser/api/maintenanceConfigurations/operations.js.map +1 -1
  24. package/dist/browser/api/managedClusters/index.d.ts +2 -2
  25. package/dist/browser/api/managedClusters/index.js +1 -1
  26. package/dist/browser/api/managedClusters/index.js.map +1 -1
  27. package/dist/browser/api/managedClusters/operations.d.ts +4 -24
  28. package/dist/browser/api/managedClusters/operations.js +125 -244
  29. package/dist/browser/api/managedClusters/operations.js.map +1 -1
  30. package/dist/browser/api/managedClusters/options.d.ts +0 -19
  31. package/dist/browser/api/managedClusters/options.js.map +1 -1
  32. package/dist/browser/api/managedNamespaces/operations.js +27 -19
  33. package/dist/browser/api/managedNamespaces/operations.js.map +1 -1
  34. package/dist/browser/api/operations/operations.js +5 -7
  35. package/dist/browser/api/operations/operations.js.map +1 -1
  36. package/dist/browser/api/privateEndpointConnections/operations.js +17 -9
  37. package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
  38. package/dist/browser/api/privateLinkResources/operations.js +4 -2
  39. package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
  40. package/dist/browser/api/resolvePrivateLinkServiceId/operations.js +4 -2
  41. package/dist/browser/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
  42. package/dist/browser/api/snapshots/operations.js +26 -22
  43. package/dist/browser/api/snapshots/operations.js.map +1 -1
  44. package/dist/browser/api/trustedAccessRoleBindings/operations.js +19 -15
  45. package/dist/browser/api/trustedAccessRoleBindings/operations.js.map +1 -1
  46. package/dist/browser/api/trustedAccessRoles/operations.js +5 -7
  47. package/dist/browser/api/trustedAccessRoles/operations.js.map +1 -1
  48. package/dist/browser/classic/agentPools/index.d.ts +1 -7
  49. package/dist/browser/classic/agentPools/index.js +1 -10
  50. package/dist/browser/classic/agentPools/index.js.map +1 -1
  51. package/dist/browser/classic/index.d.ts +0 -7
  52. package/dist/browser/classic/index.js.map +1 -1
  53. package/dist/browser/classic/machines/index.d.ts +1 -9
  54. package/dist/browser/classic/machines/index.js +1 -11
  55. package/dist/browser/classic/machines/index.js.map +1 -1
  56. package/dist/browser/classic/managedClusters/index.d.ts +3 -17
  57. package/dist/browser/classic/managedClusters/index.js +1 -14
  58. package/dist/browser/classic/managedClusters/index.js.map +1 -1
  59. package/dist/browser/containerServiceClient.d.ts +0 -21
  60. package/dist/browser/containerServiceClient.js +0 -28
  61. package/dist/browser/containerServiceClient.js.map +1 -1
  62. package/dist/browser/index.d.ts +7 -13
  63. package/dist/browser/index.js +2 -1
  64. package/dist/browser/index.js.map +1 -1
  65. package/dist/browser/models/index.d.ts +2 -2
  66. package/dist/browser/models/index.js +1 -1
  67. package/dist/browser/models/index.js.map +1 -1
  68. package/dist/browser/models/models.d.ts +20 -1555
  69. package/dist/browser/models/models.js +21 -1950
  70. package/dist/browser/models/models.js.map +1 -1
  71. package/dist/browser/restorePollerHelpers.js +6 -27
  72. package/dist/browser/restorePollerHelpers.js.map +1 -1
  73. package/dist/browser/static-helpers/pagingHelpers.js +1 -1
  74. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  75. package/dist/browser/static-helpers/pollingHelpers.js +1 -1
  76. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  77. package/dist/commonjs/api/agentPools/index.d.ts +2 -2
  78. package/dist/commonjs/api/agentPools/index.js +0 -2
  79. package/dist/commonjs/api/agentPools/index.js.map +2 -2
  80. package/dist/commonjs/api/agentPools/operations.d.ts +1 -5
  81. package/dist/commonjs/api/agentPools/operations.js +42 -68
  82. package/dist/commonjs/api/agentPools/operations.js.map +2 -2
  83. package/dist/commonjs/api/agentPools/options.d.ts +0 -5
  84. package/dist/commonjs/api/agentPools/options.js.map +1 -1
  85. package/dist/commonjs/api/containerServiceContext.js +4 -2
  86. package/dist/commonjs/api/containerServiceContext.js.map +2 -2
  87. package/dist/commonjs/api/identityBindings/operations.js +19 -15
  88. package/dist/commonjs/api/identityBindings/operations.js.map +2 -2
  89. package/dist/commonjs/api/machines/index.d.ts +2 -2
  90. package/dist/commonjs/api/machines/index.js +0 -2
  91. package/dist/commonjs/api/machines/index.js.map +2 -2
  92. package/dist/commonjs/api/machines/operations.d.ts +1 -6
  93. package/dist/commonjs/api/machines/operations.js +9 -69
  94. package/dist/commonjs/api/machines/operations.js.map +2 -2
  95. package/dist/commonjs/api/machines/options.d.ts +0 -9
  96. package/dist/commonjs/api/machines/options.js.map +1 -1
  97. package/dist/commonjs/api/maintenanceConfigurations/operations.js +17 -13
  98. package/dist/commonjs/api/maintenanceConfigurations/operations.js.map +2 -2
  99. package/dist/commonjs/api/managedClusters/index.d.ts +2 -2
  100. package/dist/commonjs/api/managedClusters/index.js +0 -10
  101. package/dist/commonjs/api/managedClusters/index.js.map +2 -2
  102. package/dist/commonjs/api/managedClusters/operations.d.ts +4 -24
  103. package/dist/commonjs/api/managedClusters/operations.js +124 -305
  104. package/dist/commonjs/api/managedClusters/operations.js.map +2 -2
  105. package/dist/commonjs/api/managedClusters/options.d.ts +0 -19
  106. package/dist/commonjs/api/managedClusters/options.js.map +1 -1
  107. package/dist/commonjs/api/managedNamespaces/operations.js +27 -19
  108. package/dist/commonjs/api/managedNamespaces/operations.js.map +2 -2
  109. package/dist/commonjs/api/operations/operations.js +5 -7
  110. package/dist/commonjs/api/operations/operations.js.map +2 -2
  111. package/dist/commonjs/api/privateEndpointConnections/operations.js +17 -9
  112. package/dist/commonjs/api/privateEndpointConnections/operations.js.map +2 -2
  113. package/dist/commonjs/api/privateLinkResources/operations.js +4 -2
  114. package/dist/commonjs/api/privateLinkResources/operations.js.map +2 -2
  115. package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js +4 -2
  116. package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js.map +2 -2
  117. package/dist/commonjs/api/snapshots/operations.js +26 -22
  118. package/dist/commonjs/api/snapshots/operations.js.map +2 -2
  119. package/dist/commonjs/api/trustedAccessRoleBindings/operations.js +19 -15
  120. package/dist/commonjs/api/trustedAccessRoleBindings/operations.js.map +2 -2
  121. package/dist/commonjs/api/trustedAccessRoles/operations.js +5 -7
  122. package/dist/commonjs/api/trustedAccessRoles/operations.js.map +2 -2
  123. package/dist/commonjs/classic/agentPools/index.d.ts +1 -7
  124. package/dist/commonjs/classic/agentPools/index.js +0 -21
  125. package/dist/commonjs/classic/agentPools/index.js.map +2 -2
  126. package/dist/commonjs/classic/index.d.ts +0 -7
  127. package/dist/commonjs/classic/index.js.map +1 -1
  128. package/dist/commonjs/classic/machines/index.d.ts +1 -9
  129. package/dist/commonjs/classic/machines/index.js +0 -34
  130. package/dist/commonjs/classic/machines/index.js.map +2 -2
  131. package/dist/commonjs/classic/managedClusters/index.d.ts +3 -17
  132. package/dist/commonjs/classic/managedClusters/index.js +0 -25
  133. package/dist/commonjs/classic/managedClusters/index.js.map +2 -2
  134. package/dist/commonjs/containerServiceClient.d.ts +0 -21
  135. package/dist/commonjs/containerServiceClient.js +0 -28
  136. package/dist/commonjs/containerServiceClient.js.map +2 -2
  137. package/dist/commonjs/index.d.ts +7 -13
  138. package/dist/commonjs/index.js +5 -52
  139. package/dist/commonjs/index.js.map +2 -2
  140. package/dist/commonjs/models/index.d.ts +2 -2
  141. package/dist/commonjs/models/index.js +0 -52
  142. package/dist/commonjs/models/index.js.map +2 -2
  143. package/dist/commonjs/models/models.d.ts +20 -1555
  144. package/dist/commonjs/models/models.js +37 -1884
  145. package/dist/commonjs/models/models.js.map +3 -3
  146. package/dist/commonjs/restorePollerHelpers.js +29 -50
  147. package/dist/commonjs/restorePollerHelpers.js.map +3 -3
  148. package/dist/commonjs/static-helpers/pagingHelpers.js +1 -1
  149. package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
  150. package/dist/commonjs/static-helpers/pollingHelpers.js +1 -1
  151. package/dist/commonjs/static-helpers/pollingHelpers.js.map +2 -2
  152. package/dist/esm/api/agentPools/index.d.ts +2 -2
  153. package/dist/esm/api/agentPools/index.js +1 -1
  154. package/dist/esm/api/agentPools/index.js.map +1 -1
  155. package/dist/esm/api/agentPools/operations.d.ts +1 -5
  156. package/dist/esm/api/agentPools/operations.js +42 -59
  157. package/dist/esm/api/agentPools/operations.js.map +1 -1
  158. package/dist/esm/api/agentPools/options.d.ts +0 -5
  159. package/dist/esm/api/agentPools/options.js.map +1 -1
  160. package/dist/esm/api/containerServiceContext.js +4 -2
  161. package/dist/esm/api/containerServiceContext.js.map +1 -1
  162. package/dist/esm/api/identityBindings/operations.js +19 -15
  163. package/dist/esm/api/identityBindings/operations.js.map +1 -1
  164. package/dist/esm/api/machines/index.d.ts +2 -2
  165. package/dist/esm/api/machines/index.js +1 -1
  166. package/dist/esm/api/machines/index.js.map +1 -1
  167. package/dist/esm/api/machines/operations.d.ts +1 -6
  168. package/dist/esm/api/machines/operations.js +10 -53
  169. package/dist/esm/api/machines/operations.js.map +1 -1
  170. package/dist/esm/api/machines/options.d.ts +0 -9
  171. package/dist/esm/api/machines/options.js.map +1 -1
  172. package/dist/esm/api/maintenanceConfigurations/operations.js +17 -13
  173. package/dist/esm/api/maintenanceConfigurations/operations.js.map +1 -1
  174. package/dist/esm/api/managedClusters/index.d.ts +2 -2
  175. package/dist/esm/api/managedClusters/index.js +1 -1
  176. package/dist/esm/api/managedClusters/index.js.map +1 -1
  177. package/dist/esm/api/managedClusters/operations.d.ts +4 -24
  178. package/dist/esm/api/managedClusters/operations.js +125 -244
  179. package/dist/esm/api/managedClusters/operations.js.map +1 -1
  180. package/dist/esm/api/managedClusters/options.d.ts +0 -19
  181. package/dist/esm/api/managedClusters/options.js.map +1 -1
  182. package/dist/esm/api/managedNamespaces/operations.js +27 -19
  183. package/dist/esm/api/managedNamespaces/operations.js.map +1 -1
  184. package/dist/esm/api/operations/operations.js +5 -7
  185. package/dist/esm/api/operations/operations.js.map +1 -1
  186. package/dist/esm/api/privateEndpointConnections/operations.js +17 -9
  187. package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
  188. package/dist/esm/api/privateLinkResources/operations.js +4 -2
  189. package/dist/esm/api/privateLinkResources/operations.js.map +1 -1
  190. package/dist/esm/api/resolvePrivateLinkServiceId/operations.js +4 -2
  191. package/dist/esm/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
  192. package/dist/esm/api/snapshots/operations.js +26 -22
  193. package/dist/esm/api/snapshots/operations.js.map +1 -1
  194. package/dist/esm/api/trustedAccessRoleBindings/operations.js +19 -15
  195. package/dist/esm/api/trustedAccessRoleBindings/operations.js.map +1 -1
  196. package/dist/esm/api/trustedAccessRoles/operations.js +5 -7
  197. package/dist/esm/api/trustedAccessRoles/operations.js.map +1 -1
  198. package/dist/esm/classic/agentPools/index.d.ts +1 -7
  199. package/dist/esm/classic/agentPools/index.js +1 -10
  200. package/dist/esm/classic/agentPools/index.js.map +1 -1
  201. package/dist/esm/classic/index.d.ts +0 -7
  202. package/dist/esm/classic/index.js.map +1 -1
  203. package/dist/esm/classic/machines/index.d.ts +1 -9
  204. package/dist/esm/classic/machines/index.js +1 -11
  205. package/dist/esm/classic/machines/index.js.map +1 -1
  206. package/dist/esm/classic/managedClusters/index.d.ts +3 -17
  207. package/dist/esm/classic/managedClusters/index.js +1 -14
  208. package/dist/esm/classic/managedClusters/index.js.map +1 -1
  209. package/dist/esm/containerServiceClient.d.ts +0 -21
  210. package/dist/esm/containerServiceClient.js +0 -28
  211. package/dist/esm/containerServiceClient.js.map +1 -1
  212. package/dist/esm/index.d.ts +7 -13
  213. package/dist/esm/index.js +2 -1
  214. package/dist/esm/index.js.map +1 -1
  215. package/dist/esm/models/index.d.ts +2 -2
  216. package/dist/esm/models/index.js +1 -1
  217. package/dist/esm/models/index.js.map +1 -1
  218. package/dist/esm/models/models.d.ts +20 -1555
  219. package/dist/esm/models/models.js +21 -1950
  220. package/dist/esm/models/models.js.map +1 -1
  221. package/dist/esm/restorePollerHelpers.js +6 -27
  222. package/dist/esm/restorePollerHelpers.js.map +1 -1
  223. package/dist/esm/static-helpers/pagingHelpers.js +1 -1
  224. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  225. package/dist/esm/static-helpers/pollingHelpers.js +1 -1
  226. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
  227. package/package.json +5 -102
  228. package/dist/browser/api/containerService/index.d.ts +0 -3
  229. package/dist/browser/api/containerService/index.js +0 -4
  230. package/dist/browser/api/containerService/index.js.map +0 -1
  231. package/dist/browser/api/containerService/operations.d.ts +0 -10
  232. package/dist/browser/api/containerService/operations.js +0 -37
  233. package/dist/browser/api/containerService/operations.js.map +0 -1
  234. package/dist/browser/api/containerService/options.d.ts +0 -5
  235. package/dist/browser/api/containerService/options.js +0 -4
  236. package/dist/browser/api/containerService/options.js.map +0 -1
  237. package/dist/browser/api/jwtAuthenticators/index.d.ts +0 -3
  238. package/dist/browser/api/jwtAuthenticators/index.js +0 -4
  239. package/dist/browser/api/jwtAuthenticators/index.js.map +0 -1
  240. package/dist/browser/api/jwtAuthenticators/operations.d.ts +0 -23
  241. package/dist/browser/api/jwtAuthenticators/operations.js +0 -135
  242. package/dist/browser/api/jwtAuthenticators/operations.js.map +0 -1
  243. package/dist/browser/api/jwtAuthenticators/options.d.ts +0 -18
  244. package/dist/browser/api/jwtAuthenticators/options.js +0 -4
  245. package/dist/browser/api/jwtAuthenticators/options.js.map +0 -1
  246. package/dist/browser/api/loadBalancers/index.d.ts +0 -3
  247. package/dist/browser/api/loadBalancers/index.js +0 -4
  248. package/dist/browser/api/loadBalancers/index.js.map +0 -1
  249. package/dist/browser/api/loadBalancers/operations.d.ts +0 -23
  250. package/dist/browser/api/loadBalancers/operations.js +0 -130
  251. package/dist/browser/api/loadBalancers/operations.js.map +0 -1
  252. package/dist/browser/api/loadBalancers/options.d.ts +0 -16
  253. package/dist/browser/api/loadBalancers/options.js +0 -4
  254. package/dist/browser/api/loadBalancers/options.js.map +0 -1
  255. package/dist/browser/api/managedClusterSnapshots/index.d.ts +0 -3
  256. package/dist/browser/api/managedClusterSnapshots/index.js +0 -4
  257. package/dist/browser/api/managedClusterSnapshots/index.js.map +0 -1
  258. package/dist/browser/api/managedClusterSnapshots/operations.d.ts +0 -30
  259. package/dist/browser/api/managedClusterSnapshots/operations.js +0 -179
  260. package/dist/browser/api/managedClusterSnapshots/operations.js.map +0 -1
  261. package/dist/browser/api/managedClusterSnapshots/options.d.ts +0 -20
  262. package/dist/browser/api/managedClusterSnapshots/options.js +0 -4
  263. package/dist/browser/api/managedClusterSnapshots/options.js.map +0 -1
  264. package/dist/browser/api/meshMemberships/index.d.ts +0 -3
  265. package/dist/browser/api/meshMemberships/index.js +0 -4
  266. package/dist/browser/api/meshMemberships/index.js.map +0 -1
  267. package/dist/browser/api/meshMemberships/operations.d.ts +0 -23
  268. package/dist/browser/api/meshMemberships/operations.js +0 -135
  269. package/dist/browser/api/meshMemberships/operations.js.map +0 -1
  270. package/dist/browser/api/meshMemberships/options.d.ts +0 -18
  271. package/dist/browser/api/meshMemberships/options.js +0 -4
  272. package/dist/browser/api/meshMemberships/options.js.map +0 -1
  273. package/dist/browser/api/operationStatusResult/index.d.ts +0 -3
  274. package/dist/browser/api/operationStatusResult/index.js +0 -4
  275. package/dist/browser/api/operationStatusResult/index.js.map +0 -1
  276. package/dist/browser/api/operationStatusResult/operations.d.ts +0 -18
  277. package/dist/browser/api/operationStatusResult/operations.js +0 -97
  278. package/dist/browser/api/operationStatusResult/operations.js.map +0 -1
  279. package/dist/browser/api/operationStatusResult/options.d.ts +0 -11
  280. package/dist/browser/api/operationStatusResult/options.js +0 -4
  281. package/dist/browser/api/operationStatusResult/options.js.map +0 -1
  282. package/dist/browser/api/vmSkus/index.d.ts +0 -3
  283. package/dist/browser/api/vmSkus/index.js +0 -4
  284. package/dist/browser/api/vmSkus/index.js.map +0 -1
  285. package/dist/browser/api/vmSkus/operations.d.ts +0 -10
  286. package/dist/browser/api/vmSkus/operations.js +0 -38
  287. package/dist/browser/api/vmSkus/operations.js.map +0 -1
  288. package/dist/browser/api/vmSkus/options.d.ts +0 -7
  289. package/dist/browser/api/vmSkus/options.js +0 -4
  290. package/dist/browser/api/vmSkus/options.js.map +0 -1
  291. package/dist/browser/classic/containerService/index.d.ts +0 -11
  292. package/dist/browser/classic/containerService/index.js +0 -14
  293. package/dist/browser/classic/containerService/index.js.map +0 -1
  294. package/dist/browser/classic/jwtAuthenticators/index.d.ts +0 -27
  295. package/dist/browser/classic/jwtAuthenticators/index.js +0 -34
  296. package/dist/browser/classic/jwtAuthenticators/index.js.map +0 -1
  297. package/dist/browser/classic/loadBalancers/index.d.ts +0 -23
  298. package/dist/browser/classic/loadBalancers/index.js +0 -26
  299. package/dist/browser/classic/loadBalancers/index.js.map +0 -1
  300. package/dist/browser/classic/managedClusterSnapshots/index.d.ts +0 -21
  301. package/dist/browser/classic/managedClusterSnapshots/index.js +0 -19
  302. package/dist/browser/classic/managedClusterSnapshots/index.js.map +0 -1
  303. package/dist/browser/classic/meshMemberships/index.d.ts +0 -27
  304. package/dist/browser/classic/meshMemberships/index.js +0 -34
  305. package/dist/browser/classic/meshMemberships/index.js.map +0 -1
  306. package/dist/browser/classic/operationStatusResult/index.d.ts +0 -15
  307. package/dist/browser/classic/operationStatusResult/index.js +0 -16
  308. package/dist/browser/classic/operationStatusResult/index.js.map +0 -1
  309. package/dist/browser/classic/vmSkus/index.d.ts +0 -11
  310. package/dist/browser/classic/vmSkus/index.js +0 -14
  311. package/dist/browser/classic/vmSkus/index.js.map +0 -1
  312. package/dist/commonjs/api/containerService/index.d.ts +0 -3
  313. package/dist/commonjs/api/containerService/index.js +0 -28
  314. package/dist/commonjs/api/containerService/index.js.map +0 -7
  315. package/dist/commonjs/api/containerService/operations.d.ts +0 -10
  316. package/dist/commonjs/api/containerService/operations.js +0 -74
  317. package/dist/commonjs/api/containerService/operations.js.map +0 -7
  318. package/dist/commonjs/api/containerService/options.d.ts +0 -5
  319. package/dist/commonjs/api/containerService/options.js +0 -16
  320. package/dist/commonjs/api/containerService/options.js.map +0 -7
  321. package/dist/commonjs/api/jwtAuthenticators/index.d.ts +0 -3
  322. package/dist/commonjs/api/jwtAuthenticators/index.js +0 -34
  323. package/dist/commonjs/api/jwtAuthenticators/index.js.map +0 -7
  324. package/dist/commonjs/api/jwtAuthenticators/operations.d.ts +0 -23
  325. package/dist/commonjs/api/jwtAuthenticators/operations.js +0 -212
  326. package/dist/commonjs/api/jwtAuthenticators/operations.js.map +0 -7
  327. package/dist/commonjs/api/jwtAuthenticators/options.d.ts +0 -18
  328. package/dist/commonjs/api/jwtAuthenticators/options.js +0 -16
  329. package/dist/commonjs/api/jwtAuthenticators/options.js.map +0 -7
  330. package/dist/commonjs/api/loadBalancers/index.d.ts +0 -3
  331. package/dist/commonjs/api/loadBalancers/index.js +0 -34
  332. package/dist/commonjs/api/loadBalancers/index.js.map +0 -7
  333. package/dist/commonjs/api/loadBalancers/operations.d.ts +0 -23
  334. package/dist/commonjs/api/loadBalancers/operations.js +0 -207
  335. package/dist/commonjs/api/loadBalancers/operations.js.map +0 -7
  336. package/dist/commonjs/api/loadBalancers/options.d.ts +0 -16
  337. package/dist/commonjs/api/loadBalancers/options.js +0 -16
  338. package/dist/commonjs/api/loadBalancers/options.js.map +0 -7
  339. package/dist/commonjs/api/managedClusterSnapshots/index.d.ts +0 -3
  340. package/dist/commonjs/api/managedClusterSnapshots/index.js +0 -38
  341. package/dist/commonjs/api/managedClusterSnapshots/index.js.map +0 -7
  342. package/dist/commonjs/api/managedClusterSnapshots/operations.d.ts +0 -30
  343. package/dist/commonjs/api/managedClusterSnapshots/operations.js +0 -279
  344. package/dist/commonjs/api/managedClusterSnapshots/operations.js.map +0 -7
  345. package/dist/commonjs/api/managedClusterSnapshots/options.d.ts +0 -20
  346. package/dist/commonjs/api/managedClusterSnapshots/options.js +0 -16
  347. package/dist/commonjs/api/managedClusterSnapshots/options.js.map +0 -7
  348. package/dist/commonjs/api/meshMemberships/index.d.ts +0 -3
  349. package/dist/commonjs/api/meshMemberships/index.js +0 -34
  350. package/dist/commonjs/api/meshMemberships/index.js.map +0 -7
  351. package/dist/commonjs/api/meshMemberships/operations.d.ts +0 -23
  352. package/dist/commonjs/api/meshMemberships/operations.js +0 -212
  353. package/dist/commonjs/api/meshMemberships/operations.js.map +0 -7
  354. package/dist/commonjs/api/meshMemberships/options.d.ts +0 -18
  355. package/dist/commonjs/api/meshMemberships/options.js +0 -16
  356. package/dist/commonjs/api/meshMemberships/options.js.map +0 -7
  357. package/dist/commonjs/api/operationStatusResult/index.d.ts +0 -3
  358. package/dist/commonjs/api/operationStatusResult/index.js +0 -32
  359. package/dist/commonjs/api/operationStatusResult/index.js.map +0 -7
  360. package/dist/commonjs/api/operationStatusResult/operations.d.ts +0 -18
  361. package/dist/commonjs/api/operationStatusResult/operations.js +0 -159
  362. package/dist/commonjs/api/operationStatusResult/operations.js.map +0 -7
  363. package/dist/commonjs/api/operationStatusResult/options.d.ts +0 -11
  364. package/dist/commonjs/api/operationStatusResult/options.js +0 -16
  365. package/dist/commonjs/api/operationStatusResult/options.js.map +0 -7
  366. package/dist/commonjs/api/vmSkus/index.d.ts +0 -3
  367. package/dist/commonjs/api/vmSkus/index.js +0 -28
  368. package/dist/commonjs/api/vmSkus/index.js.map +0 -7
  369. package/dist/commonjs/api/vmSkus/operations.d.ts +0 -10
  370. package/dist/commonjs/api/vmSkus/operations.js +0 -75
  371. package/dist/commonjs/api/vmSkus/operations.js.map +0 -7
  372. package/dist/commonjs/api/vmSkus/options.d.ts +0 -7
  373. package/dist/commonjs/api/vmSkus/options.js +0 -16
  374. package/dist/commonjs/api/vmSkus/options.js.map +0 -7
  375. package/dist/commonjs/classic/containerService/index.d.ts +0 -11
  376. package/dist/commonjs/classic/containerService/index.js +0 -38
  377. package/dist/commonjs/classic/containerService/index.js.map +0 -7
  378. package/dist/commonjs/classic/jwtAuthenticators/index.d.ts +0 -27
  379. package/dist/commonjs/classic/jwtAuthenticators/index.js +0 -85
  380. package/dist/commonjs/classic/jwtAuthenticators/index.js.map +0 -7
  381. package/dist/commonjs/classic/loadBalancers/index.d.ts +0 -23
  382. package/dist/commonjs/classic/loadBalancers/index.js +0 -57
  383. package/dist/commonjs/classic/loadBalancers/index.js.map +0 -7
  384. package/dist/commonjs/classic/managedClusterSnapshots/index.d.ts +0 -21
  385. package/dist/commonjs/classic/managedClusterSnapshots/index.js +0 -43
  386. package/dist/commonjs/classic/managedClusterSnapshots/index.js.map +0 -7
  387. package/dist/commonjs/classic/meshMemberships/index.d.ts +0 -27
  388. package/dist/commonjs/classic/meshMemberships/index.js +0 -79
  389. package/dist/commonjs/classic/meshMemberships/index.js.map +0 -7
  390. package/dist/commonjs/classic/operationStatusResult/index.d.ts +0 -15
  391. package/dist/commonjs/classic/operationStatusResult/index.js +0 -40
  392. package/dist/commonjs/classic/operationStatusResult/index.js.map +0 -7
  393. package/dist/commonjs/classic/vmSkus/index.d.ts +0 -11
  394. package/dist/commonjs/classic/vmSkus/index.js +0 -38
  395. package/dist/commonjs/classic/vmSkus/index.js.map +0 -7
  396. package/dist/esm/api/containerService/index.d.ts +0 -3
  397. package/dist/esm/api/containerService/index.js +0 -4
  398. package/dist/esm/api/containerService/index.js.map +0 -1
  399. package/dist/esm/api/containerService/operations.d.ts +0 -10
  400. package/dist/esm/api/containerService/operations.js +0 -37
  401. package/dist/esm/api/containerService/operations.js.map +0 -1
  402. package/dist/esm/api/containerService/options.d.ts +0 -5
  403. package/dist/esm/api/containerService/options.js +0 -4
  404. package/dist/esm/api/containerService/options.js.map +0 -1
  405. package/dist/esm/api/jwtAuthenticators/index.d.ts +0 -3
  406. package/dist/esm/api/jwtAuthenticators/index.js +0 -4
  407. package/dist/esm/api/jwtAuthenticators/index.js.map +0 -1
  408. package/dist/esm/api/jwtAuthenticators/operations.d.ts +0 -23
  409. package/dist/esm/api/jwtAuthenticators/operations.js +0 -135
  410. package/dist/esm/api/jwtAuthenticators/operations.js.map +0 -1
  411. package/dist/esm/api/jwtAuthenticators/options.d.ts +0 -18
  412. package/dist/esm/api/jwtAuthenticators/options.js +0 -4
  413. package/dist/esm/api/jwtAuthenticators/options.js.map +0 -1
  414. package/dist/esm/api/loadBalancers/index.d.ts +0 -3
  415. package/dist/esm/api/loadBalancers/index.js +0 -4
  416. package/dist/esm/api/loadBalancers/index.js.map +0 -1
  417. package/dist/esm/api/loadBalancers/operations.d.ts +0 -23
  418. package/dist/esm/api/loadBalancers/operations.js +0 -130
  419. package/dist/esm/api/loadBalancers/operations.js.map +0 -1
  420. package/dist/esm/api/loadBalancers/options.d.ts +0 -16
  421. package/dist/esm/api/loadBalancers/options.js +0 -4
  422. package/dist/esm/api/loadBalancers/options.js.map +0 -1
  423. package/dist/esm/api/managedClusterSnapshots/index.d.ts +0 -3
  424. package/dist/esm/api/managedClusterSnapshots/index.js +0 -4
  425. package/dist/esm/api/managedClusterSnapshots/index.js.map +0 -1
  426. package/dist/esm/api/managedClusterSnapshots/operations.d.ts +0 -30
  427. package/dist/esm/api/managedClusterSnapshots/operations.js +0 -179
  428. package/dist/esm/api/managedClusterSnapshots/operations.js.map +0 -1
  429. package/dist/esm/api/managedClusterSnapshots/options.d.ts +0 -20
  430. package/dist/esm/api/managedClusterSnapshots/options.js +0 -4
  431. package/dist/esm/api/managedClusterSnapshots/options.js.map +0 -1
  432. package/dist/esm/api/meshMemberships/index.d.ts +0 -3
  433. package/dist/esm/api/meshMemberships/index.js +0 -4
  434. package/dist/esm/api/meshMemberships/index.js.map +0 -1
  435. package/dist/esm/api/meshMemberships/operations.d.ts +0 -23
  436. package/dist/esm/api/meshMemberships/operations.js +0 -135
  437. package/dist/esm/api/meshMemberships/operations.js.map +0 -1
  438. package/dist/esm/api/meshMemberships/options.d.ts +0 -18
  439. package/dist/esm/api/meshMemberships/options.js +0 -4
  440. package/dist/esm/api/meshMemberships/options.js.map +0 -1
  441. package/dist/esm/api/operationStatusResult/index.d.ts +0 -3
  442. package/dist/esm/api/operationStatusResult/index.js +0 -4
  443. package/dist/esm/api/operationStatusResult/index.js.map +0 -1
  444. package/dist/esm/api/operationStatusResult/operations.d.ts +0 -18
  445. package/dist/esm/api/operationStatusResult/operations.js +0 -97
  446. package/dist/esm/api/operationStatusResult/operations.js.map +0 -1
  447. package/dist/esm/api/operationStatusResult/options.d.ts +0 -11
  448. package/dist/esm/api/operationStatusResult/options.js +0 -4
  449. package/dist/esm/api/operationStatusResult/options.js.map +0 -1
  450. package/dist/esm/api/vmSkus/index.d.ts +0 -3
  451. package/dist/esm/api/vmSkus/index.js +0 -4
  452. package/dist/esm/api/vmSkus/index.js.map +0 -1
  453. package/dist/esm/api/vmSkus/operations.d.ts +0 -10
  454. package/dist/esm/api/vmSkus/operations.js +0 -38
  455. package/dist/esm/api/vmSkus/operations.js.map +0 -1
  456. package/dist/esm/api/vmSkus/options.d.ts +0 -7
  457. package/dist/esm/api/vmSkus/options.js +0 -4
  458. package/dist/esm/api/vmSkus/options.js.map +0 -1
  459. package/dist/esm/classic/containerService/index.d.ts +0 -11
  460. package/dist/esm/classic/containerService/index.js +0 -14
  461. package/dist/esm/classic/containerService/index.js.map +0 -1
  462. package/dist/esm/classic/jwtAuthenticators/index.d.ts +0 -27
  463. package/dist/esm/classic/jwtAuthenticators/index.js +0 -34
  464. package/dist/esm/classic/jwtAuthenticators/index.js.map +0 -1
  465. package/dist/esm/classic/loadBalancers/index.d.ts +0 -23
  466. package/dist/esm/classic/loadBalancers/index.js +0 -26
  467. package/dist/esm/classic/loadBalancers/index.js.map +0 -1
  468. package/dist/esm/classic/managedClusterSnapshots/index.d.ts +0 -21
  469. package/dist/esm/classic/managedClusterSnapshots/index.js +0 -19
  470. package/dist/esm/classic/managedClusterSnapshots/index.js.map +0 -1
  471. package/dist/esm/classic/meshMemberships/index.d.ts +0 -27
  472. package/dist/esm/classic/meshMemberships/index.js +0 -34
  473. package/dist/esm/classic/meshMemberships/index.js.map +0 -1
  474. package/dist/esm/classic/operationStatusResult/index.d.ts +0 -15
  475. package/dist/esm/classic/operationStatusResult/index.js +0 -16
  476. package/dist/esm/classic/operationStatusResult/index.js.map +0 -1
  477. package/dist/esm/classic/vmSkus/index.d.ts +0 -11
  478. package/dist/esm/classic/vmSkus/index.js +0 -14
  479. package/dist/esm/classic/vmSkus/index.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
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";
3
+ import { errorResponseDeserializer, managedClusterSerializer, managedClusterDeserializer, managedClusterServicePrincipalProfileSerializer, managedClusterAADProfileSerializer, tagsObjectSerializer, _managedClusterListResultDeserializer, managedClusterAccessProfileDeserializer, credentialResultsDeserializer, runCommandRequestSerializer, runCommandResultDeserializer, _outboundEnvironmentEndpointCollectionDeserializer, managedClusterUpgradeProfileDeserializer, meshRevisionProfileDeserializer, _meshRevisionProfileListDeserializer, meshUpgradeProfileDeserializer, _meshUpgradeProfileListDeserializer, kubernetesVersionListResultDeserializer, } from "../../models/models.js";
4
4
  import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
5
5
  import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
6
6
  import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
@@ -9,7 +9,7 @@ export function _listKubernetesVersionsSend(context, location, options = { reque
9
9
  const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/kubernetesVersions{?api%2Dversion}", {
10
10
  subscriptionId: context.subscriptionId,
11
11
  location: location,
12
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
12
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
13
13
  }, {
14
14
  allowReserved: options?.requestOptions?.skipUrlEncoding,
15
15
  });
@@ -22,7 +22,9 @@ export async function _listKubernetesVersionsDeserialize(result) {
22
22
  const expectedStatuses = ["200"];
23
23
  if (!expectedStatuses.includes(result.status)) {
24
24
  const error = createRestError(result);
25
- error.details = errorResponseDeserializer(result.body);
25
+ if (result.body) {
26
+ error.details = errorResponseDeserializer(result.body);
27
+ }
26
28
  throw error;
27
29
  }
28
30
  return kubernetesVersionListResultDeserializer(result.body);
@@ -37,7 +39,7 @@ export function _listMeshUpgradeProfilesSend(context, resourceGroupName, resourc
37
39
  subscriptionId: context.subscriptionId,
38
40
  resourceGroupName: resourceGroupName,
39
41
  resourceName: resourceName,
40
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
42
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
41
43
  }, {
42
44
  allowReserved: options?.requestOptions?.skipUrlEncoding,
43
45
  });
@@ -50,18 +52,16 @@ export async function _listMeshUpgradeProfilesDeserialize(result) {
50
52
  const expectedStatuses = ["200"];
51
53
  if (!expectedStatuses.includes(result.status)) {
52
54
  const error = createRestError(result);
53
- error.details = errorResponseDeserializer(result.body);
55
+ if (result.body) {
56
+ error.details = errorResponseDeserializer(result.body);
57
+ }
54
58
  throw error;
55
59
  }
56
60
  return _meshUpgradeProfileListDeserializer(result.body);
57
61
  }
58
62
  /** Lists available upgrades for all service meshes in a specific cluster. */
59
63
  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-03-02-preview",
64
- });
64
+ return buildPagedAsyncIterator(context, () => _listMeshUpgradeProfilesSend(context, resourceGroupName, resourceName, options), _listMeshUpgradeProfilesDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-04-01" });
65
65
  }
66
66
  export function _getMeshUpgradeProfileSend(context, resourceGroupName, resourceName, mode, options = { requestOptions: {} }) {
67
67
  const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/meshUpgradeProfiles/{mode}{?api%2Dversion}", {
@@ -69,7 +69,7 @@ export function _getMeshUpgradeProfileSend(context, resourceGroupName, resourceN
69
69
  resourceGroupName: resourceGroupName,
70
70
  resourceName: resourceName,
71
71
  mode: mode,
72
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
72
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
73
73
  }, {
74
74
  allowReserved: options?.requestOptions?.skipUrlEncoding,
75
75
  });
@@ -82,7 +82,9 @@ export async function _getMeshUpgradeProfileDeserialize(result) {
82
82
  const expectedStatuses = ["200"];
83
83
  if (!expectedStatuses.includes(result.status)) {
84
84
  const error = createRestError(result);
85
- error.details = errorResponseDeserializer(result.body);
85
+ if (result.body) {
86
+ error.details = errorResponseDeserializer(result.body);
87
+ }
86
88
  throw error;
87
89
  }
88
90
  return meshUpgradeProfileDeserializer(result.body);
@@ -96,7 +98,7 @@ export function _listMeshRevisionProfilesSend(context, location, options = { req
96
98
  const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles{?api%2Dversion}", {
97
99
  subscriptionId: context.subscriptionId,
98
100
  location: location,
99
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
101
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
100
102
  }, {
101
103
  allowReserved: options?.requestOptions?.skipUrlEncoding,
102
104
  });
@@ -109,25 +111,23 @@ export async function _listMeshRevisionProfilesDeserialize(result) {
109
111
  const expectedStatuses = ["200"];
110
112
  if (!expectedStatuses.includes(result.status)) {
111
113
  const error = createRestError(result);
112
- error.details = errorResponseDeserializer(result.body);
114
+ if (result.body) {
115
+ error.details = errorResponseDeserializer(result.body);
116
+ }
113
117
  throw error;
114
118
  }
115
119
  return _meshRevisionProfileListDeserializer(result.body);
116
120
  }
117
121
  /** Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades */
118
122
  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-03-02-preview",
123
- });
123
+ return buildPagedAsyncIterator(context, () => _listMeshRevisionProfilesSend(context, location, options), _listMeshRevisionProfilesDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-04-01" });
124
124
  }
125
125
  export function _getMeshRevisionProfileSend(context, location, mode, options = { requestOptions: {} }) {
126
126
  const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles/{mode}{?api%2Dversion}", {
127
127
  subscriptionId: context.subscriptionId,
128
128
  location: location,
129
129
  mode: mode,
130
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
130
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
131
131
  }, {
132
132
  allowReserved: options?.requestOptions?.skipUrlEncoding,
133
133
  });
@@ -140,7 +140,9 @@ export async function _getMeshRevisionProfileDeserialize(result) {
140
140
  const expectedStatuses = ["200"];
141
141
  if (!expectedStatuses.includes(result.status)) {
142
142
  const error = createRestError(result);
143
- error.details = errorResponseDeserializer(result.body);
143
+ if (result.body) {
144
+ error.details = errorResponseDeserializer(result.body);
145
+ }
144
146
  throw error;
145
147
  }
146
148
  return meshRevisionProfileDeserializer(result.body);
@@ -150,128 +152,12 @@ export async function getMeshRevisionProfile(context, location, mode, options =
150
152
  const result = await _getMeshRevisionProfileSend(context, location, mode, options);
151
153
  return _getMeshRevisionProfileDeserialize(result);
152
154
  }
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-03-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;
172
- }
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-03-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-03-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;
203
- }
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-03-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;
230
- }
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-03-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-03-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;
261
- }
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
155
  export function _getUpgradeProfileSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
270
156
  const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default{?api%2Dversion}", {
271
157
  subscriptionId: context.subscriptionId,
272
158
  resourceGroupName: resourceGroupName,
273
159
  resourceName: resourceName,
274
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
160
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
275
161
  }, {
276
162
  allowReserved: options?.requestOptions?.skipUrlEncoding,
277
163
  });
@@ -284,7 +170,9 @@ export async function _getUpgradeProfileDeserialize(result) {
284
170
  const expectedStatuses = ["200"];
285
171
  if (!expectedStatuses.includes(result.status)) {
286
172
  const error = createRestError(result);
287
- error.details = errorResponseDeserializer(result.body);
173
+ if (result.body) {
174
+ error.details = errorResponseDeserializer(result.body);
175
+ }
288
176
  throw error;
289
177
  }
290
178
  return managedClusterUpgradeProfileDeserializer(result.body);
@@ -294,40 +182,6 @@ export async function getUpgradeProfile(context, resourceGroupName, resourceName
294
182
  const result = await _getUpgradeProfileSend(context, resourceGroupName, resourceName, options);
295
183
  return _getUpgradeProfileDeserialize(result);
296
184
  }
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-03-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;
318
- }
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-03-02-preview",
329
- });
330
- }
331
185
  export function _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options = {
332
186
  requestOptions: {},
333
187
  }) {
@@ -335,7 +189,7 @@ export function _listOutboundNetworkDependenciesEndpointsSend(context, resourceG
335
189
  subscriptionId: context.subscriptionId,
336
190
  resourceGroupName: resourceGroupName,
337
191
  resourceName: resourceName,
338
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
192
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
339
193
  }, {
340
194
  allowReserved: options?.requestOptions?.skipUrlEncoding,
341
195
  });
@@ -348,7 +202,9 @@ export async function _listOutboundNetworkDependenciesEndpointsDeserialize(resul
348
202
  const expectedStatuses = ["200"];
349
203
  if (!expectedStatuses.includes(result.status)) {
350
204
  const error = createRestError(result);
351
- error.details = errorResponseDeserializer(result.body);
205
+ if (result.body) {
206
+ error.details = errorResponseDeserializer(result.body);
207
+ }
352
208
  throw error;
353
209
  }
354
210
  return _outboundEnvironmentEndpointCollectionDeserializer(result.body);
@@ -357,11 +213,7 @@ export async function _listOutboundNetworkDependenciesEndpointsDeserialize(resul
357
213
  export function listOutboundNetworkDependenciesEndpoints(context, resourceGroupName, resourceName, options = {
358
214
  requestOptions: {},
359
215
  }) {
360
- return buildPagedAsyncIterator(context, () => _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options), _listOutboundNetworkDependenciesEndpointsDeserialize, ["200"], {
361
- itemName: "value",
362
- nextLinkName: "nextLink",
363
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
364
- });
216
+ return buildPagedAsyncIterator(context, () => _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options), _listOutboundNetworkDependenciesEndpointsDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-04-01" });
365
217
  }
366
218
  export function _getCommandResultSend(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
367
219
  const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}{?api%2Dversion}", {
@@ -369,7 +221,7 @@ export function _getCommandResultSend(context, resourceGroupName, resourceName,
369
221
  resourceGroupName: resourceGroupName,
370
222
  resourceName: resourceName,
371
223
  commandId: commandId,
372
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
224
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
373
225
  }, {
374
226
  allowReserved: options?.requestOptions?.skipUrlEncoding,
375
227
  });
@@ -382,10 +234,12 @@ export async function _getCommandResultDeserialize(result) {
382
234
  const expectedStatuses = ["200", "202"];
383
235
  if (!expectedStatuses.includes(result.status)) {
384
236
  const error = createRestError(result);
385
- error.details = errorResponseDeserializer(result.body);
237
+ if (result.body) {
238
+ error.details = errorResponseDeserializer(result.body);
239
+ }
386
240
  throw error;
387
241
  }
388
- return runCommandResultDeserializer(result.body);
242
+ return result.body ? runCommandResultDeserializer(result.body) : undefined;
389
243
  }
390
244
  /** Gets the results of a command which has been run on the Managed Cluster. */
391
245
  export async function getCommandResult(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
@@ -397,7 +251,7 @@ export function _runCommandSend(context, resourceGroupName, resourceName, reques
397
251
  subscriptionId: context.subscriptionId,
398
252
  resourceGroupName: resourceGroupName,
399
253
  resourceName: resourceName,
400
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
254
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
401
255
  }, {
402
256
  allowReserved: options?.requestOptions?.skipUrlEncoding,
403
257
  });
@@ -409,22 +263,24 @@ export function _runCommandSend(context, resourceGroupName, resourceName, reques
409
263
  });
410
264
  }
411
265
  export async function _runCommandDeserialize(result) {
412
- const expectedStatuses = ["202", "200", "201"];
266
+ const expectedStatuses = ["200", "202", "201"];
413
267
  if (!expectedStatuses.includes(result.status)) {
414
268
  const error = createRestError(result);
415
- error.details = errorResponseDeserializer(result.body);
269
+ if (result.body) {
270
+ error.details = errorResponseDeserializer(result.body);
271
+ }
416
272
  throw error;
417
273
  }
418
274
  return runCommandResultDeserializer(result.body);
419
275
  }
420
276
  /** 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
277
  export function runCommand(context, resourceGroupName, resourceName, requestPayload, options = { requestOptions: {} }) {
422
- return getLongRunningPoller(context, _runCommandDeserialize, ["202", "200", "201"], {
278
+ return getLongRunningPoller(context, _runCommandDeserialize, ["200", "202", "201"], {
423
279
  updateIntervalInMs: options?.updateIntervalInMs,
424
280
  abortSignal: options?.abortSignal,
425
281
  getInitialResponse: () => _runCommandSend(context, resourceGroupName, resourceName, requestPayload, options),
426
282
  resourceLocationConfig: "location",
427
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
283
+ apiVersion: context.apiVersion ?? "2026-04-01",
428
284
  });
429
285
  }
430
286
  export function _startSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
@@ -432,7 +288,7 @@ export function _startSend(context, resourceGroupName, resourceName, options = {
432
288
  subscriptionId: context.subscriptionId,
433
289
  resourceGroupName: resourceGroupName,
434
290
  resourceName: resourceName,
435
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
291
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
436
292
  }, {
437
293
  allowReserved: options?.requestOptions?.skipUrlEncoding,
438
294
  });
@@ -442,7 +298,9 @@ export async function _startDeserialize(result) {
442
298
  const expectedStatuses = ["202", "204", "200", "201"];
443
299
  if (!expectedStatuses.includes(result.status)) {
444
300
  const error = createRestError(result);
445
- error.details = errorResponseDeserializer(result.body);
301
+ if (result.body) {
302
+ error.details = errorResponseDeserializer(result.body);
303
+ }
446
304
  throw error;
447
305
  }
448
306
  return;
@@ -454,7 +312,7 @@ export function start(context, resourceGroupName, resourceName, options = { requ
454
312
  abortSignal: options?.abortSignal,
455
313
  getInitialResponse: () => _startSend(context, resourceGroupName, resourceName, options),
456
314
  resourceLocationConfig: "location",
457
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
315
+ apiVersion: context.apiVersion ?? "2026-04-01",
458
316
  });
459
317
  }
460
318
  export function _stopSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
@@ -462,7 +320,7 @@ export function _stopSend(context, resourceGroupName, resourceName, options = {
462
320
  subscriptionId: context.subscriptionId,
463
321
  resourceGroupName: resourceGroupName,
464
322
  resourceName: resourceName,
465
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
323
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
466
324
  }, {
467
325
  allowReserved: options?.requestOptions?.skipUrlEncoding,
468
326
  });
@@ -472,7 +330,9 @@ export async function _stopDeserialize(result) {
472
330
  const expectedStatuses = ["202", "204", "200", "201"];
473
331
  if (!expectedStatuses.includes(result.status)) {
474
332
  const error = createRestError(result);
475
- error.details = errorResponseDeserializer(result.body);
333
+ if (result.body) {
334
+ error.details = errorResponseDeserializer(result.body);
335
+ }
476
336
  throw error;
477
337
  }
478
338
  return;
@@ -484,7 +344,7 @@ export function stop(context, resourceGroupName, resourceName, options = { reque
484
344
  abortSignal: options?.abortSignal,
485
345
  getInitialResponse: () => _stopSend(context, resourceGroupName, resourceName, options),
486
346
  resourceLocationConfig: "location",
487
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
347
+ apiVersion: context.apiVersion ?? "2026-04-01",
488
348
  });
489
349
  }
490
350
  export function _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
@@ -492,7 +352,7 @@ export function _rotateServiceAccountSigningKeysSend(context, resourceGroupName,
492
352
  subscriptionId: context.subscriptionId,
493
353
  resourceGroupName: resourceGroupName,
494
354
  resourceName: resourceName,
495
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
355
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
496
356
  }, {
497
357
  allowReserved: options?.requestOptions?.skipUrlEncoding,
498
358
  });
@@ -502,7 +362,9 @@ export async function _rotateServiceAccountSigningKeysDeserialize(result) {
502
362
  const expectedStatuses = ["202", "204", "200", "201"];
503
363
  if (!expectedStatuses.includes(result.status)) {
504
364
  const error = createRestError(result);
505
- error.details = errorResponseDeserializer(result.body);
365
+ if (result.body) {
366
+ error.details = errorResponseDeserializer(result.body);
367
+ }
506
368
  throw error;
507
369
  }
508
370
  return;
@@ -514,7 +376,7 @@ export function rotateServiceAccountSigningKeys(context, resourceGroupName, reso
514
376
  abortSignal: options?.abortSignal,
515
377
  getInitialResponse: () => _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options),
516
378
  resourceLocationConfig: "location",
517
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
379
+ apiVersion: context.apiVersion ?? "2026-04-01",
518
380
  });
519
381
  }
520
382
  export function _abortLatestOperationSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
@@ -522,7 +384,7 @@ export function _abortLatestOperationSend(context, resourceGroupName, resourceNa
522
384
  subscriptionId: context.subscriptionId,
523
385
  resourceGroupName: resourceGroupName,
524
386
  resourceName: resourceName,
525
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
387
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
526
388
  }, {
527
389
  allowReserved: options?.requestOptions?.skipUrlEncoding,
528
390
  });
@@ -532,7 +394,9 @@ export async function _abortLatestOperationDeserialize(result) {
532
394
  const expectedStatuses = ["202", "204", "200", "201"];
533
395
  if (!expectedStatuses.includes(result.status)) {
534
396
  const error = createRestError(result);
535
- error.details = errorResponseDeserializer(result.body);
397
+ if (result.body) {
398
+ error.details = errorResponseDeserializer(result.body);
399
+ }
536
400
  throw error;
537
401
  }
538
402
  return;
@@ -544,7 +408,7 @@ export function abortLatestOperation(context, resourceGroupName, resourceName, o
544
408
  abortSignal: options?.abortSignal,
545
409
  getInitialResponse: () => _abortLatestOperationSend(context, resourceGroupName, resourceName, options),
546
410
  resourceLocationConfig: "location",
547
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
411
+ apiVersion: context.apiVersion ?? "2026-04-01",
548
412
  });
549
413
  }
550
414
  export function _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
@@ -552,7 +416,7 @@ export function _rotateClusterCertificatesSend(context, resourceGroupName, resou
552
416
  subscriptionId: context.subscriptionId,
553
417
  resourceGroupName: resourceGroupName,
554
418
  resourceName: resourceName,
555
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
419
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
556
420
  }, {
557
421
  allowReserved: options?.requestOptions?.skipUrlEncoding,
558
422
  });
@@ -562,7 +426,9 @@ export async function _rotateClusterCertificatesDeserialize(result) {
562
426
  const expectedStatuses = ["202", "204", "200", "201"];
563
427
  if (!expectedStatuses.includes(result.status)) {
564
428
  const error = createRestError(result);
565
- error.details = errorResponseDeserializer(result.body);
429
+ if (result.body) {
430
+ error.details = errorResponseDeserializer(result.body);
431
+ }
566
432
  throw error;
567
433
  }
568
434
  return;
@@ -574,7 +440,7 @@ export function rotateClusterCertificates(context, resourceGroupName, resourceNa
574
440
  abortSignal: options?.abortSignal,
575
441
  getInitialResponse: () => _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options),
576
442
  resourceLocationConfig: "location",
577
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
443
+ apiVersion: context.apiVersion ?? "2026-04-01",
578
444
  });
579
445
  }
580
446
  export function _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
@@ -582,7 +448,7 @@ export function _resetAADProfileSend(context, resourceGroupName, resourceName, p
582
448
  subscriptionId: context.subscriptionId,
583
449
  resourceGroupName: resourceGroupName,
584
450
  resourceName: resourceName,
585
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
451
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
586
452
  }, {
587
453
  allowReserved: options?.requestOptions?.skipUrlEncoding,
588
454
  });
@@ -596,7 +462,9 @@ export async function _resetAADProfileDeserialize(result) {
596
462
  const expectedStatuses = ["202", "200", "201"];
597
463
  if (!expectedStatuses.includes(result.status)) {
598
464
  const error = createRestError(result);
599
- error.details = errorResponseDeserializer(result.body);
465
+ if (result.body) {
466
+ error.details = errorResponseDeserializer(result.body);
467
+ }
600
468
  throw error;
601
469
  }
602
470
  return;
@@ -608,7 +476,7 @@ export function resetAADProfile(context, resourceGroupName, resourceName, parame
608
476
  abortSignal: options?.abortSignal,
609
477
  getInitialResponse: () => _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options),
610
478
  resourceLocationConfig: "location",
611
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
479
+ apiVersion: context.apiVersion ?? "2026-04-01",
612
480
  });
613
481
  }
614
482
  export function _resetServicePrincipalProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
@@ -616,7 +484,7 @@ export function _resetServicePrincipalProfileSend(context, resourceGroupName, re
616
484
  subscriptionId: context.subscriptionId,
617
485
  resourceGroupName: resourceGroupName,
618
486
  resourceName: resourceName,
619
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
487
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
620
488
  }, {
621
489
  allowReserved: options?.requestOptions?.skipUrlEncoding,
622
490
  });
@@ -630,7 +498,9 @@ export async function _resetServicePrincipalProfileDeserialize(result) {
630
498
  const expectedStatuses = ["202", "200", "201"];
631
499
  if (!expectedStatuses.includes(result.status)) {
632
500
  const error = createRestError(result);
633
- error.details = errorResponseDeserializer(result.body);
501
+ if (result.body) {
502
+ error.details = errorResponseDeserializer(result.body);
503
+ }
634
504
  throw error;
635
505
  }
636
506
  return;
@@ -642,7 +512,7 @@ export function resetServicePrincipalProfile(context, resourceGroupName, resourc
642
512
  abortSignal: options?.abortSignal,
643
513
  getInitialResponse: () => _resetServicePrincipalProfileSend(context, resourceGroupName, resourceName, parameters, options),
644
514
  resourceLocationConfig: "location",
645
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
515
+ apiVersion: context.apiVersion ?? "2026-04-01",
646
516
  });
647
517
  }
648
518
  export function _listClusterMonitoringUserCredentialsSend(context, resourceGroupName, resourceName, options = {
@@ -652,7 +522,7 @@ export function _listClusterMonitoringUserCredentialsSend(context, resourceGroup
652
522
  subscriptionId: context.subscriptionId,
653
523
  resourceGroupName: resourceGroupName,
654
524
  resourceName: resourceName,
655
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
525
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
656
526
  "server%2Dfqdn": options?.serverFqdn,
657
527
  }, {
658
528
  allowReserved: options?.requestOptions?.skipUrlEncoding,
@@ -666,7 +536,9 @@ export async function _listClusterMonitoringUserCredentialsDeserialize(result) {
666
536
  const expectedStatuses = ["200"];
667
537
  if (!expectedStatuses.includes(result.status)) {
668
538
  const error = createRestError(result);
669
- error.details = errorResponseDeserializer(result.body);
539
+ if (result.body) {
540
+ error.details = errorResponseDeserializer(result.body);
541
+ }
670
542
  throw error;
671
543
  }
672
544
  return credentialResultsDeserializer(result.body);
@@ -683,7 +555,7 @@ export function _listClusterUserCredentialsSend(context, resourceGroupName, reso
683
555
  subscriptionId: context.subscriptionId,
684
556
  resourceGroupName: resourceGroupName,
685
557
  resourceName: resourceName,
686
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
558
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
687
559
  "server%2Dfqdn": options?.serverFqdn,
688
560
  format: options?.format,
689
561
  }, {
@@ -698,7 +570,9 @@ export async function _listClusterUserCredentialsDeserialize(result) {
698
570
  const expectedStatuses = ["200"];
699
571
  if (!expectedStatuses.includes(result.status)) {
700
572
  const error = createRestError(result);
701
- error.details = errorResponseDeserializer(result.body);
573
+ if (result.body) {
574
+ error.details = errorResponseDeserializer(result.body);
575
+ }
702
576
  throw error;
703
577
  }
704
578
  return credentialResultsDeserializer(result.body);
@@ -713,7 +587,7 @@ export function _listClusterAdminCredentialsSend(context, resourceGroupName, res
713
587
  subscriptionId: context.subscriptionId,
714
588
  resourceGroupName: resourceGroupName,
715
589
  resourceName: resourceName,
716
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
590
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
717
591
  "server%2Dfqdn": options?.serverFqdn,
718
592
  }, {
719
593
  allowReserved: options?.requestOptions?.skipUrlEncoding,
@@ -727,7 +601,9 @@ export async function _listClusterAdminCredentialsDeserialize(result) {
727
601
  const expectedStatuses = ["200"];
728
602
  if (!expectedStatuses.includes(result.status)) {
729
603
  const error = createRestError(result);
730
- error.details = errorResponseDeserializer(result.body);
604
+ if (result.body) {
605
+ error.details = errorResponseDeserializer(result.body);
606
+ }
731
607
  throw error;
732
608
  }
733
609
  return credentialResultsDeserializer(result.body);
@@ -743,7 +619,7 @@ export function _getAccessProfileSend(context, resourceGroupName, resourceName,
743
619
  resourceGroupName: resourceGroupName,
744
620
  resourceName: resourceName,
745
621
  roleName: roleName,
746
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
622
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
747
623
  }, {
748
624
  allowReserved: options?.requestOptions?.skipUrlEncoding,
749
625
  });
@@ -756,7 +632,9 @@ export async function _getAccessProfileDeserialize(result) {
756
632
  const expectedStatuses = ["200"];
757
633
  if (!expectedStatuses.includes(result.status)) {
758
634
  const error = createRestError(result);
759
- error.details = errorResponseDeserializer(result.body);
635
+ if (result.body) {
636
+ error.details = errorResponseDeserializer(result.body);
637
+ }
760
638
  throw error;
761
639
  }
762
640
  return managedClusterAccessProfileDeserializer(result.body);
@@ -769,7 +647,7 @@ export async function getAccessProfile(context, resourceGroupName, resourceName,
769
647
  export function _listSend(context, options = { requestOptions: {} }) {
770
648
  const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}", {
771
649
  subscriptionId: context.subscriptionId,
772
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
650
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
773
651
  }, {
774
652
  allowReserved: options?.requestOptions?.skipUrlEncoding,
775
653
  });
@@ -782,24 +660,22 @@ export async function _listDeserialize(result) {
782
660
  const expectedStatuses = ["200"];
783
661
  if (!expectedStatuses.includes(result.status)) {
784
662
  const error = createRestError(result);
785
- error.details = errorResponseDeserializer(result.body);
663
+ if (result.body) {
664
+ error.details = errorResponseDeserializer(result.body);
665
+ }
786
666
  throw error;
787
667
  }
788
668
  return _managedClusterListResultDeserializer(result.body);
789
669
  }
790
670
  /** Gets a list of managed clusters in the specified subscription. */
791
671
  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-03-02-preview",
796
- });
672
+ return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-04-01" });
797
673
  }
798
674
  export function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
799
675
  const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}", {
800
676
  subscriptionId: context.subscriptionId,
801
677
  resourceGroupName: resourceGroupName,
802
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
678
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
803
679
  }, {
804
680
  allowReserved: options?.requestOptions?.skipUrlEncoding,
805
681
  });
@@ -812,26 +688,23 @@ export async function _listByResourceGroupDeserialize(result) {
812
688
  const expectedStatuses = ["200"];
813
689
  if (!expectedStatuses.includes(result.status)) {
814
690
  const error = createRestError(result);
815
- error.details = errorResponseDeserializer(result.body);
691
+ if (result.body) {
692
+ error.details = errorResponseDeserializer(result.body);
693
+ }
816
694
  throw error;
817
695
  }
818
696
  return _managedClusterListResultDeserializer(result.body);
819
697
  }
820
698
  /** Lists managed clusters in the specified subscription and resource group. */
821
699
  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-03-02-preview",
826
- });
700
+ return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-04-01" });
827
701
  }
828
702
  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}", {
703
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}", {
830
704
  subscriptionId: context.subscriptionId,
831
705
  resourceGroupName: resourceGroupName,
832
706
  resourceName: resourceName,
833
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
834
- "ignore%2Dpod%2Ddisruption%2Dbudget": options?.ignorePodDisruptionBudget,
707
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
835
708
  }, {
836
709
  allowReserved: options?.requestOptions?.skipUrlEncoding,
837
710
  });
@@ -847,7 +720,9 @@ export async function _$deleteDeserialize(result) {
847
720
  const expectedStatuses = ["202", "204", "200"];
848
721
  if (!expectedStatuses.includes(result.status)) {
849
722
  const error = createRestError(result);
850
- error.details = errorResponseDeserializer(result.body);
723
+ if (result.body) {
724
+ error.details = errorResponseDeserializer(result.body);
725
+ }
851
726
  throw error;
852
727
  }
853
728
  return;
@@ -859,7 +734,7 @@ export function $delete(context, resourceGroupName, resourceName, options = { re
859
734
  abortSignal: options?.abortSignal,
860
735
  getInitialResponse: () => _$deleteSend(context, resourceGroupName, resourceName, options),
861
736
  resourceLocationConfig: "azure-async-operation",
862
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
737
+ apiVersion: context.apiVersion ?? "2026-04-01",
863
738
  });
864
739
  }
865
740
  export function _updateTagsSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
@@ -867,7 +742,7 @@ export function _updateTagsSend(context, resourceGroupName, resourceName, parame
867
742
  subscriptionId: context.subscriptionId,
868
743
  resourceGroupName: resourceGroupName,
869
744
  resourceName: resourceName,
870
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
745
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
871
746
  }, {
872
747
  allowReserved: options?.requestOptions?.skipUrlEncoding,
873
748
  });
@@ -886,7 +761,9 @@ export async function _updateTagsDeserialize(result) {
886
761
  const expectedStatuses = ["200", "202", "201"];
887
762
  if (!expectedStatuses.includes(result.status)) {
888
763
  const error = createRestError(result);
889
- error.details = errorResponseDeserializer(result.body);
764
+ if (result.body) {
765
+ error.details = errorResponseDeserializer(result.body);
766
+ }
890
767
  throw error;
891
768
  }
892
769
  return managedClusterDeserializer(result.body);
@@ -898,7 +775,7 @@ export function updateTags(context, resourceGroupName, resourceName, parameters,
898
775
  abortSignal: options?.abortSignal,
899
776
  getInitialResponse: () => _updateTagsSend(context, resourceGroupName, resourceName, parameters, options),
900
777
  resourceLocationConfig: "azure-async-operation",
901
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
778
+ apiVersion: context.apiVersion ?? "2026-04-01",
902
779
  });
903
780
  }
904
781
  export function _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
@@ -906,7 +783,7 @@ export function _createOrUpdateSend(context, resourceGroupName, resourceName, pa
906
783
  subscriptionId: context.subscriptionId,
907
784
  resourceGroupName: resourceGroupName,
908
785
  resourceName: resourceName,
909
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
786
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
910
787
  }, {
911
788
  allowReserved: options?.requestOptions?.skipUrlEncoding,
912
789
  });
@@ -926,7 +803,9 @@ export async function _createOrUpdateDeserialize(result) {
926
803
  const expectedStatuses = ["200", "201", "202"];
927
804
  if (!expectedStatuses.includes(result.status)) {
928
805
  const error = createRestError(result);
929
- error.details = errorResponseDeserializer(result.body);
806
+ if (result.body) {
807
+ error.details = errorResponseDeserializer(result.body);
808
+ }
930
809
  throw error;
931
810
  }
932
811
  return managedClusterDeserializer(result.body);
@@ -938,7 +817,7 @@ export function createOrUpdate(context, resourceGroupName, resourceName, paramet
938
817
  abortSignal: options?.abortSignal,
939
818
  getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options),
940
819
  resourceLocationConfig: "azure-async-operation",
941
- apiVersion: context.apiVersion ?? "2026-03-02-preview",
820
+ apiVersion: context.apiVersion ?? "2026-04-01",
942
821
  });
943
822
  }
944
823
  export function _getSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
@@ -946,7 +825,7 @@ export function _getSend(context, resourceGroupName, resourceName, options = { r
946
825
  subscriptionId: context.subscriptionId,
947
826
  resourceGroupName: resourceGroupName,
948
827
  resourceName: resourceName,
949
- "api%2Dversion": context.apiVersion ?? "2026-03-02-preview",
828
+ "api%2Dversion": context.apiVersion ?? "2026-04-01",
950
829
  }, {
951
830
  allowReserved: options?.requestOptions?.skipUrlEncoding,
952
831
  });
@@ -959,7 +838,9 @@ export async function _getDeserialize(result) {
959
838
  const expectedStatuses = ["200"];
960
839
  if (!expectedStatuses.includes(result.status)) {
961
840
  const error = createRestError(result);
962
- error.details = errorResponseDeserializer(result.body);
841
+ if (result.body) {
842
+ error.details = errorResponseDeserializer(result.body);
843
+ }
963
844
  throw error;
964
845
  }
965
846
  return managedClusterDeserializer(result.body);