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

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