@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,11 +1,6 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  exports.OperationsImpl = void 0;
11
6
  const tslib_1 = require("tslib");
@@ -15,6 +10,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
10
  /// <reference lib="esnext.asynciterable" />
16
11
  /** Class containing Operations operations. */
17
12
  class OperationsImpl {
13
+ client;
18
14
  /**
19
15
  * Initialize a new instance of the class Operations class.
20
16
  * @param client Reference to the service client
@@ -36,39 +32,22 @@ class OperationsImpl {
36
32
  return this;
37
33
  },
38
34
  byPage: (settings) => {
39
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
35
+ if (settings?.maxPageSize) {
40
36
  throw new Error("maxPageSize is not supported by this operation.");
41
37
  }
42
38
  return this.listPagingPage(options, settings);
43
39
  },
44
40
  };
45
41
  }
46
- listPagingPage(options, _settings) {
47
- return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
48
- let result;
49
- result = yield tslib_1.__await(this._list(options));
50
- yield yield tslib_1.__await(result.value || []);
51
- });
42
+ async *listPagingPage(options, _settings) {
43
+ let result;
44
+ result = await this._list(options);
45
+ yield result.value || [];
52
46
  }
53
- listPagingAll(options) {
54
- return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
55
- var _a, e_1, _b, _c;
56
- try {
57
- for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
58
- _c = _f.value;
59
- _d = false;
60
- const page = _c;
61
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
62
- }
63
- }
64
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
65
- finally {
66
- try {
67
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
68
- }
69
- finally { if (e_1) throw e_1.error; }
70
- }
71
- });
47
+ async *listPagingAll(options) {
48
+ for await (const page of this.listPagingPage(options)) {
49
+ yield* page;
50
+ }
72
51
  }
73
52
  /**
74
53
  * Gets a list of operations.
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,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;gBACD,O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AAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport 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,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,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;AAzDD,wCAyDC;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,11 +1,6 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  exports.PrivateEndpointConnectionsImpl = void 0;
11
6
  const tslib_1 = require("tslib");
@@ -16,6 +11,7 @@ const core_lro_1 = require("@azure/core-lro");
16
11
  const lroImpl_js_1 = require("../lroImpl.js");
17
12
  /** Class containing PrivateEndpointConnections operations. */
18
13
  class PrivateEndpointConnectionsImpl {
14
+ client;
19
15
  /**
20
16
  * Initialize a new instance of the class PrivateEndpointConnections class.
21
17
  * @param client Reference to the service client
@@ -76,14 +72,19 @@ class PrivateEndpointConnectionsImpl {
76
72
  return this.client.sendOperationRequest(args, spec);
77
73
  };
78
74
  const sendOperationFn = async (args, spec) => {
79
- var _a;
80
75
  let currentRawResponse = undefined;
81
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
76
+ const providedCallback = args.options?.onResponse;
82
77
  const callback = (rawResponse, flatResponse) => {
83
78
  currentRawResponse = rawResponse;
84
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
79
+ providedCallback?.(rawResponse, flatResponse);
80
+ };
81
+ const updatedArgs = {
82
+ ...args,
83
+ options: {
84
+ ...args.options,
85
+ onResponse: callback,
86
+ },
85
87
  };
86
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
87
88
  const flatResponse = await directSendOperation(updatedArgs, spec);
88
89
  return {
89
90
  flatResponse,
@@ -105,8 +106,8 @@ class PrivateEndpointConnectionsImpl {
105
106
  spec: deleteOperationSpec,
106
107
  });
107
108
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
108
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
109
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
109
+ restoreFrom: options?.resumeFrom,
110
+ intervalInMs: options?.updateIntervalInMs,
110
111
  });
111
112
  await poller.poll();
112
113
  return poller;
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAY9C,8DAA8D;AAC9D,MAAa,8BAA8B;IAGzC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,iBAAyB,EACzB,YAAoB,EACpB,OAAsD;QAEtD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,EAC5C,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED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a,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,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAY9C,8DAA8D;AAC9D,MAAa,8BAA8B;IACxB,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,OAAsD;QAEtD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAA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AE,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,11 +1,6 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  exports.PrivateLinkResourcesImpl = void 0;
11
6
  const tslib_1 = require("tslib");
@@ -14,6 +9,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
9
  const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
10
  /** Class containing PrivateLinkResources operations. */
16
11
  class PrivateLinkResourcesImpl {
12
+ client;
17
13
  /**
18
14
  * Initialize a new instance of the class PrivateLinkResources class.
19
15
  * @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,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,wDAAwD;AACxD,MAAa,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;AA3BD,4DA2BC;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,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,wDAAwD;AACxD,MAAa,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;AA3BD,4DA2BC;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,11 +1,6 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  exports.ResolvePrivateLinkServiceIdImpl = void 0;
11
6
  const tslib_1 = require("tslib");
@@ -14,6 +9,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
9
  const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
10
  /** Class containing ResolvePrivateLinkServiceId operations. */
16
11
  class ResolvePrivateLinkServiceIdImpl {
12
+ client;
17
13
  /**
18
14
  * Initialize a new instance of the class ResolvePrivateLinkServiceId class.
19
15
  * @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,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,+DAA+D;AAC/D,MAAa,+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;AA7BD,0EA6BC;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,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,+DAA+D;AAC/D,MAAa,+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;AA7BD,0EA6BC;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,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,QAAQ,EAER,2BAA2B,EAG3B,0CAA0C,EAE1C,0BAA0B,EAC1B,oBAAoB,EACpB,qCAAqC,EACrC,+BAA+B,EAC/B,UAAU,EACV,iCAAiC,EACjC,2BAA2B,EAC3B,6BAA6B,EAG9B,MAAM,oBAAoB,CAAC;AAG5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAA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B,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,6 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  exports.SnapshotsImpl = void 0;
11
6
  const tslib_1 = require("tslib");
@@ -16,6 +11,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
11
  /// <reference lib="esnext.asynciterable" />
17
12
  /** Class containing Snapshots operations. */
18
13
  class SnapshotsImpl {
14
+ client;
19
15
  /**
20
16
  * Initialize a new instance of the class Snapshots class.
21
17
  * @param client Reference to the service client
@@ -37,52 +33,35 @@ class SnapshotsImpl {
37
33
  return this;
38
34
  },
39
35
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
36
+ if (settings?.maxPageSize) {
41
37
  throw new Error("maxPageSize is not supported by this operation.");
42
38
  }
43
39
  return this.listPagingPage(options, settings);
44
40
  },
45
41
  };
46
42
  }
47
- listPagingPage(options, settings) {
48
- return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
49
- let result;
50
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
- if (!continuationToken) {
52
- result = yield tslib_1.__await(this._list(options));
53
- const page = result.value || [];
54
- continuationToken = result.nextLink;
55
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
56
- yield yield tslib_1.__await(page);
57
- }
58
- while (continuationToken) {
59
- result = yield tslib_1.__await(this._listNext(continuationToken, options));
60
- continuationToken = result.nextLink;
61
- const page = result.value || [];
62
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
63
- yield yield tslib_1.__await(page);
64
- }
65
- });
43
+ async *listPagingPage(options, settings) {
44
+ let result;
45
+ let continuationToken = settings?.continuationToken;
46
+ if (!continuationToken) {
47
+ result = await this._list(options);
48
+ const page = result.value || [];
49
+ continuationToken = result.nextLink;
50
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
51
+ yield page;
52
+ }
53
+ while (continuationToken) {
54
+ result = await this._listNext(continuationToken, options);
55
+ continuationToken = result.nextLink;
56
+ const page = result.value || [];
57
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
+ yield page;
59
+ }
66
60
  }
67
- listPagingAll(options) {
68
- return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
69
- var _a, e_1, _b, _c;
70
- try {
71
- for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
72
- _c = _f.value;
73
- _d = false;
74
- const page = _c;
75
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
76
- }
77
- }
78
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
79
- finally {
80
- try {
81
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
82
- }
83
- finally { if (e_1) throw e_1.error; }
84
- }
85
- });
61
+ async *listPagingAll(options) {
62
+ for await (const page of this.listPagingPage(options)) {
63
+ yield* page;
64
+ }
86
65
  }
87
66
  /**
88
67
  * Lists snapshots in the specified subscription and resource group.
@@ -99,52 +78,35 @@ class SnapshotsImpl {
99
78
  return this;
100
79
  },
101
80
  byPage: (settings) => {
102
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
81
+ if (settings?.maxPageSize) {
103
82
  throw new Error("maxPageSize is not supported by this operation.");
104
83
  }
105
84
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
106
85
  },
107
86
  };
108
87
  }
109
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
110
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
111
- let result;
112
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
113
- if (!continuationToken) {
114
- result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
115
- const page = result.value || [];
116
- continuationToken = result.nextLink;
117
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
118
- yield yield tslib_1.__await(page);
119
- }
120
- while (continuationToken) {
121
- result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
122
- continuationToken = result.nextLink;
123
- const page = result.value || [];
124
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
125
- yield yield tslib_1.__await(page);
126
- }
127
- });
88
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
89
+ let result;
90
+ let continuationToken = settings?.continuationToken;
91
+ if (!continuationToken) {
92
+ result = await this._listByResourceGroup(resourceGroupName, options);
93
+ const page = result.value || [];
94
+ continuationToken = result.nextLink;
95
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
96
+ yield page;
97
+ }
98
+ while (continuationToken) {
99
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
100
+ continuationToken = result.nextLink;
101
+ const page = result.value || [];
102
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
103
+ yield page;
104
+ }
128
105
  }
129
- listByResourceGroupPagingAll(resourceGroupName, options) {
130
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
131
- var _a, e_2, _b, _c;
132
- try {
133
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
134
- _c = _f.value;
135
- _d = false;
136
- const page = _c;
137
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
138
- }
139
- }
140
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
141
- finally {
142
- try {
143
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
144
- }
145
- finally { if (e_2) throw e_2.error; }
146
- }
147
- });
106
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
107
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
108
+ yield* page;
109
+ }
148
110
  }
149
111
  /**
150
112
  * Gets a list of snapshots in the specified subscription.