@azure/arm-containerregistry 11.0.0-alpha.20230919.1 → 11.0.0-alpha.20230920.2

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 (261) hide show
  1. package/CHANGELOG.md +347 -142
  2. package/dist/index.js +9206 -5067
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/archiveVersionsCreateSample.d.ts +2 -0
  7. package/dist-esm/samples-dev/archiveVersionsCreateSample.d.ts.map +1 -0
  8. package/dist-esm/samples-dev/archiveVersionsCreateSample.js +42 -0
  9. package/dist-esm/samples-dev/archiveVersionsCreateSample.js.map +1 -0
  10. package/dist-esm/samples-dev/archiveVersionsDeleteSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/archiveVersionsDeleteSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/archiveVersionsDeleteSample.js +42 -0
  13. package/dist-esm/samples-dev/archiveVersionsDeleteSample.js.map +1 -0
  14. package/dist-esm/samples-dev/archiveVersionsGetSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/archiveVersionsGetSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/archiveVersionsGetSample.js +42 -0
  17. package/dist-esm/samples-dev/archiveVersionsGetSample.js.map +1 -0
  18. package/dist-esm/samples-dev/archiveVersionsListSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/archiveVersionsListSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/archiveVersionsListSample.js +62 -0
  21. package/dist-esm/samples-dev/archiveVersionsListSample.js.map +1 -0
  22. package/dist-esm/samples-dev/archivesCreateSample.d.ts +2 -0
  23. package/dist-esm/samples-dev/archivesCreateSample.d.ts.map +1 -0
  24. package/dist-esm/samples-dev/archivesCreateSample.js +46 -0
  25. package/dist-esm/samples-dev/archivesCreateSample.js.map +1 -0
  26. package/dist-esm/samples-dev/archivesDeleteSample.d.ts +2 -0
  27. package/dist-esm/samples-dev/archivesDeleteSample.d.ts.map +1 -0
  28. package/dist-esm/samples-dev/archivesDeleteSample.js +41 -0
  29. package/dist-esm/samples-dev/archivesDeleteSample.js.map +1 -0
  30. package/dist-esm/samples-dev/archivesGetSample.d.ts +2 -0
  31. package/dist-esm/samples-dev/archivesGetSample.d.ts.map +1 -0
  32. package/dist-esm/samples-dev/archivesGetSample.js +41 -0
  33. package/dist-esm/samples-dev/archivesGetSample.js.map +1 -0
  34. package/dist-esm/samples-dev/archivesListSample.d.ts +2 -0
  35. package/dist-esm/samples-dev/archivesListSample.d.ts.map +1 -0
  36. package/dist-esm/samples-dev/archivesListSample.js +61 -0
  37. package/dist-esm/samples-dev/archivesListSample.js.map +1 -0
  38. package/dist-esm/samples-dev/archivesUpdateSample.d.ts +2 -0
  39. package/dist-esm/samples-dev/archivesUpdateSample.d.ts.map +1 -0
  40. package/dist-esm/samples-dev/archivesUpdateSample.js +44 -0
  41. package/dist-esm/samples-dev/archivesUpdateSample.js.map +1 -0
  42. package/dist-esm/samples-dev/cacheRulesCreateSample.js +1 -1
  43. package/dist-esm/samples-dev/cacheRulesDeleteSample.js +1 -1
  44. package/dist-esm/samples-dev/cacheRulesGetSample.js +1 -1
  45. package/dist-esm/samples-dev/cacheRulesListSample.js +1 -1
  46. package/dist-esm/samples-dev/cacheRulesUpdateSample.js +1 -1
  47. package/dist-esm/samples-dev/connectedRegistriesCreateSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/connectedRegistriesCreateSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/connectedRegistriesCreateSample.js +55 -0
  50. package/dist-esm/samples-dev/connectedRegistriesCreateSample.js.map +1 -0
  51. package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.js +40 -0
  54. package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.js.map +1 -0
  55. package/dist-esm/samples-dev/connectedRegistriesDeleteSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/connectedRegistriesDeleteSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/connectedRegistriesDeleteSample.js +40 -0
  58. package/dist-esm/samples-dev/connectedRegistriesDeleteSample.js.map +1 -0
  59. package/dist-esm/samples-dev/connectedRegistriesGetSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/connectedRegistriesGetSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/connectedRegistriesGetSample.js +40 -0
  62. package/dist-esm/samples-dev/connectedRegistriesGetSample.js.map +1 -0
  63. package/dist-esm/samples-dev/connectedRegistriesListSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/connectedRegistriesListSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/connectedRegistriesListSample.js +60 -0
  66. package/dist-esm/samples-dev/connectedRegistriesListSample.js.map +1 -0
  67. package/dist-esm/samples-dev/connectedRegistriesUpdateSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/connectedRegistriesUpdateSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/connectedRegistriesUpdateSample.js +53 -0
  70. package/dist-esm/samples-dev/connectedRegistriesUpdateSample.js.map +1 -0
  71. package/dist-esm/samples-dev/credentialSetsCreateSample.js +1 -1
  72. package/dist-esm/samples-dev/credentialSetsDeleteSample.js +1 -1
  73. package/dist-esm/samples-dev/credentialSetsGetSample.js +1 -1
  74. package/dist-esm/samples-dev/credentialSetsListSample.js +1 -1
  75. package/dist-esm/samples-dev/credentialSetsUpdateSample.js +1 -1
  76. package/dist-esm/samples-dev/exportPipelinesCreateSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/exportPipelinesCreateSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/exportPipelinesCreateSample.js +50 -0
  79. package/dist-esm/samples-dev/exportPipelinesCreateSample.js.map +1 -0
  80. package/dist-esm/samples-dev/exportPipelinesDeleteSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/exportPipelinesDeleteSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/exportPipelinesDeleteSample.js +40 -0
  83. package/dist-esm/samples-dev/exportPipelinesDeleteSample.js.map +1 -0
  84. package/dist-esm/samples-dev/exportPipelinesGetSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/exportPipelinesGetSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/exportPipelinesGetSample.js +40 -0
  87. package/dist-esm/samples-dev/exportPipelinesGetSample.js.map +1 -0
  88. package/dist-esm/samples-dev/exportPipelinesListSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/exportPipelinesListSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/exportPipelinesListSample.js +60 -0
  91. package/dist-esm/samples-dev/exportPipelinesListSample.js.map +1 -0
  92. package/dist-esm/samples-dev/importPipelinesCreateSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/importPipelinesCreateSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/importPipelinesCreateSample.js +55 -0
  95. package/dist-esm/samples-dev/importPipelinesCreateSample.js.map +1 -0
  96. package/dist-esm/samples-dev/importPipelinesDeleteSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/importPipelinesDeleteSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/importPipelinesDeleteSample.js +40 -0
  99. package/dist-esm/samples-dev/importPipelinesDeleteSample.js.map +1 -0
  100. package/dist-esm/samples-dev/importPipelinesGetSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/importPipelinesGetSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/importPipelinesGetSample.js +40 -0
  103. package/dist-esm/samples-dev/importPipelinesGetSample.js.map +1 -0
  104. package/dist-esm/samples-dev/importPipelinesListSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/importPipelinesListSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/importPipelinesListSample.js +60 -0
  107. package/dist-esm/samples-dev/importPipelinesListSample.js.map +1 -0
  108. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  109. package/dist-esm/samples-dev/pipelineRunsCreateSample.d.ts +2 -0
  110. package/dist-esm/samples-dev/pipelineRunsCreateSample.d.ts.map +1 -0
  111. package/dist-esm/samples-dev/pipelineRunsCreateSample.js +78 -0
  112. package/dist-esm/samples-dev/pipelineRunsCreateSample.js.map +1 -0
  113. package/dist-esm/samples-dev/pipelineRunsDeleteSample.d.ts +2 -0
  114. package/dist-esm/samples-dev/pipelineRunsDeleteSample.d.ts.map +1 -0
  115. package/dist-esm/samples-dev/pipelineRunsDeleteSample.js +40 -0
  116. package/dist-esm/samples-dev/pipelineRunsDeleteSample.js.map +1 -0
  117. package/dist-esm/samples-dev/pipelineRunsGetSample.d.ts +2 -0
  118. package/dist-esm/samples-dev/pipelineRunsGetSample.d.ts.map +1 -0
  119. package/dist-esm/samples-dev/pipelineRunsGetSample.js +40 -0
  120. package/dist-esm/samples-dev/pipelineRunsGetSample.js.map +1 -0
  121. package/dist-esm/samples-dev/pipelineRunsListSample.d.ts +2 -0
  122. package/dist-esm/samples-dev/pipelineRunsListSample.d.ts.map +1 -0
  123. package/dist-esm/samples-dev/pipelineRunsListSample.js +60 -0
  124. package/dist-esm/samples-dev/pipelineRunsListSample.js.map +1 -0
  125. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
  126. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  127. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  128. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
  129. package/dist-esm/samples-dev/registriesCheckNameAvailabilitySample.js +2 -2
  130. package/dist-esm/samples-dev/registriesCreateSample.js +2 -2
  131. package/dist-esm/samples-dev/registriesDeleteSample.js +1 -1
  132. package/dist-esm/samples-dev/registriesGenerateCredentialsSample.js +1 -1
  133. package/dist-esm/samples-dev/registriesGetPrivateLinkResourceSample.js +1 -1
  134. package/dist-esm/samples-dev/registriesGetSample.js +1 -1
  135. package/dist-esm/samples-dev/registriesImportImageSample.js +3 -3
  136. package/dist-esm/samples-dev/registriesListByResourceGroupSample.js +1 -1
  137. package/dist-esm/samples-dev/registriesListCredentialsSample.js +1 -1
  138. package/dist-esm/samples-dev/registriesListPrivateLinkResourcesSample.js +1 -1
  139. package/dist-esm/samples-dev/registriesListSample.js +1 -1
  140. package/dist-esm/samples-dev/registriesListUsagesSample.js +1 -1
  141. package/dist-esm/samples-dev/registriesRegenerateCredentialSample.js +1 -1
  142. package/dist-esm/samples-dev/registriesUpdateSample.js +1 -1
  143. package/dist-esm/samples-dev/replicationsCreateSample.js +2 -2
  144. package/dist-esm/samples-dev/replicationsDeleteSample.js +1 -1
  145. package/dist-esm/samples-dev/replicationsGetSample.js +1 -1
  146. package/dist-esm/samples-dev/replicationsListSample.js +1 -1
  147. package/dist-esm/samples-dev/replicationsUpdateSample.js +1 -1
  148. package/dist-esm/samples-dev/scopeMapsCreateSample.js +1 -1
  149. package/dist-esm/samples-dev/scopeMapsDeleteSample.js +1 -1
  150. package/dist-esm/samples-dev/scopeMapsGetSample.js +1 -1
  151. package/dist-esm/samples-dev/scopeMapsListSample.js +1 -1
  152. package/dist-esm/samples-dev/scopeMapsUpdateSample.js +1 -1
  153. package/dist-esm/samples-dev/tokensCreateSample.js +1 -1
  154. package/dist-esm/samples-dev/tokensDeleteSample.js +1 -1
  155. package/dist-esm/samples-dev/tokensGetSample.js +1 -1
  156. package/dist-esm/samples-dev/tokensListSample.js +1 -1
  157. package/dist-esm/samples-dev/tokensUpdateSample.js +1 -1
  158. package/dist-esm/samples-dev/webhooksCreateSample.js +1 -1
  159. package/dist-esm/samples-dev/webhooksDeleteSample.js +1 -1
  160. package/dist-esm/samples-dev/webhooksGetCallbackConfigSample.js +1 -1
  161. package/dist-esm/samples-dev/webhooksGetSample.js +1 -1
  162. package/dist-esm/samples-dev/webhooksListEventsSample.js +1 -1
  163. package/dist-esm/samples-dev/webhooksListSample.js +1 -1
  164. package/dist-esm/samples-dev/webhooksPingSample.js +1 -1
  165. package/dist-esm/samples-dev/webhooksUpdateSample.js +1 -1
  166. package/dist-esm/src/containerRegistryManagementClient.d.ts +7 -1
  167. package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -1
  168. package/dist-esm/src/containerRegistryManagementClient.js +8 -2
  169. package/dist-esm/src/containerRegistryManagementClient.js.map +1 -1
  170. package/dist-esm/src/models/index.d.ts +964 -21
  171. package/dist-esm/src/models/index.d.ts.map +1 -1
  172. package/dist-esm/src/models/index.js +120 -8
  173. package/dist-esm/src/models/index.js.map +1 -1
  174. package/dist-esm/src/models/mappers.d.ts +55 -1
  175. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  176. package/dist-esm/src/models/mappers.js +1406 -48
  177. package/dist-esm/src/models/mappers.js.map +1 -1
  178. package/dist-esm/src/models/parameters.d.ts +17 -3
  179. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  180. package/dist-esm/src/models/parameters.js +153 -20
  181. package/dist-esm/src/models/parameters.js.map +1 -1
  182. package/dist-esm/src/operations/archiveVersions.d.ts +95 -0
  183. package/dist-esm/src/operations/archiveVersions.d.ts.map +1 -0
  184. package/dist-esm/src/operations/archiveVersions.js +421 -0
  185. package/dist-esm/src/operations/archiveVersions.js.map +1 -0
  186. package/dist-esm/src/operations/archives.d.ts +99 -0
  187. package/dist-esm/src/operations/archives.d.ts.map +1 -0
  188. package/dist-esm/src/operations/archives.js +441 -0
  189. package/dist-esm/src/operations/archives.js.map +1 -0
  190. package/dist-esm/src/operations/connectedRegistries.d.ts +115 -0
  191. package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -0
  192. package/dist-esm/src/operations/connectedRegistries.js +549 -0
  193. package/dist-esm/src/operations/connectedRegistries.js.map +1 -0
  194. package/dist-esm/src/operations/exportPipelines.d.ts +81 -0
  195. package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -0
  196. package/dist-esm/src/operations/exportPipelines.js +369 -0
  197. package/dist-esm/src/operations/exportPipelines.js.map +1 -0
  198. package/dist-esm/src/operations/importPipelines.d.ts +81 -0
  199. package/dist-esm/src/operations/importPipelines.d.ts.map +1 -0
  200. package/dist-esm/src/operations/importPipelines.js +369 -0
  201. package/dist-esm/src/operations/importPipelines.js.map +1 -0
  202. package/dist-esm/src/operations/index.d.ts +6 -0
  203. package/dist-esm/src/operations/index.d.ts.map +1 -1
  204. package/dist-esm/src/operations/index.js +6 -0
  205. package/dist-esm/src/operations/index.js.map +1 -1
  206. package/dist-esm/src/operations/pipelineRuns.d.ts +81 -0
  207. package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -0
  208. package/dist-esm/src/operations/pipelineRuns.js +369 -0
  209. package/dist-esm/src/operations/pipelineRuns.js.map +1 -0
  210. package/dist-esm/src/operations/runs.js +1 -1
  211. package/dist-esm/src/operations/runs.js.map +1 -1
  212. package/dist-esm/src/operationsInterfaces/archiveVersions.d.ts +66 -0
  213. package/dist-esm/src/operationsInterfaces/archiveVersions.d.ts.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/archiveVersions.js +9 -0
  215. package/dist-esm/src/operationsInterfaces/archiveVersions.js.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/archives.d.ts +72 -0
  217. package/dist-esm/src/operationsInterfaces/archives.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/archives.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/archives.js.map +1 -0
  220. package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts +90 -0
  221. package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts.map +1 -0
  222. package/dist-esm/src/operationsInterfaces/connectedRegistries.js +9 -0
  223. package/dist-esm/src/operationsInterfaces/connectedRegistries.js.map +1 -0
  224. package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts +56 -0
  225. package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts.map +1 -0
  226. package/dist-esm/src/operationsInterfaces/exportPipelines.js +9 -0
  227. package/dist-esm/src/operationsInterfaces/exportPipelines.js.map +1 -0
  228. package/dist-esm/src/operationsInterfaces/importPipelines.d.ts +56 -0
  229. package/dist-esm/src/operationsInterfaces/importPipelines.d.ts.map +1 -0
  230. package/dist-esm/src/operationsInterfaces/importPipelines.js +9 -0
  231. package/dist-esm/src/operationsInterfaces/importPipelines.js.map +1 -0
  232. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  233. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  234. package/dist-esm/src/operationsInterfaces/index.js +6 -0
  235. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  236. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +56 -0
  237. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +1 -0
  238. package/dist-esm/src/operationsInterfaces/pipelineRuns.js +9 -0
  239. package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +1 -0
  240. package/package.json +3 -3
  241. package/review/arm-containerregistry.api.md +812 -0
  242. package/src/containerRegistryManagementClient.ts +25 -1
  243. package/src/models/index.ts +1132 -32
  244. package/src/models/mappers.ts +3207 -1742
  245. package/src/models/parameters.ts +174 -20
  246. package/src/operations/archiveVersions.ts +600 -0
  247. package/src/operations/archives.ts +621 -0
  248. package/src/operations/connectedRegistries.ts +757 -0
  249. package/src/operations/exportPipelines.ts +500 -0
  250. package/src/operations/importPipelines.ts +500 -0
  251. package/src/operations/index.ts +6 -0
  252. package/src/operations/pipelineRuns.ts +500 -0
  253. package/src/operations/runs.ts +1 -1
  254. package/src/operationsInterfaces/archiveVersions.ts +135 -0
  255. package/src/operationsInterfaces/archives.ts +147 -0
  256. package/src/operationsInterfaces/connectedRegistries.ts +174 -0
  257. package/src/operationsInterfaces/exportPipelines.ts +109 -0
  258. package/src/operationsInterfaces/importPipelines.ts +109 -0
  259. package/src/operationsInterfaces/index.ts +6 -0
  260. package/src/operationsInterfaces/pipelineRuns.ts +109 -0
  261. package/types/arm-containerregistry.d.ts +1512 -44
