@azure/arm-containerservice 23.0.0-beta.1 → 23.0.0-beta.3

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 (310) hide show
  1. package/dist/browser/containerServiceClient.d.ts.map +1 -1
  2. package/dist/browser/containerServiceClient.js +4 -6
  3. package/dist/browser/containerServiceClient.js.map +1 -1
  4. package/dist/browser/lroImpl.d.ts.map +1 -1
  5. package/dist/browser/lroImpl.js.map +1 -1
  6. package/dist/browser/models/index.d.ts +358 -192
  7. package/dist/browser/models/index.d.ts.map +1 -1
  8. package/dist/browser/models/index.js +23 -13
  9. package/dist/browser/models/index.js.map +1 -1
  10. package/dist/browser/models/mappers.d.ts +8 -3
  11. package/dist/browser/models/mappers.d.ts.map +1 -1
  12. package/dist/browser/models/mappers.js +418 -87
  13. package/dist/browser/models/mappers.js.map +1 -1
  14. package/dist/browser/models/parameters.d.ts +4 -3
  15. package/dist/browser/models/parameters.d.ts.map +1 -1
  16. package/dist/browser/models/parameters.js +12 -8
  17. package/dist/browser/models/parameters.js.map +1 -1
  18. package/dist/browser/operations/agentPools.d.ts.map +1 -1
  19. package/dist/browser/operations/agentPools.js +2 -5
  20. package/dist/browser/operations/agentPools.js.map +1 -1
  21. package/dist/browser/operations/containerService.d.ts.map +1 -1
  22. package/dist/browser/operations/containerService.js +1 -5
  23. package/dist/browser/operations/containerService.js.map +1 -1
  24. package/dist/browser/operations/loadBalancers.d.ts.map +1 -1
  25. package/dist/browser/operations/loadBalancers.js +2 -2
  26. package/dist/browser/operations/loadBalancers.js.map +1 -1
  27. package/dist/browser/operations/machines.d.ts +23 -2
  28. package/dist/browser/operations/machines.d.ts.map +1 -1
  29. package/dist/browser/operations/machines.js +106 -1
  30. package/dist/browser/operations/machines.js.map +1 -1
  31. package/dist/browser/operations/maintenanceConfigurations.d.ts.map +1 -1
  32. package/dist/browser/operations/maintenanceConfigurations.js.map +1 -1
  33. package/dist/browser/operations/managedClusterSnapshots.d.ts.map +1 -1
  34. package/dist/browser/operations/managedClusterSnapshots.js +3 -11
  35. package/dist/browser/operations/managedClusterSnapshots.js.map +1 -1
  36. package/dist/browser/operations/managedClusters.d.ts.map +1 -1
  37. package/dist/browser/operations/managedClusters.js +10 -45
  38. package/dist/browser/operations/managedClusters.js.map +1 -1
  39. package/dist/browser/operations/managedNamespaces.d.ts.map +1 -1
  40. package/dist/browser/operations/managedNamespaces.js +1 -1
  41. package/dist/browser/operations/managedNamespaces.js.map +1 -1
  42. package/dist/browser/operations/operationStatusResultOperations.d.ts.map +1 -1
  43. package/dist/browser/operations/operationStatusResultOperations.js.map +1 -1
  44. package/dist/browser/operations/operations.d.ts.map +1 -1
  45. package/dist/browser/operations/operations.js.map +1 -1
  46. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  47. package/dist/browser/operations/privateEndpointConnections.js +2 -2
  48. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  49. package/dist/browser/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
  50. package/dist/browser/operations/resolvePrivateLinkServiceId.js +1 -1
  51. package/dist/browser/operations/resolvePrivateLinkServiceId.js.map +1 -1
  52. package/dist/browser/operations/snapshots.d.ts.map +1 -1
  53. package/dist/browser/operations/snapshots.js +3 -11
  54. package/dist/browser/operations/snapshots.js.map +1 -1
  55. package/dist/browser/operations/trustedAccessRoleBindings.d.ts.map +1 -1
  56. package/dist/browser/operations/trustedAccessRoleBindings.js +1 -1
  57. package/dist/browser/operations/trustedAccessRoleBindings.js.map +1 -1
  58. package/dist/browser/operations/trustedAccessRoles.d.ts.map +1 -1
  59. package/dist/browser/operations/trustedAccessRoles.js +1 -5
  60. package/dist/browser/operations/trustedAccessRoles.js.map +1 -1
  61. package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
  62. package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
  63. package/dist/browser/operationsInterfaces/loadBalancers.d.ts.map +1 -1
  64. package/dist/browser/operationsInterfaces/loadBalancers.js.map +1 -1
  65. package/dist/browser/operationsInterfaces/machines.d.ts +23 -2
  66. package/dist/browser/operationsInterfaces/machines.d.ts.map +1 -1
  67. package/dist/browser/operationsInterfaces/machines.js.map +1 -1
  68. package/dist/browser/operationsInterfaces/managedClusters.d.ts.map +1 -1
  69. package/dist/browser/operationsInterfaces/managedClusters.js.map +1 -1
  70. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  71. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  72. package/dist/browser/operationsInterfaces/snapshots.d.ts.map +1 -1
  73. package/dist/browser/operationsInterfaces/snapshots.js.map +1 -1
  74. package/dist/browser/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
  75. package/dist/browser/operationsInterfaces/trustedAccessRoles.js.map +1 -1
  76. package/dist/browser/pagingHelper.d.ts.map +1 -1
  77. package/dist/browser/pagingHelper.js.map +1 -1
  78. package/dist/commonjs/containerServiceClient.d.ts.map +1 -1
  79. package/dist/commonjs/containerServiceClient.js +4 -6
  80. package/dist/commonjs/containerServiceClient.js.map +1 -1
  81. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  82. package/dist/commonjs/lroImpl.js.map +1 -1
  83. package/dist/commonjs/models/index.d.ts +358 -192
  84. package/dist/commonjs/models/index.d.ts.map +1 -1
  85. package/dist/commonjs/models/index.js +24 -14
  86. package/dist/commonjs/models/index.js.map +1 -1
  87. package/dist/commonjs/models/mappers.d.ts +8 -3
  88. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  89. package/dist/commonjs/models/mappers.js +423 -92
  90. package/dist/commonjs/models/mappers.js.map +1 -1
  91. package/dist/commonjs/models/parameters.d.ts +4 -3
  92. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  93. package/dist/commonjs/models/parameters.js +12 -8
  94. package/dist/commonjs/models/parameters.js.map +1 -1
  95. package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
  96. package/dist/commonjs/operations/agentPools.js +1 -4
  97. package/dist/commonjs/operations/agentPools.js.map +1 -1
  98. package/dist/commonjs/operations/containerService.d.ts.map +1 -1
  99. package/dist/commonjs/operations/containerService.js +1 -5
  100. package/dist/commonjs/operations/containerService.js.map +1 -1
  101. package/dist/commonjs/operations/loadBalancers.d.ts.map +1 -1
  102. package/dist/commonjs/operations/loadBalancers.js +1 -1
  103. package/dist/commonjs/operations/loadBalancers.js.map +1 -1
  104. package/dist/commonjs/operations/machines.d.ts +23 -2
  105. package/dist/commonjs/operations/machines.d.ts.map +1 -1
  106. package/dist/commonjs/operations/machines.js +106 -1
  107. package/dist/commonjs/operations/machines.js.map +1 -1
  108. package/dist/commonjs/operations/maintenanceConfigurations.d.ts.map +1 -1
  109. package/dist/commonjs/operations/maintenanceConfigurations.js.map +1 -1
  110. package/dist/commonjs/operations/managedClusterSnapshots.d.ts.map +1 -1
  111. package/dist/commonjs/operations/managedClusterSnapshots.js +3 -11
  112. package/dist/commonjs/operations/managedClusterSnapshots.js.map +1 -1
  113. package/dist/commonjs/operations/managedClusters.d.ts.map +1 -1
  114. package/dist/commonjs/operations/managedClusters.js +9 -44
  115. package/dist/commonjs/operations/managedClusters.js.map +1 -1
  116. package/dist/commonjs/operations/managedNamespaces.d.ts.map +1 -1
  117. package/dist/commonjs/operations/managedNamespaces.js.map +1 -1
  118. package/dist/commonjs/operations/operationStatusResultOperations.d.ts.map +1 -1
  119. package/dist/commonjs/operations/operationStatusResultOperations.js.map +1 -1
  120. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  121. package/dist/commonjs/operations/operations.js.map +1 -1
  122. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  123. package/dist/commonjs/operations/privateEndpointConnections.js +1 -1
  124. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  125. package/dist/commonjs/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
  126. package/dist/commonjs/operations/resolvePrivateLinkServiceId.js +1 -1
  127. package/dist/commonjs/operations/resolvePrivateLinkServiceId.js.map +1 -1
  128. package/dist/commonjs/operations/snapshots.d.ts.map +1 -1
  129. package/dist/commonjs/operations/snapshots.js +3 -11
  130. package/dist/commonjs/operations/snapshots.js.map +1 -1
  131. package/dist/commonjs/operations/trustedAccessRoleBindings.d.ts.map +1 -1
  132. package/dist/commonjs/operations/trustedAccessRoleBindings.js.map +1 -1
  133. package/dist/commonjs/operations/trustedAccessRoles.d.ts.map +1 -1
  134. package/dist/commonjs/operations/trustedAccessRoles.js +1 -5
  135. package/dist/commonjs/operations/trustedAccessRoles.js.map +1 -1
  136. package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
  137. package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
  138. package/dist/commonjs/operationsInterfaces/loadBalancers.d.ts.map +1 -1
  139. package/dist/commonjs/operationsInterfaces/loadBalancers.js.map +1 -1
  140. package/dist/commonjs/operationsInterfaces/machines.d.ts +23 -2
  141. package/dist/commonjs/operationsInterfaces/machines.d.ts.map +1 -1
  142. package/dist/commonjs/operationsInterfaces/machines.js.map +1 -1
  143. package/dist/commonjs/operationsInterfaces/managedClusters.d.ts.map +1 -1
  144. package/dist/commonjs/operationsInterfaces/managedClusters.js.map +1 -1
  145. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  146. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  147. package/dist/commonjs/operationsInterfaces/snapshots.d.ts.map +1 -1
  148. package/dist/commonjs/operationsInterfaces/snapshots.js.map +1 -1
  149. package/dist/commonjs/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
  150. package/dist/commonjs/operationsInterfaces/trustedAccessRoles.js.map +1 -1
  151. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  152. package/dist/commonjs/pagingHelper.js.map +1 -1
  153. package/dist/commonjs/tsdoc-metadata.json +11 -11
  154. package/dist/esm/containerServiceClient.d.ts.map +1 -1
  155. package/dist/esm/containerServiceClient.js +4 -6
  156. package/dist/esm/containerServiceClient.js.map +1 -1
  157. package/dist/esm/lroImpl.d.ts.map +1 -1
  158. package/dist/esm/lroImpl.js.map +1 -1
  159. package/dist/esm/models/index.d.ts +358 -192
  160. package/dist/esm/models/index.d.ts.map +1 -1
  161. package/dist/esm/models/index.js +23 -13
  162. package/dist/esm/models/index.js.map +1 -1
  163. package/dist/esm/models/mappers.d.ts +8 -3
  164. package/dist/esm/models/mappers.d.ts.map +1 -1
  165. package/dist/esm/models/mappers.js +418 -87
  166. package/dist/esm/models/mappers.js.map +1 -1
  167. package/dist/esm/models/parameters.d.ts +4 -3
  168. package/dist/esm/models/parameters.d.ts.map +1 -1
  169. package/dist/esm/models/parameters.js +12 -8
  170. package/dist/esm/models/parameters.js.map +1 -1
  171. package/dist/esm/operations/agentPools.d.ts.map +1 -1
  172. package/dist/esm/operations/agentPools.js +2 -5
  173. package/dist/esm/operations/agentPools.js.map +1 -1
  174. package/dist/esm/operations/containerService.d.ts.map +1 -1
  175. package/dist/esm/operations/containerService.js +1 -5
  176. package/dist/esm/operations/containerService.js.map +1 -1
  177. package/dist/esm/operations/loadBalancers.d.ts.map +1 -1
  178. package/dist/esm/operations/loadBalancers.js +2 -2
  179. package/dist/esm/operations/loadBalancers.js.map +1 -1
  180. package/dist/esm/operations/machines.d.ts +23 -2
  181. package/dist/esm/operations/machines.d.ts.map +1 -1
  182. package/dist/esm/operations/machines.js +106 -1
  183. package/dist/esm/operations/machines.js.map +1 -1
  184. package/dist/esm/operations/maintenanceConfigurations.d.ts.map +1 -1
  185. package/dist/esm/operations/maintenanceConfigurations.js.map +1 -1
  186. package/dist/esm/operations/managedClusterSnapshots.d.ts.map +1 -1
  187. package/dist/esm/operations/managedClusterSnapshots.js +3 -11
  188. package/dist/esm/operations/managedClusterSnapshots.js.map +1 -1
  189. package/dist/esm/operations/managedClusters.d.ts.map +1 -1
  190. package/dist/esm/operations/managedClusters.js +10 -45
  191. package/dist/esm/operations/managedClusters.js.map +1 -1
  192. package/dist/esm/operations/managedNamespaces.d.ts.map +1 -1
  193. package/dist/esm/operations/managedNamespaces.js +1 -1
  194. package/dist/esm/operations/managedNamespaces.js.map +1 -1
  195. package/dist/esm/operations/operationStatusResultOperations.d.ts.map +1 -1
  196. package/dist/esm/operations/operationStatusResultOperations.js.map +1 -1
  197. package/dist/esm/operations/operations.d.ts.map +1 -1
  198. package/dist/esm/operations/operations.js.map +1 -1
  199. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  200. package/dist/esm/operations/privateEndpointConnections.js +2 -2
  201. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  202. package/dist/esm/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
  203. package/dist/esm/operations/resolvePrivateLinkServiceId.js +1 -1
  204. package/dist/esm/operations/resolvePrivateLinkServiceId.js.map +1 -1
  205. package/dist/esm/operations/snapshots.d.ts.map +1 -1
  206. package/dist/esm/operations/snapshots.js +3 -11
  207. package/dist/esm/operations/snapshots.js.map +1 -1
  208. package/dist/esm/operations/trustedAccessRoleBindings.d.ts.map +1 -1
  209. package/dist/esm/operations/trustedAccessRoleBindings.js +1 -1
  210. package/dist/esm/operations/trustedAccessRoleBindings.js.map +1 -1
  211. package/dist/esm/operations/trustedAccessRoles.d.ts.map +1 -1
  212. package/dist/esm/operations/trustedAccessRoles.js +1 -5
  213. package/dist/esm/operations/trustedAccessRoles.js.map +1 -1
  214. package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
  215. package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
  216. package/dist/esm/operationsInterfaces/loadBalancers.d.ts.map +1 -1
  217. package/dist/esm/operationsInterfaces/loadBalancers.js.map +1 -1
  218. package/dist/esm/operationsInterfaces/machines.d.ts +23 -2
  219. package/dist/esm/operationsInterfaces/machines.d.ts.map +1 -1
  220. package/dist/esm/operationsInterfaces/machines.js.map +1 -1
  221. package/dist/esm/operationsInterfaces/managedClusters.d.ts.map +1 -1
  222. package/dist/esm/operationsInterfaces/managedClusters.js.map +1 -1
  223. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  224. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  225. package/dist/esm/operationsInterfaces/snapshots.d.ts.map +1 -1
  226. package/dist/esm/operationsInterfaces/snapshots.js.map +1 -1
  227. package/dist/esm/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
  228. package/dist/esm/operationsInterfaces/trustedAccessRoles.js.map +1 -1
  229. package/dist/esm/pagingHelper.d.ts.map +1 -1
  230. package/dist/esm/pagingHelper.js.map +1 -1
  231. package/dist/react-native/containerServiceClient.d.ts.map +1 -1
  232. package/dist/react-native/containerServiceClient.js +4 -6
  233. package/dist/react-native/containerServiceClient.js.map +1 -1
  234. package/dist/react-native/lroImpl.d.ts.map +1 -1
  235. package/dist/react-native/lroImpl.js.map +1 -1
  236. package/dist/react-native/models/index.d.ts +358 -192
  237. package/dist/react-native/models/index.d.ts.map +1 -1
  238. package/dist/react-native/models/index.js +23 -13
  239. package/dist/react-native/models/index.js.map +1 -1
  240. package/dist/react-native/models/mappers.d.ts +8 -3
  241. package/dist/react-native/models/mappers.d.ts.map +1 -1
  242. package/dist/react-native/models/mappers.js +418 -87
  243. package/dist/react-native/models/mappers.js.map +1 -1
  244. package/dist/react-native/models/parameters.d.ts +4 -3
  245. package/dist/react-native/models/parameters.d.ts.map +1 -1
  246. package/dist/react-native/models/parameters.js +12 -8
  247. package/dist/react-native/models/parameters.js.map +1 -1
  248. package/dist/react-native/operations/agentPools.d.ts.map +1 -1
  249. package/dist/react-native/operations/agentPools.js +2 -5
  250. package/dist/react-native/operations/agentPools.js.map +1 -1
  251. package/dist/react-native/operations/containerService.d.ts.map +1 -1
  252. package/dist/react-native/operations/containerService.js +1 -5
  253. package/dist/react-native/operations/containerService.js.map +1 -1
  254. package/dist/react-native/operations/loadBalancers.d.ts.map +1 -1
  255. package/dist/react-native/operations/loadBalancers.js +2 -2
  256. package/dist/react-native/operations/loadBalancers.js.map +1 -1
  257. package/dist/react-native/operations/machines.d.ts +23 -2
  258. package/dist/react-native/operations/machines.d.ts.map +1 -1
  259. package/dist/react-native/operations/machines.js +106 -1
  260. package/dist/react-native/operations/machines.js.map +1 -1
  261. package/dist/react-native/operations/maintenanceConfigurations.d.ts.map +1 -1
  262. package/dist/react-native/operations/maintenanceConfigurations.js.map +1 -1
  263. package/dist/react-native/operations/managedClusterSnapshots.d.ts.map +1 -1
  264. package/dist/react-native/operations/managedClusterSnapshots.js +3 -11
  265. package/dist/react-native/operations/managedClusterSnapshots.js.map +1 -1
  266. package/dist/react-native/operations/managedClusters.d.ts.map +1 -1
  267. package/dist/react-native/operations/managedClusters.js +10 -45
  268. package/dist/react-native/operations/managedClusters.js.map +1 -1
  269. package/dist/react-native/operations/managedNamespaces.d.ts.map +1 -1
  270. package/dist/react-native/operations/managedNamespaces.js +1 -1
  271. package/dist/react-native/operations/managedNamespaces.js.map +1 -1
  272. package/dist/react-native/operations/operationStatusResultOperations.d.ts.map +1 -1
  273. package/dist/react-native/operations/operationStatusResultOperations.js.map +1 -1
  274. package/dist/react-native/operations/operations.d.ts.map +1 -1
  275. package/dist/react-native/operations/operations.js.map +1 -1
  276. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  277. package/dist/react-native/operations/privateEndpointConnections.js +2 -2
  278. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  279. package/dist/react-native/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
  280. package/dist/react-native/operations/resolvePrivateLinkServiceId.js +1 -1
  281. package/dist/react-native/operations/resolvePrivateLinkServiceId.js.map +1 -1
  282. package/dist/react-native/operations/snapshots.d.ts.map +1 -1
  283. package/dist/react-native/operations/snapshots.js +3 -11
  284. package/dist/react-native/operations/snapshots.js.map +1 -1
  285. package/dist/react-native/operations/trustedAccessRoleBindings.d.ts.map +1 -1
  286. package/dist/react-native/operations/trustedAccessRoleBindings.js +1 -1
  287. package/dist/react-native/operations/trustedAccessRoleBindings.js.map +1 -1
  288. package/dist/react-native/operations/trustedAccessRoles.d.ts.map +1 -1
  289. package/dist/react-native/operations/trustedAccessRoles.js +1 -5
  290. package/dist/react-native/operations/trustedAccessRoles.js.map +1 -1
  291. package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
  292. package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
  293. package/dist/react-native/operationsInterfaces/loadBalancers.d.ts.map +1 -1
  294. package/dist/react-native/operationsInterfaces/loadBalancers.js.map +1 -1
  295. package/dist/react-native/operationsInterfaces/machines.d.ts +23 -2
  296. package/dist/react-native/operationsInterfaces/machines.d.ts.map +1 -1
  297. package/dist/react-native/operationsInterfaces/machines.js.map +1 -1
  298. package/dist/react-native/operationsInterfaces/managedClusters.d.ts.map +1 -1
  299. package/dist/react-native/operationsInterfaces/managedClusters.js.map +1 -1
  300. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  301. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  302. package/dist/react-native/operationsInterfaces/snapshots.d.ts.map +1 -1
  303. package/dist/react-native/operationsInterfaces/snapshots.js.map +1 -1
  304. package/dist/react-native/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
  305. package/dist/react-native/operationsInterfaces/trustedAccessRoles.js.map +1 -1
  306. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  307. package/dist/react-native/pagingHelper.js.map +1 -1
  308. package/package.json +18 -18
  309. package/CHANGELOG.md +0 -3588
  310. package/review/arm-containerservice.api.md +0 -3536
