@azure/arm-containerregistry 11.0.0-beta.5 → 12.0.0-alpha.20251224.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (749) hide show
  1. package/README.md +3 -3
  2. package/dist/browser/containerRegistryManagementClient.d.ts +5 -13
  3. package/dist/browser/containerRegistryManagementClient.d.ts.map +1 -1
  4. package/dist/browser/containerRegistryManagementClient.js +34 -50
  5. package/dist/browser/containerRegistryManagementClient.js.map +1 -1
  6. package/dist/browser/index.d.ts.map +1 -1
  7. package/dist/browser/index.js +4 -7
  8. package/dist/browser/index.js.map +1 -1
  9. package/dist/browser/lroImpl.d.ts +1 -1
  10. package/dist/browser/lroImpl.d.ts.map +1 -1
  11. package/dist/browser/lroImpl.js +9 -10
  12. package/dist/browser/lroImpl.js.map +1 -1
  13. package/dist/browser/models/index.d.ts +1377 -1914
  14. package/dist/browser/models/index.d.ts.map +1 -1
  15. package/dist/browser/models/index.js +160 -221
  16. package/dist/browser/models/index.js.map +1 -1
  17. package/dist/browser/models/mappers.d.ts +74 -114
  18. package/dist/browser/models/mappers.d.ts.map +1 -1
  19. package/dist/browser/models/mappers.js +2829 -3438
  20. package/dist/browser/models/mappers.js.map +1 -1
  21. package/dist/browser/models/parameters.d.ts +12 -23
  22. package/dist/browser/models/parameters.d.ts.map +1 -1
  23. package/dist/browser/models/parameters.js +58 -175
  24. package/dist/browser/models/parameters.js.map +1 -1
  25. package/dist/browser/operations/agentPools.d.ts +41 -41
  26. package/dist/browser/operations/agentPools.d.ts.map +1 -1
  27. package/dist/browser/operations/agentPools.js +155 -162
  28. package/dist/browser/operations/agentPools.js.map +1 -1
  29. package/dist/browser/operations/cacheRules.d.ts +15 -15
  30. package/dist/browser/operations/cacheRules.d.ts.map +1 -1
  31. package/dist/browser/operations/cacheRules.js +100 -107
  32. package/dist/browser/operations/cacheRules.js.map +1 -1
  33. package/dist/browser/operations/connectedRegistries.d.ts +15 -15
  34. package/dist/browser/operations/connectedRegistries.d.ts.map +1 -1
  35. package/dist/browser/operations/connectedRegistries.js +118 -120
  36. package/dist/browser/operations/connectedRegistries.js.map +1 -1
  37. package/dist/browser/operations/credentialSets.d.ts +15 -15
  38. package/dist/browser/operations/credentialSets.d.ts.map +1 -1
  39. package/dist/browser/operations/credentialSets.js +100 -107
  40. package/dist/browser/operations/credentialSets.js.map +1 -1
  41. package/dist/browser/operations/index.d.ts +2 -7
  42. package/dist/browser/operations/index.d.ts.map +1 -1
  43. package/dist/browser/operations/index.js +6 -14
  44. package/dist/browser/operations/index.js.map +1 -1
  45. package/dist/browser/operations/operations.d.ts +6 -6
  46. package/dist/browser/operations/operations.d.ts.map +1 -1
  47. package/dist/browser/operations/operations.js +33 -49
  48. package/dist/browser/operations/operations.js.map +1 -1
  49. package/dist/browser/operations/privateEndpointConnections.d.ts +5 -5
  50. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  51. package/dist/browser/operations/privateEndpointConnections.js +71 -62
  52. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  53. package/dist/browser/operations/registries.d.ts +53 -53
  54. package/dist/browser/operations/registries.d.ts.map +1 -1
  55. package/dist/browser/operations/registries.js +390 -373
  56. package/dist/browser/operations/registries.js.map +1 -1
  57. package/dist/browser/operations/replications.d.ts +15 -15
  58. package/dist/browser/operations/replications.d.ts.map +1 -1
  59. package/dist/browser/operations/replications.js +122 -105
  60. package/dist/browser/operations/replications.js.map +1 -1
  61. package/dist/browser/operations/runs.d.ts +22 -22
  62. package/dist/browser/operations/runs.d.ts.map +1 -1
  63. package/dist/browser/operations/runs.js +65 -87
  64. package/dist/browser/operations/runs.js.map +1 -1
  65. package/dist/browser/operations/scopeMaps.d.ts +15 -15
  66. package/dist/browser/operations/scopeMaps.d.ts.map +1 -1
  67. package/dist/browser/operations/scopeMaps.js +107 -114
  68. package/dist/browser/operations/scopeMaps.js.map +1 -1
  69. package/dist/browser/operations/taskRuns.d.ts +35 -35
  70. package/dist/browser/operations/taskRuns.d.ts.map +1 -1
  71. package/dist/browser/operations/taskRuns.js +125 -137
  72. package/dist/browser/operations/taskRuns.js.map +1 -1
  73. package/dist/browser/operations/tasks.d.ts +25 -25
  74. package/dist/browser/operations/tasks.d.ts.map +1 -1
  75. package/dist/browser/operations/tasks.js +76 -98
  76. package/dist/browser/operations/tasks.js.map +1 -1
  77. package/dist/browser/operations/tokens.d.ts +15 -15
  78. package/dist/browser/operations/tokens.d.ts.map +1 -1
  79. package/dist/browser/operations/tokens.js +107 -114
  80. package/dist/browser/operations/tokens.js.map +1 -1
  81. package/dist/browser/operations/webhooks.d.ts +19 -19
  82. package/dist/browser/operations/webhooks.d.ts.map +1 -1
  83. package/dist/browser/operations/webhooks.js +169 -157
  84. package/dist/browser/operations/webhooks.js.map +1 -1
  85. package/dist/browser/operationsInterfaces/agentPools.d.ts +31 -31
  86. package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
  87. package/dist/browser/operationsInterfaces/agentPools.js +2 -7
  88. package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
  89. package/dist/browser/operationsInterfaces/cacheRules.d.ts +13 -13
  90. package/dist/browser/operationsInterfaces/cacheRules.d.ts.map +1 -1
  91. package/dist/browser/operationsInterfaces/cacheRules.js +2 -7
  92. package/dist/browser/operationsInterfaces/cacheRules.js.map +1 -1
  93. package/dist/browser/operationsInterfaces/connectedRegistries.d.ts +13 -13
  94. package/dist/browser/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
  95. package/dist/browser/operationsInterfaces/connectedRegistries.js +2 -7
  96. package/dist/browser/operationsInterfaces/connectedRegistries.js.map +1 -1
  97. package/dist/browser/operationsInterfaces/credentialSets.d.ts +13 -13
  98. package/dist/browser/operationsInterfaces/credentialSets.d.ts.map +1 -1
  99. package/dist/browser/operationsInterfaces/credentialSets.js +2 -7
  100. package/dist/browser/operationsInterfaces/credentialSets.js.map +1 -1
  101. package/dist/browser/operationsInterfaces/index.d.ts +2 -7
  102. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  103. package/dist/browser/operationsInterfaces/index.js +6 -14
  104. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  105. package/dist/browser/operationsInterfaces/operations.d.ts +3 -3
  106. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  107. package/dist/browser/operationsInterfaces/operations.js +2 -7
  108. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  109. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  110. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  111. package/dist/browser/operationsInterfaces/privateEndpointConnections.js +2 -7
  112. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  113. package/dist/browser/operationsInterfaces/registries.d.ts +48 -48
  114. package/dist/browser/operationsInterfaces/registries.d.ts.map +1 -1
  115. package/dist/browser/operationsInterfaces/registries.js +2 -7
  116. package/dist/browser/operationsInterfaces/registries.js.map +1 -1
  117. package/dist/browser/operationsInterfaces/replications.d.ts +13 -13
  118. package/dist/browser/operationsInterfaces/replications.d.ts.map +1 -1
  119. package/dist/browser/operationsInterfaces/replications.js +2 -7
  120. package/dist/browser/operationsInterfaces/replications.js.map +1 -1
  121. package/dist/browser/operationsInterfaces/runs.d.ts +16 -16
  122. package/dist/browser/operationsInterfaces/runs.d.ts.map +1 -1
  123. package/dist/browser/operationsInterfaces/runs.js +2 -7
  124. package/dist/browser/operationsInterfaces/runs.js.map +1 -1
  125. package/dist/browser/operationsInterfaces/scopeMaps.d.ts +13 -13
  126. package/dist/browser/operationsInterfaces/scopeMaps.d.ts.map +1 -1
  127. package/dist/browser/operationsInterfaces/scopeMaps.js +2 -7
  128. package/dist/browser/operationsInterfaces/scopeMaps.js.map +1 -1
  129. package/dist/browser/operationsInterfaces/taskRuns.d.ts +25 -25
  130. package/dist/browser/operationsInterfaces/taskRuns.d.ts.map +1 -1
  131. package/dist/browser/operationsInterfaces/taskRuns.js +2 -7
  132. package/dist/browser/operationsInterfaces/taskRuns.js.map +1 -1
  133. package/dist/browser/operationsInterfaces/tasks.d.ts +19 -19
  134. package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -1
  135. package/dist/browser/operationsInterfaces/tasks.js +2 -7
  136. package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
  137. package/dist/browser/operationsInterfaces/tokens.d.ts +13 -13
  138. package/dist/browser/operationsInterfaces/tokens.d.ts.map +1 -1
  139. package/dist/browser/operationsInterfaces/tokens.js +2 -7
  140. package/dist/browser/operationsInterfaces/tokens.js.map +1 -1
  141. package/dist/browser/operationsInterfaces/webhooks.d.ts +17 -17
  142. package/dist/browser/operationsInterfaces/webhooks.d.ts.map +1 -1
  143. package/dist/browser/operationsInterfaces/webhooks.js +2 -7
  144. package/dist/browser/operationsInterfaces/webhooks.js.map +1 -1
  145. package/dist/browser/pagingHelper.d.ts.map +1 -1
  146. package/dist/browser/pagingHelper.js +4 -11
  147. package/dist/browser/pagingHelper.js.map +1 -1
  148. package/dist/commonjs/containerRegistryManagementClient.d.ts +5 -13
  149. package/dist/commonjs/containerRegistryManagementClient.d.ts.map +1 -1
  150. package/dist/commonjs/containerRegistryManagementClient.js +33 -49
  151. package/dist/commonjs/containerRegistryManagementClient.js.map +1 -1
  152. package/dist/commonjs/index.d.ts.map +1 -1
  153. package/dist/commonjs/index.js +4 -7
  154. package/dist/commonjs/index.js.map +1 -1
  155. package/dist/commonjs/lroImpl.d.ts +1 -1
  156. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  157. package/dist/commonjs/lroImpl.js +9 -10
  158. package/dist/commonjs/lroImpl.js.map +1 -1
  159. package/dist/commonjs/models/index.d.ts +1377 -1914
  160. package/dist/commonjs/models/index.d.ts.map +1 -1
  161. package/dist/commonjs/models/index.js +161 -223
  162. package/dist/commonjs/models/index.js.map +1 -1
  163. package/dist/commonjs/models/mappers.d.ts +74 -114
  164. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  165. package/dist/commonjs/models/mappers.js +2832 -3442
  166. package/dist/commonjs/models/mappers.js.map +1 -1
  167. package/dist/commonjs/models/parameters.d.ts +12 -23
  168. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  169. package/dist/commonjs/models/parameters.js +59 -176
  170. package/dist/commonjs/models/parameters.js.map +1 -1
  171. package/dist/commonjs/operations/agentPools.d.ts +41 -41
  172. package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
  173. package/dist/commonjs/operations/agentPools.js +154 -160
  174. package/dist/commonjs/operations/agentPools.js.map +1 -1
  175. package/dist/commonjs/operations/cacheRules.d.ts +15 -15
  176. package/dist/commonjs/operations/cacheRules.d.ts.map +1 -1
  177. package/dist/commonjs/operations/cacheRules.js +99 -105
  178. package/dist/commonjs/operations/cacheRules.js.map +1 -1
  179. package/dist/commonjs/operations/connectedRegistries.d.ts +15 -15
  180. package/dist/commonjs/operations/connectedRegistries.d.ts.map +1 -1
  181. package/dist/commonjs/operations/connectedRegistries.js +117 -118
  182. package/dist/commonjs/operations/connectedRegistries.js.map +1 -1
  183. package/dist/commonjs/operations/credentialSets.d.ts +15 -15
  184. package/dist/commonjs/operations/credentialSets.d.ts.map +1 -1
  185. package/dist/commonjs/operations/credentialSets.js +99 -105
  186. package/dist/commonjs/operations/credentialSets.js.map +1 -1
  187. package/dist/commonjs/operations/index.d.ts +2 -7
  188. package/dist/commonjs/operations/index.d.ts.map +1 -1
  189. package/dist/commonjs/operations/index.js +6 -14
  190. package/dist/commonjs/operations/index.js.map +1 -1
  191. package/dist/commonjs/operations/operations.d.ts +6 -6
  192. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  193. package/dist/commonjs/operations/operations.js +33 -48
  194. package/dist/commonjs/operations/operations.js.map +1 -1
  195. package/dist/commonjs/operations/privateEndpointConnections.d.ts +5 -5
  196. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  197. package/dist/commonjs/operations/privateEndpointConnections.js +70 -60
  198. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  199. package/dist/commonjs/operations/registries.d.ts +53 -53
  200. package/dist/commonjs/operations/registries.d.ts.map +1 -1
  201. package/dist/commonjs/operations/registries.js +389 -371
  202. package/dist/commonjs/operations/registries.js.map +1 -1
  203. package/dist/commonjs/operations/replications.d.ts +15 -15
  204. package/dist/commonjs/operations/replications.d.ts.map +1 -1
  205. package/dist/commonjs/operations/replications.js +121 -103
  206. package/dist/commonjs/operations/replications.js.map +1 -1
  207. package/dist/commonjs/operations/runs.d.ts +22 -22
  208. package/dist/commonjs/operations/runs.d.ts.map +1 -1
  209. package/dist/commonjs/operations/runs.js +65 -86
  210. package/dist/commonjs/operations/runs.js.map +1 -1
  211. package/dist/commonjs/operations/scopeMaps.d.ts +15 -15
  212. package/dist/commonjs/operations/scopeMaps.d.ts.map +1 -1
  213. package/dist/commonjs/operations/scopeMaps.js +106 -112
  214. package/dist/commonjs/operations/scopeMaps.js.map +1 -1
  215. package/dist/commonjs/operations/taskRuns.d.ts +35 -35
  216. package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
  217. package/dist/commonjs/operations/taskRuns.js +124 -135
  218. package/dist/commonjs/operations/taskRuns.js.map +1 -1
  219. package/dist/commonjs/operations/tasks.d.ts +25 -25
  220. package/dist/commonjs/operations/tasks.d.ts.map +1 -1
  221. package/dist/commonjs/operations/tasks.js +76 -97
  222. package/dist/commonjs/operations/tasks.js.map +1 -1
  223. package/dist/commonjs/operations/tokens.d.ts +15 -15
  224. package/dist/commonjs/operations/tokens.d.ts.map +1 -1
  225. package/dist/commonjs/operations/tokens.js +106 -112
  226. package/dist/commonjs/operations/tokens.js.map +1 -1
  227. package/dist/commonjs/operations/webhooks.d.ts +19 -19
  228. package/dist/commonjs/operations/webhooks.d.ts.map +1 -1
  229. package/dist/commonjs/operations/webhooks.js +168 -155
  230. package/dist/commonjs/operations/webhooks.js.map +1 -1
  231. package/dist/commonjs/operationsInterfaces/agentPools.d.ts +31 -31
  232. package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
  233. package/dist/commonjs/operationsInterfaces/agentPools.js +2 -7
  234. package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
  235. package/dist/commonjs/operationsInterfaces/cacheRules.d.ts +13 -13
  236. package/dist/commonjs/operationsInterfaces/cacheRules.d.ts.map +1 -1
  237. package/dist/commonjs/operationsInterfaces/cacheRules.js +2 -7
  238. package/dist/commonjs/operationsInterfaces/cacheRules.js.map +1 -1
  239. package/dist/commonjs/operationsInterfaces/connectedRegistries.d.ts +13 -13
  240. package/dist/commonjs/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
  241. package/dist/commonjs/operationsInterfaces/connectedRegistries.js +2 -7
  242. package/dist/commonjs/operationsInterfaces/connectedRegistries.js.map +1 -1
  243. package/dist/commonjs/operationsInterfaces/credentialSets.d.ts +13 -13
  244. package/dist/commonjs/operationsInterfaces/credentialSets.d.ts.map +1 -1
  245. package/dist/commonjs/operationsInterfaces/credentialSets.js +2 -7
  246. package/dist/commonjs/operationsInterfaces/credentialSets.js.map +1 -1
  247. package/dist/commonjs/operationsInterfaces/index.d.ts +2 -7
  248. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  249. package/dist/commonjs/operationsInterfaces/index.js +6 -14
  250. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  251. package/dist/commonjs/operationsInterfaces/operations.d.ts +3 -3
  252. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  253. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  254. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  255. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  256. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  257. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +2 -7
  258. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  259. package/dist/commonjs/operationsInterfaces/registries.d.ts +48 -48
  260. package/dist/commonjs/operationsInterfaces/registries.d.ts.map +1 -1
  261. package/dist/commonjs/operationsInterfaces/registries.js +2 -7
  262. package/dist/commonjs/operationsInterfaces/registries.js.map +1 -1
  263. package/dist/commonjs/operationsInterfaces/replications.d.ts +13 -13
  264. package/dist/commonjs/operationsInterfaces/replications.d.ts.map +1 -1
  265. package/dist/commonjs/operationsInterfaces/replications.js +2 -7
  266. package/dist/commonjs/operationsInterfaces/replications.js.map +1 -1
  267. package/dist/commonjs/operationsInterfaces/runs.d.ts +16 -16
  268. package/dist/commonjs/operationsInterfaces/runs.d.ts.map +1 -1
  269. package/dist/commonjs/operationsInterfaces/runs.js +2 -7
  270. package/dist/commonjs/operationsInterfaces/runs.js.map +1 -1
  271. package/dist/commonjs/operationsInterfaces/scopeMaps.d.ts +13 -13
  272. package/dist/commonjs/operationsInterfaces/scopeMaps.d.ts.map +1 -1
  273. package/dist/commonjs/operationsInterfaces/scopeMaps.js +2 -7
  274. package/dist/commonjs/operationsInterfaces/scopeMaps.js.map +1 -1
  275. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts +25 -25
  276. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts.map +1 -1
  277. package/dist/commonjs/operationsInterfaces/taskRuns.js +2 -7
  278. package/dist/commonjs/operationsInterfaces/taskRuns.js.map +1 -1
  279. package/dist/commonjs/operationsInterfaces/tasks.d.ts +19 -19
  280. package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -1
  281. package/dist/commonjs/operationsInterfaces/tasks.js +2 -7
  282. package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
  283. package/dist/commonjs/operationsInterfaces/tokens.d.ts +13 -13
  284. package/dist/commonjs/operationsInterfaces/tokens.d.ts.map +1 -1
  285. package/dist/commonjs/operationsInterfaces/tokens.js +2 -7
  286. package/dist/commonjs/operationsInterfaces/tokens.js.map +1 -1
  287. package/dist/commonjs/operationsInterfaces/webhooks.d.ts +17 -17
  288. package/dist/commonjs/operationsInterfaces/webhooks.d.ts.map +1 -1
  289. package/dist/commonjs/operationsInterfaces/webhooks.js +2 -7
  290. package/dist/commonjs/operationsInterfaces/webhooks.js.map +1 -1
  291. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  292. package/dist/commonjs/pagingHelper.js +4 -11
  293. package/dist/commonjs/pagingHelper.js.map +1 -1
  294. package/dist/commonjs/tsdoc-metadata.json +11 -11
  295. package/dist/esm/containerRegistryManagementClient.d.ts +5 -13
  296. package/dist/esm/containerRegistryManagementClient.d.ts.map +1 -1
  297. package/dist/esm/containerRegistryManagementClient.js +34 -50
  298. package/dist/esm/containerRegistryManagementClient.js.map +1 -1
  299. package/dist/esm/index.d.ts.map +1 -1
  300. package/dist/esm/index.js +4 -7
  301. package/dist/esm/index.js.map +1 -1
  302. package/dist/esm/lroImpl.d.ts +1 -1
  303. package/dist/esm/lroImpl.d.ts.map +1 -1
  304. package/dist/esm/lroImpl.js +9 -10
  305. package/dist/esm/lroImpl.js.map +1 -1
  306. package/dist/esm/models/index.d.ts +1377 -1914
  307. package/dist/esm/models/index.d.ts.map +1 -1
  308. package/dist/esm/models/index.js +160 -221
  309. package/dist/esm/models/index.js.map +1 -1
  310. package/dist/esm/models/mappers.d.ts +74 -114
  311. package/dist/esm/models/mappers.d.ts.map +1 -1
  312. package/dist/esm/models/mappers.js +2829 -3438
  313. package/dist/esm/models/mappers.js.map +1 -1
  314. package/dist/esm/models/parameters.d.ts +12 -23
  315. package/dist/esm/models/parameters.d.ts.map +1 -1
  316. package/dist/esm/models/parameters.js +58 -175
  317. package/dist/esm/models/parameters.js.map +1 -1
  318. package/dist/esm/operations/agentPools.d.ts +41 -41
  319. package/dist/esm/operations/agentPools.d.ts.map +1 -1
  320. package/dist/esm/operations/agentPools.js +155 -162
  321. package/dist/esm/operations/agentPools.js.map +1 -1
  322. package/dist/esm/operations/cacheRules.d.ts +15 -15
  323. package/dist/esm/operations/cacheRules.d.ts.map +1 -1
  324. package/dist/esm/operations/cacheRules.js +100 -107
  325. package/dist/esm/operations/cacheRules.js.map +1 -1
  326. package/dist/esm/operations/connectedRegistries.d.ts +15 -15
  327. package/dist/esm/operations/connectedRegistries.d.ts.map +1 -1
  328. package/dist/esm/operations/connectedRegistries.js +118 -120
  329. package/dist/esm/operations/connectedRegistries.js.map +1 -1
  330. package/dist/esm/operations/credentialSets.d.ts +15 -15
  331. package/dist/esm/operations/credentialSets.d.ts.map +1 -1
  332. package/dist/esm/operations/credentialSets.js +100 -107
  333. package/dist/esm/operations/credentialSets.js.map +1 -1
  334. package/dist/esm/operations/index.d.ts +2 -7
  335. package/dist/esm/operations/index.d.ts.map +1 -1
  336. package/dist/esm/operations/index.js +6 -14
  337. package/dist/esm/operations/index.js.map +1 -1
  338. package/dist/esm/operations/operations.d.ts +6 -6
  339. package/dist/esm/operations/operations.d.ts.map +1 -1
  340. package/dist/esm/operations/operations.js +33 -49
  341. package/dist/esm/operations/operations.js.map +1 -1
  342. package/dist/esm/operations/privateEndpointConnections.d.ts +5 -5
  343. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  344. package/dist/esm/operations/privateEndpointConnections.js +71 -62
  345. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  346. package/dist/esm/operations/registries.d.ts +53 -53
  347. package/dist/esm/operations/registries.d.ts.map +1 -1
  348. package/dist/esm/operations/registries.js +390 -373
  349. package/dist/esm/operations/registries.js.map +1 -1
  350. package/dist/esm/operations/replications.d.ts +15 -15
  351. package/dist/esm/operations/replications.d.ts.map +1 -1
  352. package/dist/esm/operations/replications.js +122 -105
  353. package/dist/esm/operations/replications.js.map +1 -1
  354. package/dist/esm/operations/runs.d.ts +22 -22
  355. package/dist/esm/operations/runs.d.ts.map +1 -1
  356. package/dist/esm/operations/runs.js +65 -87
  357. package/dist/esm/operations/runs.js.map +1 -1
  358. package/dist/esm/operations/scopeMaps.d.ts +15 -15
  359. package/dist/esm/operations/scopeMaps.d.ts.map +1 -1
  360. package/dist/esm/operations/scopeMaps.js +107 -114
  361. package/dist/esm/operations/scopeMaps.js.map +1 -1
  362. package/dist/esm/operations/taskRuns.d.ts +35 -35
  363. package/dist/esm/operations/taskRuns.d.ts.map +1 -1
  364. package/dist/esm/operations/taskRuns.js +125 -137
  365. package/dist/esm/operations/taskRuns.js.map +1 -1
  366. package/dist/esm/operations/tasks.d.ts +25 -25
  367. package/dist/esm/operations/tasks.d.ts.map +1 -1
  368. package/dist/esm/operations/tasks.js +76 -98
  369. package/dist/esm/operations/tasks.js.map +1 -1
  370. package/dist/esm/operations/tokens.d.ts +15 -15
  371. package/dist/esm/operations/tokens.d.ts.map +1 -1
  372. package/dist/esm/operations/tokens.js +107 -114
  373. package/dist/esm/operations/tokens.js.map +1 -1
  374. package/dist/esm/operations/webhooks.d.ts +19 -19
  375. package/dist/esm/operations/webhooks.d.ts.map +1 -1
  376. package/dist/esm/operations/webhooks.js +169 -157
  377. package/dist/esm/operations/webhooks.js.map +1 -1
  378. package/dist/esm/operationsInterfaces/agentPools.d.ts +31 -31
  379. package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
  380. package/dist/esm/operationsInterfaces/agentPools.js +2 -7
  381. package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
  382. package/dist/esm/operationsInterfaces/cacheRules.d.ts +13 -13
  383. package/dist/esm/operationsInterfaces/cacheRules.d.ts.map +1 -1
  384. package/dist/esm/operationsInterfaces/cacheRules.js +2 -7
  385. package/dist/esm/operationsInterfaces/cacheRules.js.map +1 -1
  386. package/dist/esm/operationsInterfaces/connectedRegistries.d.ts +13 -13
  387. package/dist/esm/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
  388. package/dist/esm/operationsInterfaces/connectedRegistries.js +2 -7
  389. package/dist/esm/operationsInterfaces/connectedRegistries.js.map +1 -1
  390. package/dist/esm/operationsInterfaces/credentialSets.d.ts +13 -13
  391. package/dist/esm/operationsInterfaces/credentialSets.d.ts.map +1 -1
  392. package/dist/esm/operationsInterfaces/credentialSets.js +2 -7
  393. package/dist/esm/operationsInterfaces/credentialSets.js.map +1 -1
  394. package/dist/esm/operationsInterfaces/index.d.ts +2 -7
  395. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  396. package/dist/esm/operationsInterfaces/index.js +6 -14
  397. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  398. package/dist/esm/operationsInterfaces/operations.d.ts +3 -3
  399. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  400. package/dist/esm/operationsInterfaces/operations.js +2 -7
  401. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  402. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  403. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  404. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
  405. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  406. package/dist/esm/operationsInterfaces/registries.d.ts +48 -48
  407. package/dist/esm/operationsInterfaces/registries.d.ts.map +1 -1
  408. package/dist/esm/operationsInterfaces/registries.js +2 -7
  409. package/dist/esm/operationsInterfaces/registries.js.map +1 -1
  410. package/dist/esm/operationsInterfaces/replications.d.ts +13 -13
  411. package/dist/esm/operationsInterfaces/replications.d.ts.map +1 -1
  412. package/dist/esm/operationsInterfaces/replications.js +2 -7
  413. package/dist/esm/operationsInterfaces/replications.js.map +1 -1
  414. package/dist/esm/operationsInterfaces/runs.d.ts +16 -16
  415. package/dist/esm/operationsInterfaces/runs.d.ts.map +1 -1
  416. package/dist/esm/operationsInterfaces/runs.js +2 -7
  417. package/dist/esm/operationsInterfaces/runs.js.map +1 -1
  418. package/dist/esm/operationsInterfaces/scopeMaps.d.ts +13 -13
  419. package/dist/esm/operationsInterfaces/scopeMaps.d.ts.map +1 -1
  420. package/dist/esm/operationsInterfaces/scopeMaps.js +2 -7
  421. package/dist/esm/operationsInterfaces/scopeMaps.js.map +1 -1
  422. package/dist/esm/operationsInterfaces/taskRuns.d.ts +25 -25
  423. package/dist/esm/operationsInterfaces/taskRuns.d.ts.map +1 -1
  424. package/dist/esm/operationsInterfaces/taskRuns.js +2 -7
  425. package/dist/esm/operationsInterfaces/taskRuns.js.map +1 -1
  426. package/dist/esm/operationsInterfaces/tasks.d.ts +19 -19
  427. package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -1
  428. package/dist/esm/operationsInterfaces/tasks.js +2 -7
  429. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  430. package/dist/esm/operationsInterfaces/tokens.d.ts +13 -13
  431. package/dist/esm/operationsInterfaces/tokens.d.ts.map +1 -1
  432. package/dist/esm/operationsInterfaces/tokens.js +2 -7
  433. package/dist/esm/operationsInterfaces/tokens.js.map +1 -1
  434. package/dist/esm/operationsInterfaces/webhooks.d.ts +17 -17
  435. package/dist/esm/operationsInterfaces/webhooks.d.ts.map +1 -1
  436. package/dist/esm/operationsInterfaces/webhooks.js +2 -7
  437. package/dist/esm/operationsInterfaces/webhooks.js.map +1 -1
  438. package/dist/esm/pagingHelper.d.ts.map +1 -1
  439. package/dist/esm/pagingHelper.js +4 -11
  440. package/dist/esm/pagingHelper.js.map +1 -1
  441. package/dist/react-native/containerRegistryManagementClient.d.ts +5 -13
  442. package/dist/react-native/containerRegistryManagementClient.d.ts.map +1 -1
  443. package/dist/react-native/containerRegistryManagementClient.js +34 -50
  444. package/dist/react-native/containerRegistryManagementClient.js.map +1 -1
  445. package/dist/react-native/index.d.ts.map +1 -1
  446. package/dist/react-native/index.js +4 -7
  447. package/dist/react-native/index.js.map +1 -1
  448. package/dist/react-native/lroImpl.d.ts +1 -1
  449. package/dist/react-native/lroImpl.d.ts.map +1 -1
  450. package/dist/react-native/lroImpl.js +9 -10
  451. package/dist/react-native/lroImpl.js.map +1 -1
  452. package/dist/react-native/models/index.d.ts +1377 -1914
  453. package/dist/react-native/models/index.d.ts.map +1 -1
  454. package/dist/react-native/models/index.js +160 -221
  455. package/dist/react-native/models/index.js.map +1 -1
  456. package/dist/react-native/models/mappers.d.ts +74 -114
  457. package/dist/react-native/models/mappers.d.ts.map +1 -1
  458. package/dist/react-native/models/mappers.js +2829 -3438
  459. package/dist/react-native/models/mappers.js.map +1 -1
  460. package/dist/react-native/models/parameters.d.ts +12 -23
  461. package/dist/react-native/models/parameters.d.ts.map +1 -1
  462. package/dist/react-native/models/parameters.js +58 -175
  463. package/dist/react-native/models/parameters.js.map +1 -1
  464. package/dist/react-native/operations/agentPools.d.ts +41 -41
  465. package/dist/react-native/operations/agentPools.d.ts.map +1 -1
  466. package/dist/react-native/operations/agentPools.js +155 -162
  467. package/dist/react-native/operations/agentPools.js.map +1 -1
  468. package/dist/react-native/operations/cacheRules.d.ts +15 -15
  469. package/dist/react-native/operations/cacheRules.d.ts.map +1 -1
  470. package/dist/react-native/operations/cacheRules.js +100 -107
  471. package/dist/react-native/operations/cacheRules.js.map +1 -1
  472. package/dist/react-native/operations/connectedRegistries.d.ts +15 -15
  473. package/dist/react-native/operations/connectedRegistries.d.ts.map +1 -1
  474. package/dist/react-native/operations/connectedRegistries.js +118 -120
  475. package/dist/react-native/operations/connectedRegistries.js.map +1 -1
  476. package/dist/react-native/operations/credentialSets.d.ts +15 -15
  477. package/dist/react-native/operations/credentialSets.d.ts.map +1 -1
  478. package/dist/react-native/operations/credentialSets.js +100 -107
  479. package/dist/react-native/operations/credentialSets.js.map +1 -1
  480. package/dist/react-native/operations/index.d.ts +2 -7
  481. package/dist/react-native/operations/index.d.ts.map +1 -1
  482. package/dist/react-native/operations/index.js +6 -14
  483. package/dist/react-native/operations/index.js.map +1 -1
  484. package/dist/react-native/operations/operations.d.ts +6 -6
  485. package/dist/react-native/operations/operations.d.ts.map +1 -1
  486. package/dist/react-native/operations/operations.js +33 -49
  487. package/dist/react-native/operations/operations.js.map +1 -1
  488. package/dist/react-native/operations/privateEndpointConnections.d.ts +5 -5
  489. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  490. package/dist/react-native/operations/privateEndpointConnections.js +71 -62
  491. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  492. package/dist/react-native/operations/registries.d.ts +53 -53
  493. package/dist/react-native/operations/registries.d.ts.map +1 -1
  494. package/dist/react-native/operations/registries.js +390 -373
  495. package/dist/react-native/operations/registries.js.map +1 -1
  496. package/dist/react-native/operations/replications.d.ts +15 -15
  497. package/dist/react-native/operations/replications.d.ts.map +1 -1
  498. package/dist/react-native/operations/replications.js +122 -105
  499. package/dist/react-native/operations/replications.js.map +1 -1
  500. package/dist/react-native/operations/runs.d.ts +22 -22
  501. package/dist/react-native/operations/runs.d.ts.map +1 -1
  502. package/dist/react-native/operations/runs.js +65 -87
  503. package/dist/react-native/operations/runs.js.map +1 -1
  504. package/dist/react-native/operations/scopeMaps.d.ts +15 -15
  505. package/dist/react-native/operations/scopeMaps.d.ts.map +1 -1
  506. package/dist/react-native/operations/scopeMaps.js +107 -114
  507. package/dist/react-native/operations/scopeMaps.js.map +1 -1
  508. package/dist/react-native/operations/taskRuns.d.ts +35 -35
  509. package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
  510. package/dist/react-native/operations/taskRuns.js +125 -137
  511. package/dist/react-native/operations/taskRuns.js.map +1 -1
  512. package/dist/react-native/operations/tasks.d.ts +25 -25
  513. package/dist/react-native/operations/tasks.d.ts.map +1 -1
  514. package/dist/react-native/operations/tasks.js +76 -98
  515. package/dist/react-native/operations/tasks.js.map +1 -1
  516. package/dist/react-native/operations/tokens.d.ts +15 -15
  517. package/dist/react-native/operations/tokens.d.ts.map +1 -1
  518. package/dist/react-native/operations/tokens.js +107 -114
  519. package/dist/react-native/operations/tokens.js.map +1 -1
  520. package/dist/react-native/operations/webhooks.d.ts +19 -19
  521. package/dist/react-native/operations/webhooks.d.ts.map +1 -1
  522. package/dist/react-native/operations/webhooks.js +169 -157
  523. package/dist/react-native/operations/webhooks.js.map +1 -1
  524. package/dist/react-native/operationsInterfaces/agentPools.d.ts +31 -31
  525. package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
  526. package/dist/react-native/operationsInterfaces/agentPools.js +2 -7
  527. package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
  528. package/dist/react-native/operationsInterfaces/cacheRules.d.ts +13 -13
  529. package/dist/react-native/operationsInterfaces/cacheRules.d.ts.map +1 -1
  530. package/dist/react-native/operationsInterfaces/cacheRules.js +2 -7
  531. package/dist/react-native/operationsInterfaces/cacheRules.js.map +1 -1
  532. package/dist/react-native/operationsInterfaces/connectedRegistries.d.ts +13 -13
  533. package/dist/react-native/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
  534. package/dist/react-native/operationsInterfaces/connectedRegistries.js +2 -7
  535. package/dist/react-native/operationsInterfaces/connectedRegistries.js.map +1 -1
  536. package/dist/react-native/operationsInterfaces/credentialSets.d.ts +13 -13
  537. package/dist/react-native/operationsInterfaces/credentialSets.d.ts.map +1 -1
  538. package/dist/react-native/operationsInterfaces/credentialSets.js +2 -7
  539. package/dist/react-native/operationsInterfaces/credentialSets.js.map +1 -1
  540. package/dist/react-native/operationsInterfaces/index.d.ts +2 -7
  541. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  542. package/dist/react-native/operationsInterfaces/index.js +6 -14
  543. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  544. package/dist/react-native/operationsInterfaces/operations.d.ts +3 -3
  545. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  546. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  547. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  548. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  549. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  550. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
  551. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  552. package/dist/react-native/operationsInterfaces/registries.d.ts +48 -48
  553. package/dist/react-native/operationsInterfaces/registries.d.ts.map +1 -1
  554. package/dist/react-native/operationsInterfaces/registries.js +2 -7
  555. package/dist/react-native/operationsInterfaces/registries.js.map +1 -1
  556. package/dist/react-native/operationsInterfaces/replications.d.ts +13 -13
  557. package/dist/react-native/operationsInterfaces/replications.d.ts.map +1 -1
  558. package/dist/react-native/operationsInterfaces/replications.js +2 -7
  559. package/dist/react-native/operationsInterfaces/replications.js.map +1 -1
  560. package/dist/react-native/operationsInterfaces/runs.d.ts +16 -16
  561. package/dist/react-native/operationsInterfaces/runs.d.ts.map +1 -1
  562. package/dist/react-native/operationsInterfaces/runs.js +2 -7
  563. package/dist/react-native/operationsInterfaces/runs.js.map +1 -1
  564. package/dist/react-native/operationsInterfaces/scopeMaps.d.ts +13 -13
  565. package/dist/react-native/operationsInterfaces/scopeMaps.d.ts.map +1 -1
  566. package/dist/react-native/operationsInterfaces/scopeMaps.js +2 -7
  567. package/dist/react-native/operationsInterfaces/scopeMaps.js.map +1 -1
  568. package/dist/react-native/operationsInterfaces/taskRuns.d.ts +25 -25
  569. package/dist/react-native/operationsInterfaces/taskRuns.d.ts.map +1 -1
  570. package/dist/react-native/operationsInterfaces/taskRuns.js +2 -7
  571. package/dist/react-native/operationsInterfaces/taskRuns.js.map +1 -1
  572. package/dist/react-native/operationsInterfaces/tasks.d.ts +19 -19
  573. package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -1
  574. package/dist/react-native/operationsInterfaces/tasks.js +2 -7
  575. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  576. package/dist/react-native/operationsInterfaces/tokens.d.ts +13 -13
  577. package/dist/react-native/operationsInterfaces/tokens.d.ts.map +1 -1
  578. package/dist/react-native/operationsInterfaces/tokens.js +2 -7
  579. package/dist/react-native/operationsInterfaces/tokens.js.map +1 -1
  580. package/dist/react-native/operationsInterfaces/webhooks.d.ts +17 -17
  581. package/dist/react-native/operationsInterfaces/webhooks.d.ts.map +1 -1
  582. package/dist/react-native/operationsInterfaces/webhooks.js +2 -7
  583. package/dist/react-native/operationsInterfaces/webhooks.js.map +1 -1
  584. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  585. package/dist/react-native/pagingHelper.js +4 -11
  586. package/dist/react-native/pagingHelper.js.map +1 -1
  587. package/package.json +58 -67
  588. package/CHANGELOG.md +0 -1066
  589. package/dist/browser/operations/archiveVersions.d.ts +0 -95
  590. package/dist/browser/operations/archiveVersions.d.ts.map +0 -1
  591. package/dist/browser/operations/archiveVersions.js +0 -408
  592. package/dist/browser/operations/archiveVersions.js.map +0 -1
  593. package/dist/browser/operations/archives.d.ts +0 -99
  594. package/dist/browser/operations/archives.d.ts.map +0 -1
  595. package/dist/browser/operations/archives.js +0 -428
  596. package/dist/browser/operations/archives.js.map +0 -1
  597. package/dist/browser/operations/exportPipelines.d.ts +0 -81
  598. package/dist/browser/operations/exportPipelines.d.ts.map +0 -1
  599. package/dist/browser/operations/exportPipelines.js +0 -356
  600. package/dist/browser/operations/exportPipelines.js.map +0 -1
  601. package/dist/browser/operations/importPipelines.d.ts +0 -81
  602. package/dist/browser/operations/importPipelines.d.ts.map +0 -1
  603. package/dist/browser/operations/importPipelines.js +0 -356
  604. package/dist/browser/operations/importPipelines.js.map +0 -1
  605. package/dist/browser/operations/pipelineRuns.d.ts +0 -81
  606. package/dist/browser/operations/pipelineRuns.d.ts.map +0 -1
  607. package/dist/browser/operations/pipelineRuns.js +0 -356
  608. package/dist/browser/operations/pipelineRuns.js.map +0 -1
  609. package/dist/browser/operationsInterfaces/archiveVersions.d.ts +0 -66
  610. package/dist/browser/operationsInterfaces/archiveVersions.d.ts.map +0 -1
  611. package/dist/browser/operationsInterfaces/archiveVersions.js +0 -9
  612. package/dist/browser/operationsInterfaces/archiveVersions.js.map +0 -1
  613. package/dist/browser/operationsInterfaces/archives.d.ts +0 -72
  614. package/dist/browser/operationsInterfaces/archives.d.ts.map +0 -1
  615. package/dist/browser/operationsInterfaces/archives.js +0 -9
  616. package/dist/browser/operationsInterfaces/archives.js.map +0 -1
  617. package/dist/browser/operationsInterfaces/exportPipelines.d.ts +0 -56
  618. package/dist/browser/operationsInterfaces/exportPipelines.d.ts.map +0 -1
  619. package/dist/browser/operationsInterfaces/exportPipelines.js +0 -9
  620. package/dist/browser/operationsInterfaces/exportPipelines.js.map +0 -1
  621. package/dist/browser/operationsInterfaces/importPipelines.d.ts +0 -56
  622. package/dist/browser/operationsInterfaces/importPipelines.d.ts.map +0 -1
  623. package/dist/browser/operationsInterfaces/importPipelines.js +0 -9
  624. package/dist/browser/operationsInterfaces/importPipelines.js.map +0 -1
  625. package/dist/browser/operationsInterfaces/pipelineRuns.d.ts +0 -56
  626. package/dist/browser/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
  627. package/dist/browser/operationsInterfaces/pipelineRuns.js +0 -9
  628. package/dist/browser/operationsInterfaces/pipelineRuns.js.map +0 -1
  629. package/dist/commonjs/operations/archiveVersions.d.ts +0 -95
  630. package/dist/commonjs/operations/archiveVersions.d.ts.map +0 -1
  631. package/dist/commonjs/operations/archiveVersions.js +0 -412
  632. package/dist/commonjs/operations/archiveVersions.js.map +0 -1
  633. package/dist/commonjs/operations/archives.d.ts +0 -99
  634. package/dist/commonjs/operations/archives.d.ts.map +0 -1
  635. package/dist/commonjs/operations/archives.js +0 -432
  636. package/dist/commonjs/operations/archives.js.map +0 -1
  637. package/dist/commonjs/operations/exportPipelines.d.ts +0 -81
  638. package/dist/commonjs/operations/exportPipelines.d.ts.map +0 -1
  639. package/dist/commonjs/operations/exportPipelines.js +0 -360
  640. package/dist/commonjs/operations/exportPipelines.js.map +0 -1
  641. package/dist/commonjs/operations/importPipelines.d.ts +0 -81
  642. package/dist/commonjs/operations/importPipelines.d.ts.map +0 -1
  643. package/dist/commonjs/operations/importPipelines.js +0 -360
  644. package/dist/commonjs/operations/importPipelines.js.map +0 -1
  645. package/dist/commonjs/operations/pipelineRuns.d.ts +0 -81
  646. package/dist/commonjs/operations/pipelineRuns.d.ts.map +0 -1
  647. package/dist/commonjs/operations/pipelineRuns.js +0 -360
  648. package/dist/commonjs/operations/pipelineRuns.js.map +0 -1
  649. package/dist/commonjs/operationsInterfaces/archiveVersions.d.ts +0 -66
  650. package/dist/commonjs/operationsInterfaces/archiveVersions.d.ts.map +0 -1
  651. package/dist/commonjs/operationsInterfaces/archiveVersions.js +0 -10
  652. package/dist/commonjs/operationsInterfaces/archiveVersions.js.map +0 -1
  653. package/dist/commonjs/operationsInterfaces/archives.d.ts +0 -72
  654. package/dist/commonjs/operationsInterfaces/archives.d.ts.map +0 -1
  655. package/dist/commonjs/operationsInterfaces/archives.js +0 -10
  656. package/dist/commonjs/operationsInterfaces/archives.js.map +0 -1
  657. package/dist/commonjs/operationsInterfaces/exportPipelines.d.ts +0 -56
  658. package/dist/commonjs/operationsInterfaces/exportPipelines.d.ts.map +0 -1
  659. package/dist/commonjs/operationsInterfaces/exportPipelines.js +0 -10
  660. package/dist/commonjs/operationsInterfaces/exportPipelines.js.map +0 -1
  661. package/dist/commonjs/operationsInterfaces/importPipelines.d.ts +0 -56
  662. package/dist/commonjs/operationsInterfaces/importPipelines.d.ts.map +0 -1
  663. package/dist/commonjs/operationsInterfaces/importPipelines.js +0 -10
  664. package/dist/commonjs/operationsInterfaces/importPipelines.js.map +0 -1
  665. package/dist/commonjs/operationsInterfaces/pipelineRuns.d.ts +0 -56
  666. package/dist/commonjs/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
  667. package/dist/commonjs/operationsInterfaces/pipelineRuns.js +0 -10
  668. package/dist/commonjs/operationsInterfaces/pipelineRuns.js.map +0 -1
  669. package/dist/esm/operations/archiveVersions.d.ts +0 -95
  670. package/dist/esm/operations/archiveVersions.d.ts.map +0 -1
  671. package/dist/esm/operations/archiveVersions.js +0 -408
  672. package/dist/esm/operations/archiveVersions.js.map +0 -1
  673. package/dist/esm/operations/archives.d.ts +0 -99
  674. package/dist/esm/operations/archives.d.ts.map +0 -1
  675. package/dist/esm/operations/archives.js +0 -428
  676. package/dist/esm/operations/archives.js.map +0 -1
  677. package/dist/esm/operations/exportPipelines.d.ts +0 -81
  678. package/dist/esm/operations/exportPipelines.d.ts.map +0 -1
  679. package/dist/esm/operations/exportPipelines.js +0 -356
  680. package/dist/esm/operations/exportPipelines.js.map +0 -1
  681. package/dist/esm/operations/importPipelines.d.ts +0 -81
  682. package/dist/esm/operations/importPipelines.d.ts.map +0 -1
  683. package/dist/esm/operations/importPipelines.js +0 -356
  684. package/dist/esm/operations/importPipelines.js.map +0 -1
  685. package/dist/esm/operations/pipelineRuns.d.ts +0 -81
  686. package/dist/esm/operations/pipelineRuns.d.ts.map +0 -1
  687. package/dist/esm/operations/pipelineRuns.js +0 -356
  688. package/dist/esm/operations/pipelineRuns.js.map +0 -1
  689. package/dist/esm/operationsInterfaces/archiveVersions.d.ts +0 -66
  690. package/dist/esm/operationsInterfaces/archiveVersions.d.ts.map +0 -1
  691. package/dist/esm/operationsInterfaces/archiveVersions.js +0 -9
  692. package/dist/esm/operationsInterfaces/archiveVersions.js.map +0 -1
  693. package/dist/esm/operationsInterfaces/archives.d.ts +0 -72
  694. package/dist/esm/operationsInterfaces/archives.d.ts.map +0 -1
  695. package/dist/esm/operationsInterfaces/archives.js +0 -9
  696. package/dist/esm/operationsInterfaces/archives.js.map +0 -1
  697. package/dist/esm/operationsInterfaces/exportPipelines.d.ts +0 -56
  698. package/dist/esm/operationsInterfaces/exportPipelines.d.ts.map +0 -1
  699. package/dist/esm/operationsInterfaces/exportPipelines.js +0 -9
  700. package/dist/esm/operationsInterfaces/exportPipelines.js.map +0 -1
  701. package/dist/esm/operationsInterfaces/importPipelines.d.ts +0 -56
  702. package/dist/esm/operationsInterfaces/importPipelines.d.ts.map +0 -1
  703. package/dist/esm/operationsInterfaces/importPipelines.js +0 -9
  704. package/dist/esm/operationsInterfaces/importPipelines.js.map +0 -1
  705. package/dist/esm/operationsInterfaces/pipelineRuns.d.ts +0 -56
  706. package/dist/esm/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
  707. package/dist/esm/operationsInterfaces/pipelineRuns.js +0 -9
  708. package/dist/esm/operationsInterfaces/pipelineRuns.js.map +0 -1
  709. package/dist/react-native/operations/archiveVersions.d.ts +0 -95
  710. package/dist/react-native/operations/archiveVersions.d.ts.map +0 -1
  711. package/dist/react-native/operations/archiveVersions.js +0 -408
  712. package/dist/react-native/operations/archiveVersions.js.map +0 -1
  713. package/dist/react-native/operations/archives.d.ts +0 -99
  714. package/dist/react-native/operations/archives.d.ts.map +0 -1
  715. package/dist/react-native/operations/archives.js +0 -428
  716. package/dist/react-native/operations/archives.js.map +0 -1
  717. package/dist/react-native/operations/exportPipelines.d.ts +0 -81
  718. package/dist/react-native/operations/exportPipelines.d.ts.map +0 -1
  719. package/dist/react-native/operations/exportPipelines.js +0 -356
  720. package/dist/react-native/operations/exportPipelines.js.map +0 -1
  721. package/dist/react-native/operations/importPipelines.d.ts +0 -81
  722. package/dist/react-native/operations/importPipelines.d.ts.map +0 -1
  723. package/dist/react-native/operations/importPipelines.js +0 -356
  724. package/dist/react-native/operations/importPipelines.js.map +0 -1
  725. package/dist/react-native/operations/pipelineRuns.d.ts +0 -81
  726. package/dist/react-native/operations/pipelineRuns.d.ts.map +0 -1
  727. package/dist/react-native/operations/pipelineRuns.js +0 -356
  728. package/dist/react-native/operations/pipelineRuns.js.map +0 -1
  729. package/dist/react-native/operationsInterfaces/archiveVersions.d.ts +0 -66
  730. package/dist/react-native/operationsInterfaces/archiveVersions.d.ts.map +0 -1
  731. package/dist/react-native/operationsInterfaces/archiveVersions.js +0 -9
  732. package/dist/react-native/operationsInterfaces/archiveVersions.js.map +0 -1
  733. package/dist/react-native/operationsInterfaces/archives.d.ts +0 -72
  734. package/dist/react-native/operationsInterfaces/archives.d.ts.map +0 -1
  735. package/dist/react-native/operationsInterfaces/archives.js +0 -9
  736. package/dist/react-native/operationsInterfaces/archives.js.map +0 -1
  737. package/dist/react-native/operationsInterfaces/exportPipelines.d.ts +0 -56
  738. package/dist/react-native/operationsInterfaces/exportPipelines.d.ts.map +0 -1
  739. package/dist/react-native/operationsInterfaces/exportPipelines.js +0 -9
  740. package/dist/react-native/operationsInterfaces/exportPipelines.js.map +0 -1
  741. package/dist/react-native/operationsInterfaces/importPipelines.d.ts +0 -56
  742. package/dist/react-native/operationsInterfaces/importPipelines.d.ts.map +0 -1
  743. package/dist/react-native/operationsInterfaces/importPipelines.js +0 -9
  744. package/dist/react-native/operationsInterfaces/importPipelines.js.map +0 -1
  745. package/dist/react-native/operationsInterfaces/pipelineRuns.d.ts +0 -56
  746. package/dist/react-native/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
  747. package/dist/react-native/operationsInterfaces/pipelineRuns.js +0 -9
  748. package/dist/react-native/operationsInterfaces/pipelineRuns.js.map +0 -1
  749. package/review/arm-containerregistry.api.md +0 -3486
