@azure/arm-containerregistry 11.0.0-alpha.20250225.1 → 11.0.0-alpha.20250227.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (372) hide show
  1. package/CHANGELOG.md +217 -7
  2. package/README.md +2 -3
  3. package/dist/browser/containerRegistryManagementClient.d.ts.map +1 -1
  4. package/dist/browser/containerRegistryManagementClient.js +6 -6
  5. package/dist/browser/containerRegistryManagementClient.js.map +1 -1
  6. package/dist/browser/lroImpl.d.ts.map +1 -1
  7. package/dist/browser/lroImpl.js +8 -1
  8. package/dist/browser/lroImpl.js.map +1 -1
  9. package/dist/browser/models/index.d.ts +44 -0
  10. package/dist/browser/models/index.d.ts.map +1 -1
  11. package/dist/browser/models/index.js +14 -0
  12. package/dist/browser/models/index.js.map +1 -1
  13. package/dist/browser/models/mappers.d.ts +1 -0
  14. package/dist/browser/models/mappers.d.ts.map +1 -1
  15. package/dist/browser/models/mappers.js +2261 -2201
  16. package/dist/browser/models/mappers.js.map +1 -1
  17. package/dist/browser/models/parameters.js +148 -148
  18. package/dist/browser/models/parameters.js.map +1 -1
  19. package/dist/browser/operations/agentPools.d.ts.map +1 -1
  20. package/dist/browser/operations/agentPools.js +56 -56
  21. package/dist/browser/operations/agentPools.js.map +1 -1
  22. package/dist/browser/operations/archiveVersions.d.ts.map +1 -1
  23. package/dist/browser/operations/archiveVersions.js +45 -45
  24. package/dist/browser/operations/archiveVersions.js.map +1 -1
  25. package/dist/browser/operations/archives.d.ts.map +1 -1
  26. package/dist/browser/operations/archives.js +49 -49
  27. package/dist/browser/operations/archives.js.map +1 -1
  28. package/dist/browser/operations/cacheRules.d.ts.map +1 -1
  29. package/dist/browser/operations/cacheRules.js +55 -55
  30. package/dist/browser/operations/cacheRules.js.map +1 -1
  31. package/dist/browser/operations/connectedRegistries.d.ts.map +1 -1
  32. package/dist/browser/operations/connectedRegistries.js +59 -59
  33. package/dist/browser/operations/connectedRegistries.js.map +1 -1
  34. package/dist/browser/operations/credentialSets.d.ts.map +1 -1
  35. package/dist/browser/operations/credentialSets.js +55 -55
  36. package/dist/browser/operations/credentialSets.js.map +1 -1
  37. package/dist/browser/operations/exportPipelines.d.ts.map +1 -1
  38. package/dist/browser/operations/exportPipelines.js +38 -38
  39. package/dist/browser/operations/exportPipelines.js.map +1 -1
  40. package/dist/browser/operations/importPipelines.d.ts.map +1 -1
  41. package/dist/browser/operations/importPipelines.js +38 -38
  42. package/dist/browser/operations/importPipelines.js.map +1 -1
  43. package/dist/browser/operations/operations.js +7 -7
  44. package/dist/browser/operations/operations.js.map +1 -1
  45. package/dist/browser/operations/pipelineRuns.d.ts.map +1 -1
  46. package/dist/browser/operations/pipelineRuns.js +38 -38
  47. package/dist/browser/operations/pipelineRuns.js.map +1 -1
  48. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  49. package/dist/browser/operations/privateEndpointConnections.js +34 -34
  50. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  51. package/dist/browser/operations/registries.d.ts.map +1 -1
  52. package/dist/browser/operations/registries.js +117 -117
  53. package/dist/browser/operations/registries.js.map +1 -1
  54. package/dist/browser/operations/replications.d.ts.map +1 -1
  55. package/dist/browser/operations/replications.js +44 -44
  56. package/dist/browser/operations/replications.js.map +1 -1
  57. package/dist/browser/operations/runs.d.ts.map +1 -1
  58. package/dist/browser/operations/runs.js +43 -43
  59. package/dist/browser/operations/runs.js.map +1 -1
  60. package/dist/browser/operations/scopeMaps.d.ts.map +1 -1
  61. package/dist/browser/operations/scopeMaps.js +51 -51
  62. package/dist/browser/operations/scopeMaps.js.map +1 -1
  63. package/dist/browser/operations/taskRuns.d.ts.map +1 -1
  64. package/dist/browser/operations/taskRuns.js +55 -55
  65. package/dist/browser/operations/taskRuns.js.map +1 -1
  66. package/dist/browser/operations/tasks.d.ts.map +1 -1
  67. package/dist/browser/operations/tasks.js +56 -56
  68. package/dist/browser/operations/tasks.js.map +1 -1
  69. package/dist/browser/operations/tokens.d.ts.map +1 -1
  70. package/dist/browser/operations/tokens.js +51 -51
  71. package/dist/browser/operations/tokens.js.map +1 -1
  72. package/dist/browser/operations/webhooks.d.ts.map +1 -1
  73. package/dist/browser/operations/webhooks.js +61 -61
  74. package/dist/browser/operations/webhooks.js.map +1 -1
  75. package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
  76. package/dist/browser/operationsInterfaces/archiveVersions.js.map +1 -1
  77. package/dist/browser/operationsInterfaces/archives.js.map +1 -1
  78. package/dist/browser/operationsInterfaces/cacheRules.js.map +1 -1
  79. package/dist/browser/operationsInterfaces/connectedRegistries.js.map +1 -1
  80. package/dist/browser/operationsInterfaces/credentialSets.js.map +1 -1
  81. package/dist/browser/operationsInterfaces/exportPipelines.js.map +1 -1
  82. package/dist/browser/operationsInterfaces/importPipelines.js.map +1 -1
  83. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  84. package/dist/browser/operationsInterfaces/pipelineRuns.js.map +1 -1
  85. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  86. package/dist/browser/operationsInterfaces/registries.js.map +1 -1
  87. package/dist/browser/operationsInterfaces/replications.js.map +1 -1
  88. package/dist/browser/operationsInterfaces/runs.js.map +1 -1
  89. package/dist/browser/operationsInterfaces/scopeMaps.js.map +1 -1
  90. package/dist/browser/operationsInterfaces/taskRuns.js.map +1 -1
  91. package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
  92. package/dist/browser/operationsInterfaces/tokens.js.map +1 -1
  93. package/dist/browser/operationsInterfaces/webhooks.js.map +1 -1
  94. package/dist/browser/pagingHelper.js.map +1 -1
  95. package/dist/commonjs/containerRegistryManagementClient.d.ts.map +1 -1
  96. package/dist/commonjs/containerRegistryManagementClient.js +5 -5
  97. package/dist/commonjs/containerRegistryManagementClient.js.map +1 -1
  98. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  99. package/dist/commonjs/lroImpl.js +8 -1
  100. package/dist/commonjs/lroImpl.js.map +1 -1
  101. package/dist/commonjs/models/index.d.ts +44 -0
  102. package/dist/commonjs/models/index.d.ts.map +1 -1
  103. package/dist/commonjs/models/index.js +16 -2
  104. package/dist/commonjs/models/index.js.map +1 -1
  105. package/dist/commonjs/models/mappers.d.ts +1 -0
  106. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  107. package/dist/commonjs/models/mappers.js +2266 -2206
  108. package/dist/commonjs/models/mappers.js.map +1 -1
  109. package/dist/commonjs/models/parameters.js +147 -147
  110. package/dist/commonjs/models/parameters.js.map +1 -1
  111. package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
  112. package/dist/commonjs/operations/agentPools.js +55 -55
  113. package/dist/commonjs/operations/agentPools.js.map +1 -1
  114. package/dist/commonjs/operations/archiveVersions.d.ts.map +1 -1
  115. package/dist/commonjs/operations/archiveVersions.js +44 -44
  116. package/dist/commonjs/operations/archiveVersions.js.map +1 -1
  117. package/dist/commonjs/operations/archives.d.ts.map +1 -1
  118. package/dist/commonjs/operations/archives.js +48 -48
  119. package/dist/commonjs/operations/archives.js.map +1 -1
  120. package/dist/commonjs/operations/cacheRules.d.ts.map +1 -1
  121. package/dist/commonjs/operations/cacheRules.js +54 -54
  122. package/dist/commonjs/operations/cacheRules.js.map +1 -1
  123. package/dist/commonjs/operations/connectedRegistries.d.ts.map +1 -1
  124. package/dist/commonjs/operations/connectedRegistries.js +58 -58
  125. package/dist/commonjs/operations/connectedRegistries.js.map +1 -1
  126. package/dist/commonjs/operations/credentialSets.d.ts.map +1 -1
  127. package/dist/commonjs/operations/credentialSets.js +54 -54
  128. package/dist/commonjs/operations/credentialSets.js.map +1 -1
  129. package/dist/commonjs/operations/exportPipelines.d.ts.map +1 -1
  130. package/dist/commonjs/operations/exportPipelines.js +37 -37
  131. package/dist/commonjs/operations/exportPipelines.js.map +1 -1
  132. package/dist/commonjs/operations/importPipelines.d.ts.map +1 -1
  133. package/dist/commonjs/operations/importPipelines.js +37 -37
  134. package/dist/commonjs/operations/importPipelines.js.map +1 -1
  135. package/dist/commonjs/operations/operations.js +7 -7
  136. package/dist/commonjs/operations/operations.js.map +1 -1
  137. package/dist/commonjs/operations/pipelineRuns.d.ts.map +1 -1
  138. package/dist/commonjs/operations/pipelineRuns.js +37 -37
  139. package/dist/commonjs/operations/pipelineRuns.js.map +1 -1
  140. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  141. package/dist/commonjs/operations/privateEndpointConnections.js +33 -33
  142. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  143. package/dist/commonjs/operations/registries.d.ts.map +1 -1
  144. package/dist/commonjs/operations/registries.js +116 -116
  145. package/dist/commonjs/operations/registries.js.map +1 -1
  146. package/dist/commonjs/operations/replications.d.ts.map +1 -1
  147. package/dist/commonjs/operations/replications.js +43 -43
  148. package/dist/commonjs/operations/replications.js.map +1 -1
  149. package/dist/commonjs/operations/runs.d.ts.map +1 -1
  150. package/dist/commonjs/operations/runs.js +42 -42
  151. package/dist/commonjs/operations/runs.js.map +1 -1
  152. package/dist/commonjs/operations/scopeMaps.d.ts.map +1 -1
  153. package/dist/commonjs/operations/scopeMaps.js +50 -50
  154. package/dist/commonjs/operations/scopeMaps.js.map +1 -1
  155. package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
  156. package/dist/commonjs/operations/taskRuns.js +54 -54
  157. package/dist/commonjs/operations/taskRuns.js.map +1 -1
  158. package/dist/commonjs/operations/tasks.d.ts.map +1 -1
  159. package/dist/commonjs/operations/tasks.js +55 -55
  160. package/dist/commonjs/operations/tasks.js.map +1 -1
  161. package/dist/commonjs/operations/tokens.d.ts.map +1 -1
  162. package/dist/commonjs/operations/tokens.js +50 -50
  163. package/dist/commonjs/operations/tokens.js.map +1 -1
  164. package/dist/commonjs/operations/webhooks.d.ts.map +1 -1
  165. package/dist/commonjs/operations/webhooks.js +60 -60
  166. package/dist/commonjs/operations/webhooks.js.map +1 -1
  167. package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
  168. package/dist/commonjs/operationsInterfaces/archiveVersions.js.map +1 -1
  169. package/dist/commonjs/operationsInterfaces/archives.js.map +1 -1
  170. package/dist/commonjs/operationsInterfaces/cacheRules.js.map +1 -1
  171. package/dist/commonjs/operationsInterfaces/connectedRegistries.js.map +1 -1
  172. package/dist/commonjs/operationsInterfaces/credentialSets.js.map +1 -1
  173. package/dist/commonjs/operationsInterfaces/exportPipelines.js.map +1 -1
  174. package/dist/commonjs/operationsInterfaces/importPipelines.js.map +1 -1
  175. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  176. package/dist/commonjs/operationsInterfaces/pipelineRuns.js.map +1 -1
  177. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  178. package/dist/commonjs/operationsInterfaces/registries.js.map +1 -1
  179. package/dist/commonjs/operationsInterfaces/replications.js.map +1 -1
  180. package/dist/commonjs/operationsInterfaces/runs.js.map +1 -1
  181. package/dist/commonjs/operationsInterfaces/scopeMaps.js.map +1 -1
  182. package/dist/commonjs/operationsInterfaces/taskRuns.js.map +1 -1
  183. package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
  184. package/dist/commonjs/operationsInterfaces/tokens.js.map +1 -1
  185. package/dist/commonjs/operationsInterfaces/webhooks.js.map +1 -1
  186. package/dist/commonjs/pagingHelper.js.map +1 -1
  187. package/dist/esm/containerRegistryManagementClient.d.ts.map +1 -1
  188. package/dist/esm/containerRegistryManagementClient.js +6 -6
  189. package/dist/esm/containerRegistryManagementClient.js.map +1 -1
  190. package/dist/esm/lroImpl.d.ts.map +1 -1
  191. package/dist/esm/lroImpl.js +8 -1
  192. package/dist/esm/lroImpl.js.map +1 -1
  193. package/dist/esm/models/index.d.ts +44 -0
  194. package/dist/esm/models/index.d.ts.map +1 -1
  195. package/dist/esm/models/index.js +14 -0
  196. package/dist/esm/models/index.js.map +1 -1
  197. package/dist/esm/models/mappers.d.ts +1 -0
  198. package/dist/esm/models/mappers.d.ts.map +1 -1
  199. package/dist/esm/models/mappers.js +2261 -2201
  200. package/dist/esm/models/mappers.js.map +1 -1
  201. package/dist/esm/models/parameters.js +148 -148
  202. package/dist/esm/models/parameters.js.map +1 -1
  203. package/dist/esm/operations/agentPools.d.ts.map +1 -1
  204. package/dist/esm/operations/agentPools.js +56 -56
  205. package/dist/esm/operations/agentPools.js.map +1 -1
  206. package/dist/esm/operations/archiveVersions.d.ts.map +1 -1
  207. package/dist/esm/operations/archiveVersions.js +45 -45
  208. package/dist/esm/operations/archiveVersions.js.map +1 -1
  209. package/dist/esm/operations/archives.d.ts.map +1 -1
  210. package/dist/esm/operations/archives.js +49 -49
  211. package/dist/esm/operations/archives.js.map +1 -1
  212. package/dist/esm/operations/cacheRules.d.ts.map +1 -1
  213. package/dist/esm/operations/cacheRules.js +55 -55
  214. package/dist/esm/operations/cacheRules.js.map +1 -1
  215. package/dist/esm/operations/connectedRegistries.d.ts.map +1 -1
  216. package/dist/esm/operations/connectedRegistries.js +59 -59
  217. package/dist/esm/operations/connectedRegistries.js.map +1 -1
  218. package/dist/esm/operations/credentialSets.d.ts.map +1 -1
  219. package/dist/esm/operations/credentialSets.js +55 -55
  220. package/dist/esm/operations/credentialSets.js.map +1 -1
  221. package/dist/esm/operations/exportPipelines.d.ts.map +1 -1
  222. package/dist/esm/operations/exportPipelines.js +38 -38
  223. package/dist/esm/operations/exportPipelines.js.map +1 -1
  224. package/dist/esm/operations/importPipelines.d.ts.map +1 -1
  225. package/dist/esm/operations/importPipelines.js +38 -38
  226. package/dist/esm/operations/importPipelines.js.map +1 -1
  227. package/dist/esm/operations/operations.js +7 -7
  228. package/dist/esm/operations/operations.js.map +1 -1
  229. package/dist/esm/operations/pipelineRuns.d.ts.map +1 -1
  230. package/dist/esm/operations/pipelineRuns.js +38 -38
  231. package/dist/esm/operations/pipelineRuns.js.map +1 -1
  232. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  233. package/dist/esm/operations/privateEndpointConnections.js +34 -34
  234. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  235. package/dist/esm/operations/registries.d.ts.map +1 -1
  236. package/dist/esm/operations/registries.js +117 -117
  237. package/dist/esm/operations/registries.js.map +1 -1
  238. package/dist/esm/operations/replications.d.ts.map +1 -1
  239. package/dist/esm/operations/replications.js +44 -44
  240. package/dist/esm/operations/replications.js.map +1 -1
  241. package/dist/esm/operations/runs.d.ts.map +1 -1
  242. package/dist/esm/operations/runs.js +43 -43
  243. package/dist/esm/operations/runs.js.map +1 -1
  244. package/dist/esm/operations/scopeMaps.d.ts.map +1 -1
  245. package/dist/esm/operations/scopeMaps.js +51 -51
  246. package/dist/esm/operations/scopeMaps.js.map +1 -1
  247. package/dist/esm/operations/taskRuns.d.ts.map +1 -1
  248. package/dist/esm/operations/taskRuns.js +55 -55
  249. package/dist/esm/operations/taskRuns.js.map +1 -1
  250. package/dist/esm/operations/tasks.d.ts.map +1 -1
  251. package/dist/esm/operations/tasks.js +56 -56
  252. package/dist/esm/operations/tasks.js.map +1 -1
  253. package/dist/esm/operations/tokens.d.ts.map +1 -1
  254. package/dist/esm/operations/tokens.js +51 -51
  255. package/dist/esm/operations/tokens.js.map +1 -1
  256. package/dist/esm/operations/webhooks.d.ts.map +1 -1
  257. package/dist/esm/operations/webhooks.js +61 -61
  258. package/dist/esm/operations/webhooks.js.map +1 -1
  259. package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
  260. package/dist/esm/operationsInterfaces/archiveVersions.js.map +1 -1
  261. package/dist/esm/operationsInterfaces/archives.js.map +1 -1
  262. package/dist/esm/operationsInterfaces/cacheRules.js.map +1 -1
  263. package/dist/esm/operationsInterfaces/connectedRegistries.js.map +1 -1
  264. package/dist/esm/operationsInterfaces/credentialSets.js.map +1 -1
  265. package/dist/esm/operationsInterfaces/exportPipelines.js.map +1 -1
  266. package/dist/esm/operationsInterfaces/importPipelines.js.map +1 -1
  267. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  268. package/dist/esm/operationsInterfaces/pipelineRuns.js.map +1 -1
  269. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  270. package/dist/esm/operationsInterfaces/registries.js.map +1 -1
  271. package/dist/esm/operationsInterfaces/replications.js.map +1 -1
  272. package/dist/esm/operationsInterfaces/runs.js.map +1 -1
  273. package/dist/esm/operationsInterfaces/scopeMaps.js.map +1 -1
  274. package/dist/esm/operationsInterfaces/taskRuns.js.map +1 -1
  275. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  276. package/dist/esm/operationsInterfaces/tokens.js.map +1 -1
  277. package/dist/esm/operationsInterfaces/webhooks.js.map +1 -1
  278. package/dist/esm/pagingHelper.js.map +1 -1
  279. package/dist/react-native/containerRegistryManagementClient.d.ts.map +1 -1
  280. package/dist/react-native/containerRegistryManagementClient.js +6 -6
  281. package/dist/react-native/containerRegistryManagementClient.js.map +1 -1
  282. package/dist/react-native/lroImpl.d.ts.map +1 -1
  283. package/dist/react-native/lroImpl.js +8 -1
  284. package/dist/react-native/lroImpl.js.map +1 -1
  285. package/dist/react-native/models/index.d.ts +44 -0
  286. package/dist/react-native/models/index.d.ts.map +1 -1
  287. package/dist/react-native/models/index.js +14 -0
  288. package/dist/react-native/models/index.js.map +1 -1
  289. package/dist/react-native/models/mappers.d.ts +1 -0
  290. package/dist/react-native/models/mappers.d.ts.map +1 -1
  291. package/dist/react-native/models/mappers.js +2261 -2201
  292. package/dist/react-native/models/mappers.js.map +1 -1
  293. package/dist/react-native/models/parameters.js +148 -148
  294. package/dist/react-native/models/parameters.js.map +1 -1
  295. package/dist/react-native/operations/agentPools.d.ts.map +1 -1
  296. package/dist/react-native/operations/agentPools.js +56 -56
  297. package/dist/react-native/operations/agentPools.js.map +1 -1
  298. package/dist/react-native/operations/archiveVersions.d.ts.map +1 -1
  299. package/dist/react-native/operations/archiveVersions.js +45 -45
  300. package/dist/react-native/operations/archiveVersions.js.map +1 -1
  301. package/dist/react-native/operations/archives.d.ts.map +1 -1
  302. package/dist/react-native/operations/archives.js +49 -49
  303. package/dist/react-native/operations/archives.js.map +1 -1
  304. package/dist/react-native/operations/cacheRules.d.ts.map +1 -1
  305. package/dist/react-native/operations/cacheRules.js +55 -55
  306. package/dist/react-native/operations/cacheRules.js.map +1 -1
  307. package/dist/react-native/operations/connectedRegistries.d.ts.map +1 -1
  308. package/dist/react-native/operations/connectedRegistries.js +59 -59
  309. package/dist/react-native/operations/connectedRegistries.js.map +1 -1
  310. package/dist/react-native/operations/credentialSets.d.ts.map +1 -1
  311. package/dist/react-native/operations/credentialSets.js +55 -55
  312. package/dist/react-native/operations/credentialSets.js.map +1 -1
  313. package/dist/react-native/operations/exportPipelines.d.ts.map +1 -1
  314. package/dist/react-native/operations/exportPipelines.js +38 -38
  315. package/dist/react-native/operations/exportPipelines.js.map +1 -1
  316. package/dist/react-native/operations/importPipelines.d.ts.map +1 -1
  317. package/dist/react-native/operations/importPipelines.js +38 -38
  318. package/dist/react-native/operations/importPipelines.js.map +1 -1
  319. package/dist/react-native/operations/operations.js +7 -7
  320. package/dist/react-native/operations/operations.js.map +1 -1
  321. package/dist/react-native/operations/pipelineRuns.d.ts.map +1 -1
  322. package/dist/react-native/operations/pipelineRuns.js +38 -38
  323. package/dist/react-native/operations/pipelineRuns.js.map +1 -1
  324. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  325. package/dist/react-native/operations/privateEndpointConnections.js +34 -34
  326. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  327. package/dist/react-native/operations/registries.d.ts.map +1 -1
  328. package/dist/react-native/operations/registries.js +117 -117
  329. package/dist/react-native/operations/registries.js.map +1 -1
  330. package/dist/react-native/operations/replications.d.ts.map +1 -1
  331. package/dist/react-native/operations/replications.js +44 -44
  332. package/dist/react-native/operations/replications.js.map +1 -1
  333. package/dist/react-native/operations/runs.d.ts.map +1 -1
  334. package/dist/react-native/operations/runs.js +43 -43
  335. package/dist/react-native/operations/runs.js.map +1 -1
  336. package/dist/react-native/operations/scopeMaps.d.ts.map +1 -1
  337. package/dist/react-native/operations/scopeMaps.js +51 -51
  338. package/dist/react-native/operations/scopeMaps.js.map +1 -1
  339. package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
  340. package/dist/react-native/operations/taskRuns.js +55 -55
  341. package/dist/react-native/operations/taskRuns.js.map +1 -1
  342. package/dist/react-native/operations/tasks.d.ts.map +1 -1
  343. package/dist/react-native/operations/tasks.js +56 -56
  344. package/dist/react-native/operations/tasks.js.map +1 -1
  345. package/dist/react-native/operations/tokens.d.ts.map +1 -1
  346. package/dist/react-native/operations/tokens.js +51 -51
  347. package/dist/react-native/operations/tokens.js.map +1 -1
  348. package/dist/react-native/operations/webhooks.d.ts.map +1 -1
  349. package/dist/react-native/operations/webhooks.js +61 -61
  350. package/dist/react-native/operations/webhooks.js.map +1 -1
  351. package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
  352. package/dist/react-native/operationsInterfaces/archiveVersions.js.map +1 -1
  353. package/dist/react-native/operationsInterfaces/archives.js.map +1 -1
  354. package/dist/react-native/operationsInterfaces/cacheRules.js.map +1 -1
  355. package/dist/react-native/operationsInterfaces/connectedRegistries.js.map +1 -1
  356. package/dist/react-native/operationsInterfaces/credentialSets.js.map +1 -1
  357. package/dist/react-native/operationsInterfaces/exportPipelines.js.map +1 -1
  358. package/dist/react-native/operationsInterfaces/importPipelines.js.map +1 -1
  359. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  360. package/dist/react-native/operationsInterfaces/pipelineRuns.js.map +1 -1
  361. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  362. package/dist/react-native/operationsInterfaces/registries.js.map +1 -1
  363. package/dist/react-native/operationsInterfaces/replications.js.map +1 -1
  364. package/dist/react-native/operationsInterfaces/runs.js.map +1 -1
  365. package/dist/react-native/operationsInterfaces/scopeMaps.js.map +1 -1
  366. package/dist/react-native/operationsInterfaces/taskRuns.js.map +1 -1
  367. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  368. package/dist/react-native/operationsInterfaces/tokens.js.map +1 -1
  369. package/dist/react-native/operationsInterfaces/webhooks.js.map +1 -1
  370. package/dist/react-native/pagingHelper.js.map +1 -1
  371. package/package.json +12 -10
  372. package/review/arm-containerregistry.api.md +24 -0
