@azure/arm-containerregistry 7.0.0 → 9.0.0-beta.1

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 (310) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +68 -76
  4. package/dist/index.js +12640 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/containerRegistryManagementClient.d.ts +29 -0
  9. package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/containerRegistryManagementClient.js +36 -0
  11. package/dist-esm/src/containerRegistryManagementClient.js.map +1 -0
  12. package/dist-esm/src/containerRegistryManagementClientContext.d.ts +15 -0
  13. package/dist-esm/src/containerRegistryManagementClientContext.d.ts.map +1 -0
  14. package/dist-esm/src/containerRegistryManagementClientContext.js +48 -0
  15. package/dist-esm/src/containerRegistryManagementClientContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +3421 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/dist-esm/src/models/index.js +339 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +177 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/mappers.js +3696 -2199
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +54 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/dist-esm/src/models/parameters.js +428 -0
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/dist-esm/src/operations/agentPools.d.ts +107 -0
  37. package/dist-esm/src/operations/agentPools.d.ts.map +1 -0
  38. package/dist-esm/src/operations/agentPools.js +455 -0
  39. package/dist-esm/src/operations/agentPools.js.map +1 -0
  40. package/dist-esm/src/operations/connectedRegistries.d.ts +115 -0
  41. package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -0
  42. package/dist-esm/src/operations/connectedRegistries.js +503 -0
  43. package/dist-esm/src/operations/connectedRegistries.js.map +1 -0
  44. package/dist-esm/src/operations/exportPipelines.d.ts +81 -0
  45. package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -0
  46. package/dist-esm/src/operations/exportPipelines.js +316 -0
  47. package/dist-esm/src/operations/exportPipelines.js.map +1 -0
  48. package/dist-esm/src/operations/importPipelines.d.ts +81 -0
  49. package/dist-esm/src/operations/importPipelines.d.ts.map +1 -0
  50. package/dist-esm/src/operations/importPipelines.js +316 -0
  51. package/dist-esm/src/operations/importPipelines.js.map +1 -0
  52. package/dist-esm/src/operations/index.d.ts +16 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/dist-esm/src/operations/index.js +23 -0
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/operations.d.ts +32 -0
  57. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/operations.js +114 -0
  59. package/dist-esm/src/operations/operations.js.map +1 -0
  60. package/dist-esm/src/operations/pipelineRuns.d.ts +81 -0
  61. package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -0
  62. package/dist-esm/src/operations/pipelineRuns.js +316 -0
  63. package/dist-esm/src/operations/pipelineRuns.js.map +1 -0
  64. package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
  65. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  66. package/dist-esm/src/operations/privateEndpointConnections.js +326 -0
  67. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  68. package/dist-esm/src/operations/registries.d.ts +217 -0
  69. package/dist-esm/src/operations/registries.d.ts.map +1 -0
  70. package/dist-esm/src/operations/registries.js +956 -0
  71. package/dist-esm/src/operations/registries.js.map +1 -0
  72. package/dist-esm/src/operations/replications.d.ts +99 -0
  73. package/dist-esm/src/operations/replications.d.ts.map +1 -0
  74. package/dist-esm/src/operations/replications.js +405 -0
  75. package/dist-esm/src/operations/replications.js.map +1 -0
  76. package/dist-esm/src/operations/runs.d.ts +89 -0
  77. package/dist-esm/src/operations/runs.d.ts.map +1 -0
  78. package/dist-esm/src/operations/runs.js +363 -0
  79. package/dist-esm/src/operations/runs.js.map +1 -0
  80. package/dist-esm/src/operations/scopeMaps.d.ts +99 -0
  81. package/dist-esm/src/operations/scopeMaps.d.ts.map +1 -0
  82. package/dist-esm/src/operations/scopeMaps.js +405 -0
  83. package/dist-esm/src/operations/scopeMaps.js.map +1 -0
  84. package/dist-esm/src/operations/taskRuns.d.ts +107 -0
  85. package/dist-esm/src/operations/taskRuns.d.ts.map +1 -0
  86. package/dist-esm/src/operations/taskRuns.js +455 -0
  87. package/dist-esm/src/operations/taskRuns.js.map +1 -0
  88. package/dist-esm/src/operations/tasks.d.ts +107 -0
  89. package/dist-esm/src/operations/tasks.d.ts.map +1 -0
  90. package/dist-esm/src/operations/tasks.js +461 -0
  91. package/dist-esm/src/operations/tasks.js.map +1 -0
  92. package/dist-esm/src/operations/tokens.d.ts +99 -0
  93. package/dist-esm/src/operations/tokens.d.ts.map +1 -0
  94. package/dist-esm/src/operations/tokens.js +405 -0
  95. package/dist-esm/src/operations/tokens.js.map +1 -0
  96. package/dist-esm/src/operations/webhooks.d.ts +142 -0
  97. package/dist-esm/src/operations/webhooks.d.ts.map +1 -0
  98. package/dist-esm/src/operations/webhooks.js +574 -0
  99. package/dist-esm/src/operations/webhooks.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/agentPools.d.ts +82 -0
  101. package/dist-esm/src/operationsInterfaces/agentPools.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/agentPools.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/agentPools.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts +90 -0
  105. package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/connectedRegistries.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/connectedRegistries.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts +56 -0
  109. package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/exportPipelines.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/exportPipelines.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/importPipelines.d.ts +56 -0
  113. package/dist-esm/src/operationsInterfaces/importPipelines.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/importPipelines.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/importPipelines.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/index.d.ts +16 -0
  117. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/index.js +23 -0
  119. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  121. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +56 -0
  125. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/pipelineRuns.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  129. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/registries.d.ts +163 -0
  133. package/dist-esm/src/operationsInterfaces/registries.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/registries.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/registries.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/replications.d.ts +74 -0
  137. package/dist-esm/src/operationsInterfaces/replications.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/replications.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/replications.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/runs.d.ts +64 -0
  141. package/dist-esm/src/operationsInterfaces/runs.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/runs.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/runs.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts +74 -0
  145. package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/scopeMaps.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/scopeMaps.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/taskRuns.d.ts +82 -0
  149. package/dist-esm/src/operationsInterfaces/taskRuns.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/taskRuns.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/taskRuns.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/tasks.d.ts +82 -0
  153. package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/tokens.d.ts +74 -0
  157. package/dist-esm/src/operationsInterfaces/tokens.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/tokens.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/tokens.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/webhooks.d.ts +98 -0
  161. package/dist-esm/src/operationsInterfaces/webhooks.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/webhooks.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/webhooks.js.map +1 -0
  164. package/dist-esm/test/containerregistry_examples.d.ts +2 -0
  165. package/dist-esm/test/containerregistry_examples.d.ts.map +1 -0
  166. package/dist-esm/test/containerregistry_examples.js +326 -0
  167. package/dist-esm/test/containerregistry_examples.js.map +1 -0
  168. package/package.json +65 -31
  169. package/review/arm-containerregistry.api.md +2912 -0
  170. package/rollup.config.js +181 -30
  171. package/src/containerRegistryManagementClient.ts +78 -42
  172. package/src/containerRegistryManagementClientContext.ts +45 -37
  173. package/src/index.ts +13 -0
  174. package/src/lroImpl.ts +34 -0
  175. package/src/models/index.ts +3217 -3457
  176. package/src/models/mappers.ts +3831 -2214
  177. package/src/models/parameters.ts +379 -81
  178. package/src/operations/agentPools.ts +646 -0
  179. package/src/operations/connectedRegistries.ts +718 -0
  180. package/src/operations/exportPipelines.ts +449 -0
  181. package/src/operations/importPipelines.ts +449 -0
  182. package/src/operations/index.ts +12 -7
  183. package/src/operations/operations.ts +84 -76
  184. package/src/operations/pipelineRuns.ts +449 -0
  185. package/src/operations/privateEndpointConnections.ts +460 -0
  186. package/src/operations/registries.ts +1031 -653
  187. package/src/operations/replications.ts +433 -251
  188. package/src/operations/runs.ts +356 -243
  189. package/src/operations/scopeMaps.ts +433 -251
  190. package/src/operations/taskRuns.ts +646 -0
  191. package/src/operations/tasks.ts +459 -277
  192. package/src/operations/tokens.ts +427 -251
  193. package/src/operations/webhooks.ts +614 -419
  194. package/src/operationsInterfaces/agentPools.ts +162 -0
  195. package/src/operationsInterfaces/connectedRegistries.ts +174 -0
  196. package/src/operationsInterfaces/exportPipelines.ts +109 -0
  197. package/src/operationsInterfaces/importPipelines.ts +109 -0
  198. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +13 -8
  199. package/src/operationsInterfaces/operations.ts +22 -0
  200. package/src/operationsInterfaces/pipelineRuns.ts +109 -0
  201. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  202. package/src/operationsInterfaces/registries.ts +317 -0
  203. package/src/operationsInterfaces/replications.ts +147 -0
  204. package/src/operationsInterfaces/runs.ts +122 -0
  205. package/src/operationsInterfaces/scopeMaps.ts +147 -0
  206. package/src/operationsInterfaces/taskRuns.ts +162 -0
  207. package/src/operationsInterfaces/tasks.ts +156 -0
  208. package/src/operationsInterfaces/tokens.ts +141 -0
  209. package/src/operationsInterfaces/webhooks.ts +193 -0
  210. package/tsconfig.json +4 -4
  211. package/types/arm-containerregistry.d.ts +4991 -0
  212. package/types/tsdoc-metadata.json +11 -0
  213. package/dist/arm-containerregistry.js +0 -7529
  214. package/dist/arm-containerregistry.js.map +0 -1
  215. package/dist/arm-containerregistry.min.js +0 -1
  216. package/dist/arm-containerregistry.min.js.map +0 -1
  217. package/esm/containerRegistryManagementClient.d.ts +0 -25
  218. package/esm/containerRegistryManagementClient.d.ts.map +0 -1
  219. package/esm/containerRegistryManagementClient.js +0 -40
  220. package/esm/containerRegistryManagementClient.js.map +0 -1
  221. package/esm/containerRegistryManagementClientContext.d.ts +0 -15
  222. package/esm/containerRegistryManagementClientContext.d.ts.map +0 -1
  223. package/esm/containerRegistryManagementClientContext.js +0 -55
  224. package/esm/containerRegistryManagementClientContext.js.map +0 -1
  225. package/esm/models/index.d.ts +0 -3884
  226. package/esm/models/index.d.ts.map +0 -1
  227. package/esm/models/index.js +0 -8
  228. package/esm/models/index.js.map +0 -1
  229. package/esm/models/mappers.d.ts +0 -129
  230. package/esm/models/mappers.d.ts.map +0 -1
  231. package/esm/models/mappers.js.map +0 -1
  232. package/esm/models/operationsMappers.d.ts +0 -2
  233. package/esm/models/operationsMappers.d.ts.map +0 -1
  234. package/esm/models/operationsMappers.js +0 -9
  235. package/esm/models/operationsMappers.js.map +0 -1
  236. package/esm/models/parameters.d.ts +0 -18
  237. package/esm/models/parameters.d.ts.map +0 -1
  238. package/esm/models/parameters.js +0 -214
  239. package/esm/models/parameters.js.map +0 -1
  240. package/esm/models/registriesMappers.d.ts +0 -2
  241. package/esm/models/registriesMappers.d.ts.map +0 -1
  242. package/esm/models/registriesMappers.js +0 -9
  243. package/esm/models/registriesMappers.js.map +0 -1
  244. package/esm/models/replicationsMappers.d.ts +0 -2
  245. package/esm/models/replicationsMappers.d.ts.map +0 -1
  246. package/esm/models/replicationsMappers.js +0 -9
  247. package/esm/models/replicationsMappers.js.map +0 -1
  248. package/esm/models/runsMappers.d.ts +0 -2
  249. package/esm/models/runsMappers.d.ts.map +0 -1
  250. package/esm/models/runsMappers.js +0 -9
  251. package/esm/models/runsMappers.js.map +0 -1
  252. package/esm/models/scopeMapsMappers.d.ts +0 -2
  253. package/esm/models/scopeMapsMappers.d.ts.map +0 -1
  254. package/esm/models/scopeMapsMappers.js +0 -9
  255. package/esm/models/scopeMapsMappers.js.map +0 -1
  256. package/esm/models/tasksMappers.d.ts +0 -2
  257. package/esm/models/tasksMappers.d.ts.map +0 -1
  258. package/esm/models/tasksMappers.js +0 -9
  259. package/esm/models/tasksMappers.js.map +0 -1
  260. package/esm/models/tokensMappers.d.ts +0 -2
  261. package/esm/models/tokensMappers.d.ts.map +0 -1
  262. package/esm/models/tokensMappers.js +0 -9
  263. package/esm/models/tokensMappers.js.map +0 -1
  264. package/esm/models/webhooksMappers.d.ts +0 -2
  265. package/esm/models/webhooksMappers.d.ts.map +0 -1
  266. package/esm/models/webhooksMappers.js +0 -9
  267. package/esm/models/webhooksMappers.js.map +0 -1
  268. package/esm/operations/index.d.ts +0 -9
  269. package/esm/operations/index.d.ts.map +0 -1
  270. package/esm/operations/index.js.map +0 -1
  271. package/esm/operations/operations.d.ts +0 -46
  272. package/esm/operations/operations.d.ts.map +0 -1
  273. package/esm/operations/operations.js +0 -77
  274. package/esm/operations/operations.js.map +0 -1
  275. package/esm/operations/registries.d.ts +0 -319
  276. package/esm/operations/registries.d.ts.map +0 -1
  277. package/esm/operations/registries.js +0 -664
  278. package/esm/operations/registries.js.map +0 -1
  279. package/esm/operations/replications.d.ts +0 -135
  280. package/esm/operations/replications.d.ts.map +0 -1
  281. package/esm/operations/replications.js +0 -297
  282. package/esm/operations/replications.js.map +0 -1
  283. package/esm/operations/runs.d.ts +0 -139
  284. package/esm/operations/runs.d.ts.map +0 -1
  285. package/esm/operations/runs.js +0 -268
  286. package/esm/operations/runs.js.map +0 -1
  287. package/esm/operations/scopeMaps.d.ts +0 -135
  288. package/esm/operations/scopeMaps.d.ts.map +0 -1
  289. package/esm/operations/scopeMaps.js +0 -297
  290. package/esm/operations/scopeMaps.js.map +0 -1
  291. package/esm/operations/tasks.d.ts +0 -159
  292. package/esm/operations/tasks.d.ts.map +0 -1
  293. package/esm/operations/tasks.js +0 -330
  294. package/esm/operations/tasks.js.map +0 -1
  295. package/esm/operations/tokens.d.ts +0 -135
  296. package/esm/operations/tokens.d.ts.map +0 -1
  297. package/esm/operations/tokens.js +0 -297
  298. package/esm/operations/tokens.js.map +0 -1
  299. package/esm/operations/webhooks.d.ts +0 -225
  300. package/esm/operations/webhooks.d.ts.map +0 -1
  301. package/esm/operations/webhooks.js +0 -422
  302. package/esm/operations/webhooks.js.map +0 -1
  303. package/src/models/operationsMappers.ts +0 -17
  304. package/src/models/registriesMappers.ts +0 -81
  305. package/src/models/replicationsMappers.ts +0 -62
  306. package/src/models/runsMappers.ts +0 -63
  307. package/src/models/scopeMapsMappers.ts +0 -62
  308. package/src/models/tasksMappers.ts +0 -73
  309. package/src/models/tokensMappers.ts +0 -62
  310. package/src/models/webhooksMappers.ts +0 -74
