@azure/arm-containerregistry 11.0.0 → 12.0.0-alpha.20251224.3

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 (195) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/containerRegistryManagementClient.js +1 -1
  3. package/dist/browser/containerRegistryManagementClient.js.map +1 -1
  4. package/dist/browser/models/index.d.ts +158 -192
  5. package/dist/browser/models/index.d.ts.map +1 -1
  6. package/dist/browser/models/index.js.map +1 -1
  7. package/dist/browser/models/mappers.d.ts +16 -15
  8. package/dist/browser/models/mappers.d.ts.map +1 -1
  9. package/dist/browser/models/mappers.js +280 -319
  10. package/dist/browser/models/mappers.js.map +1 -1
  11. package/dist/browser/models/parameters.d.ts +1 -2
  12. package/dist/browser/models/parameters.d.ts.map +1 -1
  13. package/dist/browser/models/parameters.js +5 -18
  14. package/dist/browser/models/parameters.js.map +1 -1
  15. package/dist/browser/operations/agentPools.d.ts +37 -37
  16. package/dist/browser/operations/agentPools.d.ts.map +1 -1
  17. package/dist/browser/operations/agentPools.js +101 -90
  18. package/dist/browser/operations/agentPools.js.map +1 -1
  19. package/dist/browser/operations/registries.d.ts +7 -15
  20. package/dist/browser/operations/registries.d.ts.map +1 -1
  21. package/dist/browser/operations/registries.js +22 -79
  22. package/dist/browser/operations/registries.js.map +1 -1
  23. package/dist/browser/operations/runs.d.ts +18 -36
  24. package/dist/browser/operations/runs.d.ts.map +1 -1
  25. package/dist/browser/operations/runs.js +39 -156
  26. package/dist/browser/operations/runs.js.map +1 -1
  27. package/dist/browser/operations/taskRuns.d.ts +31 -39
  28. package/dist/browser/operations/taskRuns.d.ts.map +1 -1
  29. package/dist/browser/operations/taskRuns.js +79 -127
  30. package/dist/browser/operations/taskRuns.js.map +1 -1
  31. package/dist/browser/operations/tasks.d.ts +21 -48
  32. package/dist/browser/operations/tasks.d.ts.map +1 -1
  33. package/dist/browser/operations/tasks.js +62 -227
  34. package/dist/browser/operations/tasks.js.map +1 -1
  35. package/dist/browser/operationsInterfaces/agentPools.d.ts +29 -29
  36. package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
  37. package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
  38. package/dist/browser/operationsInterfaces/registries.d.ts +7 -15
  39. package/dist/browser/operationsInterfaces/registries.d.ts.map +1 -1
  40. package/dist/browser/operationsInterfaces/registries.js.map +1 -1
  41. package/dist/browser/operationsInterfaces/runs.d.ts +14 -32
  42. package/dist/browser/operationsInterfaces/runs.d.ts.map +1 -1
  43. package/dist/browser/operationsInterfaces/runs.js.map +1 -1
  44. package/dist/browser/operationsInterfaces/taskRuns.d.ts +23 -31
  45. package/dist/browser/operationsInterfaces/taskRuns.d.ts.map +1 -1
  46. package/dist/browser/operationsInterfaces/taskRuns.js.map +1 -1
  47. package/dist/browser/operationsInterfaces/tasks.d.ts +17 -44
  48. package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -1
  49. package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
  50. package/dist/commonjs/containerRegistryManagementClient.js +1 -1
  51. package/dist/commonjs/containerRegistryManagementClient.js.map +1 -1
  52. package/dist/commonjs/models/index.d.ts +158 -192
  53. package/dist/commonjs/models/index.d.ts.map +1 -1
  54. package/dist/commonjs/models/index.js.map +1 -1
  55. package/dist/commonjs/models/mappers.d.ts +16 -15
  56. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  57. package/dist/commonjs/models/mappers.js +283 -322
  58. package/dist/commonjs/models/mappers.js.map +1 -1
  59. package/dist/commonjs/models/parameters.d.ts +1 -2
  60. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  61. package/dist/commonjs/models/parameters.js +7 -20
  62. package/dist/commonjs/models/parameters.js.map +1 -1
  63. package/dist/commonjs/operations/agentPools.d.ts +37 -37
  64. package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
  65. package/dist/commonjs/operations/agentPools.js +101 -90
  66. package/dist/commonjs/operations/agentPools.js.map +1 -1
  67. package/dist/commonjs/operations/registries.d.ts +7 -15
  68. package/dist/commonjs/operations/registries.d.ts.map +1 -1
  69. package/dist/commonjs/operations/registries.js +22 -79
  70. package/dist/commonjs/operations/registries.js.map +1 -1
  71. package/dist/commonjs/operations/runs.d.ts +18 -36
  72. package/dist/commonjs/operations/runs.d.ts.map +1 -1
  73. package/dist/commonjs/operations/runs.js +39 -156
  74. package/dist/commonjs/operations/runs.js.map +1 -1
  75. package/dist/commonjs/operations/taskRuns.d.ts +31 -39
  76. package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
  77. package/dist/commonjs/operations/taskRuns.js +79 -127
  78. package/dist/commonjs/operations/taskRuns.js.map +1 -1
  79. package/dist/commonjs/operations/tasks.d.ts +21 -48
  80. package/dist/commonjs/operations/tasks.d.ts.map +1 -1
  81. package/dist/commonjs/operations/tasks.js +62 -227
  82. package/dist/commonjs/operations/tasks.js.map +1 -1
  83. package/dist/commonjs/operationsInterfaces/agentPools.d.ts +29 -29
  84. package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
  85. package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
  86. package/dist/commonjs/operationsInterfaces/registries.d.ts +7 -15
  87. package/dist/commonjs/operationsInterfaces/registries.d.ts.map +1 -1
  88. package/dist/commonjs/operationsInterfaces/registries.js.map +1 -1
  89. package/dist/commonjs/operationsInterfaces/runs.d.ts +14 -32
  90. package/dist/commonjs/operationsInterfaces/runs.d.ts.map +1 -1
  91. package/dist/commonjs/operationsInterfaces/runs.js.map +1 -1
  92. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts +23 -31
  93. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts.map +1 -1
  94. package/dist/commonjs/operationsInterfaces/taskRuns.js.map +1 -1
  95. package/dist/commonjs/operationsInterfaces/tasks.d.ts +17 -44
  96. package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -1
  97. package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
  98. package/dist/commonjs/tsdoc-metadata.json +1 -1
  99. package/dist/esm/containerRegistryManagementClient.js +1 -1
  100. package/dist/esm/containerRegistryManagementClient.js.map +1 -1
  101. package/dist/esm/models/index.d.ts +158 -192
  102. package/dist/esm/models/index.d.ts.map +1 -1
  103. package/dist/esm/models/index.js.map +1 -1
  104. package/dist/esm/models/mappers.d.ts +16 -15
  105. package/dist/esm/models/mappers.d.ts.map +1 -1
  106. package/dist/esm/models/mappers.js +280 -319
  107. package/dist/esm/models/mappers.js.map +1 -1
  108. package/dist/esm/models/parameters.d.ts +1 -2
  109. package/dist/esm/models/parameters.d.ts.map +1 -1
  110. package/dist/esm/models/parameters.js +5 -18
  111. package/dist/esm/models/parameters.js.map +1 -1
  112. package/dist/esm/operations/agentPools.d.ts +37 -37
  113. package/dist/esm/operations/agentPools.d.ts.map +1 -1
  114. package/dist/esm/operations/agentPools.js +101 -90
  115. package/dist/esm/operations/agentPools.js.map +1 -1
  116. package/dist/esm/operations/registries.d.ts +7 -15
  117. package/dist/esm/operations/registries.d.ts.map +1 -1
  118. package/dist/esm/operations/registries.js +22 -79
  119. package/dist/esm/operations/registries.js.map +1 -1
  120. package/dist/esm/operations/runs.d.ts +18 -36
  121. package/dist/esm/operations/runs.d.ts.map +1 -1
  122. package/dist/esm/operations/runs.js +39 -156
  123. package/dist/esm/operations/runs.js.map +1 -1
  124. package/dist/esm/operations/taskRuns.d.ts +31 -39
  125. package/dist/esm/operations/taskRuns.d.ts.map +1 -1
  126. package/dist/esm/operations/taskRuns.js +79 -127
  127. package/dist/esm/operations/taskRuns.js.map +1 -1
  128. package/dist/esm/operations/tasks.d.ts +21 -48
  129. package/dist/esm/operations/tasks.d.ts.map +1 -1
  130. package/dist/esm/operations/tasks.js +62 -227
  131. package/dist/esm/operations/tasks.js.map +1 -1
  132. package/dist/esm/operationsInterfaces/agentPools.d.ts +29 -29
  133. package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
  134. package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
  135. package/dist/esm/operationsInterfaces/registries.d.ts +7 -15
  136. package/dist/esm/operationsInterfaces/registries.d.ts.map +1 -1
  137. package/dist/esm/operationsInterfaces/registries.js.map +1 -1
  138. package/dist/esm/operationsInterfaces/runs.d.ts +14 -32
  139. package/dist/esm/operationsInterfaces/runs.d.ts.map +1 -1
  140. package/dist/esm/operationsInterfaces/runs.js.map +1 -1
  141. package/dist/esm/operationsInterfaces/taskRuns.d.ts +23 -31
  142. package/dist/esm/operationsInterfaces/taskRuns.d.ts.map +1 -1
  143. package/dist/esm/operationsInterfaces/taskRuns.js.map +1 -1
  144. package/dist/esm/operationsInterfaces/tasks.d.ts +17 -44
  145. package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -1
  146. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  147. package/dist/react-native/containerRegistryManagementClient.js +1 -1
  148. package/dist/react-native/containerRegistryManagementClient.js.map +1 -1
  149. package/dist/react-native/models/index.d.ts +158 -192
  150. package/dist/react-native/models/index.d.ts.map +1 -1
  151. package/dist/react-native/models/index.js.map +1 -1
  152. package/dist/react-native/models/mappers.d.ts +16 -15
  153. package/dist/react-native/models/mappers.d.ts.map +1 -1
  154. package/dist/react-native/models/mappers.js +280 -319
  155. package/dist/react-native/models/mappers.js.map +1 -1
  156. package/dist/react-native/models/parameters.d.ts +1 -2
  157. package/dist/react-native/models/parameters.d.ts.map +1 -1
  158. package/dist/react-native/models/parameters.js +5 -18
  159. package/dist/react-native/models/parameters.js.map +1 -1
  160. package/dist/react-native/operations/agentPools.d.ts +37 -37
  161. package/dist/react-native/operations/agentPools.d.ts.map +1 -1
  162. package/dist/react-native/operations/agentPools.js +101 -90
  163. package/dist/react-native/operations/agentPools.js.map +1 -1
  164. package/dist/react-native/operations/registries.d.ts +7 -15
  165. package/dist/react-native/operations/registries.d.ts.map +1 -1
  166. package/dist/react-native/operations/registries.js +22 -79
  167. package/dist/react-native/operations/registries.js.map +1 -1
  168. package/dist/react-native/operations/runs.d.ts +18 -36
  169. package/dist/react-native/operations/runs.d.ts.map +1 -1
  170. package/dist/react-native/operations/runs.js +39 -156
  171. package/dist/react-native/operations/runs.js.map +1 -1
  172. package/dist/react-native/operations/taskRuns.d.ts +31 -39
  173. package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
  174. package/dist/react-native/operations/taskRuns.js +79 -127
  175. package/dist/react-native/operations/taskRuns.js.map +1 -1
  176. package/dist/react-native/operations/tasks.d.ts +21 -48
  177. package/dist/react-native/operations/tasks.d.ts.map +1 -1
  178. package/dist/react-native/operations/tasks.js +62 -227
  179. package/dist/react-native/operations/tasks.js.map +1 -1
  180. package/dist/react-native/operationsInterfaces/agentPools.d.ts +29 -29
  181. package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
  182. package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
  183. package/dist/react-native/operationsInterfaces/registries.d.ts +7 -15
  184. package/dist/react-native/operationsInterfaces/registries.d.ts.map +1 -1
  185. package/dist/react-native/operationsInterfaces/registries.js.map +1 -1
  186. package/dist/react-native/operationsInterfaces/runs.d.ts +14 -32
  187. package/dist/react-native/operationsInterfaces/runs.d.ts.map +1 -1
  188. package/dist/react-native/operationsInterfaces/runs.js.map +1 -1
  189. package/dist/react-native/operationsInterfaces/taskRuns.d.ts +23 -31
  190. package/dist/react-native/operationsInterfaces/taskRuns.d.ts.map +1 -1
  191. package/dist/react-native/operationsInterfaces/taskRuns.js.map +1 -1
  192. package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -44
  193. package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -1
  194. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  195. package/package.json +22 -22