@@ -45,7 +45,7 @@ class PipelineRunsImpl {
45
45
  throw new Error("maxPageSize is not supported by this operation.");
46
46
  }
47
47
  return this.listPagingPage(resourceGroupName, registryName, options, settings);
48
- }
48
+ },
49
49
  };
50
50
  }
51
51
  listPagingPage(resourceGroupName, registryName, options, settings) {
@@ -134,8 +134,8 @@ class PipelineRunsImpl {
134
134
  rawResponse: {
135
135
  statusCode: currentRawResponse.status,
136
136
  body: currentRawResponse.parsedBody,
137
- headers: currentRawResponse.headers.toJSON()
138
- }
137
+ headers: currentRawResponse.headers.toJSON(),
138
+ },
139
139
  };
140
140
  };
141
141
  const lro = (0, lroImpl_js_1.createLroSpec)({
@@ -145,14 +145,14 @@ class PipelineRunsImpl {
145
145
  registryName,
146
146
  pipelineRunName,
147
147
  pipelineRunCreateParameters,
148
- options
148
+ options,
149
149
  },
150
- spec: createOperationSpec
150
+ spec: createOperationSpec,
151
151
  });
152
152
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
153
153
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
154
154
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
155
- resourceLocationConfig: "azure-async-operation"
155
+ resourceLocationConfig: "azure-async-operation",
156
156
  });