@@ -0,0 +1,60 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Lists all export pipelines for the specified container registry.
17
+ *
18
+ * @summary Lists all export pipelines for the specified container registry.
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ExportPipelineList.json
20
+ */
21
+ function exportPipelineList() {
22
+ var _a, e_1, _b, _c;
23
+ return __awaiter(this, void 0, void 0, function* () {
24
+ const subscriptionId = process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
26
+ const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
27
+ const registryName = "myRegistry";
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new ContainerRegistryManagementClient(credential, subscriptionId);
30
+ const resArray = new Array();
31
+ try {
32
+ for (var _d = true, _e = __asyncValues(client.exportPipelines.list(resourceGroupName, registryName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
33
+ _c = _f.value;
34
+ _d = false;
35
+ try {
36
+ let item = _c;
37
+ resArray.push(item);
38
+ }
39
+ finally {
40
+ _d = true;
41
+ }
42
+ }
43
+ }
44
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
45
+ finally {
46
+ try {
47
+ if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
48
+ }
49
+ finally { if (e_1) throw e_1.error; }
50
+ }
51
+ console.log(resArray);
52
+ });
53
+ }
54
+ function main() {
55
+ return __awaiter(this, void 0, void 0, function* () {
56
+ exportPipelineList();
57
+ });
58
+ }
59
+ main().catch(console.error);
60
+ //# sourceMappingURL=exportPipelinesListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exportPipelinesListSample.js","sourceRoot":"","sources":["../../samples-dev/exportPipelinesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;;QAC/B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,iBAAiB,CAAC;QACvE,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,eAAe,CAAC,IAAI,CAChD,iBAAiB,EACjB,YAAY,CACb,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=importPipelinesCreateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"importPipelinesCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/importPipelinesCreateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,55 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Creates an import pipeline for a container registry with the specified parameters.
17
+ *
18
+ * @summary Creates an import pipeline for a container registry with the specified parameters.
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineCreate.json
20
+ */
21
+ function importPipelineCreate() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ const subscriptionId = process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
25
+ const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
26
+ const registryName = "myRegistry";
27
+ const importPipelineName = "myImportPipeline";
28
+ const importPipelineCreateParameters = {
29
+ identity: {
30
+ type: "UserAssigned",
31
+ userAssignedIdentities: {
32
+ "/subscriptions/f9d7ebedAdbd4cb4B973Aaf82c136138/resourcegroups/myResourceGroup/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity2": {}
33
+ }
34
+ },
35
+ location: "westus",
36
+ options: ["OverwriteTags", "DeleteSourceBlobOnSuccess", "ContinueOnErrors"],
37
+ source: {
38
+ type: "AzureStorageBlobContainer",
39
+ keyVaultUri: "https://myvault.vault.azure.net/secrets/acrimportsas",
40
+ uri: "https://accountname.blob.core.windows.net/containername"
41
+ }
42
+ };
43
+ const credential = new DefaultAzureCredential();
44
+ const client = new ContainerRegistryManagementClient(credential, subscriptionId);
45
+ const result = yield client.importPipelines.beginCreateAndWait(resourceGroupName, registryName, importPipelineName, importPipelineCreateParameters);
46
+ console.log(result);
47
+ });
48
+ }
49
+ function main() {
50
+ return __awaiter(this, void 0, void 0, function* () {
51
+ importPipelineCreate();
52
+ });
53
+ }
54
+ main().catch(console.error);
55
+ //# sourceMappingURL=importPipelinesCreateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"importPipelinesCreateSample.js","sourceRoot":"","sources":["../../samples-dev/importPipelinesCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,EAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,iBAAiB,CAAC;QACvE,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;QAC9C,MAAM,8BAA8B,GAAmB;YACrD,QAAQ,EAAE;gBACR,IAAI,EAAE,cAAc;gBACpB,sBAAsB,EAAE;oBACtB,oJAAoJ,EAAE,EAAE;iBACzJ;aACF;YACD,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,CAAC,eAAe,EAAE,2BAA2B,EAAE,kBAAkB,CAAC;YAC3E,MAAM,EAAE;gBACN,IAAI,EAAE,2BAA2B;gBACjC,WAAW,EAAE,sDAAsD;gBACnE,GAAG,EAAE,yDAAyD;aAC/D;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,EAClB,8BAA8B,CAC/B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=importPipelinesDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"importPipelinesDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/importPipelinesDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Deletes an import pipeline from a container registry.
17
+ *
18
+ * @summary Deletes an import pipeline from a container registry.
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineDelete.json
20
+ */
21
+ function importPipelineDelete() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ const subscriptionId = process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
25
+ const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
26
+ const registryName = "myRegistry";
27
+ const importPipelineName = "myImportPipeline";
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new ContainerRegistryManagementClient(credential, subscriptionId);
30
+ const result = yield client.importPipelines.beginDeleteAndWait(resourceGroupName, registryName, importPipelineName);
31
+ console.log(result);
32
+ });
33
+ }
34
+ function main() {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ importPipelineDelete();
37
+ });
38
+ }
39
+ main().catch(console.error);
40
+ //# sourceMappingURL=importPipelinesDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"importPipelinesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/importPipelinesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,iBAAiB,CAAC;QACvE,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;QAC9C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=importPipelinesGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"importPipelinesGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/importPipelinesGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Gets the properties of the import pipeline.
17
+ *
18
+ * @summary Gets the properties of the import pipeline.
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineGet.json
20
+ */
21
+ function importPipelineGet() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ const subscriptionId = process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
25
+ const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
26
+ const registryName = "myRegistry";
27
+ const importPipelineName = "myImportPipeline";
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new ContainerRegistryManagementClient(credential, subscriptionId);
30
+ const result = yield client.importPipelines.get(resourceGroupName, registryName, importPipelineName);
31
+ console.log(result);
32
+ });
33
+ }
34
+ function main() {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ importPipelineGet();
37
+ });
38
+ }
39
+ main().catch(console.error);
40
+ //# sourceMappingURL=importPipelinesGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"importPipelinesGetSample.js","sourceRoot":"","sources":["../../samples-dev/importPipelinesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,iBAAiB,CAAC;QACvE,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;QAC9C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,GAAG,CAC7C,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;IACtB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=importPipelinesListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"importPipelinesListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/importPipelinesListSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,60 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Lists all import pipelines for the specified container registry.
17
+ *
18
+ * @summary Lists all import pipelines for the specified container registry.
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineList.json
20
+ */
21
+ function importPipelineList() {
22
+ var _a, e_1, _b, _c;
23
+ return __awaiter(this, void 0, void 0, function* () {
24
+ const subscriptionId = process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
26
+ const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
27
+ const registryName = "myRegistry";
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new ContainerRegistryManagementClient(credential, subscriptionId);
30
+ const resArray = new Array();
31
+ try {
32
+ for (var _d = true, _e = __asyncValues(client.importPipelines.list(resourceGroupName, registryName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
33
+ _c = _f.value;
34
+ _d = false;
35
+ try {
36
+ let item = _c;
37
+ resArray.push(item);
38
+ }
39
+ finally {
40
+ _d = true;
41
+ }
42
+ }
43
+ }
44
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
45
+ finally {
46
+ try {
47
+ if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
48
+ }
49
+ finally { if (e_1) throw e_1.error; }
50
+ }
51
+ console.log(resArray);
52
+ });
53
+ }
54
+ function main() {
55
+ return __awaiter(this, void 0, void 0, function* () {
56
+ importPipelineList();
57
+ });
58
+ }
59
+ main().catch(console.error);
60
+ //# sourceMappingURL=importPipelinesListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"importPipelinesListSample.js","sourceRoot":"","sources":["../../samples-dev/importPipelinesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;;QAC/B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,iBAAiB,CAAC;QACvE,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,eAAe,CAAC,IAAI,CAChD,iBAAiB,EACjB,YAAY,CACb,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all of the available Azure Container Registry REST API operations.
17
17
  *
18
18
  * @summary Lists all of the available Azure Container Registry REST API operations.
19
- * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/OperationList.json
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/OperationList.json
20
20
  */
21
21
  function operationList() {
22
22
  var _a, e_1, _b, _c;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pipelineRunsCreateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipelineRunsCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/pipelineRunsCreateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,78 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Creates a pipeline run for a container registry with the specified parameters
17
+ *
18
+ * @summary Creates a pipeline run for a container registry with the specified parameters
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunCreate_Export.json
20
+ */
21
+ function pipelineRunCreateExport() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ const subscriptionId = process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
25
+ const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
26
+ const registryName = "myRegistry";
27
+ const pipelineRunName = "myPipelineRun";
28
+ const pipelineRunCreateParameters = {
29
+ request: {
30
+ artifacts: [
31
+ "sourceRepository/hello-world",
32
+ "sourceRepository2@sha256:00000000000000000000000000000000000"
33
+ ],
34
+ pipelineResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline",
35
+ target: { name: "myblob.tar.gz", type: "AzureStorageBlob" }
36
+ }
37
+ };
38
+ const credential = new DefaultAzureCredential();
39
+ const client = new ContainerRegistryManagementClient(credential, subscriptionId);
40
+ const result = yield client.pipelineRuns.beginCreateAndWait(resourceGroupName, registryName, pipelineRunName, pipelineRunCreateParameters);
41
+ console.log(result);
42
+ });
43
+ }
44
+ /**
45
+ * This sample demonstrates how to Creates a pipeline run for a container registry with the specified parameters
46
+ *
47
+ * @summary Creates a pipeline run for a container registry with the specified parameters
48
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunCreate_Import.json
49
+ */
50
+ function pipelineRunCreateImport() {
51
+ return __awaiter(this, void 0, void 0, function* () {
52
+ const subscriptionId = process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
53
+ "00000000-0000-0000-0000-000000000000";
54
+ const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
55
+ const registryName = "myRegistry";
56
+ const pipelineRunName = "myPipelineRun";
57
+ const pipelineRunCreateParameters = {
58
+ forceUpdateTag: "2020-03-04T17:23:21.9261521+00:00",
59
+ request: {
60
+ catalogDigest: "sha256@",
61
+ pipelineResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline",
62
+ source: { name: "myblob.tar.gz", type: "AzureStorageBlob" }
63
+ }
64
+ };
65
+ const credential = new DefaultAzureCredential();
66
+ const client = new ContainerRegistryManagementClient(credential, subscriptionId);
67
+ const result = yield client.pipelineRuns.beginCreateAndWait(resourceGroupName, registryName, pipelineRunName, pipelineRunCreateParameters);
68
+ console.log(result);
69
+ });
70
+ }
71
+ function main() {
72
+ return __awaiter(this, void 0, void 0, function* () {
73
+ pipelineRunCreateExport();
74
+ pipelineRunCreateImport();
75
+ });
76
+ }
77
+ main().catch(console.error);
78
+ //# sourceMappingURL=pipelineRunsCreateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipelineRunsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/pipelineRunsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,EAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,iBAAiB,CAAC;QACvE,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,2BAA2B,GAAgB;YAC/C,OAAO,EAAE;gBACP,SAAS,EAAE;oBACT,8BAA8B;oBAC9B,8DAA8D;iBAC/D;gBACD,kBAAkB,EAChB,iLAAiL;gBACnL,MAAM,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAE;aAC5D;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,kBAAkB,CACzD,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,2BAA2B,CAC5B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,iBAAiB,CAAC;QACvE,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,2BAA2B,GAAgB;YAC/C,cAAc,EAAE,mCAAmC;YACnD,OAAO,EAAE;gBACP,aAAa,EAAE,SAAS;gBACxB,kBAAkB,EAChB,iLAAiL;gBACnL,MAAM,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAE;aAC5D;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,kBAAkB,CACzD,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,2BAA2B,CAC5B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pipelineRunsDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipelineRunsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/pipelineRunsDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Deletes a pipeline run from a container registry.
17
+ *
18
+ * @summary Deletes a pipeline run from a container registry.
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunDelete.json
20
+ */
21
+ function pipelineRunDelete() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ const subscriptionId = process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
25
+ const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
26
+ const registryName = "myRegistry";
27
+ const pipelineRunName = "myPipelineRun";
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new ContainerRegistryManagementClient(credential, subscriptionId);
30
+ const result = yield client.pipelineRuns.beginDeleteAndWait(resourceGroupName, registryName, pipelineRunName);
31
+ console.log(result);
32
+ });
33
+ }
34
+ function main() {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ pipelineRunDelete();
37
+ });
38
+ }
39
+ main().catch(console.error);
40
+ //# sourceMappingURL=pipelineRunsDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipelineRunsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/pipelineRunsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,iBAAiB,CAAC;QACvE,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,kBAAkB,CACzD,iBAAiB,EACjB,YAAY,EACZ,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;IACtB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pipelineRunsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipelineRunsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/pipelineRunsGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Gets the detailed information for a given pipeline run.
17
+ *
18
+ * @summary Gets the detailed information for a given pipeline run.
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunGet.json
20
+ */
21
+ function pipelineRunGet() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ const subscriptionId = process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
25
+ const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
26
+ const registryName = "myRegistry";
27
+ const pipelineRunName = "myPipelineRun";
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new ContainerRegistryManagementClient(credential, subscriptionId);
30
+ const result = yield client.pipelineRuns.get(resourceGroupName, registryName, pipelineRunName);
31
+ console.log(result);
32
+ });
33
+ }
34
+ function main() {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ pipelineRunGet();
37
+ });
38
+ }
39
+ main().catch(console.error);
40
+ //# sourceMappingURL=pipelineRunsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipelineRunsGetSample.js","sourceRoot":"","sources":["../../samples-dev/pipelineRunsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,cAAc;;QAC3B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,iBAAiB,CAAC;QACvE,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,GAAG,CAC1C,iBAAiB,EACjB,YAAY,EACZ,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,cAAc,EAAE,CAAC;IACnB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pipelineRunsListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipelineRunsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/pipelineRunsListSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,60 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Lists all the pipeline runs for the specified container registry.
17
+ *
18
+ * @summary Lists all the pipeline runs for the specified container registry.
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunList.json
20
+ */
21
+ function pipelineRunList() {
22
+ var _a, e_1, _b, _c;
23
+ return __awaiter(this, void 0, void 0, function* () {
24
+ const subscriptionId = process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
26
+ const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
27
+ const registryName = "myRegistry";
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new ContainerRegistryManagementClient(credential, subscriptionId);
30
+ const resArray = new Array();
31
+ try {
32
+ for (var _d = true, _e = __asyncValues(client.pipelineRuns.list(resourceGroupName, registryName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
33
+ _c = _f.value;
34
+ _d = false;
35
+ try {
36
+ let item = _c;
37
+ resArray.push(item);
38
+ }
39
+ finally {
40
+ _d = true;
41
+ }
42
+ }
43
+ }
44
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
45
+ finally {
46
+ try {
47
+ if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
48
+ }
49
+ finally { if (e_1) throw e_1.error; }
50
+ }
51
+ console.log(resArray);
52
+ });
53
+ }
54
+ function main() {
55
+ return __awaiter(this, void 0, void 0, function* () {
56
+ pipelineRunList();
57
+ });
58
+ }
59
+ main().catch(console.error);
60
+ //# sourceMappingURL=pipelineRunsListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipelineRunsListSample.js","sourceRoot":"","sources":["../../samples-dev/pipelineRunsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,eAAe;;;QAC5B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,iBAAiB,CAAC;QACvE,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,IAAI,CAC7C,iBAAiB,EACjB,YAAY,CACb,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,eAAe,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Update the state of specified private endpoint connection associated with the container registry.
17
17
  *
18
18
  * @summary Update the state of specified private endpoint connection associated with the container registry.
19
- * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/PrivateEndpointConnectionCreateOrUpdate.json
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json
20
20
  */
21
21
  function privateEndpointConnectionCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes the specified private endpoint connection associated with the container registry.
17
17
  *
18
18
  * @summary Deletes the specified private endpoint connection associated with the container registry.
19
- * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/PrivateEndpointConnectionDelete.json
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PrivateEndpointConnectionDelete.json
20
20
  */
21
21
  function privateEndpointConnectionDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the specified private endpoint connection associated with the container registry.
17
17
  *
18
18
  * @summary Get the specified private endpoint connection associated with the container registry.
19
- * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/PrivateEndpointConnectionGet.json
19
+ * x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PrivateEndpointConnectionGet.json
20
20
  */
21
21
  function privateEndpointConnectionGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {