@azure/arm-containerregistry 11.0.0-alpha.20230919.1 → 11.0.0-alpha.20230921.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.
- package/CHANGELOG.md +212 -7
- package/dist/index.js +9206 -5067
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/archiveVersionsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/archiveVersionsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/archiveVersionsCreateSample.js +42 -0
- package/dist-esm/samples-dev/archiveVersionsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/archiveVersionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/archiveVersionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/archiveVersionsDeleteSample.js +42 -0
- package/dist-esm/samples-dev/archiveVersionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/archiveVersionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/archiveVersionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/archiveVersionsGetSample.js +42 -0
- package/dist-esm/samples-dev/archiveVersionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/archiveVersionsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/archiveVersionsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/archiveVersionsListSample.js +62 -0
- package/dist-esm/samples-dev/archiveVersionsListSample.js.map +1 -0
- package/dist-esm/samples-dev/archivesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/archivesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/archivesCreateSample.js +46 -0
- package/dist-esm/samples-dev/archivesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/archivesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/archivesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/archivesDeleteSample.js +41 -0
- package/dist-esm/samples-dev/archivesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/archivesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/archivesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/archivesGetSample.js +41 -0
- package/dist-esm/samples-dev/archivesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/archivesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/archivesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/archivesListSample.js +61 -0
- package/dist-esm/samples-dev/archivesListSample.js.map +1 -0
- package/dist-esm/samples-dev/archivesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/archivesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/archivesUpdateSample.js +44 -0
- package/dist-esm/samples-dev/archivesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/cacheRulesCreateSample.js +1 -1
- package/dist-esm/samples-dev/cacheRulesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cacheRulesGetSample.js +1 -1
- package/dist-esm/samples-dev/cacheRulesListSample.js +1 -1
- package/dist-esm/samples-dev/cacheRulesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/connectedRegistriesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectedRegistriesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectedRegistriesCreateSample.js +55 -0
- package/dist-esm/samples-dev/connectedRegistriesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.js +40 -0
- package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.js.map +1 -0
- package/dist-esm/samples-dev/connectedRegistriesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectedRegistriesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectedRegistriesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/connectedRegistriesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/connectedRegistriesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectedRegistriesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectedRegistriesGetSample.js +40 -0
- package/dist-esm/samples-dev/connectedRegistriesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/connectedRegistriesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectedRegistriesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectedRegistriesListSample.js +60 -0
- package/dist-esm/samples-dev/connectedRegistriesListSample.js.map +1 -0
- package/dist-esm/samples-dev/connectedRegistriesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectedRegistriesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectedRegistriesUpdateSample.js +53 -0
- package/dist-esm/samples-dev/connectedRegistriesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialSetsCreateSample.js +1 -1
- package/dist-esm/samples-dev/credentialSetsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/credentialSetsGetSample.js +1 -1
- package/dist-esm/samples-dev/credentialSetsListSample.js +1 -1
- package/dist-esm/samples-dev/credentialSetsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/exportPipelinesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportPipelinesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportPipelinesCreateSample.js +50 -0
- package/dist-esm/samples-dev/exportPipelinesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/exportPipelinesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportPipelinesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportPipelinesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/exportPipelinesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/exportPipelinesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportPipelinesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportPipelinesGetSample.js +40 -0
- package/dist-esm/samples-dev/exportPipelinesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/exportPipelinesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportPipelinesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportPipelinesListSample.js +60 -0
- package/dist-esm/samples-dev/exportPipelinesListSample.js.map +1 -0
- package/dist-esm/samples-dev/importPipelinesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/importPipelinesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importPipelinesCreateSample.js +55 -0
- package/dist-esm/samples-dev/importPipelinesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/importPipelinesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/importPipelinesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importPipelinesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/importPipelinesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/importPipelinesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/importPipelinesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importPipelinesGetSample.js +40 -0
- package/dist-esm/samples-dev/importPipelinesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/importPipelinesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/importPipelinesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importPipelinesListSample.js +60 -0
- package/dist-esm/samples-dev/importPipelinesListSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/pipelineRunsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/pipelineRunsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/pipelineRunsCreateSample.js +78 -0
- package/dist-esm/samples-dev/pipelineRunsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/pipelineRunsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/pipelineRunsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/pipelineRunsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/pipelineRunsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/pipelineRunsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/pipelineRunsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/pipelineRunsGetSample.js +40 -0
- package/dist-esm/samples-dev/pipelineRunsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/pipelineRunsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/pipelineRunsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/pipelineRunsListSample.js +60 -0
- package/dist-esm/samples-dev/pipelineRunsListSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/registriesCheckNameAvailabilitySample.js +2 -2
- package/dist-esm/samples-dev/registriesCreateSample.js +2 -2
- package/dist-esm/samples-dev/registriesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/registriesGenerateCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/registriesGetPrivateLinkResourceSample.js +1 -1
- package/dist-esm/samples-dev/registriesGetSample.js +1 -1
- package/dist-esm/samples-dev/registriesImportImageSample.js +3 -3
- package/dist-esm/samples-dev/registriesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/registriesListCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/registriesListPrivateLinkResourcesSample.js +1 -1
- package/dist-esm/samples-dev/registriesListSample.js +1 -1
- package/dist-esm/samples-dev/registriesListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/registriesRegenerateCredentialSample.js +1 -1
- package/dist-esm/samples-dev/registriesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/replicationsCreateSample.js +2 -2
- package/dist-esm/samples-dev/replicationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationsListSample.js +1 -1
- package/dist-esm/samples-dev/replicationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsCreateSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsGetSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsListSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/tokensCreateSample.js +1 -1
- package/dist-esm/samples-dev/tokensDeleteSample.js +1 -1
- package/dist-esm/samples-dev/tokensGetSample.js +1 -1
- package/dist-esm/samples-dev/tokensListSample.js +1 -1
- package/dist-esm/samples-dev/tokensUpdateSample.js +1 -1
- package/dist-esm/samples-dev/webhooksCreateSample.js +1 -1
- package/dist-esm/samples-dev/webhooksDeleteSample.js +1 -1
- package/dist-esm/samples-dev/webhooksGetCallbackConfigSample.js +1 -1
- package/dist-esm/samples-dev/webhooksGetSample.js +1 -1
- package/dist-esm/samples-dev/webhooksListEventsSample.js +1 -1
- package/dist-esm/samples-dev/webhooksListSample.js +1 -1
- package/dist-esm/samples-dev/webhooksPingSample.js +1 -1
- package/dist-esm/samples-dev/webhooksUpdateSample.js +1 -1
- package/dist-esm/src/containerRegistryManagementClient.d.ts +7 -1
- package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist-esm/src/containerRegistryManagementClient.js +8 -2
- package/dist-esm/src/containerRegistryManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +964 -21
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +120 -8
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +55 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1406 -48
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +17 -3
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +153 -20
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/archiveVersions.d.ts +95 -0
- package/dist-esm/src/operations/archiveVersions.d.ts.map +1 -0
- package/dist-esm/src/operations/archiveVersions.js +421 -0
- package/dist-esm/src/operations/archiveVersions.js.map +1 -0
- package/dist-esm/src/operations/archives.d.ts +99 -0
- package/dist-esm/src/operations/archives.d.ts.map +1 -0
- package/dist-esm/src/operations/archives.js +441 -0
- package/dist-esm/src/operations/archives.js.map +1 -0
- package/dist-esm/src/operations/connectedRegistries.d.ts +115 -0
- package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -0
- package/dist-esm/src/operations/connectedRegistries.js +549 -0
- package/dist-esm/src/operations/connectedRegistries.js.map +1 -0
- package/dist-esm/src/operations/exportPipelines.d.ts +81 -0
- package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -0
- package/dist-esm/src/operations/exportPipelines.js +369 -0
- package/dist-esm/src/operations/exportPipelines.js.map +1 -0
- package/dist-esm/src/operations/importPipelines.d.ts +81 -0
- package/dist-esm/src/operations/importPipelines.d.ts.map +1 -0
- package/dist-esm/src/operations/importPipelines.js +369 -0
- package/dist-esm/src/operations/importPipelines.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +6 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +6 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/pipelineRuns.d.ts +81 -0
- package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -0
- package/dist-esm/src/operations/pipelineRuns.js +369 -0
- package/dist-esm/src/operations/pipelineRuns.js.map +1 -0
- package/dist-esm/src/operations/runs.js +1 -1
- package/dist-esm/src/operations/runs.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/archiveVersions.d.ts +66 -0
- package/dist-esm/src/operationsInterfaces/archiveVersions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/archiveVersions.js +9 -0
- package/dist-esm/src/operationsInterfaces/archiveVersions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/archives.d.ts +72 -0
- package/dist-esm/src/operationsInterfaces/archives.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/archives.js +9 -0
- package/dist-esm/src/operationsInterfaces/archives.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts +90 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js +9 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.js +9 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.js +9 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +6 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js +9 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +1 -0
- package/package.json +3 -3
- package/review/arm-containerregistry.api.md +812 -0
- package/src/containerRegistryManagementClient.ts +25 -1
- package/src/models/index.ts +1132 -32
- package/src/models/mappers.ts +3207 -1742
- package/src/models/parameters.ts +174 -20
- package/src/operations/archiveVersions.ts +600 -0
- package/src/operations/archives.ts +621 -0
- package/src/operations/connectedRegistries.ts +757 -0
- package/src/operations/exportPipelines.ts +500 -0
- package/src/operations/importPipelines.ts +500 -0
- package/src/operations/index.ts +6 -0
- package/src/operations/pipelineRuns.ts +500 -0
- package/src/operations/runs.ts +1 -1
- package/src/operationsInterfaces/archiveVersions.ts +135 -0
- package/src/operationsInterfaces/archives.ts +147 -0
- package/src/operationsInterfaces/connectedRegistries.ts +174 -0
- package/src/operationsInterfaces/exportPipelines.ts +109 -0
- package/src/operationsInterfaces/importPipelines.ts +109 -0
- package/src/operationsInterfaces/index.ts +6 -0
- package/src/operationsInterfaces/pipelineRuns.ts +109 -0
- 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 @@
|
|
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 @@
|
|
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 @@
|
|
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 @@
|
|
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/
|
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 @@
|
|
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 @@
|
|
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 @@
|
|
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 @@
|
|
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/
|
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/
|
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/
|
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* () {
|