157
157
  await poller.poll();
158
158
  return poller;
@@ -195,19 +195,19 @@ class PipelineRunsImpl {
195
195
  rawResponse: {
196
196
  statusCode: currentRawResponse.status,
197
197
  body: currentRawResponse.parsedBody,
198
- headers: currentRawResponse.headers.toJSON()
199
- }
198
+ headers: currentRawResponse.headers.toJSON(),
199
+ },
200
200
  };
201
201
  };
202
202
  const lro = (0, lroImpl_js_1.createLroSpec)({
203
203
  sendOperationFn,
204
204
  args: { resourceGroupName, registryName, pipelineRunName, options },
205
- spec: deleteOperationSpec
205
+ spec: deleteOperationSpec,
206
206
  });
207
207
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
208
208
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
209
209
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
210
- resourceLocationConfig: "location"
210
+ resourceLocationConfig: "location",
211
211
  });
212
212
  await poller.poll();
213
213
  return poller;
@@ -242,32 +242,32 @@ const listOperationSpec = {
242
242
  httpMethod: "GET",
243
243
  responses: {
244
244
  200: {
245
- bodyMapper: Mappers.PipelineRunListResult
245
+ bodyMapper: Mappers.PipelineRunListResult,
246
246
  },
247
247
  default: {
248
- bodyMapper: Mappers.ErrorResponse
249
- }
248
+ bodyMapper: Mappers.ErrorResponse,
249
+ },
250
250
  },