@@ -8,8 +8,6 @@ const pagingHelper_js_1 = require("../pagingHelper.js");
8
8
  const coreClient = tslib_1.__importStar(require("@azure/core-client"));
9
9
  const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
10
10
  const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
11
- const core_lro_1 = require("@azure/core-lro");
12
- const lroImpl_js_1 = require("../lroImpl.js");
13
11
  /// <reference lib="esnext.asynciterable" />
14
12
  /** Class containing Runs operations. */
15
13
  class RunsImpl {
@@ -23,8 +21,8 @@ class RunsImpl {
23
21
  }
24
22
  /**
25
23
  * Gets all the runs for a registry.
26
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
27
- * @param registryName The name of the container registry.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param registryName The name of the Registry
28
26
  * @param options The options parameters.
29
27
  */
30
28
  list(resourceGroupName, registryName, options) {
@@ -69,8 +67,8 @@ class RunsImpl {
69
67
  }
70
68
  /**
71
69
  * Gets all the runs for a registry.
72
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
73
- * @param registryName The name of the container registry.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param registryName The name of the Registry
74
72
  * @param options The options parameters.
75
73
  */
76
74
  _list(resourceGroupName, registryName, options) {
@@ -78,8 +76,8 @@ class RunsImpl {
78
76
  }
79
77
  /**
80
78
  * Gets the detailed information for a given run.
81
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
82
- * @param registryName The name of the container registry.
79
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
80
+ * @param registryName The name of the Registry
83
81
  * @param runId The run ID.
84
82
  * @param options The options parameters.
85
83
  */
@@ -88,142 +86,39 @@ class RunsImpl {
88
86
  }
89
87
  /**
90
88
  * Patch the run properties.
91
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
92
- * @param registryName The name of the container registry.
89
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
90
+ * @param registryName The name of the Registry
93
91
  * @param runId The run ID.
94
92
  * @param runUpdateParameters The run update properties.
95
93
  * @param options The options parameters.
96
94
  */
97
- async beginUpdate(resourceGroupName, registryName, runId, runUpdateParameters, options) {
98
- const directSendOperation = async (args, spec) => {
99
- return this.client.sendOperationRequest(args, spec);
100
- };
101
- const sendOperationFn = async (args, spec) => {
102
- let currentRawResponse = undefined;
103
- const providedCallback = args.options?.onResponse;
104
- const callback = (rawResponse, flatResponse) => {
105
- currentRawResponse = rawResponse;
106
- providedCallback?.(rawResponse, flatResponse);
107
- };
108
- const updatedArgs = {
109
- ...args,
110
- options: {
111
- ...args.options,
112
- onResponse: callback,
113
- },
114
- };
115
- const flatResponse = await directSendOperation(updatedArgs, spec);
116
- return {
117
- flatResponse,
118
- rawResponse: {
119
- statusCode: currentRawResponse.status,
120
- body: currentRawResponse.parsedBody,
121
- headers: currentRawResponse.headers.toJSON(),
122
- },
123
- };
124
- };
125
- const lro = (0, lroImpl_js_1.createLroSpec)({
126
- sendOperationFn,
127
- args: {
128
- resourceGroupName,
129
- registryName,
130
- runId,
131
- runUpdateParameters,
132
- options,
133
- },
134
- spec: updateOperationSpec,
135
- });
136
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
137
- restoreFrom: options?.resumeFrom,
138
- intervalInMs: options?.updateIntervalInMs,
139
- });
140
- await poller.poll();
141
- return poller;
95
+ update(resourceGroupName, registryName, runId, runUpdateParameters, options) {
96
+ return this.client.sendOperationRequest({ resourceGroupName, registryName, runId, runUpdateParameters, options }, updateOperationSpec);
142
97
  }
143
98
  /**
144
- * Patch the run properties.
145
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
146
- * @param registryName The name of the container registry.
99
+ * Cancel an existing run.
100
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
101
+ * @param registryName The name of the Registry
147
102
  * @param runId The run ID.
148
- * @param runUpdateParameters The run update properties.
149
103
  * @param options The options parameters.
150
104
  */
151
- async beginUpdateAndWait(resourceGroupName, registryName, runId, runUpdateParameters, options) {
152
- const poller = await this.beginUpdate(resourceGroupName, registryName, runId, runUpdateParameters, options);
153
- return poller.pollUntilDone();
105
+ cancel(resourceGroupName, registryName, runId, options) {
106
+ return this.client.sendOperationRequest({ resourceGroupName, registryName, runId, options }, cancelOperationSpec);
154
107
  }
155
108
  /**
156
109
  * Gets a link to download the run logs.
157
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
158
- * @param registryName The name of the container registry.
110
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
111
+ * @param registryName The name of the Registry
159
112
  * @param runId The run ID.
160
113
  * @param options The options parameters.
161
114
  */
162
115
  getLogSasUrl(resourceGroupName, registryName, runId, options) {
163
116
  return this.client.sendOperationRequest({ resourceGroupName, registryName, runId, options }, getLogSasUrlOperationSpec);
164
117
  }
165
- /**
166
- * Cancel an existing run.
167
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
168
- * @param registryName The name of the container registry.
169
- * @param runId The run ID.
170
- * @param options The options parameters.
171
- */
172
- async beginCancel(resourceGroupName, registryName, runId, options) {
173
- const directSendOperation = async (args, spec) => {
174
- return this.client.sendOperationRequest(args, spec);
175
- };
176
- const sendOperationFn = async (args, spec) => {
177
- let currentRawResponse = undefined;
178
- const providedCallback = args.options?.onResponse;
179
- const callback = (rawResponse, flatResponse) => {
180
- currentRawResponse = rawResponse;
181
- providedCallback?.(rawResponse, flatResponse);
182
- };
183
- const updatedArgs = {
184
- ...args,
185
- options: {
186
- ...args.options,
187
- onResponse: callback,
188
- },
189
- };
190
- const flatResponse = await directSendOperation(updatedArgs, spec);
191
- return {
192
- flatResponse,
193
- rawResponse: {
194
- statusCode: currentRawResponse.status,
195
- body: currentRawResponse.parsedBody,
196
- headers: currentRawResponse.headers.toJSON(),
197
- },
198
- };
199
- };
200
- const lro = (0, lroImpl_js_1.createLroSpec)({
201
- sendOperationFn,
202
- args: { resourceGroupName, registryName, runId, options },
203
- spec: cancelOperationSpec,
204
- });
205
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
206
- restoreFrom: options?.resumeFrom,
207
- intervalInMs: options?.updateIntervalInMs,
208
- });
209
- await poller.poll();
210
- return poller;
211
- }
212
- /**
213
- * Cancel an existing run.
214
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
215
- * @param registryName The name of the container registry.
216
- * @param runId The run ID.
217
- * @param options The options parameters.
218
- */
219
- async beginCancelAndWait(resourceGroupName, registryName, runId, options) {
220
- const poller = await this.beginCancel(resourceGroupName, registryName, runId, options);
221
- return poller.pollUntilDone();
222
- }
223
118
  /**
224
119
  * ListNext
225
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
226
- * @param registryName The name of the container registry.
120
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
121
+ * @param registryName The name of the Registry
227
122
  * @param nextLink The nextLink from the previous successful call to the List method.
228
123
  * @param options The options parameters.
229
124
  */
@@ -242,15 +137,15 @@ const listOperationSpec = {
242
137
  bodyMapper: Mappers.RunListResult,
243
138
  },
244
139
  default: {
245
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
140
+ bodyMapper: Mappers.ErrorResponse,
246
141
  },
247
142
  },
248
143
  queryParameters: [Parameters.apiVersion1, Parameters.filter, Parameters.top],
249
144
  urlParameters: [
250
145
  Parameters.$host,
251
146
  Parameters.subscriptionId,
147
+ Parameters.resourceGroupName,
252
148
  Parameters.registryName,
253
- Parameters.resourceGroupName1,
254
149
  ],
255
150
  headerParameters: [Parameters.accept],
256
151
  serializer,
@@ -263,15 +158,15 @@ const getOperationSpec = {
263
158
  bodyMapper: Mappers.Run,
264
159
  },
265
160
  default: {
266
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
161
+ bodyMapper: Mappers.ErrorResponse,
267
162
  },
268
163
  },
269
164
  queryParameters: [Parameters.apiVersion1],
270
165
  urlParameters: [
271
166
  Parameters.$host,
272
167
  Parameters.subscriptionId,
168
+ Parameters.resourceGroupName,
273
169
  Parameters.registryName,
274
- Parameters.resourceGroupName1,
275
170
  Parameters.runId,
276
171
  ],
277
172
  headerParameters: [Parameters.accept],
@@ -284,17 +179,8 @@ const updateOperationSpec = {
284
179
  200: {
285
180
  bodyMapper: Mappers.Run,
286
181
  },
287
- 201: {
288
- bodyMapper: Mappers.Run,
289
- },
290
- 202: {
291
- bodyMapper: Mappers.Run,
292
- },
293
- 204: {
294
- bodyMapper: Mappers.Run,
295
- },
296
182
  default: {
297
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
183
+ bodyMapper: Mappers.ErrorResponse,
298
184
  },
299
185
  },
300
186
  requestBody: Parameters.runUpdateParameters,
@@ -302,54 +188,51 @@ const updateOperationSpec = {
302
188
  urlParameters: [
303
189
  Parameters.$host,
304
190
  Parameters.subscriptionId,
191
+ Parameters.resourceGroupName,
305
192
  Parameters.registryName,
306
- Parameters.resourceGroupName1,
307
193
  Parameters.runId,
308
194
  ],
309
195
  headerParameters: [Parameters.accept, Parameters.contentType],
310
196
  mediaType: "json",
311
197
  serializer,
312
198
  };
313
- const getLogSasUrlOperationSpec = {
314
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl",
199
+ const cancelOperationSpec = {
200
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel",
315
201
  httpMethod: "POST",
316
202
  responses: {
317
- 200: {
318
- bodyMapper: Mappers.RunGetLogResult,
319
- },
203
+ 200: {},
320
204
  default: {
321
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
205
+ bodyMapper: Mappers.ErrorResponse,
322
206
  },
323
207
  },
324
208
  queryParameters: [Parameters.apiVersion1],
325
209
  urlParameters: [
326
210
  Parameters.$host,
327
211
  Parameters.subscriptionId,
212
+ Parameters.resourceGroupName,
328
213
  Parameters.registryName,
329
- Parameters.resourceGroupName1,
330
214
  Parameters.runId,
331
215
  ],
332
216
  headerParameters: [Parameters.accept],
333
217
  serializer,
334
218
  };
335
- const cancelOperationSpec = {
336
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel",
219
+ const getLogSasUrlOperationSpec = {
220
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl",
337
221
  httpMethod: "POST",
338
222
  responses: {
339
- 200: {},
340
- 201: {},
341
- 202: {},
342
- 204: {},
223
+ 200: {
224
+ bodyMapper: Mappers.RunGetLogResult,
225
+ },
343
226
  default: {
344
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
227
+ bodyMapper: Mappers.ErrorResponse,
345
228
  },
346
229
  },
347
230
  queryParameters: [Parameters.apiVersion1],
348
231
  urlParameters: [
349
232
  Parameters.$host,
350
233
  Parameters.subscriptionId,
234
+ Parameters.resourceGroupName,
351
235
  Parameters.registryName,
352
- Parameters.resourceGroupName1,
353
236
  Parameters.runId,
354
237
  ],
355
238
  headerParameters: [Parameters.accept],
@@ -363,15 +246,15 @@ const listNextOperationSpec = {
363
246
  bodyMapper: Mappers.RunListResult,
364
247
  },
365
248
  default: {
366
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
249
+ bodyMapper: Mappers.ErrorResponse,
367
250
  },
368
251
  },
369
252
  urlParameters: [
370
253
  Parameters.$host,
371
254
  Parameters.nextLink,
372
255
  Parameters.subscriptionId,
256
+ Parameters.resourceGroupName,
373
257
  Parameters.registryName,
374
- Parameters.resourceGroupName1,
375
258
  ],
376
259
  headerParameters: [Parameters.accept],
377
260
  serializer,
@@ -1 +1 @@
1
- {"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../src/operations/runs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAiB9C,4CAA4C;AAC5C,wCAAwC;AACxC,MAAa,QAAQ;IACF,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG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e,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,wDAA0D;AAE1D,u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AAC,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, TaskRunsDeleteOptionalParams, TaskRunUpdateParameters, TaskRunsUpdateOptionalParams, TaskRunsUpdateResponse, TaskRunsGetDetailsOptionalParams, TaskRunsGetDetailsResponse } from "../models/index.js";
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 to which the container registry belongs.
17
- * @param registryName The name of the container registry.
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 to which the container registry belongs.
26
- * @param registryName The name of the container registry.
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 to which the container registry belongs.
34
- * @param registryName The name of the container registry.
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 to which the container registry belongs.
43
- * @param registryName The name of the container registry.
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 to which the container registry belongs.
68
- * @param registryName The name of the container registry.
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 to which the container registry belongs.
77
- * @param registryName The name of the container registry.
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
- * Gets the detailed information for a given task run that includes all secrets.
85
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
86
- * @param registryName The name of the container registry.
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
- getDetails(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsGetDetailsOptionalParams): Promise<TaskRunsGetDetailsResponse>;
81
+ delete(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<void>;
91
82
  /**
92
- * Lists all the task runs for a specified container registry.
93
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
94
- * @param registryName The name of the container registry.
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
- private _list;
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 to which the container registry belongs.
101
- * @param registryName The name of the container registry.
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,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACtB,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,CAAC,OAAO,CAAC;YAkBvB,cAAc;YAwBd,aAAa;IAU5B;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,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