@@ -31,14 +31,15 @@ export declare const agentPoolName: OperationURLParameter;
31
31
  export declare const parameters7: OperationParameter;
32
32
  export declare const machines: OperationParameter;
33
33
  export declare const machineName: OperationURLParameter;
34
- export declare const privateEndpointConnectionName: OperationURLParameter;
35
34
  export declare const parameters8: OperationParameter;
35
+ export declare const privateEndpointConnectionName: OperationURLParameter;
36
36
  export declare const parameters9: OperationParameter;
37
- export declare const operationId: OperationURLParameter;
38
37
  export declare const parameters10: OperationParameter;
38
+ export declare const operationId: OperationURLParameter;
39
39
  export declare const parameters11: OperationParameter;
40
+ export declare const parameters12: OperationParameter;
40
41
  export declare const trustedAccessRoleBindingName: OperationURLParameter;
41
42
  export declare const trustedAccessRoleBinding: OperationParameter;
42
43
  export declare const loadBalancerName: OperationURLParameter;
43
- export declare const parameters12: OperationParameter;
44
+ export declare const parameters13: OperationParameter;
44
45
  //# sourceMappingURL=parameters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAoB5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAYtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAa/B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAgB1B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAStB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAQxB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,uBAQpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAQrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAQzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,uBAQvC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF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WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAc3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,kBAGtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBAYzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,qBAS3C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBAYzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,qBAc1C,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,kBAGtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,qBAc9B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC"}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { ManagedCluster as ManagedClusterMapper, TagsObject as TagsObjectMapper, ManagedClusterServicePrincipalProfile as ManagedClusterServicePrincipalProfileMapper, ManagedClusterAADProfile as ManagedClusterAADProfileMapper, RunCommandRequest as RunCommandRequestMapper, RebalanceLoadBalancersRequestBody as RebalanceLoadBalancersRequestBodyMapper, MaintenanceConfiguration as MaintenanceConfigurationMapper, ManagedNamespace as ManagedNamespaceMapper, AgentPool as AgentPoolMapper, AgentPoolDeleteMachinesParameter as AgentPoolDeleteMachinesParameterMapper, PrivateEndpointConnection as PrivateEndpointConnectionMapper, PrivateLinkResource as PrivateLinkResourceMapper, Snapshot as SnapshotMapper, ManagedClusterSnapshot as ManagedClusterSnapshotMapper, TrustedAccessRoleBinding as TrustedAccessRoleBindingMapper, LoadBalancer as LoadBalancerMapper, } from "../models/mappers.js";