251
251
  queryParameters: [Parameters.apiVersion],
252
252
  urlParameters: [
253
253
  Parameters.$host,
254
254
  Parameters.subscriptionId,
255
255
  Parameters.resourceGroupName,
256
- Parameters.registryName
256
+ Parameters.registryName,
257
257
  ],
258
258
  headerParameters: [Parameters.accept],
259
- serializer
259
+ serializer,
260
260
  };
261
261
  const getOperationSpec = {
262
262
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
263
263
  httpMethod: "GET",
264
264
  responses: {
265
265
  200: {
266
- bodyMapper: Mappers.PipelineRun
266
+ bodyMapper: Mappers.PipelineRun,
267
267
  },
268
268
  default: {
269
- bodyMapper: Mappers.ErrorResponse
270
- }
269
+ bodyMapper: Mappers.ErrorResponse,
270
+ },
271
271
  },
272
272
  queryParameters: [Parameters.apiVersion],
273
273
  urlParameters: [
@@ -275,30 +275,30 @@ const getOperationSpec = {
275
275
  Parameters.subscriptionId,
276
276
  Parameters.resourceGroupName,
277
277
  Parameters.registryName,
278
- Parameters.pipelineRunName
278
+ Parameters.pipelineRunName,
279
279
  ],
280
280
  headerParameters: [Parameters.accept],
281
- serializer
281
+ serializer,
282
282
  };
