@azure/arm-containerregistry 11.0.0-beta.4 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (750) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/dist/browser/containerRegistryManagementClient.d.ts +5 -10
  4. package/dist/browser/containerRegistryManagementClient.d.ts.map +1 -1
  5. package/dist/browser/containerRegistryManagementClient.js +34 -23
  6. package/dist/browser/containerRegistryManagementClient.js.map +1 -1
  7. package/dist/browser/index.d.ts.map +1 -1
  8. package/dist/browser/index.js +4 -7
  9. package/dist/browser/index.js.map +1 -1
  10. package/dist/browser/lroImpl.d.ts +1 -1
  11. package/dist/browser/lroImpl.d.ts.map +1 -1
  12. package/dist/browser/lroImpl.js +9 -10
  13. package/dist/browser/lroImpl.js.map +1 -1
  14. package/dist/browser/models/index.d.ts +1319 -1825
  15. package/dist/browser/models/index.d.ts.map +1 -1
  16. package/dist/browser/models/index.js +160 -213
  17. package/dist/browser/models/index.js.map +1 -1
  18. package/dist/browser/models/mappers.d.ts +65 -104
  19. package/dist/browser/models/mappers.d.ts.map +1 -1
  20. package/dist/browser/models/mappers.js +2929 -3495
  21. package/dist/browser/models/mappers.js.map +1 -1
  22. package/dist/browser/models/parameters.d.ts +13 -24
  23. package/dist/browser/models/parameters.d.ts.map +1 -1
  24. package/dist/browser/models/parameters.js +65 -180
  25. package/dist/browser/models/parameters.js.map +1 -1
  26. package/dist/browser/operations/agentPools.d.ts +5 -5
  27. package/dist/browser/operations/agentPools.d.ts.map +1 -1
  28. package/dist/browser/operations/agentPools.js +60 -67
  29. package/dist/browser/operations/agentPools.js.map +1 -1
  30. package/dist/browser/operations/cacheRules.d.ts +15 -15
  31. package/dist/browser/operations/cacheRules.d.ts.map +1 -1
  32. package/dist/browser/operations/cacheRules.js +100 -107
  33. package/dist/browser/operations/cacheRules.js.map +1 -1
  34. package/dist/browser/operations/connectedRegistries.d.ts +15 -15
  35. package/dist/browser/operations/connectedRegistries.d.ts.map +1 -1
  36. package/dist/browser/operations/connectedRegistries.js +118 -120
  37. package/dist/browser/operations/connectedRegistries.js.map +1 -1
  38. package/dist/browser/operations/credentialSets.d.ts +15 -15
  39. package/dist/browser/operations/credentialSets.d.ts.map +1 -1
  40. package/dist/browser/operations/credentialSets.js +100 -107
  41. package/dist/browser/operations/credentialSets.js.map +1 -1
  42. package/dist/browser/operations/index.d.ts +2 -7
  43. package/dist/browser/operations/index.d.ts.map +1 -1
  44. package/dist/browser/operations/index.js +6 -14
  45. package/dist/browser/operations/index.js.map +1 -1
  46. package/dist/browser/operations/operations.d.ts +6 -6
  47. package/dist/browser/operations/operations.d.ts.map +1 -1
  48. package/dist/browser/operations/operations.js +33 -49
  49. package/dist/browser/operations/operations.js.map +1 -1
  50. package/dist/browser/operations/privateEndpointConnections.d.ts +5 -5
  51. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  52. package/dist/browser/operations/privateEndpointConnections.js +71 -62
  53. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  54. package/dist/browser/operations/registries.d.ts +47 -47
  55. package/dist/browser/operations/registries.d.ts.map +1 -1
  56. package/dist/browser/operations/registries.js +381 -359
  57. package/dist/browser/operations/registries.js.map +1 -1
  58. package/dist/browser/operations/replications.d.ts +15 -15
  59. package/dist/browser/operations/replications.d.ts.map +1 -1
  60. package/dist/browser/operations/replications.js +122 -105
  61. package/dist/browser/operations/replications.js.map +1 -1
  62. package/dist/browser/operations/runs.d.ts +5 -5
  63. package/dist/browser/operations/runs.d.ts.map +1 -1
  64. package/dist/browser/operations/runs.js +50 -62
  65. package/dist/browser/operations/runs.js.map +1 -1
  66. package/dist/browser/operations/scopeMaps.d.ts +15 -15
  67. package/dist/browser/operations/scopeMaps.d.ts.map +1 -1
  68. package/dist/browser/operations/scopeMaps.js +107 -114
  69. package/dist/browser/operations/scopeMaps.js.map +1 -1
  70. package/dist/browser/operations/taskRuns.d.ts +5 -5
  71. package/dist/browser/operations/taskRuns.d.ts.map +1 -1
  72. package/dist/browser/operations/taskRuns.js +60 -67
  73. package/dist/browser/operations/taskRuns.js.map +1 -1
  74. package/dist/browser/operations/tasks.d.ts +5 -5
  75. package/dist/browser/operations/tasks.d.ts.map +1 -1
  76. package/dist/browser/operations/tasks.js +60 -67
  77. package/dist/browser/operations/tasks.js.map +1 -1
  78. package/dist/browser/operations/tokens.d.ts +15 -15
  79. package/dist/browser/operations/tokens.d.ts.map +1 -1
  80. package/dist/browser/operations/tokens.js +107 -114
  81. package/dist/browser/operations/tokens.js.map +1 -1
  82. package/dist/browser/operations/webhooks.d.ts +19 -19
  83. package/dist/browser/operations/webhooks.d.ts.map +1 -1
  84. package/dist/browser/operations/webhooks.js +169 -157
  85. package/dist/browser/operations/webhooks.js.map +1 -1
  86. package/dist/browser/operationsInterfaces/agentPools.d.ts +3 -3
  87. package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
  88. package/dist/browser/operationsInterfaces/agentPools.js +2 -7
  89. package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
  90. package/dist/browser/operationsInterfaces/cacheRules.d.ts +13 -13
  91. package/dist/browser/operationsInterfaces/cacheRules.d.ts.map +1 -1
  92. package/dist/browser/operationsInterfaces/cacheRules.js +2 -7
  93. package/dist/browser/operationsInterfaces/cacheRules.js.map +1 -1
  94. package/dist/browser/operationsInterfaces/connectedRegistries.d.ts +13 -13
  95. package/dist/browser/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
  96. package/dist/browser/operationsInterfaces/connectedRegistries.js +2 -7
  97. package/dist/browser/operationsInterfaces/connectedRegistries.js.map +1 -1
  98. package/dist/browser/operationsInterfaces/credentialSets.d.ts +13 -13
  99. package/dist/browser/operationsInterfaces/credentialSets.d.ts.map +1 -1
  100. package/dist/browser/operationsInterfaces/credentialSets.js +2 -7
  101. package/dist/browser/operationsInterfaces/credentialSets.js.map +1 -1
  102. package/dist/browser/operationsInterfaces/index.d.ts +2 -7
  103. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  104. package/dist/browser/operationsInterfaces/index.js +6 -14
  105. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  106. package/dist/browser/operationsInterfaces/operations.d.ts +3 -3
  107. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  108. package/dist/browser/operationsInterfaces/operations.js +2 -7
  109. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  110. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  111. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  112. package/dist/browser/operationsInterfaces/privateEndpointConnections.js +2 -7
  113. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  114. package/dist/browser/operationsInterfaces/registries.d.ts +41 -41
  115. package/dist/browser/operationsInterfaces/registries.d.ts.map +1 -1
  116. package/dist/browser/operationsInterfaces/registries.js +2 -7
  117. package/dist/browser/operationsInterfaces/registries.js.map +1 -1
  118. package/dist/browser/operationsInterfaces/replications.d.ts +13 -13
  119. package/dist/browser/operationsInterfaces/replications.d.ts.map +1 -1
  120. package/dist/browser/operationsInterfaces/replications.js +2 -7
  121. package/dist/browser/operationsInterfaces/replications.js.map +1 -1
  122. package/dist/browser/operationsInterfaces/runs.d.ts +3 -3
  123. package/dist/browser/operationsInterfaces/runs.d.ts.map +1 -1
  124. package/dist/browser/operationsInterfaces/runs.js +2 -7
  125. package/dist/browser/operationsInterfaces/runs.js.map +1 -1
  126. package/dist/browser/operationsInterfaces/scopeMaps.d.ts +13 -13
  127. package/dist/browser/operationsInterfaces/scopeMaps.d.ts.map +1 -1
  128. package/dist/browser/operationsInterfaces/scopeMaps.js +2 -7
  129. package/dist/browser/operationsInterfaces/scopeMaps.js.map +1 -1
  130. package/dist/browser/operationsInterfaces/taskRuns.d.ts +3 -3
  131. package/dist/browser/operationsInterfaces/taskRuns.d.ts.map +1 -1
  132. package/dist/browser/operationsInterfaces/taskRuns.js +2 -7
  133. package/dist/browser/operationsInterfaces/taskRuns.js.map +1 -1
  134. package/dist/browser/operationsInterfaces/tasks.d.ts +3 -3
  135. package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -1
  136. package/dist/browser/operationsInterfaces/tasks.js +2 -7
  137. package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
  138. package/dist/browser/operationsInterfaces/tokens.d.ts +13 -13
  139. package/dist/browser/operationsInterfaces/tokens.d.ts.map +1 -1
  140. package/dist/browser/operationsInterfaces/tokens.js +2 -7
  141. package/dist/browser/operationsInterfaces/tokens.js.map +1 -1
  142. package/dist/browser/operationsInterfaces/webhooks.d.ts +17 -17
  143. package/dist/browser/operationsInterfaces/webhooks.d.ts.map +1 -1
  144. package/dist/browser/operationsInterfaces/webhooks.js +2 -7
  145. package/dist/browser/operationsInterfaces/webhooks.js.map +1 -1
  146. package/dist/browser/pagingHelper.d.ts.map +1 -1
  147. package/dist/browser/pagingHelper.js +4 -11
  148. package/dist/browser/pagingHelper.js.map +1 -1
  149. package/dist/commonjs/containerRegistryManagementClient.d.ts +5 -10
  150. package/dist/commonjs/containerRegistryManagementClient.d.ts.map +1 -1
  151. package/dist/commonjs/containerRegistryManagementClient.js +33 -22
  152. package/dist/commonjs/containerRegistryManagementClient.js.map +1 -1
  153. package/dist/commonjs/index.d.ts.map +1 -1
  154. package/dist/commonjs/index.js +4 -7
  155. package/dist/commonjs/index.js.map +1 -1
  156. package/dist/commonjs/lroImpl.d.ts +1 -1
  157. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  158. package/dist/commonjs/lroImpl.js +9 -10
  159. package/dist/commonjs/lroImpl.js.map +1 -1
  160. package/dist/commonjs/models/index.d.ts +1319 -1825
  161. package/dist/commonjs/models/index.d.ts.map +1 -1
  162. package/dist/commonjs/models/index.js +161 -215
  163. package/dist/commonjs/models/index.js.map +1 -1
  164. package/dist/commonjs/models/mappers.d.ts +65 -104
  165. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  166. package/dist/commonjs/models/mappers.js +2932 -3499
  167. package/dist/commonjs/models/mappers.js.map +1 -1
  168. package/dist/commonjs/models/parameters.d.ts +13 -24
  169. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  170. package/dist/commonjs/models/parameters.js +66 -181
  171. package/dist/commonjs/models/parameters.js.map +1 -1
  172. package/dist/commonjs/operations/agentPools.d.ts +5 -5
  173. package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
  174. package/dist/commonjs/operations/agentPools.js +59 -65
  175. package/dist/commonjs/operations/agentPools.js.map +1 -1
  176. package/dist/commonjs/operations/cacheRules.d.ts +15 -15
  177. package/dist/commonjs/operations/cacheRules.d.ts.map +1 -1
  178. package/dist/commonjs/operations/cacheRules.js +99 -105
  179. package/dist/commonjs/operations/cacheRules.js.map +1 -1
  180. package/dist/commonjs/operations/connectedRegistries.d.ts +15 -15
  181. package/dist/commonjs/operations/connectedRegistries.d.ts.map +1 -1
  182. package/dist/commonjs/operations/connectedRegistries.js +117 -118
  183. package/dist/commonjs/operations/connectedRegistries.js.map +1 -1
  184. package/dist/commonjs/operations/credentialSets.d.ts +15 -15
  185. package/dist/commonjs/operations/credentialSets.d.ts.map +1 -1
  186. package/dist/commonjs/operations/credentialSets.js +99 -105
  187. package/dist/commonjs/operations/credentialSets.js.map +1 -1
  188. package/dist/commonjs/operations/index.d.ts +2 -7
  189. package/dist/commonjs/operations/index.d.ts.map +1 -1
  190. package/dist/commonjs/operations/index.js +6 -14
  191. package/dist/commonjs/operations/index.js.map +1 -1
  192. package/dist/commonjs/operations/operations.d.ts +6 -6
  193. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  194. package/dist/commonjs/operations/operations.js +33 -48
  195. package/dist/commonjs/operations/operations.js.map +1 -1
  196. package/dist/commonjs/operations/privateEndpointConnections.d.ts +5 -5
  197. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  198. package/dist/commonjs/operations/privateEndpointConnections.js +70 -60
  199. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  200. package/dist/commonjs/operations/registries.d.ts +47 -47
  201. package/dist/commonjs/operations/registries.d.ts.map +1 -1
  202. package/dist/commonjs/operations/registries.js +380 -357
  203. package/dist/commonjs/operations/registries.js.map +1 -1
  204. package/dist/commonjs/operations/replications.d.ts +15 -15
  205. package/dist/commonjs/operations/replications.d.ts.map +1 -1
  206. package/dist/commonjs/operations/replications.js +121 -103
  207. package/dist/commonjs/operations/replications.js.map +1 -1
  208. package/dist/commonjs/operations/runs.d.ts +5 -5
  209. package/dist/commonjs/operations/runs.d.ts.map +1 -1
  210. package/dist/commonjs/operations/runs.js +49 -60
  211. package/dist/commonjs/operations/runs.js.map +1 -1
  212. package/dist/commonjs/operations/scopeMaps.d.ts +15 -15
  213. package/dist/commonjs/operations/scopeMaps.d.ts.map +1 -1
  214. package/dist/commonjs/operations/scopeMaps.js +106 -112
  215. package/dist/commonjs/operations/scopeMaps.js.map +1 -1
  216. package/dist/commonjs/operations/taskRuns.d.ts +5 -5
  217. package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
  218. package/dist/commonjs/operations/taskRuns.js +59 -65
  219. package/dist/commonjs/operations/taskRuns.js.map +1 -1
  220. package/dist/commonjs/operations/tasks.d.ts +5 -5
  221. package/dist/commonjs/operations/tasks.d.ts.map +1 -1
  222. package/dist/commonjs/operations/tasks.js +59 -65
  223. package/dist/commonjs/operations/tasks.js.map +1 -1
  224. package/dist/commonjs/operations/tokens.d.ts +15 -15
  225. package/dist/commonjs/operations/tokens.d.ts.map +1 -1
  226. package/dist/commonjs/operations/tokens.js +106 -112
  227. package/dist/commonjs/operations/tokens.js.map +1 -1
  228. package/dist/commonjs/operations/webhooks.d.ts +19 -19
  229. package/dist/commonjs/operations/webhooks.d.ts.map +1 -1
  230. package/dist/commonjs/operations/webhooks.js +168 -155
  231. package/dist/commonjs/operations/webhooks.js.map +1 -1
  232. package/dist/commonjs/operationsInterfaces/agentPools.d.ts +3 -3
  233. package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
  234. package/dist/commonjs/operationsInterfaces/agentPools.js +2 -7
  235. package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
  236. package/dist/commonjs/operationsInterfaces/cacheRules.d.ts +13 -13
  237. package/dist/commonjs/operationsInterfaces/cacheRules.d.ts.map +1 -1
  238. package/dist/commonjs/operationsInterfaces/cacheRules.js +2 -7
  239. package/dist/commonjs/operationsInterfaces/cacheRules.js.map +1 -1
  240. package/dist/commonjs/operationsInterfaces/connectedRegistries.d.ts +13 -13
  241. package/dist/commonjs/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
  242. package/dist/commonjs/operationsInterfaces/connectedRegistries.js +2 -7
  243. package/dist/commonjs/operationsInterfaces/connectedRegistries.js.map +1 -1
  244. package/dist/commonjs/operationsInterfaces/credentialSets.d.ts +13 -13
  245. package/dist/commonjs/operationsInterfaces/credentialSets.d.ts.map +1 -1
  246. package/dist/commonjs/operationsInterfaces/credentialSets.js +2 -7
  247. package/dist/commonjs/operationsInterfaces/credentialSets.js.map +1 -1
  248. package/dist/commonjs/operationsInterfaces/index.d.ts +2 -7
  249. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  250. package/dist/commonjs/operationsInterfaces/index.js +6 -14
  251. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  252. package/dist/commonjs/operationsInterfaces/operations.d.ts +3 -3
  253. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  254. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  255. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  256. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  257. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  258. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +2 -7
  259. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  260. package/dist/commonjs/operationsInterfaces/registries.d.ts +41 -41
  261. package/dist/commonjs/operationsInterfaces/registries.d.ts.map +1 -1
  262. package/dist/commonjs/operationsInterfaces/registries.js +2 -7
  263. package/dist/commonjs/operationsInterfaces/registries.js.map +1 -1
  264. package/dist/commonjs/operationsInterfaces/replications.d.ts +13 -13
  265. package/dist/commonjs/operationsInterfaces/replications.d.ts.map +1 -1
  266. package/dist/commonjs/operationsInterfaces/replications.js +2 -7
  267. package/dist/commonjs/operationsInterfaces/replications.js.map +1 -1
  268. package/dist/commonjs/operationsInterfaces/runs.d.ts +3 -3
  269. package/dist/commonjs/operationsInterfaces/runs.d.ts.map +1 -1
  270. package/dist/commonjs/operationsInterfaces/runs.js +2 -7
  271. package/dist/commonjs/operationsInterfaces/runs.js.map +1 -1
  272. package/dist/commonjs/operationsInterfaces/scopeMaps.d.ts +13 -13
  273. package/dist/commonjs/operationsInterfaces/scopeMaps.d.ts.map +1 -1
  274. package/dist/commonjs/operationsInterfaces/scopeMaps.js +2 -7
  275. package/dist/commonjs/operationsInterfaces/scopeMaps.js.map +1 -1
  276. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts +3 -3
  277. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts.map +1 -1
  278. package/dist/commonjs/operationsInterfaces/taskRuns.js +2 -7
  279. package/dist/commonjs/operationsInterfaces/taskRuns.js.map +1 -1
  280. package/dist/commonjs/operationsInterfaces/tasks.d.ts +3 -3
  281. package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -1
  282. package/dist/commonjs/operationsInterfaces/tasks.js +2 -7
  283. package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
  284. package/dist/commonjs/operationsInterfaces/tokens.d.ts +13 -13
  285. package/dist/commonjs/operationsInterfaces/tokens.d.ts.map +1 -1
  286. package/dist/commonjs/operationsInterfaces/tokens.js +2 -7
  287. package/dist/commonjs/operationsInterfaces/tokens.js.map +1 -1
  288. package/dist/commonjs/operationsInterfaces/webhooks.d.ts +17 -17
  289. package/dist/commonjs/operationsInterfaces/webhooks.d.ts.map +1 -1
  290. package/dist/commonjs/operationsInterfaces/webhooks.js +2 -7
  291. package/dist/commonjs/operationsInterfaces/webhooks.js.map +1 -1
  292. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  293. package/dist/commonjs/pagingHelper.js +4 -11
  294. package/dist/commonjs/pagingHelper.js.map +1 -1
  295. package/dist/commonjs/tsdoc-metadata.json +11 -11
  296. package/dist/esm/containerRegistryManagementClient.d.ts +5 -10
  297. package/dist/esm/containerRegistryManagementClient.d.ts.map +1 -1
  298. package/dist/esm/containerRegistryManagementClient.js +34 -23
  299. package/dist/esm/containerRegistryManagementClient.js.map +1 -1
  300. package/dist/esm/index.d.ts.map +1 -1
  301. package/dist/esm/index.js +4 -7
  302. package/dist/esm/index.js.map +1 -1
  303. package/dist/esm/lroImpl.d.ts +1 -1
  304. package/dist/esm/lroImpl.d.ts.map +1 -1
  305. package/dist/esm/lroImpl.js +9 -10
  306. package/dist/esm/lroImpl.js.map +1 -1
  307. package/dist/esm/models/index.d.ts +1319 -1825
  308. package/dist/esm/models/index.d.ts.map +1 -1
  309. package/dist/esm/models/index.js +160 -213
  310. package/dist/esm/models/index.js.map +1 -1
  311. package/dist/esm/models/mappers.d.ts +65 -104
  312. package/dist/esm/models/mappers.d.ts.map +1 -1
  313. package/dist/esm/models/mappers.js +2929 -3495
  314. package/dist/esm/models/mappers.js.map +1 -1
  315. package/dist/esm/models/parameters.d.ts +13 -24
  316. package/dist/esm/models/parameters.d.ts.map +1 -1
  317. package/dist/esm/models/parameters.js +65 -180
  318. package/dist/esm/models/parameters.js.map +1 -1
  319. package/dist/esm/operations/agentPools.d.ts +5 -5
  320. package/dist/esm/operations/agentPools.d.ts.map +1 -1
  321. package/dist/esm/operations/agentPools.js +60 -67
  322. package/dist/esm/operations/agentPools.js.map +1 -1
  323. package/dist/esm/operations/cacheRules.d.ts +15 -15
  324. package/dist/esm/operations/cacheRules.d.ts.map +1 -1
  325. package/dist/esm/operations/cacheRules.js +100 -107
  326. package/dist/esm/operations/cacheRules.js.map +1 -1
  327. package/dist/esm/operations/connectedRegistries.d.ts +15 -15
  328. package/dist/esm/operations/connectedRegistries.d.ts.map +1 -1
  329. package/dist/esm/operations/connectedRegistries.js +118 -120
  330. package/dist/esm/operations/connectedRegistries.js.map +1 -1
  331. package/dist/esm/operations/credentialSets.d.ts +15 -15
  332. package/dist/esm/operations/credentialSets.d.ts.map +1 -1
  333. package/dist/esm/operations/credentialSets.js +100 -107
  334. package/dist/esm/operations/credentialSets.js.map +1 -1
  335. package/dist/esm/operations/index.d.ts +2 -7
  336. package/dist/esm/operations/index.d.ts.map +1 -1
  337. package/dist/esm/operations/index.js +6 -14
  338. package/dist/esm/operations/index.js.map +1 -1
  339. package/dist/esm/operations/operations.d.ts +6 -6
  340. package/dist/esm/operations/operations.d.ts.map +1 -1
  341. package/dist/esm/operations/operations.js +33 -49
  342. package/dist/esm/operations/operations.js.map +1 -1
  343. package/dist/esm/operations/privateEndpointConnections.d.ts +5 -5
  344. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  345. package/dist/esm/operations/privateEndpointConnections.js +71 -62
  346. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  347. package/dist/esm/operations/registries.d.ts +47 -47
  348. package/dist/esm/operations/registries.d.ts.map +1 -1
  349. package/dist/esm/operations/registries.js +381 -359
  350. package/dist/esm/operations/registries.js.map +1 -1
  351. package/dist/esm/operations/replications.d.ts +15 -15
  352. package/dist/esm/operations/replications.d.ts.map +1 -1
  353. package/dist/esm/operations/replications.js +122 -105
  354. package/dist/esm/operations/replications.js.map +1 -1
  355. package/dist/esm/operations/runs.d.ts +5 -5
  356. package/dist/esm/operations/runs.d.ts.map +1 -1
  357. package/dist/esm/operations/runs.js +50 -62
  358. package/dist/esm/operations/runs.js.map +1 -1
  359. package/dist/esm/operations/scopeMaps.d.ts +15 -15
  360. package/dist/esm/operations/scopeMaps.d.ts.map +1 -1
  361. package/dist/esm/operations/scopeMaps.js +107 -114
  362. package/dist/esm/operations/scopeMaps.js.map +1 -1
  363. package/dist/esm/operations/taskRuns.d.ts +5 -5
  364. package/dist/esm/operations/taskRuns.d.ts.map +1 -1
  365. package/dist/esm/operations/taskRuns.js +60 -67
  366. package/dist/esm/operations/taskRuns.js.map +1 -1
  367. package/dist/esm/operations/tasks.d.ts +5 -5
  368. package/dist/esm/operations/tasks.d.ts.map +1 -1
  369. package/dist/esm/operations/tasks.js +60 -67
  370. package/dist/esm/operations/tasks.js.map +1 -1
  371. package/dist/esm/operations/tokens.d.ts +15 -15
  372. package/dist/esm/operations/tokens.d.ts.map +1 -1
  373. package/dist/esm/operations/tokens.js +107 -114
  374. package/dist/esm/operations/tokens.js.map +1 -1
  375. package/dist/esm/operations/webhooks.d.ts +19 -19
  376. package/dist/esm/operations/webhooks.d.ts.map +1 -1
  377. package/dist/esm/operations/webhooks.js +169 -157
  378. package/dist/esm/operations/webhooks.js.map +1 -1
  379. package/dist/esm/operationsInterfaces/agentPools.d.ts +3 -3
  380. package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
  381. package/dist/esm/operationsInterfaces/agentPools.js +2 -7
  382. package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
  383. package/dist/esm/operationsInterfaces/cacheRules.d.ts +13 -13
  384. package/dist/esm/operationsInterfaces/cacheRules.d.ts.map +1 -1
  385. package/dist/esm/operationsInterfaces/cacheRules.js +2 -7
  386. package/dist/esm/operationsInterfaces/cacheRules.js.map +1 -1
  387. package/dist/esm/operationsInterfaces/connectedRegistries.d.ts +13 -13
  388. package/dist/esm/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
  389. package/dist/esm/operationsInterfaces/connectedRegistries.js +2 -7
  390. package/dist/esm/operationsInterfaces/connectedRegistries.js.map +1 -1
  391. package/dist/esm/operationsInterfaces/credentialSets.d.ts +13 -13
  392. package/dist/esm/operationsInterfaces/credentialSets.d.ts.map +1 -1
  393. package/dist/esm/operationsInterfaces/credentialSets.js +2 -7
  394. package/dist/esm/operationsInterfaces/credentialSets.js.map +1 -1
  395. package/dist/esm/operationsInterfaces/index.d.ts +2 -7
  396. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  397. package/dist/esm/operationsInterfaces/index.js +6 -14
  398. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  399. package/dist/esm/operationsInterfaces/operations.d.ts +3 -3
  400. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  401. package/dist/esm/operationsInterfaces/operations.js +2 -7
  402. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  403. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  404. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  405. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
  406. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  407. package/dist/esm/operationsInterfaces/registries.d.ts +41 -41
  408. package/dist/esm/operationsInterfaces/registries.d.ts.map +1 -1
  409. package/dist/esm/operationsInterfaces/registries.js +2 -7
  410. package/dist/esm/operationsInterfaces/registries.js.map +1 -1
  411. package/dist/esm/operationsInterfaces/replications.d.ts +13 -13
  412. package/dist/esm/operationsInterfaces/replications.d.ts.map +1 -1
  413. package/dist/esm/operationsInterfaces/replications.js +2 -7
  414. package/dist/esm/operationsInterfaces/replications.js.map +1 -1
  415. package/dist/esm/operationsInterfaces/runs.d.ts +3 -3
  416. package/dist/esm/operationsInterfaces/runs.d.ts.map +1 -1
  417. package/dist/esm/operationsInterfaces/runs.js +2 -7
  418. package/dist/esm/operationsInterfaces/runs.js.map +1 -1
  419. package/dist/esm/operationsInterfaces/scopeMaps.d.ts +13 -13
  420. package/dist/esm/operationsInterfaces/scopeMaps.d.ts.map +1 -1
  421. package/dist/esm/operationsInterfaces/scopeMaps.js +2 -7
  422. package/dist/esm/operationsInterfaces/scopeMaps.js.map +1 -1
  423. package/dist/esm/operationsInterfaces/taskRuns.d.ts +3 -3
  424. package/dist/esm/operationsInterfaces/taskRuns.d.ts.map +1 -1
  425. package/dist/esm/operationsInterfaces/taskRuns.js +2 -7
  426. package/dist/esm/operationsInterfaces/taskRuns.js.map +1 -1
  427. package/dist/esm/operationsInterfaces/tasks.d.ts +3 -3
  428. package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -1
  429. package/dist/esm/operationsInterfaces/tasks.js +2 -7
  430. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  431. package/dist/esm/operationsInterfaces/tokens.d.ts +13 -13
  432. package/dist/esm/operationsInterfaces/tokens.d.ts.map +1 -1
  433. package/dist/esm/operationsInterfaces/tokens.js +2 -7
  434. package/dist/esm/operationsInterfaces/tokens.js.map +1 -1
  435. package/dist/esm/operationsInterfaces/webhooks.d.ts +17 -17
  436. package/dist/esm/operationsInterfaces/webhooks.d.ts.map +1 -1
  437. package/dist/esm/operationsInterfaces/webhooks.js +2 -7
  438. package/dist/esm/operationsInterfaces/webhooks.js.map +1 -1
  439. package/dist/esm/pagingHelper.d.ts.map +1 -1
  440. package/dist/esm/pagingHelper.js +4 -11
  441. package/dist/esm/pagingHelper.js.map +1 -1
  442. package/dist/react-native/containerRegistryManagementClient.d.ts +5 -10
  443. package/dist/react-native/containerRegistryManagementClient.d.ts.map +1 -1
  444. package/dist/react-native/containerRegistryManagementClient.js +34 -23
  445. package/dist/react-native/containerRegistryManagementClient.js.map +1 -1
  446. package/dist/react-native/index.d.ts.map +1 -1
  447. package/dist/react-native/index.js +4 -7
  448. package/dist/react-native/index.js.map +1 -1
  449. package/dist/react-native/lroImpl.d.ts +1 -1
  450. package/dist/react-native/lroImpl.d.ts.map +1 -1
  451. package/dist/react-native/lroImpl.js +9 -10
  452. package/dist/react-native/lroImpl.js.map +1 -1
  453. package/dist/react-native/models/index.d.ts +1319 -1825
  454. package/dist/react-native/models/index.d.ts.map +1 -1
  455. package/dist/react-native/models/index.js +160 -213
  456. package/dist/react-native/models/index.js.map +1 -1
  457. package/dist/react-native/models/mappers.d.ts +65 -104
  458. package/dist/react-native/models/mappers.d.ts.map +1 -1
  459. package/dist/react-native/models/mappers.js +2929 -3495
  460. package/dist/react-native/models/mappers.js.map +1 -1
  461. package/dist/react-native/models/parameters.d.ts +13 -24
  462. package/dist/react-native/models/parameters.d.ts.map +1 -1
  463. package/dist/react-native/models/parameters.js +65 -180
  464. package/dist/react-native/models/parameters.js.map +1 -1
  465. package/dist/react-native/operations/agentPools.d.ts +5 -5
  466. package/dist/react-native/operations/agentPools.d.ts.map +1 -1
  467. package/dist/react-native/operations/agentPools.js +60 -67
  468. package/dist/react-native/operations/agentPools.js.map +1 -1
  469. package/dist/react-native/operations/cacheRules.d.ts +15 -15
  470. package/dist/react-native/operations/cacheRules.d.ts.map +1 -1
  471. package/dist/react-native/operations/cacheRules.js +100 -107
  472. package/dist/react-native/operations/cacheRules.js.map +1 -1
  473. package/dist/react-native/operations/connectedRegistries.d.ts +15 -15
  474. package/dist/react-native/operations/connectedRegistries.d.ts.map +1 -1
  475. package/dist/react-native/operations/connectedRegistries.js +118 -120
  476. package/dist/react-native/operations/connectedRegistries.js.map +1 -1
  477. package/dist/react-native/operations/credentialSets.d.ts +15 -15
  478. package/dist/react-native/operations/credentialSets.d.ts.map +1 -1
  479. package/dist/react-native/operations/credentialSets.js +100 -107
  480. package/dist/react-native/operations/credentialSets.js.map +1 -1
  481. package/dist/react-native/operations/index.d.ts +2 -7
  482. package/dist/react-native/operations/index.d.ts.map +1 -1
  483. package/dist/react-native/operations/index.js +6 -14
  484. package/dist/react-native/operations/index.js.map +1 -1
  485. package/dist/react-native/operations/operations.d.ts +6 -6
  486. package/dist/react-native/operations/operations.d.ts.map +1 -1
  487. package/dist/react-native/operations/operations.js +33 -49
  488. package/dist/react-native/operations/operations.js.map +1 -1
  489. package/dist/react-native/operations/privateEndpointConnections.d.ts +5 -5
  490. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  491. package/dist/react-native/operations/privateEndpointConnections.js +71 -62
  492. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  493. package/dist/react-native/operations/registries.d.ts +47 -47
  494. package/dist/react-native/operations/registries.d.ts.map +1 -1
  495. package/dist/react-native/operations/registries.js +381 -359
  496. package/dist/react-native/operations/registries.js.map +1 -1
  497. package/dist/react-native/operations/replications.d.ts +15 -15
  498. package/dist/react-native/operations/replications.d.ts.map +1 -1
  499. package/dist/react-native/operations/replications.js +122 -105
  500. package/dist/react-native/operations/replications.js.map +1 -1
  501. package/dist/react-native/operations/runs.d.ts +5 -5
  502. package/dist/react-native/operations/runs.d.ts.map +1 -1
  503. package/dist/react-native/operations/runs.js +50 -62
  504. package/dist/react-native/operations/runs.js.map +1 -1
  505. package/dist/react-native/operations/scopeMaps.d.ts +15 -15
  506. package/dist/react-native/operations/scopeMaps.d.ts.map +1 -1
  507. package/dist/react-native/operations/scopeMaps.js +107 -114
  508. package/dist/react-native/operations/scopeMaps.js.map +1 -1
  509. package/dist/react-native/operations/taskRuns.d.ts +5 -5
  510. package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
  511. package/dist/react-native/operations/taskRuns.js +60 -67
  512. package/dist/react-native/operations/taskRuns.js.map +1 -1
  513. package/dist/react-native/operations/tasks.d.ts +5 -5
  514. package/dist/react-native/operations/tasks.d.ts.map +1 -1
  515. package/dist/react-native/operations/tasks.js +60 -67
  516. package/dist/react-native/operations/tasks.js.map +1 -1
  517. package/dist/react-native/operations/tokens.d.ts +15 -15
  518. package/dist/react-native/operations/tokens.d.ts.map +1 -1
  519. package/dist/react-native/operations/tokens.js +107 -114
  520. package/dist/react-native/operations/tokens.js.map +1 -1
  521. package/dist/react-native/operations/webhooks.d.ts +19 -19
  522. package/dist/react-native/operations/webhooks.d.ts.map +1 -1
  523. package/dist/react-native/operations/webhooks.js +169 -157
  524. package/dist/react-native/operations/webhooks.js.map +1 -1
  525. package/dist/react-native/operationsInterfaces/agentPools.d.ts +3 -3
  526. package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
  527. package/dist/react-native/operationsInterfaces/agentPools.js +2 -7
  528. package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
  529. package/dist/react-native/operationsInterfaces/cacheRules.d.ts +13 -13
  530. package/dist/react-native/operationsInterfaces/cacheRules.d.ts.map +1 -1
  531. package/dist/react-native/operationsInterfaces/cacheRules.js +2 -7
  532. package/dist/react-native/operationsInterfaces/cacheRules.js.map +1 -1
  533. package/dist/react-native/operationsInterfaces/connectedRegistries.d.ts +13 -13
  534. package/dist/react-native/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
  535. package/dist/react-native/operationsInterfaces/connectedRegistries.js +2 -7
  536. package/dist/react-native/operationsInterfaces/connectedRegistries.js.map +1 -1
  537. package/dist/react-native/operationsInterfaces/credentialSets.d.ts +13 -13
  538. package/dist/react-native/operationsInterfaces/credentialSets.d.ts.map +1 -1
  539. package/dist/react-native/operationsInterfaces/credentialSets.js +2 -7
  540. package/dist/react-native/operationsInterfaces/credentialSets.js.map +1 -1
  541. package/dist/react-native/operationsInterfaces/index.d.ts +2 -7
  542. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  543. package/dist/react-native/operationsInterfaces/index.js +6 -14
  544. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  545. package/dist/react-native/operationsInterfaces/operations.d.ts +3 -3
  546. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  547. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  548. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  549. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  550. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  551. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
  552. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  553. package/dist/react-native/operationsInterfaces/registries.d.ts +41 -41
  554. package/dist/react-native/operationsInterfaces/registries.d.ts.map +1 -1
  555. package/dist/react-native/operationsInterfaces/registries.js +2 -7
  556. package/dist/react-native/operationsInterfaces/registries.js.map +1 -1
  557. package/dist/react-native/operationsInterfaces/replications.d.ts +13 -13
  558. package/dist/react-native/operationsInterfaces/replications.d.ts.map +1 -1
  559. package/dist/react-native/operationsInterfaces/replications.js +2 -7
  560. package/dist/react-native/operationsInterfaces/replications.js.map +1 -1
  561. package/dist/react-native/operationsInterfaces/runs.d.ts +3 -3
  562. package/dist/react-native/operationsInterfaces/runs.d.ts.map +1 -1
  563. package/dist/react-native/operationsInterfaces/runs.js +2 -7
  564. package/dist/react-native/operationsInterfaces/runs.js.map +1 -1
  565. package/dist/react-native/operationsInterfaces/scopeMaps.d.ts +13 -13
  566. package/dist/react-native/operationsInterfaces/scopeMaps.d.ts.map +1 -1
  567. package/dist/react-native/operationsInterfaces/scopeMaps.js +2 -7
  568. package/dist/react-native/operationsInterfaces/scopeMaps.js.map +1 -1
  569. package/dist/react-native/operationsInterfaces/taskRuns.d.ts +3 -3
  570. package/dist/react-native/operationsInterfaces/taskRuns.d.ts.map +1 -1
  571. package/dist/react-native/operationsInterfaces/taskRuns.js +2 -7
  572. package/dist/react-native/operationsInterfaces/taskRuns.js.map +1 -1
  573. package/dist/react-native/operationsInterfaces/tasks.d.ts +3 -3
  574. package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -1
  575. package/dist/react-native/operationsInterfaces/tasks.js +2 -7
  576. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  577. package/dist/react-native/operationsInterfaces/tokens.d.ts +13 -13
  578. package/dist/react-native/operationsInterfaces/tokens.d.ts.map +1 -1
  579. package/dist/react-native/operationsInterfaces/tokens.js +2 -7
  580. package/dist/react-native/operationsInterfaces/tokens.js.map +1 -1
  581. package/dist/react-native/operationsInterfaces/webhooks.d.ts +17 -17
  582. package/dist/react-native/operationsInterfaces/webhooks.d.ts.map +1 -1
  583. package/dist/react-native/operationsInterfaces/webhooks.js +2 -7
  584. package/dist/react-native/operationsInterfaces/webhooks.js.map +1 -1
  585. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  586. package/dist/react-native/pagingHelper.js +4 -11
  587. package/dist/react-native/pagingHelper.js.map +1 -1
  588. package/package.json +56 -65
  589. package/CHANGELOG.md +0 -800
  590. package/dist/browser/operations/archiveVersions.d.ts +0 -95
  591. package/dist/browser/operations/archiveVersions.d.ts.map +0 -1
  592. package/dist/browser/operations/archiveVersions.js +0 -408
  593. package/dist/browser/operations/archiveVersions.js.map +0 -1
  594. package/dist/browser/operations/archives.d.ts +0 -99
  595. package/dist/browser/operations/archives.d.ts.map +0 -1
  596. package/dist/browser/operations/archives.js +0 -428
  597. package/dist/browser/operations/archives.js.map +0 -1
  598. package/dist/browser/operations/exportPipelines.d.ts +0 -81
  599. package/dist/browser/operations/exportPipelines.d.ts.map +0 -1
  600. package/dist/browser/operations/exportPipelines.js +0 -356
  601. package/dist/browser/operations/exportPipelines.js.map +0 -1
  602. package/dist/browser/operations/importPipelines.d.ts +0 -81
  603. package/dist/browser/operations/importPipelines.d.ts.map +0 -1
  604. package/dist/browser/operations/importPipelines.js +0 -356
  605. package/dist/browser/operations/importPipelines.js.map +0 -1
  606. package/dist/browser/operations/pipelineRuns.d.ts +0 -81
  607. package/dist/browser/operations/pipelineRuns.d.ts.map +0 -1
  608. package/dist/browser/operations/pipelineRuns.js +0 -356
  609. package/dist/browser/operations/pipelineRuns.js.map +0 -1
  610. package/dist/browser/operationsInterfaces/archiveVersions.d.ts +0 -66
  611. package/dist/browser/operationsInterfaces/archiveVersions.d.ts.map +0 -1
  612. package/dist/browser/operationsInterfaces/archiveVersions.js +0 -9
  613. package/dist/browser/operationsInterfaces/archiveVersions.js.map +0 -1
  614. package/dist/browser/operationsInterfaces/archives.d.ts +0 -72
  615. package/dist/browser/operationsInterfaces/archives.d.ts.map +0 -1
  616. package/dist/browser/operationsInterfaces/archives.js +0 -9
  617. package/dist/browser/operationsInterfaces/archives.js.map +0 -1
  618. package/dist/browser/operationsInterfaces/exportPipelines.d.ts +0 -56
  619. package/dist/browser/operationsInterfaces/exportPipelines.d.ts.map +0 -1
  620. package/dist/browser/operationsInterfaces/exportPipelines.js +0 -9
  621. package/dist/browser/operationsInterfaces/exportPipelines.js.map +0 -1
  622. package/dist/browser/operationsInterfaces/importPipelines.d.ts +0 -56
  623. package/dist/browser/operationsInterfaces/importPipelines.d.ts.map +0 -1
  624. package/dist/browser/operationsInterfaces/importPipelines.js +0 -9
  625. package/dist/browser/operationsInterfaces/importPipelines.js.map +0 -1
  626. package/dist/browser/operationsInterfaces/pipelineRuns.d.ts +0 -56
  627. package/dist/browser/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
  628. package/dist/browser/operationsInterfaces/pipelineRuns.js +0 -9
  629. package/dist/browser/operationsInterfaces/pipelineRuns.js.map +0 -1
  630. package/dist/commonjs/operations/archiveVersions.d.ts +0 -95
  631. package/dist/commonjs/operations/archiveVersions.d.ts.map +0 -1
  632. package/dist/commonjs/operations/archiveVersions.js +0 -412
  633. package/dist/commonjs/operations/archiveVersions.js.map +0 -1
  634. package/dist/commonjs/operations/archives.d.ts +0 -99
  635. package/dist/commonjs/operations/archives.d.ts.map +0 -1
  636. package/dist/commonjs/operations/archives.js +0 -432
  637. package/dist/commonjs/operations/archives.js.map +0 -1
  638. package/dist/commonjs/operations/exportPipelines.d.ts +0 -81
  639. package/dist/commonjs/operations/exportPipelines.d.ts.map +0 -1
  640. package/dist/commonjs/operations/exportPipelines.js +0 -360
  641. package/dist/commonjs/operations/exportPipelines.js.map +0 -1
  642. package/dist/commonjs/operations/importPipelines.d.ts +0 -81
  643. package/dist/commonjs/operations/importPipelines.d.ts.map +0 -1
  644. package/dist/commonjs/operations/importPipelines.js +0 -360
  645. package/dist/commonjs/operations/importPipelines.js.map +0 -1
  646. package/dist/commonjs/operations/pipelineRuns.d.ts +0 -81
  647. package/dist/commonjs/operations/pipelineRuns.d.ts.map +0 -1
  648. package/dist/commonjs/operations/pipelineRuns.js +0 -360
  649. package/dist/commonjs/operations/pipelineRuns.js.map +0 -1
  650. package/dist/commonjs/operationsInterfaces/archiveVersions.d.ts +0 -66
  651. package/dist/commonjs/operationsInterfaces/archiveVersions.d.ts.map +0 -1
  652. package/dist/commonjs/operationsInterfaces/archiveVersions.js +0 -10
  653. package/dist/commonjs/operationsInterfaces/archiveVersions.js.map +0 -1
  654. package/dist/commonjs/operationsInterfaces/archives.d.ts +0 -72
  655. package/dist/commonjs/operationsInterfaces/archives.d.ts.map +0 -1
  656. package/dist/commonjs/operationsInterfaces/archives.js +0 -10
  657. package/dist/commonjs/operationsInterfaces/archives.js.map +0 -1
  658. package/dist/commonjs/operationsInterfaces/exportPipelines.d.ts +0 -56
  659. package/dist/commonjs/operationsInterfaces/exportPipelines.d.ts.map +0 -1
  660. package/dist/commonjs/operationsInterfaces/exportPipelines.js +0 -10
  661. package/dist/commonjs/operationsInterfaces/exportPipelines.js.map +0 -1
  662. package/dist/commonjs/operationsInterfaces/importPipelines.d.ts +0 -56
  663. package/dist/commonjs/operationsInterfaces/importPipelines.d.ts.map +0 -1
  664. package/dist/commonjs/operationsInterfaces/importPipelines.js +0 -10
  665. package/dist/commonjs/operationsInterfaces/importPipelines.js.map +0 -1
  666. package/dist/commonjs/operationsInterfaces/pipelineRuns.d.ts +0 -56
  667. package/dist/commonjs/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
  668. package/dist/commonjs/operationsInterfaces/pipelineRuns.js +0 -10
  669. package/dist/commonjs/operationsInterfaces/pipelineRuns.js.map +0 -1
  670. package/dist/esm/operations/archiveVersions.d.ts +0 -95
  671. package/dist/esm/operations/archiveVersions.d.ts.map +0 -1
  672. package/dist/esm/operations/archiveVersions.js +0 -408
  673. package/dist/esm/operations/archiveVersions.js.map +0 -1
  674. package/dist/esm/operations/archives.d.ts +0 -99
  675. package/dist/esm/operations/archives.d.ts.map +0 -1
  676. package/dist/esm/operations/archives.js +0 -428
  677. package/dist/esm/operations/archives.js.map +0 -1
  678. package/dist/esm/operations/exportPipelines.d.ts +0 -81
  679. package/dist/esm/operations/exportPipelines.d.ts.map +0 -1
  680. package/dist/esm/operations/exportPipelines.js +0 -356
  681. package/dist/esm/operations/exportPipelines.js.map +0 -1
  682. package/dist/esm/operations/importPipelines.d.ts +0 -81
  683. package/dist/esm/operations/importPipelines.d.ts.map +0 -1
  684. package/dist/esm/operations/importPipelines.js +0 -356
  685. package/dist/esm/operations/importPipelines.js.map +0 -1
  686. package/dist/esm/operations/pipelineRuns.d.ts +0 -81
  687. package/dist/esm/operations/pipelineRuns.d.ts.map +0 -1
  688. package/dist/esm/operations/pipelineRuns.js +0 -356
  689. package/dist/esm/operations/pipelineRuns.js.map +0 -1
  690. package/dist/esm/operationsInterfaces/archiveVersions.d.ts +0 -66
  691. package/dist/esm/operationsInterfaces/archiveVersions.d.ts.map +0 -1
  692. package/dist/esm/operationsInterfaces/archiveVersions.js +0 -9
  693. package/dist/esm/operationsInterfaces/archiveVersions.js.map +0 -1
  694. package/dist/esm/operationsInterfaces/archives.d.ts +0 -72
  695. package/dist/esm/operationsInterfaces/archives.d.ts.map +0 -1
  696. package/dist/esm/operationsInterfaces/archives.js +0 -9
  697. package/dist/esm/operationsInterfaces/archives.js.map +0 -1
  698. package/dist/esm/operationsInterfaces/exportPipelines.d.ts +0 -56
  699. package/dist/esm/operationsInterfaces/exportPipelines.d.ts.map +0 -1
  700. package/dist/esm/operationsInterfaces/exportPipelines.js +0 -9
  701. package/dist/esm/operationsInterfaces/exportPipelines.js.map +0 -1
  702. package/dist/esm/operationsInterfaces/importPipelines.d.ts +0 -56
  703. package/dist/esm/operationsInterfaces/importPipelines.d.ts.map +0 -1
  704. package/dist/esm/operationsInterfaces/importPipelines.js +0 -9
  705. package/dist/esm/operationsInterfaces/importPipelines.js.map +0 -1
  706. package/dist/esm/operationsInterfaces/pipelineRuns.d.ts +0 -56
  707. package/dist/esm/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
  708. package/dist/esm/operationsInterfaces/pipelineRuns.js +0 -9
  709. package/dist/esm/operationsInterfaces/pipelineRuns.js.map +0 -1
  710. package/dist/react-native/operations/archiveVersions.d.ts +0 -95
  711. package/dist/react-native/operations/archiveVersions.d.ts.map +0 -1
  712. package/dist/react-native/operations/archiveVersions.js +0 -408
  713. package/dist/react-native/operations/archiveVersions.js.map +0 -1
  714. package/dist/react-native/operations/archives.d.ts +0 -99
  715. package/dist/react-native/operations/archives.d.ts.map +0 -1
  716. package/dist/react-native/operations/archives.js +0 -428
  717. package/dist/react-native/operations/archives.js.map +0 -1
  718. package/dist/react-native/operations/exportPipelines.d.ts +0 -81
  719. package/dist/react-native/operations/exportPipelines.d.ts.map +0 -1
  720. package/dist/react-native/operations/exportPipelines.js +0 -356
  721. package/dist/react-native/operations/exportPipelines.js.map +0 -1
  722. package/dist/react-native/operations/importPipelines.d.ts +0 -81
  723. package/dist/react-native/operations/importPipelines.d.ts.map +0 -1
  724. package/dist/react-native/operations/importPipelines.js +0 -356
  725. package/dist/react-native/operations/importPipelines.js.map +0 -1
  726. package/dist/react-native/operations/pipelineRuns.d.ts +0 -81
  727. package/dist/react-native/operations/pipelineRuns.d.ts.map +0 -1
  728. package/dist/react-native/operations/pipelineRuns.js +0 -356
  729. package/dist/react-native/operations/pipelineRuns.js.map +0 -1
  730. package/dist/react-native/operationsInterfaces/archiveVersions.d.ts +0 -66
  731. package/dist/react-native/operationsInterfaces/archiveVersions.d.ts.map +0 -1
  732. package/dist/react-native/operationsInterfaces/archiveVersions.js +0 -9
  733. package/dist/react-native/operationsInterfaces/archiveVersions.js.map +0 -1
  734. package/dist/react-native/operationsInterfaces/archives.d.ts +0 -72
  735. package/dist/react-native/operationsInterfaces/archives.d.ts.map +0 -1
  736. package/dist/react-native/operationsInterfaces/archives.js +0 -9
  737. package/dist/react-native/operationsInterfaces/archives.js.map +0 -1
  738. package/dist/react-native/operationsInterfaces/exportPipelines.d.ts +0 -56
  739. package/dist/react-native/operationsInterfaces/exportPipelines.d.ts.map +0 -1
  740. package/dist/react-native/operationsInterfaces/exportPipelines.js +0 -9
  741. package/dist/react-native/operationsInterfaces/exportPipelines.js.map +0 -1
  742. package/dist/react-native/operationsInterfaces/importPipelines.d.ts +0 -56
  743. package/dist/react-native/operationsInterfaces/importPipelines.d.ts.map +0 -1
  744. package/dist/react-native/operationsInterfaces/importPipelines.js +0 -9
  745. package/dist/react-native/operationsInterfaces/importPipelines.js.map +0 -1
  746. package/dist/react-native/operationsInterfaces/pipelineRuns.d.ts +0 -56
  747. package/dist/react-native/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
  748. package/dist/react-native/operationsInterfaces/pipelineRuns.js +0 -9
  749. package/dist/react-native/operationsInterfaces/pipelineRuns.js.map +0 -1
  750. package/review/arm-containerregistry.api.md +0 -3479