@@ -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
- });
65
- }
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
- });
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
+ }
58
+ }
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
- });
127
- }
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
- });
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
+ }
103
+ }
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
- });
190
- }
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();
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
+ }
149
+ }
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);
461
430
  return poller.pollUntilDone();
462
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);
489
+ return poller.pollUntilDone();
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.
@@ -514,83 +542,24 @@ export class RegistriesImpl {
514
542
  }, regenerateCredentialOperationSpec);
515
543
  }
516
544
  /**
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.
545
+ * Get the upload location for the user to be able to upload the source.
566
546
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
567
547
  * @param registryName The name of the container registry.
568
- * @param generateCredentialsParameters The parameters for generating credentials.
569
548
  * @param options The options parameters.
570
549
  */
571
- async beginGenerateCredentialsAndWait(resourceGroupName, registryName, generateCredentialsParameters, options) {
572
- const poller = await this.beginGenerateCredentials(resourceGroupName, registryName, generateCredentialsParameters, options);
573
- return poller.pollUntilDone();
550
+ getBuildSourceUploadUrl(resourceGroupName, registryName, options) {
551
+ return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, getBuildSourceUploadUrlOperationSpec);
574
552
  }
575
553
  /**
576
554
  * Schedules a new run based on the request parameters and add it to the run queue.
577
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
555
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
578
556
  * @param registryName The name of the container registry.
579
- * @param runRequest The parameters of a run that needs to scheduled.
557
+ * @param runRequest The request body
580
558
  * @param options The options parameters.
581
559
  */
