@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
@@ -1 +1 @@
1
- {"version":3,"file":"exportPipelines.js","sourceRoot":"","sources":["../../../src/operations/exportPipelines.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAA2C;QAE3C,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,OAA2C,EAC3C,QAAuB;;YAEvB,IAAI,MAAmC,CAAC;YACxC,IAAI,iBAAiB,GAAG,QAAQ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AE;QACP,GAAG,EAAE,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,kBAAkB;KAC9B;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,wBAAwB;SAC7C;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 { ExportPipelines } 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 ExportPipeline,\n ExportPipelinesListNextOptionalParams,\n ExportPipelinesListOptionalParams,\n ExportPipelinesListResponse,\n ExportPipelinesGetOptionalParams,\n ExportPipelinesGetResponse,\n ExportPipelinesCreateOptionalParams,\n ExportPipelinesCreateResponse,\n ExportPipelinesDeleteOptionalParams,\n ExportPipelinesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ExportPipelines operations. */\nexport class ExportPipelinesImpl implements ExportPipelines {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class ExportPipelines class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all export pipelines 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?: ExportPipelinesListOptionalParams\n ): PagedAsyncIterableIterator<ExportPipeline> {\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?: ExportPipelinesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ExportPipeline[]> {\n let result: ExportPipelinesListResponse;\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?: ExportPipelinesListOptionalParams\n ): AsyncIterableIterator<ExportPipeline> {\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 export pipelines 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?: ExportPipelinesListOptionalParams\n ): Promise<ExportPipelinesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec\n );\n }\n\n /**\n * Gets the properties of the export pipeline.\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 exportPipelineName The name of the export pipeline.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n exportPipelineName: string,\n options?: ExportPipelinesGetOptionalParams\n ): Promise<ExportPipelinesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, exportPipelineName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates an export pipeline 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 exportPipelineName The name of the export pipeline.\n * @param exportPipelineCreateParameters The parameters for creating an export pipeline.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n exportPipelineName: string,\n exportPipelineCreateParameters: ExportPipeline,\n options?: ExportPipelinesCreateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ExportPipelinesCreateResponse>,\n ExportPipelinesCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ExportPipelinesCreateResponse> => {\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 exportPipelineName,\n exportPipelineCreateParameters,\n options\n },\n spec: createOperationSpec\n });\n const poller = await createHttpPoller<\n ExportPipelinesCreateResponse,\n OperationState<ExportPipelinesCreateResponse>\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 an export pipeline 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 exportPipelineName The name of the export pipeline.\n * @param exportPipelineCreateParameters The parameters for creating an export pipeline.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n exportPipelineName: string,\n exportPipelineCreateParameters: ExportPipeline,\n options?: ExportPipelinesCreateOptionalParams\n ): Promise<ExportPipelinesCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n exportPipelineName,\n exportPipelineCreateParameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an export pipeline 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 exportPipelineName The name of the export pipeline.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n exportPipelineName: string,\n options?: ExportPipelinesDeleteOptionalParams\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, exportPipelineName, 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 an export pipeline 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 exportPipelineName The name of the export pipeline.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n exportPipelineName: string,\n options?: ExportPipelinesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n exportPipelineName,\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?: ExportPipelinesListNextOptionalParams\n ): Promise<ExportPipelinesListNextResponse> {\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}/exportPipelines\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExportPipelineListResult\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}/exportPipelines/{exportPipelineName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExportPipeline\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.exportPipelineName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExportPipeline\n },\n 201: {\n bodyMapper: Mappers.ExportPipeline\n },\n 202: {\n bodyMapper: Mappers.ExportPipeline\n },\n 204: {\n bodyMapper: Mappers.ExportPipeline\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.exportPipelineCreateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.exportPipelineName\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}/exportPipelines/{exportPipelineName}\",\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.exportPipelineName\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.ExportPipelineListResult\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":"exportPipelines.js","sourceRoot":"","sources":["../../../src/operations/exportPipelines.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;A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,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;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 { ExportPipelines } 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 ExportPipeline,\n ExportPipelinesListNextOptionalParams,\n ExportPipelinesListOptionalParams,\n ExportPipelinesListResponse,\n ExportPipelinesGetOptionalParams,\n ExportPipelinesGetResponse,\n ExportPipelinesCreateOptionalParams,\n ExportPipelinesCreateResponse,\n ExportPipelinesDeleteOptionalParams,\n ExportPipelinesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ExportPipelines operations. */\nexport class ExportPipelinesImpl implements ExportPipelines {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class ExportPipelines class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all export pipelines 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?: ExportPipelinesListOptionalParams,\n ): PagedAsyncIterableIterator<ExportPipeline> {\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?: ExportPipelinesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ExportPipeline[]> {\n let result: ExportPipelinesListResponse;\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?: ExportPipelinesListOptionalParams,\n ): AsyncIterableIterator<ExportPipeline> {\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 export pipelines 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?: ExportPipelinesListOptionalParams,\n ): Promise<ExportPipelinesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the properties of the export pipeline.\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 exportPipelineName The name of the export pipeline.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n exportPipelineName: string,\n options?: ExportPipelinesGetOptionalParams,\n ): Promise<ExportPipelinesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, exportPipelineName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates an export pipeline 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 exportPipelineName The name of the export pipeline.\n * @param exportPipelineCreateParameters The parameters for creating an export pipeline.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n exportPipelineName: string,\n exportPipelineCreateParameters: ExportPipeline,\n options?: ExportPipelinesCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ExportPipelinesCreateResponse>,\n ExportPipelinesCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ExportPipelinesCreateResponse> => {\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 exportPipelineName,\n exportPipelineCreateParameters,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ExportPipelinesCreateResponse,\n OperationState<ExportPipelinesCreateResponse>\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 an export pipeline 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 exportPipelineName The name of the export pipeline.\n * @param exportPipelineCreateParameters The parameters for creating an export pipeline.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n exportPipelineName: string,\n exportPipelineCreateParameters: ExportPipeline,\n options?: ExportPipelinesCreateOptionalParams,\n ): Promise<ExportPipelinesCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n exportPipelineName,\n exportPipelineCreateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an export pipeline 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 exportPipelineName The name of the export pipeline.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n exportPipelineName: string,\n options?: ExportPipelinesDeleteOptionalParams,\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, exportPipelineName, 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 an export pipeline 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 exportPipelineName The name of the export pipeline.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n exportPipelineName: string,\n options?: ExportPipelinesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n exportPipelineName,\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?: ExportPipelinesListNextOptionalParams,\n ): Promise<ExportPipelinesListNextResponse> {\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}/exportPipelines\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExportPipelineListResult,\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}/exportPipelines/{exportPipelineName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExportPipeline,\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.exportPipelineName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExportPipeline,\n },\n 201: {\n bodyMapper: Mappers.ExportPipeline,\n },\n 202: {\n bodyMapper: Mappers.ExportPipeline,\n },\n 204: {\n bodyMapper: Mappers.ExportPipeline,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.exportPipelineCreateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.exportPipelineName,\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}/exportPipelines/{exportPipelineName}\",\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.exportPipelineName,\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.ExportPipelineListResult,\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":"importPipelines.d.ts","sourceRoot":"","sources":["../../../src/operations/importPipelines.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,cAAc,EAEd,iCAAiC,EAEjC,gCAAgC,EAChC,0BAA0B,EAC1B,mCAAmC,EACnC,6BAA6B,EAC7B,mCAAmC,EAEpC,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO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,cAAc,EAC9C,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,6BAA6B,CAAC,EAC7C,6BAA6B,CAC9B,CACF;IA8DD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,kBAAkB,EAAE,MAAM,EAC1B,8BAA8B,EAAE,cAAc,EAC9C,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IAWzC;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAqDxD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -45,7 +45,7 @@ class ImportPipelinesImpl {
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 ImportPipelinesImpl {
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 ImportPipelinesImpl {
145
145
  registryName,
146
146
  importPipelineName,
147
147
  importPipelineCreateParameters,
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 ImportPipelinesImpl {
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, importPipelineName, 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.ImportPipelineListResult
245
+ bodyMapper: Mappers.ImportPipelineListResult,
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}/importPipelines/{importPipelineName}",
263
263
  httpMethod: "GET",
264
264
  responses: {
265
265
  200: {
266
- bodyMapper: Mappers.ImportPipeline
266
+ bodyMapper: Mappers.ImportPipeline,
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.importPipelineName
278
+ Parameters.importPipelineName,
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}/importPipelines/{importPipelineName}",
285
285
  httpMethod: "PUT",
286
286
  responses: {
287
287
  200: {
288
- bodyMapper: Mappers.ImportPipeline
288
+ bodyMapper: Mappers.ImportPipeline,
289
289
  },
290
290
  201: {
291
- bodyMapper: Mappers.ImportPipeline
291
+ bodyMapper: Mappers.ImportPipeline,
292
292
  },
293
293
  202: {
294
- bodyMapper: Mappers.ImportPipeline
294
+ bodyMapper: Mappers.ImportPipeline,
295
295
  },
296
296
  204: {
297
- bodyMapper: Mappers.ImportPipeline
297
+ bodyMapper: Mappers.ImportPipeline,
298
298
  },
299
299
  default: {
300
- bodyMapper: Mappers.ErrorResponse
301
- }
300
+ bodyMapper: Mappers.ErrorResponse,
301
+ },
302
302
  },
303
303
  requestBody: Parameters.importPipelineCreateParameters,
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.importPipelineName
310
+ Parameters.importPipelineName,
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}/importPipelines/{importPipelineName}",
@@ -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.importPipelineName
334
+ Parameters.importPipelineName,
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.ImportPipelineListResult
344
+ bodyMapper: Mappers.ImportPipelineListResult,
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=importPipelines.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"importPipelines.js","sourceRoot":"","sources":["../../../src/operations/importPipelines.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAA2C;QAE3C,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,OAA2C,EAC3C,QAAuB;;YAEvB,IAAI,MAAmC,CAAC;YACxC,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,sBAAM,IAAI,CAAC,KAA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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,kBAAkB;KAC9B;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,wBAAwB;SAC7C;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 { ImportPipelines } 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 ImportPipeline,\n ImportPipelinesListNextOptionalParams,\n ImportPipelinesListOptionalParams,\n ImportPipelinesListResponse,\n ImportPipelinesGetOptionalParams,\n ImportPipelinesGetResponse,\n ImportPipelinesCreateOptionalParams,\n ImportPipelinesCreateResponse,\n ImportPipelinesDeleteOptionalParams,\n ImportPipelinesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ImportPipelines operations. */\nexport class ImportPipelinesImpl implements ImportPipelines {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class ImportPipelines class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all import pipelines 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?: ImportPipelinesListOptionalParams\n ): PagedAsyncIterableIterator<ImportPipeline> {\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?: ImportPipelinesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ImportPipeline[]> {\n let result: ImportPipelinesListResponse;\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?: ImportPipelinesListOptionalParams\n ): AsyncIterableIterator<ImportPipeline> {\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 import pipelines 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?: ImportPipelinesListOptionalParams\n ): Promise<ImportPipelinesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec\n );\n }\n\n /**\n * Gets the properties of the import pipeline.\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 importPipelineName The name of the import pipeline.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n importPipelineName: string,\n options?: ImportPipelinesGetOptionalParams\n ): Promise<ImportPipelinesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, importPipelineName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates an import pipeline 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 importPipelineName The name of the import pipeline.\n * @param importPipelineCreateParameters The parameters for creating an import pipeline.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n importPipelineName: string,\n importPipelineCreateParameters: ImportPipeline,\n options?: ImportPipelinesCreateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ImportPipelinesCreateResponse>,\n ImportPipelinesCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ImportPipelinesCreateResponse> => {\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 importPipelineName,\n importPipelineCreateParameters,\n options\n },\n spec: createOperationSpec\n });\n const poller = await createHttpPoller<\n ImportPipelinesCreateResponse,\n OperationState<ImportPipelinesCreateResponse>\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 an import pipeline 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 importPipelineName The name of the import pipeline.\n * @param importPipelineCreateParameters The parameters for creating an import pipeline.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n importPipelineName: string,\n importPipelineCreateParameters: ImportPipeline,\n options?: ImportPipelinesCreateOptionalParams\n ): Promise<ImportPipelinesCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n importPipelineName,\n importPipelineCreateParameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an import pipeline 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 importPipelineName The name of the import pipeline.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n importPipelineName: string,\n options?: ImportPipelinesDeleteOptionalParams\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, importPipelineName, 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 an import pipeline 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 importPipelineName The name of the import pipeline.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n importPipelineName: string,\n options?: ImportPipelinesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n importPipelineName,\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?: ImportPipelinesListNextOptionalParams\n ): Promise<ImportPipelinesListNextResponse> {\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}/importPipelines\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ImportPipelineListResult\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}/importPipelines/{importPipelineName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ImportPipeline\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.importPipelineName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ImportPipeline\n },\n 201: {\n bodyMapper: Mappers.ImportPipeline\n },\n 202: {\n bodyMapper: Mappers.ImportPipeline\n },\n 204: {\n bodyMapper: Mappers.ImportPipeline\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.importPipelineCreateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.importPipelineName\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}/importPipelines/{importPipelineName}\",\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.importPipelineName\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.ImportPipelineListResult\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":"importPipelines.js","sourceRoot":"","sources":["../../../src/operations/importPipelines.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YA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AO,CAAC,wBAAwB;SAC7C;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 { ImportPipelines } 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 ImportPipeline,\n ImportPipelinesListNextOptionalParams,\n ImportPipelinesListOptionalParams,\n ImportPipelinesListResponse,\n ImportPipelinesGetOptionalParams,\n ImportPipelinesGetResponse,\n ImportPipelinesCreateOptionalParams,\n ImportPipelinesCreateResponse,\n ImportPipelinesDeleteOptionalParams,\n ImportPipelinesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ImportPipelines operations. */\nexport class ImportPipelinesImpl implements ImportPipelines {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class ImportPipelines class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all import pipelines 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?: ImportPipelinesListOptionalParams,\n ): PagedAsyncIterableIterator<ImportPipeline> {\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?: ImportPipelinesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ImportPipeline[]> {\n let result: ImportPipelinesListResponse;\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?: ImportPipelinesListOptionalParams,\n ): AsyncIterableIterator<ImportPipeline> {\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 import pipelines 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?: ImportPipelinesListOptionalParams,\n ): Promise<ImportPipelinesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the properties of the import pipeline.\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 importPipelineName The name of the import pipeline.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n importPipelineName: string,\n options?: ImportPipelinesGetOptionalParams,\n ): Promise<ImportPipelinesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, importPipelineName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates an import pipeline 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 importPipelineName The name of the import pipeline.\n * @param importPipelineCreateParameters The parameters for creating an import pipeline.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n importPipelineName: string,\n importPipelineCreateParameters: ImportPipeline,\n options?: ImportPipelinesCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ImportPipelinesCreateResponse>,\n ImportPipelinesCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ImportPipelinesCreateResponse> => {\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 importPipelineName,\n importPipelineCreateParameters,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ImportPipelinesCreateResponse,\n OperationState<ImportPipelinesCreateResponse>\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 an import pipeline 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 importPipelineName The name of the import pipeline.\n * @param importPipelineCreateParameters The parameters for creating an import pipeline.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n importPipelineName: string,\n importPipelineCreateParameters: ImportPipeline,\n options?: ImportPipelinesCreateOptionalParams,\n ): Promise<ImportPipelinesCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n importPipelineName,\n importPipelineCreateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an import pipeline 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 importPipelineName The name of the import pipeline.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n importPipelineName: string,\n options?: ImportPipelinesDeleteOptionalParams,\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, importPipelineName, 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 an import pipeline 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 importPipelineName The name of the import pipeline.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n importPipelineName: string,\n options?: ImportPipelinesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n importPipelineName,\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?: ImportPipelinesListNextOptionalParams,\n ): Promise<ImportPipelinesListNextResponse> {\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}/importPipelines\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ImportPipelineListResult,\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}/importPipelines/{importPipelineName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ImportPipeline,\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.importPipelineName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ImportPipeline,\n },\n 201: {\n bodyMapper: Mappers.ImportPipeline,\n },\n 202: {\n bodyMapper: Mappers.ImportPipeline,\n },\n 204: {\n bodyMapper: Mappers.ImportPipeline,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.importPipelineCreateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.importPipelineName,\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}/importPipelines/{importPipelineName}\",\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.importPipelineName,\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.ImportPipelineListResult,\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"]}
@@ -41,7 +41,7 @@ class OperationsImpl {
41
41
  throw new Error("maxPageSize is not supported by this operation.");
42
42
  }
43
43
  return this.listPagingPage(options, settings);
44
- }
44
+ },
45
45
  };
46
46
  }
47
47
  listPagingPage(options, settings) {
@@ -108,24 +108,24 @@ const listOperationSpec = {
108
108
  httpMethod: "GET",
109
109
  responses: {
110
110
  200: {
111
- bodyMapper: Mappers.OperationListResult
112
- }
111
+ bodyMapper: Mappers.OperationListResult,
112
+ },
113
113
  },
114
114
  queryParameters: [Parameters.apiVersion],
115
115
  urlParameters: [Parameters.$host],
116
116
  headerParameters: [Parameters.accept],
117
- serializer
117
+ serializer,
118
118
  };
119
119
  const listNextOperationSpec = {
120
120
  path: "{nextLink}",
121
121
  httpMethod: "GET",
122
122
  responses: {
123
123
  200: {
124
- bodyMapper: Mappers.OperationListResult
125
- }
124
+ bodyMapper: Mappers.OperationListResult,
125
+ },
126
126
  },
127
127
  urlParameters: [Parameters.$host, Parameters.nextLink],
128
128
  headerParameters: [Parameters.accept],
129
- serializer
129
+ serializer,
130
130
  };
131
131
  //# sourceMappingURL=operations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceR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S,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,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 { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n OperationDefinition,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Azure Container Registry REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<OperationDefinition> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<OperationDefinition[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<OperationDefinition> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Azure Container Registry REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ContainerRegistry/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAsC,EACtC,QAAuB;;YAEvB,IAAI,MAA8B,CAAC;YACnC,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gB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AAqB,CACtB,CAAC;IACJ,CAAC;CACF;AAzFD,wCAyFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,mDAAmD;IACzD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,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 { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n OperationDefinition,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Azure Container Registry REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<OperationDefinition> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<OperationDefinition[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<OperationDefinition> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Azure Container Registry REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ContainerRegistry/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"pipelineRuns.d.ts","sourceRoot":"","sources":["../../../src/operations/pipelineRuns.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,WAAW,EAEX,8BAA8B,EAE9B,6BAA6B,EAC7B,uBAAuB,EACvB,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAEjC,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,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,8BAA8B,GACvC,0BAA0B,CAAC,WAAW,CAAC;YAuB3B,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