8
+ import { ManagedCluster as ManagedClusterMapper, TagsObject as TagsObjectMapper, ManagedClusterServicePrincipalProfile as ManagedClusterServicePrincipalProfileMapper, ManagedClusterAADProfile as ManagedClusterAADProfileMapper, RunCommandRequest as RunCommandRequestMapper, RebalanceLoadBalancersRequestBody as RebalanceLoadBalancersRequestBodyMapper, MaintenanceConfiguration as MaintenanceConfigurationMapper, ManagedNamespace as ManagedNamespaceMapper, AgentPool as AgentPoolMapper, AgentPoolDeleteMachinesParameter as AgentPoolDeleteMachinesParameterMapper, Machine as MachineMapper, PrivateEndpointConnection as PrivateEndpointConnectionMapper, PrivateLinkResource as PrivateLinkResourceMapper, Snapshot as SnapshotMapper, ManagedClusterSnapshot as ManagedClusterSnapshotMapper, TrustedAccessRoleBinding as TrustedAccessRoleBindingMapper, LoadBalancer as LoadBalancerMapper, } from "../models/mappers.js";
9
9
  export const accept = {
10
10
  parameterPath: "accept",
11
11
  mapper: {
@@ -31,7 +31,7 @@ export const $host = {
31
31
  export const apiVersion = {
32
32
  parameterPath: "apiVersion",
33
33
  mapper: {
34
- defaultValue: "2025-03-02-preview",
34
+ defaultValue: "2025-05-02-preview",
35
35
  isConstant: true,
36
36
  serializedName: "api-version",
37
37
  type: {
@@ -291,7 +291,7 @@ export const machineName = {
291
291
  parameterPath: "machineName",
292
292
  mapper: {
293
293
  constraints: {
294
- Pattern: new RegExp("^[a-zA-Z0-9][-_a-zA-Z0-9]{0,39}$"),
294
+ Pattern: new RegExp("^[a-z][a-z0-9]{0,11}$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,39}$"),
295
295
  },
296
296
  serializedName: "machineName",
297
297
  required: true,
@@ -300,6 +300,10 @@ export const machineName = {
300
300
  },
301
301
  },
302
302
  };
303
+ export const parameters8 = {
304
+ parameterPath: "parameters",
305
+ mapper: MachineMapper,
306
+ };
303
307
  export const privateEndpointConnectionName = {
304
308
  parameterPath: "privateEndpointConnectionName",
305
309
  mapper: {
@@ -310,11 +314,11 @@ export const privateEndpointConnectionName = {
310
314
  },
311
315
  },
312
316
  };
313
- export const parameters8 = {
317
+ export const parameters9 = {
314
318
  parameterPath: "parameters",
315
319
  mapper: PrivateEndpointConnectionMapper,
316
320
  };
317
- export const parameters9 = {
321
+ export const parameters10 = {
318
322
  parameterPath: "parameters",
319
323
  mapper: PrivateLinkResourceMapper,
320
324
  };
@@ -331,11 +335,11 @@ export const operationId = {
331
335
  },
332
336
  },
333
337
  };
334
- export const parameters10 = {
338
+ export const parameters11 = {
335
339
  parameterPath: "parameters",
336
340
  mapper: SnapshotMapper,
337
341
  };
338
- export const parameters11 = {
342
+ export const parameters12 = {
339
343
  parameterPath: "parameters",
340
344
  mapper: ManagedClusterSnapshotMapper,
341
345
  };
@@ -373,7 +377,7 @@ export const loadBalancerName = {
373
377
  },
374
378
  },
375
379
  };
376
- export const parameters12 = {
380
+ export const parameters13 = {
377
381
  parameterPath: "parameters",
378
382
  mapper: LoadBalancerMapper,
379
383
  };
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,cAAc,IAAI,oBAAoB,EACtC,UAAU,IAAI,gBAAgB,EAC9B,qCAAqC,IAAI,2CAA2C,EACpF,wBAAwB,IAAI,8BAA8B,EAC1D,iBAAiB,IAAI,uBAAuB,EAC5C,iCAAiC,IAAI,uCAAuC,EAC5E,wBAAwB,IAAI,8BAA8B,EAC1D,gBAAgB,IAAI,sBAAsB,EAC1C,SAAS,IAAI,eAAe,EAC5B,gCAAgC,IAAI,sCAAsC,EAC1E,yBAAyB,IAAI,+BAA+B,EAC5D,mBAAmB,IAAI,yBAAyB,EAChD,QAAQ,IAAI,cAAc,EAC1B,sBAAsB,IAAI,4BAA4B,EACtD,wBAAwB,IAAI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CAAC,MAAM,wBAAwB,GAAuB;IAC1D,aAAa,EAAE,0BAA0B;IACzC,MAAM,EAAE,8BAA8B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA0B;IACrD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,uBAAuB,CAAC;YAC5C,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,kBAAkB;QAClC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,kBAAkB;CAC3B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ManagedCluster as ManagedClusterMapper,\n TagsObject as TagsObjectMapper,\n ManagedClusterServicePrincipalProfile as ManagedClusterServicePrincipalProfileMapper,\n ManagedClusterAADProfile as ManagedClusterAADProfileMapper,\n RunCommandRequest as RunCommandRequestMapper,\n RebalanceLoadBalancersRequestBody as RebalanceLoadBalancersRequestBodyMapper,\n MaintenanceConfiguration as MaintenanceConfigurationMapper,\n ManagedNamespace as ManagedNamespaceMapper,\n AgentPool as AgentPoolMapper,\n AgentPoolDeleteMachinesParameter as AgentPoolDeleteMachinesParameterMapper,\n PrivateEndpointConnection as PrivateEndpointConnectionMapper,\n PrivateLinkResource as PrivateLinkResourceMapper,\n Snapshot as SnapshotMapper,\n ManagedClusterSnapshot as ManagedClusterSnapshotMapper,\n TrustedAccessRoleBinding as TrustedAccessRoleBindingMapper,\n LoadBalancer as LoadBalancerMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-03-02-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\",\n ),\n MaxLength: 63,\n MinLength: 1,\n },\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const roleName: OperationURLParameter = {\n parameterPath: \"roleName\",\n mapper: {\n serializedName: \"roleName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const serverFqdn: OperationQueryParameter = {\n parameterPath: [\"options\", \"serverFqdn\"],\n mapper: {\n serializedName: \"server-fqdn\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const format: OperationQueryParameter = {\n parameterPath: [\"options\", \"format\"],\n mapper: {\n serializedName: \"format\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterMapper,\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsObjectMapper,\n};\n\nexport const ignorePodDisruptionBudget: OperationQueryParameter = {\n parameterPath: [\"options\", \"ignorePodDisruptionBudget\"],\n mapper: {\n serializedName: \"ignore-pod-disruption-budget\",\n type: {\n name: \"Boolean\",\n },\n },\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterServicePrincipalProfileMapper,\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterAADProfileMapper,\n};\n\nexport const requestPayload: OperationParameter = {\n parameterPath: \"requestPayload\",\n mapper: RunCommandRequestMapper,\n};\n\nexport const commandId: OperationURLParameter = {\n parameterPath: \"commandId\",\n mapper: {\n serializedName: \"commandId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const version: OperationURLParameter = {\n parameterPath: \"version\",\n mapper: {\n constraints: {\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"version\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const mode: OperationURLParameter = {\n parameterPath: \"mode\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\",\n ),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"mode\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: RebalanceLoadBalancersRequestBodyMapper,\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const configName: OperationURLParameter = {\n parameterPath: \"configName\",\n mapper: {\n serializedName: \"configName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MaintenanceConfigurationMapper,\n};\n\nexport const managedNamespaceName: OperationURLParameter = {\n parameterPath: \"managedNamespaceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"[a-z0-9]([-a-z0-9]*[a-z0-9])?\"),\n MaxLength: 63,\n MinLength: 1,\n },\n serializedName: \"managedNamespaceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedNamespaceMapper,\n};\n\nexport const agentPoolName: OperationURLParameter = {\n parameterPath: \"agentPoolName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]{0,11}$\"),\n MaxLength: 12,\n MinLength: 1,\n },\n serializedName: \"agentPoolName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: AgentPoolMapper,\n};\n\nexport const machines: OperationParameter = {\n parameterPath: \"machines\",\n mapper: AgentPoolDeleteMachinesParameterMapper,\n};\n\nexport const machineName: OperationURLParameter = {\n parameterPath: \"machineName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9][-_a-zA-Z0-9]{0,39}$\"),\n },\n serializedName: \"machineName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateEndpointConnectionMapper,\n};\n\nexport const parameters9: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateLinkResourceMapper,\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters10: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: SnapshotMapper,\n};\n\nexport const parameters11: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterSnapshotMapper,\n};\n\nexport const trustedAccessRoleBindingName: OperationURLParameter = {\n parameterPath: \"trustedAccessRoleBindingName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^([A-Za-z0-9-])+$\"),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"trustedAccessRoleBindingName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const trustedAccessRoleBinding: OperationParameter = {\n parameterPath: \"trustedAccessRoleBinding\",\n mapper: TrustedAccessRoleBindingMapper,\n};\n\nexport const loadBalancerName: OperationURLParameter = {\n parameterPath: \"loadBalancerName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]{0,11}$\"),\n MaxLength: 12,\n MinLength: 1,\n },\n serializedName: \"loadBalancerName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters12: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: LoadBalancerMapper,\n};\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,cAAc,IAAI,oBAAoB,EACtC,UAAU,IAAI,gBAAgB,EAC9B,qCAAqC,IAAI,2CAA2C,EACpF,wBAAwB,IAAI,8BAA8B,EAC1D,iBAAiB,IAAI,uBAAuB,EAC5C,iCAAiC,IAAI,uCAAuC,EAC5E,wBAAwB,IAAI,8BAA8B,EAC1D,gBAAgB,IAAI,sBAAsB,EAC1C,SAAS,IAAI,eAAe,EAC5B,gCAAgC,IAAI,sCAAsC,EAC1E,OAAO,IAAI,aAAa,EACxB,yBAAyB,IAAI,+BAA+B,EAC5D,mBAAmB,IAAI,yBAAyB,EAChD,QAAQ,IAAI,cAAc,EAC1B,sBAAsB,IAAI,4BAA4B,EACtD,wBAAwB,IAAI,8BAA8B,EAC1D,YAAY,IAAI,kBAAkB,GACnC,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,oBAAoB;QAClC,UAAU,EAAE,IAAI;QAChB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right (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ManagedCluster as ManagedClusterMapper,\n TagsObject as TagsObjectMapper,\n ManagedClusterServicePrincipalProfile as ManagedClusterServicePrincipalProfileMapper,\n ManagedClusterAADProfile as ManagedClusterAADProfileMapper,\n RunCommandRequest as RunCommandRequestMapper,\n RebalanceLoadBalancersRequestBody as RebalanceLoadBalancersRequestBodyMapper,\n MaintenanceConfiguration as MaintenanceConfigurationMapper,\n ManagedNamespace as ManagedNamespaceMapper,\n AgentPool as AgentPoolMapper,\n AgentPoolDeleteMachinesParameter as AgentPoolDeleteMachinesParameterMapper,\n Machine as MachineMapper,\n PrivateEndpointConnection as PrivateEndpointConnectionMapper,\n PrivateLinkResource as PrivateLinkResourceMapper,\n Snapshot as SnapshotMapper,\n ManagedClusterSnapshot as ManagedClusterSnapshotMapper,\n TrustedAccessRoleBinding as TrustedAccessRoleBindingMapper,\n LoadBalancer as LoadBalancerMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-05-02-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\"),\n MaxLength: 63,\n MinLength: 1,\n },\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const roleName: OperationURLParameter = {\n parameterPath: \"roleName\",\n mapper: {\n serializedName: \"roleName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const serverFqdn: OperationQueryParameter = {\n parameterPath: [\"options\", \"serverFqdn\"],\n mapper: {\n serializedName: \"server-fqdn\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const format: OperationQueryParameter = {\n parameterPath: [\"options\", \"format\"],\n mapper: {\n serializedName: \"format\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterMapper,\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsObjectMapper,\n};\n\nexport const ignorePodDisruptionBudget: OperationQueryParameter = {\n parameterPath: [\"options\", \"ignorePodDisruptionBudget\"],\n mapper: {\n serializedName: \"ignore-pod-disruption-budget\",\n type: {\n name: \"Boolean\",\n },\n },\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterServicePrincipalProfileMapper,\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterAADProfileMapper,\n};\n\nexport const requestPayload: OperationParameter = {\n parameterPath: \"requestPayload\",\n mapper: RunCommandRequestMapper,\n};\n\nexport const commandId: OperationURLParameter = {\n parameterPath: \"commandId\",\n mapper: {\n serializedName: \"commandId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const version: OperationURLParameter = {\n parameterPath: \"version\",\n mapper: {\n constraints: {\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"version\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const mode: OperationURLParameter = {\n parameterPath: \"mode\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\"),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"mode\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: RebalanceLoadBalancersRequestBodyMapper,\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const configName: OperationURLParameter = {\n parameterPath: \"configName\",\n mapper: {\n serializedName: \"configName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MaintenanceConfigurationMapper,\n};\n\nexport const managedNamespaceName: OperationURLParameter = {\n parameterPath: \"managedNamespaceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"[a-z0-9]([-a-z0-9]*[a-z0-9])?\"),\n MaxLength: 63,\n MinLength: 1,\n },\n serializedName: \"managedNamespaceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedNamespaceMapper,\n};\n\nexport const agentPoolName: OperationURLParameter = {\n parameterPath: \"agentPoolName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]{0,11}$\"),\n MaxLength: 12,\n MinLength: 1,\n },\n serializedName: \"agentPoolName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: AgentPoolMapper,\n};\n\nexport const machines: OperationParameter = {\n parameterPath: \"machines\",\n mapper: AgentPoolDeleteMachinesParameterMapper,\n};\n\nexport const machineName: OperationURLParameter = {\n parameterPath: \"machineName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]{0,11}$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,39}$\"),\n },\n serializedName: \"machineName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MachineMapper,\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters9: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateEndpointConnectionMapper,\n};\n\nexport const parameters10: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateLinkResourceMapper,\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters11: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: SnapshotMapper,\n};\n\nexport const parameters12: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterSnapshotMapper,\n};\n\nexport const trustedAccessRoleBindingName: OperationURLParameter = {\n parameterPath: \"trustedAccessRoleBindingName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^([A-Za-z0-9-])+$\"),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"trustedAccessRoleBindingName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const trustedAccessRoleBinding: OperationParameter = {\n parameterPath: \"trustedAccessRoleBinding\",\n mapper: TrustedAccessRoleBindingMapper,\n};\n\nexport const loadBalancerName: OperationURLParameter = {\n parameterPath: \"loadBalancerName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]{0,11}$\"),\n MaxLength: 12,\n MinLength: 1,\n },\n serializedName: \"loadBalancerName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters13: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: LoadBalancerMapper,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"agentPools.d.ts","sourceRoot":"","sources":["../../../src/operations/agentPools.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAKzC,OAAO,KAAK,EACV,SAAS,EAET,4BAA4B,EAE5B,4C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EACrB,QAAQ,EAAE,gCAAgC,EAC1C,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAW5C;;;;;;;OAOG;IACH,6BAA6B,CAC3B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,+CAA+C,CAAC;IAO3D;;;;;;;;OAQG;IACG,4BAA4B,CAChC,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAoDxD;;;;;;;;OAQG;IACG,mCAAmC,CACvC,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -10,7 +10,7 @@ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers.js";
12
12
  import * as Parameters from "../models/parameters.js";
13
- import { createHttpPoller, } from "@azure/core-lro";
13
+ import { createHttpPoller } from "@azure/core-lro";
14
14
  import { createLroSpec } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing AgentPools operations. */
@@ -561,10 +561,7 @@ const deleteOperationSpec = {
561
561
  bodyMapper: Mappers.CloudError,
562
562
  },
563
563
  },
564
- queryParameters: [
565
- Parameters.apiVersion,
566
- Parameters.ignorePodDisruptionBudget,
567
- ],
564
+ queryParameters: [Parameters.apiVersion, Parameters.ignorePodDisruptionBudget],
568
565
  urlParameters: [
569
566
  Parameters.$host,
570
567
  Parameters.subscriptionId,
@@ -1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,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,2LAA2L;IACjM,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { AgentPools } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type {\n SimplePollerLike,\n OperationState} from \"@azure/core-lro\";\nimport {\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n AgentPool,\n AgentPoolsListNextOptionalParams,\n AgentPoolsListOptionalParams,\n AgentPoolsListResponse,\n AgentPoolsAbortLatestOperationOptionalParams,\n AgentPoolsAbortLatestOperationResponse,\n AgentPoolsGetOptionalParams,\n AgentPoolsGetResponse,\n AgentPoolsCreateOrUpdateOptionalParams,\n AgentPoolsCreateOrUpdateResponse,\n AgentPoolsDeleteOptionalParams,\n AgentPoolsDeleteResponse,\n AgentPoolsGetUpgradeProfileOptionalParams,\n AgentPoolsGetUpgradeProfileResponse,\n AgentPoolDeleteMachinesParameter,\n AgentPoolsDeleteMachinesOptionalParams,\n AgentPoolsDeleteMachinesResponse,\n AgentPoolsGetAvailableAgentPoolVersionsOptionalParams,\n AgentPoolsGetAvailableAgentPoolVersionsResponse,\n AgentPoolsUpgradeNodeImageVersionOptionalParams,\n AgentPoolsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AgentPools operations. */\nexport class AgentPoolsImpl implements AgentPools {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class AgentPools class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of agent pools in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): PagedAsyncIterableIterator<AgentPool> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AgentPool[]> {\n let result: AgentPoolsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, resourceName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): AsyncIterableIterator<AgentPool> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a\n * Canceling state and eventually to a Canceled state when cancellation finishes. If the operation\n * completes before cancellation can take place, an error is returned.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginAbortLatestOperation(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsAbortLatestOperationOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsAbortLatestOperationResponse>,\n AgentPoolsAbortLatestOperationResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsAbortLatestOperationResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: abortLatestOperationOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsAbortLatestOperationResponse,\n OperationState<AgentPoolsAbortLatestOperationResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a\n * Canceling state and eventually to a Canceled state when cancellation finishes. If the operation\n * completes before cancellation can take place, an error is returned.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginAbortLatestOperationAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsAbortLatestOperationOptionalParams,\n ): Promise<AgentPoolsAbortLatestOperationResponse> {\n const poller = await this.beginAbortLatestOperation(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a list of agent pools in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): Promise<AgentPoolsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified managed cluster agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsGetOptionalParams,\n ): Promise<AgentPoolsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param parameters The agent pool to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n parameters: AgentPool,\n options?: AgentPoolsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsCreateOrUpdateResponse>,\n AgentPoolsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n agentPoolName,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsCreateOrUpdateResponse,\n OperationState<AgentPoolsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param parameters The agent pool to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n parameters: AgentPool,\n options?: AgentPoolsCreateOrUpdateOptionalParams,\n ): Promise<AgentPoolsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceName,\n agentPoolName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsDeleteResponse>,\n AgentPoolsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsDeleteResponse,\n OperationState<AgentPoolsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<AgentPoolsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the upgrade profile for an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n getUpgradeProfile(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsGetUpgradeProfileOptionalParams,\n ): Promise<AgentPoolsGetUpgradeProfileResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, options },\n getUpgradeProfileOperationSpec,\n );\n }\n\n /**\n * Deletes specific machines in an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param machines A list of machines from the agent pool to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteMachines(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n machines: AgentPoolDeleteMachinesParameter,\n options?: AgentPoolsDeleteMachinesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsDeleteMachinesResponse>,\n AgentPoolsDeleteMachinesResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsDeleteMachinesResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n agentPoolName,\n machines,\n options,\n },\n spec: deleteMachinesOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsDeleteMachinesResponse,\n OperationState<AgentPoolsDeleteMachinesResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes specific machines in an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param machines A list of machines from the agent pool to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteMachinesAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n machines: AgentPoolDeleteMachinesParameter,\n options?: AgentPoolsDeleteMachinesOptionalParams,\n ): Promise<AgentPoolsDeleteMachinesResponse> {\n const poller = await this.beginDeleteMachines(\n resourceGroupName,\n resourceName,\n agentPoolName,\n machines,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * See [supported Kubernetes\n * versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about\n * the version lifecycle.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n getAvailableAgentPoolVersions(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsGetAvailableAgentPoolVersionsOptionalParams,\n ): Promise<AgentPoolsGetAvailableAgentPoolVersionsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getAvailableAgentPoolVersionsOperationSpec,\n );\n }\n\n /**\n * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the\n * nodes. AKS provides one new image per week with the latest updates. For more details on node image\n * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginUpgradeNodeImageVersion(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsUpgradeNodeImageVersionOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: upgradeNodeImageVersionOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the\n * nodes. AKS provides one new image per week with the latest updates. For more details on node image\n * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginUpgradeNodeImageVersionAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsUpgradeNodeImageVersionOptionalParams,\n ): Promise<void> {\n const poller = await this.beginUpgradeNodeImageVersion(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: AgentPoolsListNextOptionalParams,\n ): Promise<AgentPoolsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst abortLatestOperationOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/agentPools/{agentPoolName}/abort\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n 201: {\n bodyMapper: Mappers.AgentPool,\n },\n 202: {\n bodyMapper: Mappers.AgentPool,\n },\n 204: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.ignorePodDisruptionBudget,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getUpgradeProfileOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolUpgradeProfile,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteMachinesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/deleteMachines\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.machines,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getAvailableAgentPoolVersionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolAvailableVersions,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst upgradeNodeImageVersionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"agentPools.js","sourceRoot":"","sources":["../../../src/operations/agentPools.ts"],"names":[],"mappings":"AAAA;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IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,2LAA2L;IACjM,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { AgentPools } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n AgentPool,\n AgentPoolsListNextOptionalParams,\n AgentPoolsListOptionalParams,\n AgentPoolsListResponse,\n AgentPoolsAbortLatestOperationOptionalParams,\n AgentPoolsAbortLatestOperationResponse,\n AgentPoolsGetOptionalParams,\n AgentPoolsGetResponse,\n AgentPoolsCreateOrUpdateOptionalParams,\n AgentPoolsCreateOrUpdateResponse,\n AgentPoolsDeleteOptionalParams,\n AgentPoolsDeleteResponse,\n AgentPoolsGetUpgradeProfileOptionalParams,\n AgentPoolsGetUpgradeProfileResponse,\n AgentPoolDeleteMachinesParameter,\n AgentPoolsDeleteMachinesOptionalParams,\n AgentPoolsDeleteMachinesResponse,\n AgentPoolsGetAvailableAgentPoolVersionsOptionalParams,\n AgentPoolsGetAvailableAgentPoolVersionsResponse,\n AgentPoolsUpgradeNodeImageVersionOptionalParams,\n AgentPoolsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AgentPools operations. */\nexport class AgentPoolsImpl implements AgentPools {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class AgentPools class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of agent pools in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): PagedAsyncIterableIterator<AgentPool> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, resourceName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AgentPool[]> {\n let result: AgentPoolsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, resourceName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, resourceName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): AsyncIterableIterator<AgentPool> {\n for await (const page of this.listPagingPage(resourceGroupName, resourceName, options)) {\n yield* page;\n }\n }\n\n /**\n * Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a\n * Canceling state and eventually to a Canceled state when cancellation finishes. If the operation\n * completes before cancellation can take place, an error is returned.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginAbortLatestOperation(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsAbortLatestOperationOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsAbortLatestOperationResponse>,\n AgentPoolsAbortLatestOperationResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsAbortLatestOperationResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: abortLatestOperationOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsAbortLatestOperationResponse,\n OperationState<AgentPoolsAbortLatestOperationResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a\n * Canceling state and eventually to a Canceled state when cancellation finishes. If the operation\n * completes before cancellation can take place, an error is returned.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginAbortLatestOperationAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsAbortLatestOperationOptionalParams,\n ): Promise<AgentPoolsAbortLatestOperationResponse> {\n const poller = await this.beginAbortLatestOperation(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a list of agent pools in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): Promise<AgentPoolsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified managed cluster agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsGetOptionalParams,\n ): Promise<AgentPoolsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param parameters The agent pool to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n parameters: AgentPool,\n options?: AgentPoolsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsCreateOrUpdateResponse>,\n AgentPoolsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n agentPoolName,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsCreateOrUpdateResponse,\n OperationState<AgentPoolsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param parameters The agent pool to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n parameters: AgentPool,\n options?: AgentPoolsCreateOrUpdateOptionalParams,\n ): Promise<AgentPoolsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceName,\n agentPoolName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<AgentPoolsDeleteResponse>, AgentPoolsDeleteResponse>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsDeleteResponse,\n OperationState<AgentPoolsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<AgentPoolsDeleteResponse> {\n const poller = await this.beginDelete(resourceGroupName, resourceName, agentPoolName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the upgrade profile for an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n getUpgradeProfile(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsGetUpgradeProfileOptionalParams,\n ): Promise<AgentPoolsGetUpgradeProfileResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, options },\n getUpgradeProfileOperationSpec,\n );\n }\n\n /**\n * Deletes specific machines in an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param machines A list of machines from the agent pool to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteMachines(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n machines: AgentPoolDeleteMachinesParameter,\n options?: AgentPoolsDeleteMachinesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsDeleteMachinesResponse>,\n AgentPoolsDeleteMachinesResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsDeleteMachinesResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n agentPoolName,\n machines,\n options,\n },\n spec: deleteMachinesOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsDeleteMachinesResponse,\n OperationState<AgentPoolsDeleteMachinesResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes specific machines in an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param machines A list of machines from the agent pool to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteMachinesAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n machines: AgentPoolDeleteMachinesParameter,\n options?: AgentPoolsDeleteMachinesOptionalParams,\n ): Promise<AgentPoolsDeleteMachinesResponse> {\n const poller = await this.beginDeleteMachines(\n resourceGroupName,\n resourceName,\n agentPoolName,\n machines,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * See [supported Kubernetes\n * versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about\n * the version lifecycle.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n getAvailableAgentPoolVersions(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsGetAvailableAgentPoolVersionsOptionalParams,\n ): Promise<AgentPoolsGetAvailableAgentPoolVersionsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getAvailableAgentPoolVersionsOperationSpec,\n );\n }\n\n /**\n * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the\n * nodes. AKS provides one new image per week with the latest updates. For more details on node image\n * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginUpgradeNodeImageVersion(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsUpgradeNodeImageVersionOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: upgradeNodeImageVersionOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the\n * nodes. AKS provides one new image per week with the latest updates. For more details on node image\n * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginUpgradeNodeImageVersionAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsUpgradeNodeImageVersionOptionalParams,\n ): Promise<void> {\n const poller = await this.beginUpgradeNodeImageVersion(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: AgentPoolsListNextOptionalParams,\n ): Promise<AgentPoolsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst abortLatestOperationOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/agentPools/{agentPoolName}/abort\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n 201: {\n bodyMapper: Mappers.AgentPool,\n },\n 202: {\n bodyMapper: Mappers.AgentPool,\n },\n 204: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.ignorePodDisruptionBudget],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getUpgradeProfileOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolUpgradeProfile,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteMachinesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/deleteMachines\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.machines,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getAvailableAgentPoolVersionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolAvailableVersions,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst upgradeNodeImageVersionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"containerService.d.ts","sourceRoot":"","sources":["../../../src/operations/containerService.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIzE,OAAO,KAAK,EAAE,sBAAsB,E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 -118,11 +118,7 @@ const listNodeImageVersionsOperationSpec = {
118
118
  },
119
119
  },
120
120
  queryParameters: [Parameters.apiVersion],
121
- urlParameters: [
122
- Parameters.$host,
123
- Parameters.subscriptionId,
124
- Parameters.location,
125
- ],
121
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location],
126
122
  headerParameters: [Parameters.accept],
127
123
  serializer,
128
124
  };
@@ -1 +1 @@
1
- {"version":3,"file":"containerService.js","sourceRoot":"","sources":["../../../src/operations/containerService.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,oDAAoD;AACpD,MAAM,OAAO,oBAAoB;IAG/B;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,qBAAqB,CAC1B,QAAgB,EAChB,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,8BAA8B,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACpE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,+BAA+B,CACzC,QAAQ,EACR,OAAO,EACP,QAAQ,CACT,CAAC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QACnB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ContainerService } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type {\n NodeImageVersion,\n ContainerServiceListNodeImageVersionsNextOptionalParams,\n ContainerServiceListNodeImageVersionsOptionalParams,\n ContainerServiceListNodeImageVersionsResponse,\n ContainerServiceListNodeImageVersionsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerService operations. */\nexport class ContainerServiceImpl implements ContainerService {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class ContainerService class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Only returns the latest version of each node image. For example there may be an\n * AKSUbuntu-1804gen2containerd-2024.01.26, but only AKSUbuntu-1804gen2containerd-2024.02.02 is visible\n * in this list.\n * @param location The name of the Azure region.\n * @param options The options parameters.\n */\n public listNodeImageVersions(\n location: string,\n options?: ContainerServiceListNodeImageVersionsOptionalParams,\n ): PagedAsyncIterableIterator<NodeImageVersion> {\n const iter = this.listNodeImageVersionsPagingAll(location, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listNodeImageVersionsPagingPage(\n location,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listNodeImageVersionsPagingPage(\n location: string,\n options?: ContainerServiceListNodeImageVersionsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<NodeImageVersion[]> {\n let result: ContainerServiceListNodeImageVersionsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listNodeImageVersions(location, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNodeImageVersionsNext(\n location,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listNodeImageVersionsPagingAll(\n location: string,\n options?: ContainerServiceListNodeImageVersionsOptionalParams,\n ): AsyncIterableIterator<NodeImageVersion> {\n for await (const page of this.listNodeImageVersionsPagingPage(\n location,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Only returns the latest version of each node image. For example there may be an\n * AKSUbuntu-1804gen2containerd-2024.01.26, but only AKSUbuntu-1804gen2containerd-2024.02.02 is visible\n * in this list.\n * @param location The name of the Azure region.\n * @param options The options parameters.\n */\n private _listNodeImageVersions(\n location: string,\n options?: ContainerServiceListNodeImageVersionsOptionalParams,\n ): Promise<ContainerServiceListNodeImageVersionsResponse> {\n return this.client.sendOperationRequest(\n { location, options },\n listNodeImageVersionsOperationSpec,\n );\n }\n\n /**\n * ListNodeImageVersionsNext\n * @param location The name of the Azure region.\n * @param nextLink The nextLink from the previous successful call to the ListNodeImageVersions method.\n * @param options The options parameters.\n */\n private _listNodeImageVersionsNext(\n location: string,\n nextLink: string,\n options?: ContainerServiceListNodeImageVersionsNextOptionalParams,\n ): Promise<ContainerServiceListNodeImageVersionsNextResponse> {\n return this.client.sendOperationRequest(\n { location, nextLink, options },\n listNodeImageVersionsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listNodeImageVersionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/nodeImageVersions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NodeImageVersionsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNodeImageVersionsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NodeImageVersionsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"containerService.js","sourceRoot":"","sources":["../../../src/operations/containerService.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,oDAAoD;AACpD,MAAM,OAAO,oBAAoB;IAG/B;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,qBAAqB,CAC1B,QAAgB,EAChB,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,8BAA8B,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACpE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI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,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,sCAAsC,GAA6B;IACvE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ContainerService } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type {\n NodeImageVersion,\n ContainerServiceListNodeImageVersionsNextOptionalParams,\n ContainerServiceListNodeImageVersionsOptionalParams,\n ContainerServiceListNodeImageVersionsResponse,\n ContainerServiceListNodeImageVersionsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerService operations. */\nexport class ContainerServiceImpl implements ContainerService {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class ContainerService class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Only returns the latest version of each node image. For example there may be an\n * AKSUbuntu-1804gen2containerd-2024.01.26, but only AKSUbuntu-1804gen2containerd-2024.02.02 is visible\n * in this list.\n * @param location The name of the Azure region.\n * @param options The options parameters.\n */\n public listNodeImageVersions(\n location: string,\n options?: ContainerServiceListNodeImageVersionsOptionalParams,\n ): PagedAsyncIterableIterator<NodeImageVersion> {\n const iter = this.listNodeImageVersionsPagingAll(location, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listNodeImageVersionsPagingPage(location, options, settings);\n },\n };\n }\n\n private async *listNodeImageVersionsPagingPage(\n location: string,\n options?: ContainerServiceListNodeImageVersionsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<NodeImageVersion[]> {\n let result: ContainerServiceListNodeImageVersionsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listNodeImageVersions(location, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNodeImageVersionsNext(location, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listNodeImageVersionsPagingAll(\n location: string,\n options?: ContainerServiceListNodeImageVersionsOptionalParams,\n ): AsyncIterableIterator<NodeImageVersion> {\n for await (const page of this.listNodeImageVersionsPagingPage(location, options)) {\n yield* page;\n }\n }\n\n /**\n * Only returns the latest version of each node image. For example there may be an\n * AKSUbuntu-1804gen2containerd-2024.01.26, but only AKSUbuntu-1804gen2containerd-2024.02.02 is visible\n * in this list.\n * @param location The name of the Azure region.\n * @param options The options parameters.\n */\n private _listNodeImageVersions(\n location: string,\n options?: ContainerServiceListNodeImageVersionsOptionalParams,\n ): Promise<ContainerServiceListNodeImageVersionsResponse> {\n return this.client.sendOperationRequest(\n { location, options },\n listNodeImageVersionsOperationSpec,\n );\n }\n\n /**\n * ListNodeImageVersionsNext\n * @param location The name of the Azure region.\n * @param nextLink The nextLink from the previous successful call to the ListNodeImageVersions method.\n * @param options The options parameters.\n */\n private _listNodeImageVersionsNext(\n location: string,\n nextLink: string,\n options?: ContainerServiceListNodeImageVersionsNextOptionalParams,\n ): Promise<ContainerServiceListNodeImageVersionsNextResponse> {\n return this.client.sendOperationRequest(\n { location, nextLink, options },\n listNodeImageVersionsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listNodeImageVersionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/nodeImageVersions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NodeImageVersionsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNodeImageVersionsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NodeImageVersionsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"loadBalancers.d.ts","sourceRoot":"","sources":["../../../src/operations/loadBalancers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAItE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,E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,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,YAAY,EACxB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAa/C;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CACR,gBAAgB,CAAC,cAAc,CAAC,2BAA2B,CAAC,EAAE,2BAA2B,CAAC,CAC3F;IAsDD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAUvC;;;;;;OAMG;IACH,OAAO,CAAC,yBAAyB;CAWlC"}
@@ -10,7 +10,7 @@ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers.js";
12
12
  import * as Parameters from "../models/parameters.js";
13
- import { createHttpPoller, } from "@azure/core-lro";
13
+ import { createHttpPoller } from "@azure/core-lro";
14
14
  import { createLroSpec } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing LoadBalancers operations. */
@@ -244,7 +244,7 @@ const createOrUpdateOperationSpec = {
244
244
  bodyMapper: Mappers.CloudError,
245
245
  },
246
246
  },
247
- requestBody: Parameters.parameters12,
247
+ requestBody: Parameters.parameters13,
248
248
  queryParameters: [Parameters.apiVersion],
249
249
  urlParameters: [
250
250
  Parameters.$host,