283
283
  const createOperationSpec = {
284
284
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
285
285
  httpMethod: "PUT",
286
286
  responses: {
287
287
  200: {
288
- bodyMapper: Mappers.PipelineRun
288
+ bodyMapper: Mappers.PipelineRun,
289
289
  },
290
290
  201: {
291
- bodyMapper: Mappers.PipelineRun
291
+ bodyMapper: Mappers.PipelineRun,
292
292
  },
293
293
  202: {
294
- bodyMapper: Mappers.PipelineRun
294
+ bodyMapper: Mappers.PipelineRun,
295
295
  },
296
296
  204: {
297
- bodyMapper: Mappers.PipelineRun
297
+ bodyMapper: Mappers.PipelineRun,
298
298
  },
299
299
  default: {
300
- bodyMapper: Mappers.ErrorResponse
301
- }
300
+ bodyMapper: Mappers.ErrorResponse,
301
+ },
302
302
  },
303
303
  requestBody: Parameters.pipelineRunCreateParameters,
304
304
  queryParameters: [Parameters.apiVersion],
@@ -307,11 +307,11 @@ const createOperationSpec = {
307
307
  Parameters.subscriptionId,
308
308
  Parameters.resourceGroupName,
309
309
  Parameters.registryName,
310
- Parameters.pipelineRunName
310
+ Parameters.pipelineRunName,
311
311
  ],
