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