@azure/arm-containerservice 22.2.0 → 22.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/dist/browser/containerServiceClient.d.ts.map +1 -1
  2. package/dist/browser/containerServiceClient.js +29 -14
  3. package/dist/browser/containerServiceClient.js.map +1 -1
  4. package/dist/browser/index.d.ts.map +1 -1
  5. package/dist/browser/index.js +4 -7
  6. package/dist/browser/index.js.map +1 -1
  7. package/dist/browser/lroImpl.d.ts.map +1 -1
  8. package/dist/browser/lroImpl.js +9 -10
  9. package/dist/browser/lroImpl.js.map +1 -1
  10. package/dist/browser/models/index.d.ts +12 -4
  11. package/dist/browser/models/index.d.ts.map +1 -1
  12. package/dist/browser/models/index.js +7 -8
  13. package/dist/browser/models/index.js.map +1 -1
  14. package/dist/browser/models/mappers.d.ts.map +1 -1
  15. package/dist/browser/models/mappers.js +300 -146
  16. package/dist/browser/models/mappers.js.map +1 -1
  17. package/dist/browser/models/parameters.d.ts.map +1 -1
  18. package/dist/browser/models/parameters.js +3 -8
  19. package/dist/browser/models/parameters.js.map +1 -1
  20. package/dist/browser/operations/agentPools.d.ts.map +1 -1
  21. package/dist/browser/operations/agentPools.js +80 -77
  22. package/dist/browser/operations/agentPools.js.map +1 -1
  23. package/dist/browser/operations/index.d.ts.map +1 -1
  24. package/dist/browser/operations/index.js +4 -7
  25. package/dist/browser/operations/index.js.map +1 -1
  26. package/dist/browser/operations/machines.d.ts.map +1 -1
  27. package/dist/browser/operations/machines.js +25 -47
  28. package/dist/browser/operations/machines.js.map +1 -1
  29. package/dist/browser/operations/maintenanceConfigurations.d.ts.map +1 -1
  30. package/dist/browser/operations/maintenanceConfigurations.js +25 -47
  31. package/dist/browser/operations/maintenanceConfigurations.js.map +1 -1
  32. package/dist/browser/operations/managedClusters.d.ts.map +1 -1
  33. package/dist/browser/operations/managedClusters.js +234 -269
  34. package/dist/browser/operations/managedClusters.js.map +1 -1
  35. package/dist/browser/operations/operations.d.ts.map +1 -1
  36. package/dist/browser/operations/operations.js +12 -34
  37. package/dist/browser/operations/operations.js.map +1 -1
  38. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  39. package/dist/browser/operations/privateEndpointConnections.js +14 -13
  40. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  41. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
  42. package/dist/browser/operations/privateLinkResources.js +3 -7
  43. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  44. package/dist/browser/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
  45. package/dist/browser/operations/resolvePrivateLinkServiceId.js +3 -7
  46. package/dist/browser/operations/resolvePrivateLinkServiceId.js.map +1 -1
  47. package/dist/browser/operations/snapshots.d.ts.map +1 -1
  48. package/dist/browser/operations/snapshots.js +47 -86
  49. package/dist/browser/operations/snapshots.js.map +1 -1
  50. package/dist/browser/operations/trustedAccessRoleBindings.d.ts.map +1 -1
  51. package/dist/browser/operations/trustedAccessRoleBindings.js +47 -59
  52. package/dist/browser/operations/trustedAccessRoleBindings.js.map +1 -1
  53. package/dist/browser/operations/trustedAccessRoles.d.ts.map +1 -1
  54. package/dist/browser/operations/trustedAccessRoles.js +25 -47
  55. package/dist/browser/operations/trustedAccessRoles.js.map +1 -1
  56. package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
  57. package/dist/browser/operationsInterfaces/agentPools.js +2 -7
  58. package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
  59. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  60. package/dist/browser/operationsInterfaces/index.js +4 -7
  61. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  62. package/dist/browser/operationsInterfaces/machines.d.ts.map +1 -1
  63. package/dist/browser/operationsInterfaces/machines.js +2 -7
  64. package/dist/browser/operationsInterfaces/machines.js.map +1 -1
  65. package/dist/browser/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
  66. package/dist/browser/operationsInterfaces/maintenanceConfigurations.js +2 -7
  67. package/dist/browser/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
  68. package/dist/browser/operationsInterfaces/managedClusters.d.ts.map +1 -1
  69. package/dist/browser/operationsInterfaces/managedClusters.js +2 -7
  70. package/dist/browser/operationsInterfaces/managedClusters.js.map +1 -1
  71. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  72. package/dist/browser/operationsInterfaces/operations.js +2 -7
  73. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  74. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  75. package/dist/browser/operationsInterfaces/privateEndpointConnections.js +2 -7
  76. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  77. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  78. package/dist/browser/operationsInterfaces/privateLinkResources.js +2 -7
  79. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
  80. package/dist/browser/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
  81. package/dist/browser/operationsInterfaces/resolvePrivateLinkServiceId.js +2 -7
  82. package/dist/browser/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
  83. package/dist/browser/operationsInterfaces/snapshots.d.ts.map +1 -1
  84. package/dist/browser/operationsInterfaces/snapshots.js +2 -7
  85. package/dist/browser/operationsInterfaces/snapshots.js.map +1 -1
  86. package/dist/browser/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
  87. package/dist/browser/operationsInterfaces/trustedAccessRoleBindings.js +2 -7
  88. package/dist/browser/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
  89. package/dist/browser/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
  90. package/dist/browser/operationsInterfaces/trustedAccessRoles.js +2 -7
  91. package/dist/browser/operationsInterfaces/trustedAccessRoles.js.map +1 -1
  92. package/dist/browser/pagingHelper.d.ts.map +1 -1
  93. package/dist/browser/pagingHelper.js +4 -11
  94. package/dist/browser/pagingHelper.js.map +1 -1
  95. package/dist/commonjs/containerServiceClient.d.ts.map +1 -1
  96. package/dist/commonjs/containerServiceClient.js +29 -14
  97. package/dist/commonjs/containerServiceClient.js.map +1 -1
  98. package/dist/commonjs/index.d.ts.map +1 -1
  99. package/dist/commonjs/index.js +4 -7
  100. package/dist/commonjs/index.js.map +1 -1
  101. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  102. package/dist/commonjs/lroImpl.js +9 -10
  103. package/dist/commonjs/lroImpl.js.map +1 -1
  104. package/dist/commonjs/models/index.d.ts +12 -4
  105. package/dist/commonjs/models/index.d.ts.map +1 -1
  106. package/dist/commonjs/models/index.js +7 -8
  107. package/dist/commonjs/models/index.js.map +1 -1
  108. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  109. package/dist/commonjs/models/mappers.js +300 -146
  110. package/dist/commonjs/models/mappers.js.map +1 -1
  111. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  112. package/dist/commonjs/models/parameters.js +3 -8
  113. package/dist/commonjs/models/parameters.js.map +1 -1
  114. package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
  115. package/dist/commonjs/operations/agentPools.js +80 -76
  116. package/dist/commonjs/operations/agentPools.js.map +1 -1
  117. package/dist/commonjs/operations/index.d.ts.map +1 -1
  118. package/dist/commonjs/operations/index.js +4 -7
  119. package/dist/commonjs/operations/index.js.map +1 -1
  120. package/dist/commonjs/operations/machines.d.ts.map +1 -1
  121. package/dist/commonjs/operations/machines.js +25 -46
  122. package/dist/commonjs/operations/machines.js.map +1 -1
  123. package/dist/commonjs/operations/maintenanceConfigurations.d.ts.map +1 -1
  124. package/dist/commonjs/operations/maintenanceConfigurations.js +25 -46
  125. package/dist/commonjs/operations/maintenanceConfigurations.js.map +1 -1
  126. package/dist/commonjs/operations/managedClusters.d.ts.map +1 -1
  127. package/dist/commonjs/operations/managedClusters.js +234 -268
  128. package/dist/commonjs/operations/managedClusters.js.map +1 -1
  129. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  130. package/dist/commonjs/operations/operations.js +12 -33
  131. package/dist/commonjs/operations/operations.js.map +1 -1
  132. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  133. package/dist/commonjs/operations/privateEndpointConnections.js +14 -13
  134. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  135. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
  136. package/dist/commonjs/operations/privateLinkResources.js +3 -7
  137. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  138. package/dist/commonjs/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
  139. package/dist/commonjs/operations/resolvePrivateLinkServiceId.js +3 -7
  140. package/dist/commonjs/operations/resolvePrivateLinkServiceId.js.map +1 -1
  141. package/dist/commonjs/operations/snapshots.d.ts.map +1 -1
  142. package/dist/commonjs/operations/snapshots.js +47 -85
  143. package/dist/commonjs/operations/snapshots.js.map +1 -1
  144. package/dist/commonjs/operations/trustedAccessRoleBindings.d.ts.map +1 -1
  145. package/dist/commonjs/operations/trustedAccessRoleBindings.js +47 -58
  146. package/dist/commonjs/operations/trustedAccessRoleBindings.js.map +1 -1
  147. package/dist/commonjs/operations/trustedAccessRoles.d.ts.map +1 -1
  148. package/dist/commonjs/operations/trustedAccessRoles.js +25 -46
  149. package/dist/commonjs/operations/trustedAccessRoles.js.map +1 -1
  150. package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
  151. package/dist/commonjs/operationsInterfaces/agentPools.js +2 -7
  152. package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
  153. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  154. package/dist/commonjs/operationsInterfaces/index.js +4 -7
  155. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  156. package/dist/commonjs/operationsInterfaces/machines.d.ts.map +1 -1
  157. package/dist/commonjs/operationsInterfaces/machines.js +2 -7
  158. package/dist/commonjs/operationsInterfaces/machines.js.map +1 -1
  159. package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
  160. package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.js +2 -7
  161. package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
  162. package/dist/commonjs/operationsInterfaces/managedClusters.d.ts.map +1 -1
  163. package/dist/commonjs/operationsInterfaces/managedClusters.js +2 -7
  164. package/dist/commonjs/operationsInterfaces/managedClusters.js.map +1 -1
  165. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  166. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  167. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  168. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  169. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +2 -7
  170. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  171. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  172. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +2 -7
  173. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
  174. package/dist/commonjs/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
  175. package/dist/commonjs/operationsInterfaces/resolvePrivateLinkServiceId.js +2 -7
  176. package/dist/commonjs/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
  177. package/dist/commonjs/operationsInterfaces/snapshots.d.ts.map +1 -1
  178. package/dist/commonjs/operationsInterfaces/snapshots.js +2 -7
  179. package/dist/commonjs/operationsInterfaces/snapshots.js.map +1 -1
  180. package/dist/commonjs/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
  181. package/dist/commonjs/operationsInterfaces/trustedAccessRoleBindings.js +2 -7
  182. package/dist/commonjs/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
  183. package/dist/commonjs/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
  184. package/dist/commonjs/operationsInterfaces/trustedAccessRoles.js +2 -7
  185. package/dist/commonjs/operationsInterfaces/trustedAccessRoles.js.map +1 -1
  186. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  187. package/dist/commonjs/pagingHelper.js +4 -11
  188. package/dist/commonjs/pagingHelper.js.map +1 -1
  189. package/dist/commonjs/tsdoc-metadata.json +1 -1
  190. package/dist/esm/containerServiceClient.d.ts.map +1 -1
  191. package/dist/esm/containerServiceClient.js +29 -14
  192. package/dist/esm/containerServiceClient.js.map +1 -1
  193. package/dist/esm/index.d.ts.map +1 -1
  194. package/dist/esm/index.js +4 -7
  195. package/dist/esm/index.js.map +1 -1
  196. package/dist/esm/lroImpl.d.ts.map +1 -1
  197. package/dist/esm/lroImpl.js +9 -10
  198. package/dist/esm/lroImpl.js.map +1 -1
  199. package/dist/esm/models/index.d.ts +12 -4
  200. package/dist/esm/models/index.d.ts.map +1 -1
  201. package/dist/esm/models/index.js +7 -8
  202. package/dist/esm/models/index.js.map +1 -1
  203. package/dist/esm/models/mappers.d.ts.map +1 -1
  204. package/dist/esm/models/mappers.js +300 -146
  205. package/dist/esm/models/mappers.js.map +1 -1
  206. package/dist/esm/models/parameters.d.ts.map +1 -1
  207. package/dist/esm/models/parameters.js +3 -8
  208. package/dist/esm/models/parameters.js.map +1 -1
  209. package/dist/esm/operations/agentPools.d.ts.map +1 -1
  210. package/dist/esm/operations/agentPools.js +80 -77
  211. package/dist/esm/operations/agentPools.js.map +1 -1
  212. package/dist/esm/operations/index.d.ts.map +1 -1
  213. package/dist/esm/operations/index.js +4 -7
  214. package/dist/esm/operations/index.js.map +1 -1
  215. package/dist/esm/operations/machines.d.ts.map +1 -1
  216. package/dist/esm/operations/machines.js +25 -47
  217. package/dist/esm/operations/machines.js.map +1 -1
  218. package/dist/esm/operations/maintenanceConfigurations.d.ts.map +1 -1
  219. package/dist/esm/operations/maintenanceConfigurations.js +25 -47
  220. package/dist/esm/operations/maintenanceConfigurations.js.map +1 -1
  221. package/dist/esm/operations/managedClusters.d.ts.map +1 -1
  222. package/dist/esm/operations/managedClusters.js +234 -269
  223. package/dist/esm/operations/managedClusters.js.map +1 -1
  224. package/dist/esm/operations/operations.d.ts.map +1 -1
  225. package/dist/esm/operations/operations.js +12 -34
  226. package/dist/esm/operations/operations.js.map +1 -1
  227. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  228. package/dist/esm/operations/privateEndpointConnections.js +14 -13
  229. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  230. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
  231. package/dist/esm/operations/privateLinkResources.js +3 -7
  232. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  233. package/dist/esm/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
  234. package/dist/esm/operations/resolvePrivateLinkServiceId.js +3 -7
  235. package/dist/esm/operations/resolvePrivateLinkServiceId.js.map +1 -1
  236. package/dist/esm/operations/snapshots.d.ts.map +1 -1
  237. package/dist/esm/operations/snapshots.js +47 -86
  238. package/dist/esm/operations/snapshots.js.map +1 -1
  239. package/dist/esm/operations/trustedAccessRoleBindings.d.ts.map +1 -1
  240. package/dist/esm/operations/trustedAccessRoleBindings.js +47 -59
  241. package/dist/esm/operations/trustedAccessRoleBindings.js.map +1 -1
  242. package/dist/esm/operations/trustedAccessRoles.d.ts.map +1 -1
  243. package/dist/esm/operations/trustedAccessRoles.js +25 -47
  244. package/dist/esm/operations/trustedAccessRoles.js.map +1 -1
  245. package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
  246. package/dist/esm/operationsInterfaces/agentPools.js +2 -7
  247. package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
  248. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  249. package/dist/esm/operationsInterfaces/index.js +4 -7
  250. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  251. package/dist/esm/operationsInterfaces/machines.d.ts.map +1 -1
  252. package/dist/esm/operationsInterfaces/machines.js +2 -7
  253. package/dist/esm/operationsInterfaces/machines.js.map +1 -1
  254. package/dist/esm/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
  255. package/dist/esm/operationsInterfaces/maintenanceConfigurations.js +2 -7
  256. package/dist/esm/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
  257. package/dist/esm/operationsInterfaces/managedClusters.d.ts.map +1 -1
  258. package/dist/esm/operationsInterfaces/managedClusters.js +2 -7
  259. package/dist/esm/operationsInterfaces/managedClusters.js.map +1 -1
  260. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  261. package/dist/esm/operationsInterfaces/operations.js +2 -7
  262. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  263. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  264. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
  265. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  266. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  267. package/dist/esm/operationsInterfaces/privateLinkResources.js +2 -7
  268. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
  269. package/dist/esm/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
  270. package/dist/esm/operationsInterfaces/resolvePrivateLinkServiceId.js +2 -7
  271. package/dist/esm/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
  272. package/dist/esm/operationsInterfaces/snapshots.d.ts.map +1 -1
  273. package/dist/esm/operationsInterfaces/snapshots.js +2 -7
  274. package/dist/esm/operationsInterfaces/snapshots.js.map +1 -1
  275. package/dist/esm/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
  276. package/dist/esm/operationsInterfaces/trustedAccessRoleBindings.js +2 -7
  277. package/dist/esm/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
  278. package/dist/esm/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
  279. package/dist/esm/operationsInterfaces/trustedAccessRoles.js +2 -7
  280. package/dist/esm/operationsInterfaces/trustedAccessRoles.js.map +1 -1
  281. package/dist/esm/pagingHelper.d.ts.map +1 -1
  282. package/dist/esm/pagingHelper.js +4 -11
  283. package/dist/esm/pagingHelper.js.map +1 -1
  284. package/dist/react-native/containerServiceClient.d.ts.map +1 -1
  285. package/dist/react-native/containerServiceClient.js +29 -14
  286. package/dist/react-native/containerServiceClient.js.map +1 -1
  287. package/dist/react-native/index.d.ts.map +1 -1
  288. package/dist/react-native/index.js +4 -7
  289. package/dist/react-native/index.js.map +1 -1
  290. package/dist/react-native/lroImpl.d.ts.map +1 -1
  291. package/dist/react-native/lroImpl.js +9 -10
  292. package/dist/react-native/lroImpl.js.map +1 -1
  293. package/dist/react-native/models/index.d.ts +12 -4
  294. package/dist/react-native/models/index.d.ts.map +1 -1
  295. package/dist/react-native/models/index.js +7 -8
  296. package/dist/react-native/models/index.js.map +1 -1
  297. package/dist/react-native/models/mappers.d.ts.map +1 -1
  298. package/dist/react-native/models/mappers.js +300 -146
  299. package/dist/react-native/models/mappers.js.map +1 -1
  300. package/dist/react-native/models/parameters.d.ts.map +1 -1
  301. package/dist/react-native/models/parameters.js +3 -8
  302. package/dist/react-native/models/parameters.js.map +1 -1
  303. package/dist/react-native/operations/agentPools.d.ts.map +1 -1
  304. package/dist/react-native/operations/agentPools.js +80 -77
  305. package/dist/react-native/operations/agentPools.js.map +1 -1
  306. package/dist/react-native/operations/index.d.ts.map +1 -1
  307. package/dist/react-native/operations/index.js +4 -7
  308. package/dist/react-native/operations/index.js.map +1 -1
  309. package/dist/react-native/operations/machines.d.ts.map +1 -1
  310. package/dist/react-native/operations/machines.js +25 -47
  311. package/dist/react-native/operations/machines.js.map +1 -1
  312. package/dist/react-native/operations/maintenanceConfigurations.d.ts.map +1 -1
  313. package/dist/react-native/operations/maintenanceConfigurations.js +25 -47
  314. package/dist/react-native/operations/maintenanceConfigurations.js.map +1 -1
  315. package/dist/react-native/operations/managedClusters.d.ts.map +1 -1
  316. package/dist/react-native/operations/managedClusters.js +234 -269
  317. package/dist/react-native/operations/managedClusters.js.map +1 -1
  318. package/dist/react-native/operations/operations.d.ts.map +1 -1
  319. package/dist/react-native/operations/operations.js +12 -34
  320. package/dist/react-native/operations/operations.js.map +1 -1
  321. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  322. package/dist/react-native/operations/privateEndpointConnections.js +14 -13
  323. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  324. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
  325. package/dist/react-native/operations/privateLinkResources.js +3 -7
  326. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  327. package/dist/react-native/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
  328. package/dist/react-native/operations/resolvePrivateLinkServiceId.js +3 -7
  329. package/dist/react-native/operations/resolvePrivateLinkServiceId.js.map +1 -1
  330. package/dist/react-native/operations/snapshots.d.ts.map +1 -1
  331. package/dist/react-native/operations/snapshots.js +47 -86
  332. package/dist/react-native/operations/snapshots.js.map +1 -1
  333. package/dist/react-native/operations/trustedAccessRoleBindings.d.ts.map +1 -1
  334. package/dist/react-native/operations/trustedAccessRoleBindings.js +47 -59
  335. package/dist/react-native/operations/trustedAccessRoleBindings.js.map +1 -1
  336. package/dist/react-native/operations/trustedAccessRoles.d.ts.map +1 -1
  337. package/dist/react-native/operations/trustedAccessRoles.js +25 -47
  338. package/dist/react-native/operations/trustedAccessRoles.js.map +1 -1
  339. package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
  340. package/dist/react-native/operationsInterfaces/agentPools.js +2 -7
  341. package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
  342. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  343. package/dist/react-native/operationsInterfaces/index.js +4 -7
  344. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  345. package/dist/react-native/operationsInterfaces/machines.d.ts.map +1 -1
  346. package/dist/react-native/operationsInterfaces/machines.js +2 -7
  347. package/dist/react-native/operationsInterfaces/machines.js.map +1 -1
  348. package/dist/react-native/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
  349. package/dist/react-native/operationsInterfaces/maintenanceConfigurations.js +2 -7
  350. package/dist/react-native/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
  351. package/dist/react-native/operationsInterfaces/managedClusters.d.ts.map +1 -1
  352. package/dist/react-native/operationsInterfaces/managedClusters.js +2 -7
  353. package/dist/react-native/operationsInterfaces/managedClusters.js.map +1 -1
  354. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  355. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  356. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  357. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  358. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
  359. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  360. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  361. package/dist/react-native/operationsInterfaces/privateLinkResources.js +2 -7
  362. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
  363. package/dist/react-native/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
  364. package/dist/react-native/operationsInterfaces/resolvePrivateLinkServiceId.js +2 -7
  365. package/dist/react-native/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
  366. package/dist/react-native/operationsInterfaces/snapshots.d.ts.map +1 -1
  367. package/dist/react-native/operationsInterfaces/snapshots.js +2 -7
  368. package/dist/react-native/operationsInterfaces/snapshots.js.map +1 -1
  369. package/dist/react-native/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
  370. package/dist/react-native/operationsInterfaces/trustedAccessRoleBindings.js +2 -7
  371. package/dist/react-native/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
  372. package/dist/react-native/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
  373. package/dist/react-native/operationsInterfaces/trustedAccessRoles.js +2 -7
  374. package/dist/react-native/operationsInterfaces/trustedAccessRoles.js.map +1 -1
  375. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  376. package/dist/react-native/pagingHelper.js +4 -11
  377. package/dist/react-native/pagingHelper.js.map +1 -1
  378. package/package.json +17 -20
