@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":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,cAAc,EACd,4BAA4B,EAE7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;OAGG;IACI,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,cAAc,CAAC;YAkBhF,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAGd"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,cAAc,EACd,4BAA4B,EAE7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;OAGG;IACI,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,cAAc,CAAC;YAkBhF,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAGd"}
@@ -1,17 +1,12 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
9
3
  import * as coreClient from "@azure/core-client";
10
4
  import * as Mappers from "../models/mappers.js";
11
5
  import * as Parameters from "../models/parameters.js";
12
6
  /// <reference lib="esnext.asynciterable" />
13
7
  /** Class containing Operations operations. */
14
8
  export class OperationsImpl {
9
+ client;
15
10
  /**
16
11
  * Initialize a new instance of the class Operations class.
17
12
  * @param client Reference to the service client
@@ -33,39 +28,22 @@ export class OperationsImpl {
33
28
  return this;
34
29
  },
35
30
  byPage: (settings) => {
36
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
31
+ if (settings?.maxPageSize) {
37
32
  throw new Error("maxPageSize is not supported by this operation.");
38
33
  }
39
34
  return this.listPagingPage(options, settings);
40
35
  },
41
36
  };
42
37
  }
43
- listPagingPage(options, _settings) {
44
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
45
- let result;
46
- result = yield __await(this._list(options));
47
- yield yield __await(result.value || []);
48
- });
38
+ async *listPagingPage(options, _settings) {
39
+ let result;
40
+ result = await this._list(options);
41
+ yield result.value || [];
49
42
  }
50
- listPagingAll(options) {
51
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
52
- var _a, e_1, _b, _c;
53
- try {
54
- for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
55
- _c = _f.value;
56
- _d = false;
57
- const page = _c;
58
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
59
- }
60
- }
61
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
- finally {
63
- try {
64
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
65
- }
66
- finally { if (e_1) throw e_1.error; }
67
- }
68
- });
43
+ async *listPagingAll(options) {
44
+ for await (const page of this.listPagingPage(options)) {
45
+ yield* page;
46
+ }
69
47
  }
70
48
  /**
71
49
  * Gets a list of operations.
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CAAC,OAAsC;QAChD,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;gB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,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 type { Operations } 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 OperationValue,\n OperationsListOptionalParams,\n OperationsListResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class Operations 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 operations.\n * @param options The options parameters.\n */\n public list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationValue> {\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?: OperationsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<OperationValue[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<OperationValue> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of operations.\n * @param options The options parameters.\n */\n private _list(options?: OperationsListOptionalParams): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ContainerService/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAOlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CAAC,OAAsC;QAChD,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,EAAE,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;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,OAAsC,EACtC,SAAwB;QAExB,IAAI,MAA8B,CAAC;QACnC,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACnC,MAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;IAC3B,CAAC;IAEO,KAAK,CAAC,CAAC,aAAa,CAC1B,OAAsC;QAEtC,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;YACtD,KAAK,CAAC,CAAC,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED;;;OAGG;IACK,KAAK,CAAC,OAAsC;QAClD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,kDAAkD;IACxD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,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 type { Operations } 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 OperationValue,\n OperationsListOptionalParams,\n OperationsListResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class Operations 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 operations.\n * @param options The options parameters.\n */\n public list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationValue> {\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?: OperationsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<OperationValue[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<OperationValue> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of operations.\n * @param options The options parameters.\n */\n private _list(options?: OperationsListOptionalParams): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ContainerService/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,4CAA4C,EAC5C,sCAAsC,EACtC,2CAA2C,EAC3C,qCAAqC,EACrC,yBAAyB,EACzB,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC/C,MAAM,oBAAoB,CAAC;AAE5B,8DAA8D;AAC9D,qBAAa,8BAA+B,YAAW,0BAA0B;IAC/E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAOlD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAapD;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAwDxD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;CASjB"}
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,4CAA4C,EAC5C,sCAAsC,EACtC,2CAA2C,EAC3C,qCAAqC,EACrC,yBAAyB,EACzB,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC/C,MAAM,oBAAoB,CAAC;AAE5B,8DAA8D;AAC9D,qBAAa,8BAA+B,YAAW,0BAA0B;IAC/E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAOlD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAapD;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAwDxD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;CASjB"}
@@ -1,10 +1,5 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  import * as coreClient from "@azure/core-client";
9
4
  import * as Mappers from "../models/mappers.js";
10
5
  import * as Parameters from "../models/parameters.js";
@@ -12,6 +7,7 @@ import { createHttpPoller } from "@azure/core-lro";
12
7
  import { createLroSpec } from "../lroImpl.js";
13
8
  /** Class containing PrivateEndpointConnections operations. */
14
9
  export class PrivateEndpointConnectionsImpl {
10
+ client;
15
11
  /**
16
12
  * Initialize a new instance of the class PrivateEndpointConnections class.
17
13
  * @param client Reference to the service client
@@ -72,14 +68,19 @@ export class PrivateEndpointConnectionsImpl {
72
68
  return this.client.sendOperationRequest(args, spec);
73
69
  };
74
70
  const sendOperationFn = async (args, spec) => {
75
- var _a;
76
71
  let currentRawResponse = undefined;
77
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
72
+ const providedCallback = args.options?.onResponse;
78
73
  const callback = (rawResponse, flatResponse) => {
79
74
  currentRawResponse = rawResponse;
80
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
75
+ providedCallback?.(rawResponse, flatResponse);
76
+ };
77
+ const updatedArgs = {
78
+ ...args,
79
+ options: {
80
+ ...args.options,
81
+ onResponse: callback,
82
+ },
81
83
  };
82
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
83
84
  const flatResponse = await directSendOperation(updatedArgs, spec);
84
85
  return {
85
86
  flatResponse,
@@ -101,8 +102,8 @@ export class PrivateEndpointConnectionsImpl {
101
102
  spec: deleteOperationSpec,
102
103
  });
103
104
  const poller = await createHttpPoller(lro, {
104
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
105
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
105
+ restoreFrom: options?.resumeFrom,
106
+ intervalInMs: options?.updateIntervalInMs,
106
107
  });
107
108
  await poller.poll();
108
109
  return poller;
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAY9C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAGzC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG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AC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,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,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,mMAAmM;IACzM,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;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 { PrivateEndpointConnections } 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 PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnection,\n PrivateEndpointConnectionsUpdateOptionalParams,\n PrivateEndpointConnectionsUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters\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 list(\n resourceGroupName: string,\n resourceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters\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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Updates a private endpoint connection.\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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param parameters The updated private endpoint connection.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n parameters,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes a private endpoint connection.\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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a private endpoint connection.\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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\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}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\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}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\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.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName,\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}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,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IAAI,EAAE,mMAAmM;IACzM,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,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,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,mMAAmM;IACzM,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;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 { PrivateEndpointConnections } 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 PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnection,\n PrivateEndpointConnectionsUpdateOptionalParams,\n PrivateEndpointConnectionsUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters\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 list(\n resourceGroupName: string,\n resourceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters\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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Updates a private endpoint connection.\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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param parameters The updated private endpoint connection.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n parameters,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes a private endpoint connection.\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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a private endpoint connection.\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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\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}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\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}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\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.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName,\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}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,sCAAsC,EACtC,gCAAgC,EACjC,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;CAM7C"}
1
+ {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,sCAAsC,EACtC,gCAAgC,EACjC,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;CAM7C"}
@@ -1,15 +1,11 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  import * as coreClient from "@azure/core-client";
9
4
  import * as Mappers from "../models/mappers.js";
10
5
  import * as Parameters from "../models/parameters.js";
11
6
  /** Class containing PrivateLinkResources operations. */
12
7
  export class PrivateLinkResourcesImpl {
8
+ client;
13
9
  /**
14
10
  * Initialize a new instance of the class PrivateLinkResources class.
15
11
  * @param client Reference to the service client
@@ -1 +1 @@
1
- {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,iBAAyB,EACzB,YAAoB,EACpB,OAAgD;QAEhD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,EAC5C,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,6JAA6J;IACnK,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;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 { PrivateLinkResources } 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 PrivateLinkResourcesListOptionalParams,\n PrivateLinkResourcesListResponse,\n} from \"../models/index.js\";\n\n/** Class containing PrivateLinkResources operations. */\nexport class PrivateLinkResourcesImpl implements PrivateLinkResources {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters\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 list(\n resourceGroupName: string,\n resourceName: string,\n options?: PrivateLinkResourcesListOptionalParams,\n ): Promise<PrivateLinkResourcesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\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}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourcesListResult,\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};\n"]}
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAClB,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,iBAAyB,EACzB,YAAoB,EACpB,OAAgD;QAEhD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,EAC5C,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,6JAA6J;IACnK,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;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 { PrivateLinkResources } 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 PrivateLinkResourcesListOptionalParams,\n PrivateLinkResourcesListResponse,\n} from \"../models/index.js\";\n\n/** Class containing PrivateLinkResources operations. */\nexport class PrivateLinkResourcesImpl implements PrivateLinkResources {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters\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 list(\n resourceGroupName: string,\n resourceName: string,\n options?: PrivateLinkResourcesListOptionalParams,\n ): Promise<PrivateLinkResourcesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\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}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourcesListResult,\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};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"resolvePrivateLinkServiceId.d.ts","sourceRoot":"","sources":["../../../src/operations/resolvePrivateLinkServiceId.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAIpF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,mBAAmB,EACnB,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAE5B,+DAA+D;AAC/D,qBAAa,+BAAgC,YAAW,2BAA2B;IACjF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;;OAMG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,mBAAmB,EAC/B,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;CAMpD"}
1
+ {"version":3,"file":"resolvePrivateLinkServiceId.d.ts","sourceRoot":"","sources":["../../../src/operations/resolvePrivateLinkServiceId.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAIpF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,mBAAmB,EACnB,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAE5B,+DAA+D;AAC/D,qBAAa,+BAAgC,YAAW,2BAA2B;IACjF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;;OAMG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,mBAAmB,EAC/B,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;CAMpD"}
@@ -1,15 +1,11 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  import * as coreClient from "@azure/core-client";
9
4
  import * as Mappers from "../models/mappers.js";
10
5
  import * as Parameters from "../models/parameters.js";
11
6
  /** Class containing ResolvePrivateLinkServiceId operations. */
12
7
  export class ResolvePrivateLinkServiceIdImpl {
8
+ client;
13
9
  /**
14
10
  * Initialize a new instance of the class ResolvePrivateLinkServiceId class.
15
11
  * @param client Reference to the service client
@@ -1 +1 @@
1
- {"version":3,"file":"resolvePrivateLinkServiceId.js","sourceRoot":"","sources":["../../../src/operations/resolvePrivateLinkServiceId.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,+DAA+D;AAC/D,MAAM,OAAO,+BAA+B;IAG1C;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,iBAAyB,EACzB,YAAoB,EACpB,UAA+B,EAC/B,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,EACxD,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,oKAAoK;IAC1K,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,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;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { ResolvePrivateLinkServiceId } 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 PrivateLinkResource,\n ResolvePrivateLinkServiceIdPostOptionalParams,\n ResolvePrivateLinkServiceIdPostResponse,\n} from \"../models/index.js\";\n\n/** Class containing ResolvePrivateLinkServiceId operations. */\nexport class ResolvePrivateLinkServiceIdImpl implements ResolvePrivateLinkServiceId {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class ResolvePrivateLinkServiceId class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets the private link service ID for the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param parameters Parameters required in order to resolve a private link service ID.\n * @param options The options parameters.\n */\n post(\n resourceGroupName: string,\n resourceName: string,\n parameters: PrivateLinkResource,\n options?: ResolvePrivateLinkServiceIdPostOptionalParams,\n ): Promise<ResolvePrivateLinkServiceIdPostResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n postOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst postOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resolvePrivateLinkServiceId\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
1
+ {"version":3,"file":"resolvePrivateLinkServiceId.js","sourceRoot":"","sources":["../../../src/operations/resolvePrivateLinkServiceId.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,+DAA+D;AAC/D,MAAM,OAAO,+BAA+B;IACzB,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,iBAAyB,EACzB,YAAoB,EACpB,UAA+B,EAC/B,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,EACxD,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,oKAAoK;IAC1K,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,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;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { ResolvePrivateLinkServiceId } 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 PrivateLinkResource,\n ResolvePrivateLinkServiceIdPostOptionalParams,\n ResolvePrivateLinkServiceIdPostResponse,\n} from \"../models/index.js\";\n\n/** Class containing ResolvePrivateLinkServiceId operations. */\nexport class ResolvePrivateLinkServiceIdImpl implements ResolvePrivateLinkServiceId {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class ResolvePrivateLinkServiceId class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets the private link service ID for the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param parameters Parameters required in order to resolve a private link service ID.\n * @param options The options parameters.\n */\n post(\n resourceGroupName: string,\n resourceName: string,\n parameters: PrivateLinkResource,\n options?: ResolvePrivateLinkServiceIdPostOptionalParams,\n ): Promise<ResolvePrivateLinkServiceIdPostResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n postOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst postOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resolvePrivateLinkServiceId\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"snapshots.d.ts","sourceRoot":"","sources":["../../../src/operations/snapshots.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,K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C,oBAAoB;IAU5B;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAOhC;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;;OAMG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAOvC;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAOjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -1,11 +1,5 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
9
3
  import { setContinuationToken } from "../pagingHelper.js";
10
4
  import * as coreClient from "@azure/core-client";
11
5
  import * as Mappers from "../models/mappers.js";
@@ -13,6 +7,7 @@ import * as Parameters from "../models/parameters.js";
13
7
  /// <reference lib="esnext.asynciterable" />
14
8
  /** Class containing Snapshots operations. */
15
9
  export class SnapshotsImpl {
10
+ client;
16
11
  /**
17
12
  * Initialize a new instance of the class Snapshots class.
18
13
  * @param client Reference to the service client
@@ -34,52 +29,35 @@ export class SnapshotsImpl {
34
29
  return this;
35
30
  },
36
31
  byPage: (settings) => {
37
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
32
+ if (settings?.maxPageSize) {
38
33
  throw new Error("maxPageSize is not supported by this operation.");
39
34
  }
40
35
  return this.listPagingPage(options, settings);
41
36
  },
42
37
  };
43
38
  }
44
- listPagingPage(options, settings) {
45
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
- let result;
47
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
48
- if (!continuationToken) {
49
- result = yield __await(this._list(options));
50
- const page = result.value || [];
51
- continuationToken = result.nextLink;
52
- setContinuationToken(page, continuationToken);
53
- yield yield __await(page);
54
- }
55
- while (continuationToken) {
56
- result = yield __await(this._listNext(continuationToken, options));
57
- continuationToken = result.nextLink;
58
- const page = result.value || [];
59
- setContinuationToken(page, continuationToken);
60
- yield yield __await(page);
61
- }
62
- });
39
+ async *listPagingPage(options, settings) {
40
+ let result;
41
+ let continuationToken = settings?.continuationToken;
42
+ if (!continuationToken) {
43
+ result = await this._list(options);
44
+ const page = result.value || [];
45
+ continuationToken = result.nextLink;
46
+ setContinuationToken(page, continuationToken);
47
+ yield page;
48
+ }
49
+ while (continuationToken) {
50
+ result = await this._listNext(continuationToken, options);
51
+ continuationToken = result.nextLink;
52
+ const page = result.value || [];
53
+ setContinuationToken(page, continuationToken);
54
+ yield page;
55
+ }
63
56
  }
64
- listPagingAll(options) {
65
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
66
- var _a, e_1, _b, _c;
67
- try {
68
- for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
69
- _c = _f.value;
70
- _d = false;
71
- const page = _c;
72
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
- }
74
- }
75
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
- finally {
77
- try {
78
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
79
- }
80
- finally { if (e_1) throw e_1.error; }
81
- }
82
- });
57
+ async *listPagingAll(options) {
58
+ for await (const page of this.listPagingPage(options)) {
59
+ yield* page;
60
+ }
83
61
  }
84
62
  /**
85
63
  * Lists snapshots in the specified subscription and resource group.
@@ -96,52 +74,35 @@ export class SnapshotsImpl {
96
74
  return this;
97
75
  },
98
76
  byPage: (settings) => {
99
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
77
+ if (settings?.maxPageSize) {
100
78
  throw new Error("maxPageSize is not supported by this operation.");
101
79
  }
102
80
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
103
81
  },
104
82
  };
105
83
  }
106
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
107
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
108
- let result;
109
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
110
- if (!continuationToken) {
111
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
112
- const page = result.value || [];
113
- continuationToken = result.nextLink;
114
- setContinuationToken(page, continuationToken);
115
- yield yield __await(page);
116
- }
117
- while (continuationToken) {
118
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
119
- continuationToken = result.nextLink;
120
- const page = result.value || [];
121
- setContinuationToken(page, continuationToken);
122
- yield yield __await(page);
123
- }
124
- });
84
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
85
+ let result;
86
+ let continuationToken = settings?.continuationToken;
87
+ if (!continuationToken) {
88
+ result = await this._listByResourceGroup(resourceGroupName, options);
89
+ const page = result.value || [];
90
+ continuationToken = result.nextLink;
91
+ setContinuationToken(page, continuationToken);
92
+ yield page;
93
+ }
94
+ while (continuationToken) {
95
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
96
+ continuationToken = result.nextLink;
97
+ const page = result.value || [];
98
+ setContinuationToken(page, continuationToken);
99
+ yield page;
100
+ }
125
101
  }
126
- listByResourceGroupPagingAll(resourceGroupName, options) {
127
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
128
- var _a, e_2, _b, _c;
129
- try {
130
- for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
131
- _c = _f.value;
132
- _d = false;
133
- const page = _c;
134
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
135
- }
136
- }
137
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
138
- finally {
139
- try {
140
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
141
- }
142
- finally { if (e_2) throw e_2.error; }
143
- }
144
- });
102
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
103
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
104
+ yield* page;
105
+ }
145
106
  }
146
107
  /**
147
108
  * Gets a list of snapshots in the specified subscription.