@@ -0,0 +1,718 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { ConnectedRegistries } from "../operationsInterfaces";
11
+ import * as coreClient from "@azure/core-client";
12
+ import * as Mappers from "../models/mappers";
13
+ import * as Parameters from "../models/parameters";
14
+ import { ContainerRegistryManagementClientContext } from "../containerRegistryManagementClientContext";
15
+ import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
16
+ import { LroImpl } from "../lroImpl";
17
+ import {
18
+ ConnectedRegistry,
19
+ ConnectedRegistriesListNextOptionalParams,
20
+ ConnectedRegistriesListOptionalParams,
21
+ ConnectedRegistriesGetOptionalParams,
22
+ ConnectedRegistriesGetResponse,
23
+ ConnectedRegistriesCreateOptionalParams,
24
+ ConnectedRegistriesCreateResponse,
25
+ ConnectedRegistriesDeleteOptionalParams,
26
+ ConnectedRegistryUpdateParameters,
27
+ ConnectedRegistriesUpdateOptionalParams,
28
+ ConnectedRegistriesUpdateResponse,
29
+ ConnectedRegistriesListResponse,
30
+ ConnectedRegistriesDeactivateOptionalParams,
31
+ ConnectedRegistriesListNextResponse
32
+ } from "../models";
33
+
34
+ /// <reference lib="esnext.asynciterable" />
35
+ /** Class containing ConnectedRegistries operations. */
36
+ export class ConnectedRegistriesImpl implements ConnectedRegistries {
37
+ private readonly client: ContainerRegistryManagementClientContext;
38
+
39
+ /**
40
+ * Initialize a new instance of the class ConnectedRegistries class.
41
+ * @param client Reference to the service client
42
+ */
43
+ constructor(client: ContainerRegistryManagementClientContext) {
44
+ this.client = client;
45
+ }
46
+
47
+ /**
48
+ * Lists all connected registries for the specified container registry.
49
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
50
+ * @param registryName The name of the container registry.
51
+ * @param options The options parameters.
52
+ */
53
+ public list(
54
+ resourceGroupName: string,
55
+ registryName: string,
56
+ options?: ConnectedRegistriesListOptionalParams
57
+ ): PagedAsyncIterableIterator<ConnectedRegistry> {
58
+ const iter = this.listPagingAll(resourceGroupName, registryName, options);
59
+ return {
60
+ next() {
61
+ return iter.next();
62
+ },
63
+ [Symbol.asyncIterator]() {
64
+ return this;
65
+ },
66
+ byPage: () => {
67
+ return this.listPagingPage(resourceGroupName, registryName, options);
68
+ }
69
+ };
70
+ }
71
+
72
+ private async *listPagingPage(
73
+ resourceGroupName: string,
74
+ registryName: string,
75
+ options?: ConnectedRegistriesListOptionalParams
76
+ ): AsyncIterableIterator<ConnectedRegistry[]> {
77
+ let result = await this._list(resourceGroupName, registryName, options);
78
+ yield result.value || [];
79
+ let continuationToken = result.nextLink;
80
+ while (continuationToken) {
81
+ result = await this._listNext(
82
+ resourceGroupName,
83
+ registryName,
84
+ continuationToken,
85
+ options
86
+ );
87
+ continuationToken = result.nextLink;
88
+ yield result.value || [];
89
+ }
90
+ }
91
+
92
+ private async *listPagingAll(
93
+ resourceGroupName: string,
94
+ registryName: string,
95
+ options?: ConnectedRegistriesListOptionalParams
96
+ ): AsyncIterableIterator<ConnectedRegistry> {
97
+ for await (const page of this.listPagingPage(
98
+ resourceGroupName,
99
+ registryName,
100
+ options
101
+ )) {
102
+ yield* page;
103
+ }
104
+ }
105
+
106
+ /**
107
+ * Gets the properties of the connected registry.
108
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
109
+ * @param registryName The name of the container registry.
110
+ * @param connectedRegistryName The name of the connected registry.
111
+ * @param options The options parameters.
112
+ */
113
+ get(
114
+ resourceGroupName: string,
115
+ registryName: string,
116
+ connectedRegistryName: string,
117
+ options?: ConnectedRegistriesGetOptionalParams
118
+ ): Promise<ConnectedRegistriesGetResponse> {
119
+ return this.client.sendOperationRequest(
120
+ { resourceGroupName, registryName, connectedRegistryName, options },
121
+ getOperationSpec
122
+ );
123
+ }
124
+
125
+ /**
126
+ * Creates a connected registry for a container registry with the specified parameters.
127
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
128
+ * @param registryName The name of the container registry.
129
+ * @param connectedRegistryName The name of the connected registry.
130
+ * @param connectedRegistryCreateParameters The parameters for creating a connectedRegistry.
131
+ * @param options The options parameters.
132
+ */
133
+ async beginCreate(
134
+ resourceGroupName: string,
135
+ registryName: string,
136
+ connectedRegistryName: string,
137
+ connectedRegistryCreateParameters: ConnectedRegistry,
138
+ options?: ConnectedRegistriesCreateOptionalParams
139
+ ): Promise<
140
+ PollerLike<
141
+ PollOperationState<ConnectedRegistriesCreateResponse>,
142
+ ConnectedRegistriesCreateResponse
143
+ >
144
+ > {
145
+ const directSendOperation = async (
146
+ args: coreClient.OperationArguments,
147
+ spec: coreClient.OperationSpec
148
+ ): Promise<ConnectedRegistriesCreateResponse> => {
149
+ return this.client.sendOperationRequest(args, spec);
150
+ };
151
+ const sendOperation = async (
152
+ args: coreClient.OperationArguments,
153
+ spec: coreClient.OperationSpec
154
+ ) => {
155
+ let currentRawResponse:
156
+ | coreClient.FullOperationResponse
157
+ | undefined = undefined;
158
+ const providedCallback = args.options?.onResponse;
159
+ const callback: coreClient.RawResponseCallback = (
160
+ rawResponse: coreClient.FullOperationResponse,
161
+ flatResponse: unknown
162
+ ) => {
163
+ currentRawResponse = rawResponse;
164
+ providedCallback?.(rawResponse, flatResponse);
165
+ };
166
+ const updatedArgs = {
167
+ ...args,
168
+ options: {
169
+ ...args.options,
170
+ onResponse: callback
171
+ }
172
+ };
173
+ const flatResponse = await directSendOperation(updatedArgs, spec);
174
+ return {
175
+ flatResponse,
176
+ rawResponse: {
177
+ statusCode: currentRawResponse!.status,
178
+ body: currentRawResponse!.parsedBody,
179
+ headers: currentRawResponse!.headers.toJSON()
180
+ }
181
+ };
182
+ };
183
+
184
+ const lro = new LroImpl(
185
+ sendOperation,
186
+ {
187
+ resourceGroupName,
188
+ registryName,
189
+ connectedRegistryName,
190
+ connectedRegistryCreateParameters,
191
+ options
192
+ },
193
+ createOperationSpec
194
+ );
195
+ return new LroEngine(lro, {
196
+ resumeFrom: options?.resumeFrom,
197
+ intervalInMs: options?.updateIntervalInMs
198
+ });
199
+ }
200
+
201
+ /**
202
+ * Creates a connected registry for a container registry with the specified parameters.
203
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
204
+ * @param registryName The name of the container registry.
205
+ * @param connectedRegistryName The name of the connected registry.
206
+ * @param connectedRegistryCreateParameters The parameters for creating a connectedRegistry.
207
+ * @param options The options parameters.
208
+ */
209
+ async beginCreateAndWait(
210
+ resourceGroupName: string,
211
+ registryName: string,
212
+ connectedRegistryName: string,
213
+ connectedRegistryCreateParameters: ConnectedRegistry,
214
+ options?: ConnectedRegistriesCreateOptionalParams
215
+ ): Promise<ConnectedRegistriesCreateResponse> {
216
+ const poller = await this.beginCreate(
217
+ resourceGroupName,
218
+ registryName,
219
+ connectedRegistryName,
220
+ connectedRegistryCreateParameters,
221
+ options
222
+ );
223
+ return poller.pollUntilDone();
224
+ }
225
+
226
+ /**
227
+ * Deletes a connected registry from a container registry.
228
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
229
+ * @param registryName The name of the container registry.
230
+ * @param connectedRegistryName The name of the connected registry.
231
+ * @param options The options parameters.
232
+ */
233
+ async beginDelete(
234
+ resourceGroupName: string,
235
+ registryName: string,
236
+ connectedRegistryName: string,
237
+ options?: ConnectedRegistriesDeleteOptionalParams
238
+ ): Promise<PollerLike<PollOperationState<void>, void>> {
239
+ const directSendOperation = async (
240
+ args: coreClient.OperationArguments,
241
+ spec: coreClient.OperationSpec
242
+ ): Promise<void> => {
243
+ return this.client.sendOperationRequest(args, spec);
244
+ };
245
+ const sendOperation = async (
246
+ args: coreClient.OperationArguments,
247
+ spec: coreClient.OperationSpec
248
+ ) => {
249
+ let currentRawResponse:
250
+ | coreClient.FullOperationResponse
251
+ | undefined = undefined;
252
+ const providedCallback = args.options?.onResponse;
253
+ const callback: coreClient.RawResponseCallback = (
254
+ rawResponse: coreClient.FullOperationResponse,
255
+ flatResponse: unknown
256
+ ) => {
257
+ currentRawResponse = rawResponse;
258
+ providedCallback?.(rawResponse, flatResponse);
259
+ };
260
+ const updatedArgs = {
261
+ ...args,
262
+ options: {
263
+ ...args.options,
264
+ onResponse: callback
265
+ }
266
+ };
267
+ const flatResponse = await directSendOperation(updatedArgs, spec);
268
+ return {
269
+ flatResponse,
270
+ rawResponse: {
271
+ statusCode: currentRawResponse!.status,
272
+ body: currentRawResponse!.parsedBody,
273
+ headers: currentRawResponse!.headers.toJSON()
274
+ }
275
+ };
276
+ };
277
+
278
+ const lro = new LroImpl(
279
+ sendOperation,
280
+ { resourceGroupName, registryName, connectedRegistryName, options },
281
+ deleteOperationSpec
282
+ );
283
+ return new LroEngine(lro, {
284
+ resumeFrom: options?.resumeFrom,
285
+ intervalInMs: options?.updateIntervalInMs
286
+ });
287
+ }
288
+
289
+ /**
290
+ * Deletes a connected registry from a container registry.
291
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
292
+ * @param registryName The name of the container registry.
293
+ * @param connectedRegistryName The name of the connected registry.
294
+ * @param options The options parameters.
295
+ */
296
+ async beginDeleteAndWait(
297
+ resourceGroupName: string,
298
+ registryName: string,
299
+ connectedRegistryName: string,
300
+ options?: ConnectedRegistriesDeleteOptionalParams
301
+ ): Promise<void> {
302
+ const poller = await this.beginDelete(
303
+ resourceGroupName,
304
+ registryName,
305
+ connectedRegistryName,
306
+ options
307
+ );
308
+ return poller.pollUntilDone();
309
+ }
310
+
311
+ /**
312
+ * Updates a connected registry with the specified parameters.
313
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
314
+ * @param registryName The name of the container registry.
315
+ * @param connectedRegistryName The name of the connected registry.
316
+ * @param connectedRegistryUpdateParameters The parameters for updating a connectedRegistry.
317
+ * @param options The options parameters.
318
+ */
319
+ async beginUpdate(
320
+ resourceGroupName: string,
321
+ registryName: string,
322
+ connectedRegistryName: string,
323
+ connectedRegistryUpdateParameters: ConnectedRegistryUpdateParameters,
324
+ options?: ConnectedRegistriesUpdateOptionalParams
325
+ ): Promise<
326
+ PollerLike<
327
+ PollOperationState<ConnectedRegistriesUpdateResponse>,
328
+ ConnectedRegistriesUpdateResponse
329
+ >
330
+ > {
331
+ const directSendOperation = async (
332
+ args: coreClient.OperationArguments,
333
+ spec: coreClient.OperationSpec
334
+ ): Promise<ConnectedRegistriesUpdateResponse> => {
335
+ return this.client.sendOperationRequest(args, spec);
336
+ };
337
+ const sendOperation = async (
338
+ args: coreClient.OperationArguments,
339
+ spec: coreClient.OperationSpec
340
+ ) => {
341
+ let currentRawResponse:
342
+ | coreClient.FullOperationResponse
343
+ | undefined = undefined;
344
+ const providedCallback = args.options?.onResponse;
345
+ const callback: coreClient.RawResponseCallback = (
346
+ rawResponse: coreClient.FullOperationResponse,
347
+ flatResponse: unknown
348
+ ) => {
349
+ currentRawResponse = rawResponse;
350
+ providedCallback?.(rawResponse, flatResponse);
351
+ };
352
+ const updatedArgs = {
353
+ ...args,
354
+ options: {
355
+ ...args.options,
356
+ onResponse: callback
357
+ }
358
+ };
359
+ const flatResponse = await directSendOperation(updatedArgs, spec);
360
+ return {
361
+ flatResponse,
362
+ rawResponse: {
363
+ statusCode: currentRawResponse!.status,
364
+ body: currentRawResponse!.parsedBody,
365
+ headers: currentRawResponse!.headers.toJSON()
366
+ }
367
+ };
368
+ };
369
+
370
+ const lro = new LroImpl(
371
+ sendOperation,
372
+ {
373
+ resourceGroupName,
374
+ registryName,
375
+ connectedRegistryName,
376
+ connectedRegistryUpdateParameters,
377
+ options
378
+ },
379
+ updateOperationSpec
380
+ );
381
+ return new LroEngine(lro, {
382
+ resumeFrom: options?.resumeFrom,
383
+ intervalInMs: options?.updateIntervalInMs
384
+ });
385
+ }
386
+
387
+ /**
388
+ * Updates a connected registry with the specified parameters.
389
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
390
+ * @param registryName The name of the container registry.
391
+ * @param connectedRegistryName The name of the connected registry.
392
+ * @param connectedRegistryUpdateParameters The parameters for updating a connectedRegistry.
393
+ * @param options The options parameters.
394
+ */
395
+ async beginUpdateAndWait(
396
+ resourceGroupName: string,
397
+ registryName: string,
398
+ connectedRegistryName: string,
399
+ connectedRegistryUpdateParameters: ConnectedRegistryUpdateParameters,
400
+ options?: ConnectedRegistriesUpdateOptionalParams
401
+ ): Promise<ConnectedRegistriesUpdateResponse> {
402
+ const poller = await this.beginUpdate(
403
+ resourceGroupName,
404
+ registryName,
405
+ connectedRegistryName,
406
+ connectedRegistryUpdateParameters,
407
+ options
408
+ );
409
+ return poller.pollUntilDone();
410
+ }
411
+
412
+ /**
413
+ * Lists all connected registries for the specified container registry.
414
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
415
+ * @param registryName The name of the container registry.
416
+ * @param options The options parameters.
417
+ */
418
+ private _list(
419
+ resourceGroupName: string,
420
+ registryName: string,
421
+ options?: ConnectedRegistriesListOptionalParams
422
+ ): Promise<ConnectedRegistriesListResponse> {
423
+ return this.client.sendOperationRequest(
424
+ { resourceGroupName, registryName, options },
425
+ listOperationSpec
426
+ );
427
+ }
428
+
429
+ /**
430
+ * Deactivates the connected registry instance.
431
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
432
+ * @param registryName The name of the container registry.
433
+ * @param connectedRegistryName The name of the connected registry.
434
+ * @param options The options parameters.
435
+ */
436
+ async beginDeactivate(
437
+ resourceGroupName: string,
438
+ registryName: string,
439
+ connectedRegistryName: string,
440
+ options?: ConnectedRegistriesDeactivateOptionalParams
441
+ ): Promise<PollerLike<PollOperationState<void>, void>> {
442
+ const directSendOperation = async (
443
+ args: coreClient.OperationArguments,
444
+ spec: coreClient.OperationSpec
445
+ ): Promise<void> => {
446
+ return this.client.sendOperationRequest(args, spec);
447
+ };
448
+ const sendOperation = async (
449
+ args: coreClient.OperationArguments,
450
+ spec: coreClient.OperationSpec
451
+ ) => {
452
+ let currentRawResponse:
453
+ | coreClient.FullOperationResponse
454
+ | undefined = undefined;
455
+ const providedCallback = args.options?.onResponse;
456
+ const callback: coreClient.RawResponseCallback = (
457
+ rawResponse: coreClient.FullOperationResponse,
458
+ flatResponse: unknown
459
+ ) => {
460
+ currentRawResponse = rawResponse;
461
+ providedCallback?.(rawResponse, flatResponse);
462
+ };
463
+ const updatedArgs = {
464
+ ...args,
465
+ options: {
466
+ ...args.options,
467
+ onResponse: callback
468
+ }
469
+ };
470
+ const flatResponse = await directSendOperation(updatedArgs, spec);
471
+ return {
472
+ flatResponse,
473
+ rawResponse: {
474
+ statusCode: currentRawResponse!.status,
475
+ body: currentRawResponse!.parsedBody,
476
+ headers: currentRawResponse!.headers.toJSON()
477
+ }
478
+ };
479
+ };
480
+
481
+ const lro = new LroImpl(
482
+ sendOperation,
483
+ { resourceGroupName, registryName, connectedRegistryName, options },
484
+ deactivateOperationSpec
485
+ );
486
+ return new LroEngine(lro, {
487
+ resumeFrom: options?.resumeFrom,
488
+ intervalInMs: options?.updateIntervalInMs
489
+ });
490
+ }
491
+
492
+ /**
493
+ * Deactivates the connected registry instance.
494
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
495
+ * @param registryName The name of the container registry.
496
+ * @param connectedRegistryName The name of the connected registry.
497
+ * @param options The options parameters.
498
+ */
499
+ async beginDeactivateAndWait(
500
+ resourceGroupName: string,
501
+ registryName: string,
502
+ connectedRegistryName: string,
503
+ options?: ConnectedRegistriesDeactivateOptionalParams
504
+ ): Promise<void> {
505
+ const poller = await this.beginDeactivate(
506
+ resourceGroupName,
507
+ registryName,
508
+ connectedRegistryName,
509
+ options
510
+ );
511
+ return poller.pollUntilDone();
512
+ }
513
+
514
+ /**
515
+ * ListNext
516
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
517
+ * @param registryName The name of the container registry.
518
+ * @param nextLink The nextLink from the previous successful call to the List method.
519
+ * @param options The options parameters.
520
+ */
521
+ private _listNext(
522
+ resourceGroupName: string,
523
+ registryName: string,
524
+ nextLink: string,
525
+ options?: ConnectedRegistriesListNextOptionalParams
526
+ ): Promise<ConnectedRegistriesListNextResponse> {
527
+ return this.client.sendOperationRequest(
528
+ { resourceGroupName, registryName, nextLink, options },
529
+ listNextOperationSpec
530
+ );
531
+ }
532
+ }
533
+ // Operation Specifications
534
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
535
+
536
+ const getOperationSpec: coreClient.OperationSpec = {
537
+ path:
538
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}",
539
+ httpMethod: "GET",
540
+ responses: {
541
+ 200: {
542
+ bodyMapper: Mappers.ConnectedRegistry
543
+ },
544
+ default: {
545
+ bodyMapper: Mappers.ErrorResponse
546
+ }
547
+ },
548
+ queryParameters: [Parameters.apiVersion],
549
+ urlParameters: [
550
+ Parameters.$host,
551
+ Parameters.subscriptionId,
552
+ Parameters.resourceGroupName,
553
+ Parameters.registryName,
554
+ Parameters.connectedRegistryName
555
+ ],
556
+ headerParameters: [Parameters.accept],
557
+ serializer
558
+ };
559
+ const createOperationSpec: coreClient.OperationSpec = {
560
+ path:
561
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}",
562
+ httpMethod: "PUT",
563
+ responses: {
564
+ 200: {
565
+ bodyMapper: Mappers.ConnectedRegistry
566
+ },
567
+ 201: {
568
+ bodyMapper: Mappers.ConnectedRegistry
569
+ },
570
+ 202: {
571
+ bodyMapper: Mappers.ConnectedRegistry
572
+ },
573
+ 204: {
574
+ bodyMapper: Mappers.ConnectedRegistry
575
+ },
576
+ default: {
577
+ bodyMapper: Mappers.ErrorResponse
578
+ }
579
+ },
580
+ requestBody: Parameters.connectedRegistryCreateParameters,
581
+ queryParameters: [Parameters.apiVersion],
582
+ urlParameters: [
583
+ Parameters.$host,
584
+ Parameters.subscriptionId,
585
+ Parameters.resourceGroupName,
586
+ Parameters.registryName,
587
+ Parameters.connectedRegistryName
588
+ ],
589
+ headerParameters: [Parameters.accept, Parameters.contentType],
590
+ mediaType: "json",
591
+ serializer
592
+ };
593
+ const deleteOperationSpec: coreClient.OperationSpec = {
594
+ path:
595
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}",
596
+ httpMethod: "DELETE",
597
+ responses: {
598
+ 200: {},
599
+ 201: {},
600
+ 202: {},
601
+ 204: {},
602
+ default: {
603
+ bodyMapper: Mappers.ErrorResponse
604
+ }
605
+ },
606
+ queryParameters: [Parameters.apiVersion],
607
+ urlParameters: [
608
+ Parameters.$host,
609
+ Parameters.subscriptionId,
610
+ Parameters.resourceGroupName,
611
+ Parameters.registryName,
612
+ Parameters.connectedRegistryName
613
+ ],
614
+ headerParameters: [Parameters.accept],
615
+ serializer
616
+ };
617
+ const updateOperationSpec: coreClient.OperationSpec = {
618
+ path:
619
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}",
620
+ httpMethod: "PATCH",
621
+ responses: {
622
+ 200: {
623
+ bodyMapper: Mappers.ConnectedRegistry
624
+ },
625
+ 201: {
626
+ bodyMapper: Mappers.ConnectedRegistry
627
+ },
628
+ 202: {
629
+ bodyMapper: Mappers.ConnectedRegistry
630
+ },
631
+ 204: {
632
+ bodyMapper: Mappers.ConnectedRegistry
633
+ },
634
+ default: {
635
+ bodyMapper: Mappers.ErrorResponse
636
+ }
637
+ },
638
+ requestBody: Parameters.connectedRegistryUpdateParameters,
639
+ queryParameters: [Parameters.apiVersion],
640
+ urlParameters: [
641
+ Parameters.$host,
642
+ Parameters.subscriptionId,
643
+ Parameters.resourceGroupName,
644
+ Parameters.registryName,
645
+ Parameters.connectedRegistryName
646
+ ],
647
+ headerParameters: [Parameters.accept, Parameters.contentType],
648
+ mediaType: "json",
649
+ serializer
650
+ };
651
+ const listOperationSpec: coreClient.OperationSpec = {
652
+ path:
653
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries",
654
+ httpMethod: "GET",
655
+ responses: {
656
+ 200: {
657
+ bodyMapper: Mappers.ConnectedRegistryListResult
658
+ },
659
+ default: {
660
+ bodyMapper: Mappers.ErrorResponse
661
+ }
662
+ },
663
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
664
+ urlParameters: [
665
+ Parameters.$host,
666
+ Parameters.subscriptionId,
667
+ Parameters.resourceGroupName,
668
+ Parameters.registryName
669
+ ],
670
+ headerParameters: [Parameters.accept],
671
+ serializer
672
+ };
673
+ const deactivateOperationSpec: coreClient.OperationSpec = {
674
+ path:
675
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate",
676
+ httpMethod: "POST",
677
+ responses: {
678
+ 200: {},
679
+ 201: {},
680
+ 202: {},
681
+ 204: {},
682
+ default: {
683
+ bodyMapper: Mappers.ErrorResponse
684
+ }
685
+ },
686
+ queryParameters: [Parameters.apiVersion],
687
+ urlParameters: [
688
+ Parameters.$host,
689
+ Parameters.subscriptionId,
690
+ Parameters.resourceGroupName,
691
+ Parameters.registryName,
692
+ Parameters.connectedRegistryName
693
+ ],
694
+ headerParameters: [Parameters.accept],
695
+ serializer
696
+ };
697
+ const listNextOperationSpec: coreClient.OperationSpec = {
698
+ path: "{nextLink}",
699
+ httpMethod: "GET",
700
+ responses: {
701
+ 200: {
702
+ bodyMapper: Mappers.ConnectedRegistryListResult
703
+ },
704
+ default: {
705
+ bodyMapper: Mappers.ErrorResponse
706
+ }
707
+ },
708
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
709
+ urlParameters: [
710
+ Parameters.$host,
711
+ Parameters.subscriptionId,
712
+ Parameters.resourceGroupName,
713
+ Parameters.registryName,
714
+ Parameters.nextLink
715
+ ],
716
+ headerParameters: [Parameters.accept],
717
+ serializer
718
+ };