@alicloud/sas20181203 1.0.12 → 1.0.13
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/dist/client.d.ts +640 -1
- package/dist/client.js +1415 -65
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1749 -32
package/dist/client.js
CHANGED
|
@@ -273,6 +273,182 @@ class CreateBackupPolicyResponse extends $tea.Model {
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
exports.CreateBackupPolicyResponse = CreateBackupPolicyResponse;
|
|
276
|
+
class CreateJenkinsImageRegistryRequest extends $tea.Model {
|
|
277
|
+
constructor(map) {
|
|
278
|
+
super(map);
|
|
279
|
+
}
|
|
280
|
+
static names() {
|
|
281
|
+
return {
|
|
282
|
+
domainName: 'DomainName',
|
|
283
|
+
extraParam: 'ExtraParam',
|
|
284
|
+
netType: 'NetType',
|
|
285
|
+
password: 'Password',
|
|
286
|
+
persistenceDay: 'PersistenceDay',
|
|
287
|
+
protocolType: 'ProtocolType',
|
|
288
|
+
regionId: 'RegionId',
|
|
289
|
+
registryHostIp: 'RegistryHostIp',
|
|
290
|
+
registryName: 'RegistryName',
|
|
291
|
+
registryType: 'RegistryType',
|
|
292
|
+
registryVersion: 'RegistryVersion',
|
|
293
|
+
sourceIp: 'SourceIp',
|
|
294
|
+
transPerHour: 'TransPerHour',
|
|
295
|
+
userName: 'UserName',
|
|
296
|
+
vpcId: 'VpcId',
|
|
297
|
+
whiteList: 'WhiteList',
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
static types() {
|
|
301
|
+
return {
|
|
302
|
+
domainName: 'string',
|
|
303
|
+
extraParam: 'string',
|
|
304
|
+
netType: 'number',
|
|
305
|
+
password: 'string',
|
|
306
|
+
persistenceDay: 'number',
|
|
307
|
+
protocolType: 'number',
|
|
308
|
+
regionId: 'string',
|
|
309
|
+
registryHostIp: 'string',
|
|
310
|
+
registryName: 'string',
|
|
311
|
+
registryType: 'string',
|
|
312
|
+
registryVersion: 'string',
|
|
313
|
+
sourceIp: 'string',
|
|
314
|
+
transPerHour: 'number',
|
|
315
|
+
userName: 'string',
|
|
316
|
+
vpcId: 'string',
|
|
317
|
+
whiteList: 'string',
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
exports.CreateJenkinsImageRegistryRequest = CreateJenkinsImageRegistryRequest;
|
|
322
|
+
class CreateJenkinsImageRegistryResponseBody extends $tea.Model {
|
|
323
|
+
constructor(map) {
|
|
324
|
+
super(map);
|
|
325
|
+
}
|
|
326
|
+
static names() {
|
|
327
|
+
return {
|
|
328
|
+
code: 'Code',
|
|
329
|
+
data: 'Data',
|
|
330
|
+
httpStatusCode: 'HttpStatusCode',
|
|
331
|
+
message: 'Message',
|
|
332
|
+
requestId: 'RequestId',
|
|
333
|
+
success: 'Success',
|
|
334
|
+
timeCost: 'TimeCost',
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
static types() {
|
|
338
|
+
return {
|
|
339
|
+
code: 'string',
|
|
340
|
+
data: CreateJenkinsImageRegistryResponseBodyData,
|
|
341
|
+
httpStatusCode: 'number',
|
|
342
|
+
message: 'string',
|
|
343
|
+
requestId: 'string',
|
|
344
|
+
success: 'boolean',
|
|
345
|
+
timeCost: 'number',
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
exports.CreateJenkinsImageRegistryResponseBody = CreateJenkinsImageRegistryResponseBody;
|
|
350
|
+
class CreateJenkinsImageRegistryResponse extends $tea.Model {
|
|
351
|
+
constructor(map) {
|
|
352
|
+
super(map);
|
|
353
|
+
}
|
|
354
|
+
static names() {
|
|
355
|
+
return {
|
|
356
|
+
headers: 'headers',
|
|
357
|
+
body: 'body',
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
static types() {
|
|
361
|
+
return {
|
|
362
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
363
|
+
body: CreateJenkinsImageRegistryResponseBody,
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
exports.CreateJenkinsImageRegistryResponse = CreateJenkinsImageRegistryResponse;
|
|
368
|
+
class CreateJenkinsImageScanTaskRequest extends $tea.Model {
|
|
369
|
+
constructor(map) {
|
|
370
|
+
super(map);
|
|
371
|
+
}
|
|
372
|
+
static names() {
|
|
373
|
+
return {
|
|
374
|
+
digest: 'Digest',
|
|
375
|
+
imageCreate: 'ImageCreate',
|
|
376
|
+
imageId: 'ImageId',
|
|
377
|
+
imageSize: 'ImageSize',
|
|
378
|
+
imageUpdate: 'ImageUpdate',
|
|
379
|
+
jenkinsEnv: 'JenkinsEnv',
|
|
380
|
+
namespace: 'Namespace',
|
|
381
|
+
repoName: 'RepoName',
|
|
382
|
+
sourceIp: 'SourceIp',
|
|
383
|
+
tag: 'Tag',
|
|
384
|
+
token: 'Token',
|
|
385
|
+
uuid: 'Uuid',
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
static types() {
|
|
389
|
+
return {
|
|
390
|
+
digest: 'string',
|
|
391
|
+
imageCreate: 'number',
|
|
392
|
+
imageId: 'string',
|
|
393
|
+
imageSize: 'number',
|
|
394
|
+
imageUpdate: 'number',
|
|
395
|
+
jenkinsEnv: 'string',
|
|
396
|
+
namespace: 'string',
|
|
397
|
+
repoName: 'string',
|
|
398
|
+
sourceIp: 'string',
|
|
399
|
+
tag: 'string',
|
|
400
|
+
token: 'string',
|
|
401
|
+
uuid: 'string',
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
exports.CreateJenkinsImageScanTaskRequest = CreateJenkinsImageScanTaskRequest;
|
|
406
|
+
class CreateJenkinsImageScanTaskResponseBody extends $tea.Model {
|
|
407
|
+
constructor(map) {
|
|
408
|
+
super(map);
|
|
409
|
+
}
|
|
410
|
+
static names() {
|
|
411
|
+
return {
|
|
412
|
+
code: 'Code',
|
|
413
|
+
data: 'Data',
|
|
414
|
+
httpStatusCode: 'HttpStatusCode',
|
|
415
|
+
message: 'Message',
|
|
416
|
+
requestId: 'RequestId',
|
|
417
|
+
success: 'Success',
|
|
418
|
+
timeCost: 'TimeCost',
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
static types() {
|
|
422
|
+
return {
|
|
423
|
+
code: 'string',
|
|
424
|
+
data: CreateJenkinsImageScanTaskResponseBodyData,
|
|
425
|
+
httpStatusCode: 'number',
|
|
426
|
+
message: 'string',
|
|
427
|
+
requestId: 'string',
|
|
428
|
+
success: 'boolean',
|
|
429
|
+
timeCost: 'number',
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
exports.CreateJenkinsImageScanTaskResponseBody = CreateJenkinsImageScanTaskResponseBody;
|
|
434
|
+
class CreateJenkinsImageScanTaskResponse extends $tea.Model {
|
|
435
|
+
constructor(map) {
|
|
436
|
+
super(map);
|
|
437
|
+
}
|
|
438
|
+
static names() {
|
|
439
|
+
return {
|
|
440
|
+
headers: 'headers',
|
|
441
|
+
body: 'body',
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
static types() {
|
|
445
|
+
return {
|
|
446
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
447
|
+
body: CreateJenkinsImageScanTaskResponseBody,
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
exports.CreateJenkinsImageScanTaskResponse = CreateJenkinsImageScanTaskResponse;
|
|
276
452
|
class CreateOrUpdateAssetGroupRequest extends $tea.Model {
|
|
277
453
|
constructor(map) {
|
|
278
454
|
super(map);
|
|
@@ -4505,26 +4681,34 @@ class DescribePropertyCountResponseBody extends $tea.Model {
|
|
|
4505
4681
|
}
|
|
4506
4682
|
static names() {
|
|
4507
4683
|
return {
|
|
4508
|
-
|
|
4684
|
+
autorun: 'Autorun',
|
|
4509
4685
|
cron: 'Cron',
|
|
4686
|
+
database: 'Database',
|
|
4687
|
+
lkm: 'Lkm',
|
|
4510
4688
|
port: 'Port',
|
|
4511
4689
|
process: 'Process',
|
|
4512
4690
|
requestId: 'RequestId',
|
|
4513
4691
|
sca: 'Sca',
|
|
4514
4692
|
software: 'Software',
|
|
4515
4693
|
user: 'User',
|
|
4694
|
+
web: 'Web',
|
|
4695
|
+
webserver: 'Webserver',
|
|
4516
4696
|
};
|
|
4517
4697
|
}
|
|
4518
4698
|
static types() {
|
|
4519
4699
|
return {
|
|
4520
|
-
|
|
4700
|
+
autorun: 'number',
|
|
4521
4701
|
cron: 'number',
|
|
4702
|
+
database: 'number',
|
|
4703
|
+
lkm: 'number',
|
|
4522
4704
|
port: 'number',
|
|
4523
4705
|
process: 'number',
|
|
4524
4706
|
requestId: 'string',
|
|
4525
4707
|
sca: 'number',
|
|
4526
4708
|
software: 'number',
|
|
4527
4709
|
user: 'number',
|
|
4710
|
+
web: 'number',
|
|
4711
|
+
webserver: 'number',
|
|
4528
4712
|
};
|
|
4529
4713
|
}
|
|
4530
4714
|
}
|
|
@@ -8299,6 +8483,74 @@ class InstallBackupClientResponse extends $tea.Model {
|
|
|
8299
8483
|
}
|
|
8300
8484
|
}
|
|
8301
8485
|
exports.InstallBackupClientResponse = InstallBackupClientResponse;
|
|
8486
|
+
class ListImageAnalysisRuleProjectRequest extends $tea.Model {
|
|
8487
|
+
constructor(map) {
|
|
8488
|
+
super(map);
|
|
8489
|
+
}
|
|
8490
|
+
static names() {
|
|
8491
|
+
return {
|
|
8492
|
+
sourceIp: 'SourceIp',
|
|
8493
|
+
taskId: 'TaskId',
|
|
8494
|
+
token: 'Token',
|
|
8495
|
+
};
|
|
8496
|
+
}
|
|
8497
|
+
static types() {
|
|
8498
|
+
return {
|
|
8499
|
+
sourceIp: 'string',
|
|
8500
|
+
taskId: 'string',
|
|
8501
|
+
token: 'string',
|
|
8502
|
+
};
|
|
8503
|
+
}
|
|
8504
|
+
}
|
|
8505
|
+
exports.ListImageAnalysisRuleProjectRequest = ListImageAnalysisRuleProjectRequest;
|
|
8506
|
+
class ListImageAnalysisRuleProjectResponseBody extends $tea.Model {
|
|
8507
|
+
constructor(map) {
|
|
8508
|
+
super(map);
|
|
8509
|
+
}
|
|
8510
|
+
static names() {
|
|
8511
|
+
return {
|
|
8512
|
+
code: 'Code',
|
|
8513
|
+
count: 'Count',
|
|
8514
|
+
data: 'Data',
|
|
8515
|
+
httpStatusCode: 'HttpStatusCode',
|
|
8516
|
+
message: 'Message',
|
|
8517
|
+
requestId: 'RequestId',
|
|
8518
|
+
success: 'Success',
|
|
8519
|
+
timeCost: 'TimeCost',
|
|
8520
|
+
};
|
|
8521
|
+
}
|
|
8522
|
+
static types() {
|
|
8523
|
+
return {
|
|
8524
|
+
code: 'string',
|
|
8525
|
+
count: 'number',
|
|
8526
|
+
data: { 'type': 'array', 'itemType': ListImageAnalysisRuleProjectResponseBodyData },
|
|
8527
|
+
httpStatusCode: 'number',
|
|
8528
|
+
message: 'string',
|
|
8529
|
+
requestId: 'string',
|
|
8530
|
+
success: 'boolean',
|
|
8531
|
+
timeCost: 'number',
|
|
8532
|
+
};
|
|
8533
|
+
}
|
|
8534
|
+
}
|
|
8535
|
+
exports.ListImageAnalysisRuleProjectResponseBody = ListImageAnalysisRuleProjectResponseBody;
|
|
8536
|
+
class ListImageAnalysisRuleProjectResponse extends $tea.Model {
|
|
8537
|
+
constructor(map) {
|
|
8538
|
+
super(map);
|
|
8539
|
+
}
|
|
8540
|
+
static names() {
|
|
8541
|
+
return {
|
|
8542
|
+
headers: 'headers',
|
|
8543
|
+
body: 'body',
|
|
8544
|
+
};
|
|
8545
|
+
}
|
|
8546
|
+
static types() {
|
|
8547
|
+
return {
|
|
8548
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8549
|
+
body: ListImageAnalysisRuleProjectResponseBody,
|
|
8550
|
+
};
|
|
8551
|
+
}
|
|
8552
|
+
}
|
|
8553
|
+
exports.ListImageAnalysisRuleProjectResponse = ListImageAnalysisRuleProjectResponse;
|
|
8302
8554
|
class ModifyAntiBruteForceRuleRequest extends $tea.Model {
|
|
8303
8555
|
constructor(map) {
|
|
8304
8556
|
super(map);
|
|
@@ -9993,6 +10245,76 @@ class OperationSuspEventsResponse extends $tea.Model {
|
|
|
9993
10245
|
}
|
|
9994
10246
|
}
|
|
9995
10247
|
exports.OperationSuspEventsResponse = OperationSuspEventsResponse;
|
|
10248
|
+
class PageImageRegistryRequest extends $tea.Model {
|
|
10249
|
+
constructor(map) {
|
|
10250
|
+
super(map);
|
|
10251
|
+
}
|
|
10252
|
+
static names() {
|
|
10253
|
+
return {
|
|
10254
|
+
currentPage: 'CurrentPage',
|
|
10255
|
+
pageSize: 'PageSize',
|
|
10256
|
+
registryNameLike: 'RegistryNameLike',
|
|
10257
|
+
registryTypeInList: 'RegistryTypeInList',
|
|
10258
|
+
registryTypeNotInList: 'RegistryTypeNotInList',
|
|
10259
|
+
sourceIp: 'SourceIp',
|
|
10260
|
+
};
|
|
10261
|
+
}
|
|
10262
|
+
static types() {
|
|
10263
|
+
return {
|
|
10264
|
+
currentPage: 'number',
|
|
10265
|
+
pageSize: 'number',
|
|
10266
|
+
registryNameLike: 'string',
|
|
10267
|
+
registryTypeInList: { 'type': 'array', 'itemType': 'string' },
|
|
10268
|
+
registryTypeNotInList: { 'type': 'array', 'itemType': 'string' },
|
|
10269
|
+
sourceIp: 'string',
|
|
10270
|
+
};
|
|
10271
|
+
}
|
|
10272
|
+
}
|
|
10273
|
+
exports.PageImageRegistryRequest = PageImageRegistryRequest;
|
|
10274
|
+
class PageImageRegistryResponseBody extends $tea.Model {
|
|
10275
|
+
constructor(map) {
|
|
10276
|
+
super(map);
|
|
10277
|
+
}
|
|
10278
|
+
static names() {
|
|
10279
|
+
return {
|
|
10280
|
+
code: 'Code',
|
|
10281
|
+
list: 'List',
|
|
10282
|
+
message: 'Message',
|
|
10283
|
+
pageInfo: 'PageInfo',
|
|
10284
|
+
requestId: 'RequestId',
|
|
10285
|
+
success: 'Success',
|
|
10286
|
+
};
|
|
10287
|
+
}
|
|
10288
|
+
static types() {
|
|
10289
|
+
return {
|
|
10290
|
+
code: 'string',
|
|
10291
|
+
list: { 'type': 'array', 'itemType': PageImageRegistryResponseBodyList },
|
|
10292
|
+
message: 'string',
|
|
10293
|
+
pageInfo: PageImageRegistryResponseBodyPageInfo,
|
|
10294
|
+
requestId: 'string',
|
|
10295
|
+
success: 'boolean',
|
|
10296
|
+
};
|
|
10297
|
+
}
|
|
10298
|
+
}
|
|
10299
|
+
exports.PageImageRegistryResponseBody = PageImageRegistryResponseBody;
|
|
10300
|
+
class PageImageRegistryResponse extends $tea.Model {
|
|
10301
|
+
constructor(map) {
|
|
10302
|
+
super(map);
|
|
10303
|
+
}
|
|
10304
|
+
static names() {
|
|
10305
|
+
return {
|
|
10306
|
+
headers: 'headers',
|
|
10307
|
+
body: 'body',
|
|
10308
|
+
};
|
|
10309
|
+
}
|
|
10310
|
+
static types() {
|
|
10311
|
+
return {
|
|
10312
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10313
|
+
body: PageImageRegistryResponseBody,
|
|
10314
|
+
};
|
|
10315
|
+
}
|
|
10316
|
+
}
|
|
10317
|
+
exports.PageImageRegistryResponse = PageImageRegistryResponse;
|
|
9996
10318
|
class PauseClientRequest extends $tea.Model {
|
|
9997
10319
|
constructor(map) {
|
|
9998
10320
|
super(map);
|
|
@@ -10099,39 +10421,101 @@ class QueryGroupIdByGroupNameResponse extends $tea.Model {
|
|
|
10099
10421
|
}
|
|
10100
10422
|
}
|
|
10101
10423
|
exports.QueryGroupIdByGroupNameResponse = QueryGroupIdByGroupNameResponse;
|
|
10102
|
-
class
|
|
10424
|
+
class QueryJenkinsImageRegistryPersistenceDayRequest extends $tea.Model {
|
|
10103
10425
|
constructor(map) {
|
|
10104
10426
|
super(map);
|
|
10105
10427
|
}
|
|
10106
10428
|
static names() {
|
|
10107
10429
|
return {
|
|
10108
|
-
|
|
10430
|
+
sourceIp: 'SourceIp',
|
|
10109
10431
|
};
|
|
10110
10432
|
}
|
|
10111
10433
|
static types() {
|
|
10112
10434
|
return {
|
|
10113
|
-
|
|
10435
|
+
sourceIp: 'string',
|
|
10114
10436
|
};
|
|
10115
10437
|
}
|
|
10116
10438
|
}
|
|
10117
|
-
exports.
|
|
10118
|
-
class
|
|
10439
|
+
exports.QueryJenkinsImageRegistryPersistenceDayRequest = QueryJenkinsImageRegistryPersistenceDayRequest;
|
|
10440
|
+
class QueryJenkinsImageRegistryPersistenceDayResponseBody extends $tea.Model {
|
|
10119
10441
|
constructor(map) {
|
|
10120
10442
|
super(map);
|
|
10121
10443
|
}
|
|
10122
10444
|
static names() {
|
|
10123
10445
|
return {
|
|
10446
|
+
code: 'Code',
|
|
10447
|
+
data: 'Data',
|
|
10448
|
+
httpStatusCode: 'HttpStatusCode',
|
|
10449
|
+
message: 'Message',
|
|
10124
10450
|
requestId: 'RequestId',
|
|
10451
|
+
success: 'Success',
|
|
10452
|
+
timeCost: 'TimeCost',
|
|
10125
10453
|
};
|
|
10126
10454
|
}
|
|
10127
10455
|
static types() {
|
|
10128
10456
|
return {
|
|
10457
|
+
code: 'string',
|
|
10458
|
+
data: 'number',
|
|
10459
|
+
httpStatusCode: 'number',
|
|
10460
|
+
message: 'string',
|
|
10129
10461
|
requestId: 'string',
|
|
10462
|
+
success: 'boolean',
|
|
10463
|
+
timeCost: 'number',
|
|
10130
10464
|
};
|
|
10131
10465
|
}
|
|
10132
10466
|
}
|
|
10133
|
-
exports.
|
|
10134
|
-
class
|
|
10467
|
+
exports.QueryJenkinsImageRegistryPersistenceDayResponseBody = QueryJenkinsImageRegistryPersistenceDayResponseBody;
|
|
10468
|
+
class QueryJenkinsImageRegistryPersistenceDayResponse extends $tea.Model {
|
|
10469
|
+
constructor(map) {
|
|
10470
|
+
super(map);
|
|
10471
|
+
}
|
|
10472
|
+
static names() {
|
|
10473
|
+
return {
|
|
10474
|
+
headers: 'headers',
|
|
10475
|
+
body: 'body',
|
|
10476
|
+
};
|
|
10477
|
+
}
|
|
10478
|
+
static types() {
|
|
10479
|
+
return {
|
|
10480
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10481
|
+
body: QueryJenkinsImageRegistryPersistenceDayResponseBody,
|
|
10482
|
+
};
|
|
10483
|
+
}
|
|
10484
|
+
}
|
|
10485
|
+
exports.QueryJenkinsImageRegistryPersistenceDayResponse = QueryJenkinsImageRegistryPersistenceDayResponse;
|
|
10486
|
+
class RefreshAssetsRequest extends $tea.Model {
|
|
10487
|
+
constructor(map) {
|
|
10488
|
+
super(map);
|
|
10489
|
+
}
|
|
10490
|
+
static names() {
|
|
10491
|
+
return {
|
|
10492
|
+
assetType: 'AssetType',
|
|
10493
|
+
};
|
|
10494
|
+
}
|
|
10495
|
+
static types() {
|
|
10496
|
+
return {
|
|
10497
|
+
assetType: 'string',
|
|
10498
|
+
};
|
|
10499
|
+
}
|
|
10500
|
+
}
|
|
10501
|
+
exports.RefreshAssetsRequest = RefreshAssetsRequest;
|
|
10502
|
+
class RefreshAssetsResponseBody extends $tea.Model {
|
|
10503
|
+
constructor(map) {
|
|
10504
|
+
super(map);
|
|
10505
|
+
}
|
|
10506
|
+
static names() {
|
|
10507
|
+
return {
|
|
10508
|
+
requestId: 'RequestId',
|
|
10509
|
+
};
|
|
10510
|
+
}
|
|
10511
|
+
static types() {
|
|
10512
|
+
return {
|
|
10513
|
+
requestId: 'string',
|
|
10514
|
+
};
|
|
10515
|
+
}
|
|
10516
|
+
}
|
|
10517
|
+
exports.RefreshAssetsResponseBody = RefreshAssetsResponseBody;
|
|
10518
|
+
class RefreshAssetsResponse extends $tea.Model {
|
|
10135
10519
|
constructor(map) {
|
|
10136
10520
|
super(map);
|
|
10137
10521
|
}
|
|
@@ -10483,6 +10867,78 @@ class StartVirusScanTaskResponse extends $tea.Model {
|
|
|
10483
10867
|
}
|
|
10484
10868
|
}
|
|
10485
10869
|
exports.StartVirusScanTaskResponse = StartVirusScanTaskResponse;
|
|
10870
|
+
class SubmitImageAnalysisOutputRequest extends $tea.Model {
|
|
10871
|
+
constructor(map) {
|
|
10872
|
+
super(map);
|
|
10873
|
+
}
|
|
10874
|
+
static names() {
|
|
10875
|
+
return {
|
|
10876
|
+
body: 'Body',
|
|
10877
|
+
isCompress: 'IsCompress',
|
|
10878
|
+
isEncrypt: 'IsEncrypt',
|
|
10879
|
+
sourceIp: 'SourceIp',
|
|
10880
|
+
taskId: 'TaskId',
|
|
10881
|
+
token: 'Token',
|
|
10882
|
+
type: 'Type',
|
|
10883
|
+
};
|
|
10884
|
+
}
|
|
10885
|
+
static types() {
|
|
10886
|
+
return {
|
|
10887
|
+
body: 'string',
|
|
10888
|
+
isCompress: 'boolean',
|
|
10889
|
+
isEncrypt: 'boolean',
|
|
10890
|
+
sourceIp: 'string',
|
|
10891
|
+
taskId: 'string',
|
|
10892
|
+
token: 'string',
|
|
10893
|
+
type: 'string',
|
|
10894
|
+
};
|
|
10895
|
+
}
|
|
10896
|
+
}
|
|
10897
|
+
exports.SubmitImageAnalysisOutputRequest = SubmitImageAnalysisOutputRequest;
|
|
10898
|
+
class SubmitImageAnalysisOutputResponseBody extends $tea.Model {
|
|
10899
|
+
constructor(map) {
|
|
10900
|
+
super(map);
|
|
10901
|
+
}
|
|
10902
|
+
static names() {
|
|
10903
|
+
return {
|
|
10904
|
+
code: 'Code',
|
|
10905
|
+
httpStatusCode: 'HttpStatusCode',
|
|
10906
|
+
message: 'Message',
|
|
10907
|
+
requestId: 'RequestId',
|
|
10908
|
+
success: 'Success',
|
|
10909
|
+
timeCost: 'TimeCost',
|
|
10910
|
+
};
|
|
10911
|
+
}
|
|
10912
|
+
static types() {
|
|
10913
|
+
return {
|
|
10914
|
+
code: 'string',
|
|
10915
|
+
httpStatusCode: 'number',
|
|
10916
|
+
message: 'string',
|
|
10917
|
+
requestId: 'string',
|
|
10918
|
+
success: 'boolean',
|
|
10919
|
+
timeCost: 'number',
|
|
10920
|
+
};
|
|
10921
|
+
}
|
|
10922
|
+
}
|
|
10923
|
+
exports.SubmitImageAnalysisOutputResponseBody = SubmitImageAnalysisOutputResponseBody;
|
|
10924
|
+
class SubmitImageAnalysisOutputResponse extends $tea.Model {
|
|
10925
|
+
constructor(map) {
|
|
10926
|
+
super(map);
|
|
10927
|
+
}
|
|
10928
|
+
static names() {
|
|
10929
|
+
return {
|
|
10930
|
+
headers: 'headers',
|
|
10931
|
+
body: 'body',
|
|
10932
|
+
};
|
|
10933
|
+
}
|
|
10934
|
+
static types() {
|
|
10935
|
+
return {
|
|
10936
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10937
|
+
body: SubmitImageAnalysisOutputResponseBody,
|
|
10938
|
+
};
|
|
10939
|
+
}
|
|
10940
|
+
}
|
|
10941
|
+
exports.SubmitImageAnalysisOutputResponse = SubmitImageAnalysisOutputResponse;
|
|
10486
10942
|
class UnbindAegisRequest extends $tea.Model {
|
|
10487
10943
|
constructor(map) {
|
|
10488
10944
|
super(map);
|
|
@@ -10514,8 +10970,262 @@ class UnbindAegisResponseBody extends $tea.Model {
|
|
|
10514
10970
|
};
|
|
10515
10971
|
}
|
|
10516
10972
|
}
|
|
10517
|
-
exports.UnbindAegisResponseBody = UnbindAegisResponseBody;
|
|
10518
|
-
class UnbindAegisResponse extends $tea.Model {
|
|
10973
|
+
exports.UnbindAegisResponseBody = UnbindAegisResponseBody;
|
|
10974
|
+
class UnbindAegisResponse extends $tea.Model {
|
|
10975
|
+
constructor(map) {
|
|
10976
|
+
super(map);
|
|
10977
|
+
}
|
|
10978
|
+
static names() {
|
|
10979
|
+
return {
|
|
10980
|
+
headers: 'headers',
|
|
10981
|
+
body: 'body',
|
|
10982
|
+
};
|
|
10983
|
+
}
|
|
10984
|
+
static types() {
|
|
10985
|
+
return {
|
|
10986
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10987
|
+
body: UnbindAegisResponseBody,
|
|
10988
|
+
};
|
|
10989
|
+
}
|
|
10990
|
+
}
|
|
10991
|
+
exports.UnbindAegisResponse = UnbindAegisResponse;
|
|
10992
|
+
class UninstallBackupClientRequest extends $tea.Model {
|
|
10993
|
+
constructor(map) {
|
|
10994
|
+
super(map);
|
|
10995
|
+
}
|
|
10996
|
+
static names() {
|
|
10997
|
+
return {
|
|
10998
|
+
policyVersion: 'PolicyVersion',
|
|
10999
|
+
uuid: 'Uuid',
|
|
11000
|
+
uuidList: 'UuidList',
|
|
11001
|
+
};
|
|
11002
|
+
}
|
|
11003
|
+
static types() {
|
|
11004
|
+
return {
|
|
11005
|
+
policyVersion: 'string',
|
|
11006
|
+
uuid: 'string',
|
|
11007
|
+
uuidList: { 'type': 'array', 'itemType': 'string' },
|
|
11008
|
+
};
|
|
11009
|
+
}
|
|
11010
|
+
}
|
|
11011
|
+
exports.UninstallBackupClientRequest = UninstallBackupClientRequest;
|
|
11012
|
+
class UninstallBackupClientResponseBody extends $tea.Model {
|
|
11013
|
+
constructor(map) {
|
|
11014
|
+
super(map);
|
|
11015
|
+
}
|
|
11016
|
+
static names() {
|
|
11017
|
+
return {
|
|
11018
|
+
requestId: 'RequestId',
|
|
11019
|
+
};
|
|
11020
|
+
}
|
|
11021
|
+
static types() {
|
|
11022
|
+
return {
|
|
11023
|
+
requestId: 'string',
|
|
11024
|
+
};
|
|
11025
|
+
}
|
|
11026
|
+
}
|
|
11027
|
+
exports.UninstallBackupClientResponseBody = UninstallBackupClientResponseBody;
|
|
11028
|
+
class UninstallBackupClientResponse extends $tea.Model {
|
|
11029
|
+
constructor(map) {
|
|
11030
|
+
super(map);
|
|
11031
|
+
}
|
|
11032
|
+
static names() {
|
|
11033
|
+
return {
|
|
11034
|
+
headers: 'headers',
|
|
11035
|
+
body: 'body',
|
|
11036
|
+
};
|
|
11037
|
+
}
|
|
11038
|
+
static types() {
|
|
11039
|
+
return {
|
|
11040
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11041
|
+
body: UninstallBackupClientResponseBody,
|
|
11042
|
+
};
|
|
11043
|
+
}
|
|
11044
|
+
}
|
|
11045
|
+
exports.UninstallBackupClientResponse = UninstallBackupClientResponse;
|
|
11046
|
+
class UpdateJenkinsImageRegistryNameRequest extends $tea.Model {
|
|
11047
|
+
constructor(map) {
|
|
11048
|
+
super(map);
|
|
11049
|
+
}
|
|
11050
|
+
static names() {
|
|
11051
|
+
return {
|
|
11052
|
+
registryId: 'RegistryId',
|
|
11053
|
+
registryName: 'RegistryName',
|
|
11054
|
+
sourceIp: 'SourceIp',
|
|
11055
|
+
};
|
|
11056
|
+
}
|
|
11057
|
+
static types() {
|
|
11058
|
+
return {
|
|
11059
|
+
registryId: 'number',
|
|
11060
|
+
registryName: 'string',
|
|
11061
|
+
sourceIp: 'string',
|
|
11062
|
+
};
|
|
11063
|
+
}
|
|
11064
|
+
}
|
|
11065
|
+
exports.UpdateJenkinsImageRegistryNameRequest = UpdateJenkinsImageRegistryNameRequest;
|
|
11066
|
+
class UpdateJenkinsImageRegistryNameResponseBody extends $tea.Model {
|
|
11067
|
+
constructor(map) {
|
|
11068
|
+
super(map);
|
|
11069
|
+
}
|
|
11070
|
+
static names() {
|
|
11071
|
+
return {
|
|
11072
|
+
code: 'Code',
|
|
11073
|
+
data: 'Data',
|
|
11074
|
+
httpStatusCode: 'HttpStatusCode',
|
|
11075
|
+
message: 'Message',
|
|
11076
|
+
requestId: 'RequestId',
|
|
11077
|
+
success: 'Success',
|
|
11078
|
+
timeCost: 'TimeCost',
|
|
11079
|
+
};
|
|
11080
|
+
}
|
|
11081
|
+
static types() {
|
|
11082
|
+
return {
|
|
11083
|
+
code: 'string',
|
|
11084
|
+
data: 'boolean',
|
|
11085
|
+
httpStatusCode: 'number',
|
|
11086
|
+
message: 'string',
|
|
11087
|
+
requestId: 'string',
|
|
11088
|
+
success: 'boolean',
|
|
11089
|
+
timeCost: 'number',
|
|
11090
|
+
};
|
|
11091
|
+
}
|
|
11092
|
+
}
|
|
11093
|
+
exports.UpdateJenkinsImageRegistryNameResponseBody = UpdateJenkinsImageRegistryNameResponseBody;
|
|
11094
|
+
class UpdateJenkinsImageRegistryNameResponse extends $tea.Model {
|
|
11095
|
+
constructor(map) {
|
|
11096
|
+
super(map);
|
|
11097
|
+
}
|
|
11098
|
+
static names() {
|
|
11099
|
+
return {
|
|
11100
|
+
headers: 'headers',
|
|
11101
|
+
body: 'body',
|
|
11102
|
+
};
|
|
11103
|
+
}
|
|
11104
|
+
static types() {
|
|
11105
|
+
return {
|
|
11106
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11107
|
+
body: UpdateJenkinsImageRegistryNameResponseBody,
|
|
11108
|
+
};
|
|
11109
|
+
}
|
|
11110
|
+
}
|
|
11111
|
+
exports.UpdateJenkinsImageRegistryNameResponse = UpdateJenkinsImageRegistryNameResponse;
|
|
11112
|
+
class UpdateJenkinsImageRegistryPersistenceDayRequest extends $tea.Model {
|
|
11113
|
+
constructor(map) {
|
|
11114
|
+
super(map);
|
|
11115
|
+
}
|
|
11116
|
+
static names() {
|
|
11117
|
+
return {
|
|
11118
|
+
persistenceDay: 'PersistenceDay',
|
|
11119
|
+
registryId: 'RegistryId',
|
|
11120
|
+
sourceIp: 'SourceIp',
|
|
11121
|
+
};
|
|
11122
|
+
}
|
|
11123
|
+
static types() {
|
|
11124
|
+
return {
|
|
11125
|
+
persistenceDay: 'number',
|
|
11126
|
+
registryId: 'number',
|
|
11127
|
+
sourceIp: 'string',
|
|
11128
|
+
};
|
|
11129
|
+
}
|
|
11130
|
+
}
|
|
11131
|
+
exports.UpdateJenkinsImageRegistryPersistenceDayRequest = UpdateJenkinsImageRegistryPersistenceDayRequest;
|
|
11132
|
+
class UpdateJenkinsImageRegistryPersistenceDayResponseBody extends $tea.Model {
|
|
11133
|
+
constructor(map) {
|
|
11134
|
+
super(map);
|
|
11135
|
+
}
|
|
11136
|
+
static names() {
|
|
11137
|
+
return {
|
|
11138
|
+
code: 'Code',
|
|
11139
|
+
data: 'Data',
|
|
11140
|
+
httpStatusCode: 'HttpStatusCode',
|
|
11141
|
+
message: 'Message',
|
|
11142
|
+
requestId: 'RequestId',
|
|
11143
|
+
success: 'Success',
|
|
11144
|
+
timeCost: 'TimeCost',
|
|
11145
|
+
};
|
|
11146
|
+
}
|
|
11147
|
+
static types() {
|
|
11148
|
+
return {
|
|
11149
|
+
code: 'string',
|
|
11150
|
+
data: 'boolean',
|
|
11151
|
+
httpStatusCode: 'number',
|
|
11152
|
+
message: 'string',
|
|
11153
|
+
requestId: 'string',
|
|
11154
|
+
success: 'boolean',
|
|
11155
|
+
timeCost: 'number',
|
|
11156
|
+
};
|
|
11157
|
+
}
|
|
11158
|
+
}
|
|
11159
|
+
exports.UpdateJenkinsImageRegistryPersistenceDayResponseBody = UpdateJenkinsImageRegistryPersistenceDayResponseBody;
|
|
11160
|
+
class UpdateJenkinsImageRegistryPersistenceDayResponse extends $tea.Model {
|
|
11161
|
+
constructor(map) {
|
|
11162
|
+
super(map);
|
|
11163
|
+
}
|
|
11164
|
+
static names() {
|
|
11165
|
+
return {
|
|
11166
|
+
headers: 'headers',
|
|
11167
|
+
body: 'body',
|
|
11168
|
+
};
|
|
11169
|
+
}
|
|
11170
|
+
static types() {
|
|
11171
|
+
return {
|
|
11172
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11173
|
+
body: UpdateJenkinsImageRegistryPersistenceDayResponseBody,
|
|
11174
|
+
};
|
|
11175
|
+
}
|
|
11176
|
+
}
|
|
11177
|
+
exports.UpdateJenkinsImageRegistryPersistenceDayResponse = UpdateJenkinsImageRegistryPersistenceDayResponse;
|
|
11178
|
+
class UpdateJenkinsImageScanTaskStatusRequest extends $tea.Model {
|
|
11179
|
+
constructor(map) {
|
|
11180
|
+
super(map);
|
|
11181
|
+
}
|
|
11182
|
+
static names() {
|
|
11183
|
+
return {
|
|
11184
|
+
result: 'Result',
|
|
11185
|
+
sourceIp: 'SourceIp',
|
|
11186
|
+
status: 'Status',
|
|
11187
|
+
taskId: 'TaskId',
|
|
11188
|
+
token: 'Token',
|
|
11189
|
+
};
|
|
11190
|
+
}
|
|
11191
|
+
static types() {
|
|
11192
|
+
return {
|
|
11193
|
+
result: 'string',
|
|
11194
|
+
sourceIp: 'string',
|
|
11195
|
+
status: 'string',
|
|
11196
|
+
taskId: 'string',
|
|
11197
|
+
token: 'string',
|
|
11198
|
+
};
|
|
11199
|
+
}
|
|
11200
|
+
}
|
|
11201
|
+
exports.UpdateJenkinsImageScanTaskStatusRequest = UpdateJenkinsImageScanTaskStatusRequest;
|
|
11202
|
+
class UpdateJenkinsImageScanTaskStatusResponseBody extends $tea.Model {
|
|
11203
|
+
constructor(map) {
|
|
11204
|
+
super(map);
|
|
11205
|
+
}
|
|
11206
|
+
static names() {
|
|
11207
|
+
return {
|
|
11208
|
+
code: 'Code',
|
|
11209
|
+
httpStatusCode: 'HttpStatusCode',
|
|
11210
|
+
message: 'Message',
|
|
11211
|
+
requestId: 'RequestId',
|
|
11212
|
+
success: 'Success',
|
|
11213
|
+
timeCost: 'TimeCost',
|
|
11214
|
+
};
|
|
11215
|
+
}
|
|
11216
|
+
static types() {
|
|
11217
|
+
return {
|
|
11218
|
+
code: 'string',
|
|
11219
|
+
httpStatusCode: 'number',
|
|
11220
|
+
message: 'string',
|
|
11221
|
+
requestId: 'string',
|
|
11222
|
+
success: 'boolean',
|
|
11223
|
+
timeCost: 'number',
|
|
11224
|
+
};
|
|
11225
|
+
}
|
|
11226
|
+
}
|
|
11227
|
+
exports.UpdateJenkinsImageScanTaskStatusResponseBody = UpdateJenkinsImageScanTaskStatusResponseBody;
|
|
11228
|
+
class UpdateJenkinsImageScanTaskStatusResponse extends $tea.Model {
|
|
10519
11229
|
constructor(map) {
|
|
10520
11230
|
super(map);
|
|
10521
11231
|
}
|
|
@@ -10528,48 +11238,64 @@ class UnbindAegisResponse extends $tea.Model {
|
|
|
10528
11238
|
static types() {
|
|
10529
11239
|
return {
|
|
10530
11240
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10531
|
-
body:
|
|
11241
|
+
body: UpdateJenkinsImageScanTaskStatusResponseBody,
|
|
10532
11242
|
};
|
|
10533
11243
|
}
|
|
10534
11244
|
}
|
|
10535
|
-
exports.
|
|
10536
|
-
class
|
|
11245
|
+
exports.UpdateJenkinsImageScanTaskStatusResponse = UpdateJenkinsImageScanTaskStatusResponse;
|
|
11246
|
+
class UploadAnalyzerRuntimeLogRequest extends $tea.Model {
|
|
10537
11247
|
constructor(map) {
|
|
10538
11248
|
super(map);
|
|
10539
11249
|
}
|
|
10540
11250
|
static names() {
|
|
10541
11251
|
return {
|
|
10542
|
-
|
|
10543
|
-
|
|
10544
|
-
|
|
11252
|
+
content: 'Content',
|
|
11253
|
+
extendedContent: 'ExtendedContent',
|
|
11254
|
+
level: 'Level',
|
|
11255
|
+
sourceIp: 'SourceIp',
|
|
11256
|
+
taskId: 'TaskId',
|
|
11257
|
+
token: 'Token',
|
|
10545
11258
|
};
|
|
10546
11259
|
}
|
|
10547
11260
|
static types() {
|
|
10548
11261
|
return {
|
|
10549
|
-
|
|
10550
|
-
|
|
10551
|
-
|
|
11262
|
+
content: 'string',
|
|
11263
|
+
extendedContent: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
11264
|
+
level: 'string',
|
|
11265
|
+
sourceIp: 'string',
|
|
11266
|
+
taskId: 'string',
|
|
11267
|
+
token: 'string',
|
|
10552
11268
|
};
|
|
10553
11269
|
}
|
|
10554
11270
|
}
|
|
10555
|
-
exports.
|
|
10556
|
-
class
|
|
11271
|
+
exports.UploadAnalyzerRuntimeLogRequest = UploadAnalyzerRuntimeLogRequest;
|
|
11272
|
+
class UploadAnalyzerRuntimeLogResponseBody extends $tea.Model {
|
|
10557
11273
|
constructor(map) {
|
|
10558
11274
|
super(map);
|
|
10559
11275
|
}
|
|
10560
11276
|
static names() {
|
|
10561
11277
|
return {
|
|
11278
|
+
code: 'Code',
|
|
11279
|
+
httpStatusCode: 'HttpStatusCode',
|
|
11280
|
+
message: 'Message',
|
|
10562
11281
|
requestId: 'RequestId',
|
|
11282
|
+
success: 'Success',
|
|
11283
|
+
timeCost: 'TimeCost',
|
|
10563
11284
|
};
|
|
10564
11285
|
}
|
|
10565
11286
|
static types() {
|
|
10566
11287
|
return {
|
|
11288
|
+
code: 'string',
|
|
11289
|
+
httpStatusCode: 'number',
|
|
11290
|
+
message: 'string',
|
|
10567
11291
|
requestId: 'string',
|
|
11292
|
+
success: 'boolean',
|
|
11293
|
+
timeCost: 'number',
|
|
10568
11294
|
};
|
|
10569
11295
|
}
|
|
10570
11296
|
}
|
|
10571
|
-
exports.
|
|
10572
|
-
class
|
|
11297
|
+
exports.UploadAnalyzerRuntimeLogResponseBody = UploadAnalyzerRuntimeLogResponseBody;
|
|
11298
|
+
class UploadAnalyzerRuntimeLogResponse extends $tea.Model {
|
|
10573
11299
|
constructor(map) {
|
|
10574
11300
|
super(map);
|
|
10575
11301
|
}
|
|
@@ -10582,11 +11308,11 @@ class UninstallBackupClientResponse extends $tea.Model {
|
|
|
10582
11308
|
static types() {
|
|
10583
11309
|
return {
|
|
10584
11310
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10585
|
-
body:
|
|
11311
|
+
body: UploadAnalyzerRuntimeLogResponseBody,
|
|
10586
11312
|
};
|
|
10587
11313
|
}
|
|
10588
11314
|
}
|
|
10589
|
-
exports.
|
|
11315
|
+
exports.UploadAnalyzerRuntimeLogResponse = UploadAnalyzerRuntimeLogResponse;
|
|
10590
11316
|
class ValidateHcWarningsRequest extends $tea.Model {
|
|
10591
11317
|
constructor(map) {
|
|
10592
11318
|
super(map);
|
|
@@ -10657,6 +11383,84 @@ class CreateAntiBruteForceRuleResponseBodyCreateAntiBruteForceRule extends $tea.
|
|
|
10657
11383
|
}
|
|
10658
11384
|
}
|
|
10659
11385
|
exports.CreateAntiBruteForceRuleResponseBodyCreateAntiBruteForceRule = CreateAntiBruteForceRuleResponseBodyCreateAntiBruteForceRule;
|
|
11386
|
+
class CreateJenkinsImageRegistryResponseBodyData extends $tea.Model {
|
|
11387
|
+
constructor(map) {
|
|
11388
|
+
super(map);
|
|
11389
|
+
}
|
|
11390
|
+
static names() {
|
|
11391
|
+
return {
|
|
11392
|
+
aliUid: 'AliUid',
|
|
11393
|
+
blackList: 'BlackList',
|
|
11394
|
+
domainName: 'DomainName',
|
|
11395
|
+
gmtCreate: 'GmtCreate',
|
|
11396
|
+
gmtModified: 'GmtModified',
|
|
11397
|
+
id: 'Id',
|
|
11398
|
+
netType: 'NetType',
|
|
11399
|
+
password: 'Password',
|
|
11400
|
+
persistenceDay: 'PersistenceDay',
|
|
11401
|
+
protocolType: 'ProtocolType',
|
|
11402
|
+
regionId: 'RegionId',
|
|
11403
|
+
registryHostIp: 'RegistryHostIp',
|
|
11404
|
+
registryName: 'RegistryName',
|
|
11405
|
+
registryType: 'RegistryType',
|
|
11406
|
+
token: 'Token',
|
|
11407
|
+
transPerHour: 'TransPerHour',
|
|
11408
|
+
userName: 'UserName',
|
|
11409
|
+
vpcId: 'VpcId',
|
|
11410
|
+
whiteList: 'WhiteList',
|
|
11411
|
+
};
|
|
11412
|
+
}
|
|
11413
|
+
static types() {
|
|
11414
|
+
return {
|
|
11415
|
+
aliUid: 'number',
|
|
11416
|
+
blackList: 'string',
|
|
11417
|
+
domainName: 'string',
|
|
11418
|
+
gmtCreate: 'string',
|
|
11419
|
+
gmtModified: 'string',
|
|
11420
|
+
id: 'number',
|
|
11421
|
+
netType: 'number',
|
|
11422
|
+
password: 'string',
|
|
11423
|
+
persistenceDay: 'number',
|
|
11424
|
+
protocolType: 'number',
|
|
11425
|
+
regionId: 'string',
|
|
11426
|
+
registryHostIp: 'string',
|
|
11427
|
+
registryName: 'string',
|
|
11428
|
+
registryType: 'string',
|
|
11429
|
+
token: 'string',
|
|
11430
|
+
transPerHour: 'number',
|
|
11431
|
+
userName: 'string',
|
|
11432
|
+
vpcId: 'string',
|
|
11433
|
+
whiteList: 'string',
|
|
11434
|
+
};
|
|
11435
|
+
}
|
|
11436
|
+
}
|
|
11437
|
+
exports.CreateJenkinsImageRegistryResponseBodyData = CreateJenkinsImageRegistryResponseBodyData;
|
|
11438
|
+
class CreateJenkinsImageScanTaskResponseBodyData extends $tea.Model {
|
|
11439
|
+
constructor(map) {
|
|
11440
|
+
super(map);
|
|
11441
|
+
}
|
|
11442
|
+
static names() {
|
|
11443
|
+
return {
|
|
11444
|
+
imageScanCapacity: 'ImageScanCapacity',
|
|
11445
|
+
repoId: 'RepoId',
|
|
11446
|
+
repoInstanceId: 'RepoInstanceId',
|
|
11447
|
+
repoRegionId: 'RepoRegionId',
|
|
11448
|
+
taskId: 'TaskId',
|
|
11449
|
+
uuid: 'Uuid',
|
|
11450
|
+
};
|
|
11451
|
+
}
|
|
11452
|
+
static types() {
|
|
11453
|
+
return {
|
|
11454
|
+
imageScanCapacity: 'number',
|
|
11455
|
+
repoId: 'string',
|
|
11456
|
+
repoInstanceId: 'string',
|
|
11457
|
+
repoRegionId: 'string',
|
|
11458
|
+
taskId: 'string',
|
|
11459
|
+
uuid: 'string',
|
|
11460
|
+
};
|
|
11461
|
+
}
|
|
11462
|
+
}
|
|
11463
|
+
exports.CreateJenkinsImageScanTaskResponseBodyData = CreateJenkinsImageScanTaskResponseBodyData;
|
|
10660
11464
|
class CreateSimilarSecurityEventsQueryTaskResponseBodyCreateSimilarSecurityEventsQueryTaskResponse extends $tea.Model {
|
|
10661
11465
|
constructor(map) {
|
|
10662
11466
|
super(map);
|
|
@@ -15111,6 +15915,38 @@ class HandleSecurityEventsResponseBodyHandleSecurityEventsResponse extends $tea.
|
|
|
15111
15915
|
}
|
|
15112
15916
|
}
|
|
15113
15917
|
exports.HandleSecurityEventsResponseBodyHandleSecurityEventsResponse = HandleSecurityEventsResponseBodyHandleSecurityEventsResponse;
|
|
15918
|
+
class ListImageAnalysisRuleProjectResponseBodyData extends $tea.Model {
|
|
15919
|
+
constructor(map) {
|
|
15920
|
+
super(map);
|
|
15921
|
+
}
|
|
15922
|
+
static names() {
|
|
15923
|
+
return {
|
|
15924
|
+
content: 'Content',
|
|
15925
|
+
isCompress: 'IsCompress',
|
|
15926
|
+
isEncrypt: 'IsEncrypt',
|
|
15927
|
+
name: 'Name',
|
|
15928
|
+
outputConfig: 'OutputConfig',
|
|
15929
|
+
outputHandler: 'OutputHandler',
|
|
15930
|
+
project: 'Project',
|
|
15931
|
+
status: 'Status',
|
|
15932
|
+
version: 'Version',
|
|
15933
|
+
};
|
|
15934
|
+
}
|
|
15935
|
+
static types() {
|
|
15936
|
+
return {
|
|
15937
|
+
content: 'string',
|
|
15938
|
+
isCompress: 'boolean',
|
|
15939
|
+
isEncrypt: 'boolean',
|
|
15940
|
+
name: 'string',
|
|
15941
|
+
outputConfig: 'string',
|
|
15942
|
+
outputHandler: 'string',
|
|
15943
|
+
project: 'string',
|
|
15944
|
+
status: 'number',
|
|
15945
|
+
version: 'string',
|
|
15946
|
+
};
|
|
15947
|
+
}
|
|
15948
|
+
}
|
|
15949
|
+
exports.ListImageAnalysisRuleProjectResponseBodyData = ListImageAnalysisRuleProjectResponseBodyData;
|
|
15114
15950
|
class ModifyPushAllTaskResponseBodyPushTaskRspPushTaskResultList extends $tea.Model {
|
|
15115
15951
|
constructor(map) {
|
|
15116
15952
|
super(map);
|
|
@@ -15181,6 +16017,84 @@ class OperateAgentClientInstallResponseBodyAegisCelintInstallResposeList extends
|
|
|
15181
16017
|
}
|
|
15182
16018
|
}
|
|
15183
16019
|
exports.OperateAgentClientInstallResponseBodyAegisCelintInstallResposeList = OperateAgentClientInstallResponseBodyAegisCelintInstallResposeList;
|
|
16020
|
+
class PageImageRegistryResponseBodyList extends $tea.Model {
|
|
16021
|
+
constructor(map) {
|
|
16022
|
+
super(map);
|
|
16023
|
+
}
|
|
16024
|
+
static names() {
|
|
16025
|
+
return {
|
|
16026
|
+
aliUid: 'AliUid',
|
|
16027
|
+
blackList: 'BlackList',
|
|
16028
|
+
domainName: 'DomainName',
|
|
16029
|
+
gmtCreate: 'GmtCreate',
|
|
16030
|
+
gmtModified: 'GmtModified',
|
|
16031
|
+
id: 'Id',
|
|
16032
|
+
imageCount: 'ImageCount',
|
|
16033
|
+
jenkinsEnv: 'JenkinsEnv',
|
|
16034
|
+
netType: 'NetType',
|
|
16035
|
+
password: 'Password',
|
|
16036
|
+
persistenceDay: 'PersistenceDay',
|
|
16037
|
+
protocolType: 'ProtocolType',
|
|
16038
|
+
regionId: 'RegionId',
|
|
16039
|
+
registryHostIp: 'RegistryHostIp',
|
|
16040
|
+
registryName: 'RegistryName',
|
|
16041
|
+
registryType: 'RegistryType',
|
|
16042
|
+
token: 'Token',
|
|
16043
|
+
transPerHour: 'TransPerHour',
|
|
16044
|
+
userName: 'UserName',
|
|
16045
|
+
vpcId: 'VpcId',
|
|
16046
|
+
whiteList: 'WhiteList',
|
|
16047
|
+
};
|
|
16048
|
+
}
|
|
16049
|
+
static types() {
|
|
16050
|
+
return {
|
|
16051
|
+
aliUid: 'number',
|
|
16052
|
+
blackList: 'string',
|
|
16053
|
+
domainName: 'string',
|
|
16054
|
+
gmtCreate: 'string',
|
|
16055
|
+
gmtModified: 'string',
|
|
16056
|
+
id: 'number',
|
|
16057
|
+
imageCount: 'number',
|
|
16058
|
+
jenkinsEnv: 'string',
|
|
16059
|
+
netType: 'number',
|
|
16060
|
+
password: 'string',
|
|
16061
|
+
persistenceDay: 'number',
|
|
16062
|
+
protocolType: 'number',
|
|
16063
|
+
regionId: 'string',
|
|
16064
|
+
registryHostIp: 'string',
|
|
16065
|
+
registryName: 'string',
|
|
16066
|
+
registryType: 'string',
|
|
16067
|
+
token: 'string',
|
|
16068
|
+
transPerHour: 'number',
|
|
16069
|
+
userName: 'string',
|
|
16070
|
+
vpcId: 'string',
|
|
16071
|
+
whiteList: 'string',
|
|
16072
|
+
};
|
|
16073
|
+
}
|
|
16074
|
+
}
|
|
16075
|
+
exports.PageImageRegistryResponseBodyList = PageImageRegistryResponseBodyList;
|
|
16076
|
+
class PageImageRegistryResponseBodyPageInfo extends $tea.Model {
|
|
16077
|
+
constructor(map) {
|
|
16078
|
+
super(map);
|
|
16079
|
+
}
|
|
16080
|
+
static names() {
|
|
16081
|
+
return {
|
|
16082
|
+
count: 'Count',
|
|
16083
|
+
currentPage: 'CurrentPage',
|
|
16084
|
+
pageSize: 'PageSize',
|
|
16085
|
+
totalCount: 'TotalCount',
|
|
16086
|
+
};
|
|
16087
|
+
}
|
|
16088
|
+
static types() {
|
|
16089
|
+
return {
|
|
16090
|
+
count: 'number',
|
|
16091
|
+
currentPage: 'number',
|
|
16092
|
+
pageSize: 'number',
|
|
16093
|
+
totalCount: 'number',
|
|
16094
|
+
};
|
|
16095
|
+
}
|
|
16096
|
+
}
|
|
16097
|
+
exports.PageImageRegistryResponseBodyPageInfo = PageImageRegistryResponseBodyPageInfo;
|
|
15184
16098
|
class Client extends openapi_client_1.default {
|
|
15185
16099
|
constructor(config) {
|
|
15186
16100
|
super(config);
|
|
@@ -15320,32 +16234,148 @@ class Client extends openapi_client_1.default {
|
|
|
15320
16234
|
if (!tea_util_1.default.isUnset(request.defaultRule)) {
|
|
15321
16235
|
query["DefaultRule"] = request.defaultRule;
|
|
15322
16236
|
}
|
|
15323
|
-
if (!tea_util_1.default.isUnset(request.failCount)) {
|
|
15324
|
-
query["FailCount"] = request.failCount;
|
|
16237
|
+
if (!tea_util_1.default.isUnset(request.failCount)) {
|
|
16238
|
+
query["FailCount"] = request.failCount;
|
|
16239
|
+
}
|
|
16240
|
+
if (!tea_util_1.default.isUnset(request.forbiddenTime)) {
|
|
16241
|
+
query["ForbiddenTime"] = request.forbiddenTime;
|
|
16242
|
+
}
|
|
16243
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
16244
|
+
query["Name"] = request.name;
|
|
16245
|
+
}
|
|
16246
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
16247
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
16248
|
+
}
|
|
16249
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
16250
|
+
query["SourceIp"] = request.sourceIp;
|
|
16251
|
+
}
|
|
16252
|
+
if (!tea_util_1.default.isUnset(request.span)) {
|
|
16253
|
+
query["Span"] = request.span;
|
|
16254
|
+
}
|
|
16255
|
+
if (!tea_util_1.default.isUnset(request.uuidList)) {
|
|
16256
|
+
query["UuidList"] = request.uuidList;
|
|
16257
|
+
}
|
|
16258
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16259
|
+
query: openapi_util_1.default.query(query),
|
|
16260
|
+
});
|
|
16261
|
+
let params = new $OpenApi.Params({
|
|
16262
|
+
action: "CreateAntiBruteForceRule",
|
|
16263
|
+
version: "2018-12-03",
|
|
16264
|
+
protocol: "HTTPS",
|
|
16265
|
+
pathname: "/",
|
|
16266
|
+
method: "POST",
|
|
16267
|
+
authType: "AK",
|
|
16268
|
+
style: "RPC",
|
|
16269
|
+
reqBodyType: "formData",
|
|
16270
|
+
bodyType: "json",
|
|
16271
|
+
});
|
|
16272
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateAntiBruteForceRuleResponse({}));
|
|
16273
|
+
}
|
|
16274
|
+
async createAntiBruteForceRule(request) {
|
|
16275
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
16276
|
+
return await this.createAntiBruteForceRuleWithOptions(request, runtime);
|
|
16277
|
+
}
|
|
16278
|
+
async createBackupPolicyWithOptions(tmpReq, runtime) {
|
|
16279
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
16280
|
+
let request = new CreateBackupPolicyShrinkRequest({});
|
|
16281
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
16282
|
+
if (!tea_util_1.default.isUnset(tmpReq.policy)) {
|
|
16283
|
+
request.policyShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.policy, "Policy", "json");
|
|
16284
|
+
}
|
|
16285
|
+
let query = {};
|
|
16286
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
16287
|
+
query["Name"] = request.name;
|
|
16288
|
+
}
|
|
16289
|
+
if (!tea_util_1.default.isUnset(request.policyShrink)) {
|
|
16290
|
+
query["Policy"] = request.policyShrink;
|
|
16291
|
+
}
|
|
16292
|
+
if (!tea_util_1.default.isUnset(request.policyRegionId)) {
|
|
16293
|
+
query["PolicyRegionId"] = request.policyRegionId;
|
|
16294
|
+
}
|
|
16295
|
+
if (!tea_util_1.default.isUnset(request.policyVersion)) {
|
|
16296
|
+
query["PolicyVersion"] = request.policyVersion;
|
|
16297
|
+
}
|
|
16298
|
+
if (!tea_util_1.default.isUnset(request.uuidList)) {
|
|
16299
|
+
query["UuidList"] = request.uuidList;
|
|
16300
|
+
}
|
|
16301
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16302
|
+
query: openapi_util_1.default.query(query),
|
|
16303
|
+
});
|
|
16304
|
+
let params = new $OpenApi.Params({
|
|
16305
|
+
action: "CreateBackupPolicy",
|
|
16306
|
+
version: "2018-12-03",
|
|
16307
|
+
protocol: "HTTPS",
|
|
16308
|
+
pathname: "/",
|
|
16309
|
+
method: "POST",
|
|
16310
|
+
authType: "AK",
|
|
16311
|
+
style: "RPC",
|
|
16312
|
+
reqBodyType: "formData",
|
|
16313
|
+
bodyType: "json",
|
|
16314
|
+
});
|
|
16315
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateBackupPolicyResponse({}));
|
|
16316
|
+
}
|
|
16317
|
+
async createBackupPolicy(request) {
|
|
16318
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
16319
|
+
return await this.createBackupPolicyWithOptions(request, runtime);
|
|
16320
|
+
}
|
|
16321
|
+
async createJenkinsImageRegistryWithOptions(request, runtime) {
|
|
16322
|
+
tea_util_1.default.validateModel(request);
|
|
16323
|
+
let query = {};
|
|
16324
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
16325
|
+
query["SourceIp"] = request.sourceIp;
|
|
16326
|
+
}
|
|
16327
|
+
let body = {};
|
|
16328
|
+
if (!tea_util_1.default.isUnset(request.domainName)) {
|
|
16329
|
+
body["DomainName"] = request.domainName;
|
|
16330
|
+
}
|
|
16331
|
+
if (!tea_util_1.default.isUnset(request.extraParam)) {
|
|
16332
|
+
body["ExtraParam"] = request.extraParam;
|
|
16333
|
+
}
|
|
16334
|
+
if (!tea_util_1.default.isUnset(request.netType)) {
|
|
16335
|
+
body["NetType"] = request.netType;
|
|
16336
|
+
}
|
|
16337
|
+
if (!tea_util_1.default.isUnset(request.password)) {
|
|
16338
|
+
body["Password"] = request.password;
|
|
16339
|
+
}
|
|
16340
|
+
if (!tea_util_1.default.isUnset(request.persistenceDay)) {
|
|
16341
|
+
body["PersistenceDay"] = request.persistenceDay;
|
|
16342
|
+
}
|
|
16343
|
+
if (!tea_util_1.default.isUnset(request.protocolType)) {
|
|
16344
|
+
body["ProtocolType"] = request.protocolType;
|
|
16345
|
+
}
|
|
16346
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
16347
|
+
body["RegionId"] = request.regionId;
|
|
16348
|
+
}
|
|
16349
|
+
if (!tea_util_1.default.isUnset(request.registryHostIp)) {
|
|
16350
|
+
body["RegistryHostIp"] = request.registryHostIp;
|
|
16351
|
+
}
|
|
16352
|
+
if (!tea_util_1.default.isUnset(request.registryName)) {
|
|
16353
|
+
body["RegistryName"] = request.registryName;
|
|
15325
16354
|
}
|
|
15326
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15327
|
-
|
|
16355
|
+
if (!tea_util_1.default.isUnset(request.registryType)) {
|
|
16356
|
+
body["RegistryType"] = request.registryType;
|
|
15328
16357
|
}
|
|
15329
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15330
|
-
|
|
16358
|
+
if (!tea_util_1.default.isUnset(request.registryVersion)) {
|
|
16359
|
+
body["RegistryVersion"] = request.registryVersion;
|
|
15331
16360
|
}
|
|
15332
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15333
|
-
|
|
16361
|
+
if (!tea_util_1.default.isUnset(request.transPerHour)) {
|
|
16362
|
+
body["TransPerHour"] = request.transPerHour;
|
|
15334
16363
|
}
|
|
15335
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15336
|
-
|
|
16364
|
+
if (!tea_util_1.default.isUnset(request.userName)) {
|
|
16365
|
+
body["UserName"] = request.userName;
|
|
15337
16366
|
}
|
|
15338
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15339
|
-
|
|
16367
|
+
if (!tea_util_1.default.isUnset(request.vpcId)) {
|
|
16368
|
+
body["VpcId"] = request.vpcId;
|
|
15340
16369
|
}
|
|
15341
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15342
|
-
|
|
16370
|
+
if (!tea_util_1.default.isUnset(request.whiteList)) {
|
|
16371
|
+
body["WhiteList"] = request.whiteList;
|
|
15343
16372
|
}
|
|
15344
16373
|
let req = new $OpenApi.OpenApiRequest({
|
|
15345
16374
|
query: openapi_util_1.default.query(query),
|
|
16375
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
15346
16376
|
});
|
|
15347
16377
|
let params = new $OpenApi.Params({
|
|
15348
|
-
action: "
|
|
16378
|
+
action: "CreateJenkinsImageRegistry",
|
|
15349
16379
|
version: "2018-12-03",
|
|
15350
16380
|
protocol: "HTTPS",
|
|
15351
16381
|
pathname: "/",
|
|
@@ -15355,40 +16385,58 @@ class Client extends openapi_client_1.default {
|
|
|
15355
16385
|
reqBodyType: "formData",
|
|
15356
16386
|
bodyType: "json",
|
|
15357
16387
|
});
|
|
15358
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
16388
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateJenkinsImageRegistryResponse({}));
|
|
15359
16389
|
}
|
|
15360
|
-
async
|
|
16390
|
+
async createJenkinsImageRegistry(request) {
|
|
15361
16391
|
let runtime = new $Util.RuntimeOptions({});
|
|
15362
|
-
return await this.
|
|
16392
|
+
return await this.createJenkinsImageRegistryWithOptions(request, runtime);
|
|
15363
16393
|
}
|
|
15364
|
-
async
|
|
15365
|
-
tea_util_1.default.validateModel(
|
|
15366
|
-
let request = new CreateBackupPolicyShrinkRequest({});
|
|
15367
|
-
openapi_util_1.default.convert(tmpReq, request);
|
|
15368
|
-
if (!tea_util_1.default.isUnset(tmpReq.policy)) {
|
|
15369
|
-
request.policyShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.policy, "Policy", "json");
|
|
15370
|
-
}
|
|
16394
|
+
async createJenkinsImageScanTaskWithOptions(request, runtime) {
|
|
16395
|
+
tea_util_1.default.validateModel(request);
|
|
15371
16396
|
let query = {};
|
|
15372
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15373
|
-
query["
|
|
16397
|
+
if (!tea_util_1.default.isUnset(request.jenkinsEnv)) {
|
|
16398
|
+
query["JenkinsEnv"] = request.jenkinsEnv;
|
|
15374
16399
|
}
|
|
15375
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15376
|
-
query["
|
|
16400
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
16401
|
+
query["SourceIp"] = request.sourceIp;
|
|
15377
16402
|
}
|
|
15378
|
-
|
|
15379
|
-
|
|
16403
|
+
let body = {};
|
|
16404
|
+
if (!tea_util_1.default.isUnset(request.digest)) {
|
|
16405
|
+
body["Digest"] = request.digest;
|
|
15380
16406
|
}
|
|
15381
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15382
|
-
|
|
16407
|
+
if (!tea_util_1.default.isUnset(request.imageCreate)) {
|
|
16408
|
+
body["ImageCreate"] = request.imageCreate;
|
|
15383
16409
|
}
|
|
15384
|
-
if (!tea_util_1.default.isUnset(request.
|
|
15385
|
-
|
|
16410
|
+
if (!tea_util_1.default.isUnset(request.imageId)) {
|
|
16411
|
+
body["ImageId"] = request.imageId;
|
|
16412
|
+
}
|
|
16413
|
+
if (!tea_util_1.default.isUnset(request.imageSize)) {
|
|
16414
|
+
body["ImageSize"] = request.imageSize;
|
|
16415
|
+
}
|
|
16416
|
+
if (!tea_util_1.default.isUnset(request.imageUpdate)) {
|
|
16417
|
+
body["ImageUpdate"] = request.imageUpdate;
|
|
16418
|
+
}
|
|
16419
|
+
if (!tea_util_1.default.isUnset(request.namespace)) {
|
|
16420
|
+
body["Namespace"] = request.namespace;
|
|
16421
|
+
}
|
|
16422
|
+
if (!tea_util_1.default.isUnset(request.repoName)) {
|
|
16423
|
+
body["RepoName"] = request.repoName;
|
|
16424
|
+
}
|
|
16425
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
16426
|
+
body["Tag"] = request.tag;
|
|
16427
|
+
}
|
|
16428
|
+
if (!tea_util_1.default.isUnset(request.token)) {
|
|
16429
|
+
body["Token"] = request.token;
|
|
16430
|
+
}
|
|
16431
|
+
if (!tea_util_1.default.isUnset(request.uuid)) {
|
|
16432
|
+
body["Uuid"] = request.uuid;
|
|
15386
16433
|
}
|
|
15387
16434
|
let req = new $OpenApi.OpenApiRequest({
|
|
15388
16435
|
query: openapi_util_1.default.query(query),
|
|
16436
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
15389
16437
|
});
|
|
15390
16438
|
let params = new $OpenApi.Params({
|
|
15391
|
-
action: "
|
|
16439
|
+
action: "CreateJenkinsImageScanTask",
|
|
15392
16440
|
version: "2018-12-03",
|
|
15393
16441
|
protocol: "HTTPS",
|
|
15394
16442
|
pathname: "/",
|
|
@@ -15398,11 +16446,11 @@ class Client extends openapi_client_1.default {
|
|
|
15398
16446
|
reqBodyType: "formData",
|
|
15399
16447
|
bodyType: "json",
|
|
15400
16448
|
});
|
|
15401
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
16449
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateJenkinsImageScanTaskResponse({}));
|
|
15402
16450
|
}
|
|
15403
|
-
async
|
|
16451
|
+
async createJenkinsImageScanTask(request) {
|
|
15404
16452
|
let runtime = new $Util.RuntimeOptions({});
|
|
15405
|
-
return await this.
|
|
16453
|
+
return await this.createJenkinsImageScanTaskWithOptions(request, runtime);
|
|
15406
16454
|
}
|
|
15407
16455
|
async createOrUpdateAssetGroupWithOptions(request, runtime) {
|
|
15408
16456
|
tea_util_1.default.validateModel(request);
|
|
@@ -20074,6 +21122,40 @@ class Client extends openapi_client_1.default {
|
|
|
20074
21122
|
let runtime = new $Util.RuntimeOptions({});
|
|
20075
21123
|
return await this.installBackupClientWithOptions(request, runtime);
|
|
20076
21124
|
}
|
|
21125
|
+
async listImageAnalysisRuleProjectWithOptions(request, runtime) {
|
|
21126
|
+
tea_util_1.default.validateModel(request);
|
|
21127
|
+
let query = {};
|
|
21128
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
21129
|
+
query["SourceIp"] = request.sourceIp;
|
|
21130
|
+
}
|
|
21131
|
+
let body = {};
|
|
21132
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
21133
|
+
body["TaskId"] = request.taskId;
|
|
21134
|
+
}
|
|
21135
|
+
if (!tea_util_1.default.isUnset(request.token)) {
|
|
21136
|
+
body["Token"] = request.token;
|
|
21137
|
+
}
|
|
21138
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21139
|
+
query: openapi_util_1.default.query(query),
|
|
21140
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
21141
|
+
});
|
|
21142
|
+
let params = new $OpenApi.Params({
|
|
21143
|
+
action: "ListImageAnalysisRuleProject",
|
|
21144
|
+
version: "2018-12-03",
|
|
21145
|
+
protocol: "HTTPS",
|
|
21146
|
+
pathname: "/",
|
|
21147
|
+
method: "POST",
|
|
21148
|
+
authType: "AK",
|
|
21149
|
+
style: "RPC",
|
|
21150
|
+
reqBodyType: "formData",
|
|
21151
|
+
bodyType: "json",
|
|
21152
|
+
});
|
|
21153
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListImageAnalysisRuleProjectResponse({}));
|
|
21154
|
+
}
|
|
21155
|
+
async listImageAnalysisRuleProject(request) {
|
|
21156
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
21157
|
+
return await this.listImageAnalysisRuleProjectWithOptions(request, runtime);
|
|
21158
|
+
}
|
|
20077
21159
|
async modifyAntiBruteForceRuleWithOptions(request, runtime) {
|
|
20078
21160
|
tea_util_1.default.validateModel(request);
|
|
20079
21161
|
let query = {};
|
|
@@ -21148,6 +22230,49 @@ class Client extends openapi_client_1.default {
|
|
|
21148
22230
|
let runtime = new $Util.RuntimeOptions({});
|
|
21149
22231
|
return await this.operationSuspEventsWithOptions(request, runtime);
|
|
21150
22232
|
}
|
|
22233
|
+
async pageImageRegistryWithOptions(request, runtime) {
|
|
22234
|
+
tea_util_1.default.validateModel(request);
|
|
22235
|
+
let query = {};
|
|
22236
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
22237
|
+
query["SourceIp"] = request.sourceIp;
|
|
22238
|
+
}
|
|
22239
|
+
let body = {};
|
|
22240
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
22241
|
+
body["CurrentPage"] = request.currentPage;
|
|
22242
|
+
}
|
|
22243
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
22244
|
+
body["PageSize"] = request.pageSize;
|
|
22245
|
+
}
|
|
22246
|
+
if (!tea_util_1.default.isUnset(request.registryNameLike)) {
|
|
22247
|
+
body["RegistryNameLike"] = request.registryNameLike;
|
|
22248
|
+
}
|
|
22249
|
+
if (!tea_util_1.default.isUnset(request.registryTypeInList)) {
|
|
22250
|
+
body["RegistryTypeInList"] = request.registryTypeInList;
|
|
22251
|
+
}
|
|
22252
|
+
if (!tea_util_1.default.isUnset(request.registryTypeNotInList)) {
|
|
22253
|
+
body["RegistryTypeNotInList"] = request.registryTypeNotInList;
|
|
22254
|
+
}
|
|
22255
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22256
|
+
query: openapi_util_1.default.query(query),
|
|
22257
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
22258
|
+
});
|
|
22259
|
+
let params = new $OpenApi.Params({
|
|
22260
|
+
action: "PageImageRegistry",
|
|
22261
|
+
version: "2018-12-03",
|
|
22262
|
+
protocol: "HTTPS",
|
|
22263
|
+
pathname: "/",
|
|
22264
|
+
method: "POST",
|
|
22265
|
+
authType: "AK",
|
|
22266
|
+
style: "RPC",
|
|
22267
|
+
reqBodyType: "formData",
|
|
22268
|
+
bodyType: "json",
|
|
22269
|
+
});
|
|
22270
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PageImageRegistryResponse({}));
|
|
22271
|
+
}
|
|
22272
|
+
async pageImageRegistry(request) {
|
|
22273
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
22274
|
+
return await this.pageImageRegistryWithOptions(request, runtime);
|
|
22275
|
+
}
|
|
21151
22276
|
async pauseClientWithOptions(request, runtime) {
|
|
21152
22277
|
tea_util_1.default.validateModel(request);
|
|
21153
22278
|
let query = {};
|
|
@@ -21206,6 +22331,32 @@ class Client extends openapi_client_1.default {
|
|
|
21206
22331
|
let runtime = new $Util.RuntimeOptions({});
|
|
21207
22332
|
return await this.queryGroupIdByGroupNameWithOptions(request, runtime);
|
|
21208
22333
|
}
|
|
22334
|
+
async queryJenkinsImageRegistryPersistenceDayWithOptions(request, runtime) {
|
|
22335
|
+
tea_util_1.default.validateModel(request);
|
|
22336
|
+
let query = {};
|
|
22337
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
22338
|
+
query["SourceIp"] = request.sourceIp;
|
|
22339
|
+
}
|
|
22340
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22341
|
+
query: openapi_util_1.default.query(query),
|
|
22342
|
+
});
|
|
22343
|
+
let params = new $OpenApi.Params({
|
|
22344
|
+
action: "QueryJenkinsImageRegistryPersistenceDay",
|
|
22345
|
+
version: "2018-12-03",
|
|
22346
|
+
protocol: "HTTPS",
|
|
22347
|
+
pathname: "/",
|
|
22348
|
+
method: "POST",
|
|
22349
|
+
authType: "AK",
|
|
22350
|
+
style: "RPC",
|
|
22351
|
+
reqBodyType: "formData",
|
|
22352
|
+
bodyType: "json",
|
|
22353
|
+
});
|
|
22354
|
+
return $tea.cast(await this.callApi(params, req, runtime), new QueryJenkinsImageRegistryPersistenceDayResponse({}));
|
|
22355
|
+
}
|
|
22356
|
+
async queryJenkinsImageRegistryPersistenceDay(request) {
|
|
22357
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
22358
|
+
return await this.queryJenkinsImageRegistryPersistenceDayWithOptions(request, runtime);
|
|
22359
|
+
}
|
|
21209
22360
|
async refreshAssetsWithOptions(request, runtime) {
|
|
21210
22361
|
tea_util_1.default.validateModel(request);
|
|
21211
22362
|
let query = {};
|
|
@@ -21433,6 +22584,52 @@ class Client extends openapi_client_1.default {
|
|
|
21433
22584
|
let runtime = new $Util.RuntimeOptions({});
|
|
21434
22585
|
return await this.startVirusScanTaskWithOptions(request, runtime);
|
|
21435
22586
|
}
|
|
22587
|
+
async submitImageAnalysisOutputWithOptions(request, runtime) {
|
|
22588
|
+
tea_util_1.default.validateModel(request);
|
|
22589
|
+
let query = {};
|
|
22590
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
22591
|
+
query["SourceIp"] = request.sourceIp;
|
|
22592
|
+
}
|
|
22593
|
+
let body = {};
|
|
22594
|
+
if (!tea_util_1.default.isUnset(request.body)) {
|
|
22595
|
+
body["Body"] = request.body;
|
|
22596
|
+
}
|
|
22597
|
+
if (!tea_util_1.default.isUnset(request.isCompress)) {
|
|
22598
|
+
body["IsCompress"] = request.isCompress;
|
|
22599
|
+
}
|
|
22600
|
+
if (!tea_util_1.default.isUnset(request.isEncrypt)) {
|
|
22601
|
+
body["IsEncrypt"] = request.isEncrypt;
|
|
22602
|
+
}
|
|
22603
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
22604
|
+
body["TaskId"] = request.taskId;
|
|
22605
|
+
}
|
|
22606
|
+
if (!tea_util_1.default.isUnset(request.token)) {
|
|
22607
|
+
body["Token"] = request.token;
|
|
22608
|
+
}
|
|
22609
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
22610
|
+
body["Type"] = request.type;
|
|
22611
|
+
}
|
|
22612
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22613
|
+
query: openapi_util_1.default.query(query),
|
|
22614
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
22615
|
+
});
|
|
22616
|
+
let params = new $OpenApi.Params({
|
|
22617
|
+
action: "SubmitImageAnalysisOutput",
|
|
22618
|
+
version: "2018-12-03",
|
|
22619
|
+
protocol: "HTTPS",
|
|
22620
|
+
pathname: "/",
|
|
22621
|
+
method: "POST",
|
|
22622
|
+
authType: "AK",
|
|
22623
|
+
style: "RPC",
|
|
22624
|
+
reqBodyType: "formData",
|
|
22625
|
+
bodyType: "json",
|
|
22626
|
+
});
|
|
22627
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SubmitImageAnalysisOutputResponse({}));
|
|
22628
|
+
}
|
|
22629
|
+
async submitImageAnalysisOutput(request) {
|
|
22630
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
22631
|
+
return await this.submitImageAnalysisOutputWithOptions(request, runtime);
|
|
22632
|
+
}
|
|
21436
22633
|
async unbindAegisWithOptions(request, runtime) {
|
|
21437
22634
|
tea_util_1.default.validateModel(request);
|
|
21438
22635
|
let query = {};
|
|
@@ -21491,6 +22688,159 @@ class Client extends openapi_client_1.default {
|
|
|
21491
22688
|
let runtime = new $Util.RuntimeOptions({});
|
|
21492
22689
|
return await this.uninstallBackupClientWithOptions(request, runtime);
|
|
21493
22690
|
}
|
|
22691
|
+
async updateJenkinsImageRegistryNameWithOptions(request, runtime) {
|
|
22692
|
+
tea_util_1.default.validateModel(request);
|
|
22693
|
+
let query = {};
|
|
22694
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
22695
|
+
query["SourceIp"] = request.sourceIp;
|
|
22696
|
+
}
|
|
22697
|
+
let body = {};
|
|
22698
|
+
if (!tea_util_1.default.isUnset(request.registryId)) {
|
|
22699
|
+
body["RegistryId"] = request.registryId;
|
|
22700
|
+
}
|
|
22701
|
+
if (!tea_util_1.default.isUnset(request.registryName)) {
|
|
22702
|
+
body["RegistryName"] = request.registryName;
|
|
22703
|
+
}
|
|
22704
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22705
|
+
query: openapi_util_1.default.query(query),
|
|
22706
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
22707
|
+
});
|
|
22708
|
+
let params = new $OpenApi.Params({
|
|
22709
|
+
action: "UpdateJenkinsImageRegistryName",
|
|
22710
|
+
version: "2018-12-03",
|
|
22711
|
+
protocol: "HTTPS",
|
|
22712
|
+
pathname: "/",
|
|
22713
|
+
method: "POST",
|
|
22714
|
+
authType: "AK",
|
|
22715
|
+
style: "RPC",
|
|
22716
|
+
reqBodyType: "formData",
|
|
22717
|
+
bodyType: "json",
|
|
22718
|
+
});
|
|
22719
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateJenkinsImageRegistryNameResponse({}));
|
|
22720
|
+
}
|
|
22721
|
+
async updateJenkinsImageRegistryName(request) {
|
|
22722
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
22723
|
+
return await this.updateJenkinsImageRegistryNameWithOptions(request, runtime);
|
|
22724
|
+
}
|
|
22725
|
+
async updateJenkinsImageRegistryPersistenceDayWithOptions(request, runtime) {
|
|
22726
|
+
tea_util_1.default.validateModel(request);
|
|
22727
|
+
let query = {};
|
|
22728
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
22729
|
+
query["SourceIp"] = request.sourceIp;
|
|
22730
|
+
}
|
|
22731
|
+
let body = {};
|
|
22732
|
+
if (!tea_util_1.default.isUnset(request.persistenceDay)) {
|
|
22733
|
+
body["PersistenceDay"] = request.persistenceDay;
|
|
22734
|
+
}
|
|
22735
|
+
if (!tea_util_1.default.isUnset(request.registryId)) {
|
|
22736
|
+
body["RegistryId"] = request.registryId;
|
|
22737
|
+
}
|
|
22738
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22739
|
+
query: openapi_util_1.default.query(query),
|
|
22740
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
22741
|
+
});
|
|
22742
|
+
let params = new $OpenApi.Params({
|
|
22743
|
+
action: "UpdateJenkinsImageRegistryPersistenceDay",
|
|
22744
|
+
version: "2018-12-03",
|
|
22745
|
+
protocol: "HTTPS",
|
|
22746
|
+
pathname: "/",
|
|
22747
|
+
method: "POST",
|
|
22748
|
+
authType: "AK",
|
|
22749
|
+
style: "RPC",
|
|
22750
|
+
reqBodyType: "formData",
|
|
22751
|
+
bodyType: "json",
|
|
22752
|
+
});
|
|
22753
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateJenkinsImageRegistryPersistenceDayResponse({}));
|
|
22754
|
+
}
|
|
22755
|
+
async updateJenkinsImageRegistryPersistenceDay(request) {
|
|
22756
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
22757
|
+
return await this.updateJenkinsImageRegistryPersistenceDayWithOptions(request, runtime);
|
|
22758
|
+
}
|
|
22759
|
+
async updateJenkinsImageScanTaskStatusWithOptions(request, runtime) {
|
|
22760
|
+
tea_util_1.default.validateModel(request);
|
|
22761
|
+
let query = {};
|
|
22762
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
22763
|
+
query["SourceIp"] = request.sourceIp;
|
|
22764
|
+
}
|
|
22765
|
+
let body = {};
|
|
22766
|
+
if (!tea_util_1.default.isUnset(request.result)) {
|
|
22767
|
+
body["Result"] = request.result;
|
|
22768
|
+
}
|
|
22769
|
+
if (!tea_util_1.default.isUnset(request.status)) {
|
|
22770
|
+
body["Status"] = request.status;
|
|
22771
|
+
}
|
|
22772
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
22773
|
+
body["TaskId"] = request.taskId;
|
|
22774
|
+
}
|
|
22775
|
+
if (!tea_util_1.default.isUnset(request.token)) {
|
|
22776
|
+
body["Token"] = request.token;
|
|
22777
|
+
}
|
|
22778
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22779
|
+
query: openapi_util_1.default.query(query),
|
|
22780
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
22781
|
+
});
|
|
22782
|
+
let params = new $OpenApi.Params({
|
|
22783
|
+
action: "UpdateJenkinsImageScanTaskStatus",
|
|
22784
|
+
version: "2018-12-03",
|
|
22785
|
+
protocol: "HTTPS",
|
|
22786
|
+
pathname: "/",
|
|
22787
|
+
method: "POST",
|
|
22788
|
+
authType: "AK",
|
|
22789
|
+
style: "RPC",
|
|
22790
|
+
reqBodyType: "formData",
|
|
22791
|
+
bodyType: "json",
|
|
22792
|
+
});
|
|
22793
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateJenkinsImageScanTaskStatusResponse({}));
|
|
22794
|
+
}
|
|
22795
|
+
async updateJenkinsImageScanTaskStatus(request) {
|
|
22796
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
22797
|
+
return await this.updateJenkinsImageScanTaskStatusWithOptions(request, runtime);
|
|
22798
|
+
}
|
|
22799
|
+
async uploadAnalyzerRuntimeLogWithOptions(request, runtime) {
|
|
22800
|
+
tea_util_1.default.validateModel(request);
|
|
22801
|
+
let query = {};
|
|
22802
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
22803
|
+
query["SourceIp"] = request.sourceIp;
|
|
22804
|
+
}
|
|
22805
|
+
let body = {};
|
|
22806
|
+
if (!tea_util_1.default.isUnset(request.content)) {
|
|
22807
|
+
body["Content"] = request.content;
|
|
22808
|
+
}
|
|
22809
|
+
let bodyFlat = {};
|
|
22810
|
+
if (!tea_util_1.default.isUnset(request.extendedContent)) {
|
|
22811
|
+
bodyFlat["ExtendedContent"] = request.extendedContent;
|
|
22812
|
+
}
|
|
22813
|
+
if (!tea_util_1.default.isUnset(request.level)) {
|
|
22814
|
+
body["Level"] = request.level;
|
|
22815
|
+
}
|
|
22816
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
22817
|
+
body["TaskId"] = request.taskId;
|
|
22818
|
+
}
|
|
22819
|
+
if (!tea_util_1.default.isUnset(request.token)) {
|
|
22820
|
+
body["Token"] = request.token;
|
|
22821
|
+
}
|
|
22822
|
+
body = Object.assign(Object.assign({}, body), openapi_util_1.default.query(bodyFlat));
|
|
22823
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22824
|
+
query: openapi_util_1.default.query(query),
|
|
22825
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
22826
|
+
});
|
|
22827
|
+
let params = new $OpenApi.Params({
|
|
22828
|
+
action: "UploadAnalyzerRuntimeLog",
|
|
22829
|
+
version: "2018-12-03",
|
|
22830
|
+
protocol: "HTTPS",
|
|
22831
|
+
pathname: "/",
|
|
22832
|
+
method: "POST",
|
|
22833
|
+
authType: "AK",
|
|
22834
|
+
style: "RPC",
|
|
22835
|
+
reqBodyType: "formData",
|
|
22836
|
+
bodyType: "json",
|
|
22837
|
+
});
|
|
22838
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UploadAnalyzerRuntimeLogResponse({}));
|
|
22839
|
+
}
|
|
22840
|
+
async uploadAnalyzerRuntimeLog(request) {
|
|
22841
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
22842
|
+
return await this.uploadAnalyzerRuntimeLogWithOptions(request, runtime);
|
|
22843
|
+
}
|
|
21494
22844
|
async validateHcWarningsWithOptions(request, runtime) {
|
|
21495
22845
|
tea_util_1.default.validateModel(request);
|
|
21496
22846
|
let query = {};
|