@azure/arm-containerregistry 10.0.0-beta.1 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/CHANGELOG.md +6 -20
  2. package/README.md +4 -0
  3. package/dist/index.js +3431 -7196
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/src/containerRegistryManagementClient.d.ts +5 -9
  8. package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -1
  9. package/dist-esm/src/containerRegistryManagementClient.js +32 -10
  10. package/dist-esm/src/containerRegistryManagementClient.js.map +1 -1
  11. package/dist-esm/src/index.d.ts +0 -1
  12. package/dist-esm/src/index.d.ts.map +1 -1
  13. package/dist-esm/src/index.js +0 -1
  14. package/dist-esm/src/index.js.map +1 -1
  15. package/dist-esm/src/models/index.d.ts +200 -1116
  16. package/dist-esm/src/models/index.d.ts.map +1 -1
  17. package/dist-esm/src/models/index.js +32 -121
  18. package/dist-esm/src/models/index.js.map +1 -1
  19. package/dist-esm/src/models/mappers.d.ts +10 -50
  20. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  21. package/dist-esm/src/models/mappers.js +320 -1560
  22. package/dist-esm/src/models/mappers.js.map +1 -1
  23. package/dist-esm/src/models/parameters.d.ts +6 -21
  24. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  25. package/dist-esm/src/models/parameters.js +38 -158
  26. package/dist-esm/src/models/parameters.js.map +1 -1
  27. package/dist-esm/src/operations/agentPools.d.ts +2 -2
  28. package/dist-esm/src/operations/agentPools.d.ts.map +1 -1
  29. package/dist-esm/src/operations/agentPools.js +2 -2
  30. package/dist-esm/src/operations/agentPools.js.map +1 -1
  31. package/dist-esm/src/operations/index.d.ts +0 -6
  32. package/dist-esm/src/operations/index.d.ts.map +1 -1
  33. package/dist-esm/src/operations/index.js +0 -6
  34. package/dist-esm/src/operations/index.js.map +1 -1
  35. package/dist-esm/src/operations/operations.d.ts +2 -2
  36. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  37. package/dist-esm/src/operations/operations.js.map +1 -1
  38. package/dist-esm/src/operations/privateEndpointConnections.d.ts +2 -2
  39. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  40. package/dist-esm/src/operations/privateEndpointConnections.js +1 -1
  41. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  42. package/dist-esm/src/operations/registries.d.ts +11 -19
  43. package/dist-esm/src/operations/registries.d.ts.map +1 -1
  44. package/dist-esm/src/operations/registries.js +31 -84
  45. package/dist-esm/src/operations/registries.js.map +1 -1
  46. package/dist-esm/src/operations/replications.d.ts +2 -2
  47. package/dist-esm/src/operations/replications.d.ts.map +1 -1
  48. package/dist-esm/src/operations/replications.js +2 -2
  49. package/dist-esm/src/operations/replications.js.map +1 -1
  50. package/dist-esm/src/operations/runs.d.ts +2 -2
  51. package/dist-esm/src/operations/runs.d.ts.map +1 -1
  52. package/dist-esm/src/operations/runs.js +3 -3
  53. package/dist-esm/src/operations/runs.js.map +1 -1
  54. package/dist-esm/src/operations/taskRuns.d.ts +2 -2
  55. package/dist-esm/src/operations/taskRuns.d.ts.map +1 -1
  56. package/dist-esm/src/operations/taskRuns.js +2 -2
  57. package/dist-esm/src/operations/taskRuns.js.map +1 -1
  58. package/dist-esm/src/operations/tasks.d.ts +2 -2
  59. package/dist-esm/src/operations/tasks.d.ts.map +1 -1
  60. package/dist-esm/src/operations/tasks.js +2 -2
  61. package/dist-esm/src/operations/tasks.js.map +1 -1
  62. package/dist-esm/src/operations/webhooks.d.ts +2 -2
  63. package/dist-esm/src/operations/webhooks.d.ts.map +1 -1
  64. package/dist-esm/src/operations/webhooks.js +2 -2
  65. package/dist-esm/src/operations/webhooks.js.map +1 -1
  66. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
  67. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  68. package/dist-esm/src/operationsInterfaces/index.js +0 -6
  69. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  70. package/dist-esm/src/operationsInterfaces/registries.d.ts +9 -17
  71. package/dist-esm/src/operationsInterfaces/registries.d.ts.map +1 -1
  72. package/dist-esm/test/containerregistry_examples.d.ts +3 -1
  73. package/dist-esm/test/containerregistry_examples.d.ts.map +1 -1
  74. package/dist-esm/test/containerregistry_examples.js +89 -146
  75. package/dist-esm/test/containerregistry_examples.js.map +1 -1
  76. package/package.json +5 -4
  77. package/review/arm-containerregistry.api.md +17 -815
  78. package/src/containerRegistryManagementClient.ts +44 -27
  79. package/src/index.ts +0 -1
  80. package/src/models/index.ts +323 -1385
  81. package/src/models/mappers.ts +1508 -2838
  82. package/src/models/parameters.ts +39 -184
  83. package/src/operations/agentPools.ts +5 -5
  84. package/src/operations/index.ts +0 -6
  85. package/src/operations/operations.ts +3 -3
  86. package/src/operations/privateEndpointConnections.ts +4 -4
  87. package/src/operations/registries.ts +45 -129
  88. package/src/operations/replications.ts +5 -5
  89. package/src/operations/runs.ts +6 -6
  90. package/src/operations/taskRuns.ts +5 -5
  91. package/src/operations/tasks.ts +5 -5
  92. package/src/operations/webhooks.ts +5 -5
  93. package/src/operationsInterfaces/index.ts +0 -6
  94. package/src/operationsInterfaces/registries.ts +15 -34
  95. package/types/arm-containerregistry.d.ts +135 -1592
  96. package/types/tsdoc-metadata.json +1 -1
  97. package/dist-esm/src/containerRegistryManagementClientContext.d.ts +0 -15
  98. package/dist-esm/src/containerRegistryManagementClientContext.d.ts.map +0 -1
  99. package/dist-esm/src/containerRegistryManagementClientContext.js +0 -48
  100. package/dist-esm/src/containerRegistryManagementClientContext.js.map +0 -1
  101. package/dist-esm/src/operations/connectedRegistries.d.ts +0 -115
  102. package/dist-esm/src/operations/connectedRegistries.d.ts.map +0 -1
  103. package/dist-esm/src/operations/connectedRegistries.js +0 -503
  104. package/dist-esm/src/operations/connectedRegistries.js.map +0 -1
  105. package/dist-esm/src/operations/exportPipelines.d.ts +0 -81
  106. package/dist-esm/src/operations/exportPipelines.d.ts.map +0 -1
  107. package/dist-esm/src/operations/exportPipelines.js +0 -316
  108. package/dist-esm/src/operations/exportPipelines.js.map +0 -1
  109. package/dist-esm/src/operations/importPipelines.d.ts +0 -81
  110. package/dist-esm/src/operations/importPipelines.d.ts.map +0 -1
  111. package/dist-esm/src/operations/importPipelines.js +0 -316
  112. package/dist-esm/src/operations/importPipelines.js.map +0 -1
  113. package/dist-esm/src/operations/pipelineRuns.d.ts +0 -81
  114. package/dist-esm/src/operations/pipelineRuns.d.ts.map +0 -1
  115. package/dist-esm/src/operations/pipelineRuns.js +0 -316
  116. package/dist-esm/src/operations/pipelineRuns.js.map +0 -1
  117. package/dist-esm/src/operations/scopeMaps.d.ts +0 -99
  118. package/dist-esm/src/operations/scopeMaps.d.ts.map +0 -1
  119. package/dist-esm/src/operations/scopeMaps.js +0 -405
  120. package/dist-esm/src/operations/scopeMaps.js.map +0 -1
  121. package/dist-esm/src/operations/tokens.d.ts +0 -99
  122. package/dist-esm/src/operations/tokens.d.ts.map +0 -1
  123. package/dist-esm/src/operations/tokens.js +0 -405
  124. package/dist-esm/src/operations/tokens.js.map +0 -1
  125. package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts +0 -90
  126. package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts.map +0 -1
  127. package/dist-esm/src/operationsInterfaces/connectedRegistries.js +0 -9
  128. package/dist-esm/src/operationsInterfaces/connectedRegistries.js.map +0 -1
  129. package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts +0 -56
  130. package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts.map +0 -1
  131. package/dist-esm/src/operationsInterfaces/exportPipelines.js +0 -9
  132. package/dist-esm/src/operationsInterfaces/exportPipelines.js.map +0 -1
  133. package/dist-esm/src/operationsInterfaces/importPipelines.d.ts +0 -56
  134. package/dist-esm/src/operationsInterfaces/importPipelines.d.ts.map +0 -1
  135. package/dist-esm/src/operationsInterfaces/importPipelines.js +0 -9
  136. package/dist-esm/src/operationsInterfaces/importPipelines.js.map +0 -1
  137. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +0 -56
  138. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
  139. package/dist-esm/src/operationsInterfaces/pipelineRuns.js +0 -9
  140. package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +0 -1
  141. package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts +0 -74
  142. package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts.map +0 -1
  143. package/dist-esm/src/operationsInterfaces/scopeMaps.js +0 -9
  144. package/dist-esm/src/operationsInterfaces/scopeMaps.js.map +0 -1
  145. package/dist-esm/src/operationsInterfaces/tokens.d.ts +0 -74
  146. package/dist-esm/src/operationsInterfaces/tokens.d.ts.map +0 -1
  147. package/dist-esm/src/operationsInterfaces/tokens.js +0 -9
  148. package/dist-esm/src/operationsInterfaces/tokens.js.map +0 -1
  149. package/src/containerRegistryManagementClientContext.ts +0 -68
  150. package/src/operations/connectedRegistries.ts +0 -718
  151. package/src/operations/exportPipelines.ts +0 -449
  152. package/src/operations/importPipelines.ts +0 -449
  153. package/src/operations/pipelineRuns.ts +0 -449
  154. package/src/operations/scopeMaps.ts +0 -584
  155. package/src/operations/tokens.ts +0 -578
  156. package/src/operationsInterfaces/connectedRegistries.ts +0 -174
  157. package/src/operationsInterfaces/exportPipelines.ts +0 -109
  158. package/src/operationsInterfaces/importPipelines.ts +0 -109
  159. package/src/operationsInterfaces/pipelineRuns.ts +0 -109
  160. package/src/operationsInterfaces/scopeMaps.ts +0 -147
  161. package/src/operationsInterfaces/tokens.ts +0 -141
