@azure/arm-containerregistry 8.1.1 → 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 (363) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +65 -85
  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 +3282 -2937
  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/{esm → dist-esm/src}/operations/index.d.ts +3 -2
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/{esm → dist-esm/src}/operations/index.js +6 -7
  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 -32
  169. package/review/arm-containerregistry.api.md +2912 -0
  170. package/rollup.config.js +181 -30
  171. package/src/containerRegistryManagementClient.ts +78 -60
  172. package/src/containerRegistryManagementClientContext.ts +45 -43
  173. package/src/index.ts +13 -0
  174. package/src/lroImpl.ts +34 -0
  175. package/src/models/index.ts +2913 -4717
  176. package/src/models/mappers.ts +3272 -2889
  177. package/src/models/parameters.ts +342 -124
  178. package/src/operations/agentPools.ts +467 -285
  179. package/src/operations/connectedRegistries.ts +718 -0
  180. package/src/operations/exportPipelines.ts +330 -211
  181. package/src/operations/importPipelines.ts +330 -211
  182. package/src/operations/index.ts +6 -7
  183. package/src/operations/operations.ts +84 -76
  184. package/src/operations/pipelineRuns.ts +330 -211
  185. package/src/operations/privateEndpointConnections.ts +336 -208
  186. package/src/operations/registries.ts +1016 -744
  187. package/src/operations/replications.ts +433 -251
  188. package/src/operations/runs.ts +350 -237
  189. package/src/operations/scopeMaps.ts +433 -251
  190. package/src/operations/taskRuns.ts +471 -289
  191. package/src/operations/tasks.ts +453 -271
  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/src/operationsInterfaces/index.ts +23 -0
  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 +3 -3
  211. package/types/arm-containerregistry.d.ts +4991 -0
  212. package/types/tsdoc-metadata.json +11 -0
  213. package/dist/arm-containerregistry.js +0 -11195
  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 -37
  218. package/esm/containerRegistryManagementClient.d.ts.map +0 -1
  219. package/esm/containerRegistryManagementClient.js +0 -51
  220. package/esm/containerRegistryManagementClient.js.map +0 -1
  221. package/esm/containerRegistryManagementClientContext.d.ts +0 -21
  222. package/esm/containerRegistryManagementClientContext.d.ts.map +0 -1
  223. package/esm/containerRegistryManagementClientContext.js +0 -60
  224. package/esm/containerRegistryManagementClientContext.js.map +0 -1
  225. package/esm/models/agentPoolsMappers.d.ts +0 -2
  226. package/esm/models/agentPoolsMappers.d.ts.map +0 -1
  227. package/esm/models/agentPoolsMappers.js +0 -9
  228. package/esm/models/agentPoolsMappers.js.map +0 -1
  229. package/esm/models/exportPipelinesMappers.d.ts +0 -2
  230. package/esm/models/exportPipelinesMappers.d.ts.map +0 -1
  231. package/esm/models/exportPipelinesMappers.js +0 -9
  232. package/esm/models/exportPipelinesMappers.js.map +0 -1
  233. package/esm/models/importPipelinesMappers.d.ts +0 -2
  234. package/esm/models/importPipelinesMappers.d.ts.map +0 -1
  235. package/esm/models/importPipelinesMappers.js +0 -9
  236. package/esm/models/importPipelinesMappers.js.map +0 -1
  237. package/esm/models/index.d.ts +0 -5332
  238. package/esm/models/index.d.ts.map +0 -1
  239. package/esm/models/index.js +0 -8
  240. package/esm/models/index.js.map +0 -1
  241. package/esm/models/mappers.d.ts +0 -165
  242. package/esm/models/mappers.d.ts.map +0 -1
  243. package/esm/models/mappers.js.map +0 -1
  244. package/esm/models/operationsMappers.d.ts +0 -2
  245. package/esm/models/operationsMappers.d.ts.map +0 -1
  246. package/esm/models/operationsMappers.js +0 -9
  247. package/esm/models/operationsMappers.js.map +0 -1
  248. package/esm/models/parameters.d.ts +0 -24
  249. package/esm/models/parameters.d.ts.map +0 -1
  250. package/esm/models/parameters.js +0 -294
  251. package/esm/models/parameters.js.map +0 -1
  252. package/esm/models/pipelineRunsMappers.d.ts +0 -2
  253. package/esm/models/pipelineRunsMappers.d.ts.map +0 -1
  254. package/esm/models/pipelineRunsMappers.js +0 -9
  255. package/esm/models/pipelineRunsMappers.js.map +0 -1
  256. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  257. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  258. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  259. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  260. package/esm/models/registriesMappers.d.ts +0 -2
  261. package/esm/models/registriesMappers.d.ts.map +0 -1
  262. package/esm/models/registriesMappers.js +0 -9
  263. package/esm/models/registriesMappers.js.map +0 -1
  264. package/esm/models/replicationsMappers.d.ts +0 -2
  265. package/esm/models/replicationsMappers.d.ts.map +0 -1
  266. package/esm/models/replicationsMappers.js +0 -9
  267. package/esm/models/replicationsMappers.js.map +0 -1
  268. package/esm/models/runsMappers.d.ts +0 -2
  269. package/esm/models/runsMappers.d.ts.map +0 -1
  270. package/esm/models/runsMappers.js +0 -9
  271. package/esm/models/runsMappers.js.map +0 -1
  272. package/esm/models/scopeMapsMappers.d.ts +0 -2
  273. package/esm/models/scopeMapsMappers.d.ts.map +0 -1
  274. package/esm/models/scopeMapsMappers.js +0 -9
  275. package/esm/models/scopeMapsMappers.js.map +0 -1
  276. package/esm/models/taskRunsMappers.d.ts +0 -2
  277. package/esm/models/taskRunsMappers.d.ts.map +0 -1
  278. package/esm/models/taskRunsMappers.js +0 -9
  279. package/esm/models/taskRunsMappers.js.map +0 -1
  280. package/esm/models/tasksMappers.d.ts +0 -2
  281. package/esm/models/tasksMappers.d.ts.map +0 -1
  282. package/esm/models/tasksMappers.js +0 -9
  283. package/esm/models/tasksMappers.js.map +0 -1
  284. package/esm/models/tokensMappers.d.ts +0 -2
  285. package/esm/models/tokensMappers.d.ts.map +0 -1
  286. package/esm/models/tokensMappers.js +0 -9
  287. package/esm/models/tokensMappers.js.map +0 -1
  288. package/esm/models/webhooksMappers.d.ts +0 -2
  289. package/esm/models/webhooksMappers.d.ts.map +0 -1
  290. package/esm/models/webhooksMappers.js +0 -9
  291. package/esm/models/webhooksMappers.js.map +0 -1
  292. package/esm/operations/agentPools.d.ts +0 -159
  293. package/esm/operations/agentPools.d.ts.map +0 -1
  294. package/esm/operations/agentPools.js +0 -330
  295. package/esm/operations/agentPools.js.map +0 -1
  296. package/esm/operations/exportPipelines.d.ts +0 -115
  297. package/esm/operations/exportPipelines.d.ts.map +0 -1
  298. package/esm/operations/exportPipelines.js +0 -234
  299. package/esm/operations/exportPipelines.js.map +0 -1
  300. package/esm/operations/importPipelines.d.ts +0 -115
  301. package/esm/operations/importPipelines.d.ts.map +0 -1
  302. package/esm/operations/importPipelines.js +0 -234
  303. package/esm/operations/importPipelines.js.map +0 -1
  304. package/esm/operations/index.d.ts.map +0 -1
  305. package/esm/operations/index.js.map +0 -1
  306. package/esm/operations/operations.d.ts +0 -46
  307. package/esm/operations/operations.d.ts.map +0 -1
  308. package/esm/operations/operations.js +0 -77
  309. package/esm/operations/operations.js.map +0 -1
  310. package/esm/operations/pipelineRuns.d.ts +0 -115
  311. package/esm/operations/pipelineRuns.d.ts.map +0 -1
  312. package/esm/operations/pipelineRuns.js +0 -234
  313. package/esm/operations/pipelineRuns.js.map +0 -1
  314. package/esm/operations/privateEndpointConnections.d.ts +0 -117
  315. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  316. package/esm/operations/privateEndpointConnections.js +0 -236
  317. package/esm/operations/privateEndpointConnections.js.map +0 -1
  318. package/esm/operations/registries.d.ts +0 -358
  319. package/esm/operations/registries.d.ts.map +0 -1
  320. package/esm/operations/registries.js +0 -721
  321. package/esm/operations/registries.js.map +0 -1
  322. package/esm/operations/replications.d.ts +0 -135
  323. package/esm/operations/replications.d.ts.map +0 -1
  324. package/esm/operations/replications.js +0 -297
  325. package/esm/operations/replications.js.map +0 -1
  326. package/esm/operations/runs.d.ts +0 -139
  327. package/esm/operations/runs.d.ts.map +0 -1
  328. package/esm/operations/runs.js +0 -268
  329. package/esm/operations/runs.js.map +0 -1
  330. package/esm/operations/scopeMaps.d.ts +0 -135
  331. package/esm/operations/scopeMaps.d.ts.map +0 -1
  332. package/esm/operations/scopeMaps.js +0 -297
  333. package/esm/operations/scopeMaps.js.map +0 -1
  334. package/esm/operations/taskRuns.d.ts +0 -159
  335. package/esm/operations/taskRuns.d.ts.map +0 -1
  336. package/esm/operations/taskRuns.js +0 -330
  337. package/esm/operations/taskRuns.js.map +0 -1
  338. package/esm/operations/tasks.d.ts +0 -159
  339. package/esm/operations/tasks.d.ts.map +0 -1
  340. package/esm/operations/tasks.js +0 -330
  341. package/esm/operations/tasks.js.map +0 -1
  342. package/esm/operations/tokens.d.ts +0 -135
  343. package/esm/operations/tokens.d.ts.map +0 -1
  344. package/esm/operations/tokens.js +0 -297
  345. package/esm/operations/tokens.js.map +0 -1
  346. package/esm/operations/webhooks.d.ts +0 -225
  347. package/esm/operations/webhooks.d.ts.map +0 -1
  348. package/esm/operations/webhooks.js +0 -422
  349. package/esm/operations/webhooks.js.map +0 -1
  350. package/src/models/agentPoolsMappers.ts +0 -93
  351. package/src/models/exportPipelinesMappers.ts +0 -89
  352. package/src/models/importPipelinesMappers.ts +0 -89
  353. package/src/models/operationsMappers.ts +0 -17
  354. package/src/models/pipelineRunsMappers.ts +0 -89
  355. package/src/models/privateEndpointConnectionsMappers.ts +0 -89
  356. package/src/models/registriesMappers.ts +0 -108
  357. package/src/models/replicationsMappers.ts +0 -90
  358. package/src/models/runsMappers.ts +0 -93
  359. package/src/models/scopeMapsMappers.ts +0 -90
  360. package/src/models/taskRunsMappers.ts +0 -92
  361. package/src/models/tasksMappers.ts +0 -103
  362. package/src/models/tokensMappers.ts +0 -90
  363. package/src/models/webhooksMappers.ts +0 -102
