@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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAsBtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAa,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,EACrC,QAAuB;;YAEvB,IAAI,MAA6B,CAAC;YAClC,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,C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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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAsBtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAa,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,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,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6B;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,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,s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C,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,6 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  exports.TrustedAccessRoleBindingsImpl = void 0;
11
6
  const tslib_1 = require("tslib");
@@ -18,6 +13,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
18
13
  /// <reference lib="esnext.asynciterable" />
19
14
  /** Class containing TrustedAccessRoleBindings operations. */
20
15
  class TrustedAccessRoleBindingsImpl {
16
+ client;
21
17
  /**
22
18
  * Initialize a new instance of the class TrustedAccessRoleBindings class.
23
19
  * @param client Reference to the service client
@@ -41,52 +37,35 @@ class TrustedAccessRoleBindingsImpl {
41
37
  return this;
42
38
  },
43
39
  byPage: (settings) => {
44
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ if (settings?.maxPageSize) {
45
41
  throw new Error("maxPageSize is not supported by this operation.");
46
42
  }
47
43
  return this.listPagingPage(resourceGroupName, resourceName, options, settings);
48
44
  },
49
45
  };
50
46
  }
51
- listPagingPage(resourceGroupName, resourceName, options, settings) {
52
- return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
53
- let result;
54
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
55
- if (!continuationToken) {
56
- result = yield tslib_1.__await(this._list(resourceGroupName, resourceName, options));
57
- const page = result.value || [];
58
- continuationToken = result.nextLink;
59
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
- yield yield tslib_1.__await(page);
61
- }
62
- while (continuationToken) {
63
- result = yield tslib_1.__await(this._listNext(resourceGroupName, resourceName, continuationToken, options));
64
- continuationToken = result.nextLink;
65
- const page = result.value || [];
66
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
67
- yield yield tslib_1.__await(page);
68
- }
69
- });
47
+ async *listPagingPage(resourceGroupName, resourceName, options, settings) {
48
+ let result;
49
+ let continuationToken = settings?.continuationToken;
50
+ if (!continuationToken) {
51
+ result = await this._list(resourceGroupName, resourceName, options);
52
+ const page = result.value || [];
53
+ continuationToken = result.nextLink;
54
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
55
+ yield page;
56
+ }
57
+ while (continuationToken) {
58
+ result = await this._listNext(resourceGroupName, resourceName, continuationToken, options);
59
+ continuationToken = result.nextLink;
60
+ const page = result.value || [];
61
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
62
+ yield page;
63
+ }
70
64
  }
71
- listPagingAll(resourceGroupName, resourceName, options) {
72
- return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
73
- var _a, e_1, _b, _c;
74
- try {
75
- for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, resourceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
76
- _c = _f.value;
77
- _d = false;
78
- const page = _c;
79
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
80
- }
81
- }
82
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
83
- finally {
84
- try {
85
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
86
- }
87
- finally { if (e_1) throw e_1.error; }
88
- }
89
- });
65
+ async *listPagingAll(resourceGroupName, resourceName, options) {
66
+ for await (const page of this.listPagingPage(resourceGroupName, resourceName, options)) {
67
+ yield* page;
68
+ }
90
69
  }
91
70
  /**
92
71
  * List trusted access role bindings.
@@ -125,14 +104,19 @@ class TrustedAccessRoleBindingsImpl {
125
104
  return this.client.sendOperationRequest(args, spec);
126
105
  };
127
106
  const sendOperationFn = async (args, spec) => {
128
- var _a;
129
107
  let currentRawResponse = undefined;
130
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
108
+ const providedCallback = args.options?.onResponse;
131
109
  const callback = (rawResponse, flatResponse) => {
132
110
  currentRawResponse = rawResponse;
133
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
111
+ providedCallback?.(rawResponse, flatResponse);
112
+ };
113
+ const updatedArgs = {
114
+ ...args,
115
+ options: {
116
+ ...args.options,
117
+ onResponse: callback,
118
+ },
134
119
  };
135
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
136
120
  const flatResponse = await directSendOperation(updatedArgs, spec);
137
121
  return {
138
122
  flatResponse,
@@ -155,8 +139,8 @@ class TrustedAccessRoleBindingsImpl {
155
139
  spec: createOrUpdateOperationSpec,
156
140
  });
157
141
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
158
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
159
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
142
+ restoreFrom: options?.resumeFrom,
143
+ intervalInMs: options?.updateIntervalInMs,
160
144
  });
161
145
  await poller.poll();
162
146
  return poller;
@@ -185,14 +169,19 @@ class TrustedAccessRoleBindingsImpl {
185
169
  return this.client.sendOperationRequest(args, spec);
186
170
  };
187
171
  const sendOperationFn = async (args, spec) => {
188
- var _a;
189
172
  let currentRawResponse = undefined;
190
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
173
+ const providedCallback = args.options?.onResponse;
191
174
  const callback = (rawResponse, flatResponse) => {
192
175
  currentRawResponse = rawResponse;
193
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
176
+ providedCallback?.(rawResponse, flatResponse);
177
+ };
178
+ const updatedArgs = {
179
+ ...args,
180
+ options: {
181
+ ...args.options,
182
+ onResponse: callback,
183
+ },
194
184
  };
195
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
196
185
  const flatResponse = await directSendOperation(updatedArgs, spec);
197
186
  return {
198
187
  flatResponse,
@@ -214,8 +203,8 @@ class TrustedAccessRoleBindingsImpl {
214
203
  spec: deleteOperationSpec,
215
204
  });
216
205
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
217
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
218
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
206
+ restoreFrom: options?.resumeFrom,
207
+ intervalInMs: options?.updateIntervalInMs,
219
208
  });
220
209
  await poller.poll();
221
210
  return poller;
@@ -1 +1 @@
1
- {"version":3,"file":"trustedAccessRoleBindings.js","sourceRoot":"","sources":["../../../src/operations/trust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AE;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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAe9C,4CAA4C;AAC5C,6DAA6D;AAC7D,MAAa,6BAA6B;IACvB,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAA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AU;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,6 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  exports.TrustedAccessRolesImpl = void 0;
11
6
  const tslib_1 = require("tslib");
@@ -16,6 +11,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
11
  /// <reference lib="esnext.asynciterable" />
17
12
  /** Class containing TrustedAccessRoles operations. */
18
13
  class TrustedAccessRolesImpl {
14
+ client;
19
15
  /**
20
16
  * Initialize a new instance of the class TrustedAccessRoles class.
21
17
  * @param client Reference to the service client
@@ -38,52 +34,35 @@ class TrustedAccessRolesImpl {
38
34
  return this;
39
35
  },
40
36
  byPage: (settings) => {
41
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
37
+ if (settings?.maxPageSize) {
42
38
  throw new Error("maxPageSize is not supported by this operation.");
43
39
  }
44
40
  return this.listPagingPage(location, options, settings);
45
41
  },
46
42
  };
47
43
  }
48
- listPagingPage(location, options, settings) {
49
- return tslib_1.__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 tslib_1.__await(this._list(location, options));
54
- const page = result.value || [];
55
- continuationToken = result.nextLink;
56
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
57
- yield yield tslib_1.__await(page);
58
- }
59
- while (continuationToken) {
60
- result = yield tslib_1.__await(this._listNext(location, continuationToken, options));
61
- continuationToken = result.nextLink;
62
- const page = result.value || [];
63
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
64
- yield yield tslib_1.__await(page);
65
- }
66
- });
44
+ async *listPagingPage(location, options, settings) {
45
+ let result;
46
+ let continuationToken = settings?.continuationToken;
47
+ if (!continuationToken) {
48
+ result = await this._list(location, options);
49
+ const page = result.value || [];
50
+ continuationToken = result.nextLink;
51
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
52
+ yield page;
53
+ }
54
+ while (continuationToken) {
55
+ result = await this._listNext(location, continuationToken, options);
56
+ continuationToken = result.nextLink;
57
+ const page = result.value || [];
58
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
59
+ yield page;
60
+ }
67
61
  }
68
- listPagingAll(location, options) {
69
- return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
70
- var _a, e_1, _b, _c;
71
- try {
72
- for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(location, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
73
- _c = _f.value;
74
- _d = false;
75
- const page = _c;
76
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__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 tslib_1.__await(_b.call(_e));
83
- }
84
- finally { if (e_1) throw e_1.error; }
85
- }
86
- });
62
+ async *listPagingAll(location, options) {
63
+ for await (const page of this.listPagingPage(location, options)) {
64
+ yield* page;
65
+ }
87
66
  }
88
67
  /**
89
68
  * List supported trusted access roles.
@@ -1 +1 @@
1
- {"version":3,"file":"trustedAccessRoles.js","sourceRoot":"","sources":["../../../src/operations/trustedAccessRoles.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;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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"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,sDAAsD;AACtD,MAAa,sBAAsB;IAChB,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OA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,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,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,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;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;;;;;;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,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;;;;OAQG;IACH,yBAAyB,CACvB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sCAAsC,CAAC,EACtD,sCAAsC,CACvC,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,gCAAgC,CAC9B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,O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,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,gCAAgC,EAC1C,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gCAAgC,CAAC,EAChD,gCAAgC,CACjC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,gCAAgC,EAC1C,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;;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,10 +1,5 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  //# sourceMappingURL=agentPools.js.map