@azure/arm-containerregistry 11.0.0 → 12.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/README.md +1 -1
- package/dist/browser/containerRegistryManagementClient.js +1 -1
- package/dist/browser/containerRegistryManagementClient.js.map +1 -1
- package/dist/browser/models/index.d.ts +158 -192
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +16 -15
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +280 -319
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +1 -2
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +5 -18
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/agentPools.d.ts +37 -37
- package/dist/browser/operations/agentPools.d.ts.map +1 -1
- package/dist/browser/operations/agentPools.js +101 -90
- package/dist/browser/operations/agentPools.js.map +1 -1
- package/dist/browser/operations/registries.d.ts +7 -15
- package/dist/browser/operations/registries.d.ts.map +1 -1
- package/dist/browser/operations/registries.js +22 -79
- package/dist/browser/operations/registries.js.map +1 -1
- package/dist/browser/operations/runs.d.ts +18 -36
- package/dist/browser/operations/runs.d.ts.map +1 -1
- package/dist/browser/operations/runs.js +39 -156
- package/dist/browser/operations/runs.js.map +1 -1
- package/dist/browser/operations/taskRuns.d.ts +31 -39
- package/dist/browser/operations/taskRuns.d.ts.map +1 -1
- package/dist/browser/operations/taskRuns.js +79 -127
- package/dist/browser/operations/taskRuns.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts +21 -48
- package/dist/browser/operations/tasks.d.ts.map +1 -1
- package/dist/browser/operations/tasks.js +62 -227
- package/dist/browser/operations/tasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.d.ts +29 -29
- package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/browser/operationsInterfaces/registries.d.ts +7 -15
- package/dist/browser/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/registries.js.map +1 -1
- package/dist/browser/operationsInterfaces/runs.d.ts +14 -32
- package/dist/browser/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/runs.js.map +1 -1
- package/dist/browser/operationsInterfaces/taskRuns.d.ts +23 -31
- package/dist/browser/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.d.ts +17 -44
- package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
- package/dist/commonjs/containerRegistryManagementClient.js +1 -1
- package/dist/commonjs/containerRegistryManagementClient.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +158 -192
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +16 -15
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +283 -322
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +1 -2
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +7 -20
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/agentPools.d.ts +37 -37
- package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operations/agentPools.js +101 -90
- package/dist/commonjs/operations/agentPools.js.map +1 -1
- package/dist/commonjs/operations/registries.d.ts +7 -15
- package/dist/commonjs/operations/registries.d.ts.map +1 -1
- package/dist/commonjs/operations/registries.js +22 -79
- package/dist/commonjs/operations/registries.js.map +1 -1
- package/dist/commonjs/operations/runs.d.ts +18 -36
- package/dist/commonjs/operations/runs.d.ts.map +1 -1
- package/dist/commonjs/operations/runs.js +39 -156
- package/dist/commonjs/operations/runs.js.map +1 -1
- package/dist/commonjs/operations/taskRuns.d.ts +31 -39
- package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
- package/dist/commonjs/operations/taskRuns.js +79 -127
- package/dist/commonjs/operations/taskRuns.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts +21 -48
- package/dist/commonjs/operations/tasks.d.ts.map +1 -1
- package/dist/commonjs/operations/tasks.js +62 -227
- package/dist/commonjs/operations/tasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.d.ts +29 -29
- package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/registries.d.ts +7 -15
- package/dist/commonjs/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/registries.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/runs.d.ts +14 -32
- package/dist/commonjs/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/runs.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/taskRuns.d.ts +23 -31
- package/dist/commonjs/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.d.ts +17 -44
- package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/containerRegistryManagementClient.js +1 -1
- package/dist/esm/containerRegistryManagementClient.js.map +1 -1
- package/dist/esm/models/index.d.ts +158 -192
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +16 -15
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +280 -319
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +1 -2
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +5 -18
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/agentPools.d.ts +37 -37
- package/dist/esm/operations/agentPools.d.ts.map +1 -1
- package/dist/esm/operations/agentPools.js +101 -90
- package/dist/esm/operations/agentPools.js.map +1 -1
- package/dist/esm/operations/registries.d.ts +7 -15
- package/dist/esm/operations/registries.d.ts.map +1 -1
- package/dist/esm/operations/registries.js +22 -79
- package/dist/esm/operations/registries.js.map +1 -1
- package/dist/esm/operations/runs.d.ts +18 -36
- package/dist/esm/operations/runs.d.ts.map +1 -1
- package/dist/esm/operations/runs.js +39 -156
- package/dist/esm/operations/runs.js.map +1 -1
- package/dist/esm/operations/taskRuns.d.ts +31 -39
- package/dist/esm/operations/taskRuns.d.ts.map +1 -1
- package/dist/esm/operations/taskRuns.js +79 -127
- package/dist/esm/operations/taskRuns.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts +21 -48
- package/dist/esm/operations/tasks.d.ts.map +1 -1
- package/dist/esm/operations/tasks.js +62 -227
- package/dist/esm/operations/tasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.d.ts +29 -29
- package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/esm/operationsInterfaces/registries.d.ts +7 -15
- package/dist/esm/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/registries.js.map +1 -1
- package/dist/esm/operationsInterfaces/runs.d.ts +14 -32
- package/dist/esm/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/runs.js.map +1 -1
- package/dist/esm/operationsInterfaces/taskRuns.d.ts +23 -31
- package/dist/esm/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.d.ts +17 -44
- package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
- package/dist/react-native/containerRegistryManagementClient.js +1 -1
- package/dist/react-native/containerRegistryManagementClient.js.map +1 -1
- package/dist/react-native/models/index.d.ts +158 -192
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +16 -15
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +280 -319
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +1 -2
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +5 -18
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/agentPools.d.ts +37 -37
- package/dist/react-native/operations/agentPools.d.ts.map +1 -1
- package/dist/react-native/operations/agentPools.js +101 -90
- package/dist/react-native/operations/agentPools.js.map +1 -1
- package/dist/react-native/operations/registries.d.ts +7 -15
- package/dist/react-native/operations/registries.d.ts.map +1 -1
- package/dist/react-native/operations/registries.js +22 -79
- package/dist/react-native/operations/registries.js.map +1 -1
- package/dist/react-native/operations/runs.d.ts +18 -36
- package/dist/react-native/operations/runs.d.ts.map +1 -1
- package/dist/react-native/operations/runs.js +39 -156
- package/dist/react-native/operations/runs.js.map +1 -1
- package/dist/react-native/operations/taskRuns.d.ts +31 -39
- package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
- package/dist/react-native/operations/taskRuns.js +79 -127
- package/dist/react-native/operations/taskRuns.js.map +1 -1
- package/dist/react-native/operations/tasks.d.ts +21 -48
- package/dist/react-native/operations/tasks.d.ts.map +1 -1
- package/dist/react-native/operations/tasks.js +62 -227
- package/dist/react-native/operations/tasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.d.ts +29 -29
- package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/react-native/operationsInterfaces/registries.d.ts +7 -15
- package/dist/react-native/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/registries.js.map +1 -1
- package/dist/react-native/operationsInterfaces/runs.d.ts +14 -32
- package/dist/react-native/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/runs.js.map +1 -1
- package/dist/react-native/operationsInterfaces/taskRuns.d.ts +23 -31
- package/dist/react-native/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -44
- package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
- package/package.json +17 -17
|
@@ -4,8 +4,6 @@ import { setContinuationToken } from "../pagingHelper.js";
|
|
|
4
4
|
import * as coreClient from "@azure/core-client";
|
|
5
5
|
import * as Mappers from "../models/mappers.js";
|
|
6
6
|
import * as Parameters from "../models/parameters.js";
|
|
7
|
-
import { createHttpPoller } from "@azure/core-lro";
|
|
8
|
-
import { createLroSpec } from "../lroImpl.js";
|
|
9
7
|
/// <reference lib="esnext.asynciterable" />
|
|
10
8
|
/** Class containing Runs operations. */
|
|
11
9
|
export class RunsImpl {
|
|
@@ -19,8 +17,8 @@ export class RunsImpl {
|
|
|
19
17
|
}
|
|
20
18
|
/**
|
|
21
19
|
* Gets all the runs for a registry.
|
|
22
|
-
* @param resourceGroupName The name of the resource group
|
|
23
|
-
* @param registryName The name of the
|
|
20
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
21
|
+
* @param registryName The name of the Registry
|
|
24
22
|
* @param options The options parameters.
|
|
25
23
|
*/
|
|
26
24
|
list(resourceGroupName, registryName, options) {
|
|
@@ -65,8 +63,8 @@ export class RunsImpl {
|
|
|
65
63
|
}
|
|
66
64
|
/**
|
|
67
65
|
* Gets all the runs for a registry.
|
|
68
|
-
* @param resourceGroupName The name of the resource group
|
|
69
|
-
* @param registryName The name of the
|
|
66
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
|
+
* @param registryName The name of the Registry
|
|
70
68
|
* @param options The options parameters.
|
|
71
69
|
*/
|
|
72
70
|
_list(resourceGroupName, registryName, options) {
|
|
@@ -74,8 +72,8 @@ export class RunsImpl {
|
|
|
74
72
|
}
|
|
75
73
|
/**
|
|
76
74
|
* Gets the detailed information for a given run.
|
|
77
|
-
* @param resourceGroupName The name of the resource group
|
|
78
|
-
* @param registryName The name of the
|
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
+
* @param registryName The name of the Registry
|
|
79
77
|
* @param runId The run ID.
|
|
80
78
|
* @param options The options parameters.
|
|
81
79
|
*/
|
|
@@ -84,142 +82,39 @@ export class RunsImpl {
|
|
|
84
82
|
}
|
|
85
83
|
/**
|
|
86
84
|
* Patch the run properties.
|
|
87
|
-
* @param resourceGroupName The name of the resource group
|
|
88
|
-
* @param registryName The name of the
|
|
85
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
86
|
+
* @param registryName The name of the Registry
|
|
89
87
|
* @param runId The run ID.
|
|
90
88
|
* @param runUpdateParameters The run update properties.
|
|
91
89
|
* @param options The options parameters.
|
|
92
90
|
*/
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
return this.client.sendOperationRequest(args, spec);
|
|
96
|
-
};
|
|
97
|
-
const sendOperationFn = async (args, spec) => {
|
|
98
|
-
let currentRawResponse = undefined;
|
|
99
|
-
const providedCallback = args.options?.onResponse;
|
|
100
|
-
const callback = (rawResponse, flatResponse) => {
|
|
101
|
-
currentRawResponse = rawResponse;
|
|
102
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
103
|
-
};
|
|
104
|
-
const updatedArgs = {
|
|
105
|
-
...args,
|
|
106
|
-
options: {
|
|
107
|
-
...args.options,
|
|
108
|
-
onResponse: callback,
|
|
109
|
-
},
|
|
110
|
-
};
|
|
111
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
112
|
-
return {
|
|
113
|
-
flatResponse,
|
|
114
|
-
rawResponse: {
|
|
115
|
-
statusCode: currentRawResponse.status,
|
|
116
|
-
body: currentRawResponse.parsedBody,
|
|
117
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
118
|
-
},
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
const lro = createLroSpec({
|
|
122
|
-
sendOperationFn,
|
|
123
|
-
args: {
|
|
124
|
-
resourceGroupName,
|
|
125
|
-
registryName,
|
|
126
|
-
runId,
|
|
127
|
-
runUpdateParameters,
|
|
128
|
-
options,
|
|
129
|
-
},
|
|
130
|
-
spec: updateOperationSpec,
|
|
131
|
-
});
|
|
132
|
-
const poller = await createHttpPoller(lro, {
|
|
133
|
-
restoreFrom: options?.resumeFrom,
|
|
134
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
135
|
-
});
|
|
136
|
-
await poller.poll();
|
|
137
|
-
return poller;
|
|
91
|
+
update(resourceGroupName, registryName, runId, runUpdateParameters, options) {
|
|
92
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, runId, runUpdateParameters, options }, updateOperationSpec);
|
|
138
93
|
}
|
|
139
94
|
/**
|
|
140
|
-
*
|
|
141
|
-
* @param resourceGroupName The name of the resource group
|
|
142
|
-
* @param registryName The name of the
|
|
95
|
+
* Cancel an existing run.
|
|
96
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
97
|
+
* @param registryName The name of the Registry
|
|
143
98
|
* @param runId The run ID.
|
|
144
|
-
* @param runUpdateParameters The run update properties.
|
|
145
99
|
* @param options The options parameters.
|
|
146
100
|
*/
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
return poller.pollUntilDone();
|
|
101
|
+
cancel(resourceGroupName, registryName, runId, options) {
|
|
102
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, runId, options }, cancelOperationSpec);
|
|
150
103
|
}
|
|
151
104
|
/**
|
|
152
105
|
* Gets a link to download the run logs.
|
|
153
|
-
* @param resourceGroupName The name of the resource group
|
|
154
|
-
* @param registryName The name of the
|
|
106
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
107
|
+
* @param registryName The name of the Registry
|
|
155
108
|
* @param runId The run ID.
|
|
156
109
|
* @param options The options parameters.
|
|
157
110
|
*/
|
|
158
111
|
getLogSasUrl(resourceGroupName, registryName, runId, options) {
|
|
159
112
|
return this.client.sendOperationRequest({ resourceGroupName, registryName, runId, options }, getLogSasUrlOperationSpec);
|
|
160
113
|
}
|
|
161
|
-
/**
|
|
162
|
-
* Cancel an existing run.
|
|
163
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
164
|
-
* @param registryName The name of the container registry.
|
|
165
|
-
* @param runId The run ID.
|
|
166
|
-
* @param options The options parameters.
|
|
167
|
-
*/
|
|
168
|
-
async beginCancel(resourceGroupName, registryName, runId, options) {
|
|
169
|
-
const directSendOperation = async (args, spec) => {
|
|
170
|
-
return this.client.sendOperationRequest(args, spec);
|
|
171
|
-
};
|
|
172
|
-
const sendOperationFn = async (args, spec) => {
|
|
173
|
-
let currentRawResponse = undefined;
|
|
174
|
-
const providedCallback = args.options?.onResponse;
|
|
175
|
-
const callback = (rawResponse, flatResponse) => {
|
|
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
|
-
const lro = createLroSpec({
|
|
197
|
-
sendOperationFn,
|
|
198
|
-
args: { resourceGroupName, registryName, runId, options },
|
|
199
|
-
spec: cancelOperationSpec,
|
|
200
|
-
});
|
|
201
|
-
const poller = await createHttpPoller(lro, {
|
|
202
|
-
restoreFrom: options?.resumeFrom,
|
|
203
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
204
|
-
});
|
|
205
|
-
await poller.poll();
|
|
206
|
-
return poller;
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* Cancel an existing run.
|
|
210
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
211
|
-
* @param registryName The name of the container registry.
|
|
212
|
-
* @param runId The run ID.
|
|
213
|
-
* @param options The options parameters.
|
|
214
|
-
*/
|
|
215
|
-
async beginCancelAndWait(resourceGroupName, registryName, runId, options) {
|
|
216
|
-
const poller = await this.beginCancel(resourceGroupName, registryName, runId, options);
|
|
217
|
-
return poller.pollUntilDone();
|
|
218
|
-
}
|
|
219
114
|
/**
|
|
220
115
|
* ListNext
|
|
221
|
-
* @param resourceGroupName The name of the resource group
|
|
222
|
-
* @param registryName The name of the
|
|
116
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
117
|
+
* @param registryName The name of the Registry
|
|
223
118
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
224
119
|
* @param options The options parameters.
|
|
225
120
|
*/
|
|
@@ -237,15 +132,15 @@ const listOperationSpec = {
|
|
|
237
132
|
bodyMapper: Mappers.RunListResult,
|
|
238
133
|
},
|
|
239
134
|
default: {
|
|
240
|
-
bodyMapper: Mappers.
|
|
135
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
241
136
|
},
|
|
242
137
|
},
|
|
243
138
|
queryParameters: [Parameters.apiVersion1, Parameters.filter, Parameters.top],
|
|
244
139
|
urlParameters: [
|
|
245
140
|
Parameters.$host,
|
|
246
141
|
Parameters.subscriptionId,
|
|
142
|
+
Parameters.resourceGroupName,
|
|
247
143
|
Parameters.registryName,
|
|
248
|
-
Parameters.resourceGroupName1,
|
|
249
144
|
],
|
|
250
145
|
headerParameters: [Parameters.accept],
|
|
251
146
|
serializer,
|
|
@@ -258,15 +153,15 @@ const getOperationSpec = {
|
|
|
258
153
|
bodyMapper: Mappers.Run,
|
|
259
154
|
},
|
|
260
155
|
default: {
|
|
261
|
-
bodyMapper: Mappers.
|
|
156
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
262
157
|
},
|
|
263
158
|
},
|
|
264
159
|
queryParameters: [Parameters.apiVersion1],
|
|
265
160
|
urlParameters: [
|
|
266
161
|
Parameters.$host,
|
|
267
162
|
Parameters.subscriptionId,
|
|
163
|
+
Parameters.resourceGroupName,
|
|
268
164
|
Parameters.registryName,
|
|
269
|
-
Parameters.resourceGroupName1,
|
|
270
165
|
Parameters.runId,
|
|
271
166
|
],
|
|
272
167
|
headerParameters: [Parameters.accept],
|
|
@@ -279,17 +174,8 @@ const updateOperationSpec = {
|
|
|
279
174
|
200: {
|
|
280
175
|
bodyMapper: Mappers.Run,
|
|
281
176
|
},
|
|
282
|
-
201: {
|
|
283
|
-
bodyMapper: Mappers.Run,
|
|
284
|
-
},
|
|
285
|
-
202: {
|
|
286
|
-
bodyMapper: Mappers.Run,
|
|
287
|
-
},
|
|
288
|
-
204: {
|
|
289
|
-
bodyMapper: Mappers.Run,
|
|
290
|
-
},
|
|
291
177
|
default: {
|
|
292
|
-
bodyMapper: Mappers.
|
|
178
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
293
179
|
},
|
|
294
180
|
},
|
|
295
181
|
requestBody: Parameters.runUpdateParameters,
|
|
@@ -297,54 +183,51 @@ const updateOperationSpec = {
|
|
|
297
183
|
urlParameters: [
|
|
298
184
|
Parameters.$host,
|
|
299
185
|
Parameters.subscriptionId,
|
|
186
|
+
Parameters.resourceGroupName,
|
|
300
187
|
Parameters.registryName,
|
|
301
|
-
Parameters.resourceGroupName1,
|
|
302
188
|
Parameters.runId,
|
|
303
189
|
],
|
|
304
190
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
305
191
|
mediaType: "json",
|
|
306
192
|
serializer,
|
|
307
193
|
};
|
|
308
|
-
const
|
|
309
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/
|
|
194
|
+
const cancelOperationSpec = {
|
|
195
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel",
|
|
310
196
|
httpMethod: "POST",
|
|
311
197
|
responses: {
|
|
312
|
-
200: {
|
|
313
|
-
bodyMapper: Mappers.RunGetLogResult,
|
|
314
|
-
},
|
|
198
|
+
200: {},
|
|
315
199
|
default: {
|
|
316
|
-
bodyMapper: Mappers.
|
|
200
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
317
201
|
},
|
|
318
202
|
},
|
|
319
203
|
queryParameters: [Parameters.apiVersion1],
|
|
320
204
|
urlParameters: [
|
|
321
205
|
Parameters.$host,
|
|
322
206
|
Parameters.subscriptionId,
|
|
207
|
+
Parameters.resourceGroupName,
|
|
323
208
|
Parameters.registryName,
|
|
324
|
-
Parameters.resourceGroupName1,
|
|
325
209
|
Parameters.runId,
|
|
326
210
|
],
|
|
327
211
|
headerParameters: [Parameters.accept],
|
|
328
212
|
serializer,
|
|
329
213
|
};
|
|
330
|
-
const
|
|
331
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/
|
|
214
|
+
const getLogSasUrlOperationSpec = {
|
|
215
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl",
|
|
332
216
|
httpMethod: "POST",
|
|
333
217
|
responses: {
|
|
334
|
-
200: {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
204: {},
|
|
218
|
+
200: {
|
|
219
|
+
bodyMapper: Mappers.RunGetLogResult,
|
|
220
|
+
},
|
|
338
221
|
default: {
|
|
339
|
-
bodyMapper: Mappers.
|
|
222
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
340
223
|
},
|
|
341
224
|
},
|
|
342
225
|
queryParameters: [Parameters.apiVersion1],
|
|
343
226
|
urlParameters: [
|
|
344
227
|
Parameters.$host,
|
|
345
228
|
Parameters.subscriptionId,
|
|
229
|
+
Parameters.resourceGroupName,
|
|
346
230
|
Parameters.registryName,
|
|
347
|
-
Parameters.resourceGroupName1,
|
|
348
231
|
Parameters.runId,
|
|
349
232
|
],
|
|
350
233
|
headerParameters: [Parameters.accept],
|
|
@@ -358,15 +241,15 @@ const listNextOperationSpec = {
|
|
|
358
241
|
bodyMapper: Mappers.RunListResult,
|
|
359
242
|
},
|
|
360
243
|
default: {
|
|
361
|
-
bodyMapper: Mappers.
|
|
244
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
362
245
|
},
|
|
363
246
|
},
|
|
364
247
|
urlParameters: [
|
|
365
248
|
Parameters.$host,
|
|
366
249
|
Parameters.nextLink,
|
|
367
250
|
Parameters.subscriptionId,
|
|
251
|
+
Parameters.resourceGroupName,
|
|
368
252
|
Parameters.registryName,
|
|
369
|
-
Parameters.resourceGroupName1,
|
|
370
253
|
],
|
|
371
254
|
headerParameters: [Parameters.accept],
|
|
372
255
|
serializer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../src/operations/runs.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,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B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,wJAAwJ;IAC9J,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,KAAK;KACjB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Runs } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n Run,\n RunsListNextOptionalParams,\n RunsListOptionalParams,\n RunsListResponse,\n RunsGetOptionalParams,\n RunsGetResponse,\n RunUpdateParameters,\n RunsUpdateOptionalParams,\n RunsUpdateResponse,\n RunsGetLogSasUrlOptionalParams,\n RunsGetLogSasUrlResponse,\n RunsCancelOptionalParams,\n RunsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Runs operations. */\nexport class RunsImpl implements Runs {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class Runs class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets all the runs for a registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: RunsListOptionalParams,\n ): PagedAsyncIterableIterator<Run> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, registryName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: RunsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Run[]> {\n let result: RunsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, registryName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: RunsListOptionalParams,\n ): AsyncIterableIterator<Run> {\n for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets all the runs for a registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: RunsListOptionalParams,\n ): Promise<RunsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the detailed information for a given run.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runId The run ID.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n options?: RunsGetOptionalParams,\n ): Promise<RunsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, runId, options },\n getOperationSpec,\n );\n }\n\n /**\n * Patch the run properties.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runId The run ID.\n * @param runUpdateParameters The run update properties.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n runUpdateParameters: RunUpdateParameters,\n options?: RunsUpdateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<RunsUpdateResponse>, RunsUpdateResponse>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<RunsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n runId,\n runUpdateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<RunsUpdateResponse, OperationState<RunsUpdateResponse>>(\n lro,\n {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n },\n );\n await poller.poll();\n return poller;\n }\n\n /**\n * Patch the run properties.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runId The run ID.\n * @param runUpdateParameters The run update properties.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n runUpdateParameters: RunUpdateParameters,\n options?: RunsUpdateOptionalParams,\n ): Promise<RunsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n registryName,\n runId,\n runUpdateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a link to download the run logs.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runId The run ID.\n * @param options The options parameters.\n */\n getLogSasUrl(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n options?: RunsGetLogSasUrlOptionalParams,\n ): Promise<RunsGetLogSasUrlResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, runId, options },\n getLogSasUrlOperationSpec,\n );\n }\n\n /**\n * Cancel an existing run.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runId The run ID.\n * @param options The options parameters.\n */\n async beginCancel(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n options?: RunsCancelOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, registryName, runId, options },\n spec: cancelOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Cancel an existing run.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runId The run ID.\n * @param options The options parameters.\n */\n async beginCancelAndWait(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n options?: RunsCancelOptionalParams,\n ): Promise<void> {\n const poller = await this.beginCancel(resourceGroupName, registryName, runId, options);\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: RunsListNextOptionalParams,\n ): Promise<RunsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RunListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1, Parameters.filter, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Run,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.runId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Run,\n },\n 201: {\n bodyMapper: Mappers.Run,\n },\n 202: {\n bodyMapper: Mappers.Run,\n },\n 204: {\n bodyMapper: Mappers.Run,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n requestBody: Parameters.runUpdateParameters,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.runId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getLogSasUrlOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RunGetLogResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.runId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst cancelOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.runId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RunListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../src/operations/runs.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAkBtD,4CAA4C;AAC5C,wCAAwC;AACxC,MAAM,OAAO,QAAQ;IACF,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAgC;QAEhC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACjF,C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c;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,KAAK;KACjB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Runs } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport type {\n Run,\n RunsListNextOptionalParams,\n RunsListOptionalParams,\n RunsListResponse,\n RunsGetOptionalParams,\n RunsGetResponse,\n RunUpdateParameters,\n RunsUpdateOptionalParams,\n RunsUpdateResponse,\n RunsCancelOptionalParams,\n RunsGetLogSasUrlOptionalParams,\n RunsGetLogSasUrlResponse,\n RunsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Runs operations. */\nexport class RunsImpl implements Runs {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class Runs class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets all the runs for a registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: RunsListOptionalParams,\n ): PagedAsyncIterableIterator<Run> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, registryName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: RunsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Run[]> {\n let result: RunsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, registryName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: RunsListOptionalParams,\n ): AsyncIterableIterator<Run> {\n for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets all the runs for a registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: RunsListOptionalParams,\n ): Promise<RunsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the detailed information for a given run.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param runId The run ID.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n options?: RunsGetOptionalParams,\n ): Promise<RunsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, runId, options },\n getOperationSpec,\n );\n }\n\n /**\n * Patch the run properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param runId The run ID.\n * @param runUpdateParameters The run update properties.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n runUpdateParameters: RunUpdateParameters,\n options?: RunsUpdateOptionalParams,\n ): Promise<RunsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, runId, runUpdateParameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Cancel an existing run.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param runId The run ID.\n * @param options The options parameters.\n */\n cancel(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n options?: RunsCancelOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, runId, options },\n cancelOperationSpec,\n );\n }\n\n /**\n * Gets a link to download the run logs.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param runId The run ID.\n * @param options The options parameters.\n */\n getLogSasUrl(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n options?: RunsGetLogSasUrlOptionalParams,\n ): Promise<RunsGetLogSasUrlResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, runId, options },\n getLogSasUrlOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: RunsListNextOptionalParams,\n ): Promise<RunsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RunListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion1, Parameters.filter, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Run,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.runId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Run,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.runUpdateParameters,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.runId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst cancelOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.runId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getLogSasUrlOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RunGetLogResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.runId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RunListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -2,7 +2,7 @@ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
|
2
2
|
import type { TaskRuns } from "../operationsInterfaces/index.js";
|
|
3
3
|
import type { ContainerRegistryManagementClient } from "../containerRegistryManagementClient.js";
|
|
4
4
|
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import type { TaskRun, TaskRunsListOptionalParams, TaskRunsGetOptionalParams, TaskRunsGetResponse, TaskRunsCreateOptionalParams, TaskRunsCreateResponse,
|
|
5
|
+
import type { TaskRun, TaskRunsListOptionalParams, TaskRunsGetOptionalParams, TaskRunsGetResponse, TaskRunsCreateOptionalParams, TaskRunsCreateResponse, TaskRunUpdateParameters, TaskRunsUpdateOptionalParams, TaskRunsUpdateResponse, TaskRunsDeleteOptionalParams, TaskRunsGetDetailsOptionalParams, TaskRunsGetDetailsResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing TaskRuns operations. */
|
|
7
7
|
export declare class TaskRunsImpl implements TaskRuns {
|
|
8
8
|
private readonly client;
|
|
@@ -13,25 +13,32 @@ export declare class TaskRunsImpl implements TaskRuns {
|
|
|
13
13
|
constructor(client: ContainerRegistryManagementClient);
|
|
14
14
|
/**
|
|
15
15
|
* Lists all the task runs for a specified container registry.
|
|
16
|
-
* @param resourceGroupName The name of the resource group
|
|
17
|
-
* @param registryName The name of the
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param registryName The name of the Registry
|
|
18
18
|
* @param options The options parameters.
|
|
19
19
|
*/
|
|
20
20
|
list(resourceGroupName: string, registryName: string, options?: TaskRunsListOptionalParams): PagedAsyncIterableIterator<TaskRun>;
|
|
21
21
|
private listPagingPage;
|
|
22
22
|
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Lists all the task runs for a specified container registry.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param registryName The name of the Registry
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
private _list;
|
|
23
30
|
/**
|
|
24
31
|
* Gets the detailed information for a given task run.
|
|
25
|
-
* @param resourceGroupName The name of the resource group
|
|
26
|
-
* @param registryName The name of the
|
|
32
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
+
* @param registryName The name of the Registry
|
|
27
34
|
* @param taskRunName The name of the task run.
|
|
28
35
|
* @param options The options parameters.
|
|
29
36
|
*/
|
|
30
37
|
get(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsGetOptionalParams): Promise<TaskRunsGetResponse>;
|
|
31
38
|
/**
|
|
32
39
|
* Creates a task run for a container registry with the specified parameters.
|
|
33
|
-
* @param resourceGroupName The name of the resource group
|
|
34
|
-
* @param registryName The name of the
|
|
40
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
41
|
+
* @param registryName The name of the Registry
|
|
35
42
|
* @param taskRunName The name of the task run.
|
|
36
43
|
* @param taskRun The parameters of a run that needs to scheduled.
|
|
37
44
|
* @param options The options parameters.
|
|
@@ -39,33 +46,17 @@ export declare class TaskRunsImpl implements TaskRuns {
|
|
|
39
46
|
beginCreate(resourceGroupName: string, registryName: string, taskRunName: string, taskRun: TaskRun, options?: TaskRunsCreateOptionalParams): Promise<SimplePollerLike<OperationState<TaskRunsCreateResponse>, TaskRunsCreateResponse>>;
|
|
40
47
|
/**
|
|
41
48
|
* Creates a task run for a container registry with the specified parameters.
|
|
42
|
-
* @param resourceGroupName The name of the resource group
|
|
43
|
-
* @param registryName The name of the
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
|
+
* @param registryName The name of the Registry
|
|
44
51
|
* @param taskRunName The name of the task run.
|
|
45
52
|
* @param taskRun The parameters of a run that needs to scheduled.
|
|
46
53
|
* @param options The options parameters.
|
|
47
54
|
*/
|
|
48
55
|
beginCreateAndWait(resourceGroupName: string, registryName: string, taskRunName: string, taskRun: TaskRun, options?: TaskRunsCreateOptionalParams): Promise<TaskRunsCreateResponse>;
|
|
49
|
-
/**
|
|
50
|
-
* Deletes a specified task run resource.
|
|
51
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
52
|
-
* @param registryName The name of the container registry.
|
|
53
|
-
* @param taskRunName The name of the task run.
|
|
54
|
-
* @param options The options parameters.
|
|
55
|
-
*/
|
|
56
|
-
beginDelete(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
57
|
-
/**
|
|
58
|
-
* Deletes a specified task run resource.
|
|
59
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
60
|
-
* @param registryName The name of the container registry.
|
|
61
|
-
* @param taskRunName The name of the task run.
|
|
62
|
-
* @param options The options parameters.
|
|
63
|
-
*/
|
|
64
|
-
beginDeleteAndWait(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<void>;
|
|
65
56
|
/**
|
|
66
57
|
* Updates a task run with the specified parameters.
|
|
67
|
-
* @param resourceGroupName The name of the resource group
|
|
68
|
-
* @param registryName The name of the
|
|
58
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
59
|
+
* @param registryName The name of the Registry
|
|
69
60
|
* @param taskRunName The name of the task run.
|
|
70
61
|
* @param updateParameters The parameters for updating a task run.
|
|
71
62
|
* @param options The options parameters.
|
|
@@ -73,32 +64,33 @@ export declare class TaskRunsImpl implements TaskRuns {
|
|
|
73
64
|
beginUpdate(resourceGroupName: string, registryName: string, taskRunName: string, updateParameters: TaskRunUpdateParameters, options?: TaskRunsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TaskRunsUpdateResponse>, TaskRunsUpdateResponse>>;
|
|
74
65
|
/**
|
|
75
66
|
* Updates a task run with the specified parameters.
|
|
76
|
-
* @param resourceGroupName The name of the resource group
|
|
77
|
-
* @param registryName The name of the
|
|
67
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
68
|
+
* @param registryName The name of the Registry
|
|
78
69
|
* @param taskRunName The name of the task run.
|
|
79
70
|
* @param updateParameters The parameters for updating a task run.
|
|
80
71
|
* @param options The options parameters.
|
|
81
72
|
*/
|
|
82
73
|
beginUpdateAndWait(resourceGroupName: string, registryName: string, taskRunName: string, updateParameters: TaskRunUpdateParameters, options?: TaskRunsUpdateOptionalParams): Promise<TaskRunsUpdateResponse>;
|
|
83
74
|
/**
|
|
84
|
-
*
|
|
85
|
-
* @param resourceGroupName The name of the resource group
|
|
86
|
-
* @param registryName The name of the
|
|
75
|
+
* Deletes a specified task run resource.
|
|
76
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
77
|
+
* @param registryName The name of the Registry
|
|
87
78
|
* @param taskRunName The name of the task run.
|
|
88
79
|
* @param options The options parameters.
|
|
89
80
|
*/
|
|
90
|
-
|
|
81
|
+
delete(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<void>;
|
|
91
82
|
/**
|
|
92
|
-
*
|
|
93
|
-
* @param resourceGroupName The name of the resource group
|
|
94
|
-
* @param registryName The name of the
|
|
83
|
+
* Gets the detailed information for a given task run that includes all secrets.
|
|
84
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
85
|
+
* @param registryName The name of the Registry
|
|
86
|
+
* @param taskRunName The name of the task run.
|
|
95
87
|
* @param options The options parameters.
|
|
96
88
|
*/
|
|
97
|
-
|
|
89
|
+
getDetails(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsGetDetailsOptionalParams): Promise<TaskRunsGetDetailsResponse>;
|
|
98
90
|
/**
|
|
99
91
|
* ListNext
|
|
100
|
-
* @param resourceGroupName The name of the resource group
|
|
101
|
-
* @param registryName The name of the
|
|
92
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
|
+
* @param registryName The name of the Registry
|
|
102
94
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
103
95
|
* @param options The options parameters.
|
|
104
96
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taskRuns.d.ts","sourceRoot":"","sources":["../../../src/operations/taskRuns.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,OAAO,EAEP,0BAA0B,EAE1B,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,
|
|
1
|
+
{"version":3,"file":"taskRuns.d.ts","sourceRoot":"","sources":["../../../src/operations/taskRuns.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,OAAO,EAEP,0BAA0B,EAE1B,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,gCAAgC,EAChC,0BAA0B,EAE3B,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,C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