312
312
  headerParameters: [Parameters.accept, Parameters.contentType],
313
313
  mediaType: "json",
314
- serializer
314
+ serializer,
315
315
  };
316
316
  const deleteOperationSpec = {
317
317
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
@@ -322,8 +322,8 @@ const deleteOperationSpec = {
322
322
  202: {},
323
323
  204: {},
324
324
  default: {
325
- bodyMapper: Mappers.ErrorResponse
326
- }
325
+ bodyMapper: Mappers.ErrorResponse,
326
+ },
327
327
  },
328
328
  queryParameters: [Parameters.apiVersion],
329
329
  urlParameters: [
@@ -331,30 +331,30 @@ const deleteOperationSpec = {
331
331
  Parameters.subscriptionId,
332
332
  Parameters.resourceGroupName,
333
333
  Parameters.registryName,
334
- Parameters.pipelineRunName
334
+ Parameters.pipelineRunName,
335
335
  ],
336
336
  headerParameters: [Parameters.accept],
337
- serializer
337
+ serializer,
338
338
  };
339
339
  const listNextOperationSpec = {
340
340
  path: "{nextLink}",
341
341
  httpMethod: "GET",
342
342
  responses: {
343
343
  200: {
344
- bodyMapper: Mappers.PipelineRunListResult
344
+ bodyMapper: Mappers.PipelineRunListResult,
345
345
  },
346
346
  default: {
347
- bodyMapper: Mappers.ErrorResponse
348
- }
347
+ bodyMapper: Mappers.ErrorResponse,
348
+ },
349
349
  },
350
350
  urlParameters: [
351
351
  Parameters.$host,
352
352
  Parameters.subscriptionId,
353
353
  Parameters.resourceGroupName,
354
354
  Parameters.registryName,
355
- Parameters.nextLink
355
+ Parameters.nextLink,
356
356
  ],
357
357
  headerParameters: [Parameters.accept],
358
- serializer
358
+ serializer,
359
359
  };