@@ -1,20 +1,15 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
9
3
  import { setContinuationToken } from "../pagingHelper.js";
10
4
  import * as coreClient from "@azure/core-client";
11
5
  import * as Mappers from "../models/mappers.js";
12
6
  import * as Parameters from "../models/parameters.js";
13
- import { createHttpPoller, } from "@azure/core-lro";
7
+ import { createHttpPoller } from "@azure/core-lro";
14
8
  import { createLroSpec } from "../lroImpl.js";
15
9
  /// <reference lib="esnext.asynciterable" />
16
10
  /** Class containing Registries operations. */
17
11
  export class RegistriesImpl {
12
+ client;
18
13
  /**
19
14
  * Initialize a new instance of the class Registries class.
20
15
  * @param client Reference to the service client
@@ -36,52 +31,35 @@ export class RegistriesImpl {
36
31
  return this;
37
32
  },
38
33
  byPage: (settings) => {
39
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
34
+ if (settings?.maxPageSize) {
40
35
  throw new Error("maxPageSize is not supported by this operation.");
41
36
  }
42
37
  return this.listPagingPage(options, settings);
43
38
  },
44
39
  };
45
40
  }
46
- listPagingPage(options, settings) {
47
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
48
- let result;
49
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
50
- if (!continuationToken) {
51
- result = yield __await(this._list(options));
52
- let page = result.value || [];
53
- continuationToken = result.nextLink;
54
- setContinuationToken(page, continuationToken);
55
- yield yield __await(page);
56
- }
57
- while (continuationToken) {
58
- result = yield __await(this._listNext(continuationToken, options));
59
- continuationToken = result.nextLink;
60
- let page = result.value || [];
61
- setContinuationToken(page, continuationToken);
62
- yield yield __await(page);
63
- }
64
- });
41
+ async *listPagingPage(options, settings) {
42
+ let result;
43
+ let continuationToken = settings?.continuationToken;
44
+ if (!continuationToken) {
45
+ result = await this._list(options);
46
+ const page = result.value || [];
47
+ continuationToken = result.nextLink;
48
+ setContinuationToken(page, continuationToken);
49
+ yield page;
50
+ }
51
+ while (continuationToken) {
52
+ result = await this._listNext(continuationToken, options);
53
+ continuationToken = result.nextLink;
54
+ const page = result.value || [];
55
+ setContinuationToken(page, continuationToken);
56
+ yield page;
57
+ }
65
58
  }
66
- listPagingAll(options) {
67
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
68
- var _a, e_1, _b, _c;
69
- try {
70
- for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
71
- _c = _f.value;
72
- _d = false;
73
- const page = _c;
74
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
75
- }
76
- }
77
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
78
- finally {
79
- try {
80
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
81
- }
82
- finally { if (e_1) throw e_1.error; }
83
- }
84
- });
59
+ async *listPagingAll(options) {
60
+ for await (const page of this.listPagingPage(options)) {
61
+ yield* page;
62
+ }
85
63
  }
86
64
  /**
87
65
  * Lists all the container registries under the specified resource group.
@@ -98,52 +76,35 @@ export class RegistriesImpl {
98
76
  return this;
99
77
  },
100
78
  byPage: (settings) => {
101
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
79
+ if (settings?.maxPageSize) {
102
80
  throw new Error("maxPageSize is not supported by this operation.");
103
81
  }
104
82
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
105
83
  },
106
84
  };
107
85
  }
108
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
109
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
110
- let result;
111
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
112
- if (!continuationToken) {
113
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
114
- let page = result.value || [];
115
- continuationToken = result.nextLink;
116
- setContinuationToken(page, continuationToken);
117
- yield yield __await(page);
118
- }
119
- while (continuationToken) {
120
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
121
- continuationToken = result.nextLink;
122
- let page = result.value || [];
123
- setContinuationToken(page, continuationToken);
124
- yield yield __await(page);
125
- }
126
- });
86
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
87
+ let result;
88
+ let continuationToken = settings?.continuationToken;
89
+ if (!continuationToken) {
90
+ result = await this._listByResourceGroup(resourceGroupName, options);
91
+ const page = result.value || [];
92
+ continuationToken = result.nextLink;
93
+ setContinuationToken(page, continuationToken);
94
+ yield page;
95
+ }
96
+ while (continuationToken) {
97
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
98
+ continuationToken = result.nextLink;
99
+ const page = result.value || [];
100
+ setContinuationToken(page, continuationToken);
101
+ yield page;
102
+ }
127
103
  }
128
- listByResourceGroupPagingAll(resourceGroupName, options) {
129
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
130
- var _a, e_2, _b, _c;
131
- try {
132
- for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
133
- _c = _f.value;
134
- _d = false;
135
- const page = _c;
136
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
137
- }
138
- }
139
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
140
- finally {
141
- try {
142
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
143
- }
144
- finally { if (e_2) throw e_2.error; }
145
- }
146
- });
104
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
105
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
106
+ yield* page;
107
+ }
147
108
  }
148
109
  /**
149
110
  * Lists the private link resources for a container registry.
@@ -161,111 +122,40 @@ export class RegistriesImpl {
161
122
  return this;
162
123
  },
163
124
  byPage: (settings) => {
164
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
125
+ if (settings?.maxPageSize) {
165
126
  throw new Error("maxPageSize is not supported by this operation.");
166
127
  }
167
128
  return this.listPrivateLinkResourcesPagingPage(resourceGroupName, registryName, options, settings);
168
129
  },
169
130
  };
170
131
  }
171
- listPrivateLinkResourcesPagingPage(resourceGroupName, registryName, options, settings) {
172
- return __asyncGenerator(this, arguments, function* listPrivateLinkResourcesPagingPage_1() {
173
- let result;
174
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
175
- if (!continuationToken) {
176
- result = yield __await(this._listPrivateLinkResources(resourceGroupName, registryName, options));
177
- let page = result.value || [];
178
- continuationToken = result.nextLink;
179
- setContinuationToken(page, continuationToken);
180
- yield yield __await(page);
181
- }
182
- while (continuationToken) {
183
- result = yield __await(this._listPrivateLinkResourcesNext(resourceGroupName, registryName, continuationToken, options));
184
- continuationToken = result.nextLink;
185
- let page = result.value || [];
186
- setContinuationToken(page, continuationToken);
187
- yield yield __await(page);
188
- }
189
- });
132
+ async *listPrivateLinkResourcesPagingPage(resourceGroupName, registryName, options, settings) {
133
+ let result;
134
+ let continuationToken = settings?.continuationToken;
135
+ if (!continuationToken) {
136
+ result = await this._listPrivateLinkResources(resourceGroupName, registryName, options);
137
+ const page = result.value || [];
138
+ continuationToken = result.nextLink;
139
+ setContinuationToken(page, continuationToken);
140
+ yield page;
141
+ }
142
+ while (continuationToken) {
143
+ result = await this._listPrivateLinkResourcesNext(resourceGroupName, registryName, continuationToken, options);
144
+ continuationToken = result.nextLink;
145
+ const page = result.value || [];
146
+ setContinuationToken(page, continuationToken);
147
+ yield page;
148
+ }
190
149
  }
191
- listPrivateLinkResourcesPagingAll(resourceGroupName, registryName, options) {
192
- return __asyncGenerator(this, arguments, function* listPrivateLinkResourcesPagingAll_1() {
193
- var _a, e_3, _b, _c;
194
- try {
195
- for (var _d = true, _e = __asyncValues(this.listPrivateLinkResourcesPagingPage(resourceGroupName, registryName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
196
- _c = _f.value;
197
- _d = false;
198
- const page = _c;
199
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
200
- }
201
- }
202
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
203
- finally {
204
- try {
205
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
206
- }
207
- finally { if (e_3) throw e_3.error; }
208
- }
209
- });
210
- }
211
- /**
212
- * Copies an image to this container registry from the specified container registry.
213
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
214
- * @param registryName The name of the container registry.
215
- * @param parameters The parameters specifying the image to copy and the source container registry.
216
- * @param options The options parameters.
217
- */
218
- async beginImportImage(resourceGroupName, registryName, parameters, options) {
219
- const directSendOperation = async (args, spec) => {
220
- return this.client.sendOperationRequest(args, spec);
221
- };
222
- const sendOperationFn = async (args, spec) => {
223
- var _a;
224
- let currentRawResponse = undefined;
225
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
226
- const callback = (rawResponse, flatResponse) => {
227
- currentRawResponse = rawResponse;
228
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
229
- };
230
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
231
- const flatResponse = await directSendOperation(updatedArgs, spec);
232
- return {
233
- flatResponse,
234
- rawResponse: {
235
- statusCode: currentRawResponse.status,
236
- body: currentRawResponse.parsedBody,
237
- headers: currentRawResponse.headers.toJSON(),
238
- },
239
- };
240
- };
241
- const lro = createLroSpec({
242
- sendOperationFn,
243
- args: { resourceGroupName, registryName, parameters, options },
244
- spec: importImageOperationSpec,
245
- });
246
- const poller = await createHttpPoller(lro, {
247
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
248
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
249
- resourceLocationConfig: "location",
250
- });
251
- await poller.poll();
252
- return poller;
253
- }
254
- /**
255
- * Copies an image to this container registry from the specified container registry.
256
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
257
- * @param registryName The name of the container registry.
258
- * @param parameters The parameters specifying the image to copy and the source container registry.
259
- * @param options The options parameters.
260
- */
261
- async beginImportImageAndWait(resourceGroupName, registryName, parameters, options) {
262
- const poller = await this.beginImportImage(resourceGroupName, registryName, parameters, options);
263
- return poller.pollUntilDone();
150
+ async *listPrivateLinkResourcesPagingAll(resourceGroupName, registryName, options) {
151
+ for await (const page of this.listPrivateLinkResourcesPagingPage(resourceGroupName, registryName, options)) {
152
+ yield* page;
153
+ }
264
154
  }
265
155
  /**
266
156
  * Checks whether the container registry name is available for use. The name must contain only
267
157
  * alphanumeric characters, be globally unique, and between 5 and 50 characters in length.
268
- * @param registryNameCheckRequest The object containing information for the availability request.
158
+ * @param registryNameCheckRequest The request body
269
159
  * @param options The options parameters.
270
160
  */
271
161
  checkNameAvailability(registryNameCheckRequest, options) {
@@ -307,14 +197,19 @@ export class RegistriesImpl {
307
197
  return this.client.sendOperationRequest(args, spec);
308
198
  };
309
199
  const sendOperationFn = async (args, spec) => {
310
- var _a;
311
200
  let currentRawResponse = undefined;
312
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
201
+ const providedCallback = args.options?.onResponse;
313
202
  const callback = (rawResponse, flatResponse) => {
314
203
  currentRawResponse = rawResponse;
315
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
204
+ providedCallback?.(rawResponse, flatResponse);
205
+ };
206
+ const updatedArgs = {
207
+ ...args,
208
+ options: {
209
+ ...args.options,
210
+ onResponse: callback,
211
+ },
316
212
  };
317
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
318
213
  const flatResponse = await directSendOperation(updatedArgs, spec);
319
214
  return {
320
215
  flatResponse,
@@ -331,8 +226,8 @@ export class RegistriesImpl {
331
226
  spec: createOperationSpec,
332
227
  });
333
228
  const poller = await createHttpPoller(lro, {
334
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
335
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
229
+ restoreFrom: options?.resumeFrom,
230
+ intervalInMs: options?.updateIntervalInMs,
336
231
  resourceLocationConfig: "azure-async-operation",
337
232
  });
338
233
  await poller.poll();
@@ -349,6 +244,70 @@ export class RegistriesImpl {
349
244
  const poller = await this.beginCreate(resourceGroupName, registryName, registry, options);
350
245
  return poller.pollUntilDone();
351
246
  }
247
+ /**
248
+ * Updates a container registry with the specified parameters.
249
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
250
+ * @param registryName The name of the container registry.
251
+ * @param registryUpdateParameters The parameters for updating a container registry.
252
+ * @param options The options parameters.
253
+ */
254
+ async beginUpdate(resourceGroupName, registryName, registryUpdateParameters, options) {
255
+ const directSendOperation = async (args, spec) => {
256
+ return this.client.sendOperationRequest(args, spec);
257
+ };
258
+ const sendOperationFn = async (args, spec) => {
259
+ let currentRawResponse = undefined;
260
+ const providedCallback = args.options?.onResponse;
261
+ const callback = (rawResponse, flatResponse) => {
262
+ currentRawResponse = rawResponse;
263
+ providedCallback?.(rawResponse, flatResponse);
264
+ };
265
+ const updatedArgs = {
266
+ ...args,
267
+ options: {
268
+ ...args.options,
269
+ onResponse: callback,
270
+ },
271
+ };
272
+ const flatResponse = await directSendOperation(updatedArgs, spec);
273
+ return {
274
+ flatResponse,
275
+ rawResponse: {
276
+ statusCode: currentRawResponse.status,
277
+ body: currentRawResponse.parsedBody,
278
+ headers: currentRawResponse.headers.toJSON(),
279
+ },
280
+ };
281
+ };
282
+ const lro = createLroSpec({
283
+ sendOperationFn,
284
+ args: {
285
+ resourceGroupName,
286
+ registryName,
287
+ registryUpdateParameters,
288
+ options,
289
+ },
290
+ spec: updateOperationSpec,
291
+ });
292
+ const poller = await createHttpPoller(lro, {
293
+ restoreFrom: options?.resumeFrom,
294
+ intervalInMs: options?.updateIntervalInMs,
295
+ resourceLocationConfig: "azure-async-operation",
296
+ });
297
+ await poller.poll();
298
+ return poller;
299
+ }
300
+ /**
301
+ * Updates a container registry with the specified parameters.
302
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
303
+ * @param registryName The name of the container registry.
304
+ * @param registryUpdateParameters The parameters for updating a container registry.
305
+ * @param options The options parameters.
306
+ */
307
+ async beginUpdateAndWait(resourceGroupName, registryName, registryUpdateParameters, options) {
308
+ const poller = await this.beginUpdate(resourceGroupName, registryName, registryUpdateParameters, options);
309
+ return poller.pollUntilDone();
310
+ }
352
311
  /**
353
312
  * Deletes a container registry.
354
313
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -360,14 +319,19 @@ export class RegistriesImpl {
360
319
  return this.client.sendOperationRequest(args, spec);
361
320
  };
362
321
  const sendOperationFn = async (args, spec) => {
363
- var _a;
364
322
  let currentRawResponse = undefined;
365
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
323
+ const providedCallback = args.options?.onResponse;
366
324
  const callback = (rawResponse, flatResponse) => {
367
325
  currentRawResponse = rawResponse;
368
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
326
+ providedCallback?.(rawResponse, flatResponse);
327
+ };
328
+ const updatedArgs = {
329
+ ...args,
330
+ options: {
331
+ ...args.options,
332
+ onResponse: callback,
333
+ },
369
334
  };
370
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
371
335
  const flatResponse = await directSendOperation(updatedArgs, spec);
372
336
  return {
373
337
  flatResponse,
@@ -384,8 +348,8 @@ export class RegistriesImpl {
384
348
  spec: deleteOperationSpec,
385
349
  });
386
350
  const poller = await createHttpPoller(lro, {
387
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
388
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
351
+ restoreFrom: options?.resumeFrom,
352
+ intervalInMs: options?.updateIntervalInMs,
389
353
  resourceLocationConfig: "location",
390
354
  });
391
355
  await poller.poll();
@@ -402,25 +366,30 @@ export class RegistriesImpl {
402
366
  return poller.pollUntilDone();
403
367
  }
404
368
  /**
405
- * Updates a container registry with the specified parameters.
369
+ * Generate keys for a token of a specified container registry.
406
370
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
407
371
  * @param registryName The name of the container registry.
408
- * @param registryUpdateParameters The parameters for updating a container registry.
372
+ * @param generateCredentialsParameters The parameters for generating credentials.
409
373
  * @param options The options parameters.
410
374
  */
411
- async beginUpdate(resourceGroupName, registryName, registryUpdateParameters, options) {
375
+ async beginGenerateCredentials(resourceGroupName, registryName, generateCredentialsParameters, options) {
412
376
  const directSendOperation = async (args, spec) => {
413
377
  return this.client.sendOperationRequest(args, spec);
414
378
  };
415
379
  const sendOperationFn = async (args, spec) => {
416
- var _a;
417
380
  let currentRawResponse = undefined;
418
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
381
+ const providedCallback = args.options?.onResponse;
419
382
  const callback = (rawResponse, flatResponse) => {
420
383
  currentRawResponse = rawResponse;
421
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
384
+ providedCallback?.(rawResponse, flatResponse);
385
+ };
386
+ const updatedArgs = {
387
+ ...args,
388
+ options: {
389
+ ...args.options,
390
+ onResponse: callback,
391
+ },
422
392
  };
423
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
424
393
  const flatResponse = await directSendOperation(updatedArgs, spec);
425
394
  return {
426
395
  flatResponse,
@@ -436,30 +405,98 @@ export class RegistriesImpl {
436
405
  args: {
437
406
  resourceGroupName,
438
407
  registryName,
439
- registryUpdateParameters,
408
+ generateCredentialsParameters,
440
409
  options,
441
410
  },
442
- spec: updateOperationSpec,
411
+ spec: generateCredentialsOperationSpec,
443
412
  });
444
413
  const poller = await createHttpPoller(lro, {
445
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
446
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
447
- resourceLocationConfig: "azure-async-operation",
414
+ restoreFrom: options?.resumeFrom,
415
+ intervalInMs: options?.updateIntervalInMs,
416
+ resourceLocationConfig: "location",
448
417
  });
449
418
  await poller.poll();
450
419
  return poller;
451
420
  }
452
421
  /**
453
- * Updates a container registry with the specified parameters.
422
+ * Generate keys for a token of a specified container registry.
454
423
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
455
424
  * @param registryName The name of the container registry.
456
- * @param registryUpdateParameters The parameters for updating a container registry.
425
+ * @param generateCredentialsParameters The parameters for generating credentials.
457
426
  * @param options The options parameters.
458
427
  */
459
- async beginUpdateAndWait(resourceGroupName, registryName, registryUpdateParameters, options) {
460
- const poller = await this.beginUpdate(resourceGroupName, registryName, registryUpdateParameters, options);
428
+ async beginGenerateCredentialsAndWait(resourceGroupName, registryName, generateCredentialsParameters, options) {
429
+ const poller = await this.beginGenerateCredentials(resourceGroupName, registryName, generateCredentialsParameters, options);
430
+ return poller.pollUntilDone();
431
+ }
432
+ /**
433
+ * Copies an image to this container registry from the specified container registry.
434
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
435
+ * @param registryName The name of the container registry.
436
+ * @param parameters The parameters specifying the image to copy and the source container registry.
437
+ * @param options The options parameters.
438
+ */
439
+ async beginImportImage(resourceGroupName, registryName, parameters, options) {
440
+ const directSendOperation = async (args, spec) => {
441
+ return this.client.sendOperationRequest(args, spec);
442
+ };
443
+ const sendOperationFn = async (args, spec) => {
444
+ let currentRawResponse = undefined;
445
+ const providedCallback = args.options?.onResponse;
446
+ const callback = (rawResponse, flatResponse) => {
447
+ currentRawResponse = rawResponse;
448
+ providedCallback?.(rawResponse, flatResponse);
449
+ };
450
+ const updatedArgs = {
451
+ ...args,
452
+ options: {
453
+ ...args.options,
454
+ onResponse: callback,
455
+ },
456
+ };
457
+ const flatResponse = await directSendOperation(updatedArgs, spec);
458
+ return {
459
+ flatResponse,
460
+ rawResponse: {
461
+ statusCode: currentRawResponse.status,
462
+ body: currentRawResponse.parsedBody,
463
+ headers: currentRawResponse.headers.toJSON(),
464
+ },
465
+ };
466
+ };
467
+ const lro = createLroSpec({
468
+ sendOperationFn,
469
+ args: { resourceGroupName, registryName, parameters, options },
470
+ spec: importImageOperationSpec,
471
+ });
472
+ const poller = await createHttpPoller(lro, {
473
+ restoreFrom: options?.resumeFrom,
474
+ intervalInMs: options?.updateIntervalInMs,
475
+ resourceLocationConfig: "location",
476
+ });
477
+ await poller.poll();
478
+ return poller;
479
+ }
480
+ /**
481
+ * Copies an image to this container registry from the specified container registry.
482
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
483
+ * @param registryName The name of the container registry.
484
+ * @param parameters The parameters specifying the image to copy and the source container registry.
485
+ * @param options The options parameters.
486
+ */
487
+ async beginImportImageAndWait(resourceGroupName, registryName, parameters, options) {
488
+ const poller = await this.beginImportImage(resourceGroupName, registryName, parameters, options);
461
489
  return poller.pollUntilDone();
462
490
  }
491
+ /**
492
+ * Lists the login credentials for the specified container registry.
493
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
494
+ * @param registryName The name of the container registry.
495
+ * @param options The options parameters.
496
+ */
497
+ listCredentials(resourceGroupName, registryName, options) {
498
+ return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listCredentialsOperationSpec);
499
+ }
463
500
  /**
464
501
  * Gets the quota usages for the specified container registry.
465
502
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -482,21 +519,12 @@ export class RegistriesImpl {
482
519
  * Gets a private link resource by a specified group name for a container registry.
483
520
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
484
521
  * @param registryName The name of the container registry.
485
- * @param groupName The name of the private link resource.
522
+ * @param groupName The name of the private link associated with the Azure resource.
486
523
  * @param options The options parameters.
487
524
  */
488
525
  getPrivateLinkResource(resourceGroupName, registryName, groupName, options) {
489
526
  return this.client.sendOperationRequest({ resourceGroupName, registryName, groupName, options }, getPrivateLinkResourceOperationSpec);
490
527
  }
491
- /**
492
- * Lists the login credentials for the specified container registry.
493
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
494
- * @param registryName The name of the container registry.
495
- * @param options The options parameters.
496
- */
497
- listCredentials(resourceGroupName, registryName, options) {
498
- return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listCredentialsOperationSpec);
499
- }
500
528
  /**
501
529
  * Regenerates one of the login credentials for the specified container registry.
502
530
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -513,65 +541,6 @@ export class RegistriesImpl {
513
541
  options,
514
542
  }, regenerateCredentialOperationSpec);
515
543
  }
516
- /**
517
- * Generate keys for a token of a specified container registry.
518
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
519
- * @param registryName The name of the container registry.
520
- * @param generateCredentialsParameters The parameters for generating credentials.
521
- * @param options The options parameters.
522
- */
523
- async beginGenerateCredentials(resourceGroupName, registryName, generateCredentialsParameters, options) {
524
- const directSendOperation = async (args, spec) => {
525
- return this.client.sendOperationRequest(args, spec);
526
- };
527
- const sendOperationFn = async (args, spec) => {
528
- var _a;
529
- let currentRawResponse = undefined;
530
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
531
- const callback = (rawResponse, flatResponse) => {
532
- currentRawResponse = rawResponse;
533
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
534
- };
535
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
536
- const flatResponse = await directSendOperation(updatedArgs, spec);
537
- return {
538
- flatResponse,
539
- rawResponse: {
540
- statusCode: currentRawResponse.status,
541
- body: currentRawResponse.parsedBody,
542
- headers: currentRawResponse.headers.toJSON(),
543
- },
544
- };
545
- };
546
- const lro = createLroSpec({
547
- sendOperationFn,
548
- args: {
549
- resourceGroupName,
550
- registryName,
551
- generateCredentialsParameters,
552
- options,
553
- },
554
- spec: generateCredentialsOperationSpec,
555
- });
556
- const poller = await createHttpPoller(lro, {
557
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
558
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
559
- resourceLocationConfig: "location",
560
- });
561
- await poller.poll();
562
- return poller;
563
- }
564
- /**
565
- * Generate keys for a token of a specified container registry.
566
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
567
- * @param registryName The name of the container registry.
568
- * @param generateCredentialsParameters The parameters for generating credentials.
569
- * @param options The options parameters.
570
- */
571
- async beginGenerateCredentialsAndWait(resourceGroupName, registryName, generateCredentialsParameters, options) {
572
- const poller = await this.beginGenerateCredentials(resourceGroupName, registryName, generateCredentialsParameters, options);
573
- return poller.pollUntilDone();
574
- }
575
544
  /**
576
545
  * Schedules a new run based on the request parameters and add it to the run queue.
577
546
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -584,14 +553,19 @@ export class RegistriesImpl {
584
553
  return this.client.sendOperationRequest(args, spec);
585
554
  };
586
555
  const sendOperationFn = async (args, spec) => {
587
- var _a;
588
556
  let currentRawResponse = undefined;
589
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
557
+ const providedCallback = args.options?.onResponse;
590
558
  const callback = (rawResponse, flatResponse) => {
591
559
  currentRawResponse = rawResponse;
592
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
560
+ providedCallback?.(rawResponse, flatResponse);
561
+ };
562
+ const updatedArgs = {
563
+ ...args,
564
+ options: {
565
+ ...args.options,
566
+ onResponse: callback,
567
+ },
593
568
  };
594
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
595
569
  const flatResponse = await directSendOperation(updatedArgs, spec);
596
570
  return {
597
571
  flatResponse,
@@ -608,8 +582,8 @@ export class RegistriesImpl {
608
582
  spec: scheduleRunOperationSpec,
609
583
  });
610
584
  const poller = await createHttpPoller(lro, {
611
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
612
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
585
+ restoreFrom: options?.resumeFrom,
586
+ intervalInMs: options?.updateIntervalInMs,
613
587
  });
614
588
  await poller.poll();
615
589
  return poller;
@@ -665,22 +639,6 @@ export class RegistriesImpl {
665
639
  }
666
640
  // Operation Specifications
667
641
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
668
- const importImageOperationSpec = {
669
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage",
670
- httpMethod: "POST",
671
- responses: { 200: {}, 201: {}, 202: {}, 204: {} },
672
- requestBody: Parameters.parameters,
673
- queryParameters: [Parameters.apiVersion],
674
- urlParameters: [
675
- Parameters.$host,
676
- Parameters.subscriptionId,
677
- Parameters.resourceGroupName,
678
- Parameters.registryName,
679
- ],
680
- headerParameters: [Parameters.contentType],
681
- mediaType: "json",
682
- serializer,
683
- };
684
642
  const checkNameAvailabilityOperationSpec = {
685
643
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability",
686
644
  httpMethod: "POST",
@@ -688,6 +646,9 @@ const checkNameAvailabilityOperationSpec = {
688
646
  200: {
689
647
  bodyMapper: Mappers.RegistryNameStatus,
690
648
  },
649
+ default: {
650
+ bodyMapper: Mappers.ErrorResponse,
651
+ },
691
652
  },
692
653
  requestBody: Parameters.registryNameCheckRequest,
693
654
  queryParameters: [Parameters.apiVersion],
@@ -703,6 +664,9 @@ const listOperationSpec = {
703
664
  200: {
704
665
  bodyMapper: Mappers.RegistryListResult,
705
666
  },
667
+ default: {
668
+ bodyMapper: Mappers.ErrorResponse,
669
+ },
706
670
  },
707
671
  queryParameters: [Parameters.apiVersion],
708
672
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
@@ -716,13 +680,12 @@ const listByResourceGroupOperationSpec = {
716
680
  200: {
717
681
  bodyMapper: Mappers.RegistryListResult,
718
682
  },
683
+ default: {
684
+ bodyMapper: Mappers.ErrorResponse,
685
+ },
719
686
  },
720
687
  queryParameters: [Parameters.apiVersion],
721
- urlParameters: [
722
- Parameters.$host,
723
- Parameters.subscriptionId,
724
- Parameters.resourceGroupName,
725
- ],
688
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
726
689
  headerParameters: [Parameters.accept],
727
690
  serializer,
728
691
  };
@@ -733,6 +696,9 @@ const getOperationSpec = {
733
696
  200: {
734
697
  bodyMapper: Mappers.Registry,
735
698
  },
699
+ default: {
700
+ bodyMapper: Mappers.ErrorResponse,
701
+ },
736
702
  },
737
703
  queryParameters: [Parameters.apiVersion],
738
704
  urlParameters: [
@@ -760,6 +726,9 @@ const createOperationSpec = {
760
726
  204: {
761
727
  bodyMapper: Mappers.Registry,
762
728
  },
729
+ default: {
730
+ bodyMapper: Mappers.ErrorResponse,
731
+ },
763
732
  },
764
733
  requestBody: Parameters.registry,
765
734
  queryParameters: [Parameters.apiVersion],
@@ -773,10 +742,50 @@ const createOperationSpec = {
773
742
  mediaType: "json",
774
743
  serializer,
775
744
  };
745
+ const updateOperationSpec = {
746
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}",
747
+ httpMethod: "PATCH",
748
+ responses: {
749
+ 200: {
750
+ bodyMapper: Mappers.Registry,
751
+ },
752
+ 201: {
753
+ bodyMapper: Mappers.Registry,
754
+ },
755
+ 202: {
756
+ bodyMapper: Mappers.Registry,
757
+ },
758
+ 204: {
759
+ bodyMapper: Mappers.Registry,
760
+ },
761
+ default: {
762
+ bodyMapper: Mappers.ErrorResponse,
763
+ },
764
+ },
765
+ requestBody: Parameters.registryUpdateParameters,
766
+ queryParameters: [Parameters.apiVersion],
767
+ urlParameters: [
768
+ Parameters.$host,
769
+ Parameters.subscriptionId,
770
+ Parameters.resourceGroupName,
771
+ Parameters.registryName,
772
+ ],
773
+ headerParameters: [Parameters.accept, Parameters.contentType],
774
+ mediaType: "json",
775
+ serializer,
776
+ };
776
777
  const deleteOperationSpec = {
777
778
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}",
778
779
  httpMethod: "DELETE",
779
- responses: { 200: {}, 201: {}, 202: {}, 204: {} },
780
+ responses: {
781
+ 200: {},
782
+ 201: {},
783
+ 202: {},
784
+ 204: {},
785
+ default: {
786
+ bodyMapper: Mappers.ErrorResponse,
787
+ },
788
+ },
780
789
  queryParameters: [Parameters.apiVersion],
781
790
  urlParameters: [
782
791
  Parameters.$host,
@@ -784,26 +793,30 @@ const deleteOperationSpec = {
784
793
  Parameters.resourceGroupName,
785
794
  Parameters.registryName,
786
795
  ],
796
+ headerParameters: [Parameters.accept],
787
797
  serializer,
788
798
  };
789
- const updateOperationSpec = {
790
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}",
791
- httpMethod: "PATCH",
799
+ const generateCredentialsOperationSpec = {
800
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials",
801
+ httpMethod: "POST",
792
802
  responses: {
793
803
  200: {
794
- bodyMapper: Mappers.Registry,
804
+ bodyMapper: Mappers.GenerateCredentialsResult,
795
805
  },
796
806
  201: {
797
- bodyMapper: Mappers.Registry,
807
+ bodyMapper: Mappers.GenerateCredentialsResult,
798
808
  },
799
809
  202: {
800
- bodyMapper: Mappers.Registry,
810
+ bodyMapper: Mappers.GenerateCredentialsResult,
801
811
  },
802
812
  204: {
803
- bodyMapper: Mappers.Registry,
813
+ bodyMapper: Mappers.GenerateCredentialsResult,
814
+ },
815
+ default: {
816
+ bodyMapper: Mappers.ErrorResponse,
804
817
  },
805
818
  },
806
- requestBody: Parameters.registryUpdateParameters,
819
+ requestBody: Parameters.generateCredentialsParameters,
807
820
  queryParameters: [Parameters.apiVersion],
808
821
  urlParameters: [
809
822
  Parameters.$host,
@@ -815,14 +828,19 @@ const updateOperationSpec = {
815
828
  mediaType: "json",
816
829
  serializer,
817
830
  };
818
- const listUsagesOperationSpec = {
819
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages",
820
- httpMethod: "GET",
831
+ const importImageOperationSpec = {
832
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage",
833
+ httpMethod: "POST",
821
834
  responses: {
822
- 200: {
823
- bodyMapper: Mappers.RegistryUsageListResult,
835
+ 200: {},
836
+ 201: {},
837
+ 202: {},
838
+ 204: {},
839
+ default: {
840
+ bodyMapper: Mappers.ErrorResponse,
824
841
  },
825
842
  },
843
+ requestBody: Parameters.parameters,
826
844
  queryParameters: [Parameters.apiVersion],
827
845
  urlParameters: [
828
846
  Parameters.$host,
@@ -830,15 +848,19 @@ const listUsagesOperationSpec = {
830
848
  Parameters.resourceGroupName,
831
849
  Parameters.registryName,
832
850
  ],
833
- headerParameters: [Parameters.accept],
851
+ headerParameters: [Parameters.accept, Parameters.contentType],
852
+ mediaType: "json",
834
853
  serializer,
835
854
  };
836
- const listPrivateLinkResourcesOperationSpec = {
837
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources",
838
- httpMethod: "GET",
855
+ const listCredentialsOperationSpec = {
856
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials",
857
+ httpMethod: "POST",
839
858
  responses: {
840
859
  200: {
841
- bodyMapper: Mappers.PrivateLinkResourceListResult,
860
+ bodyMapper: Mappers.RegistryListCredentialsResult,
861
+ },
862
+ default: {
863
+ bodyMapper: Mappers.ErrorResponse,
842
864
  },
843
865
  },
844
866
  queryParameters: [Parameters.apiVersion],
@@ -851,12 +873,12 @@ const listPrivateLinkResourcesOperationSpec = {
851
873
  headerParameters: [Parameters.accept],
852
874
  serializer,
853
875
  };
854
- const getPrivateLinkResourceOperationSpec = {
855
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}",
876
+ const listUsagesOperationSpec = {
877
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages",
856
878
  httpMethod: "GET",
857
879
  responses: {
858
880
  200: {
859
- bodyMapper: Mappers.PrivateLinkResource,
881
+ bodyMapper: Mappers.RegistryUsageListResult,
860
882
  },
861
883
  default: {
862
884
  bodyMapper: Mappers.ErrorResponse,
@@ -868,17 +890,19 @@ const getPrivateLinkResourceOperationSpec = {
868
890
  Parameters.subscriptionId,
869
891
  Parameters.resourceGroupName,
870
892
  Parameters.registryName,
871
- Parameters.groupName,
872
893
  ],
873
894
  headerParameters: [Parameters.accept],
874
895
  serializer,
875
896
  };
876
- const listCredentialsOperationSpec = {
877
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials",
878
- httpMethod: "POST",
897
+ const listPrivateLinkResourcesOperationSpec = {
898
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources",
899
+ httpMethod: "GET",
879
900
  responses: {
880
901
  200: {
881
- bodyMapper: Mappers.RegistryListCredentialsResult,
902
+ bodyMapper: Mappers.PrivateLinkResourceListResult,
903
+ },
904
+ default: {
905
+ bodyMapper: Mappers.ErrorResponse,
882
906
  },
883
907
  },
884
908
  queryParameters: [Parameters.apiVersion],
@@ -891,47 +915,40 @@ const listCredentialsOperationSpec = {
891
915
  headerParameters: [Parameters.accept],
892
916
  serializer,
893
917
  };
894
- const regenerateCredentialOperationSpec = {
895
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential",
896
- httpMethod: "POST",
918
+ const getPrivateLinkResourceOperationSpec = {
919
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}",
920
+ httpMethod: "GET",
897
921
  responses: {
898
922
  200: {
899
- bodyMapper: Mappers.RegistryListCredentialsResult,
923
+ bodyMapper: Mappers.PrivateLinkResource,
924
+ },
925
+ default: {
926
+ bodyMapper: Mappers.ErrorResponse,
900
927
  },
901
928
  },
902
- requestBody: Parameters.regenerateCredentialParameters,
903
929
  queryParameters: [Parameters.apiVersion],
904
930
  urlParameters: [
905
931
  Parameters.$host,
906
932
  Parameters.subscriptionId,
907
933
  Parameters.resourceGroupName,
908
934
  Parameters.registryName,
935
+ Parameters.groupName,
909
936
  ],
910
- headerParameters: [Parameters.accept, Parameters.contentType],
911
- mediaType: "json",
937
+ headerParameters: [Parameters.accept],
912
938
  serializer,
913
939
  };
914
- const generateCredentialsOperationSpec = {
915
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials",
940
+ const regenerateCredentialOperationSpec = {
941
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential",
916
942
  httpMethod: "POST",
917
943
  responses: {
918
944
  200: {
919
- bodyMapper: Mappers.GenerateCredentialsResult,
920
- },
921
- 201: {
922
- bodyMapper: Mappers.GenerateCredentialsResult,
923
- },
924
- 202: {
925
- bodyMapper: Mappers.GenerateCredentialsResult,
926
- },
927
- 204: {
928
- bodyMapper: Mappers.GenerateCredentialsResult,
945
+ bodyMapper: Mappers.RegistryListCredentialsResult,
929
946
  },
930
947
  default: {
931
948
  bodyMapper: Mappers.ErrorResponse,
932
949
  },
933
950
  },
934
- requestBody: Parameters.generateCredentialsParameters,
951
+ requestBody: Parameters.regenerateCredentialParameters,
935
952
  queryParameters: [Parameters.apiVersion],
936
953
  urlParameters: [
937
954
  Parameters.$host,
@@ -1003,12 +1020,11 @@ const listNextOperationSpec = {
1003
1020
  200: {
1004
1021
  bodyMapper: Mappers.RegistryListResult,
1005
1022
  },
1023
+ default: {
1024
+ bodyMapper: Mappers.ErrorResponse,
1025
+ },
1006
1026
  },
1007
- urlParameters: [
1008
- Parameters.$host,
1009
- Parameters.subscriptionId,
1010
- Parameters.nextLink,
1011
- ],
1027
+ urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
1012
1028
  headerParameters: [Parameters.accept],
1013
1029
  serializer,
1014
1030
  };
@@ -1019,12 +1035,15 @@ const listByResourceGroupNextOperationSpec = {
1019
1035
  200: {
1020
1036
  bodyMapper: Mappers.RegistryListResult,
1021
1037
  },
1038
+ default: {
1039
+ bodyMapper: Mappers.ErrorResponse,
1040
+ },
1022
1041
  },
1023
1042
  urlParameters: [
1024
1043
  Parameters.$host,
1044
+ Parameters.nextLink,
1025
1045
  Parameters.subscriptionId,
1026
1046
  Parameters.resourceGroupName,
1027
- Parameters.nextLink,
1028
1047
  ],
1029
1048
  headerParameters: [Parameters.accept],
1030
1049
  serializer,
@@ -1036,13 +1055,16 @@ const listPrivateLinkResourcesNextOperationSpec = {
1036
1055
  200: {
1037
1056
  bodyMapper: Mappers.PrivateLinkResourceListResult,
1038
1057
  },
1058
+ default: {
1059
+ bodyMapper: Mappers.ErrorResponse,
1060
+ },
1039
1061
  },
1040
1062
  urlParameters: [
1041
1063
  Parameters.$host,
1064
+ Parameters.nextLink,
1042
1065
  Parameters.subscriptionId,
1043
1066
  Parameters.resourceGroupName,
1044
1067
  Parameters.registryName,
1045
- Parameters.nextLink,
1046
1068
  ],
1047
1069
  headerParameters: [Parameters.accept],
1048
1070
  serializer,