@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.
- package/CHANGELOG.md +6 -20
- package/README.md +4 -0
- package/dist/index.js +3431 -7196
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/containerRegistryManagementClient.d.ts +5 -9
- package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist-esm/src/containerRegistryManagementClient.js +32 -10
- package/dist-esm/src/containerRegistryManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +0 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +200 -1116
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +32 -121
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +10 -50
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +320 -1560
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -21
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +38 -158
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/agentPools.d.ts +2 -2
- package/dist-esm/src/operations/agentPools.d.ts.map +1 -1
- package/dist-esm/src/operations/agentPools.js +2 -2
- package/dist-esm/src/operations/agentPools.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +0 -6
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +2 -2
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/registries.d.ts +11 -19
- package/dist-esm/src/operations/registries.d.ts.map +1 -1
- package/dist-esm/src/operations/registries.js +31 -84
- package/dist-esm/src/operations/registries.js.map +1 -1
- package/dist-esm/src/operations/replications.d.ts +2 -2
- package/dist-esm/src/operations/replications.d.ts.map +1 -1
- package/dist-esm/src/operations/replications.js +2 -2
- package/dist-esm/src/operations/replications.js.map +1 -1
- package/dist-esm/src/operations/runs.d.ts +2 -2
- package/dist-esm/src/operations/runs.d.ts.map +1 -1
- package/dist-esm/src/operations/runs.js +3 -3
- package/dist-esm/src/operations/runs.js.map +1 -1
- package/dist-esm/src/operations/taskRuns.d.ts +2 -2
- package/dist-esm/src/operations/taskRuns.d.ts.map +1 -1
- package/dist-esm/src/operations/taskRuns.js +2 -2
- package/dist-esm/src/operations/taskRuns.js.map +1 -1
- package/dist-esm/src/operations/tasks.d.ts +2 -2
- package/dist-esm/src/operations/tasks.d.ts.map +1 -1
- package/dist-esm/src/operations/tasks.js +2 -2
- package/dist-esm/src/operations/tasks.js.map +1 -1
- package/dist-esm/src/operations/webhooks.d.ts +2 -2
- package/dist-esm/src/operations/webhooks.d.ts.map +1 -1
- package/dist-esm/src/operations/webhooks.js +2 -2
- package/dist-esm/src/operations/webhooks.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -6
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/registries.d.ts +9 -17
- package/dist-esm/src/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist-esm/test/containerregistry_examples.d.ts +3 -1
- package/dist-esm/test/containerregistry_examples.d.ts.map +1 -1
- package/dist-esm/test/containerregistry_examples.js +89 -146
- package/dist-esm/test/containerregistry_examples.js.map +1 -1
- package/package.json +5 -4
- package/review/arm-containerregistry.api.md +17 -815
- package/src/containerRegistryManagementClient.ts +44 -27
- package/src/index.ts +0 -1
- package/src/models/index.ts +323 -1385
- package/src/models/mappers.ts +1508 -2838
- package/src/models/parameters.ts +39 -184
- package/src/operations/agentPools.ts +5 -5
- package/src/operations/index.ts +0 -6
- package/src/operations/operations.ts +3 -3
- package/src/operations/privateEndpointConnections.ts +4 -4
- package/src/operations/registries.ts +45 -129
- package/src/operations/replications.ts +5 -5
- package/src/operations/runs.ts +6 -6
- package/src/operations/taskRuns.ts +5 -5
- package/src/operations/tasks.ts +5 -5
- package/src/operations/webhooks.ts +5 -5
- package/src/operationsInterfaces/index.ts +0 -6
- package/src/operationsInterfaces/registries.ts +15 -34
- package/types/arm-containerregistry.d.ts +135 -1592
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/containerRegistryManagementClientContext.d.ts +0 -15
- package/dist-esm/src/containerRegistryManagementClientContext.d.ts.map +0 -1
- package/dist-esm/src/containerRegistryManagementClientContext.js +0 -48
- package/dist-esm/src/containerRegistryManagementClientContext.js.map +0 -1
- package/dist-esm/src/operations/connectedRegistries.d.ts +0 -115
- package/dist-esm/src/operations/connectedRegistries.d.ts.map +0 -1
- package/dist-esm/src/operations/connectedRegistries.js +0 -503
- package/dist-esm/src/operations/connectedRegistries.js.map +0 -1
- package/dist-esm/src/operations/exportPipelines.d.ts +0 -81
- package/dist-esm/src/operations/exportPipelines.d.ts.map +0 -1
- package/dist-esm/src/operations/exportPipelines.js +0 -316
- package/dist-esm/src/operations/exportPipelines.js.map +0 -1
- package/dist-esm/src/operations/importPipelines.d.ts +0 -81
- package/dist-esm/src/operations/importPipelines.d.ts.map +0 -1
- package/dist-esm/src/operations/importPipelines.js +0 -316
- package/dist-esm/src/operations/importPipelines.js.map +0 -1
- package/dist-esm/src/operations/pipelineRuns.d.ts +0 -81
- package/dist-esm/src/operations/pipelineRuns.d.ts.map +0 -1
- package/dist-esm/src/operations/pipelineRuns.js +0 -316
- package/dist-esm/src/operations/pipelineRuns.js.map +0 -1
- package/dist-esm/src/operations/scopeMaps.d.ts +0 -99
- package/dist-esm/src/operations/scopeMaps.d.ts.map +0 -1
- package/dist-esm/src/operations/scopeMaps.js +0 -405
- package/dist-esm/src/operations/scopeMaps.js.map +0 -1
- package/dist-esm/src/operations/tokens.d.ts +0 -99
- package/dist-esm/src/operations/tokens.d.ts.map +0 -1
- package/dist-esm/src/operations/tokens.js +0 -405
- package/dist-esm/src/operations/tokens.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts +0 -90
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js +0 -9
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts +0 -56
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/exportPipelines.js +0 -9
- package/dist-esm/src/operationsInterfaces/exportPipelines.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts +0 -56
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/importPipelines.js +0 -9
- package/dist-esm/src/operationsInterfaces/importPipelines.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +0 -56
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js +0 -9
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts +0 -74
- package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/scopeMaps.js +0 -9
- package/dist-esm/src/operationsInterfaces/scopeMaps.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/tokens.d.ts +0 -74
- package/dist-esm/src/operationsInterfaces/tokens.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/tokens.js +0 -9
- package/dist-esm/src/operationsInterfaces/tokens.js.map +0 -1
- package/src/containerRegistryManagementClientContext.ts +0 -68
- package/src/operations/connectedRegistries.ts +0 -718
- package/src/operations/exportPipelines.ts +0 -449
- package/src/operations/importPipelines.ts +0 -449
- package/src/operations/pipelineRuns.ts +0 -449
- package/src/operations/scopeMaps.ts +0 -584
- package/src/operations/tokens.ts +0 -578
- package/src/operationsInterfaces/connectedRegistries.ts +0 -174
- package/src/operationsInterfaces/exportPipelines.ts +0 -109
- package/src/operationsInterfaces/importPipelines.ts +0 -109
- package/src/operationsInterfaces/pipelineRuns.ts +0 -109
- package/src/operationsInterfaces/scopeMaps.ts +0 -147
- package/src/operationsInterfaces/tokens.ts +0 -141
package/src/models/parameters.ts
CHANGED
@@ -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
|
46
|
-
parameterPath: "
|
35
|
+
export const contentType: OperationParameter = {
|
36
|
+
parameterPath: ["options", "contentType"],
|
47
37
|
mapper: {
|
48
38
|
defaultValue: "application/json",
|
49
39
|
isConstant: true,
|
50
|
-
serializedName: "
|
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-
|
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
|
123
|
-
parameterPath:
|
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
|
149
|
-
parameterPath:
|
122
|
+
export const accept: OperationParameter = {
|
123
|
+
parameterPath: "accept",
|
150
124
|
mapper: {
|
151
125
|
defaultValue: "application/json",
|
152
126
|
isConstant: true,
|
153
|
-
serializedName: "
|
127
|
+
serializedName: "Accept",
|
154
128
|
type: {
|
155
129
|
name: "String"
|
156
130
|
}
|
157
131
|
}
|
158
132
|
};
|
159
133
|
|
160
|
-
export const
|
161
|
-
parameterPath: "
|
162
|
-
mapper:
|
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
|
171
|
-
parameterPath: "
|
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
|
183
|
-
parameterPath: "
|
144
|
+
export const groupName: OperationURLParameter = {
|
145
|
+
parameterPath: "groupName",
|
184
146
|
mapper: {
|
185
|
-
|
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
|
251
|
-
parameterPath: "
|
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
|
-
|
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 {
|
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:
|
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:
|
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.
|
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.
|
576
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
577
577
|
mediaType: "json",
|
578
578
|
serializer
|
579
579
|
};
|
package/src/operations/index.ts
CHANGED
@@ -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 {
|
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:
|
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:
|
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 {
|
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:
|
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:
|
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.
|
423
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
424
424
|
mediaType: "json",
|
425
425
|
serializer
|
426
426
|
};
|