360
360
  //# sourceMappingURL=pipelineRuns.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pipelineRuns.js","sourceRoot":"","sources":["../../../src/operations/pipelineRuns.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC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,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PipelineRuns } 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 { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PipelineRun,\n PipelineRunsListNextOptionalParams,\n PipelineRunsListOptionalParams,\n PipelineRunsListResponse,\n PipelineRunsGetOptionalParams,\n PipelineRunsGetResponse,\n PipelineRunsCreateOptionalParams,\n PipelineRunsCreateResponse,\n PipelineRunsDeleteOptionalParams,\n PipelineRunsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PipelineRuns operations. */\nexport class PipelineRunsImpl implements PipelineRuns {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class PipelineRuns class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the pipeline runs for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams\n ): PagedAsyncIterableIterator<PipelineRun> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<PipelineRun[]> {\n let result: PipelineRunsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n registryName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams\n ): AsyncIterableIterator<PipelineRun> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the pipeline runs for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams\n ): Promise<PipelineRunsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec\n );\n }\n\n /**\n * Gets the detailed information for a given pipeline run.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsGetOptionalParams\n ): Promise<PipelineRunsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, pipelineRunName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates a pipeline run for a container registry with the specified parameters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param pipelineRunCreateParameters The parameters for creating a pipeline run.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n pipelineRunCreateParameters: PipelineRun,\n options?: PipelineRunsCreateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<PipelineRunsCreateResponse>,\n PipelineRunsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<PipelineRunsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | 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 registryName,\n pipelineRunName,\n pipelineRunCreateParameters,\n options\n },\n spec: createOperationSpec\n });\n const poller = await createHttpPoller<\n PipelineRunsCreateResponse,\n OperationState<PipelineRunsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a pipeline run for a container registry with the specified parameters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param pipelineRunCreateParameters The parameters for creating a pipeline run.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n pipelineRunCreateParameters: PipelineRun,\n options?: PipelineRunsCreateOptionalParams\n ): Promise<PipelineRunsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n pipelineRunName,\n pipelineRunCreateParameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a pipeline run from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsDeleteOptionalParams\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:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, registryName, pipelineRunName, options },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a pipeline run from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n pipelineRunName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: PipelineRunsListNextOptionalParams\n ): Promise<PipelineRunsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRunListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRun\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRun\n },\n 201: {\n bodyMapper: Mappers.PipelineRun\n },\n 202: {\n bodyMapper: Mappers.PipelineRun\n },\n 204: {\n bodyMapper: Mappers.PipelineRun\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.pipelineRunCreateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRunListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"pipelineRuns.js","sourceRoot":"","sources":["../../../src/operations/pipelineRuns.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,YAAoB,EACpB,OAAwC,EACxC,QAAuB;;YAEvB,IAAI,MAAgC,CAAC;YACrC,IAA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AAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PipelineRuns } 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 { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PipelineRun,\n PipelineRunsListNextOptionalParams,\n PipelineRunsListOptionalParams,\n PipelineRunsListResponse,\n PipelineRunsGetOptionalParams,\n PipelineRunsGetResponse,\n PipelineRunsCreateOptionalParams,\n PipelineRunsCreateResponse,\n PipelineRunsDeleteOptionalParams,\n PipelineRunsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PipelineRuns operations. */\nexport class PipelineRunsImpl implements PipelineRuns {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class PipelineRuns class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the pipeline runs for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams,\n ): PagedAsyncIterableIterator<PipelineRun> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PipelineRun[]> {\n let result: PipelineRunsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n registryName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams,\n ): AsyncIterableIterator<PipelineRun> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the pipeline runs for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams,\n ): Promise<PipelineRunsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the detailed information for a given pipeline run.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsGetOptionalParams,\n ): Promise<PipelineRunsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, pipelineRunName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates a pipeline run for a container registry with the specified parameters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param pipelineRunCreateParameters The parameters for creating a pipeline run.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n pipelineRunCreateParameters: PipelineRun,\n options?: PipelineRunsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PipelineRunsCreateResponse>,\n PipelineRunsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PipelineRunsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n pipelineRunName,\n pipelineRunCreateParameters,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n PipelineRunsCreateResponse,\n OperationState<PipelineRunsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a pipeline run for a container registry with the specified parameters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param pipelineRunCreateParameters The parameters for creating a pipeline run.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n pipelineRunCreateParameters: PipelineRun,\n options?: PipelineRunsCreateOptionalParams,\n ): Promise<PipelineRunsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n pipelineRunName,\n pipelineRunCreateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a pipeline run from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, registryName, pipelineRunName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a pipeline run from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n pipelineRunName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: PipelineRunsListNextOptionalParams,\n ): Promise<PipelineRunsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRunListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRun,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRun,\n },\n 201: {\n bodyMapper: Mappers.PipelineRun,\n },\n 202: {\n bodyMapper: Mappers.PipelineRun,\n },\n 204: {\n bodyMapper: Mappers.PipelineRun,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.pipelineRunCreateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName,\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.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRunListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.nextLink,\n ],\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,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAI9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AgD,CAAC;IAW5D;;;;;;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;IA2DxD;;;;;;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;IAUhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAI9E,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,yBAAyB,EAEzB,4CAA4C,EAE5C,2CAA2C,EAC3C,qCAAqC,EACrC,sDAAsD,EACtD,gDAAgD,EAChD,8CAA8C,EAE/C,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IAErC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,yBAAyB,CAAC;YAuBzC,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;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;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gDAAgD,CAAC,EAChE,gDAAgD,CACjD,CACF;IA8DD;;;;;;;OAOG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;IAW5D;;;;;;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;IA0DxD;;;;;;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;IAUhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -45,7 +45,7 @@ class PrivateEndpointConnectionsImpl {
45
45
  throw new Error("maxPageSize is not supported by this operation.");
46
46
  }
47
47
  return this.listPagingPage(resourceGroupName, registryName, options, settings);
48
- }
48
+ },
49
49
  };
50
50
  }
51
51
  listPagingPage(resourceGroupName, registryName, options, settings) {
@@ -109,7 +109,7 @@ class PrivateEndpointConnectionsImpl {
109
109
  resourceGroupName,
110
110
  registryName,
111
111
  privateEndpointConnectionName,
112
- options
112
+ options,
113
113
  }, getOperationSpec);
114
114
  }