package/CHANGELOG.md ADDED
@@ -0,0 +1,14 @@
1
+ ## 9.0.0-beta.1 (2021-10-20)
2
+
3
+ This is the first preview for the new version of the `@azure/arm-containerregistry` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.
4
+
5
+ While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/).
6
+
7
+ Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies.
8
+
9
+ **Noteworthy changes and features**
10
+ - Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
11
+ - Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
12
+ - List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page.
13
+ - Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`.
14
+ - The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Microsoft
3
+ Copyright (c) 2021 Microsoft
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,114 +1,94 @@
1
- ## Azure ContainerRegistryManagementClient SDK for JavaScript
1
+ # Azure ContainerRegistryManagement client library for JavaScript
2
2
 
3
- This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ContainerRegistryManagementClient.
3
+ This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure ContainerRegistryManagement client.
4
+
5
+
6
+
7
+ [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerregistry/arm-containerregistry) |
8
+ [Package (NPM)](https://www.npmjs.com/package/@azure/arm-containerregistry) |
9
+ [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-containerregistry) |
10
+ [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
+
12
+ ## Getting started
4
13
 
5
14
  ### Currently supported environments
6
15
 
7
16
  - [LTS versions of Node.js](https://nodejs.org/about/releases/)
8
- - Latest versions of Safari, Chrome, Edge, and Firefox.
17
+ - Latest versions of Safari, Chrome, Edge and Firefox.
9
18
 
10
19
  ### Prerequisites
11
20
 
12
- You must have an [Azure subscription](https://azure.microsoft.com/free/).
21
+ - An [Azure subscription][azure_sub].
13
22
 
14
- ### How to install
23
+ ### Install the `@azure/arm-containerregistry` package
15
24
 
16
- To use this SDK in your project, you will need to install two packages.
17
- - `@azure/arm-containerregistry` that contains the client.
18
- - `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory.
25
+ Install the Azure ContainerRegistryManagement client library for JavaScript with `npm`:
19
26
 
