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