@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
@@ -0,0 +1,646 @@
|
|
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { TaskRuns } from "../operationsInterfaces";
|
11
|
+
import * as coreClient from "@azure/core-client";
|
12
|
+
import * as Mappers from "../models/mappers";
|
13
|
+
import * as Parameters from "../models/parameters";
|
14
|
+
import { ContainerRegistryManagementClientContext } from "../containerRegistryManagementClientContext";
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
16
|
+
import { LroImpl } from "../lroImpl";
|
17
|
+
import {
|
18
|
+
TaskRun,
|
19
|
+
TaskRunsListNextOptionalParams,
|
20
|
+
TaskRunsListOptionalParams,
|
21
|
+
TaskRunsGetOptionalParams,
|
22
|
+
TaskRunsGetResponse,
|
23
|
+
TaskRunsCreateOptionalParams,
|
24
|
+
TaskRunsCreateResponse,
|
25
|
+
TaskRunsDeleteOptionalParams,
|
26
|
+
TaskRunUpdateParameters,
|
27
|
+
TaskRunsUpdateOptionalParams,
|
28
|
+
TaskRunsUpdateResponse,
|
29
|
+
TaskRunsGetDetailsOptionalParams,
|
30
|
+
TaskRunsGetDetailsResponse,
|
31
|
+
TaskRunsListResponse,
|
32
|
+
TaskRunsListNextResponse
|
33
|
+
} from "../models";
|
34
|
+
|
35
|
+
/// <reference lib="esnext.asynciterable" />
|
36
|
+
/** Class containing TaskRuns operations. */
|
37
|
+
export class TaskRunsImpl implements TaskRuns {
|
38
|
+
private readonly client: ContainerRegistryManagementClientContext;
|
39
|
+
|
40
|
+
/**
|
41
|
+
* Initialize a new instance of the class TaskRuns class.
|
42
|
+
* @param client Reference to the service client
|
43
|
+
*/
|
44
|
+
constructor(client: ContainerRegistryManagementClientContext) {
|
45
|
+
this.client = client;
|
46
|
+
}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Lists all the task runs for a specified container registry.
|
50
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
51
|
+
* @param registryName The name of the container registry.
|
52
|
+
* @param options The options parameters.
|
53
|
+
*/
|
54
|
+
public list(
|
55
|
+
resourceGroupName: string,
|
56
|
+
registryName: string,
|
57
|
+
options?: TaskRunsListOptionalParams
|
58
|
+
): PagedAsyncIterableIterator<TaskRun> {
|
59
|
+
const iter = this.listPagingAll(resourceGroupName, registryName, options);
|
60
|
+
return {
|
61
|
+
next() {
|
62
|
+
return iter.next();
|
63
|
+
},
|
64
|
+
[Symbol.asyncIterator]() {
|
65
|
+
return this;
|
66
|
+
},
|
67
|
+
byPage: () => {
|
68
|
+
return this.listPagingPage(resourceGroupName, registryName, options);
|
69
|
+
}
|
70
|
+
};
|
71
|
+
}
|
72
|
+
|
73
|
+
private async *listPagingPage(
|
74
|
+
resourceGroupName: string,
|
75
|
+
registryName: string,
|
76
|
+
options?: TaskRunsListOptionalParams
|
77
|
+
): AsyncIterableIterator<TaskRun[]> {
|
78
|
+
let result = await this._list(resourceGroupName, registryName, options);
|
79
|
+
yield result.value || [];
|
80
|
+
let continuationToken = result.nextLink;
|
81
|
+
while (continuationToken) {
|
82
|
+
result = await this._listNext(
|
83
|
+
resourceGroupName,
|
84
|
+
registryName,
|
85
|
+
continuationToken,
|
86
|
+
options
|
87
|
+
);
|
88
|
+
continuationToken = result.nextLink;
|
89
|
+
yield result.value || [];
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
private async *listPagingAll(
|
94
|
+
resourceGroupName: string,
|
95
|
+
registryName: string,
|
96
|
+
options?: TaskRunsListOptionalParams
|
97
|
+
): AsyncIterableIterator<TaskRun> {
|
98
|
+
for await (const page of this.listPagingPage(
|
99
|
+
resourceGroupName,
|
100
|
+
registryName,
|
101
|
+
options
|
102
|
+
)) {
|
103
|
+
yield* page;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
/**
|
108
|
+
* Gets the detailed information for a given task run.
|
109
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
110
|
+
* @param registryName The name of the container registry.
|
111
|
+
* @param taskRunName The name of the task run.
|
112
|
+
* @param options The options parameters.
|
113
|
+
*/
|
114
|
+
get(
|
115
|
+
resourceGroupName: string,
|
116
|
+
registryName: string,
|
117
|
+
taskRunName: string,
|
118
|
+
options?: TaskRunsGetOptionalParams
|
119
|
+
): Promise<TaskRunsGetResponse> {
|
120
|
+
return this.client.sendOperationRequest(
|
121
|
+
{ resourceGroupName, registryName, taskRunName, options },
|
122
|
+
getOperationSpec
|
123
|
+
);
|
124
|
+
}
|
125
|
+
|
126
|
+
/**
|
127
|
+
* Creates a task run for a container registry with the specified parameters.
|
128
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
129
|
+
* @param registryName The name of the container registry.
|
130
|
+
* @param taskRunName The name of the task run.
|
131
|
+
* @param taskRun The parameters of a run that needs to scheduled.
|
132
|
+
* @param options The options parameters.
|
133
|
+
*/
|
134
|
+
async beginCreate(
|
135
|
+
resourceGroupName: string,
|
136
|
+
registryName: string,
|
137
|
+
taskRunName: string,
|
138
|
+
taskRun: TaskRun,
|
139
|
+
options?: TaskRunsCreateOptionalParams
|
140
|
+
): Promise<
|
141
|
+
PollerLike<
|
142
|
+
PollOperationState<TaskRunsCreateResponse>,
|
143
|
+
TaskRunsCreateResponse
|
144
|
+
>
|
145
|
+
> {
|
146
|
+
const directSendOperation = async (
|
147
|
+
args: coreClient.OperationArguments,
|
148
|
+
spec: coreClient.OperationSpec
|
149
|
+
): Promise<TaskRunsCreateResponse> => {
|
150
|
+
return this.client.sendOperationRequest(args, spec);
|
151
|
+
};
|
152
|
+
const sendOperation = async (
|
153
|
+
args: coreClient.OperationArguments,
|
154
|
+
spec: coreClient.OperationSpec
|
155
|
+
) => {
|
156
|
+
let currentRawResponse:
|
157
|
+
| coreClient.FullOperationResponse
|
158
|
+
| undefined = undefined;
|
159
|
+
const providedCallback = args.options?.onResponse;
|
160
|
+
const callback: coreClient.RawResponseCallback = (
|
161
|
+
rawResponse: coreClient.FullOperationResponse,
|
162
|
+
flatResponse: unknown
|
163
|
+
) => {
|
164
|
+
currentRawResponse = rawResponse;
|
165
|
+
providedCallback?.(rawResponse, flatResponse);
|
166
|
+
};
|
167
|
+
const updatedArgs = {
|
168
|
+
...args,
|
169
|
+
options: {
|
170
|
+
...args.options,
|
171
|
+
onResponse: callback
|
172
|
+
}
|
173
|
+
};
|
174
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
175
|
+
return {
|
176
|
+
flatResponse,
|
177
|
+
rawResponse: {
|
178
|
+
statusCode: currentRawResponse!.status,
|
179
|
+
body: currentRawResponse!.parsedBody,
|
180
|
+
headers: currentRawResponse!.headers.toJSON()
|
181
|
+
}
|
182
|
+
};
|
183
|
+
};
|
184
|
+
|
185
|
+
const lro = new LroImpl(
|
186
|
+
sendOperation,
|
187
|
+
{ resourceGroupName, registryName, taskRunName, taskRun, options },
|
188
|
+
createOperationSpec
|
189
|
+
);
|
190
|
+
return new LroEngine(lro, {
|
191
|
+
resumeFrom: options?.resumeFrom,
|
192
|
+
intervalInMs: options?.updateIntervalInMs
|
193
|
+
});
|
194
|
+
}
|
195
|
+
|
196
|
+
/**
|
197
|
+
* Creates a task run for a container registry with the specified parameters.
|
198
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
199
|
+
* @param registryName The name of the container registry.
|
200
|
+
* @param taskRunName The name of the task run.
|
201
|
+
* @param taskRun The parameters of a run that needs to scheduled.
|
202
|
+
* @param options The options parameters.
|
203
|
+
*/
|
204
|
+
async beginCreateAndWait(
|
205
|
+
resourceGroupName: string,
|
206
|
+
registryName: string,
|
207
|
+
taskRunName: string,
|
208
|
+
taskRun: TaskRun,
|
209
|
+
options?: TaskRunsCreateOptionalParams
|
210
|
+
): Promise<TaskRunsCreateResponse> {
|
211
|
+
const poller = await this.beginCreate(
|
212
|
+
resourceGroupName,
|
213
|
+
registryName,
|
214
|
+
taskRunName,
|
215
|
+
taskRun,
|
216
|
+
options
|
217
|
+
);
|
218
|
+
return poller.pollUntilDone();
|
219
|
+
}
|
220
|
+
|
221
|
+
/**
|
222
|
+
* Deletes a specified task run resource.
|
223
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
224
|
+
* @param registryName The name of the container registry.
|
225
|
+
* @param taskRunName The name of the task run.
|
226
|
+
* @param options The options parameters.
|
227
|
+
*/
|
228
|
+
async beginDelete(
|
229
|
+
resourceGroupName: string,
|
230
|
+
registryName: string,
|
231
|
+
taskRunName: string,
|
232
|
+
options?: TaskRunsDeleteOptionalParams
|
233
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
234
|
+
const directSendOperation = async (
|
235
|
+
args: coreClient.OperationArguments,
|
236
|
+
spec: coreClient.OperationSpec
|
237
|
+
): Promise<void> => {
|
238
|
+
return this.client.sendOperationRequest(args, spec);
|
239
|
+
};
|
240
|
+
const sendOperation = async (
|
241
|
+
args: coreClient.OperationArguments,
|
242
|
+
spec: coreClient.OperationSpec
|
243
|
+
) => {
|
244
|
+
let currentRawResponse:
|
245
|
+
| coreClient.FullOperationResponse
|
246
|
+
| undefined = undefined;
|
247
|
+
const providedCallback = args.options?.onResponse;
|
248
|
+
const callback: coreClient.RawResponseCallback = (
|
249
|
+
rawResponse: coreClient.FullOperationResponse,
|
250
|
+
flatResponse: unknown
|
251
|
+
) => {
|
252
|
+
currentRawResponse = rawResponse;
|
253
|
+
providedCallback?.(rawResponse, flatResponse);
|
254
|
+
};
|
255
|
+
const updatedArgs = {
|
256
|
+
...args,
|
257
|
+
options: {
|
258
|
+
...args.options,
|
259
|
+
onResponse: callback
|
260
|
+
}
|
261
|
+
};
|
262
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
263
|
+
return {
|
264
|
+
flatResponse,
|
265
|
+
rawResponse: {
|
266
|
+
statusCode: currentRawResponse!.status,
|
267
|
+
body: currentRawResponse!.parsedBody,
|
268
|
+
headers: currentRawResponse!.headers.toJSON()
|
269
|
+
}
|
270
|
+
};
|
271
|
+
};
|
272
|
+
|
273
|
+
const lro = new LroImpl(
|
274
|
+
sendOperation,
|
275
|
+
{ resourceGroupName, registryName, taskRunName, options },
|
276
|
+
deleteOperationSpec
|
277
|
+
);
|
278
|
+
return new LroEngine(lro, {
|
279
|
+
resumeFrom: options?.resumeFrom,
|
280
|
+
intervalInMs: options?.updateIntervalInMs
|
281
|
+
});
|
282
|
+
}
|
283
|
+
|
284
|
+
/**
|
285
|
+
* Deletes a specified task run resource.
|
286
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
287
|
+
* @param registryName The name of the container registry.
|
288
|
+
* @param taskRunName The name of the task run.
|
289
|
+
* @param options The options parameters.
|
290
|
+
*/
|
291
|
+
async beginDeleteAndWait(
|
292
|
+
resourceGroupName: string,
|
293
|
+
registryName: string,
|
294
|
+
taskRunName: string,
|
295
|
+
options?: TaskRunsDeleteOptionalParams
|
296
|
+
): Promise<void> {
|
297
|
+
const poller = await this.beginDelete(
|
298
|
+
resourceGroupName,
|
299
|
+
registryName,
|
300
|
+
taskRunName,
|
301
|
+
options
|
302
|
+
);
|
303
|
+
return poller.pollUntilDone();
|
304
|
+
}
|
305
|
+
|
306
|
+
/**
|
307
|
+
* Updates a task run with the specified parameters.
|
308
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
309
|
+
* @param registryName The name of the container registry.
|
310
|
+
* @param taskRunName The name of the task run.
|
311
|
+
* @param updateParameters The parameters for updating a task run.
|
312
|
+
* @param options The options parameters.
|
313
|
+
*/
|
314
|
+
async beginUpdate(
|
315
|
+
resourceGroupName: string,
|
316
|
+
registryName: string,
|
317
|
+
taskRunName: string,
|
318
|
+
updateParameters: TaskRunUpdateParameters,
|
319
|
+
options?: TaskRunsUpdateOptionalParams
|
320
|
+
): Promise<
|
321
|
+
PollerLike<
|
322
|
+
PollOperationState<TaskRunsUpdateResponse>,
|
323
|
+
TaskRunsUpdateResponse
|
324
|
+
>
|
325
|
+
> {
|
326
|
+
const directSendOperation = async (
|
327
|
+
args: coreClient.OperationArguments,
|
328
|
+
spec: coreClient.OperationSpec
|
329
|
+
): Promise<TaskRunsUpdateResponse> => {
|
330
|
+
return this.client.sendOperationRequest(args, spec);
|
331
|
+
};
|
332
|
+
const sendOperation = async (
|
333
|
+
args: coreClient.OperationArguments,
|
334
|
+
spec: coreClient.OperationSpec
|
335
|
+
) => {
|
336
|
+
let currentRawResponse:
|
337
|
+
| coreClient.FullOperationResponse
|
338
|
+
| undefined = undefined;
|
339
|
+
const providedCallback = args.options?.onResponse;
|
340
|
+
const callback: coreClient.RawResponseCallback = (
|
341
|
+
rawResponse: coreClient.FullOperationResponse,
|
342
|
+
flatResponse: unknown
|
343
|
+
) => {
|
344
|
+
currentRawResponse = rawResponse;
|
345
|
+
providedCallback?.(rawResponse, flatResponse);
|
346
|
+
};
|
347
|
+
const updatedArgs = {
|
348
|
+
...args,
|
349
|
+
options: {
|
350
|
+
...args.options,
|
351
|
+
onResponse: callback
|
352
|
+
}
|
353
|
+
};
|
354
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
355
|
+
return {
|
356
|
+
flatResponse,
|
357
|
+
rawResponse: {
|
358
|
+
statusCode: currentRawResponse!.status,
|
359
|
+
body: currentRawResponse!.parsedBody,
|
360
|
+
headers: currentRawResponse!.headers.toJSON()
|
361
|
+
}
|
362
|
+
};
|
363
|
+
};
|
364
|
+
|
365
|
+
const lro = new LroImpl(
|
366
|
+
sendOperation,
|
367
|
+
{
|
368
|
+
resourceGroupName,
|
369
|
+
registryName,
|
370
|
+
taskRunName,
|
371
|
+
updateParameters,
|
372
|
+
options
|
373
|
+
},
|
374
|
+
updateOperationSpec
|
375
|
+
);
|
376
|
+
return new LroEngine(lro, {
|
377
|
+
resumeFrom: options?.resumeFrom,
|
378
|
+
intervalInMs: options?.updateIntervalInMs
|
379
|
+
});
|
380
|
+
}
|
381
|
+
|
382
|
+
/**
|
383
|
+
* Updates a task run with the specified parameters.
|
384
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
385
|
+
* @param registryName The name of the container registry.
|
386
|
+
* @param taskRunName The name of the task run.
|
387
|
+
* @param updateParameters The parameters for updating a task run.
|
388
|
+
* @param options The options parameters.
|
389
|
+
*/
|
390
|
+
async beginUpdateAndWait(
|
391
|
+
resourceGroupName: string,
|
392
|
+
registryName: string,
|
393
|
+
taskRunName: string,
|
394
|
+
updateParameters: TaskRunUpdateParameters,
|
395
|
+
options?: TaskRunsUpdateOptionalParams
|
396
|
+
): Promise<TaskRunsUpdateResponse> {
|
397
|
+
const poller = await this.beginUpdate(
|
398
|
+
resourceGroupName,
|
399
|
+
registryName,
|
400
|
+
taskRunName,
|
401
|
+
updateParameters,
|
402
|
+
options
|
403
|
+
);
|
404
|
+
return poller.pollUntilDone();
|
405
|
+
}
|
406
|
+
|
407
|
+
/**
|
408
|
+
* Gets the detailed information for a given task run that includes all secrets.
|
409
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
410
|
+
* @param registryName The name of the container registry.
|
411
|
+
* @param taskRunName The name of the task run.
|
412
|
+
* @param options The options parameters.
|
413
|
+
*/
|
414
|
+
getDetails(
|
415
|
+
resourceGroupName: string,
|
416
|
+
registryName: string,
|
417
|
+
taskRunName: string,
|
418
|
+
options?: TaskRunsGetDetailsOptionalParams
|
419
|
+
): Promise<TaskRunsGetDetailsResponse> {
|
420
|
+
return this.client.sendOperationRequest(
|
421
|
+
{ resourceGroupName, registryName, taskRunName, options },
|
422
|
+
getDetailsOperationSpec
|
423
|
+
);
|
424
|
+
}
|
425
|
+
|
426
|
+
/**
|
427
|
+
* Lists all the task runs for a specified container registry.
|
428
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
429
|
+
* @param registryName The name of the container registry.
|
430
|
+
* @param options The options parameters.
|
431
|
+
*/
|
432
|
+
private _list(
|
433
|
+
resourceGroupName: string,
|
434
|
+
registryName: string,
|
435
|
+
options?: TaskRunsListOptionalParams
|
436
|
+
): Promise<TaskRunsListResponse> {
|
437
|
+
return this.client.sendOperationRequest(
|
438
|
+
{ resourceGroupName, registryName, options },
|
439
|
+
listOperationSpec
|
440
|
+
);
|
441
|
+
}
|
442
|
+
|
443
|
+
/**
|
444
|
+
* ListNext
|
445
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
446
|
+
* @param registryName The name of the container registry.
|
447
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
448
|
+
* @param options The options parameters.
|
449
|
+
*/
|
450
|
+
private _listNext(
|
451
|
+
resourceGroupName: string,
|
452
|
+
registryName: string,
|
453
|
+
nextLink: string,
|
454
|
+
options?: TaskRunsListNextOptionalParams
|
455
|
+
): Promise<TaskRunsListNextResponse> {
|
456
|
+
return this.client.sendOperationRequest(
|
457
|
+
{ resourceGroupName, registryName, nextLink, options },
|
458
|
+
listNextOperationSpec
|
459
|
+
);
|
460
|
+
}
|
461
|
+
}
|
462
|
+
// Operation Specifications
|
463
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
464
|
+
|
465
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
466
|
+
path:
|
467
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}",
|
468
|
+
httpMethod: "GET",
|
469
|
+
responses: {
|
470
|
+
200: {
|
471
|
+
bodyMapper: Mappers.TaskRun
|
472
|
+
},
|
473
|
+
default: {
|
474
|
+
bodyMapper: Mappers.ErrorResponse
|
475
|
+
}
|
476
|
+
},
|
477
|
+
queryParameters: [Parameters.apiVersion1],
|
478
|
+
urlParameters: [
|
479
|
+
Parameters.$host,
|
480
|
+
Parameters.subscriptionId,
|
481
|
+
Parameters.resourceGroupName,
|
482
|
+
Parameters.registryName,
|
483
|
+
Parameters.taskRunName
|
484
|
+
],
|
485
|
+
headerParameters: [Parameters.accept],
|
486
|
+
serializer
|
487
|
+
};
|
488
|
+
const createOperationSpec: coreClient.OperationSpec = {
|
489
|
+
path:
|
490
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}",
|
491
|
+
httpMethod: "PUT",
|
492
|
+
responses: {
|
493
|
+
200: {
|
494
|
+
bodyMapper: Mappers.TaskRun
|
495
|
+
},
|
496
|
+
201: {
|
497
|
+
bodyMapper: Mappers.TaskRun
|
498
|
+
},
|
499
|
+
202: {
|
500
|
+
bodyMapper: Mappers.TaskRun
|
501
|
+
},
|
502
|
+
204: {
|
503
|
+
bodyMapper: Mappers.TaskRun
|
504
|
+
},
|
505
|
+
default: {
|
506
|
+
bodyMapper: Mappers.ErrorResponse
|
507
|
+
}
|
508
|
+
},
|
509
|
+
requestBody: Parameters.taskRun,
|
510
|
+
queryParameters: [Parameters.apiVersion1],
|
511
|
+
urlParameters: [
|
512
|
+
Parameters.$host,
|
513
|
+
Parameters.subscriptionId,
|
514
|
+
Parameters.resourceGroupName,
|
515
|
+
Parameters.registryName,
|
516
|
+
Parameters.taskRunName
|
517
|
+
],
|
518
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
519
|
+
mediaType: "json",
|
520
|
+
serializer
|
521
|
+
};
|
522
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
523
|
+
path:
|
524
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}",
|
525
|
+
httpMethod: "DELETE",
|
526
|
+
responses: {
|
527
|
+
200: {},
|
528
|
+
201: {},
|
529
|
+
202: {},
|
530
|
+
204: {},
|
531
|
+
default: {
|
532
|
+
bodyMapper: Mappers.ErrorResponse
|
533
|
+
}
|
534
|
+
},
|
535
|
+
queryParameters: [Parameters.apiVersion1],
|
536
|
+
urlParameters: [
|
537
|
+
Parameters.$host,
|
538
|
+
Parameters.subscriptionId,
|
539
|
+
Parameters.resourceGroupName,
|
540
|
+
Parameters.registryName,
|
541
|
+
Parameters.taskRunName
|
542
|
+
],
|
543
|
+
headerParameters: [Parameters.accept],
|
544
|
+
serializer
|
545
|
+
};
|
546
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
547
|
+
path:
|
548
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}",
|
549
|
+
httpMethod: "PATCH",
|
550
|
+
responses: {
|
551
|
+
200: {
|
552
|
+
bodyMapper: Mappers.TaskRun
|
553
|
+
},
|
554
|
+
201: {
|
555
|
+
bodyMapper: Mappers.TaskRun
|
556
|
+
},
|
557
|
+
202: {
|
558
|
+
bodyMapper: Mappers.TaskRun
|
559
|
+
},
|
560
|
+
204: {
|
561
|
+
bodyMapper: Mappers.TaskRun
|
562
|
+
},
|
563
|
+
default: {
|
564
|
+
bodyMapper: Mappers.ErrorResponse
|
565
|
+
}
|
566
|
+
},
|
567
|
+
requestBody: Parameters.updateParameters1,
|
568
|
+
queryParameters: [Parameters.apiVersion1],
|
569
|
+
urlParameters: [
|
570
|
+
Parameters.$host,
|
571
|
+
Parameters.subscriptionId,
|
572
|
+
Parameters.resourceGroupName,
|
573
|
+
Parameters.registryName,
|
574
|
+
Parameters.taskRunName
|
575
|
+
],
|
576
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
577
|
+
mediaType: "json",
|
578
|
+
serializer
|
579
|
+
};
|
580
|
+
const getDetailsOperationSpec: coreClient.OperationSpec = {
|
581
|
+
path:
|
582
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}/listDetails",
|
583
|
+
httpMethod: "POST",
|
584
|
+
responses: {
|
585
|
+
200: {
|
586
|
+
bodyMapper: Mappers.TaskRun
|
587
|
+
},
|
588
|
+
default: {
|
589
|
+
bodyMapper: Mappers.ErrorResponse
|
590
|
+
}
|
591
|
+
},
|
592
|
+
queryParameters: [Parameters.apiVersion1],
|
593
|
+
urlParameters: [
|
594
|
+
Parameters.$host,
|
595
|
+
Parameters.subscriptionId,
|
596
|
+
Parameters.resourceGroupName,
|
597
|
+
Parameters.registryName,
|
598
|
+
Parameters.taskRunName
|
599
|
+
],
|
600
|
+
headerParameters: [Parameters.accept],
|
601
|
+
serializer
|
602
|
+
};
|
603
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
604
|
+
path:
|
605
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns",
|
606
|
+
httpMethod: "GET",
|
607
|
+
responses: {
|
608
|
+
200: {
|
609
|
+
bodyMapper: Mappers.TaskRunListResult
|
610
|
+
},
|
611
|
+
default: {
|
612
|
+
bodyMapper: Mappers.ErrorResponse
|
613
|
+
}
|
614
|
+
},
|
615
|
+
queryParameters: [Parameters.apiVersion1],
|
616
|
+
urlParameters: [
|
617
|
+
Parameters.$host,
|
618
|
+
Parameters.subscriptionId,
|
619
|
+
Parameters.resourceGroupName,
|
620
|
+
Parameters.registryName
|
621
|
+
],
|
622
|
+
headerParameters: [Parameters.accept],
|
623
|
+
serializer
|
624
|
+
};
|
625
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
626
|
+
path: "{nextLink}",
|
627
|
+
httpMethod: "GET",
|
628
|
+
responses: {
|
629
|
+
200: {
|
630
|
+
bodyMapper: Mappers.TaskRunListResult
|
631
|
+
},
|
632
|
+
default: {
|
633
|
+
bodyMapper: Mappers.ErrorResponse
|
634
|
+
}
|
635
|
+
},
|
636
|
+
queryParameters: [Parameters.apiVersion1],
|
637
|
+
urlParameters: [
|
638
|
+
Parameters.$host,
|
639
|
+
Parameters.subscriptionId,
|
640
|
+
Parameters.resourceGroupName,
|
641
|
+
Parameters.registryName,
|
642
|
+
Parameters.nextLink
|
643
|
+
],
|
644
|
+
headerParameters: [Parameters.accept],
|
645
|
+
serializer
|
646
|
+
};
|