20
- Install both packages using the below command:
21
27
  ```bash
22
- npm install --save @azure/arm-containerregistry @azure/identity
28
+ npm install @azure/arm-containerregistry
23
29
  ```
24
30
 
25
- > **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features.
26
- If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options.
31
+ ### Create and authenticate a `ContainerRegistryManagementClient`
27
32
 
28
- ### How to use
33
+ To create a client object to access the Azure ContainerRegistryManagement API, you will need the `endpoint` of your Azure ContainerRegistryManagement resource and a `credential`. The Azure ContainerRegistryManagement client can use Azure Active Directory credentials to authenticate.
34
+ You can find the endpoint for your Azure ContainerRegistryManagement resource in the [Azure Portal][azure_portal].
29
35
 
30
- - If you are writing a client side browser application,
31
- - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions.
32
- - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below.
33
- - If you are writing a server side application,
34
- - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples)
35
- - Complete the set up steps required by the credential if any.
36
- - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below.
36
+ You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
37
37
 
38
- In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
39
- Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started.
38
+ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
40
39
 
41
- #### nodejs - Authentication, client creation, and get exportPipelines as an example written in JavaScript.
40
+ ```bash
41
+ npm install @azure/identity
42
+ ```
42
43
 
43
- ##### Sample code
44
+ You will also need to **register a new AAD application and grant access to Azure ContainerRegistryManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
45
+ Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
46
+
47
+ For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
44
48
 