115
115
  /**
@@ -139,8 +139,8 @@ class PrivateEndpointConnectionsImpl {
139
139
  rawResponse: {
140
140
  statusCode: currentRawResponse.status,
141
141
  body: currentRawResponse.parsedBody,
142
- headers: currentRawResponse.headers.toJSON()
143
- }
142
+ headers: currentRawResponse.headers.toJSON(),
143
+ },
144
144
  };
145
145
  };
146
146
  const lro = (0, lroImpl_js_1.createLroSpec)({
@@ -150,14 +150,14 @@ class PrivateEndpointConnectionsImpl {
150
150
  registryName,
151
151
  privateEndpointConnectionName,
152
152
  privateEndpointConnection,
153
- options
153
+ options,
154
154
  },
155
- spec: createOrUpdateOperationSpec
155
+ spec: createOrUpdateOperationSpec,
156
156
  });
157
157
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
158
158
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
159
159
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
160
- resourceLocationConfig: "azure-async-operation"
160
+ resourceLocationConfig: "azure-async-operation",
161
161
  });
162
162
  await poller.poll();
163
163
  return poller;
@@ -200,8 +200,8 @@ class PrivateEndpointConnectionsImpl {
200
200
  rawResponse: {
201
201
  statusCode: currentRawResponse.status,
202
202
  body: currentRawResponse.parsedBody,
203
- headers: currentRawResponse.headers.toJSON()
204
- }
203
+ headers: currentRawResponse.headers.toJSON(),
204
+ },
205
205
  };
206
206
  };
207
207
  const lro = (0, lroImpl_js_1.createLroSpec)({
@@ -210,14 +210,14 @@ class PrivateEndpointConnectionsImpl {
210
210
  resourceGroupName,
211
211
  registryName,
212
212
  privateEndpointConnectionName,
213
- options
213
+ options,
214
214
  },
215
- spec: deleteOperationSpec
215
+ spec: deleteOperationSpec,
216
216
  });
217
217
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
218
218
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
219
219
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
220
- resourceLocationConfig: "location"
220
+ resourceLocationConfig: "location",
221
221
  });
222
222
  await poller.poll();
223
223
  return poller;
@@ -252,26 +252,26 @@ const listOperationSpec = {
252
252
  httpMethod: "GET",
253
253
  responses: {
254
254
  200: {
255
- bodyMapper: Mappers.PrivateEndpointConnectionListResult
256
- }
255
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult,
256
+ },
257
257
  },
258
258
  queryParameters: [Parameters.apiVersion],
259
259
  urlParameters: [
260
260
  Parameters.$host,
261
261
  Parameters.subscriptionId,
262
262
  Parameters.resourceGroupName,
263
- Parameters.registryName
263
+ Parameters.registryName,
264
264
  ],
265
265
  headerParameters: [Parameters.accept],
266
- serializer
266
+ serializer,
267
267
  };
268
268
  const getOperationSpec = {
269
269
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
270
270
  httpMethod: "GET",
271
271
  responses: {
272
272
  200: {
273
- bodyMapper: Mappers.PrivateEndpointConnection
274
- }
273
+ bodyMapper: Mappers.PrivateEndpointConnection,
274
+ },
275
275
  },
276
276
  queryParameters: [Parameters.apiVersion],
277
277
  urlParameters: [
@@ -279,27 +279,27 @@ const getOperationSpec = {
279
279
  Parameters.subscriptionId,
280
280
  Parameters.resourceGroupName,
281
281
  Parameters.registryName,
282
- Parameters.privateEndpointConnectionName
282
+ Parameters.privateEndpointConnectionName,
283
283
  ],
284
284
  headerParameters: [Parameters.accept],
285
- serializer
285
+ serializer,
286
286
  };
287
287
  const createOrUpdateOperationSpec = {
288
288
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
289
289
  httpMethod: "PUT",
290
290
  responses: {
291
291
  200: {
292
- bodyMapper: Mappers.PrivateEndpointConnection
292
+ bodyMapper: Mappers.PrivateEndpointConnection,
293
293
  },
294
294
  201: {
295
- bodyMapper: Mappers.PrivateEndpointConnection
295
+ bodyMapper: Mappers.PrivateEndpointConnection,
296
296
  },
297
297
  202: {
298
- bodyMapper: Mappers.PrivateEndpointConnection
298
+ bodyMapper: Mappers.PrivateEndpointConnection,
299
299
  },
300
300
  204: {
301
- bodyMapper: Mappers.PrivateEndpointConnection
302
- }
301
+ bodyMapper: Mappers.PrivateEndpointConnection,
302
+ },
303
303
  },
304
304
  requestBody: Parameters.privateEndpointConnection,
305
305
  queryParameters: [Parameters.apiVersion],
@@ -308,11 +308,11 @@ const createOrUpdateOperationSpec = {
308
308
  Parameters.subscriptionId,
309
309
  Parameters.resourceGroupName,
310
310
  Parameters.registryName,
311
- Parameters.privateEndpointConnectionName
311
+ Parameters.privateEndpointConnectionName,
312
312
  ],
313
313
  headerParameters: [Parameters.accept, Parameters.contentType],
314
314
  mediaType: "json",
315
- serializer
315
+ serializer,
316
316
  };
317
317
  const deleteOperationSpec = {
318
318
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
@@ -324,26 +324,26 @@ const deleteOperationSpec = {
324
324
  Parameters.subscriptionId,
325
325
  Parameters.resourceGroupName,
326
326
  Parameters.registryName,
327
- Parameters.privateEndpointConnectionName
327
+ Parameters.privateEndpointConnectionName,
328
328
  ],
329
- serializer
329
+ serializer,
330
330
  };
331
331
  const listNextOperationSpec = {
332
332
  path: "{nextLink}",
333
333
  httpMethod: "GET",
334
334
  responses: {
335
335
  200: {
336
- bodyMapper: Mappers.PrivateEndpointConnectionListResult
337
- }
336
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult,
337
+ },
338
338
  },
339
339
  urlParameters: [
340
340
  Parameters.$host,
341
341
  Parameters.subscriptionId,
342
342
  Parameters.resourceGroupName,
343
343
  Parameters.registryName,
344
- Parameters.nextLink
344
+ Parameters.nextLink,
345
345
  ],
346
346
  headerParameters: [Parameters.accept],
347
- serializer
347
+ serializer,
348
348
  };
349
349
  //# sourceMappingURL=privateEndpointConnections.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAa,8BAA8B;IAIzC;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,YA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AAE,EAAE;IACjD,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,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { 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 { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListNextOptionalParams,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * List all private endpoint connections in a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n registryName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * List all private endpoint connections in a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec\n );\n }\n\n /**\n * Get the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Update the state of specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,\n PrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | 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 registryName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options\n },\n spec: createOrUpdateOperationSpec\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the state of specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: 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:\n | coreClient.FullOperationResponse\n | 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 registryName,\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 resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: PrivateEndpointConnectionsListNextOptionalParams\n ): Promise<PrivateEndpointConnectionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection\n }\n },\n requestBody: Parameters.privateEndpointConnection,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName\n ],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0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O,CAAC,mCAAmC;SACxD;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { 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 { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListNextOptionalParams,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections\n{\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * List all private endpoint connections in a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n registryName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List all private endpoint connections in a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,\n PrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the state of specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: 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 =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\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 resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: PrivateEndpointConnectionsListNextOptionalParams,\n ): Promise<PrivateEndpointConnectionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n },\n requestBody: Parameters.privateEndpointConnection,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\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.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName,\n ],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}