@@ -1,449 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import { PipelineRuns } 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
- PipelineRun,
19
- PipelineRunsListNextOptionalParams,
20
- PipelineRunsListOptionalParams,
21
- PipelineRunsListResponse,
22
- PipelineRunsGetOptionalParams,
23
- PipelineRunsGetResponse,
24
- PipelineRunsCreateOptionalParams,
25
- PipelineRunsCreateResponse,
26
- PipelineRunsDeleteOptionalParams,
27
- PipelineRunsListNextResponse
28
- } from "../models";
29
-
30
- /// <reference lib="esnext.asynciterable" />
31
- /** Class containing PipelineRuns operations. */
32
- export class PipelineRunsImpl implements PipelineRuns {
33
- private readonly client: ContainerRegistryManagementClientContext;
34
-
35
- /**
36
- * Initialize a new instance of the class PipelineRuns class.
37
- * @param client Reference to the service client
38
- */
39
- constructor(client: ContainerRegistryManagementClientContext) {
40
- this.client = client;
41
- }
42
-
43
- /**
44
- * Lists all the pipeline runs for the specified container registry.
45
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
46
- * @param registryName The name of the container registry.
47
- * @param options The options parameters.
48
- */
49
- public list(
50
- resourceGroupName: string,
51
- registryName: string,
52
- options?: PipelineRunsListOptionalParams
53
- ): PagedAsyncIterableIterator<PipelineRun> {
54
- const iter = this.listPagingAll(resourceGroupName, registryName, options);
55
- return {
56
- next() {
57
- return iter.next();
58
- },
59
- [Symbol.asyncIterator]() {
60
- return this;
61
- },
62
- byPage: () => {
63
- return this.listPagingPage(resourceGroupName, registryName, options);
64
- }
65
- };
66
- }
67
-
68
- private async *listPagingPage(
69
- resourceGroupName: string,
70
- registryName: string,
71
- options?: PipelineRunsListOptionalParams
72
- ): AsyncIterableIterator<PipelineRun[]> {
73
- let result = await this._list(resourceGroupName, registryName, options);
74
- yield result.value || [];
75
- let continuationToken = result.nextLink;
76
- while (continuationToken) {
77
- result = await this._listNext(
78
- resourceGroupName,
79
- registryName,
80
- continuationToken,
81
- options
82
- );
83
- continuationToken = result.nextLink;
84
- yield result.value || [];
85
- }
86
- }
87
-
88
- private async *listPagingAll(
89
- resourceGroupName: string,
90
- registryName: string,
91
- options?: PipelineRunsListOptionalParams
92
- ): AsyncIterableIterator<PipelineRun> {
93
- for await (const page of this.listPagingPage(
94
- resourceGroupName,
95
- registryName,
96
- options
97
- )) {
98
- yield* page;
99
- }
100
- }
101
-
102
- /**
103
- * Lists all the pipeline runs for the specified container registry.
104
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
105
- * @param registryName The name of the container registry.
106
- * @param options The options parameters.
107
- */
108
- private _list(
109
- resourceGroupName: string,
110
- registryName: string,
111
- options?: PipelineRunsListOptionalParams
112
- ): Promise<PipelineRunsListResponse> {
113
- return this.client.sendOperationRequest(
114
- { resourceGroupName, registryName, options },
115
- listOperationSpec
116
- );
117
- }
118
-
119
- /**
120
- * Gets the detailed information for a given pipeline run.
121
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
122
- * @param registryName The name of the container registry.
123
- * @param pipelineRunName The name of the pipeline run.
124
- * @param options The options parameters.
125
- */
126
- get(
127
- resourceGroupName: string,
128
- registryName: string,
129
- pipelineRunName: string,
130
- options?: PipelineRunsGetOptionalParams
131
- ): Promise<PipelineRunsGetResponse> {
132
- return this.client.sendOperationRequest(
133
- { resourceGroupName, registryName, pipelineRunName, options },
134
- getOperationSpec
135
- );
136
- }
137
-
138
- /**
139
- * Creates a pipeline run for a container registry with the specified parameters
140
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
141
- * @param registryName The name of the container registry.
142
- * @param pipelineRunName The name of the pipeline run.
143
- * @param pipelineRunCreateParameters The parameters for creating a pipeline run.
144
- * @param options The options parameters.
145
- */
146
- async beginCreate(
147
- resourceGroupName: string,
148
- registryName: string,
149
- pipelineRunName: string,
150
- pipelineRunCreateParameters: PipelineRun,
151
- options?: PipelineRunsCreateOptionalParams
152
- ): Promise<
153
- PollerLike<
154
- PollOperationState<PipelineRunsCreateResponse>,
155
- PipelineRunsCreateResponse
156
- >
157
- > {
158
- const directSendOperation = async (
159
- args: coreClient.OperationArguments,
160
- spec: coreClient.OperationSpec
161
- ): Promise<PipelineRunsCreateResponse> => {
162
- return this.client.sendOperationRequest(args, spec);
163
- };
164
- const sendOperation = async (
165
- args: coreClient.OperationArguments,
166
- spec: coreClient.OperationSpec
167
- ) => {
168
- let currentRawResponse:
169
- | coreClient.FullOperationResponse
170
- | undefined = undefined;
171
- const providedCallback = args.options?.onResponse;
172
- const callback: coreClient.RawResponseCallback = (
173
- rawResponse: coreClient.FullOperationResponse,
174
- flatResponse: unknown
175
- ) => {
176
- currentRawResponse = rawResponse;
177
- providedCallback?.(rawResponse, flatResponse);
178
- };
179
- const updatedArgs = {
180
- ...args,
181
- options: {
182
- ...args.options,
183
- onResponse: callback
184
- }
185
- };
186
- const flatResponse = await directSendOperation(updatedArgs, spec);
187
- return {
188
- flatResponse,
189
- rawResponse: {
190
- statusCode: currentRawResponse!.status,
191
- body: currentRawResponse!.parsedBody,
192
- headers: currentRawResponse!.headers.toJSON()
193
- }
194
- };
195
- };
196
-
197
- const lro = new LroImpl(
198
- sendOperation,
199
- {
200
- resourceGroupName,
201
- registryName,
202
- pipelineRunName,
203
- pipelineRunCreateParameters,
204
- options
205
- },
206
- createOperationSpec
207
- );
208
- return new LroEngine(lro, {
209
- resumeFrom: options?.resumeFrom,
210
- intervalInMs: options?.updateIntervalInMs
211
- });
212
- }
213
-
214
- /**
215
- * Creates a pipeline run for a container registry with the specified parameters
216
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
217
- * @param registryName The name of the container registry.
218
- * @param pipelineRunName The name of the pipeline run.
219
- * @param pipelineRunCreateParameters The parameters for creating a pipeline run.
220
- * @param options The options parameters.
221
- */
222
- async beginCreateAndWait(
223
- resourceGroupName: string,
224
- registryName: string,
225
- pipelineRunName: string,
226
- pipelineRunCreateParameters: PipelineRun,
227
- options?: PipelineRunsCreateOptionalParams
228
- ): Promise<PipelineRunsCreateResponse> {
229
- const poller = await this.beginCreate(
230
- resourceGroupName,
231
- registryName,
232
- pipelineRunName,
233
- pipelineRunCreateParameters,
234
- options
235
- );
236
- return poller.pollUntilDone();
237
- }
238
-
239
- /**
240
- * Deletes a pipeline run from a container registry.
241
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
242
- * @param registryName The name of the container registry.
243
- * @param pipelineRunName The name of the pipeline run.
244
- * @param options The options parameters.
245
- */
246
- async beginDelete(
247
- resourceGroupName: string,
248
- registryName: string,
249
- pipelineRunName: string,
250
- options?: PipelineRunsDeleteOptionalParams
251
- ): Promise<PollerLike<PollOperationState<void>, void>> {
252
- const directSendOperation = async (
253
- args: coreClient.OperationArguments,
254
- spec: coreClient.OperationSpec
255
- ): Promise<void> => {
256
- return this.client.sendOperationRequest(args, spec);
257
- };
258
- const sendOperation = async (
259
- args: coreClient.OperationArguments,
260
- spec: coreClient.OperationSpec
261
- ) => {
262
- let currentRawResponse:
263
- | coreClient.FullOperationResponse
264
- | undefined = undefined;
265
- const providedCallback = args.options?.onResponse;
266
- const callback: coreClient.RawResponseCallback = (
267
- rawResponse: coreClient.FullOperationResponse,
268
- flatResponse: unknown
269
- ) => {
270
- currentRawResponse = rawResponse;
271
- providedCallback?.(rawResponse, flatResponse);
272
- };
273
- const updatedArgs = {
274
- ...args,
275
- options: {
276
- ...args.options,
277
- onResponse: callback
278
- }
279
- };
280
- const flatResponse = await directSendOperation(updatedArgs, spec);
281
- return {
282
- flatResponse,
283
- rawResponse: {
284
- statusCode: currentRawResponse!.status,
285
- body: currentRawResponse!.parsedBody,
286
- headers: currentRawResponse!.headers.toJSON()
287
- }
288
- };
289
- };
290
-
291
- const lro = new LroImpl(
292
- sendOperation,
293
- { resourceGroupName, registryName, pipelineRunName, options },
294
- deleteOperationSpec
295
- );
296
- return new LroEngine(lro, {
297
- resumeFrom: options?.resumeFrom,
298
- intervalInMs: options?.updateIntervalInMs
299
- });
300
- }
301
-
302
- /**
303
- * Deletes a pipeline run from a container registry.
304
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
305
- * @param registryName The name of the container registry.
306
- * @param pipelineRunName The name of the pipeline run.
307
- * @param options The options parameters.
308
- */
309
- async beginDeleteAndWait(
310
- resourceGroupName: string,
311
- registryName: string,
312
- pipelineRunName: string,
313
- options?: PipelineRunsDeleteOptionalParams
314
- ): Promise<void> {
315
- const poller = await this.beginDelete(
316
- resourceGroupName,
317
- registryName,
318
- pipelineRunName,
319
- options
320
- );
321
- return poller.pollUntilDone();
322
- }
323
-
324
- /**
325
- * ListNext
326
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
327
- * @param registryName The name of the container registry.
328
- * @param nextLink The nextLink from the previous successful call to the List method.
329
- * @param options The options parameters.
330
- */
331
- private _listNext(
332
- resourceGroupName: string,
333
- registryName: string,
334
- nextLink: string,
335
- options?: PipelineRunsListNextOptionalParams
336
- ): Promise<PipelineRunsListNextResponse> {
337
- return this.client.sendOperationRequest(
338
- { resourceGroupName, registryName, nextLink, options },
339
- listNextOperationSpec
340
- );
341
- }
342
- }
343
- // Operation Specifications
344
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
345
-
346
- const listOperationSpec: coreClient.OperationSpec = {
347
- path:
348
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns",
349
- httpMethod: "GET",
350
- responses: {
351
- 200: {
352
- bodyMapper: Mappers.PipelineRunListResult
353
- }
354
- },
355
- queryParameters: [Parameters.apiVersion],
356
- urlParameters: [
357
- Parameters.$host,
358
- Parameters.subscriptionId,
359
- Parameters.resourceGroupName,
360
- Parameters.registryName
361
- ],
362
- headerParameters: [Parameters.accept],
363
- serializer
364
- };
365
- const getOperationSpec: coreClient.OperationSpec = {
366
- path:
367
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
368
- httpMethod: "GET",
369
- responses: {
370
- 200: {
371
- bodyMapper: Mappers.PipelineRun
372
- }
373
- },
374
- queryParameters: [Parameters.apiVersion],
375
- urlParameters: [
376
- Parameters.$host,
377
- Parameters.subscriptionId,
378
- Parameters.resourceGroupName,
379
- Parameters.registryName,
380
- Parameters.pipelineRunName
381
- ],
382
- headerParameters: [Parameters.accept],
383
- serializer
384
- };
385
- const createOperationSpec: coreClient.OperationSpec = {
386
- path:
387
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
388
- httpMethod: "PUT",
389
- responses: {
390
- 200: {
391
- bodyMapper: Mappers.PipelineRun
392
- },
393
- 201: {
394
- bodyMapper: Mappers.PipelineRun
395
- },
396
- 202: {
397
- bodyMapper: Mappers.PipelineRun
398
- },
399
- 204: {
400
- bodyMapper: Mappers.PipelineRun
401
- }
402
- },
403
- requestBody: Parameters.pipelineRunCreateParameters,
404
- queryParameters: [Parameters.apiVersion],
405
- urlParameters: [
406
- Parameters.$host,
407
- Parameters.subscriptionId,
408
- Parameters.resourceGroupName,
409
- Parameters.registryName,
410
- Parameters.pipelineRunName
411
- ],
412
- headerParameters: [Parameters.accept, Parameters.contentType],
413
- mediaType: "json",
414
- serializer
415
- };
416
- const deleteOperationSpec: coreClient.OperationSpec = {
417
- path:
418
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
419
- httpMethod: "DELETE",
420
- responses: { 200: {}, 201: {}, 202: {}, 204: {} },
421
- queryParameters: [Parameters.apiVersion],
422
- urlParameters: [
423
- Parameters.$host,
424
- Parameters.subscriptionId,
425
- Parameters.resourceGroupName,
426
- Parameters.registryName,
427
- Parameters.pipelineRunName
428
- ],
429
- serializer
430
- };
431
- const listNextOperationSpec: coreClient.OperationSpec = {
432
- path: "{nextLink}",
433
- httpMethod: "GET",
434
- responses: {
435
- 200: {
436
- bodyMapper: Mappers.PipelineRunListResult
437
- }
438
- },
439
- queryParameters: [Parameters.apiVersion],
440
- urlParameters: [
441
- Parameters.$host,
442
- Parameters.subscriptionId,
443
- Parameters.resourceGroupName,
444
- Parameters.registryName,
445
- Parameters.nextLink
446
- ],
447
- headerParameters: [Parameters.accept],
448
- serializer
449
- };