@@ -1 +1 @@
1
- {"version":3,"file":"snapshots.js","sourceRoot":"","sources":["../../../src/operations/snapshots.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;AAsBtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CAAC,OAAqC;QAC/C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,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,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAqC,EACr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ACD,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,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;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,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 { Snapshots } 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 Snapshot,\n SnapshotsListNextOptionalParams,\n SnapshotsListOptionalParams,\n SnapshotsListResponse,\n SnapshotsListByResourceGroupNextOptionalParams,\n SnapshotsListByResourceGroupOptionalParams,\n SnapshotsListByResourceGroupResponse,\n SnapshotsGetOptionalParams,\n SnapshotsGetResponse,\n SnapshotsCreateOrUpdateOptionalParams,\n SnapshotsCreateOrUpdateResponse,\n TagsObject,\n SnapshotsUpdateTagsOptionalParams,\n SnapshotsUpdateTagsResponse,\n SnapshotsDeleteOptionalParams,\n SnapshotsListNextResponse,\n SnapshotsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Snapshots operations. */\nexport class SnapshotsImpl implements Snapshots {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class Snapshots 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 snapshots in the specified subscription.\n * @param options The options parameters.\n */\n public list(options?: SnapshotsListOptionalParams): PagedAsyncIterableIterator<Snapshot> {\n const iter = this.listPagingAll(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(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: SnapshotsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Snapshot[]> {\n let result: SnapshotsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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(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 options?: SnapshotsListOptionalParams,\n ): AsyncIterableIterator<Snapshot> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists snapshots in the specified subscription and resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: SnapshotsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Snapshot> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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.listByResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: SnapshotsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Snapshot[]> {\n let result: SnapshotsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: SnapshotsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<Snapshot> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of snapshots in the specified subscription.\n * @param options The options parameters.\n */\n private _list(options?: SnapshotsListOptionalParams): Promise<SnapshotsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Lists snapshots in the specified subscription and resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: SnapshotsListByResourceGroupOptionalParams,\n ): Promise<SnapshotsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Gets a snapshot.\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 get(\n resourceGroupName: string,\n resourceName: string,\n options?: SnapshotsGetOptionalParams,\n ): Promise<SnapshotsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a snapshot.\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 parameters The snapshot to create or update.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n parameters: Snapshot,\n options?: SnapshotsCreateOrUpdateOptionalParams,\n ): Promise<SnapshotsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Updates tags on a snapshot.\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 parameters Parameters supplied to the Update snapshot Tags operation.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n resourceName: string,\n parameters: TagsObject,\n options?: SnapshotsUpdateTagsOptionalParams,\n ): Promise<SnapshotsUpdateTagsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n updateTagsOperationSpec,\n );\n }\n\n /**\n * Deletes a snapshot.\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 delete(\n resourceGroupName: string,\n resourceName: string,\n options?: SnapshotsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * ListNext\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 nextLink: string,\n options?: SnapshotsListNextOptionalParams,\n ): Promise<SnapshotsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: SnapshotsListByResourceGroupNextOptionalParams,\n ): Promise<SnapshotsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/snapshots\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SnapshotListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SnapshotListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Snapshot,\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 createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Snapshot,\n },\n 201: {\n bodyMapper: Mappers.Snapshot,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateTagsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Snapshot,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SnapshotListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SnapshotListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"snapshots.js","sourceRoot":"","sources":["../../../src/operations/snapshots.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,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;AAsBtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IACP,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CAAC,OAAqC;QAC/C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAA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ChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;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,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;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,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Snapshots } 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 Snapshot,\n SnapshotsListNextOptionalParams,\n SnapshotsListOptionalParams,\n SnapshotsListResponse,\n SnapshotsListByResourceGroupNextOptionalParams,\n SnapshotsListByResourceGroupOptionalParams,\n SnapshotsListByResourceGroupResponse,\n SnapshotsGetOptionalParams,\n SnapshotsGetResponse,\n SnapshotsCreateOrUpdateOptionalParams,\n SnapshotsCreateOrUpdateResponse,\n TagsObject,\n SnapshotsUpdateTagsOptionalParams,\n SnapshotsUpdateTagsResponse,\n SnapshotsDeleteOptionalParams,\n SnapshotsListNextResponse,\n SnapshotsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Snapshots operations. */\nexport class SnapshotsImpl implements Snapshots {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class Snapshots 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 snapshots in the specified subscription.\n * @param options The options parameters.\n */\n public list(options?: SnapshotsListOptionalParams): PagedAsyncIterableIterator<Snapshot> {\n const iter = this.listPagingAll(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(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: SnapshotsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Snapshot[]> {\n let result: SnapshotsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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(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 options?: SnapshotsListOptionalParams,\n ): AsyncIterableIterator<Snapshot> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists snapshots in the specified subscription and resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: SnapshotsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Snapshot> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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.listByResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: SnapshotsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Snapshot[]> {\n let result: SnapshotsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: SnapshotsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<Snapshot> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of snapshots in the specified subscription.\n * @param options The options parameters.\n */\n private _list(options?: SnapshotsListOptionalParams): Promise<SnapshotsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Lists snapshots in the specified subscription and resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: SnapshotsListByResourceGroupOptionalParams,\n ): Promise<SnapshotsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Gets a snapshot.\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 get(\n resourceGroupName: string,\n resourceName: string,\n options?: SnapshotsGetOptionalParams,\n ): Promise<SnapshotsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a snapshot.\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 parameters The snapshot to create or update.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n parameters: Snapshot,\n options?: SnapshotsCreateOrUpdateOptionalParams,\n ): Promise<SnapshotsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Updates tags on a snapshot.\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 parameters Parameters supplied to the Update snapshot Tags operation.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n resourceName: string,\n parameters: TagsObject,\n options?: SnapshotsUpdateTagsOptionalParams,\n ): Promise<SnapshotsUpdateTagsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n updateTagsOperationSpec,\n );\n }\n\n /**\n * Deletes a snapshot.\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 delete(\n resourceGroupName: string,\n resourceName: string,\n options?: SnapshotsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * ListNext\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 nextLink: string,\n options?: SnapshotsListNextOptionalParams,\n ): Promise<SnapshotsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: SnapshotsListByResourceGroupNextOptionalParams,\n ): Promise<SnapshotsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/snapshots\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SnapshotListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SnapshotListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Snapshot,\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 createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Snapshot,\n },\n 201: {\n bodyMapper: Mappers.Snapshot,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateTagsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Snapshot,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SnapshotListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SnapshotListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"trustedAccessRoleBindings.d.ts","sourceRoot":"","sources":["../../../src/operations/trustedAccessRoleBindings.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAIlF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,wBAAwB,EAExB,2CAA2C,EAE3C,0CAA0C,EAC1C,oCAAoC,EACpC,qDAAqD,EACrD,+CAA+C,EAC/C,6CAA6C,E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AAuC,CACxC,CACF;IA2DD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,4BAA4B,EAAE,MAAM,EACpC,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAUnD;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
1
+ {"version":3,"file":"trustedAccessRoleBindings.d.ts","sourceRoot":"","sources":["../../../src/operations/trustedAccessRoleBindings.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAIlF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,wBAAwB,EAExB,2CAA2C,EAE3C,0CAA0C,EAC1C,oCAAoC,EACpC,qDAAqD,EACrD,+CAA+C,EAC/C,6CAA6C,EAC7C,uCAAuC,EAExC,MAAM,oBAAoB,CAAC;AAG5B,6DAA6D;AAC7D,qBAAa,6BAA8B,YAAW,yBAAyB;IAC7E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,wBAAwB,CAAC;YAkBxC,cAAc;YAwBd,aAAa;IAU5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,4BAA4B,EAAE,MAAM,EACpC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAYhD;;;;;;;OAOG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,4BAA4B,EAAE,MAAM,EACpC,wBAAwB,EAAE,wBAAwB,EAClD,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,+CAA+C,CAAC,EAC/D,+CAA+C,CAChD,CACF;IA4DD;;;;;;;OAOG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,4BAA4B,EAAE,MAAM,EACpC,wBAAwB,EAAE,wBAAwB,EAClD,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,+CAA+C,CAAC;IAW3D;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,4BAA4B,EAAE,MAAM,EACpC,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,uCAAuC,CAAC,EACvD,uCAAuC,CACxC,CACF;IA2DD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,4BAA4B,EAAE,MAAM,EACpC,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAUnD;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -1,11 +1,5 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
9
3
  import { setContinuationToken } from "../pagingHelper.js";
10
4
  import * as coreClient from "@azure/core-client";
11
5
  import * as Mappers from "../models/mappers.js";
@@ -15,6 +9,7 @@ import { createLroSpec } from "../lroImpl.js";
15
9
  /// <reference lib="esnext.asynciterable" />
16
10
  /** Class containing TrustedAccessRoleBindings operations. */
17
11
  export class TrustedAccessRoleBindingsImpl {
12
+ client;
18
13
  /**
19
14
  * Initialize a new instance of the class TrustedAccessRoleBindings class.
20
15
  * @param client Reference to the service client
@@ -38,52 +33,35 @@ export class TrustedAccessRoleBindingsImpl {
38
33
  return this;
39
34
  },
40
35
  byPage: (settings) => {
41
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
36
+ if (settings?.maxPageSize) {
42
37
  throw new Error("maxPageSize is not supported by this operation.");
43
38
  }
44
39
  return this.listPagingPage(resourceGroupName, resourceName, options, settings);
45
40
  },
46
41
  };
47
42
  }
48
- listPagingPage(resourceGroupName, resourceName, options, settings) {
49
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
50
- let result;
51
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
- if (!continuationToken) {
53
- result = yield __await(this._list(resourceGroupName, resourceName, options));
54
- const page = result.value || [];
55
- continuationToken = result.nextLink;
56
- setContinuationToken(page, continuationToken);
57
- yield yield __await(page);
58
- }
59
- while (continuationToken) {
60
- result = yield __await(this._listNext(resourceGroupName, resourceName, continuationToken, options));
61
- continuationToken = result.nextLink;
62
- const page = result.value || [];
63
- setContinuationToken(page, continuationToken);
64
- yield yield __await(page);
65
- }
66
- });
43
+ async *listPagingPage(resourceGroupName, resourceName, options, settings) {
44
+ let result;
45
+ let continuationToken = settings?.continuationToken;
46
+ if (!continuationToken) {
47
+ result = await this._list(resourceGroupName, resourceName, options);
48
+ const page = result.value || [];
49
+ continuationToken = result.nextLink;
50
+ setContinuationToken(page, continuationToken);
51
+ yield page;
52
+ }
53
+ while (continuationToken) {
54
+ result = await this._listNext(resourceGroupName, resourceName, continuationToken, options);
55
+ continuationToken = result.nextLink;
56
+ const page = result.value || [];
57
+ setContinuationToken(page, continuationToken);
58
+ yield page;
59
+ }
67
60
  }
68
- listPagingAll(resourceGroupName, resourceName, options) {
69
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
70
- var _a, e_1, _b, _c;
71
- try {
72
- for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, resourceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
73
- _c = _f.value;
74
- _d = false;
75
- const page = _c;
76
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
- }
78
- }
79
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
- finally {
81
- try {
82
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
83
- }
84
- finally { if (e_1) throw e_1.error; }
85
- }
86
- });
61
+ async *listPagingAll(resourceGroupName, resourceName, options) {
62
+ for await (const page of this.listPagingPage(resourceGroupName, resourceName, options)) {
63
+ yield* page;
64
+ }
87
65
  }
88
66
  /**
89
67
  * List trusted access role bindings.
@@ -122,14 +100,19 @@ export class TrustedAccessRoleBindingsImpl {
122
100
  return this.client.sendOperationRequest(args, spec);
123
101
  };
124
102
  const sendOperationFn = async (args, spec) => {
125
- var _a;
126
103
  let currentRawResponse = undefined;
127
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
104
+ const providedCallback = args.options?.onResponse;
128
105
  const callback = (rawResponse, flatResponse) => {
129
106
  currentRawResponse = rawResponse;
130
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
107
+ providedCallback?.(rawResponse, flatResponse);
108
+ };
109
+ const updatedArgs = {
110
+ ...args,
111
+ options: {
112
+ ...args.options,
113
+ onResponse: callback,
114
+ },
131
115
  };
132
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
133
116
  const flatResponse = await directSendOperation(updatedArgs, spec);
134
117
  return {
135
118
  flatResponse,
@@ -152,8 +135,8 @@ export class TrustedAccessRoleBindingsImpl {
152
135
  spec: createOrUpdateOperationSpec,
153
136
  });
154
137
  const poller = await createHttpPoller(lro, {
155
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
156
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
138
+ restoreFrom: options?.resumeFrom,
139
+ intervalInMs: options?.updateIntervalInMs,
157
140
  });
158
141
  await poller.poll();
159
142
  return poller;
@@ -182,14 +165,19 @@ export class TrustedAccessRoleBindingsImpl {
182
165
  return this.client.sendOperationRequest(args, spec);
183
166
  };
184
167
  const sendOperationFn = async (args, spec) => {
185
- var _a;
186
168
  let currentRawResponse = undefined;
187
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
169
+ const providedCallback = args.options?.onResponse;
188
170
  const callback = (rawResponse, flatResponse) => {
189
171
  currentRawResponse = rawResponse;
190
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
172
+ providedCallback?.(rawResponse, flatResponse);
173
+ };
174
+ const updatedArgs = {
175
+ ...args,
176
+ options: {
177
+ ...args.options,
178
+ onResponse: callback,
179
+ },
191
180
  };
192
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
193
181
  const flatResponse = await directSendOperation(updatedArgs, spec);
194
182
  return {
195
183
  flatResponse,
@@ -211,8 +199,8 @@ export class TrustedAccessRoleBindingsImpl {
211
199
  spec: deleteOperationSpec,
212
200
  });
213
201
  const poller = await createHttpPoller(lro, {
214
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
215
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
202
+ restoreFrom: options?.resumeFrom,
203
+ intervalInMs: options?.updateIntervalInMs,
216
204
  });
217
205
  await poller.poll();
218
206
  return poller;
@@ -1 +1 @@
1
- {"version":3,"file":"trustedAccessRoleBindings.js","sourceRo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E,OAAO,CAAC,sCAAsC;SAC9D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,sCAAsC;SAC9D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,sCAAsC;SAC9D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;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,4BAA4B;KACxC;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,kCAAkC;SACvD;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 { TrustedAccessRoleBindings } 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 TrustedAccessRoleBinding,\n TrustedAccessRoleBindingsListNextOptionalParams,\n TrustedAccessRoleBindingsListOptionalParams,\n TrustedAccessRoleBindingsListResponse,\n TrustedAccessRoleBindingsGetOptionalParams,\n TrustedAccessRoleBindingsGetResponse,\n TrustedAccessRoleBindingsCreateOrUpdateOptionalParams,\n TrustedAccessRoleBindingsCreateOrUpdateResponse,\n TrustedAccessRoleBindingsDeleteOptionalParams,\n TrustedAccessRoleBindingsDeleteResponse,\n TrustedAccessRoleBindingsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TrustedAccessRoleBindings operations. */\nexport class TrustedAccessRoleBindingsImpl implements TrustedAccessRoleBindings {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class TrustedAccessRoleBindings class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * List trusted access role bindings.\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?: TrustedAccessRoleBindingsListOptionalParams,\n ): PagedAsyncIterableIterator<TrustedAccessRoleBinding> {\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?: TrustedAccessRoleBindingsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<TrustedAccessRoleBinding[]> {\n let result: TrustedAccessRoleBindingsListResponse;\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?: TrustedAccessRoleBindingsListOptionalParams,\n ): AsyncIterableIterator<TrustedAccessRoleBinding> {\n for await (const page of this.listPagingPage(resourceGroupName, resourceName, options)) {\n yield* page;\n }\n }\n\n /**\n * List trusted access role bindings.\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?: TrustedAccessRoleBindingsListOptionalParams,\n ): Promise<TrustedAccessRoleBindingsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a trusted access role binding.\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 trustedAccessRoleBindingName The name of trusted access role binding.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n trustedAccessRoleBindingName: string,\n options?: TrustedAccessRoleBindingsGetOptionalParams,\n ): Promise<TrustedAccessRoleBindingsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n trustedAccessRoleBindingName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update a trusted access role binding\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 trustedAccessRoleBindingName The name of trusted access role binding.\n * @param trustedAccessRoleBinding A trusted access role binding\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n trustedAccessRoleBindingName: string,\n trustedAccessRoleBinding: TrustedAccessRoleBinding,\n options?: TrustedAccessRoleBindingsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TrustedAccessRoleBindingsCreateOrUpdateResponse>,\n TrustedAccessRoleBindingsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TrustedAccessRoleBindingsCreateOrUpdateResponse> => {\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 trustedAccessRoleBindingName,\n trustedAccessRoleBinding,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n TrustedAccessRoleBindingsCreateOrUpdateResponse,\n OperationState<TrustedAccessRoleBindingsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a trusted access role binding\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 trustedAccessRoleBindingName The name of trusted access role binding.\n * @param trustedAccessRoleBinding A trusted access role binding\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n trustedAccessRoleBindingName: string,\n trustedAccessRoleBinding: TrustedAccessRoleBinding,\n options?: TrustedAccessRoleBindingsCreateOrUpdateOptionalParams,\n ): Promise<TrustedAccessRoleBindingsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceName,\n trustedAccessRoleBindingName,\n trustedAccessRoleBinding,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a trusted access role binding.\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 trustedAccessRoleBindingName The name of trusted access role binding.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n trustedAccessRoleBindingName: string,\n options?: TrustedAccessRoleBindingsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TrustedAccessRoleBindingsDeleteResponse>,\n TrustedAccessRoleBindingsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TrustedAccessRoleBindingsDeleteResponse> => {\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 trustedAccessRoleBindingName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n TrustedAccessRoleBindingsDeleteResponse,\n OperationState<TrustedAccessRoleBindingsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a trusted access role binding.\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 trustedAccessRoleBindingName The name of trusted access role binding.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n trustedAccessRoleBindingName: string,\n options?: TrustedAccessRoleBindingsDeleteOptionalParams,\n ): Promise<TrustedAccessRoleBindingsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n trustedAccessRoleBindingName,\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?: TrustedAccessRoleBindingsListNextOptionalParams,\n ): Promise<TrustedAccessRoleBindingsListNextResponse> {\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 listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrustedAccessRoleBindingListResult,\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}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrustedAccessRoleBinding,\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.trustedAccessRoleBindingName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrustedAccessRoleBinding,\n },\n 201: {\n bodyMapper: Mappers.TrustedAccessRoleBinding,\n },\n 202: {\n bodyMapper: Mappers.TrustedAccessRoleBinding,\n },\n 204: {\n bodyMapper: Mappers.TrustedAccessRoleBinding,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.trustedAccessRoleBinding,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.trustedAccessRoleBindingName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.TrustedAccessRoleBindingsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.TrustedAccessRoleBindingsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.TrustedAccessRoleBindingsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.TrustedAccessRoleBindingsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.trustedAccessRoleBindingName,\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.TrustedAccessRoleBindingListResult,\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":"trustedAccessRoleBindings.js","sourceRoot":"","sources":["../../../src/operations/trustedAccessRoleBindings.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,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;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,C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AE;YACH,UAAU,EAAE,OAAO,CAAC,kCAAkC;SACvD;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":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { TrustedAccessRoleBindings } 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 TrustedAccessRoleBinding,\n TrustedAccessRoleBindingsListNextOptionalParams,\n TrustedAccessRoleBindingsListOptionalParams,\n TrustedAccessRoleBindingsListResponse,\n TrustedAccessRoleBindingsGetOptionalParams,\n TrustedAccessRoleBindingsGetResponse,\n TrustedAccessRoleBindingsCreateOrUpdateOptionalParams,\n TrustedAccessRoleBindingsCreateOrUpdateResponse,\n TrustedAccessRoleBindingsDeleteOptionalParams,\n TrustedAccessRoleBindingsDeleteResponse,\n TrustedAccessRoleBindingsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TrustedAccessRoleBindings operations. */\nexport class TrustedAccessRoleBindingsImpl implements TrustedAccessRoleBindings {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class TrustedAccessRoleBindings class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * List trusted access role bindings.\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?: TrustedAccessRoleBindingsListOptionalParams,\n ): PagedAsyncIterableIterator<TrustedAccessRoleBinding> {\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?: TrustedAccessRoleBindingsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<TrustedAccessRoleBinding[]> {\n let result: TrustedAccessRoleBindingsListResponse;\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?: TrustedAccessRoleBindingsListOptionalParams,\n ): AsyncIterableIterator<TrustedAccessRoleBinding> {\n for await (const page of this.listPagingPage(resourceGroupName, resourceName, options)) {\n yield* page;\n }\n }\n\n /**\n * List trusted access role bindings.\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?: TrustedAccessRoleBindingsListOptionalParams,\n ): Promise<TrustedAccessRoleBindingsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a trusted access role binding.\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 trustedAccessRoleBindingName The name of trusted access role binding.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n trustedAccessRoleBindingName: string,\n options?: TrustedAccessRoleBindingsGetOptionalParams,\n ): Promise<TrustedAccessRoleBindingsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n trustedAccessRoleBindingName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update a trusted access role binding\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 trustedAccessRoleBindingName The name of trusted access role binding.\n * @param trustedAccessRoleBinding A trusted access role binding\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n trustedAccessRoleBindingName: string,\n trustedAccessRoleBinding: TrustedAccessRoleBinding,\n options?: TrustedAccessRoleBindingsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TrustedAccessRoleBindingsCreateOrUpdateResponse>,\n TrustedAccessRoleBindingsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TrustedAccessRoleBindingsCreateOrUpdateResponse> => {\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 trustedAccessRoleBindingName,\n trustedAccessRoleBinding,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n TrustedAccessRoleBindingsCreateOrUpdateResponse,\n OperationState<TrustedAccessRoleBindingsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a trusted access role binding\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 trustedAccessRoleBindingName The name of trusted access role binding.\n * @param trustedAccessRoleBinding A trusted access role binding\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n trustedAccessRoleBindingName: string,\n trustedAccessRoleBinding: TrustedAccessRoleBinding,\n options?: TrustedAccessRoleBindingsCreateOrUpdateOptionalParams,\n ): Promise<TrustedAccessRoleBindingsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceName,\n trustedAccessRoleBindingName,\n trustedAccessRoleBinding,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a trusted access role binding.\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 trustedAccessRoleBindingName The name of trusted access role binding.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n trustedAccessRoleBindingName: string,\n options?: TrustedAccessRoleBindingsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TrustedAccessRoleBindingsDeleteResponse>,\n TrustedAccessRoleBindingsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TrustedAccessRoleBindingsDeleteResponse> => {\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 trustedAccessRoleBindingName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n TrustedAccessRoleBindingsDeleteResponse,\n OperationState<TrustedAccessRoleBindingsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a trusted access role binding.\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 trustedAccessRoleBindingName The name of trusted access role binding.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n trustedAccessRoleBindingName: string,\n options?: TrustedAccessRoleBindingsDeleteOptionalParams,\n ): Promise<TrustedAccessRoleBindingsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n trustedAccessRoleBindingName,\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?: TrustedAccessRoleBindingsListNextOptionalParams,\n ): Promise<TrustedAccessRoleBindingsListNextResponse> {\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 listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrustedAccessRoleBindingListResult,\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}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrustedAccessRoleBinding,\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.trustedAccessRoleBindingName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrustedAccessRoleBinding,\n },\n 201: {\n bodyMapper: Mappers.TrustedAccessRoleBinding,\n },\n 202: {\n bodyMapper: Mappers.TrustedAccessRoleBinding,\n },\n 204: {\n bodyMapper: Mappers.TrustedAccessRoleBinding,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.trustedAccessRoleBinding,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.trustedAccessRoleBindingName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.TrustedAccessRoleBindingsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.TrustedAccessRoleBindingsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.TrustedAccessRoleBindingsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.TrustedAccessRoleBindingsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.trustedAccessRoleBindingName,\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.TrustedAccessRoleBindingListResult,\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":"trustedAccessRoles.d.ts","sourceRoot":"","sources":["../../../src/operations/trustedAccessRoles.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAI3E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,iBAAiB,EAEjB,oCAAoC,EAGrC,MAAM,oBAAoB,CAAC;AAG5B,sDAAsD;AACtD,qBAAa,sBAAuB,YAAW,kBAAkB;IAC/D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;OAIG;IACI,IAAI,CACT,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,0BAA0B,CAAC,iBAAiB,CAAC;YAkBjC,cAAc;YAuBd,aAAa;IAS5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;IAOb;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAOlB"}
1
+ {"version":3,"file":"trustedAccessRoles.d.ts","sourceRoot":"","sources":["../../../src/operations/trustedAccessRoles.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAI3E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,iBAAiB,EAEjB,oCAAoC,EAGrC,MAAM,oBAAoB,CAAC;AAG5B,sDAAsD;AACtD,qBAAa,sBAAuB,YAAW,kBAAkB;IAC/D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;OAIG;IACI,IAAI,CACT,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,0BAA0B,CAAC,iBAAiB,CAAC;YAkBjC,cAAc;YAuBd,aAAa;IAS5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;IAOb;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAOlB"}
@@ -1,11 +1,5 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
9
3
  import { setContinuationToken } from "../pagingHelper.js";
10
4
  import * as coreClient from "@azure/core-client";
11
5
  import * as Mappers from "../models/mappers.js";
@@ -13,6 +7,7 @@ import * as Parameters from "../models/parameters.js";
13
7
  /// <reference lib="esnext.asynciterable" />
14
8
  /** Class containing TrustedAccessRoles operations. */
15
9
  export class TrustedAccessRolesImpl {
10
+ client;
16
11
  /**
17
12
  * Initialize a new instance of the class TrustedAccessRoles class.
18
13
  * @param client Reference to the service client
@@ -35,52 +30,35 @@ export class TrustedAccessRolesImpl {
35
30
  return this;
36
31
  },
37
32
  byPage: (settings) => {
38
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
33
+ if (settings?.maxPageSize) {
39
34
  throw new Error("maxPageSize is not supported by this operation.");
40
35
  }
41
36
  return this.listPagingPage(location, options, settings);
42
37
  },
43
38
  };
44
39
  }
45
- listPagingPage(location, options, settings) {
46
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
47
- let result;
48
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
49
- if (!continuationToken) {
50
- result = yield __await(this._list(location, options));
51
- const page = result.value || [];
52
- continuationToken = result.nextLink;
53
- setContinuationToken(page, continuationToken);
54
- yield yield __await(page);
55
- }
56
- while (continuationToken) {
57
- result = yield __await(this._listNext(location, continuationToken, options));
58
- continuationToken = result.nextLink;
59
- const page = result.value || [];
60
- setContinuationToken(page, continuationToken);
61
- yield yield __await(page);
62
- }
63
- });
40
+ async *listPagingPage(location, options, settings) {
41
+ let result;
42
+ let continuationToken = settings?.continuationToken;
43
+ if (!continuationToken) {
44
+ result = await this._list(location, options);
45
+ const page = result.value || [];
46
+ continuationToken = result.nextLink;
47
+ setContinuationToken(page, continuationToken);
48
+ yield page;
49
+ }
50
+ while (continuationToken) {
51
+ result = await this._listNext(location, continuationToken, options);
52
+ continuationToken = result.nextLink;
53
+ const page = result.value || [];
54
+ setContinuationToken(page, continuationToken);
55
+ yield page;
56
+ }
64
57
  }
65
- listPagingAll(location, options) {
66
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
67
- var _a, e_1, _b, _c;
68
- try {
69
- for (var _d = true, _e = __asyncValues(this.listPagingPage(location, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
70
- _c = _f.value;
71
- _d = false;
72
- const page = _c;
73
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
74
- }
75
- }
76
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
77
- finally {
78
- try {
79
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
80
- }
81
- finally { if (e_1) throw e_1.error; }
82
- }
83
- });
58
+ async *listPagingAll(location, options) {
59
+ for await (const page of this.listPagingPage(location, options)) {
60
+ yield* page;
61
+ }
84
62
  }
85
63
  /**
86
64
  * List supported trusted access roles.
@@ -1 +1 @@
1
- {"version":3,"file":"trustedAccessRoles.js","sourceRoot":"","sources":["../../../src/operations/trustedAccessRoles.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,sDAAsD;AACtD,MAAM,OAAO,sBAAsB;IAGjC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,QAAgB,EAChB,OAA8C;QAE9C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACnD,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,cAAc,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC1D,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,QAAgB,EAChB,OAA8C,EAC9C,QAAuB;;YAEvB,IAAI,MAAsC,CAAC;YAC3C,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI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ChB,OAAkD;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,qBAAqB,CAAC,CAAC;IAClG,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,8GAA8G;IACpH,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,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,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,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 { TrustedAccessRoles } 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 TrustedAccessRole,\n TrustedAccessRolesListNextOptionalParams,\n TrustedAccessRolesListOptionalParams,\n TrustedAccessRolesListResponse,\n TrustedAccessRolesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TrustedAccessRoles operations. */\nexport class TrustedAccessRolesImpl implements TrustedAccessRoles {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class TrustedAccessRoles class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * List supported trusted access roles.\n * @param location The name of the Azure region.\n * @param options The options parameters.\n */\n public list(\n location: string,\n options?: TrustedAccessRolesListOptionalParams,\n ): PagedAsyncIterableIterator<TrustedAccessRole> {\n const iter = this.listPagingAll(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.listPagingPage(location, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n location: string,\n options?: TrustedAccessRolesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<TrustedAccessRole[]> {\n let result: TrustedAccessRolesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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._listNext(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 *listPagingAll(\n location: string,\n options?: TrustedAccessRolesListOptionalParams,\n ): AsyncIterableIterator<TrustedAccessRole> {\n for await (const page of this.listPagingPage(location, options)) {\n yield* page;\n }\n }\n\n /**\n * List supported trusted access roles.\n * @param location The name of the Azure region.\n * @param options The options parameters.\n */\n private _list(\n location: string,\n options?: TrustedAccessRolesListOptionalParams,\n ): Promise<TrustedAccessRolesListResponse> {\n return this.client.sendOperationRequest({ location, options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param location The name of the Azure region.\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 location: string,\n nextLink: string,\n options?: TrustedAccessRolesListNextOptionalParams,\n ): Promise<TrustedAccessRolesListNextResponse> {\n return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/trustedAccessRoles\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrustedAccessRoleListResult,\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 listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrustedAccessRoleListResult,\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":"trustedAccessRoles.js","sourceRoot":"","sources":["../../../src/operations/trustedAccessRoles.ts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AAiB,GAA6B;IAClD,IAAI,EAAE,8GAA8G;IACpH,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,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,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,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":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { TrustedAccessRoles } 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 TrustedAccessRole,\n TrustedAccessRolesListNextOptionalParams,\n TrustedAccessRolesListOptionalParams,\n TrustedAccessRolesListResponse,\n TrustedAccessRolesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TrustedAccessRoles operations. */\nexport class TrustedAccessRolesImpl implements TrustedAccessRoles {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class TrustedAccessRoles class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * List supported trusted access roles.\n * @param location The name of the Azure region.\n * @param options The options parameters.\n */\n public list(\n location: string,\n options?: TrustedAccessRolesListOptionalParams,\n ): PagedAsyncIterableIterator<TrustedAccessRole> {\n const iter = this.listPagingAll(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.listPagingPage(location, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n location: string,\n options?: TrustedAccessRolesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<TrustedAccessRole[]> {\n let result: TrustedAccessRolesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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._listNext(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 *listPagingAll(\n location: string,\n options?: TrustedAccessRolesListOptionalParams,\n ): AsyncIterableIterator<TrustedAccessRole> {\n for await (const page of this.listPagingPage(location, options)) {\n yield* page;\n }\n }\n\n /**\n * List supported trusted access roles.\n * @param location The name of the Azure region.\n * @param options The options parameters.\n */\n private _list(\n location: string,\n options?: TrustedAccessRolesListOptionalParams,\n ): Promise<TrustedAccessRolesListResponse> {\n return this.client.sendOperationRequest({ location, options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param location The name of the Azure region.\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 location: string,\n nextLink: string,\n options?: TrustedAccessRolesListNextOptionalParams,\n ): Promise<TrustedAccessRolesListNextResponse> {\n return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/trustedAccessRoles\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrustedAccessRoleListResult,\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 listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrustedAccessRoleListResult,\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":"agentPools.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/agentPools.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,SAAS,EACT,4BAA4B,EAC5B,4CAA4C,EAC5C,sCAAsC,EACtC,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,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;OAOG;IACH,6BAA6B,CAC3B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,+CAA+C,CAAC,CAAC;IAC5D;;;;;;;;OAQG;IACH,4BAA4B,CAC1B,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,CAAC;IACzD;;;;;;;;OAQG;IACH,mCAAmC,CACjC,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"agentPools.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/agentPools.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,SAAS,EACT,4BAA4B,EAC5B,4CAA4C,EAC5C,sCAAsC,EACtC,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,wBAAwB,EACxB,yCAAyC,EACzC,mCAAmC,EACnC,gCAAgC,EAChC,sCAAsC,EACtC,gCAAgC,EAChC,qDAAqD,EACrD,+CAA+C,EAC/C,+CAA+C,EAChD,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4BAA4B,G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AAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;;OAQG;IACH,mCAAmC,CACjC,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -1,9 +1,4 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  export {};
9
4
  //# sourceMappingURL=agentPools.js.map