582
560
  scheduleRun(resourceGroupName, registryName, runRequest, options) {
583
561
  return this.client.sendOperationRequest({ resourceGroupName, registryName, runRequest, options }, scheduleRunOperationSpec);
584
562
  }
585
- /**
586
- * Get the upload location for the user to be able to upload the source.
587
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
588
- * @param registryName The name of the container registry.
589
- * @param options The options parameters.
590
- */
591
- getBuildSourceUploadUrl(resourceGroupName, registryName, options) {
592
- return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, getBuildSourceUploadUrlOperationSpec);
593
- }
594
563
  /**
595
564
  * ListNext
596
565
  * @param nextLink The nextLink from the previous successful call to the List method.
@@ -622,22 +591,6 @@ export class RegistriesImpl {
622
591
  }
623
592
  // Operation Specifications
624
593
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
625
- const importImageOperationSpec = {
626
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage",
627
- httpMethod: "POST",
628
- responses: { 200: {}, 201: {}, 202: {}, 204: {} },
629
- requestBody: Parameters.parameters,
630
- queryParameters: [Parameters.apiVersion],
631
- urlParameters: [
632
- Parameters.$host,
633
- Parameters.subscriptionId,
634
- Parameters.resourceGroupName,
635
- Parameters.registryName,
636
- ],
637
- headerParameters: [Parameters.contentType],
638
- mediaType: "json",
639
- serializer,
640
- };
641
594
  const checkNameAvailabilityOperationSpec = {
642
595
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability",
643
596
  httpMethod: "POST",
@@ -645,6 +598,9 @@ const checkNameAvailabilityOperationSpec = {
645
598
  200: {
646
599
  bodyMapper: Mappers.RegistryNameStatus,
647
600
  },
601
+ default: {
602
+ bodyMapper: Mappers.ErrorResponse,
603
+ },
648
604
  },
649
605
  requestBody: Parameters.registryNameCheckRequest,
650
606
  queryParameters: [Parameters.apiVersion],
@@ -660,6 +616,9 @@ const listOperationSpec = {
660
616
  200: {
661
617
  bodyMapper: Mappers.RegistryListResult,
662
618
  },
619
+ default: {
620
+ bodyMapper: Mappers.ErrorResponse,
621
+ },
663
622
  },
664
623
  queryParameters: [Parameters.apiVersion],
665
624
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
@@ -673,13 +632,12 @@ const listByResourceGroupOperationSpec = {
673
632
  200: {
674
633
  bodyMapper: Mappers.RegistryListResult,
675
634
  },
635
+ default: {
636
+ bodyMapper: Mappers.ErrorResponse,
637
+ },
676
638
  },
677
639
  queryParameters: [Parameters.apiVersion],
678
- urlParameters: [
679
- Parameters.$host,
680
- Parameters.subscriptionId,
681
- Parameters.resourceGroupName,
682
- ],
640
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
683
641
  headerParameters: [Parameters.accept],
684
642
  serializer,
685
643
  };
@@ -690,6 +648,9 @@ const getOperationSpec = {
690
648
  200: {
691
649
  bodyMapper: Mappers.Registry,
692
650
  },
651
+ default: {
652
+ bodyMapper: Mappers.ErrorResponse,
653
+ },
693
654
  },
694
655
  queryParameters: [Parameters.apiVersion],
695
656
  urlParameters: [
@@ -717,6 +678,9 @@ const createOperationSpec = {
717
678
  204: {
718
679
  bodyMapper: Mappers.Registry,
719
680
  },
681
+ default: {
682
+ bodyMapper: Mappers.ErrorResponse,
683
+ },
720
684
  },
721
685
  requestBody: Parameters.registry,
722
686
  queryParameters: [Parameters.apiVersion],
@@ -730,19 +694,6 @@ const createOperationSpec = {
730
694
  mediaType: "json",
731
695
  serializer,
732
696
  };
733
- const deleteOperationSpec = {
734
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}",
735
- httpMethod: "DELETE",
736
- responses: { 200: {}, 201: {}, 202: {}, 204: {} },
737
- queryParameters: [Parameters.apiVersion],
738
- urlParameters: [
739
- Parameters.$host,
740
- Parameters.subscriptionId,
741
- Parameters.resourceGroupName,
742
- Parameters.registryName,
743
- ],
744
- serializer,
745
- };
746
697
  const updateOperationSpec = {
747
698
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}",
748
699
  httpMethod: "PATCH",
@@ -759,6 +710,9 @@ const updateOperationSpec = {
759
710
  204: {
760
711
  bodyMapper: Mappers.Registry,
761
712
  },
713
+ default: {
714
+ bodyMapper: Mappers.ErrorResponse,
715
+ },
762
716
  },
763
717
  requestBody: Parameters.registryUpdateParameters,
764
718
  queryParameters: [Parameters.apiVersion],
@@ -772,12 +726,16 @@ const updateOperationSpec = {
772
726
  mediaType: "json",
773
727
  serializer,
774
728
  };
775
- const listUsagesOperationSpec = {
776
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages",
777
- httpMethod: "GET",
729
+ const deleteOperationSpec = {
730
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}",
731
+ httpMethod: "DELETE",
778
732
  responses: {
779
- 200: {
780
- bodyMapper: Mappers.RegistryUsageListResult,
733
+ 200: {},
734
+ 201: {},
735
+ 202: {},
736
+ 204: {},
737
+ default: {
738
+ bodyMapper: Mappers.ErrorResponse,
781
739
  },
782
740
  },
783
741
  queryParameters: [Parameters.apiVersion],
@@ -790,14 +748,27 @@ const listUsagesOperationSpec = {
790
748
  headerParameters: [Parameters.accept],
791
749
  serializer,
792
750
  };
793
- const listPrivateLinkResourcesOperationSpec = {
794
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources",
795
- httpMethod: "GET",
751
+ const generateCredentialsOperationSpec = {
752
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials",
753
+ httpMethod: "POST",
796
754
  responses: {
797
755
  200: {
798
- bodyMapper: Mappers.PrivateLinkResourceListResult,
756
+ bodyMapper: Mappers.GenerateCredentialsResult,
757
+ },
758
+ 201: {
759
+ bodyMapper: Mappers.GenerateCredentialsResult,
760
+ },
761
+ 202: {
762
+ bodyMapper: Mappers.GenerateCredentialsResult,
763
+ },
764
+ 204: {
765
+ bodyMapper: Mappers.GenerateCredentialsResult,
766
+ },
767
+ default: {
768
+ bodyMapper: Mappers.ErrorResponse,
799
769
  },
800
770
  },
771
+ requestBody: Parameters.generateCredentialsParameters,
801
772
  queryParameters: [Parameters.apiVersion],
802
773
  urlParameters: [
803
774
  Parameters.$host,
@@ -805,29 +776,32 @@ const listPrivateLinkResourcesOperationSpec = {
805
776
  Parameters.resourceGroupName,
806
777
  Parameters.registryName,
807
778
  ],
808
- headerParameters: [Parameters.accept],
779
+ headerParameters: [Parameters.accept, Parameters.contentType],
780
+ mediaType: "json",
809
781
  serializer,
810
782
  };
811
- const getPrivateLinkResourceOperationSpec = {
812
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}",
813
- httpMethod: "GET",
783
+ const importImageOperationSpec = {
784
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage",
785
+ httpMethod: "POST",
814
786
  responses: {
815
- 200: {
816
- bodyMapper: Mappers.PrivateLinkResource,
817
- },
787
+ 200: {},
788
+ 201: {},
789
+ 202: {},
790
+ 204: {},
818
791
  default: {
819
792
  bodyMapper: Mappers.ErrorResponse,
820
793
  },
821
794
  },
795
+ requestBody: Parameters.parameters,
822
796
  queryParameters: [Parameters.apiVersion],
823
797
  urlParameters: [
824
798
  Parameters.$host,
825
799
  Parameters.subscriptionId,
826
800
  Parameters.resourceGroupName,
827
801
  Parameters.registryName,
828
- Parameters.groupName,
829
802
  ],
830
- headerParameters: [Parameters.accept],
803
+ headerParameters: [Parameters.accept, Parameters.contentType],
804
+ mediaType: "json",
831
805
  serializer,
832
806
  };
833
807
  const listCredentialsOperationSpec = {
@@ -837,6 +811,9 @@ const listCredentialsOperationSpec = {
837
811
  200: {
838
812
  bodyMapper: Mappers.RegistryListCredentialsResult,
839
813
  },
814
+ default: {
815
+ bodyMapper: Mappers.ErrorResponse,
816
+ },
840
817
  },
841
818
  queryParameters: [Parameters.apiVersion],
842
819
  urlParameters: [
@@ -848,15 +825,17 @@ const listCredentialsOperationSpec = {
848
825
  headerParameters: [Parameters.accept],
849
826
  serializer,
850
827
  };
851
- const regenerateCredentialOperationSpec = {
852
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential",
853
- httpMethod: "POST",
828
+ const listUsagesOperationSpec = {
829
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages",
830
+ httpMethod: "GET",
854
831
  responses: {
855
832
  200: {
856
- bodyMapper: Mappers.RegistryListCredentialsResult,
833
+ bodyMapper: Mappers.RegistryUsageListResult,
834
+ },
835
+ default: {
836
+ bodyMapper: Mappers.ErrorResponse,
857
837
  },
858
838
  },
859
- requestBody: Parameters.regenerateCredentialParameters,
860
839
  queryParameters: [Parameters.apiVersion],
861
840
  urlParameters: [
862
841
  Parameters.$host,
@@ -864,60 +843,70 @@ const regenerateCredentialOperationSpec = {
864
843
  Parameters.resourceGroupName,
865
844
  Parameters.registryName,
866
845
  ],
867
- headerParameters: [Parameters.accept, Parameters.contentType],
868
- mediaType: "json",
846
+ headerParameters: [Parameters.accept],
869
847
  serializer,
870
848
  };
871
- const generateCredentialsOperationSpec = {
872
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials",
873
- httpMethod: "POST",
849
+ const listPrivateLinkResourcesOperationSpec = {
850
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources",
851
+ httpMethod: "GET",
874
852
  responses: {
875
853
  200: {
876
- bodyMapper: Mappers.GenerateCredentialsResult,
877
- },
878
- 201: {
879
- bodyMapper: Mappers.GenerateCredentialsResult,
854
+ bodyMapper: Mappers.PrivateLinkResourceListResult,
880
855
  },
881
- 202: {
882
- bodyMapper: Mappers.GenerateCredentialsResult,
856
+ default: {
857
+ bodyMapper: Mappers.ErrorResponse,
883
858
  },
884
- 204: {
885
- bodyMapper: Mappers.GenerateCredentialsResult,
859
+ },
860
+ queryParameters: [Parameters.apiVersion],
861
+ urlParameters: [
862
+ Parameters.$host,
863
+ Parameters.subscriptionId,
864
+ Parameters.resourceGroupName,
865
+ Parameters.registryName,
866
+ ],
867
+ headerParameters: [Parameters.accept],
868
+ serializer,
869
+ };
870
+ const getPrivateLinkResourceOperationSpec = {
871
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}",
872
+ httpMethod: "GET",
873
+ responses: {
874
+ 200: {
875
+ bodyMapper: Mappers.PrivateLinkResource,
886
876
  },
887
877
  default: {
888
878
  bodyMapper: Mappers.ErrorResponse,
889
879
  },
890
880
  },
891
- requestBody: Parameters.generateCredentialsParameters,
892
881
  queryParameters: [Parameters.apiVersion],
893
882
  urlParameters: [
894
883
  Parameters.$host,
895
884
  Parameters.subscriptionId,
896
885
  Parameters.resourceGroupName,
897
886
  Parameters.registryName,
887
+ Parameters.groupName,
898
888
  ],
899
- headerParameters: [Parameters.accept, Parameters.contentType],
900
- mediaType: "json",
889
+ headerParameters: [Parameters.accept],
901
890
  serializer,
902
891
  };
903
- const scheduleRunOperationSpec = {
904
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun",
892
+ const regenerateCredentialOperationSpec = {
893
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential",
905
894
  httpMethod: "POST",
906
895
  responses: {
907
896
  200: {
908
- bodyMapper: Mappers.Run,
897
+ bodyMapper: Mappers.RegistryListCredentialsResult,
909
898
  },
910
899
  default: {
911
900
  bodyMapper: Mappers.ErrorResponse,
912
901
  },
913
902
  },
914
- requestBody: Parameters.runRequest,
903
+ requestBody: Parameters.regenerateCredentialParameters,
915
904
  queryParameters: [Parameters.apiVersion],
916
905
  urlParameters: [
917
906
  Parameters.$host,
918
907
  Parameters.subscriptionId,
908
+ Parameters.resourceGroupName,
919
909
  Parameters.registryName,
920
- Parameters.resourceGroupName1,
921
910
  ],
922
911
  headerParameters: [Parameters.accept, Parameters.contentType],
923
912
  mediaType: "json",
@@ -934,29 +923,51 @@ const getBuildSourceUploadUrlOperationSpec = {
934
923
  bodyMapper: Mappers.ErrorResponse,
935
924
  },
936
925
  },
937
- queryParameters: [Parameters.apiVersion],
926
+ queryParameters: [Parameters.apiVersion1],
938
927
  urlParameters: [
939
928
  Parameters.$host,
940
929
  Parameters.subscriptionId,
930
+ Parameters.resourceGroupName,
941
931
  Parameters.registryName,
942
- Parameters.resourceGroupName1,
943
932
  ],
944
933
  headerParameters: [Parameters.accept],
945
934
  serializer,
946
935
  };
947
- const listNextOperationSpec = {
948
- path: "{nextLink}",
949
- httpMethod: "GET",
936
+ const scheduleRunOperationSpec = {
937
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun",
938
+ httpMethod: "POST",
950
939
  responses: {
951
940
  200: {
952
- bodyMapper: Mappers.RegistryListResult,
941
+ bodyMapper: Mappers.Run,
942
+ },
943
+ default: {
944
+ bodyMapper: Mappers.ErrorResponse,
953
945
  },
954
946
  },
947
+ requestBody: Parameters.runRequest,
948
+ queryParameters: [Parameters.apiVersion1],
955
949
  urlParameters: [
956
950
  Parameters.$host,
957
951
  Parameters.subscriptionId,
958
- Parameters.nextLink,
952
+ Parameters.resourceGroupName,
953
+ Parameters.registryName,
959
954
  ],
955
+ headerParameters: [Parameters.accept, Parameters.contentType],
956
+ mediaType: "json",
957
+ serializer,
958
+ };
959
+ const listNextOperationSpec = {
960
+ path: "{nextLink}",
961
+ httpMethod: "GET",
962
+ responses: {
963
+ 200: {
964
+ bodyMapper: Mappers.RegistryListResult,
965
+ },
966
+ default: {
967
+ bodyMapper: Mappers.ErrorResponse,
968
+ },
969
+ },
970
+ urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
960
971
  headerParameters: [Parameters.accept],
961
972
  serializer,
962
973
  };
@@ -967,12 +978,15 @@ const listByResourceGroupNextOperationSpec = {
967
978
  200: {
968
979
  bodyMapper: Mappers.RegistryListResult,
969
980
  },
981
+ default: {
982
+ bodyMapper: Mappers.ErrorResponse,
983
+ },
970
984
  },
971
985
  urlParameters: [
972
986
  Parameters.$host,
987
+ Parameters.nextLink,
973
988
  Parameters.subscriptionId,
974
989
  Parameters.resourceGroupName,
975
- Parameters.nextLink,
976
990
  ],
977
991
  headerParameters: [Parameters.accept],
978
992
  serializer,
@@ -984,13 +998,16 @@ const listPrivateLinkResourcesNextOperationSpec = {
984
998
  200: {
985
999
  bodyMapper: Mappers.PrivateLinkResourceListResult,
986
1000
  },
1001
+ default: {
1002
+ bodyMapper: Mappers.ErrorResponse,
1003
+ },
987
1004
  },
988
1005
  urlParameters: [
989
1006
  Parameters.$host,
1007
+ Parameters.nextLink,
990
1008
  Parameters.subscriptionId,
991
1009
  Parameters.resourceGroupName,
992
1010
  Parameters.registryName,
993
- Parameters.nextLink,
994
1011
  ],
995
1012
  headerParameters: [Parameters.accept],
996
1013
  serializer,