@azure/arm-containerregistry 10.1.0-beta.5 → 10.1.0
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 +1 -154
- package/README.md +1 -1
- package/dist/index.js +3936 -8160
- 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/operationsListSample.js +1 -1
- 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 +1 -7
- package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist-esm/src/containerRegistryManagementClient.js +2 -8
- package/dist-esm/src/containerRegistryManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +206 -1202
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +36 -156
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +7 -62
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +265 -1674
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +5 -20
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +29 -155
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/agentPools.js +4 -4
- package/dist-esm/src/operations/agentPools.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +0 -6
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/registries.js +6 -6
- package/dist-esm/src/operations/registries.js.map +1 -1
- package/dist-esm/src/operations/replications.js +2 -2
- package/dist-esm/src/operations/replications.js.map +1 -1
- package/dist-esm/src/operations/runs.js +4 -4
- package/dist-esm/src/operations/runs.js.map +1 -1
- package/dist-esm/src/operations/scopeMaps.js +2 -2
- package/dist-esm/src/operations/scopeMaps.js.map +1 -1
- package/dist-esm/src/operations/taskRuns.js +4 -4
- package/dist-esm/src/operations/taskRuns.js.map +1 -1
- package/dist-esm/src/operations/tasks.js +4 -4
- package/dist-esm/src/operations/tasks.js.map +1 -1
- package/dist-esm/src/operations/tokens.js +2 -2
- package/dist-esm/src/operations/tokens.js.map +1 -1
- package/dist-esm/src/operations/webhooks.js +2 -2
- package/dist-esm/src/operations/webhooks.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -6
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-containerregistry.api.md +22 -860
- package/src/containerRegistryManagementClient.ts +1 -25
- package/src/models/index.ts +283 -1440
- package/src/models/mappers.ts +1019 -2533
- package/src/models/parameters.ts +30 -180
- package/src/operations/agentPools.ts +4 -4
- package/src/operations/index.ts +0 -6
- package/src/operations/privateEndpointConnections.ts +1 -1
- package/src/operations/registries.ts +6 -6
- package/src/operations/replications.ts +2 -2
- package/src/operations/runs.ts +4 -4
- package/src/operations/scopeMaps.ts +2 -2
- package/src/operations/taskRuns.ts +4 -4
- package/src/operations/tasks.ts +4 -4
- package/src/operations/tokens.ts +2 -2
- package/src/operations/webhooks.ts +2 -2
- package/src/operationsInterfaces/index.ts +0 -6
- package/types/arm-containerregistry.d.ts +78 -1612
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/cacheRulesCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/cacheRulesCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cacheRulesCreateSample.js +0 -45
- package/dist-esm/samples-dev/cacheRulesCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/cacheRulesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/cacheRulesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cacheRulesDeleteSample.js +0 -40
- package/dist-esm/samples-dev/cacheRulesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/cacheRulesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/cacheRulesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cacheRulesGetSample.js +0 -40
- package/dist-esm/samples-dev/cacheRulesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/cacheRulesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/cacheRulesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cacheRulesListSample.js +0 -53
- package/dist-esm/samples-dev/cacheRulesListSample.js.map +0 -1
- package/dist-esm/samples-dev/cacheRulesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/cacheRulesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cacheRulesUpdateSample.js +0 -43
- package/dist-esm/samples-dev/cacheRulesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectedRegistriesCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesCreateSample.js +0 -55
- package/dist-esm/samples-dev/connectedRegistriesCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.js +0 -40
- package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.js.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectedRegistriesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesDeleteSample.js +0 -40
- package/dist-esm/samples-dev/connectedRegistriesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectedRegistriesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesGetSample.js +0 -40
- package/dist-esm/samples-dev/connectedRegistriesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectedRegistriesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesListSample.js +0 -53
- package/dist-esm/samples-dev/connectedRegistriesListSample.js.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/connectedRegistriesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/connectedRegistriesUpdateSample.js +0 -53
- package/dist-esm/samples-dev/connectedRegistriesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/credentialSetsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/credentialSetsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/credentialSetsCreateSample.js +0 -51
- package/dist-esm/samples-dev/credentialSetsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/credentialSetsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/credentialSetsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/credentialSetsDeleteSample.js +0 -40
- package/dist-esm/samples-dev/credentialSetsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/credentialSetsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/credentialSetsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/credentialSetsGetSample.js +0 -40
- package/dist-esm/samples-dev/credentialSetsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/credentialSetsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/credentialSetsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/credentialSetsListSample.js +0 -53
- package/dist-esm/samples-dev/credentialSetsListSample.js.map +0 -1
- package/dist-esm/samples-dev/credentialSetsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/credentialSetsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/credentialSetsUpdateSample.js +0 -49
- package/dist-esm/samples-dev/credentialSetsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/exportPipelinesCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/exportPipelinesCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/exportPipelinesCreateSample.js +0 -50
- package/dist-esm/samples-dev/exportPipelinesCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/exportPipelinesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/exportPipelinesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/exportPipelinesDeleteSample.js +0 -40
- package/dist-esm/samples-dev/exportPipelinesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/exportPipelinesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/exportPipelinesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/exportPipelinesGetSample.js +0 -40
- package/dist-esm/samples-dev/exportPipelinesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/exportPipelinesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/exportPipelinesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/exportPipelinesListSample.js +0 -53
- package/dist-esm/samples-dev/exportPipelinesListSample.js.map +0 -1
- package/dist-esm/samples-dev/importPipelinesCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/importPipelinesCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/importPipelinesCreateSample.js +0 -55
- package/dist-esm/samples-dev/importPipelinesCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/importPipelinesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/importPipelinesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/importPipelinesDeleteSample.js +0 -40
- package/dist-esm/samples-dev/importPipelinesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/importPipelinesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/importPipelinesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/importPipelinesGetSample.js +0 -40
- package/dist-esm/samples-dev/importPipelinesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/importPipelinesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/importPipelinesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/importPipelinesListSample.js +0 -53
- package/dist-esm/samples-dev/importPipelinesListSample.js.map +0 -1
- package/dist-esm/samples-dev/pipelineRunsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/pipelineRunsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/pipelineRunsCreateSample.js +0 -78
- package/dist-esm/samples-dev/pipelineRunsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/pipelineRunsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/pipelineRunsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/pipelineRunsDeleteSample.js +0 -40
- package/dist-esm/samples-dev/pipelineRunsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/pipelineRunsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/pipelineRunsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/pipelineRunsGetSample.js +0 -40
- package/dist-esm/samples-dev/pipelineRunsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/pipelineRunsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/pipelineRunsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/pipelineRunsListSample.js +0 -53
- package/dist-esm/samples-dev/pipelineRunsListSample.js.map +0 -1
- package/dist-esm/src/operations/cacheRules.d.ts +0 -99
- package/dist-esm/src/operations/cacheRules.d.ts.map +0 -1
- package/dist-esm/src/operations/cacheRules.js +0 -461
- package/dist-esm/src/operations/cacheRules.js.map +0 -1
- package/dist-esm/src/operations/connectedRegistries.d.ts +0 -115
- package/dist-esm/src/operations/connectedRegistries.d.ts.map +0 -1
- package/dist-esm/src/operations/connectedRegistries.js +0 -542
- package/dist-esm/src/operations/connectedRegistries.js.map +0 -1
- package/dist-esm/src/operations/credentialSets.d.ts +0 -99
- package/dist-esm/src/operations/credentialSets.d.ts.map +0 -1
- package/dist-esm/src/operations/credentialSets.js +0 -461
- package/dist-esm/src/operations/credentialSets.js.map +0 -1
- package/dist-esm/src/operations/exportPipelines.d.ts +0 -81
- package/dist-esm/src/operations/exportPipelines.d.ts.map +0 -1
- package/dist-esm/src/operations/exportPipelines.js +0 -362
- package/dist-esm/src/operations/exportPipelines.js.map +0 -1
- package/dist-esm/src/operations/importPipelines.d.ts +0 -81
- package/dist-esm/src/operations/importPipelines.d.ts.map +0 -1
- package/dist-esm/src/operations/importPipelines.js +0 -362
- package/dist-esm/src/operations/importPipelines.js.map +0 -1
- package/dist-esm/src/operations/pipelineRuns.d.ts +0 -81
- package/dist-esm/src/operations/pipelineRuns.d.ts.map +0 -1
- package/dist-esm/src/operations/pipelineRuns.js +0 -362
- package/dist-esm/src/operations/pipelineRuns.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cacheRules.d.ts +0 -74
- package/dist-esm/src/operationsInterfaces/cacheRules.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cacheRules.js +0 -9
- package/dist-esm/src/operationsInterfaces/cacheRules.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts +0 -90
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js +0 -9
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/credentialSets.d.ts +0 -74
- package/dist-esm/src/operationsInterfaces/credentialSets.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/credentialSets.js +0 -9
- package/dist-esm/src/operationsInterfaces/credentialSets.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts +0 -56
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/exportPipelines.js +0 -9
- package/dist-esm/src/operationsInterfaces/exportPipelines.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts +0 -56
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/importPipelines.js +0 -9
- package/dist-esm/src/operationsInterfaces/importPipelines.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +0 -56
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js +0 -9
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +0 -1
- package/src/operations/cacheRules.ts +0 -644
- package/src/operations/connectedRegistries.ts +0 -757
- package/src/operations/credentialSets.ts +0 -644
- package/src/operations/exportPipelines.ts +0 -500
- package/src/operations/importPipelines.ts +0 -500
- package/src/operations/pipelineRuns.ts +0 -500
- package/src/operationsInterfaces/cacheRules.ts +0 -147
- package/src/operationsInterfaces/connectedRegistries.ts +0 -174
- package/src/operationsInterfaces/credentialSets.ts +0 -147
- package/src/operationsInterfaces/exportPipelines.ts +0 -109
- package/src/operationsInterfaces/importPipelines.ts +0 -109
- package/src/operationsInterfaces/pipelineRuns.ts +0 -109
@@ -1,55 +0,0 @@
|
|
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-01-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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"importPipelinesDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/importPipelinesDeleteSample.ts"],"names":[],"mappings":""}
|
@@ -1,40 +0,0 @@
|
|
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-01-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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"importPipelinesGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/importPipelinesGetSample.ts"],"names":[],"mappings":""}
|
@@ -1,40 +0,0 @@
|
|
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-01-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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"importPipelinesListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/importPipelinesListSample.ts"],"names":[],"mappings":""}
|
@@ -1,53 +0,0 @@
|
|
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-01-01-preview/examples/ImportPipelineList.json
|
20
|
-
*/
|
21
|
-
function importPipelineList() {
|
22
|
-
var e_1, _a;
|
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 _b = __asyncValues(client.importPipelines.list(resourceGroupName, registryName)), _c; _c = yield _b.next(), !_c.done;) {
|
33
|
-
let item = _c.value;
|
34
|
-
resArray.push(item);
|
35
|
-
}
|
36
|
-
}
|
37
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
38
|
-
finally {
|
39
|
-
try {
|
40
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
41
|
-
}
|
42
|
-
finally { if (e_1) throw e_1.error; }
|
43
|
-
}
|
44
|
-
console.log(resArray);
|
45
|
-
});
|
46
|
-
}
|
47
|
-
function main() {
|
48
|
-
return __awaiter(this, void 0, void 0, function* () {
|
49
|
-
importPipelineList();
|
50
|
-
});
|
51
|
-
}
|
52
|
-
main().catch(console.error);
|
53
|
-
//# sourceMappingURL=importPipelinesListSample.js.map
|
@@ -1 +0,0 @@
|
|
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,IAAA,KAAA,cAAA,MAAM,CAAC,eAAe,CAAC,IAAI,CAChD,iBAAiB,EACjB,YAAY,CACb,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"pipelineRunsCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/pipelineRunsCreateSample.ts"],"names":[],"mappings":""}
|
@@ -1,78 +0,0 @@
|
|
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-01-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-01-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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"pipelineRunsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/pipelineRunsDeleteSample.ts"],"names":[],"mappings":""}
|
@@ -1,40 +0,0 @@
|
|
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-01-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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"pipelineRunsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/pipelineRunsGetSample.ts"],"names":[],"mappings":""}
|
@@ -1,40 +0,0 @@
|
|
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-01-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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"pipelineRunsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/pipelineRunsListSample.ts"],"names":[],"mappings":""}
|
@@ -1,53 +0,0 @@
|
|
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-01-01-preview/examples/PipelineRunList.json
|
20
|
-
*/
|
21
|
-
function pipelineRunList() {
|
22
|
-
var e_1, _a;
|
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 _b = __asyncValues(client.pipelineRuns.list(resourceGroupName, registryName)), _c; _c = yield _b.next(), !_c.done;) {
|
33
|
-
let item = _c.value;
|
34
|
-
resArray.push(item);
|
35
|
-
}
|
36
|
-
}
|
37
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
38
|
-
finally {
|
39
|
-
try {
|
40
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
41
|
-
}
|
42
|
-
finally { if (e_1) throw e_1.error; }
|
43
|
-
}
|
44
|
-
console.log(resArray);
|
45
|
-
});
|
46
|
-
}
|
47
|
-
function main() {
|
48
|
-
return __awaiter(this, void 0, void 0, function* () {
|
49
|
-
pipelineRunList();
|
50
|
-
});
|
51
|
-
}
|
52
|
-
main().catch(console.error);
|
53
|
-
//# sourceMappingURL=pipelineRunsListSample.js.map
|
@@ -1 +0,0 @@
|
|
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,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,IAAI,CAC7C,iBAAiB,EACjB,YAAY,CACb,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,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"}
|
@@ -1,99 +0,0 @@
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import { CacheRules } from "../operationsInterfaces";
|
3
|
-
import { ContainerRegistryManagementClient } from "../containerRegistryManagementClient";
|
4
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
5
|
-
import { CacheRule, CacheRulesListOptionalParams, CacheRulesGetOptionalParams, CacheRulesGetResponse, CacheRulesCreateOptionalParams, CacheRulesCreateResponse, CacheRulesDeleteOptionalParams, CacheRuleUpdateParameters, CacheRulesUpdateOptionalParams, CacheRulesUpdateResponse } from "../models";
|
6
|
-
/** Class containing CacheRules operations. */
|
7
|
-
export declare class CacheRulesImpl implements CacheRules {
|
8
|
-
private readonly client;
|
9
|
-
/**
|
10
|
-
* Initialize a new instance of the class CacheRules class.
|
11
|
-
* @param client Reference to the service client
|
12
|
-
*/
|
13
|
-
constructor(client: ContainerRegistryManagementClient);
|
14
|
-
/**
|
15
|
-
* Lists all cache rule resources for the specified container registry.
|
16
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
17
|
-
* @param registryName The name of the container registry.
|
18
|
-
* @param options The options parameters.
|
19
|
-
*/
|
20
|
-
list(resourceGroupName: string, registryName: string, options?: CacheRulesListOptionalParams): PagedAsyncIterableIterator<CacheRule>;
|
21
|
-
private listPagingPage;
|
22
|
-
private listPagingAll;
|
23
|
-
/**
|
24
|
-
* Lists all cache rule resources for the specified container registry.
|
25
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
26
|
-
* @param registryName The name of the container registry.
|
27
|
-
* @param options The options parameters.
|
28
|
-
*/
|
29
|
-
private _list;
|
30
|
-
/**
|
31
|
-
* Gets the properties of the specified cache rule resource.
|
32
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
33
|
-
* @param registryName The name of the container registry.
|
34
|
-
* @param cacheRuleName The name of the cache rule.
|
35
|
-
* @param options The options parameters.
|
36
|
-
*/
|
37
|
-
get(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesGetOptionalParams): Promise<CacheRulesGetResponse>;
|
38
|
-
/**
|
39
|
-
* Creates a cache rule for a container registry with the specified parameters.
|
40
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
41
|
-
* @param registryName The name of the container registry.
|
42
|
-
* @param cacheRuleName The name of the cache rule.
|
43
|
-
* @param cacheRuleCreateParameters The parameters for creating a cache rule.
|
44
|
-
* @param options The options parameters.
|
45
|
-
*/
|
46
|
-
beginCreate(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams): Promise<SimplePollerLike<OperationState<CacheRulesCreateResponse>, CacheRulesCreateResponse>>;
|
47
|
-
/**
|
48
|
-
* Creates a cache rule for a container registry with the specified parameters.
|
49
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
50
|
-
* @param registryName The name of the container registry.
|
51
|
-
* @param cacheRuleName The name of the cache rule.
|
52
|
-
* @param cacheRuleCreateParameters The parameters for creating a cache rule.
|
53
|
-
* @param options The options parameters.
|
54
|
-
*/
|
55
|
-
beginCreateAndWait(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams): Promise<CacheRulesCreateResponse>;
|
56
|
-
/**
|
57
|
-
* Deletes a cache rule resource from a container registry.
|
58
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
59
|
-
* @param registryName The name of the container registry.
|
60
|
-
* @param cacheRuleName The name of the cache rule.
|
61
|
-
* @param options The options parameters.
|
62
|
-
*/
|
63
|
-
beginDelete(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
64
|
-
/**
|
65
|
-
* Deletes a cache rule resource from a container registry.
|
66
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
67
|
-
* @param registryName The name of the container registry.
|
68
|
-
* @param cacheRuleName The name of the cache rule.
|
69
|
-
* @param options The options parameters.
|
70
|
-
*/
|
71
|
-
beginDeleteAndWait(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams): Promise<void>;
|
72
|
-
/**
|
73
|
-
* Updates a cache rule for a container registry with the specified parameters.
|
74
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
75
|
-
* @param registryName The name of the container registry.
|
76
|
-
* @param cacheRuleName The name of the cache rule.
|
77
|
-
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
78
|
-
* @param options The options parameters.
|
79
|
-
*/
|
80
|
-
beginUpdate(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CacheRulesUpdateResponse>, CacheRulesUpdateResponse>>;
|
81
|
-
/**
|
82
|
-
* Updates a cache rule for a container registry with the specified parameters.
|
83
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
84
|
-
* @param registryName The name of the container registry.
|
85
|
-
* @param cacheRuleName The name of the cache rule.
|
86
|
-
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
87
|
-
* @param options The options parameters.
|
88
|
-
*/
|
89
|
-
beginUpdateAndWait(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams): Promise<CacheRulesUpdateResponse>;
|
90
|
-
/**
|
91
|
-
* ListNext
|
92
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
93
|
-
* @param registryName The name of the container registry.
|
94
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
95
|
-
* @param options The options parameters.
|
96
|
-
*/
|
97
|
-
private _listNext;
|
98
|
-
}
|
99
|
-
//# sourceMappingURL=cacheRules.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"cacheRules.d.ts","sourceRoot":"","sources":["../../../src/operations/cacheRules.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,SAAS,EAET,4BAA4B,EAE5B,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EAEzB,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAuBzB,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAOjC;;;;;;;OAOG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,yBAAyB,EAAE,SAAS,EACpC,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,wBAAwB,CAAC,EACxC,wBAAwB,CACzB,CACF;IA+DD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,yBAAyB,EAAE,SAAS,EACpC,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAWpC;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAsDxD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;;OAOG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,wBAAwB,CAAC,EACxC,wBAAwB,CACzB,CACF;IA+DD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAWpC;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|