@azure/arm-containerregistry 7.0.0 → 9.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +68 -76
- package/dist/index.js +12640 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/containerRegistryManagementClient.d.ts +29 -0
- package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -0
- package/dist-esm/src/containerRegistryManagementClient.js +36 -0
- package/dist-esm/src/containerRegistryManagementClient.js.map +1 -0
- package/dist-esm/src/containerRegistryManagementClientContext.d.ts +15 -0
- package/dist-esm/src/containerRegistryManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/containerRegistryManagementClientContext.js +48 -0
- package/dist-esm/src/containerRegistryManagementClientContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +3421 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +339 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +177 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +3696 -2199
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +54 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +428 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/agentPools.d.ts +107 -0
- package/dist-esm/src/operations/agentPools.d.ts.map +1 -0
- package/dist-esm/src/operations/agentPools.js +455 -0
- package/dist-esm/src/operations/agentPools.js.map +1 -0
- package/dist-esm/src/operations/connectedRegistries.d.ts +115 -0
- package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -0
- package/dist-esm/src/operations/connectedRegistries.js +503 -0
- package/dist-esm/src/operations/connectedRegistries.js.map +1 -0
- package/dist-esm/src/operations/exportPipelines.d.ts +81 -0
- package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -0
- package/dist-esm/src/operations/exportPipelines.js +316 -0
- package/dist-esm/src/operations/exportPipelines.js.map +1 -0
- package/dist-esm/src/operations/importPipelines.d.ts +81 -0
- package/dist-esm/src/operations/importPipelines.d.ts.map +1 -0
- package/dist-esm/src/operations/importPipelines.js +316 -0
- package/dist-esm/src/operations/importPipelines.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +16 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +23 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +114 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/pipelineRuns.d.ts +81 -0
- package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -0
- package/dist-esm/src/operations/pipelineRuns.js +316 -0
- package/dist-esm/src/operations/pipelineRuns.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +326 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/registries.d.ts +217 -0
- package/dist-esm/src/operations/registries.d.ts.map +1 -0
- package/dist-esm/src/operations/registries.js +956 -0
- package/dist-esm/src/operations/registries.js.map +1 -0
- package/dist-esm/src/operations/replications.d.ts +99 -0
- package/dist-esm/src/operations/replications.d.ts.map +1 -0
- package/dist-esm/src/operations/replications.js +405 -0
- package/dist-esm/src/operations/replications.js.map +1 -0
- package/dist-esm/src/operations/runs.d.ts +89 -0
- package/dist-esm/src/operations/runs.d.ts.map +1 -0
- package/dist-esm/src/operations/runs.js +363 -0
- package/dist-esm/src/operations/runs.js.map +1 -0
- package/dist-esm/src/operations/scopeMaps.d.ts +99 -0
- package/dist-esm/src/operations/scopeMaps.d.ts.map +1 -0
- package/dist-esm/src/operations/scopeMaps.js +405 -0
- package/dist-esm/src/operations/scopeMaps.js.map +1 -0
- package/dist-esm/src/operations/taskRuns.d.ts +107 -0
- package/dist-esm/src/operations/taskRuns.d.ts.map +1 -0
- package/dist-esm/src/operations/taskRuns.js +455 -0
- package/dist-esm/src/operations/taskRuns.js.map +1 -0
- package/dist-esm/src/operations/tasks.d.ts +107 -0
- package/dist-esm/src/operations/tasks.d.ts.map +1 -0
- package/dist-esm/src/operations/tasks.js +461 -0
- package/dist-esm/src/operations/tasks.js.map +1 -0
- package/dist-esm/src/operations/tokens.d.ts +99 -0
- package/dist-esm/src/operations/tokens.d.ts.map +1 -0
- package/dist-esm/src/operations/tokens.js +405 -0
- package/dist-esm/src/operations/tokens.js.map +1 -0
- package/dist-esm/src/operations/webhooks.d.ts +142 -0
- package/dist-esm/src/operations/webhooks.d.ts.map +1 -0
- package/dist-esm/src/operations/webhooks.js +574 -0
- package/dist-esm/src/operations/webhooks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/agentPools.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/agentPools.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/agentPools.js +9 -0
- package/dist-esm/src/operationsInterfaces/agentPools.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts +90 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js +9 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.js +9 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.js +9 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +23 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js +9 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/registries.d.ts +163 -0
- package/dist-esm/src/operationsInterfaces/registries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/registries.js +9 -0
- package/dist-esm/src/operationsInterfaces/registries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replications.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/replications.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replications.js +9 -0
- package/dist-esm/src/operationsInterfaces/replications.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/runs.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/runs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/runs.js +9 -0
- package/dist-esm/src/operationsInterfaces/runs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.js +9 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.js +9 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tokens.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/tokens.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tokens.js +9 -0
- package/dist-esm/src/operationsInterfaces/tokens.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webhooks.d.ts +98 -0
- package/dist-esm/src/operationsInterfaces/webhooks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webhooks.js +9 -0
- package/dist-esm/src/operationsInterfaces/webhooks.js.map +1 -0
- package/dist-esm/test/containerregistry_examples.d.ts +2 -0
- package/dist-esm/test/containerregistry_examples.d.ts.map +1 -0
- package/dist-esm/test/containerregistry_examples.js +326 -0
- package/dist-esm/test/containerregistry_examples.js.map +1 -0
- package/package.json +65 -31
- package/review/arm-containerregistry.api.md +2912 -0
- package/rollup.config.js +181 -30
- package/src/containerRegistryManagementClient.ts +78 -42
- package/src/containerRegistryManagementClientContext.ts +45 -37
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +3217 -3457
- package/src/models/mappers.ts +3831 -2214
- package/src/models/parameters.ts +379 -81
- package/src/operations/agentPools.ts +646 -0
- package/src/operations/connectedRegistries.ts +718 -0
- package/src/operations/exportPipelines.ts +449 -0
- package/src/operations/importPipelines.ts +449 -0
- package/src/operations/index.ts +12 -7
- package/src/operations/operations.ts +84 -76
- package/src/operations/pipelineRuns.ts +449 -0
- package/src/operations/privateEndpointConnections.ts +460 -0
- package/src/operations/registries.ts +1031 -653
- package/src/operations/replications.ts +433 -251
- package/src/operations/runs.ts +356 -243
- package/src/operations/scopeMaps.ts +433 -251
- package/src/operations/taskRuns.ts +646 -0
- package/src/operations/tasks.ts +459 -277
- package/src/operations/tokens.ts +427 -251
- package/src/operations/webhooks.ts +614 -419
- package/src/operationsInterfaces/agentPools.ts +162 -0
- package/src/operationsInterfaces/connectedRegistries.ts +174 -0
- package/src/operationsInterfaces/exportPipelines.ts +109 -0
- package/src/operationsInterfaces/importPipelines.ts +109 -0
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +13 -8
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/pipelineRuns.ts +109 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
- package/src/operationsInterfaces/registries.ts +317 -0
- package/src/operationsInterfaces/replications.ts +147 -0
- package/src/operationsInterfaces/runs.ts +122 -0
- package/src/operationsInterfaces/scopeMaps.ts +147 -0
- package/src/operationsInterfaces/taskRuns.ts +162 -0
- package/src/operationsInterfaces/tasks.ts +156 -0
- package/src/operationsInterfaces/tokens.ts +141 -0
- package/src/operationsInterfaces/webhooks.ts +193 -0
- package/tsconfig.json +4 -4
- package/types/arm-containerregistry.d.ts +4991 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-containerregistry.js +0 -7529
- package/dist/arm-containerregistry.js.map +0 -1
- package/dist/arm-containerregistry.min.js +0 -1
- package/dist/arm-containerregistry.min.js.map +0 -1
- package/esm/containerRegistryManagementClient.d.ts +0 -25
- package/esm/containerRegistryManagementClient.d.ts.map +0 -1
- package/esm/containerRegistryManagementClient.js +0 -40
- package/esm/containerRegistryManagementClient.js.map +0 -1
- package/esm/containerRegistryManagementClientContext.d.ts +0 -15
- package/esm/containerRegistryManagementClientContext.d.ts.map +0 -1
- package/esm/containerRegistryManagementClientContext.js +0 -55
- package/esm/containerRegistryManagementClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -3884
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -129
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -18
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -214
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/registriesMappers.d.ts +0 -2
- package/esm/models/registriesMappers.d.ts.map +0 -1
- package/esm/models/registriesMappers.js +0 -9
- package/esm/models/registriesMappers.js.map +0 -1
- package/esm/models/replicationsMappers.d.ts +0 -2
- package/esm/models/replicationsMappers.d.ts.map +0 -1
- package/esm/models/replicationsMappers.js +0 -9
- package/esm/models/replicationsMappers.js.map +0 -1
- package/esm/models/runsMappers.d.ts +0 -2
- package/esm/models/runsMappers.d.ts.map +0 -1
- package/esm/models/runsMappers.js +0 -9
- package/esm/models/runsMappers.js.map +0 -1
- package/esm/models/scopeMapsMappers.d.ts +0 -2
- package/esm/models/scopeMapsMappers.d.ts.map +0 -1
- package/esm/models/scopeMapsMappers.js +0 -9
- package/esm/models/scopeMapsMappers.js.map +0 -1
- package/esm/models/tasksMappers.d.ts +0 -2
- package/esm/models/tasksMappers.d.ts.map +0 -1
- package/esm/models/tasksMappers.js +0 -9
- package/esm/models/tasksMappers.js.map +0 -1
- package/esm/models/tokensMappers.d.ts +0 -2
- package/esm/models/tokensMappers.d.ts.map +0 -1
- package/esm/models/tokensMappers.js +0 -9
- package/esm/models/tokensMappers.js.map +0 -1
- package/esm/models/webhooksMappers.d.ts +0 -2
- package/esm/models/webhooksMappers.d.ts.map +0 -1
- package/esm/models/webhooksMappers.js +0 -9
- package/esm/models/webhooksMappers.js.map +0 -1
- package/esm/operations/index.d.ts +0 -9
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/registries.d.ts +0 -319
- package/esm/operations/registries.d.ts.map +0 -1
- package/esm/operations/registries.js +0 -664
- package/esm/operations/registries.js.map +0 -1
- package/esm/operations/replications.d.ts +0 -135
- package/esm/operations/replications.d.ts.map +0 -1
- package/esm/operations/replications.js +0 -297
- package/esm/operations/replications.js.map +0 -1
- package/esm/operations/runs.d.ts +0 -139
- package/esm/operations/runs.d.ts.map +0 -1
- package/esm/operations/runs.js +0 -268
- package/esm/operations/runs.js.map +0 -1
- package/esm/operations/scopeMaps.d.ts +0 -135
- package/esm/operations/scopeMaps.d.ts.map +0 -1
- package/esm/operations/scopeMaps.js +0 -297
- package/esm/operations/scopeMaps.js.map +0 -1
- package/esm/operations/tasks.d.ts +0 -159
- package/esm/operations/tasks.d.ts.map +0 -1
- package/esm/operations/tasks.js +0 -330
- package/esm/operations/tasks.js.map +0 -1
- package/esm/operations/tokens.d.ts +0 -135
- package/esm/operations/tokens.d.ts.map +0 -1
- package/esm/operations/tokens.js +0 -297
- package/esm/operations/tokens.js.map +0 -1
- package/esm/operations/webhooks.d.ts +0 -225
- package/esm/operations/webhooks.d.ts.map +0 -1
- package/esm/operations/webhooks.js +0 -422
- package/esm/operations/webhooks.js.map +0 -1
- package/src/models/operationsMappers.ts +0 -17
- package/src/models/registriesMappers.ts +0 -81
- package/src/models/replicationsMappers.ts +0 -62
- package/src/models/runsMappers.ts +0 -63
- package/src/models/scopeMapsMappers.ts +0 -62
- package/src/models/tasksMappers.ts +0 -73
- package/src/models/tokensMappers.ts +0 -62
- package/src/models/webhooksMappers.ts +0 -74
package/src/operations/runs.ts
CHANGED
@@ -1,27 +1,43 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
* license information.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
5
4
|
*
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
9
7
|
*/
|
10
8
|
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import * as
|
14
|
-
import * as Mappers from "../models/
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { Runs } from "../operationsInterfaces";
|
11
|
+
import * as coreClient from "@azure/core-client";
|
12
|
+
import * as Mappers from "../models/mappers";
|
15
13
|
import * as Parameters from "../models/parameters";
|
16
14
|
import { ContainerRegistryManagementClientContext } from "../containerRegistryManagementClientContext";
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
16
|
+
import { LroImpl } from "../lroImpl";
|
17
|
+
import {
|
18
|
+
Run,
|
19
|
+
RunsListNextOptionalParams,
|
20
|
+
RunsListOptionalParams,
|
21
|
+
RunsListResponse,
|
22
|
+
RunsGetOptionalParams,
|
23
|
+
RunsGetResponse,
|
24
|
+
RunUpdateParameters,
|
25
|
+
RunsUpdateOptionalParams,
|
26
|
+
RunsUpdateResponse,
|
27
|
+
RunsGetLogSasUrlOptionalParams,
|
28
|
+
RunsGetLogSasUrlResponse,
|
29
|
+
RunsCancelOptionalParams,
|
30
|
+
RunsListNextResponse
|
31
|
+
} from "../models";
|
17
32
|
|
18
|
-
|
19
|
-
|
33
|
+
/// <reference lib="esnext.asynciterable" />
|
34
|
+
/** Class containing Runs operations. */
|
35
|
+
export class RunsImpl implements Runs {
|
20
36
|
private readonly client: ContainerRegistryManagementClientContext;
|
21
37
|
|
22
38
|
/**
|
23
|
-
*
|
24
|
-
* @param
|
39
|
+
* Initialize a new instance of the class Runs class.
|
40
|
+
* @param client Reference to the service client
|
25
41
|
*/
|
26
42
|
constructor(client: ContainerRegistryManagementClientContext) {
|
27
43
|
this.client = client;
|
@@ -31,68 +47,95 @@ export class Runs {
|
|
31
47
|
* Gets all the runs for a registry.
|
32
48
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
33
49
|
* @param registryName The name of the container registry.
|
34
|
-
* @param
|
35
|
-
* @returns Promise<Models.RunsListResponse>
|
50
|
+
* @param options The options parameters.
|
36
51
|
*/
|
37
|
-
list(
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
52
|
+
public list(
|
53
|
+
resourceGroupName: string,
|
54
|
+
registryName: string,
|
55
|
+
options?: RunsListOptionalParams
|
56
|
+
): PagedAsyncIterableIterator<Run> {
|
57
|
+
const iter = this.listPagingAll(resourceGroupName, registryName, options);
|
58
|
+
return {
|
59
|
+
next() {
|
60
|
+
return iter.next();
|
61
|
+
},
|
62
|
+
[Symbol.asyncIterator]() {
|
63
|
+
return this;
|
64
|
+
},
|
65
|
+
byPage: () => {
|
66
|
+
return this.listPagingPage(resourceGroupName, registryName, options);
|
67
|
+
}
|
68
|
+
};
|
69
|
+
}
|
70
|
+
|
71
|
+
private async *listPagingPage(
|
72
|
+
resourceGroupName: string,
|
73
|
+
registryName: string,
|
74
|
+
options?: RunsListOptionalParams
|
75
|
+
): AsyncIterableIterator<Run[]> {
|
76
|
+
let result = await this._list(resourceGroupName, registryName, options);
|
77
|
+
yield result.value || [];
|
78
|
+
let continuationToken = result.nextLink;
|
79
|
+
while (continuationToken) {
|
80
|
+
result = await this._listNext(
|
54
81
|
resourceGroupName,
|
55
82
|
registryName,
|
83
|
+
continuationToken,
|
56
84
|
options
|
57
|
-
|
58
|
-
|
59
|
-
|
85
|
+
);
|
86
|
+
continuationToken = result.nextLink;
|
87
|
+
yield result.value || [];
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
private async *listPagingAll(
|
92
|
+
resourceGroupName: string,
|
93
|
+
registryName: string,
|
94
|
+
options?: RunsListOptionalParams
|
95
|
+
): AsyncIterableIterator<Run> {
|
96
|
+
for await (const page of this.listPagingPage(
|
97
|
+
resourceGroupName,
|
98
|
+
registryName,
|
99
|
+
options
|
100
|
+
)) {
|
101
|
+
yield* page;
|
102
|
+
}
|
60
103
|
}
|
61
104
|
|
62
105
|
/**
|
63
|
-
* Gets the
|
64
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
65
|
-
* @param registryName The name of the container registry.
|
66
|
-
* @param runId The run ID.
|
67
|
-
* @param [options] The optional parameters
|
68
|
-
* @returns Promise<Models.RunsGetResponse>
|
69
|
-
*/
|
70
|
-
get(resourceGroupName: string, registryName: string, runId: string, options?: msRest.RequestOptionsBase): Promise<Models.RunsGetResponse>;
|
71
|
-
/**
|
106
|
+
* Gets all the runs for a registry.
|
72
107
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
73
108
|
* @param registryName The name of the container registry.
|
74
|
-
* @param
|
75
|
-
* @param callback The callback
|
109
|
+
* @param options The options parameters.
|
76
110
|
*/
|
77
|
-
|
111
|
+
private _list(
|
112
|
+
resourceGroupName: string,
|
113
|
+
registryName: string,
|
114
|
+
options?: RunsListOptionalParams
|
115
|
+
): Promise<RunsListResponse> {
|
116
|
+
return this.client.sendOperationRequest(
|
117
|
+
{ resourceGroupName, registryName, options },
|
118
|
+
listOperationSpec
|
119
|
+
);
|
120
|
+
}
|
121
|
+
|
78
122
|
/**
|
123
|
+
* Gets the detailed information for a given run.
|
79
124
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
80
125
|
* @param registryName The name of the container registry.
|
81
126
|
* @param runId The run ID.
|
82
|
-
* @param options The
|
83
|
-
* @param callback The callback
|
127
|
+
* @param options The options parameters.
|
84
128
|
*/
|
85
|
-
get(
|
86
|
-
|
129
|
+
get(
|
130
|
+
resourceGroupName: string,
|
131
|
+
registryName: string,
|
132
|
+
runId: string,
|
133
|
+
options?: RunsGetOptionalParams
|
134
|
+
): Promise<RunsGetResponse> {
|
87
135
|
return this.client.sendOperationRequest(
|
88
|
-
{
|
89
|
-
|
90
|
-
|
91
|
-
runId,
|
92
|
-
options
|
93
|
-
},
|
94
|
-
getOperationSpec,
|
95
|
-
callback) as Promise<Models.RunsGetResponse>;
|
136
|
+
{ resourceGroupName, registryName, runId, options },
|
137
|
+
getOperationSpec
|
138
|
+
);
|
96
139
|
}
|
97
140
|
|
98
141
|
/**
|
@@ -101,48 +144,109 @@ export class Runs {
|
|
101
144
|
* @param registryName The name of the container registry.
|
102
145
|
* @param runId The run ID.
|
103
146
|
* @param runUpdateParameters The run update properties.
|
104
|
-
* @param
|
105
|
-
* @returns Promise<Models.RunsUpdateResponse>
|
147
|
+
* @param options The options parameters.
|
106
148
|
*/
|
107
|
-
|
108
|
-
|
109
|
-
|
149
|
+
async beginUpdate(
|
150
|
+
resourceGroupName: string,
|
151
|
+
registryName: string,
|
152
|
+
runId: string,
|
153
|
+
runUpdateParameters: RunUpdateParameters,
|
154
|
+
options?: RunsUpdateOptionalParams
|
155
|
+
): Promise<
|
156
|
+
PollerLike<PollOperationState<RunsUpdateResponse>, RunsUpdateResponse>
|
157
|
+
> {
|
158
|
+
const directSendOperation = async (
|
159
|
+
args: coreClient.OperationArguments,
|
160
|
+
spec: coreClient.OperationSpec
|
161
|
+
): Promise<RunsUpdateResponse> => {
|
162
|
+
return this.client.sendOperationRequest(args, spec);
|
163
|
+
};
|
164
|
+
const sendOperation = async (
|
165
|
+
args: coreClient.OperationArguments,
|
166
|
+
spec: coreClient.OperationSpec
|
167
|
+
) => {
|
168
|
+
let currentRawResponse:
|
169
|
+
| coreClient.FullOperationResponse
|
170
|
+
| undefined = undefined;
|
171
|
+
const providedCallback = args.options?.onResponse;
|
172
|
+
const callback: coreClient.RawResponseCallback = (
|
173
|
+
rawResponse: coreClient.FullOperationResponse,
|
174
|
+
flatResponse: unknown
|
175
|
+
) => {
|
176
|
+
currentRawResponse = rawResponse;
|
177
|
+
providedCallback?.(rawResponse, flatResponse);
|
178
|
+
};
|
179
|
+
const updatedArgs = {
|
180
|
+
...args,
|
181
|
+
options: {
|
182
|
+
...args.options,
|
183
|
+
onResponse: callback
|
184
|
+
}
|
185
|
+
};
|
186
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
187
|
+
return {
|
188
|
+
flatResponse,
|
189
|
+
rawResponse: {
|
190
|
+
statusCode: currentRawResponse!.status,
|
191
|
+
body: currentRawResponse!.parsedBody,
|
192
|
+
headers: currentRawResponse!.headers.toJSON()
|
193
|
+
}
|
194
|
+
};
|
195
|
+
};
|
196
|
+
|
197
|
+
const lro = new LroImpl(
|
198
|
+
sendOperation,
|
199
|
+
{ resourceGroupName, registryName, runId, runUpdateParameters, options },
|
200
|
+
updateOperationSpec
|
201
|
+
);
|
202
|
+
return new LroEngine(lro, {
|
203
|
+
resumeFrom: options?.resumeFrom,
|
204
|
+
intervalInMs: options?.updateIntervalInMs
|
205
|
+
});
|
110
206
|
}
|
111
207
|
|
112
208
|
/**
|
113
|
-
*
|
114
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
115
|
-
* @param registryName The name of the container registry.
|
116
|
-
* @param runId The run ID.
|
117
|
-
* @param [options] The optional parameters
|
118
|
-
* @returns Promise<Models.RunsGetLogSasUrlResponse>
|
119
|
-
*/
|
120
|
-
getLogSasUrl(resourceGroupName: string, registryName: string, runId: string, options?: msRest.RequestOptionsBase): Promise<Models.RunsGetLogSasUrlResponse>;
|
121
|
-
/**
|
209
|
+
* Patch the run properties.
|
122
210
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
123
211
|
* @param registryName The name of the container registry.
|
124
212
|
* @param runId The run ID.
|
125
|
-
* @param
|
213
|
+
* @param runUpdateParameters The run update properties.
|
214
|
+
* @param options The options parameters.
|
126
215
|
*/
|
127
|
-
|
216
|
+
async beginUpdateAndWait(
|
217
|
+
resourceGroupName: string,
|
218
|
+
registryName: string,
|
219
|
+
runId: string,
|
220
|
+
runUpdateParameters: RunUpdateParameters,
|
221
|
+
options?: RunsUpdateOptionalParams
|
222
|
+
): Promise<RunsUpdateResponse> {
|
223
|
+
const poller = await this.beginUpdate(
|
224
|
+
resourceGroupName,
|
225
|
+
registryName,
|
226
|
+
runId,
|
227
|
+
runUpdateParameters,
|
228
|
+
options
|
229
|
+
);
|
230
|
+
return poller.pollUntilDone();
|
231
|
+
}
|
232
|
+
|
128
233
|
/**
|
234
|
+
* Gets a link to download the run logs.
|
129
235
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
130
236
|
* @param registryName The name of the container registry.
|
131
237
|
* @param runId The run ID.
|
132
|
-
* @param options The
|
133
|
-
* @param callback The callback
|
238
|
+
* @param options The options parameters.
|
134
239
|
*/
|
135
|
-
getLogSasUrl(
|
136
|
-
|
240
|
+
getLogSasUrl(
|
241
|
+
resourceGroupName: string,
|
242
|
+
registryName: string,
|
243
|
+
runId: string,
|
244
|
+
options?: RunsGetLogSasUrlOptionalParams
|
245
|
+
): Promise<RunsGetLogSasUrlResponse> {
|
137
246
|
return this.client.sendOperationRequest(
|
138
|
-
{
|
139
|
-
|
140
|
-
|
141
|
-
runId,
|
142
|
-
options
|
143
|
-
},
|
144
|
-
getLogSasUrlOperationSpec,
|
145
|
-
callback) as Promise<Models.RunsGetLogSasUrlResponse>;
|
247
|
+
{ resourceGroupName, registryName, runId, options },
|
248
|
+
getLogSasUrlOperationSpec
|
249
|
+
);
|
146
250
|
}
|
147
251
|
|
148
252
|
/**
|
@@ -150,34 +254,62 @@ export class Runs {
|
|
150
254
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
151
255
|
* @param registryName The name of the container registry.
|
152
256
|
* @param runId The run ID.
|
153
|
-
* @param
|
154
|
-
* @returns Promise<msRest.RestResponse>
|
257
|
+
* @param options The options parameters.
|
155
258
|
*/
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
259
|
+
async beginCancel(
|
260
|
+
resourceGroupName: string,
|
261
|
+
registryName: string,
|
262
|
+
runId: string,
|
263
|
+
options?: RunsCancelOptionalParams
|
264
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
265
|
+
const directSendOperation = async (
|
266
|
+
args: coreClient.OperationArguments,
|
267
|
+
spec: coreClient.OperationSpec
|
268
|
+
): Promise<void> => {
|
269
|
+
return this.client.sendOperationRequest(args, spec);
|
270
|
+
};
|
271
|
+
const sendOperation = async (
|
272
|
+
args: coreClient.OperationArguments,
|
273
|
+
spec: coreClient.OperationSpec
|
274
|
+
) => {
|
275
|
+
let currentRawResponse:
|
276
|
+
| coreClient.FullOperationResponse
|
277
|
+
| undefined = undefined;
|
278
|
+
const providedCallback = args.options?.onResponse;
|
279
|
+
const callback: coreClient.RawResponseCallback = (
|
280
|
+
rawResponse: coreClient.FullOperationResponse,
|
281
|
+
flatResponse: unknown
|
282
|
+
) => {
|
283
|
+
currentRawResponse = rawResponse;
|
284
|
+
providedCallback?.(rawResponse, flatResponse);
|
285
|
+
};
|
286
|
+
const updatedArgs = {
|
287
|
+
...args,
|
288
|
+
options: {
|
289
|
+
...args.options,
|
290
|
+
onResponse: callback
|
291
|
+
}
|
292
|
+
};
|
293
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
294
|
+
return {
|
295
|
+
flatResponse,
|
296
|
+
rawResponse: {
|
297
|
+
statusCode: currentRawResponse!.status,
|
298
|
+
body: currentRawResponse!.parsedBody,
|
299
|
+
headers: currentRawResponse!.headers.toJSON()
|
300
|
+
}
|
301
|
+
};
|
302
|
+
};
|
160
303
|
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
beginUpdate(resourceGroupName: string, registryName: string, runId: string, runUpdateParameters: Models.RunUpdateParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
171
|
-
return this.client.sendLRORequest(
|
172
|
-
{
|
173
|
-
resourceGroupName,
|
174
|
-
registryName,
|
175
|
-
runId,
|
176
|
-
runUpdateParameters,
|
177
|
-
options
|
178
|
-
},
|
179
|
-
beginUpdateOperationSpec,
|
180
|
-
options);
|
304
|
+
const lro = new LroImpl(
|
305
|
+
sendOperation,
|
306
|
+
{ resourceGroupName, registryName, runId, options },
|
307
|
+
cancelOperationSpec
|
308
|
+
);
|
309
|
+
return new LroEngine(lro, {
|
310
|
+
resumeFrom: options?.resumeFrom,
|
311
|
+
intervalInMs: options?.updateIntervalInMs
|
312
|
+
});
|
181
313
|
}
|
182
314
|
|
183
315
|
/**
|
@@ -185,209 +317,190 @@ export class Runs {
|
|
185
317
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
186
318
|
* @param registryName The name of the container registry.
|
187
319
|
* @param runId The run ID.
|
188
|
-
* @param
|
189
|
-
* @returns Promise<msRestAzure.LROPoller>
|
320
|
+
* @param options The options parameters.
|
190
321
|
*/
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
322
|
+
async beginCancelAndWait(
|
323
|
+
resourceGroupName: string,
|
324
|
+
registryName: string,
|
325
|
+
runId: string,
|
326
|
+
options?: RunsCancelOptionalParams
|
327
|
+
): Promise<void> {
|
328
|
+
const poller = await this.beginCancel(
|
329
|
+
resourceGroupName,
|
330
|
+
registryName,
|
331
|
+
runId,
|
332
|
+
options
|
333
|
+
);
|
334
|
+
return poller.pollUntilDone();
|
201
335
|
}
|
202
336
|
|
203
337
|
/**
|
204
|
-
*
|
205
|
-
* @param
|
206
|
-
* @param
|
207
|
-
* @
|
208
|
-
|
209
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RunsListNextResponse>;
|
210
|
-
/**
|
211
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
212
|
-
* @param callback The callback
|
213
|
-
*/
|
214
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RunListResult>): void;
|
215
|
-
/**
|
216
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
217
|
-
* @param options The optional parameters
|
218
|
-
* @param callback The callback
|
338
|
+
* ListNext
|
339
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
340
|
+
* @param registryName The name of the container registry.
|
341
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
342
|
+
* @param options The options parameters.
|
219
343
|
*/
|
220
|
-
|
221
|
-
|
344
|
+
private _listNext(
|
345
|
+
resourceGroupName: string,
|
346
|
+
registryName: string,
|
347
|
+
nextLink: string,
|
348
|
+
options?: RunsListNextOptionalParams
|
349
|
+
): Promise<RunsListNextResponse> {
|
222
350
|
return this.client.sendOperationRequest(
|
223
|
-
{
|
224
|
-
|
225
|
-
|
226
|
-
},
|
227
|
-
listNextOperationSpec,
|
228
|
-
callback) as Promise<Models.RunsListNextResponse>;
|
351
|
+
{ resourceGroupName, registryName, nextLink, options },
|
352
|
+
listNextOperationSpec
|
353
|
+
);
|
229
354
|
}
|
230
355
|
}
|
231
|
-
|
232
356
|
// Operation Specifications
|
233
|
-
const serializer =
|
234
|
-
|
357
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
358
|
+
|
359
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
360
|
+
path:
|
361
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs",
|
235
362
|
httpMethod: "GET",
|
236
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs",
|
237
|
-
urlParameters: [
|
238
|
-
Parameters.subscriptionId,
|
239
|
-
Parameters.resourceGroupName,
|
240
|
-
Parameters.registryName
|
241
|
-
],
|
242
|
-
queryParameters: [
|
243
|
-
Parameters.apiVersion1,
|
244
|
-
Parameters.filter,
|
245
|
-
Parameters.top
|
246
|
-
],
|
247
|
-
headerParameters: [
|
248
|
-
Parameters.acceptLanguage
|
249
|
-
],
|
250
363
|
responses: {
|
251
364
|
200: {
|
252
365
|
bodyMapper: Mappers.RunListResult
|
253
366
|
},
|
254
367
|
default: {
|
255
|
-
bodyMapper: Mappers.
|
368
|
+
bodyMapper: Mappers.ErrorResponse
|
256
369
|
}
|
257
370
|
},
|
258
|
-
|
259
|
-
};
|
260
|
-
|
261
|
-
const getOperationSpec: msRest.OperationSpec = {
|
262
|
-
httpMethod: "GET",
|
263
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}",
|
371
|
+
queryParameters: [Parameters.filter, Parameters.apiVersion1, Parameters.top],
|
264
372
|
urlParameters: [
|
373
|
+
Parameters.$host,
|
265
374
|
Parameters.subscriptionId,
|
266
375
|
Parameters.resourceGroupName,
|
267
|
-
Parameters.registryName
|
268
|
-
Parameters.runId
|
269
|
-
],
|
270
|
-
queryParameters: [
|
271
|
-
Parameters.apiVersion1
|
272
|
-
],
|
273
|
-
headerParameters: [
|
274
|
-
Parameters.acceptLanguage
|
376
|
+
Parameters.registryName
|
275
377
|
],
|
378
|
+
headerParameters: [Parameters.accept],
|
379
|
+
serializer
|
380
|
+
};
|
381
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
382
|
+
path:
|
383
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}",
|
384
|
+
httpMethod: "GET",
|
276
385
|
responses: {
|
277
386
|
200: {
|
278
387
|
bodyMapper: Mappers.Run
|
279
388
|
},
|
280
389
|
default: {
|
281
|
-
bodyMapper: Mappers.
|
390
|
+
bodyMapper: Mappers.ErrorResponse
|
282
391
|
}
|
283
392
|
},
|
284
|
-
|
285
|
-
};
|
286
|
-
|
287
|
-
const getLogSasUrlOperationSpec: msRest.OperationSpec = {
|
288
|
-
httpMethod: "POST",
|
289
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl",
|
393
|
+
queryParameters: [Parameters.apiVersion1],
|
290
394
|
urlParameters: [
|
395
|
+
Parameters.$host,
|
291
396
|
Parameters.subscriptionId,
|
292
397
|
Parameters.resourceGroupName,
|
293
398
|
Parameters.registryName,
|
294
399
|
Parameters.runId
|
295
400
|
],
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
401
|
+
headerParameters: [Parameters.accept],
|
402
|
+
serializer
|
403
|
+
};
|
404
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
405
|
+
path:
|
406
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}",
|
407
|
+
httpMethod: "PATCH",
|
302
408
|
responses: {
|
303
409
|
200: {
|
304
|
-
bodyMapper: Mappers.
|
410
|
+
bodyMapper: Mappers.Run
|
411
|
+
},
|
412
|
+
201: {
|
413
|
+
bodyMapper: Mappers.Run
|
414
|
+
},
|
415
|
+
202: {
|
416
|
+
bodyMapper: Mappers.Run
|
417
|
+
},
|
418
|
+
204: {
|
419
|
+
bodyMapper: Mappers.Run
|
305
420
|
},
|
306
421
|
default: {
|
307
|
-
bodyMapper: Mappers.
|
422
|
+
bodyMapper: Mappers.ErrorResponse
|
308
423
|
}
|
309
424
|
},
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
const beginUpdateOperationSpec: msRest.OperationSpec = {
|
314
|
-
httpMethod: "PATCH",
|
315
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}",
|
425
|
+
requestBody: Parameters.runUpdateParameters,
|
426
|
+
queryParameters: [Parameters.apiVersion1],
|
316
427
|
urlParameters: [
|
428
|
+
Parameters.$host,
|
317
429
|
Parameters.subscriptionId,
|
318
430
|
Parameters.resourceGroupName,
|
319
431
|
Parameters.registryName,
|
320
432
|
Parameters.runId
|
321
433
|
],
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
mapper: {
|
331
|
-
...Mappers.RunUpdateParameters,
|
332
|
-
required: true
|
333
|
-
}
|
334
|
-
},
|
434
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
435
|
+
mediaType: "json",
|
436
|
+
serializer
|
437
|
+
};
|
438
|
+
const getLogSasUrlOperationSpec: coreClient.OperationSpec = {
|
439
|
+
path:
|
440
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl",
|
441
|
+
httpMethod: "POST",
|
335
442
|
responses: {
|
336
443
|
200: {
|
337
|
-
bodyMapper: Mappers.
|
338
|
-
},
|
339
|
-
201: {
|
340
|
-
bodyMapper: Mappers.Run
|
444
|
+
bodyMapper: Mappers.RunGetLogResult
|
341
445
|
},
|
342
446
|
default: {
|
343
|
-
bodyMapper: Mappers.
|
447
|
+
bodyMapper: Mappers.ErrorResponse
|
344
448
|
}
|
345
449
|
},
|
346
|
-
|
347
|
-
};
|
348
|
-
|
349
|
-
const beginCancelOperationSpec: msRest.OperationSpec = {
|
350
|
-
httpMethod: "POST",
|
351
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel",
|
450
|
+
queryParameters: [Parameters.apiVersion1],
|
352
451
|
urlParameters: [
|
452
|
+
Parameters.$host,
|
353
453
|
Parameters.subscriptionId,
|
354
454
|
Parameters.resourceGroupName,
|
355
455
|
Parameters.registryName,
|
356
456
|
Parameters.runId
|
357
457
|
],
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
458
|
+
headerParameters: [Parameters.accept],
|
459
|
+
serializer
|
460
|
+
};
|
461
|
+
const cancelOperationSpec: coreClient.OperationSpec = {
|
462
|
+
path:
|
463
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel",
|
464
|
+
httpMethod: "POST",
|
364
465
|
responses: {
|
365
466
|
200: {},
|
467
|
+
201: {},
|
366
468
|
202: {},
|
469
|
+
204: {},
|
367
470
|
default: {
|
368
|
-
bodyMapper: Mappers.
|
471
|
+
bodyMapper: Mappers.ErrorResponse
|
369
472
|
}
|
370
473
|
},
|
474
|
+
queryParameters: [Parameters.apiVersion1],
|
475
|
+
urlParameters: [
|
476
|
+
Parameters.$host,
|
477
|
+
Parameters.subscriptionId,
|
478
|
+
Parameters.resourceGroupName,
|
479
|
+
Parameters.registryName,
|
480
|
+
Parameters.runId
|
481
|
+
],
|
482
|
+
headerParameters: [Parameters.accept],
|
371
483
|
serializer
|
372
484
|
};
|
373
|
-
|
374
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
375
|
-
httpMethod: "GET",
|
376
|
-
baseUrl: "https://management.azure.com",
|
485
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
377
486
|
path: "{nextLink}",
|
378
|
-
|
379
|
-
Parameters.nextPageLink
|
380
|
-
],
|
381
|
-
headerParameters: [
|
382
|
-
Parameters.acceptLanguage
|
383
|
-
],
|
487
|
+
httpMethod: "GET",
|
384
488
|
responses: {
|
385
489
|
200: {
|
386
490
|
bodyMapper: Mappers.RunListResult
|
387
491
|
},
|
388
492
|
default: {
|
389
|
-
bodyMapper: Mappers.
|
493
|
+
bodyMapper: Mappers.ErrorResponse
|
390
494
|
}
|
391
495
|
},
|
496
|
+
queryParameters: [Parameters.filter, Parameters.apiVersion1, Parameters.top],
|
497
|
+
urlParameters: [
|
498
|
+
Parameters.$host,
|
499
|
+
Parameters.subscriptionId,
|
500
|
+
Parameters.resourceGroupName,
|
501
|
+
Parameters.registryName,
|
502
|
+
Parameters.nextLink
|
503
|
+
],
|
504
|
+
headerParameters: [Parameters.accept],
|
392
505
|
serializer
|
393
506
|
};
|