@azure/arm-containerregistry 10.0.0-beta.1 → 10.0.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 +6 -20
- package/README.md +4 -0
- package/dist/index.js +3431 -7196
- 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/src/containerRegistryManagementClient.d.ts +5 -9
- package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist-esm/src/containerRegistryManagementClient.js +32 -10
- package/dist-esm/src/containerRegistryManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +0 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +200 -1116
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +32 -121
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +10 -50
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +320 -1560
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -21
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +38 -158
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/agentPools.d.ts +2 -2
- package/dist-esm/src/operations/agentPools.d.ts.map +1 -1
- package/dist-esm/src/operations/agentPools.js +2 -2
- 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/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +2 -2
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.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.d.ts +11 -19
- package/dist-esm/src/operations/registries.d.ts.map +1 -1
- package/dist-esm/src/operations/registries.js +31 -84
- package/dist-esm/src/operations/registries.js.map +1 -1
- package/dist-esm/src/operations/replications.d.ts +2 -2
- package/dist-esm/src/operations/replications.d.ts.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.d.ts +2 -2
- package/dist-esm/src/operations/runs.d.ts.map +1 -1
- package/dist-esm/src/operations/runs.js +3 -3
- package/dist-esm/src/operations/runs.js.map +1 -1
- package/dist-esm/src/operations/taskRuns.d.ts +2 -2
- package/dist-esm/src/operations/taskRuns.d.ts.map +1 -1
- package/dist-esm/src/operations/taskRuns.js +2 -2
- package/dist-esm/src/operations/taskRuns.js.map +1 -1
- package/dist-esm/src/operations/tasks.d.ts +2 -2
- package/dist-esm/src/operations/tasks.d.ts.map +1 -1
- package/dist-esm/src/operations/tasks.js +2 -2
- package/dist-esm/src/operations/tasks.js.map +1 -1
- package/dist-esm/src/operations/webhooks.d.ts +2 -2
- package/dist-esm/src/operations/webhooks.d.ts.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/dist-esm/src/operationsInterfaces/registries.d.ts +9 -17
- package/dist-esm/src/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist-esm/test/containerregistry_examples.d.ts +3 -1
- package/dist-esm/test/containerregistry_examples.d.ts.map +1 -1
- package/dist-esm/test/containerregistry_examples.js +89 -146
- package/dist-esm/test/containerregistry_examples.js.map +1 -1
- package/package.json +5 -4
- package/review/arm-containerregistry.api.md +17 -815
- package/src/containerRegistryManagementClient.ts +44 -27
- package/src/index.ts +0 -1
- package/src/models/index.ts +323 -1385
- package/src/models/mappers.ts +1508 -2838
- package/src/models/parameters.ts +39 -184
- package/src/operations/agentPools.ts +5 -5
- package/src/operations/index.ts +0 -6
- package/src/operations/operations.ts +3 -3
- package/src/operations/privateEndpointConnections.ts +4 -4
- package/src/operations/registries.ts +45 -129
- package/src/operations/replications.ts +5 -5
- package/src/operations/runs.ts +6 -6
- package/src/operations/taskRuns.ts +5 -5
- package/src/operations/tasks.ts +5 -5
- package/src/operations/webhooks.ts +5 -5
- package/src/operationsInterfaces/index.ts +0 -6
- package/src/operationsInterfaces/registries.ts +15 -34
- package/types/arm-containerregistry.d.ts +135 -1592
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/containerRegistryManagementClientContext.d.ts +0 -15
- package/dist-esm/src/containerRegistryManagementClientContext.d.ts.map +0 -1
- package/dist-esm/src/containerRegistryManagementClientContext.js +0 -48
- package/dist-esm/src/containerRegistryManagementClientContext.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 -503
- package/dist-esm/src/operations/connectedRegistries.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 -316
- 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 -316
- 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 -316
- package/dist-esm/src/operations/pipelineRuns.js.map +0 -1
- package/dist-esm/src/operations/scopeMaps.d.ts +0 -99
- package/dist-esm/src/operations/scopeMaps.d.ts.map +0 -1
- package/dist-esm/src/operations/scopeMaps.js +0 -405
- package/dist-esm/src/operations/scopeMaps.js.map +0 -1
- package/dist-esm/src/operations/tokens.d.ts +0 -99
- package/dist-esm/src/operations/tokens.d.ts.map +0 -1
- package/dist-esm/src/operations/tokens.js +0 -405
- package/dist-esm/src/operations/tokens.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/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/dist-esm/src/operationsInterfaces/scopeMaps.d.ts +0 -74
- package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/scopeMaps.js +0 -9
- package/dist-esm/src/operationsInterfaces/scopeMaps.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/tokens.d.ts +0 -74
- package/dist-esm/src/operationsInterfaces/tokens.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/tokens.js +0 -9
- package/dist-esm/src/operationsInterfaces/tokens.js.map +0 -1
- package/src/containerRegistryManagementClientContext.ts +0 -68
- package/src/operations/connectedRegistries.ts +0 -718
- package/src/operations/exportPipelines.ts +0 -449
- package/src/operations/importPipelines.ts +0 -449
- package/src/operations/pipelineRuns.ts +0 -449
- package/src/operations/scopeMaps.ts +0 -584
- package/src/operations/tokens.ts +0 -578
- package/src/operationsInterfaces/connectedRegistries.ts +0 -174
- package/src/operationsInterfaces/exportPipelines.ts +0 -109
- package/src/operationsInterfaces/importPipelines.ts +0 -109
- package/src/operationsInterfaces/pipelineRuns.ts +0 -109
- package/src/operationsInterfaces/scopeMaps.ts +0 -147
- package/src/operationsInterfaces/tokens.ts +0 -141
@@ -1,56 +0,0 @@
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
3
|
-
import { ImportPipeline, ImportPipelinesListOptionalParams, ImportPipelinesGetOptionalParams, ImportPipelinesGetResponse, ImportPipelinesCreateOptionalParams, ImportPipelinesCreateResponse, ImportPipelinesDeleteOptionalParams } from "../models";
|
4
|
-
/** Interface representing a ImportPipelines. */
|
5
|
-
export interface ImportPipelines {
|
6
|
-
/**
|
7
|
-
* Lists all import pipelines for the specified container registry.
|
8
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
9
|
-
* @param registryName The name of the container registry.
|
10
|
-
* @param options The options parameters.
|
11
|
-
*/
|
12
|
-
list(resourceGroupName: string, registryName: string, options?: ImportPipelinesListOptionalParams): PagedAsyncIterableIterator<ImportPipeline>;
|
13
|
-
/**
|
14
|
-
* Gets the properties of the import pipeline.
|
15
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
16
|
-
* @param registryName The name of the container registry.
|
17
|
-
* @param importPipelineName The name of the import pipeline.
|
18
|
-
* @param options The options parameters.
|
19
|
-
*/
|
20
|
-
get(resourceGroupName: string, registryName: string, importPipelineName: string, options?: ImportPipelinesGetOptionalParams): Promise<ImportPipelinesGetResponse>;
|
21
|
-
/**
|
22
|
-
* Creates an import pipeline for a container registry with the specified parameters.
|
23
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
24
|
-
* @param registryName The name of the container registry.
|
25
|
-
* @param importPipelineName The name of the import pipeline.
|
26
|
-
* @param importPipelineCreateParameters The parameters for creating an import pipeline.
|
27
|
-
* @param options The options parameters.
|
28
|
-
*/
|
29
|
-
beginCreate(resourceGroupName: string, registryName: string, importPipelineName: string, importPipelineCreateParameters: ImportPipeline, options?: ImportPipelinesCreateOptionalParams): Promise<PollerLike<PollOperationState<ImportPipelinesCreateResponse>, ImportPipelinesCreateResponse>>;
|
30
|
-
/**
|
31
|
-
* Creates an import pipeline for a container registry with the specified parameters.
|
32
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
33
|
-
* @param registryName The name of the container registry.
|
34
|
-
* @param importPipelineName The name of the import pipeline.
|
35
|
-
* @param importPipelineCreateParameters The parameters for creating an import pipeline.
|
36
|
-
* @param options The options parameters.
|
37
|
-
*/
|
38
|
-
beginCreateAndWait(resourceGroupName: string, registryName: string, importPipelineName: string, importPipelineCreateParameters: ImportPipeline, options?: ImportPipelinesCreateOptionalParams): Promise<ImportPipelinesCreateResponse>;
|
39
|
-
/**
|
40
|
-
* Deletes an import pipeline from a container registry.
|
41
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
42
|
-
* @param registryName The name of the container registry.
|
43
|
-
* @param importPipelineName The name of the import pipeline.
|
44
|
-
* @param options The options parameters.
|
45
|
-
*/
|
46
|
-
beginDelete(resourceGroupName: string, registryName: string, importPipelineName: string, options?: ImportPipelinesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
47
|
-
/**
|
48
|
-
* Deletes an import pipeline from a container registry.
|
49
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
50
|
-
* @param registryName The name of the container registry.
|
51
|
-
* @param importPipelineName The name of the import pipeline.
|
52
|
-
* @param options The options parameters.
|
53
|
-
*/
|
54
|
-
beginDeleteAndWait(resourceGroupName: string, registryName: string, importPipelineName: string, options?: ImportPipelinesDeleteOptionalParams): Promise<void>;
|
55
|
-
}
|
56
|
-
//# sourceMappingURL=importPipelines.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"importPipelines.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/importPipelines.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,cAAc,EACd,iCAAiC,EACjC,gCAAgC,EAChC,0BAA0B,EAC1B,mCAAmC,EACnC,6BAA6B,EAC7B,mCAAmC,EACpC,MAAM,WAAW,CAAC;AAGnB,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,kBAAkB,EAAE,MAAM,EAC1B,8BAA8B,EAAE,cAAc,EAC9C,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,6BAA6B,CAAC,EACjD,6BAA6B,CAC9B,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,kBAAkB,EAAE,MAAM,EAC1B,8BAA8B,EAAE,cAAc,EAC9C,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
@@ -1,9 +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
|
-
export {};
|
9
|
-
//# sourceMappingURL=importPipelines.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"importPipelines.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/importPipelines.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
@@ -1,56 +0,0 @@
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
3
|
-
import { PipelineRun, PipelineRunsListOptionalParams, PipelineRunsGetOptionalParams, PipelineRunsGetResponse, PipelineRunsCreateOptionalParams, PipelineRunsCreateResponse, PipelineRunsDeleteOptionalParams } from "../models";
|
4
|
-
/** Interface representing a PipelineRuns. */
|
5
|
-
export interface PipelineRuns {
|
6
|
-
/**
|
7
|
-
* Lists all the pipeline runs for the specified container registry.
|
8
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
9
|
-
* @param registryName The name of the container registry.
|
10
|
-
* @param options The options parameters.
|
11
|
-
*/
|
12
|
-
list(resourceGroupName: string, registryName: string, options?: PipelineRunsListOptionalParams): PagedAsyncIterableIterator<PipelineRun>;
|
13
|
-
/**
|
14
|
-
* Gets the detailed information for a given pipeline run.
|
15
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
16
|
-
* @param registryName The name of the container registry.
|
17
|
-
* @param pipelineRunName The name of the pipeline run.
|
18
|
-
* @param options The options parameters.
|
19
|
-
*/
|
20
|
-
get(resourceGroupName: string, registryName: string, pipelineRunName: string, options?: PipelineRunsGetOptionalParams): Promise<PipelineRunsGetResponse>;
|
21
|
-
/**
|
22
|
-
* Creates a pipeline run for a container registry with the specified parameters
|
23
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
24
|
-
* @param registryName The name of the container registry.
|
25
|
-
* @param pipelineRunName The name of the pipeline run.
|
26
|
-
* @param pipelineRunCreateParameters The parameters for creating a pipeline run.
|
27
|
-
* @param options The options parameters.
|
28
|
-
*/
|
29
|
-
beginCreate(resourceGroupName: string, registryName: string, pipelineRunName: string, pipelineRunCreateParameters: PipelineRun, options?: PipelineRunsCreateOptionalParams): Promise<PollerLike<PollOperationState<PipelineRunsCreateResponse>, PipelineRunsCreateResponse>>;
|
30
|
-
/**
|
31
|
-
* Creates a pipeline run for a container registry with the specified parameters
|
32
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
33
|
-
* @param registryName The name of the container registry.
|
34
|
-
* @param pipelineRunName The name of the pipeline run.
|
35
|
-
* @param pipelineRunCreateParameters The parameters for creating a pipeline run.
|
36
|
-
* @param options The options parameters.
|
37
|
-
*/
|
38
|
-
beginCreateAndWait(resourceGroupName: string, registryName: string, pipelineRunName: string, pipelineRunCreateParameters: PipelineRun, options?: PipelineRunsCreateOptionalParams): Promise<PipelineRunsCreateResponse>;
|
39
|
-
/**
|
40
|
-
* Deletes a pipeline run from a container registry.
|
41
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
42
|
-
* @param registryName The name of the container registry.
|
43
|
-
* @param pipelineRunName The name of the pipeline run.
|
44
|
-
* @param options The options parameters.
|
45
|
-
*/
|
46
|
-
beginDelete(resourceGroupName: string, registryName: string, pipelineRunName: string, options?: PipelineRunsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
47
|
-
/**
|
48
|
-
* Deletes a pipeline run from a container registry.
|
49
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
50
|
-
* @param registryName The name of the container registry.
|
51
|
-
* @param pipelineRunName The name of the pipeline run.
|
52
|
-
* @param options The options parameters.
|
53
|
-
*/
|
54
|
-
beginDeleteAndWait(resourceGroupName: string, registryName: string, pipelineRunName: string, options?: PipelineRunsDeleteOptionalParams): Promise<void>;
|
55
|
-
}
|
56
|
-
//# sourceMappingURL=pipelineRuns.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"pipelineRuns.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/pipelineRuns.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,WAAW,EACX,8BAA8B,EAC9B,6BAA6B,EAC7B,uBAAuB,EACvB,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EACjC,MA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CAClB"}
|
@@ -1,9 +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
|
-
export {};
|
9
|
-
//# sourceMappingURL=pipelineRuns.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"pipelineRuns.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/pipelineRuns.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
3
|
-
import { ScopeMap, ScopeMapsListOptionalParams, ScopeMapsGetOptionalParams, ScopeMapsGetResponse, ScopeMapsCreateOptionalParams, ScopeMapsCreateResponse, ScopeMapsDeleteOptionalParams, ScopeMapUpdateParameters, ScopeMapsUpdateOptionalParams, ScopeMapsUpdateResponse } from "../models";
|
4
|
-
/** Interface representing a ScopeMaps. */
|
5
|
-
export interface ScopeMaps {
|
6
|
-
/**
|
7
|
-
* Lists all the scope maps for the specified container registry.
|
8
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
9
|
-
* @param registryName The name of the container registry.
|
10
|
-
* @param options The options parameters.
|
11
|
-
*/
|
12
|
-
list(resourceGroupName: string, registryName: string, options?: ScopeMapsListOptionalParams): PagedAsyncIterableIterator<ScopeMap>;
|
13
|
-
/**
|
14
|
-
* Gets the properties of the specified scope map.
|
15
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
16
|
-
* @param registryName The name of the container registry.
|
17
|
-
* @param scopeMapName The name of the scope map.
|
18
|
-
* @param options The options parameters.
|
19
|
-
*/
|
20
|
-
get(resourceGroupName: string, registryName: string, scopeMapName: string, options?: ScopeMapsGetOptionalParams): Promise<ScopeMapsGetResponse>;
|
21
|
-
/**
|
22
|
-
* Creates a scope map for a container registry with the specified parameters.
|
23
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
24
|
-
* @param registryName The name of the container registry.
|
25
|
-
* @param scopeMapName The name of the scope map.
|
26
|
-
* @param scopeMapCreateParameters The parameters for creating a scope map.
|
27
|
-
* @param options The options parameters.
|
28
|
-
*/
|
29
|
-
beginCreate(resourceGroupName: string, registryName: string, scopeMapName: string, scopeMapCreateParameters: ScopeMap, options?: ScopeMapsCreateOptionalParams): Promise<PollerLike<PollOperationState<ScopeMapsCreateResponse>, ScopeMapsCreateResponse>>;
|
30
|
-
/**
|
31
|
-
* Creates a scope map for a container registry with the specified parameters.
|
32
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
33
|
-
* @param registryName The name of the container registry.
|
34
|
-
* @param scopeMapName The name of the scope map.
|
35
|
-
* @param scopeMapCreateParameters The parameters for creating a scope map.
|
36
|
-
* @param options The options parameters.
|
37
|
-
*/
|
38
|
-
beginCreateAndWait(resourceGroupName: string, registryName: string, scopeMapName: string, scopeMapCreateParameters: ScopeMap, options?: ScopeMapsCreateOptionalParams): Promise<ScopeMapsCreateResponse>;
|
39
|
-
/**
|
40
|
-
* Deletes a scope map from a container registry.
|
41
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
42
|
-
* @param registryName The name of the container registry.
|
43
|
-
* @param scopeMapName The name of the scope map.
|
44
|
-
* @param options The options parameters.
|
45
|
-
*/
|
46
|
-
beginDelete(resourceGroupName: string, registryName: string, scopeMapName: string, options?: ScopeMapsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
47
|
-
/**
|
48
|
-
* Deletes a scope map from a container registry.
|
49
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
50
|
-
* @param registryName The name of the container registry.
|
51
|
-
* @param scopeMapName The name of the scope map.
|
52
|
-
* @param options The options parameters.
|
53
|
-
*/
|
54
|
-
beginDeleteAndWait(resourceGroupName: string, registryName: string, scopeMapName: string, options?: ScopeMapsDeleteOptionalParams): Promise<void>;
|
55
|
-
/**
|
56
|
-
* Updates a scope map with the specified parameters.
|
57
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
58
|
-
* @param registryName The name of the container registry.
|
59
|
-
* @param scopeMapName The name of the scope map.
|
60
|
-
* @param scopeMapUpdateParameters The parameters for updating a scope map.
|
61
|
-
* @param options The options parameters.
|
62
|
-
*/
|
63
|
-
beginUpdate(resourceGroupName: string, registryName: string, scopeMapName: string, scopeMapUpdateParameters: ScopeMapUpdateParameters, options?: ScopeMapsUpdateOptionalParams): Promise<PollerLike<PollOperationState<ScopeMapsUpdateResponse>, ScopeMapsUpdateResponse>>;
|
64
|
-
/**
|
65
|
-
* Updates a scope map with the specified parameters.
|
66
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
67
|
-
* @param registryName The name of the container registry.
|
68
|
-
* @param scopeMapName The name of the scope map.
|
69
|
-
* @param scopeMapUpdateParameters The parameters for updating a scope map.
|
70
|
-
* @param options The options parameters.
|
71
|
-
*/
|
72
|
-
beginUpdateAndWait(resourceGroupName: string, registryName: string, scopeMapName: string, scopeMapUpdateParameters: ScopeMapUpdateParameters, options?: ScopeMapsUpdateOptionalParams): Promise<ScopeMapsUpdateResponse>;
|
73
|
-
}
|
74
|
-
//# sourceMappingURL=scopeMaps.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"scopeMaps.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/scopeMaps.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,QAAQ,EACR,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAoB,EACpB,6BAA6B,EAC7B,uBAAuB,EACvB,6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AAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,wBAAwB,EAAE,wBAAwB,EAClD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,uBAAuB,CAAC,EAC3C,uBAAuB,CACxB,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,wBAAwB,EAAE,wBAAwB,EAClD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC"}
|
@@ -1,9 +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
|
-
export {};
|
9
|
-
//# sourceMappingURL=scopeMaps.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"scopeMaps.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/scopeMaps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
3
|
-
import { Token, TokensListOptionalParams, TokensGetOptionalParams, TokensGetResponse, TokensCreateOptionalParams, TokensCreateResponse, TokensDeleteOptionalParams, TokenUpdateParameters, TokensUpdateOptionalParams, TokensUpdateResponse } from "../models";
|
4
|
-
/** Interface representing a Tokens. */
|
5
|
-
export interface Tokens {
|
6
|
-
/**
|
7
|
-
* Lists all the tokens for the specified container registry.
|
8
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
9
|
-
* @param registryName The name of the container registry.
|
10
|
-
* @param options The options parameters.
|
11
|
-
*/
|
12
|
-
list(resourceGroupName: string, registryName: string, options?: TokensListOptionalParams): PagedAsyncIterableIterator<Token>;
|
13
|
-
/**
|
14
|
-
* Gets the properties of the specified token.
|
15
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
16
|
-
* @param registryName The name of the container registry.
|
17
|
-
* @param tokenName The name of the token.
|
18
|
-
* @param options The options parameters.
|
19
|
-
*/
|
20
|
-
get(resourceGroupName: string, registryName: string, tokenName: string, options?: TokensGetOptionalParams): Promise<TokensGetResponse>;
|
21
|
-
/**
|
22
|
-
* Creates a token for a container registry with the specified parameters.
|
23
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
24
|
-
* @param registryName The name of the container registry.
|
25
|
-
* @param tokenName The name of the token.
|
26
|
-
* @param tokenCreateParameters The parameters for creating a token.
|
27
|
-
* @param options The options parameters.
|
28
|
-
*/
|
29
|
-
beginCreate(resourceGroupName: string, registryName: string, tokenName: string, tokenCreateParameters: Token, options?: TokensCreateOptionalParams): Promise<PollerLike<PollOperationState<TokensCreateResponse>, TokensCreateResponse>>;
|
30
|
-
/**
|
31
|
-
* Creates a token for a container registry with the specified parameters.
|
32
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
33
|
-
* @param registryName The name of the container registry.
|
34
|
-
* @param tokenName The name of the token.
|
35
|
-
* @param tokenCreateParameters The parameters for creating a token.
|
36
|
-
* @param options The options parameters.
|
37
|
-
*/
|
38
|
-
beginCreateAndWait(resourceGroupName: string, registryName: string, tokenName: string, tokenCreateParameters: Token, options?: TokensCreateOptionalParams): Promise<TokensCreateResponse>;
|
39
|
-
/**
|
40
|
-
* Deletes a token from a container registry.
|
41
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
42
|
-
* @param registryName The name of the container registry.
|
43
|
-
* @param tokenName The name of the token.
|
44
|
-
* @param options The options parameters.
|
45
|
-
*/
|
46
|
-
beginDelete(resourceGroupName: string, registryName: string, tokenName: string, options?: TokensDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
47
|
-
/**
|
48
|
-
* Deletes a token from a container registry.
|
49
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
50
|
-
* @param registryName The name of the container registry.
|
51
|
-
* @param tokenName The name of the token.
|
52
|
-
* @param options The options parameters.
|
53
|
-
*/
|
54
|
-
beginDeleteAndWait(resourceGroupName: string, registryName: string, tokenName: string, options?: TokensDeleteOptionalParams): Promise<void>;
|
55
|
-
/**
|
56
|
-
* Updates a token with the specified parameters.
|
57
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
58
|
-
* @param registryName The name of the container registry.
|
59
|
-
* @param tokenName The name of the token.
|
60
|
-
* @param tokenUpdateParameters The parameters for updating a token.
|
61
|
-
* @param options The options parameters.
|
62
|
-
*/
|
63
|
-
beginUpdate(resourceGroupName: string, registryName: string, tokenName: string, tokenUpdateParameters: TokenUpdateParameters, options?: TokensUpdateOptionalParams): Promise<PollerLike<PollOperationState<TokensUpdateResponse>, TokensUpdateResponse>>;
|
64
|
-
/**
|
65
|
-
* Updates a token with the specified parameters.
|
66
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
67
|
-
* @param registryName The name of the container registry.
|
68
|
-
* @param tokenName The name of the token.
|
69
|
-
* @param tokenUpdateParameters The parameters for updating a token.
|
70
|
-
* @param options The options parameters.
|
71
|
-
*/
|
72
|
-
beginUpdateAndWait(resourceGroupName: string, registryName: string, tokenName: string, tokenUpdateParameters: TokenUpdateParameters, options?: TokensUpdateOptionalParams): Promise<TokensUpdateResponse>;
|
73
|
-
}
|
74
|
-
//# sourceMappingURL=tokens.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../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M,EACpB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,EACjB,qBAAqB,EAAE,qBAAqB,EAC5C,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CACR,UAAU,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,CAC3E,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,EACjB,qBAAqB,EAAE,qBAAqB,EAC5C,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;CAClC"}
|
@@ -1,9 +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
|
-
export {};
|
9
|
-
//# sourceMappingURL=tokens.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tokens.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
@@ -1,68 +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
|
-
|
9
|
-
import * as coreClient from "@azure/core-client";
|
10
|
-
import * as coreAuth from "@azure/core-auth";
|
11
|
-
import { ContainerRegistryManagementClientOptionalParams } from "./models";
|
12
|
-
|
13
|
-
export class ContainerRegistryManagementClientContext extends coreClient.ServiceClient {
|
14
|
-
$host: string;
|
15
|
-
subscriptionId: string;
|
16
|
-
|
17
|
-
/**
|
18
|
-
* Initializes a new instance of the ContainerRegistryManagementClientContext class.
|
19
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
20
|
-
* @param subscriptionId The Microsoft Azure subscription ID.
|
21
|
-
* @param options The parameter options
|
22
|
-
*/
|
23
|
-
constructor(
|
24
|
-
credentials: coreAuth.TokenCredential,
|
25
|
-
subscriptionId: string,
|
26
|
-
options?: ContainerRegistryManagementClientOptionalParams
|
27
|
-
) {
|
28
|
-
if (credentials === undefined) {
|
29
|
-
throw new Error("'credentials' cannot be null");
|
30
|
-
}
|
31
|
-
if (subscriptionId === undefined) {
|
32
|
-
throw new Error("'subscriptionId' cannot be null");
|
33
|
-
}
|
34
|
-
|
35
|
-
// Initializing default values for options
|
36
|
-
if (!options) {
|
37
|
-
options = {};
|
38
|
-
}
|
39
|
-
const defaults: ContainerRegistryManagementClientOptionalParams = {
|
40
|
-
requestContentType: "application/json; charset=utf-8",
|
41
|
-
credential: credentials
|
42
|
-
};
|
43
|
-
|
44
|
-
const packageDetails = `azsdk-js-arm-containerregistry/10.0.0-beta.1`;
|
45
|
-
const userAgentPrefix =
|
46
|
-
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
47
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
48
|
-
: `${packageDetails}`;
|
49
|
-
|
50
|
-
if (!options.credentialScopes) {
|
51
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
52
|
-
}
|
53
|
-
const optionsWithDefaults = {
|
54
|
-
...defaults,
|
55
|
-
...options,
|
56
|
-
userAgentOptions: {
|
57
|
-
userAgentPrefix
|
58
|
-
},
|
59
|
-
baseUri: options.endpoint || "https://management.azure.com"
|
60
|
-
};
|
61
|
-
super(optionsWithDefaults);
|
62
|
-
// Parameter assignments
|
63
|
-
this.subscriptionId = subscriptionId;
|
64
|
-
|
65
|
-
// Assigning values to Constant parameters
|
66
|
-
this.$host = options.$host || "https://management.azure.com";
|
67
|
-
}
|
68
|
-
}
|