45
49
  ```javascript
46
- const { DefaultAzureCredential } = require("@azure/identity");
47
50
  const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry");
48
- const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
49
-
50
- // Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples
51
- // Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead.
52
- const creds = new DefaultAzureCredential();
53
- const client = new ContainerRegistryManagementClient(creds, subscriptionId);
54
- const resourceGroupName = "testresourceGroupName";
55
- const registryName = "testregistryName";
56
- const exportPipelineName = "testexportPipelineName";
57
- client.exportPipelines.get(resourceGroupName, registryName, exportPipelineName).then((result) => {
58
- console.log("The result is:");
59
- console.log(result);
60
- }).catch((err) => {
61
- console.log("An error occurred:");
62
- console.error(err);
63
- });
51
+ const { DefaultAzureCredential } = require("@azure/identity");
52
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
53
+ const client = new ContainerRegistryManagementClient(new DefaultAzureCredential(), subscriptionId);
64
54
  ```
65
55
 
66
- #### browser - Authentication, client creation, and get exportPipelines as an example written in JavaScript.
67
-
68
- In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser.
69
- - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser.
70
- - Note down the client Id from the previous step and use it in the browser sample below.
71
-
72
- ##### Sample code
73
-
74
- - index.html
75
-
76
- ```html
77
- <!DOCTYPE html>
78
- <html lang="en">
79
- <head>
80
- <title>@azure/arm-containerregistry sample</title>
81
- <script src="node_modules/@azure/ms-rest-azure-js/dist/msRestAzure.js"></script>
82
- <script src="node_modules/@azure/identity/dist/index.js"></script>
83
- <script src="node_modules/@azure/arm-containerregistry/dist/arm-containerregistry.js"></script>
84
- <script type="text/javascript">
85
- const subscriptionId = "<Subscription_Id>";
86
- // Create credentials using the `@azure/identity` package.
87
- // Please note that you can also use credentials from the `@azure/ms-rest-browserauth` package instead.
88
- const credential = new InteractiveBrowserCredential(
89
- {
90
- clientId: "<client id for your Azure AD app>",
91
- tenantId: "<optional tenant for your organization>"
92
- });
93
- const client = new Azure.ArmContainerregistry.ContainerRegistryManagementClient(creds, subscriptionId);
94
- const resourceGroupName = "testresourceGroupName";
95
- const registryName = "testregistryName";
96
- const exportPipelineName = "testexportPipelineName";
97
- client.exportPipelines.get(resourceGroupName, registryName, exportPipelineName).then((result) => {
98
- console.log("The result is:");
99
- console.log(result);
100
- }).catch((err) => {
101
- console.log("An error occurred:");
102
- console.error(err);
103
- });
104
- </script>
105
- </head>
106
- <body></body>
107
- </html>
56
+ ## Key concepts
57
+
58
+ ### ContainerRegistryManagementClient
59
+
60
+ `ContainerRegistryManagementClient` is the primary interface for developers using the Azure ContainerRegistryManagement client library. Explore the methods on this client object to understand the different features of the Azure ContainerRegistryManagement service that you can access.
61
+
62
+ ## Troubleshooting
63
+
64
+ ### Logging
65
+
66
+ Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
67
+
68
+ ```javascript
69
+ const { setLogLevel } = require("@azure/logger");
70
+ setLogLevel("info");
108
71
  ```
109
72
 
73
+ For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).
74
+
75
+ ## Next steps
76
+
77
+ Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
78
+
79
+ ## Contributing
80
+
81
+ If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
82
+
110
83
  ## Related projects
111
84
 
112
- - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
85
+ - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
86
+
87
+ ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcontainerregistry%2Farm-containerregistry%2FREADME.png)
113
88
 
114
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/containerregistry/arm-containerregistry/README.png)
89
+ [azure_cli]: https://docs.microsoft.com/cli/azure
90
+ [azure_sub]: https://azure.microsoft.com/free/
91
+ [azure_sub]: https://azure.microsoft.com/free/
92
+ [azure_portal]: https://portal.azure.com
93
+ [azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
94
+ [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential