@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
@@ -12,25 +12,15 @@ import {
12
12
  OperationQueryParameter
13
13
  } from "@azure/core-client";
14
14
  import {
15
- ConnectedRegistry as ConnectedRegistryMapper,
16
- ConnectedRegistryUpdateParameters as ConnectedRegistryUpdateParametersMapper,
17
- ExportPipeline as ExportPipelineMapper,
18
15
  ImportImageParameters as ImportImageParametersMapper,
19
16
  RegistryNameCheckRequest as RegistryNameCheckRequestMapper,
20
17
  Registry as RegistryMapper,
21
18
  RegistryUpdateParameters as RegistryUpdateParametersMapper,
22
19
  RegenerateCredentialParameters as RegenerateCredentialParametersMapper,
23
- GenerateCredentialsParameters as GenerateCredentialsParametersMapper,
24
20
  RunRequest as RunRequestMapper,
25
- ImportPipeline as ImportPipelineMapper,
26
- PipelineRun as PipelineRunMapper,
27
21
  PrivateEndpointConnection as PrivateEndpointConnectionMapper,
28
22
  Replication as ReplicationMapper,
29
23
  ReplicationUpdateParameters as ReplicationUpdateParametersMapper,
30
- ScopeMap as ScopeMapMapper,
31
- ScopeMapUpdateParameters as ScopeMapUpdateParametersMapper,
32
- Token as TokenMapper,
33
- TokenUpdateParameters as TokenUpdateParametersMapper,
34
24
  WebhookCreateParameters as WebhookCreateParametersMapper,
35
25
  WebhookUpdateParameters as WebhookUpdateParametersMapper,
36
26
  AgentPool as AgentPoolMapper,
@@ -42,18 +32,23 @@ import {
42
32
  TaskUpdateParameters as TaskUpdateParametersMapper
43
33
  } from "../models/mappers";
44
34
 
45
- export const accept: OperationParameter = {
46
- parameterPath: "accept",
35
+ export const contentType: OperationParameter = {
36
+ parameterPath: ["options", "contentType"],
47
37
  mapper: {
48
38
  defaultValue: "application/json",
49
39
  isConstant: true,
50
- serializedName: "Accept",
40
+ serializedName: "Content-Type",
51
41
  type: {
52
42
  name: "String"
53
43
  }
54
44
  }
55
45
  };
56
46
 
47
+ export const parameters: OperationParameter = {
48
+ parameterPath: "parameters",
49
+ mapper: ImportImageParametersMapper
50
+ };
51
+
57
52
  export const $host: OperationURLParameter = {
58
53
  parameterPath: "$host",
59
54
  mapper: {
@@ -69,7 +64,7 @@ export const $host: OperationURLParameter = {
69
64
  export const apiVersion: OperationQueryParameter = {
70
65
  parameterPath: "apiVersion",
71
66
  mapper: {
72
- defaultValue: "2021-08-01-preview",
67
+ defaultValue: "2021-09-01",
73
68
  isConstant: true,
74
69
  serializedName: "api-version",
75
70
  type: {
@@ -119,75 +114,37 @@ export const registryName: OperationURLParameter = {
119
114
  }
120
115
  };
121
116
 
122
- export const filter: OperationQueryParameter = {
123
- parameterPath: ["options", "filter"],
124
- mapper: {
125
- serializedName: "$filter",
126
- type: {
127
- name: "String"
128
- }
129
- }
130
- };
131
-
132
- export const connectedRegistryName: OperationURLParameter = {
133
- parameterPath: "connectedRegistryName",
134
- mapper: {
135
- constraints: {
136
- Pattern: new RegExp("^[a-zA-Z0-9]*$"),
137
- MaxLength: 50,
138
- MinLength: 5
139
- },
140
- serializedName: "connectedRegistryName",
141
- required: true,
142
- type: {
143
- name: "String"
144
- }
145
- }
117
+ export const registryNameCheckRequest: OperationParameter = {
118
+ parameterPath: "registryNameCheckRequest",
119
+ mapper: RegistryNameCheckRequestMapper
146
120
  };
147
121
 
148
- export const contentType: OperationParameter = {
149
- parameterPath: ["options", "contentType"],
122
+ export const accept: OperationParameter = {
123
+ parameterPath: "accept",
150
124
  mapper: {
151
125
  defaultValue: "application/json",
152
126
  isConstant: true,
153
- serializedName: "Content-Type",
127
+ serializedName: "Accept",
154
128
  type: {
155
129
  name: "String"
156
130
  }
157
131
  }
158
132
  };
159
133
 
160
- export const connectedRegistryCreateParameters: OperationParameter = {
161
- parameterPath: "connectedRegistryCreateParameters",
162
- mapper: ConnectedRegistryMapper
163
- };
164
-
165
- export const connectedRegistryUpdateParameters: OperationParameter = {
166
- parameterPath: "connectedRegistryUpdateParameters",
167
- mapper: ConnectedRegistryUpdateParametersMapper
134
+ export const registry: OperationParameter = {
135
+ parameterPath: "registry",
136
+ mapper: RegistryMapper
168
137
  };
169
138
 
170
- export const nextLink: OperationURLParameter = {
171
- parameterPath: "nextLink",
172
- mapper: {
173
- serializedName: "nextLink",
174
- required: true,
175
- type: {
176
- name: "String"
177
- }
178
- },
179
- skipEncoding: true
139
+ export const registryUpdateParameters: OperationParameter = {
140
+ parameterPath: "registryUpdateParameters",
141
+ mapper: RegistryUpdateParametersMapper
180
142
  };
181
143
 
182
- export const exportPipelineName: OperationURLParameter = {
183
- parameterPath: "exportPipelineName",
144
+ export const groupName: OperationURLParameter = {
145
+ parameterPath: "groupName",
184
146
  mapper: {
185
- constraints: {
186
- Pattern: new RegExp("^[a-zA-Z0-9]*$"),
187
- MaxLength: 50,
188
- MinLength: 5
189
- },
190
- serializedName: "exportPipelineName",
147
+ serializedName: "groupName",
191
148
  required: true,
192
149
  type: {
193
150
  name: "String"
@@ -195,41 +152,11 @@ export const exportPipelineName: OperationURLParameter = {
195
152
  }
196
153
  };
197
154
 
198
- export const exportPipelineCreateParameters: OperationParameter = {
199
- parameterPath: "exportPipelineCreateParameters",
200
- mapper: ExportPipelineMapper
201
- };
202
-
203
- export const parameters: OperationParameter = {
204
- parameterPath: "parameters",
205
- mapper: ImportImageParametersMapper
206
- };
207
-
208
- export const registryNameCheckRequest: OperationParameter = {
209
- parameterPath: "registryNameCheckRequest",
210
- mapper: RegistryNameCheckRequestMapper
211
- };
212
-
213
- export const registry: OperationParameter = {
214
- parameterPath: "registry",
215
- mapper: RegistryMapper
216
- };
217
-
218
- export const registryUpdateParameters: OperationParameter = {
219
- parameterPath: "registryUpdateParameters",
220
- mapper: RegistryUpdateParametersMapper
221
- };
222
-
223
155
  export const regenerateCredentialParameters: OperationParameter = {
224
156
  parameterPath: "regenerateCredentialParameters",
225
157
  mapper: RegenerateCredentialParametersMapper
226
158
  };
227
159
 
228
- export const generateCredentialsParameters: OperationParameter = {
229
- parameterPath: "generateCredentialsParameters",
230
- mapper: GenerateCredentialsParametersMapper
231
- };
232
-
233
160
  export const runRequest: OperationParameter = {
234
161
  parameterPath: "runRequest",
235
162
  mapper: RunRequestMapper
@@ -247,46 +174,16 @@ export const apiVersion1: OperationQueryParameter = {
247
174
  }
248
175
  };
249
176
 
250
- export const importPipelineName: OperationURLParameter = {
251
- parameterPath: "importPipelineName",
252
- mapper: {
253
- constraints: {
254
- Pattern: new RegExp("^[a-zA-Z0-9]*$"),
255
- MaxLength: 50,
256
- MinLength: 5
257
- },
258
- serializedName: "importPipelineName",
259
- required: true,
260
- type: {
261
- name: "String"
262
- }
263
- }
264
- };
265
-
266
- export const importPipelineCreateParameters: OperationParameter = {
267
- parameterPath: "importPipelineCreateParameters",
268
- mapper: ImportPipelineMapper
269
- };
270
-
271
- export const pipelineRunName: OperationURLParameter = {
272
- parameterPath: "pipelineRunName",
177
+ export const nextLink: OperationURLParameter = {
178
+ parameterPath: "nextLink",
273
179
  mapper: {
274
- constraints: {
275
- Pattern: new RegExp("^[a-zA-Z0-9]*$"),
276
- MaxLength: 50,
277
- MinLength: 5
278
- },
279
- serializedName: "pipelineRunName",
180
+ serializedName: "nextLink",
280
181
  required: true,
281
182
  type: {
282
183
  name: "String"
283
184
  }
284
- }
285
- };
286
-
287
- export const pipelineRunCreateParameters: OperationParameter = {
288
- parameterPath: "pipelineRunCreateParameters",
289
- mapper: PipelineRunMapper
185
+ },
186
+ skipEncoding: true
290
187
  };
291
188
 
292
189
  export const privateEndpointConnectionName: OperationURLParameter = {
@@ -331,58 +228,6 @@ export const replicationUpdateParameters: OperationParameter = {
331
228
  mapper: ReplicationUpdateParametersMapper
332
229
  };
333
230
 
334
- export const scopeMapName: OperationURLParameter = {
335
- parameterPath: "scopeMapName",
336
- mapper: {
337
- constraints: {
338
- Pattern: new RegExp("^[a-zA-Z0-9-_]*$"),
339
- MaxLength: 50,
340
- MinLength: 5
341
- },
342
- serializedName: "scopeMapName",
343
- required: true,
344
- type: {
345
- name: "String"
346
- }
347
- }
348
- };
349
-
350
- export const scopeMapCreateParameters: OperationParameter = {
351
- parameterPath: "scopeMapCreateParameters",
352
- mapper: ScopeMapMapper
353
- };
354
-
355
- export const scopeMapUpdateParameters: OperationParameter = {
356
- parameterPath: "scopeMapUpdateParameters",
357
- mapper: ScopeMapUpdateParametersMapper
358
- };
359
-
360
- export const tokenName: OperationURLParameter = {
361
- parameterPath: "tokenName",
362
- mapper: {
363
- constraints: {
364
- Pattern: new RegExp("^[a-zA-Z0-9-]*$"),
365
- MaxLength: 50,
366
- MinLength: 5
367
- },
368
- serializedName: "tokenName",
369
- required: true,
370
- type: {
371
- name: "String"
372
- }
373
- }
374
- };
375
-
376
- export const tokenCreateParameters: OperationParameter = {
377
- parameterPath: "tokenCreateParameters",
378
- mapper: TokenMapper
379
- };
380
-
381
- export const tokenUpdateParameters: OperationParameter = {
382
- parameterPath: "tokenUpdateParameters",
383
- mapper: TokenUpdateParametersMapper
384
- };
385
-
386
231
  export const webhookName: OperationURLParameter = {
387
232
  parameterPath: "webhookName",
388
233
  mapper: {
@@ -435,6 +280,16 @@ export const updateParameters: OperationParameter = {
435
280
  mapper: AgentPoolUpdateParametersMapper
436
281
  };
437
282
 
283
+ export const filter: OperationQueryParameter = {
284
+ parameterPath: ["options", "filter"],
285
+ mapper: {
286
+ serializedName: "$filter",
287
+ type: {
288
+ name: "String"
289
+ }
290
+ }
291
+ };
292
+
438
293
  export const top: OperationQueryParameter = {
439
294
  parameterPath: ["options", "top"],
440
295
  mapper: {
@@ -11,7 +11,7 @@ import { AgentPools } from "../operationsInterfaces";
11
11
  import * as coreClient from "@azure/core-client";
12
12
  import * as Mappers from "../models/mappers";
13
13
  import * as Parameters from "../models/parameters";
14
- import { ContainerRegistryManagementClientContext } from "../containerRegistryManagementClientContext";
14
+ import { ContainerRegistryManagementClient } from "../containerRegistryManagementClient";
15
15
  import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
16
16
  import { LroImpl } from "../lroImpl";
17
17
  import {
@@ -35,13 +35,13 @@ import {
35
35
  /// <reference lib="esnext.asynciterable" />
36
36
  /** Class containing AgentPools operations. */
37
37
  export class AgentPoolsImpl implements AgentPools {
38
- private readonly client: ContainerRegistryManagementClientContext;
38
+ private readonly client: ContainerRegistryManagementClient;
39
39
 
40
40
  /**
41
41
  * Initialize a new instance of the class AgentPools class.
42
42
  * @param client Reference to the service client
43
43
  */
44
- constructor(client: ContainerRegistryManagementClientContext) {
44
+ constructor(client: ContainerRegistryManagementClient) {
45
45
  this.client = client;
46
46
  }
47
47
 
@@ -515,7 +515,7 @@ const createOperationSpec: coreClient.OperationSpec = {
515
515
  Parameters.registryName,
516
516
  Parameters.agentPoolName
517
517
  ],
518
- headerParameters: [Parameters.accept, Parameters.contentType],
518
+ headerParameters: [Parameters.contentType, Parameters.accept],
519
519
  mediaType: "json",
520
520
  serializer
521
521
  };
@@ -573,7 +573,7 @@ const updateOperationSpec: coreClient.OperationSpec = {
573
573
  Parameters.registryName,
574
574
  Parameters.agentPoolName
575
575
  ],
576
- headerParameters: [Parameters.accept, Parameters.contentType],
576
+ headerParameters: [Parameters.contentType, Parameters.accept],
577
577
  mediaType: "json",
578
578
  serializer
579
579
  };
@@ -6,16 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- export * from "./connectedRegistries";
10
- export * from "./exportPipelines";
11
9
  export * from "./registries";
12
- export * from "./importPipelines";
13
10
  export * from "./operations";
14
- export * from "./pipelineRuns";
15
11
  export * from "./privateEndpointConnections";
16
12
  export * from "./replications";
17
- export * from "./scopeMaps";
18
- export * from "./tokens";
19
13
  export * from "./webhooks";
20
14
  export * from "./agentPools";
21
15
  export * from "./runs";
@@ -11,7 +11,7 @@ import { Operations } from "../operationsInterfaces";
11
11
  import * as coreClient from "@azure/core-client";
12
12
  import * as Mappers from "../models/mappers";
13
13
  import * as Parameters from "../models/parameters";
14
- import { ContainerRegistryManagementClientContext } from "../containerRegistryManagementClientContext";
14
+ import { ContainerRegistryManagementClient } from "../containerRegistryManagementClient";
15
15
  import {
16
16
  OperationDefinition,
17
17
  OperationsListNextOptionalParams,
@@ -23,13 +23,13 @@ import {
23
23
  /// <reference lib="esnext.asynciterable" />
24
24
  /** Class containing Operations operations. */
25
25
  export class OperationsImpl implements Operations {
26
- private readonly client: ContainerRegistryManagementClientContext;
26
+ private readonly client: ContainerRegistryManagementClient;
27
27
 
28
28
  /**
29
29
  * Initialize a new instance of the class Operations class.
30
30
  * @param client Reference to the service client
31
31
  */
32
- constructor(client: ContainerRegistryManagementClientContext) {
32
+ constructor(client: ContainerRegistryManagementClient) {
33
33
  this.client = client;
34
34
  }
35
35
 
@@ -11,7 +11,7 @@ import { PrivateEndpointConnections } from "../operationsInterfaces";
11
11
  import * as coreClient from "@azure/core-client";
12
12
  import * as Mappers from "../models/mappers";
13
13
  import * as Parameters from "../models/parameters";
14
- import { ContainerRegistryManagementClientContext } from "../containerRegistryManagementClientContext";
14
+ import { ContainerRegistryManagementClient } from "../containerRegistryManagementClient";
15
15
  import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
16
16
  import { LroImpl } from "../lroImpl";
17
17
  import {
@@ -31,13 +31,13 @@ import {
31
31
  /** Class containing PrivateEndpointConnections operations. */
32
32
  export class PrivateEndpointConnectionsImpl
33
33
  implements PrivateEndpointConnections {
34
- private readonly client: ContainerRegistryManagementClientContext;
34
+ private readonly client: ContainerRegistryManagementClient;
35
35
 
36
36
  /**
37
37
  * Initialize a new instance of the class PrivateEndpointConnections class.
38
38
  * @param client Reference to the service client
39
39
  */
40
- constructor(client: ContainerRegistryManagementClientContext) {
40
+ constructor(client: ContainerRegistryManagementClient) {
41
41
  this.client = client;
42
42
  }
43
43
 
@@ -420,7 +420,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
420
420
  Parameters.registryName,
421
421
  Parameters.privateEndpointConnectionName
422
422
  ],
423
- headerParameters: [Parameters.accept, Parameters.contentType],
423
+ headerParameters: [Parameters.contentType, Parameters.accept],
424
424
  mediaType: "json",
425
425
  serializer
426
426
  };