@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,162 @@
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 { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ AgentPool,
13
+ AgentPoolsListOptionalParams,
14
+ AgentPoolsGetOptionalParams,
15
+ AgentPoolsGetResponse,
16
+ AgentPoolsCreateOptionalParams,
17
+ AgentPoolsCreateResponse,
18
+ AgentPoolsDeleteOptionalParams,
19
+ AgentPoolUpdateParameters,
20
+ AgentPoolsUpdateOptionalParams,
21
+ AgentPoolsUpdateResponse,
22
+ AgentPoolsGetQueueStatusOptionalParams,
23
+ AgentPoolsGetQueueStatusResponse
24
+ } from "../models";
25
+
26
+ /// <reference lib="esnext.asynciterable" />
27
+ /** Interface representing a AgentPools. */
28
+ export interface AgentPools {
29
+ /**
30
+ * Lists all the agent pools for a specified container registry.
31
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
32
+ * @param registryName The name of the container registry.
33
+ * @param options The options parameters.
34
+ */
35
+ list(
36
+ resourceGroupName: string,
37
+ registryName: string,
38
+ options?: AgentPoolsListOptionalParams
39
+ ): PagedAsyncIterableIterator<AgentPool>;
40
+ /**
41
+ * Gets the detailed information for a given agent pool.
42
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
43
+ * @param registryName The name of the container registry.
44
+ * @param agentPoolName The name of the agent pool.
45
+ * @param options The options parameters.
46
+ */
47
+ get(
48
+ resourceGroupName: string,
49
+ registryName: string,
50
+ agentPoolName: string,
51
+ options?: AgentPoolsGetOptionalParams
52
+ ): Promise<AgentPoolsGetResponse>;
53
+ /**
54
+ * Creates an agent pool for a container registry with the specified parameters.
55
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
56
+ * @param registryName The name of the container registry.
57
+ * @param agentPoolName The name of the agent pool.
58
+ * @param agentPool The parameters of an agent pool that needs to scheduled.
59
+ * @param options The options parameters.
60
+ */
61
+ beginCreate(
62
+ resourceGroupName: string,
63
+ registryName: string,
64
+ agentPoolName: string,
65
+ agentPool: AgentPool,
66
+ options?: AgentPoolsCreateOptionalParams
67
+ ): Promise<
68
+ PollerLike<
69
+ PollOperationState<AgentPoolsCreateResponse>,
70
+ AgentPoolsCreateResponse
71
+ >
72
+ >;
73
+ /**
74
+ * Creates an agent pool for a container registry with the specified parameters.
75
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
76
+ * @param registryName The name of the container registry.
77
+ * @param agentPoolName The name of the agent pool.
78
+ * @param agentPool The parameters of an agent pool that needs to scheduled.
79
+ * @param options The options parameters.
80
+ */
81
+ beginCreateAndWait(
82
+ resourceGroupName: string,
83
+ registryName: string,
84
+ agentPoolName: string,
85
+ agentPool: AgentPool,
86
+ options?: AgentPoolsCreateOptionalParams
87
+ ): Promise<AgentPoolsCreateResponse>;
88
+ /**
89
+ * Deletes a specified agent pool resource.
90
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
91
+ * @param registryName The name of the container registry.
92
+ * @param agentPoolName The name of the agent pool.
93
+ * @param options The options parameters.
94
+ */
95
+ beginDelete(
96
+ resourceGroupName: string,
97
+ registryName: string,
98
+ agentPoolName: string,
99
+ options?: AgentPoolsDeleteOptionalParams
100
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
101
+ /**
102
+ * Deletes a specified agent pool resource.
103
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
104
+ * @param registryName The name of the container registry.
105
+ * @param agentPoolName The name of the agent pool.
106
+ * @param options The options parameters.
107
+ */
108
+ beginDeleteAndWait(
109
+ resourceGroupName: string,
110
+ registryName: string,
111
+ agentPoolName: string,
112
+ options?: AgentPoolsDeleteOptionalParams
113
+ ): Promise<void>;
114
+ /**
115
+ * Updates an agent pool with the specified parameters.
116
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
117
+ * @param registryName The name of the container registry.
118
+ * @param agentPoolName The name of the agent pool.
119
+ * @param updateParameters The parameters for updating an agent pool.
120
+ * @param options The options parameters.
121
+ */
122
+ beginUpdate(
123
+ resourceGroupName: string,
124
+ registryName: string,
125
+ agentPoolName: string,
126
+ updateParameters: AgentPoolUpdateParameters,
127
+ options?: AgentPoolsUpdateOptionalParams
128
+ ): Promise<
129
+ PollerLike<
130
+ PollOperationState<AgentPoolsUpdateResponse>,
131
+ AgentPoolsUpdateResponse
132
+ >
133
+ >;
134
+ /**
135
+ * Updates an agent pool with the specified parameters.
136
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
137
+ * @param registryName The name of the container registry.
138
+ * @param agentPoolName The name of the agent pool.
139
+ * @param updateParameters The parameters for updating an agent pool.
140
+ * @param options The options parameters.
141
+ */
142
+ beginUpdateAndWait(
143
+ resourceGroupName: string,
144
+ registryName: string,
145
+ agentPoolName: string,
146
+ updateParameters: AgentPoolUpdateParameters,
147
+ options?: AgentPoolsUpdateOptionalParams
148
+ ): Promise<AgentPoolsUpdateResponse>;
149
+ /**
150
+ * Gets the count of queued runs for a given agent pool.
151
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
152
+ * @param registryName The name of the container registry.
153
+ * @param agentPoolName The name of the agent pool.
154
+ * @param options The options parameters.
155
+ */
156
+ getQueueStatus(
157
+ resourceGroupName: string,
158
+ registryName: string,
159
+ agentPoolName: string,
160
+ options?: AgentPoolsGetQueueStatusOptionalParams
161
+ ): Promise<AgentPoolsGetQueueStatusResponse>;
162
+ }
@@ -0,0 +1,174 @@
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 { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ ConnectedRegistry,
13
+ ConnectedRegistriesListOptionalParams,
14
+ ConnectedRegistriesGetOptionalParams,
15
+ ConnectedRegistriesGetResponse,
16
+ ConnectedRegistriesCreateOptionalParams,
17
+ ConnectedRegistriesCreateResponse,
18
+ ConnectedRegistriesDeleteOptionalParams,
19
+ ConnectedRegistryUpdateParameters,
20
+ ConnectedRegistriesUpdateOptionalParams,
21
+ ConnectedRegistriesUpdateResponse,
22
+ ConnectedRegistriesDeactivateOptionalParams
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a ConnectedRegistries. */
27
+ export interface ConnectedRegistries {
28
+ /**
29
+ * Lists all connected registries for the specified container registry.
30
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
31
+ * @param registryName The name of the container registry.
32
+ * @param options The options parameters.
33
+ */
34
+ list(
35
+ resourceGroupName: string,
36
+ registryName: string,
37
+ options?: ConnectedRegistriesListOptionalParams
38
+ ): PagedAsyncIterableIterator<ConnectedRegistry>;
39
+ /**
40
+ * Gets the properties of the connected registry.
41
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
42
+ * @param registryName The name of the container registry.
43
+ * @param connectedRegistryName The name of the connected registry.
44
+ * @param options The options parameters.
45
+ */
46
+ get(
47
+ resourceGroupName: string,
48
+ registryName: string,
49
+ connectedRegistryName: string,
50
+ options?: ConnectedRegistriesGetOptionalParams
51
+ ): Promise<ConnectedRegistriesGetResponse>;
52
+ /**
53
+ * Creates a connected registry for a container registry with the specified parameters.
54
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
55
+ * @param registryName The name of the container registry.
56
+ * @param connectedRegistryName The name of the connected registry.
57
+ * @param connectedRegistryCreateParameters The parameters for creating a connectedRegistry.
58
+ * @param options The options parameters.
59
+ */
60
+ beginCreate(
61
+ resourceGroupName: string,
62
+ registryName: string,
63
+ connectedRegistryName: string,
64
+ connectedRegistryCreateParameters: ConnectedRegistry,
65
+ options?: ConnectedRegistriesCreateOptionalParams
66
+ ): Promise<
67
+ PollerLike<
68
+ PollOperationState<ConnectedRegistriesCreateResponse>,
69
+ ConnectedRegistriesCreateResponse
70
+ >
71
+ >;
72
+ /**
73
+ * Creates a connected registry for a container registry with the specified parameters.
74
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
75
+ * @param registryName The name of the container registry.
76
+ * @param connectedRegistryName The name of the connected registry.
77
+ * @param connectedRegistryCreateParameters The parameters for creating a connectedRegistry.
78
+ * @param options The options parameters.
79
+ */
80
+ beginCreateAndWait(
81
+ resourceGroupName: string,
82
+ registryName: string,
83
+ connectedRegistryName: string,
84
+ connectedRegistryCreateParameters: ConnectedRegistry,
85
+ options?: ConnectedRegistriesCreateOptionalParams
86
+ ): Promise<ConnectedRegistriesCreateResponse>;
87
+ /**
88
+ * Deletes a connected registry from a container registry.
89
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
90
+ * @param registryName The name of the container registry.
91
+ * @param connectedRegistryName The name of the connected registry.
92
+ * @param options The options parameters.
93
+ */
94
+ beginDelete(
95
+ resourceGroupName: string,
96
+ registryName: string,
97
+ connectedRegistryName: string,
98
+ options?: ConnectedRegistriesDeleteOptionalParams
99
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
100
+ /**
101
+ * Deletes a connected registry from a container registry.
102
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
103
+ * @param registryName The name of the container registry.
104
+ * @param connectedRegistryName The name of the connected registry.
105
+ * @param options The options parameters.
106
+ */
107
+ beginDeleteAndWait(
108
+ resourceGroupName: string,
109
+ registryName: string,
110
+ connectedRegistryName: string,
111
+ options?: ConnectedRegistriesDeleteOptionalParams
112
+ ): Promise<void>;
113
+ /**
114
+ * Updates a connected registry with the specified parameters.
115
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
116
+ * @param registryName The name of the container registry.
117
+ * @param connectedRegistryName The name of the connected registry.
118
+ * @param connectedRegistryUpdateParameters The parameters for updating a connectedRegistry.
119
+ * @param options The options parameters.
120
+ */
121
+ beginUpdate(
122
+ resourceGroupName: string,
123
+ registryName: string,
124
+ connectedRegistryName: string,
125
+ connectedRegistryUpdateParameters: ConnectedRegistryUpdateParameters,
126
+ options?: ConnectedRegistriesUpdateOptionalParams
127
+ ): Promise<
128
+ PollerLike<
129
+ PollOperationState<ConnectedRegistriesUpdateResponse>,
130
+ ConnectedRegistriesUpdateResponse
131
+ >
132
+ >;
133
+ /**
134
+ * Updates a connected registry with the specified parameters.
135
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
136
+ * @param registryName The name of the container registry.
137
+ * @param connectedRegistryName The name of the connected registry.
138
+ * @param connectedRegistryUpdateParameters The parameters for updating a connectedRegistry.
139
+ * @param options The options parameters.
140
+ */
141
+ beginUpdateAndWait(
142
+ resourceGroupName: string,
143
+ registryName: string,
144
+ connectedRegistryName: string,
145
+ connectedRegistryUpdateParameters: ConnectedRegistryUpdateParameters,
146
+ options?: ConnectedRegistriesUpdateOptionalParams
147
+ ): Promise<ConnectedRegistriesUpdateResponse>;
148
+ /**
149
+ * Deactivates the connected registry instance.
150
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
151
+ * @param registryName The name of the container registry.
152
+ * @param connectedRegistryName The name of the connected registry.
153
+ * @param options The options parameters.
154
+ */
155
+ beginDeactivate(
156
+ resourceGroupName: string,
157
+ registryName: string,
158
+ connectedRegistryName: string,
159
+ options?: ConnectedRegistriesDeactivateOptionalParams
160
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
161
+ /**
162
+ * Deactivates the connected registry instance.
163
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
164
+ * @param registryName The name of the container registry.
165
+ * @param connectedRegistryName The name of the connected registry.
166
+ * @param options The options parameters.
167
+ */
168
+ beginDeactivateAndWait(
169
+ resourceGroupName: string,
170
+ registryName: string,
171
+ connectedRegistryName: string,
172
+ options?: ConnectedRegistriesDeactivateOptionalParams
173
+ ): Promise<void>;
174
+ }
@@ -0,0 +1,109 @@
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 { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ ExportPipeline,
13
+ ExportPipelinesListOptionalParams,
14
+ ExportPipelinesGetOptionalParams,
15
+ ExportPipelinesGetResponse,
16
+ ExportPipelinesCreateOptionalParams,
17
+ ExportPipelinesCreateResponse,
18
+ ExportPipelinesDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a ExportPipelines. */
23
+ export interface ExportPipelines {
24
+ /**
25
+ * Lists all export pipelines for the specified container registry.
26
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
27
+ * @param registryName The name of the container registry.
28
+ * @param options The options parameters.
29
+ */
30
+ list(
31
+ resourceGroupName: string,
32
+ registryName: string,
33
+ options?: ExportPipelinesListOptionalParams
34
+ ): PagedAsyncIterableIterator<ExportPipeline>;
35
+ /**
36
+ * Gets the properties of the export pipeline.
37
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
38
+ * @param registryName The name of the container registry.
39
+ * @param exportPipelineName The name of the export pipeline.
40
+ * @param options The options parameters.
41
+ */
42
+ get(
43
+ resourceGroupName: string,
44
+ registryName: string,
45
+ exportPipelineName: string,
46
+ options?: ExportPipelinesGetOptionalParams
47
+ ): Promise<ExportPipelinesGetResponse>;
48
+ /**
49
+ * Creates an export pipeline for a container registry with the specified parameters.
50
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
51
+ * @param registryName The name of the container registry.
52
+ * @param exportPipelineName The name of the export pipeline.
53
+ * @param exportPipelineCreateParameters The parameters for creating an export pipeline.
54
+ * @param options The options parameters.
55
+ */
56
+ beginCreate(
57
+ resourceGroupName: string,
58
+ registryName: string,
59
+ exportPipelineName: string,
60
+ exportPipelineCreateParameters: ExportPipeline,
61
+ options?: ExportPipelinesCreateOptionalParams
62
+ ): Promise<
63
+ PollerLike<
64
+ PollOperationState<ExportPipelinesCreateResponse>,
65
+ ExportPipelinesCreateResponse
66
+ >
67
+ >;
68
+ /**
69
+ * Creates an export pipeline for a container registry with the specified parameters.
70
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
71
+ * @param registryName The name of the container registry.
72
+ * @param exportPipelineName The name of the export pipeline.
73
+ * @param exportPipelineCreateParameters The parameters for creating an export pipeline.
74
+ * @param options The options parameters.
75
+ */
76
+ beginCreateAndWait(
77
+ resourceGroupName: string,
78
+ registryName: string,
79
+ exportPipelineName: string,
80
+ exportPipelineCreateParameters: ExportPipeline,
81
+ options?: ExportPipelinesCreateOptionalParams
82
+ ): Promise<ExportPipelinesCreateResponse>;
83
+ /**
84
+ * Deletes an export pipeline from a container registry.
85
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
86
+ * @param registryName The name of the container registry.
87
+ * @param exportPipelineName The name of the export pipeline.
88
+ * @param options The options parameters.
89
+ */
90
+ beginDelete(
91
+ resourceGroupName: string,
92
+ registryName: string,
93
+ exportPipelineName: string,
94
+ options?: ExportPipelinesDeleteOptionalParams
95
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
96
+ /**
97
+ * Deletes an export pipeline from a container registry.
98
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
99
+ * @param registryName The name of the container registry.
100
+ * @param exportPipelineName The name of the export pipeline.
101
+ * @param options The options parameters.
102
+ */
103
+ beginDeleteAndWait(
104
+ resourceGroupName: string,
105
+ registryName: string,
106
+ exportPipelineName: string,
107
+ options?: ExportPipelinesDeleteOptionalParams
108
+ ): Promise<void>;
109
+ }
@@ -0,0 +1,109 @@
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 { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ ImportPipeline,
13
+ ImportPipelinesListOptionalParams,
14
+ ImportPipelinesGetOptionalParams,
15
+ ImportPipelinesGetResponse,
16
+ ImportPipelinesCreateOptionalParams,
17
+ ImportPipelinesCreateResponse,
18
+ ImportPipelinesDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a ImportPipelines. */
23
+ export interface ImportPipelines {
24
+ /**
25
+ * Lists all import pipelines for the specified container registry.
26
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
27
+ * @param registryName The name of the container registry.
28
+ * @param options The options parameters.
29
+ */
30
+ list(
31
+ resourceGroupName: string,
32
+ registryName: string,
33
+ options?: ImportPipelinesListOptionalParams
34
+ ): PagedAsyncIterableIterator<ImportPipeline>;
35
+ /**
36
+ * Gets the properties of the import pipeline.
37
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
38
+ * @param registryName The name of the container registry.
39
+ * @param importPipelineName The name of the import pipeline.
40
+ * @param options The options parameters.
41
+ */
42
+ get(
43
+ resourceGroupName: string,
44
+ registryName: string,
45
+ importPipelineName: string,
46
+ options?: ImportPipelinesGetOptionalParams
47
+ ): Promise<ImportPipelinesGetResponse>;
48
+ /**
49
+ * Creates an import pipeline for a container registry with the specified parameters.
50
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
51
+ * @param registryName The name of the container registry.
52
+ * @param importPipelineName The name of the import pipeline.
53
+ * @param importPipelineCreateParameters The parameters for creating an import pipeline.
54
+ * @param options The options parameters.
55
+ */
56
+ beginCreate(
57
+ resourceGroupName: string,
58
+ registryName: string,
59
+ importPipelineName: string,
60
+ importPipelineCreateParameters: ImportPipeline,
61
+ options?: ImportPipelinesCreateOptionalParams
62
+ ): Promise<
63
+ PollerLike<
64
+ PollOperationState<ImportPipelinesCreateResponse>,
65
+ ImportPipelinesCreateResponse
66
+ >
67
+ >;
68
+ /**
69
+ * Creates an import pipeline for a container registry with the specified parameters.
70
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
71
+ * @param registryName The name of the container registry.
72
+ * @param importPipelineName The name of the import pipeline.
73
+ * @param importPipelineCreateParameters The parameters for creating an import pipeline.
74
+ * @param options The options parameters.
75
+ */
76
+ beginCreateAndWait(
77
+ resourceGroupName: string,
78
+ registryName: string,
79
+ importPipelineName: string,
80
+ importPipelineCreateParameters: ImportPipeline,
81
+ options?: ImportPipelinesCreateOptionalParams
82
+ ): Promise<ImportPipelinesCreateResponse>;
83
+ /**
84
+ * Deletes an import pipeline from a container registry.
85
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
86
+ * @param registryName The name of the container registry.
87
+ * @param importPipelineName The name of the import pipeline.
88
+ * @param options The options parameters.
89
+ */
90
+ beginDelete(
91
+ resourceGroupName: string,
92
+ registryName: string,
93
+ importPipelineName: string,
94
+ options?: ImportPipelinesDeleteOptionalParams
95
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
96
+ /**
97
+ * Deletes an import pipeline from a container registry.
98
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
99
+ * @param registryName The name of the container registry.
100
+ * @param importPipelineName The name of the import pipeline.
101
+ * @param options The options parameters.
102
+ */
103
+ beginDeleteAndWait(
104
+ resourceGroupName: string,
105
+ registryName: string,
106
+ importPipelineName: string,
107
+ options?: ImportPipelinesDeleteOptionalParams
108
+ ): Promise<void>;
109
+ }
@@ -1,18 +1,23 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
8
+
9
+ export * from "./connectedRegistries";
10
+ export * from "./exportPipelines";
10
11
  export * from "./registries";
12
+ export * from "./importPipelines";
11
13
  export * from "./operations";
14
+ export * from "./pipelineRuns";
15
+ export * from "./privateEndpointConnections";
12
16
  export * from "./replications";
17
+ export * from "./scopeMaps";
18
+ export * from "./tokens";
13
19
  export * from "./webhooks";
20
+ export * from "./agentPools";
14
21
  export * from "./runs";
22
+ export * from "./taskRuns";
15
23
  export * from "./tasks";
16
- export * from "./scopeMaps";
17
- export * from "./tokens";
18
- //# sourceMappingURL=index.js.map
@@ -0,0 +1,22 @@
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 { OperationDefinition, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Lists all of the available Azure Container Registry REST API operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<OperationDefinition>;
22
+ }