@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/src/client.ts CHANGED
@@ -324,6 +324,240 @@ export class CreateBackupPolicyResponse extends $tea.Model {
324
324
  }
325
325
  }
326
326
 
327
+ export class CreateJenkinsImageRegistryRequest extends $tea.Model {
328
+ domainName?: string;
329
+ extraParam?: string;
330
+ netType?: number;
331
+ password?: string;
332
+ persistenceDay?: number;
333
+ protocolType?: number;
334
+ regionId?: string;
335
+ registryHostIp?: string;
336
+ registryName?: string;
337
+ registryType?: string;
338
+ registryVersion?: string;
339
+ sourceIp?: string;
340
+ transPerHour?: number;
341
+ userName?: string;
342
+ vpcId?: string;
343
+ whiteList?: string;
344
+ static names(): { [key: string]: string } {
345
+ return {
346
+ domainName: 'DomainName',
347
+ extraParam: 'ExtraParam',
348
+ netType: 'NetType',
349
+ password: 'Password',
350
+ persistenceDay: 'PersistenceDay',
351
+ protocolType: 'ProtocolType',
352
+ regionId: 'RegionId',
353
+ registryHostIp: 'RegistryHostIp',
354
+ registryName: 'RegistryName',
355
+ registryType: 'RegistryType',
356
+ registryVersion: 'RegistryVersion',
357
+ sourceIp: 'SourceIp',
358
+ transPerHour: 'TransPerHour',
359
+ userName: 'UserName',
360
+ vpcId: 'VpcId',
361
+ whiteList: 'WhiteList',
362
+ };
363
+ }
364
+
365
+ static types(): { [key: string]: any } {
366
+ return {
367
+ domainName: 'string',
368
+ extraParam: 'string',
369
+ netType: 'number',
370
+ password: 'string',
371
+ persistenceDay: 'number',
372
+ protocolType: 'number',
373
+ regionId: 'string',
374
+ registryHostIp: 'string',
375
+ registryName: 'string',
376
+ registryType: 'string',
377
+ registryVersion: 'string',
378
+ sourceIp: 'string',
379
+ transPerHour: 'number',
380
+ userName: 'string',
381
+ vpcId: 'string',
382
+ whiteList: 'string',
383
+ };
384
+ }
385
+
386
+ constructor(map?: { [key: string]: any }) {
387
+ super(map);
388
+ }
389
+ }
390
+
391
+ export class CreateJenkinsImageRegistryResponseBody extends $tea.Model {
392
+ code?: string;
393
+ data?: CreateJenkinsImageRegistryResponseBodyData;
394
+ httpStatusCode?: number;
395
+ message?: string;
396
+ requestId?: string;
397
+ success?: boolean;
398
+ timeCost?: number;
399
+ static names(): { [key: string]: string } {
400
+ return {
401
+ code: 'Code',
402
+ data: 'Data',
403
+ httpStatusCode: 'HttpStatusCode',
404
+ message: 'Message',
405
+ requestId: 'RequestId',
406
+ success: 'Success',
407
+ timeCost: 'TimeCost',
408
+ };
409
+ }
410
+
411
+ static types(): { [key: string]: any } {
412
+ return {
413
+ code: 'string',
414
+ data: CreateJenkinsImageRegistryResponseBodyData,
415
+ httpStatusCode: 'number',
416
+ message: 'string',
417
+ requestId: 'string',
418
+ success: 'boolean',
419
+ timeCost: 'number',
420
+ };
421
+ }
422
+
423
+ constructor(map?: { [key: string]: any }) {
424
+ super(map);
425
+ }
426
+ }
427
+
428
+ export class CreateJenkinsImageRegistryResponse extends $tea.Model {
429
+ headers: { [key: string]: string };
430
+ body: CreateJenkinsImageRegistryResponseBody;
431
+ static names(): { [key: string]: string } {
432
+ return {
433
+ headers: 'headers',
434
+ body: 'body',
435
+ };
436
+ }
437
+
438
+ static types(): { [key: string]: any } {
439
+ return {
440
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
441
+ body: CreateJenkinsImageRegistryResponseBody,
442
+ };
443
+ }
444
+
445
+ constructor(map?: { [key: string]: any }) {
446
+ super(map);
447
+ }
448
+ }
449
+
450
+ export class CreateJenkinsImageScanTaskRequest extends $tea.Model {
451
+ digest?: string;
452
+ imageCreate?: number;
453
+ imageId?: string;
454
+ imageSize?: number;
455
+ imageUpdate?: number;
456
+ jenkinsEnv?: string;
457
+ namespace?: string;
458
+ repoName?: string;
459
+ sourceIp?: string;
460
+ tag?: string;
461
+ token?: string;
462
+ uuid?: string;
463
+ static names(): { [key: string]: string } {
464
+ return {
465
+ digest: 'Digest',
466
+ imageCreate: 'ImageCreate',
467
+ imageId: 'ImageId',
468
+ imageSize: 'ImageSize',
469
+ imageUpdate: 'ImageUpdate',
470
+ jenkinsEnv: 'JenkinsEnv',
471
+ namespace: 'Namespace',
472
+ repoName: 'RepoName',
473
+ sourceIp: 'SourceIp',
474
+ tag: 'Tag',
475
+ token: 'Token',
476
+ uuid: 'Uuid',
477
+ };
478
+ }
479
+
480
+ static types(): { [key: string]: any } {
481
+ return {
482
+ digest: 'string',
483
+ imageCreate: 'number',
484
+ imageId: 'string',
485
+ imageSize: 'number',
486
+ imageUpdate: 'number',
487
+ jenkinsEnv: 'string',
488
+ namespace: 'string',
489
+ repoName: 'string',
490
+ sourceIp: 'string',
491
+ tag: 'string',
492
+ token: 'string',
493
+ uuid: 'string',
494
+ };
495
+ }
496
+
497
+ constructor(map?: { [key: string]: any }) {
498
+ super(map);
499
+ }
500
+ }
501
+
502
+ export class CreateJenkinsImageScanTaskResponseBody extends $tea.Model {
503
+ code?: string;
504
+ data?: CreateJenkinsImageScanTaskResponseBodyData;
505
+ httpStatusCode?: number;
506
+ message?: string;
507
+ requestId?: string;
508
+ success?: boolean;
509
+ timeCost?: number;
510
+ static names(): { [key: string]: string } {
511
+ return {
512
+ code: 'Code',
513
+ data: 'Data',
514
+ httpStatusCode: 'HttpStatusCode',
515
+ message: 'Message',
516
+ requestId: 'RequestId',
517
+ success: 'Success',
518
+ timeCost: 'TimeCost',
519
+ };
520
+ }
521
+
522
+ static types(): { [key: string]: any } {
523
+ return {
524
+ code: 'string',
525
+ data: CreateJenkinsImageScanTaskResponseBodyData,
526
+ httpStatusCode: 'number',
527
+ message: 'string',
528
+ requestId: 'string',
529
+ success: 'boolean',
530
+ timeCost: 'number',
531
+ };
532
+ }
533
+
534
+ constructor(map?: { [key: string]: any }) {
535
+ super(map);
536
+ }
537
+ }
538
+
539
+ export class CreateJenkinsImageScanTaskResponse extends $tea.Model {
540
+ headers: { [key: string]: string };
541
+ body: CreateJenkinsImageScanTaskResponseBody;
542
+ static names(): { [key: string]: string } {
543
+ return {
544
+ headers: 'headers',
545
+ body: 'body',
546
+ };
547
+ }
548
+
549
+ static types(): { [key: string]: any } {
550
+ return {
551
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
552
+ body: CreateJenkinsImageScanTaskResponseBody,
553
+ };
554
+ }
555
+
556
+ constructor(map?: { [key: string]: any }) {
557
+ super(map);
558
+ }
559
+ }
560
+
327
561
  export class CreateOrUpdateAssetGroupRequest extends $tea.Model {
328
562
  groupId?: number;
329
563
  groupName?: string;
@@ -5654,37 +5888,49 @@ export class DescribePropertyCountRequest extends $tea.Model {
5654
5888
  }
5655
5889
 
5656
5890
  export class DescribePropertyCountResponseBody extends $tea.Model {
5657
- autoRun?: number;
5891
+ autorun?: number;
5658
5892
  cron?: number;
5893
+ database?: number;
5894
+ lkm?: number;
5659
5895
  port?: number;
5660
5896
  process?: number;
5661
5897
  requestId?: string;
5662
5898
  sca?: number;
5663
5899
  software?: number;
5664
5900
  user?: number;
5901
+ web?: number;
5902
+ webserver?: number;
5665
5903
  static names(): { [key: string]: string } {
5666
5904
  return {
5667
- autoRun: 'AutoRun',
5905
+ autorun: 'Autorun',
5668
5906
  cron: 'Cron',
5907
+ database: 'Database',
5908
+ lkm: 'Lkm',
5669
5909
  port: 'Port',
5670
5910
  process: 'Process',
5671
5911
  requestId: 'RequestId',
5672
5912
  sca: 'Sca',
5673
5913
  software: 'Software',
5674
5914
  user: 'User',
5915
+ web: 'Web',
5916
+ webserver: 'Webserver',
5675
5917
  };
5676
5918
  }
5677
5919
 
5678
5920
  static types(): { [key: string]: any } {
5679
5921
  return {
5680
- autoRun: 'number',
5922
+ autorun: 'number',
5681
5923
  cron: 'number',
5924
+ database: 'number',
5925
+ lkm: 'number',
5682
5926
  port: 'number',
5683
5927
  process: 'number',
5684
5928
  requestId: 'string',
5685
5929
  sca: 'number',
5686
5930
  software: 'number',
5687
5931
  user: 'number',
5932
+ web: 'number',
5933
+ webserver: 'number',
5688
5934
  };
5689
5935
  }
5690
5936
 
@@ -10458,6 +10704,93 @@ export class InstallBackupClientResponse extends $tea.Model {
10458
10704
  }
10459
10705
  }
10460
10706
 
10707
+ export class ListImageAnalysisRuleProjectRequest extends $tea.Model {
10708
+ sourceIp?: string;
10709
+ taskId?: string;
10710
+ token?: string;
10711
+ static names(): { [key: string]: string } {
10712
+ return {
10713
+ sourceIp: 'SourceIp',
10714
+ taskId: 'TaskId',
10715
+ token: 'Token',
10716
+ };
10717
+ }
10718
+
10719
+ static types(): { [key: string]: any } {
10720
+ return {
10721
+ sourceIp: 'string',
10722
+ taskId: 'string',
10723
+ token: 'string',
10724
+ };
10725
+ }
10726
+
10727
+ constructor(map?: { [key: string]: any }) {
10728
+ super(map);
10729
+ }
10730
+ }
10731
+
10732
+ export class ListImageAnalysisRuleProjectResponseBody extends $tea.Model {
10733
+ code?: string;
10734
+ count?: number;
10735
+ data?: ListImageAnalysisRuleProjectResponseBodyData[];
10736
+ httpStatusCode?: number;
10737
+ message?: string;
10738
+ requestId?: string;
10739
+ success?: boolean;
10740
+ timeCost?: number;
10741
+ static names(): { [key: string]: string } {
10742
+ return {
10743
+ code: 'Code',
10744
+ count: 'Count',
10745
+ data: 'Data',
10746
+ httpStatusCode: 'HttpStatusCode',
10747
+ message: 'Message',
10748
+ requestId: 'RequestId',
10749
+ success: 'Success',
10750
+ timeCost: 'TimeCost',
10751
+ };
10752
+ }
10753
+
10754
+ static types(): { [key: string]: any } {
10755
+ return {
10756
+ code: 'string',
10757
+ count: 'number',
10758
+ data: { 'type': 'array', 'itemType': ListImageAnalysisRuleProjectResponseBodyData },
10759
+ httpStatusCode: 'number',
10760
+ message: 'string',
10761
+ requestId: 'string',
10762
+ success: 'boolean',
10763
+ timeCost: 'number',
10764
+ };
10765
+ }
10766
+
10767
+ constructor(map?: { [key: string]: any }) {
10768
+ super(map);
10769
+ }
10770
+ }
10771
+
10772
+ export class ListImageAnalysisRuleProjectResponse extends $tea.Model {
10773
+ headers: { [key: string]: string };
10774
+ body: ListImageAnalysisRuleProjectResponseBody;
10775
+ static names(): { [key: string]: string } {
10776
+ return {
10777
+ headers: 'headers',
10778
+ body: 'body',
10779
+ };
10780
+ }
10781
+
10782
+ static types(): { [key: string]: any } {
10783
+ return {
10784
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10785
+ body: ListImageAnalysisRuleProjectResponseBody,
10786
+ };
10787
+ }
10788
+
10789
+ constructor(map?: { [key: string]: any }) {
10790
+ super(map);
10791
+ }
10792
+ }
10793
+
10461
10794
  export class ModifyAntiBruteForceRuleRequest extends $tea.Model {
10462
10795
  defaultRule?: boolean;
10463
10796
  failCount?: number;
@@ -12559,19 +12892,109 @@ export class OperationSuspEventsResponse extends $tea.Model {
12559
12892
  }
12560
12893
  }
12561
12894
 
12562
- export class PauseClientRequest extends $tea.Model {
12563
- uuids?: string;
12564
- value?: string;
12895
+ export class PageImageRegistryRequest extends $tea.Model {
12896
+ currentPage?: number;
12897
+ pageSize?: number;
12898
+ registryNameLike?: string;
12899
+ registryTypeInList?: string[];
12900
+ registryTypeNotInList?: string[];
12901
+ sourceIp?: string;
12565
12902
  static names(): { [key: string]: string } {
12566
12903
  return {
12567
- uuids: 'Uuids',
12568
- value: 'Value',
12904
+ currentPage: 'CurrentPage',
12905
+ pageSize: 'PageSize',
12906
+ registryNameLike: 'RegistryNameLike',
12907
+ registryTypeInList: 'RegistryTypeInList',
12908
+ registryTypeNotInList: 'RegistryTypeNotInList',
12909
+ sourceIp: 'SourceIp',
12569
12910
  };
12570
12911
  }
12571
12912
 
12572
12913
  static types(): { [key: string]: any } {
12573
12914
  return {
12574
- uuids: 'string',
12915
+ currentPage: 'number',
12916
+ pageSize: 'number',
12917
+ registryNameLike: 'string',
12918
+ registryTypeInList: { 'type': 'array', 'itemType': 'string' },
12919
+ registryTypeNotInList: { 'type': 'array', 'itemType': 'string' },
12920
+ sourceIp: 'string',
12921
+ };
12922
+ }
12923
+
12924
+ constructor(map?: { [key: string]: any }) {
12925
+ super(map);
12926
+ }
12927
+ }
12928
+
12929
+ export class PageImageRegistryResponseBody extends $tea.Model {
12930
+ code?: string;
12931
+ list?: PageImageRegistryResponseBodyList[];
12932
+ message?: string;
12933
+ pageInfo?: PageImageRegistryResponseBodyPageInfo;
12934
+ requestId?: string;
12935
+ success?: boolean;
12936
+ static names(): { [key: string]: string } {
12937
+ return {
12938
+ code: 'Code',
12939
+ list: 'List',
12940
+ message: 'Message',
12941
+ pageInfo: 'PageInfo',
12942
+ requestId: 'RequestId',
12943
+ success: 'Success',
12944
+ };
12945
+ }
12946
+
12947
+ static types(): { [key: string]: any } {
12948
+ return {
12949
+ code: 'string',
12950
+ list: { 'type': 'array', 'itemType': PageImageRegistryResponseBodyList },
12951
+ message: 'string',
12952
+ pageInfo: PageImageRegistryResponseBodyPageInfo,
12953
+ requestId: 'string',
12954
+ success: 'boolean',
12955
+ };
12956
+ }
12957
+
12958
+ constructor(map?: { [key: string]: any }) {
12959
+ super(map);
12960
+ }
12961
+ }
12962
+
12963
+ export class PageImageRegistryResponse extends $tea.Model {
12964
+ headers: { [key: string]: string };
12965
+ body: PageImageRegistryResponseBody;
12966
+ static names(): { [key: string]: string } {
12967
+ return {
12968
+ headers: 'headers',
12969
+ body: 'body',
12970
+ };
12971
+ }
12972
+
12973
+ static types(): { [key: string]: any } {
12974
+ return {
12975
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
12976
+ body: PageImageRegistryResponseBody,
12977
+ };
12978
+ }
12979
+
12980
+ constructor(map?: { [key: string]: any }) {
12981
+ super(map);
12982
+ }
12983
+ }
12984
+
12985
+ export class PauseClientRequest extends $tea.Model {
12986
+ uuids?: string;
12987
+ value?: string;
12988
+ static names(): { [key: string]: string } {
12989
+ return {
12990
+ uuids: 'Uuids',
12991
+ value: 'Value',
12992
+ };
12993
+ }
12994
+
12995
+ static types(): { [key: string]: any } {
12996
+ return {
12997
+ uuids: 'string',
12575
12998
  value: 'string',
12576
12999
  };
12577
13000
  }
@@ -12688,6 +13111,84 @@ export class QueryGroupIdByGroupNameResponse extends $tea.Model {
12688
13111
  }
12689
13112
  }
12690
13113
 
13114
+ export class QueryJenkinsImageRegistryPersistenceDayRequest extends $tea.Model {
13115
+ sourceIp?: string;
13116
+ static names(): { [key: string]: string } {
13117
+ return {
13118
+ sourceIp: 'SourceIp',
13119
+ };
13120
+ }
13121
+
13122
+ static types(): { [key: string]: any } {
13123
+ return {
13124
+ sourceIp: 'string',
13125
+ };
13126
+ }
13127
+
13128
+ constructor(map?: { [key: string]: any }) {
13129
+ super(map);
13130
+ }
13131
+ }
13132
+
13133
+ export class QueryJenkinsImageRegistryPersistenceDayResponseBody extends $tea.Model {
13134
+ code?: string;
13135
+ data?: number;
13136
+ httpStatusCode?: number;
13137
+ message?: string;
13138
+ requestId?: string;
13139
+ success?: boolean;
13140
+ timeCost?: number;
13141
+ static names(): { [key: string]: string } {
13142
+ return {
13143
+ code: 'Code',
13144
+ data: 'Data',
13145
+ httpStatusCode: 'HttpStatusCode',
13146
+ message: 'Message',
13147
+ requestId: 'RequestId',
13148
+ success: 'Success',
13149
+ timeCost: 'TimeCost',
13150
+ };
13151
+ }
13152
+
13153
+ static types(): { [key: string]: any } {
13154
+ return {
13155
+ code: 'string',
13156
+ data: 'number',
13157
+ httpStatusCode: 'number',
13158
+ message: 'string',
13159
+ requestId: 'string',
13160
+ success: 'boolean',
13161
+ timeCost: 'number',
13162
+ };
13163
+ }
13164
+
13165
+ constructor(map?: { [key: string]: any }) {
13166
+ super(map);
13167
+ }
13168
+ }
13169
+
13170
+ export class QueryJenkinsImageRegistryPersistenceDayResponse extends $tea.Model {
13171
+ headers: { [key: string]: string };
13172
+ body: QueryJenkinsImageRegistryPersistenceDayResponseBody;
13173
+ static names(): { [key: string]: string } {
13174
+ return {
13175
+ headers: 'headers',
13176
+ body: 'body',
13177
+ };
13178
+ }
13179
+
13180
+ static types(): { [key: string]: any } {
13181
+ return {
13182
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
13183
+ body: QueryJenkinsImageRegistryPersistenceDayResponseBody,
13184
+ };
13185
+ }
13186
+
13187
+ constructor(map?: { [key: string]: any }) {
13188
+ super(map);
13189
+ }
13190
+ }
13191
+
12691
13192
  export class RefreshAssetsRequest extends $tea.Model {
12692
13193
  assetType?: string;
12693
13194
  static names(): { [key: string]: string } {
@@ -13159,6 +13660,99 @@ export class StartVirusScanTaskResponse extends $tea.Model {
13159
13660
  }
13160
13661
  }
13161
13662
 
13663
+ export class SubmitImageAnalysisOutputRequest extends $tea.Model {
13664
+ body?: string;
13665
+ isCompress?: boolean;
13666
+ isEncrypt?: boolean;
13667
+ sourceIp?: string;
13668
+ taskId?: string;
13669
+ token?: string;
13670
+ type?: string;
13671
+ static names(): { [key: string]: string } {
13672
+ return {
13673
+ body: 'Body',
13674
+ isCompress: 'IsCompress',
13675
+ isEncrypt: 'IsEncrypt',
13676
+ sourceIp: 'SourceIp',
13677
+ taskId: 'TaskId',
13678
+ token: 'Token',
13679
+ type: 'Type',
13680
+ };
13681
+ }
13682
+
13683
+ static types(): { [key: string]: any } {
13684
+ return {
13685
+ body: 'string',
13686
+ isCompress: 'boolean',
13687
+ isEncrypt: 'boolean',
13688
+ sourceIp: 'string',
13689
+ taskId: 'string',
13690
+ token: 'string',
13691
+ type: 'string',
13692
+ };
13693
+ }
13694
+
13695
+ constructor(map?: { [key: string]: any }) {
13696
+ super(map);
13697
+ }
13698
+ }
13699
+
13700
+ export class SubmitImageAnalysisOutputResponseBody extends $tea.Model {
13701
+ code?: string;
13702
+ httpStatusCode?: number;
13703
+ message?: string;
13704
+ requestId?: string;
13705
+ success?: boolean;
13706
+ timeCost?: number;
13707
+ static names(): { [key: string]: string } {
13708
+ return {
13709
+ code: 'Code',
13710
+ httpStatusCode: 'HttpStatusCode',
13711
+ message: 'Message',
13712
+ requestId: 'RequestId',
13713
+ success: 'Success',
13714
+ timeCost: 'TimeCost',
13715
+ };
13716
+ }
13717
+
13718
+ static types(): { [key: string]: any } {
13719
+ return {
13720
+ code: 'string',
13721
+ httpStatusCode: 'number',
13722
+ message: 'string',
13723
+ requestId: 'string',
13724
+ success: 'boolean',
13725
+ timeCost: 'number',
13726
+ };
13727
+ }
13728
+
13729
+ constructor(map?: { [key: string]: any }) {
13730
+ super(map);
13731
+ }
13732
+ }
13733
+
13734
+ export class SubmitImageAnalysisOutputResponse extends $tea.Model {
13735
+ headers: { [key: string]: string };
13736
+ body: SubmitImageAnalysisOutputResponseBody;
13737
+ static names(): { [key: string]: string } {
13738
+ return {
13739
+ headers: 'headers',
13740
+ body: 'body',
13741
+ };
13742
+ }
13743
+
13744
+ static types(): { [key: string]: any } {
13745
+ return {
13746
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
13747
+ body: SubmitImageAnalysisOutputResponseBody,
13748
+ };
13749
+ }
13750
+
13751
+ constructor(map?: { [key: string]: any }) {
13752
+ super(map);
13753
+ }
13754
+ }
13755
+
13162
13756
  export class UnbindAegisRequest extends $tea.Model {
13163
13757
  uuids?: string;
13164
13758
  static names(): { [key: string]: string } {
@@ -13285,23 +13879,23 @@ export class UninstallBackupClientResponse extends $tea.Model {
13285
13879
  }
13286
13880
  }
13287
13881
 
13288
- export class ValidateHcWarningsRequest extends $tea.Model {
13289
- riskIds?: string;
13882
+ export class UpdateJenkinsImageRegistryNameRequest extends $tea.Model {
13883
+ registryId?: number;
13884
+ registryName?: string;
13290
13885
  sourceIp?: string;
13291
- uuids?: string;
13292
13886
  static names(): { [key: string]: string } {
13293
13887
  return {
13294
- riskIds: 'RiskIds',
13888
+ registryId: 'RegistryId',
13889
+ registryName: 'RegistryName',
13295
13890
  sourceIp: 'SourceIp',
13296
- uuids: 'Uuids',
13297
13891
  };
13298
13892
  }
13299
13893
 
13300
13894
  static types(): { [key: string]: any } {
13301
13895
  return {
13302
- riskIds: 'string',
13896
+ registryId: 'number',
13897
+ registryName: 'string',
13303
13898
  sourceIp: 'string',
13304
- uuids: 'string',
13305
13899
  };
13306
13900
  }
13307
13901
 
@@ -13310,17 +13904,403 @@ export class ValidateHcWarningsRequest extends $tea.Model {
13310
13904
  }
13311
13905
  }
13312
13906
 
13313
- export class ValidateHcWarningsResponseBody extends $tea.Model {
13907
+ export class UpdateJenkinsImageRegistryNameResponseBody extends $tea.Model {
13908
+ code?: string;
13909
+ data?: boolean;
13910
+ httpStatusCode?: number;
13911
+ message?: string;
13314
13912
  requestId?: string;
13913
+ success?: boolean;
13914
+ timeCost?: number;
13315
13915
  static names(): { [key: string]: string } {
13316
13916
  return {
13917
+ code: 'Code',
13918
+ data: 'Data',
13919
+ httpStatusCode: 'HttpStatusCode',
13920
+ message: 'Message',
13317
13921
  requestId: 'RequestId',
13922
+ success: 'Success',
13923
+ timeCost: 'TimeCost',
13924
+ };
13925
+ }
13926
+
13927
+ static types(): { [key: string]: any } {
13928
+ return {
13929
+ code: 'string',
13930
+ data: 'boolean',
13931
+ httpStatusCode: 'number',
13932
+ message: 'string',
13933
+ requestId: 'string',
13934
+ success: 'boolean',
13935
+ timeCost: 'number',
13936
+ };
13937
+ }
13938
+
13939
+ constructor(map?: { [key: string]: any }) {
13940
+ super(map);
13941
+ }
13942
+ }
13943
+
13944
+ export class UpdateJenkinsImageRegistryNameResponse extends $tea.Model {
13945
+ headers: { [key: string]: string };
13946
+ body: UpdateJenkinsImageRegistryNameResponseBody;
13947
+ static names(): { [key: string]: string } {
13948
+ return {
13949
+ headers: 'headers',
13950
+ body: 'body',
13951
+ };
13952
+ }
13953
+
13954
+ static types(): { [key: string]: any } {
13955
+ return {
13956
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
13957
+ body: UpdateJenkinsImageRegistryNameResponseBody,
13958
+ };
13959
+ }
13960
+
13961
+ constructor(map?: { [key: string]: any }) {
13962
+ super(map);
13963
+ }
13964
+ }
13965
+
13966
+ export class UpdateJenkinsImageRegistryPersistenceDayRequest extends $tea.Model {
13967
+ persistenceDay?: number;
13968
+ registryId?: number;
13969
+ sourceIp?: string;
13970
+ static names(): { [key: string]: string } {
13971
+ return {
13972
+ persistenceDay: 'PersistenceDay',
13973
+ registryId: 'RegistryId',
13974
+ sourceIp: 'SourceIp',
13975
+ };
13976
+ }
13977
+
13978
+ static types(): { [key: string]: any } {
13979
+ return {
13980
+ persistenceDay: 'number',
13981
+ registryId: 'number',
13982
+ sourceIp: 'string',
13983
+ };
13984
+ }
13985
+
13986
+ constructor(map?: { [key: string]: any }) {
13987
+ super(map);
13988
+ }
13989
+ }
13990
+
13991
+ export class UpdateJenkinsImageRegistryPersistenceDayResponseBody extends $tea.Model {
13992
+ code?: string;
13993
+ data?: boolean;
13994
+ httpStatusCode?: number;
13995
+ message?: string;
13996
+ requestId?: string;
13997
+ success?: boolean;
13998
+ timeCost?: number;
13999
+ static names(): { [key: string]: string } {
14000
+ return {
14001
+ code: 'Code',
14002
+ data: 'Data',
14003
+ httpStatusCode: 'HttpStatusCode',
14004
+ message: 'Message',
14005
+ requestId: 'RequestId',
14006
+ success: 'Success',
14007
+ timeCost: 'TimeCost',
14008
+ };
14009
+ }
14010
+
14011
+ static types(): { [key: string]: any } {
14012
+ return {
14013
+ code: 'string',
14014
+ data: 'boolean',
14015
+ httpStatusCode: 'number',
14016
+ message: 'string',
14017
+ requestId: 'string',
14018
+ success: 'boolean',
14019
+ timeCost: 'number',
14020
+ };
14021
+ }
14022
+
14023
+ constructor(map?: { [key: string]: any }) {
14024
+ super(map);
14025
+ }
14026
+ }
14027
+
14028
+ export class UpdateJenkinsImageRegistryPersistenceDayResponse extends $tea.Model {
14029
+ headers: { [key: string]: string };
14030
+ body: UpdateJenkinsImageRegistryPersistenceDayResponseBody;
14031
+ static names(): { [key: string]: string } {
14032
+ return {
14033
+ headers: 'headers',
14034
+ body: 'body',
14035
+ };
14036
+ }
14037
+
14038
+ static types(): { [key: string]: any } {
14039
+ return {
14040
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14041
+ body: UpdateJenkinsImageRegistryPersistenceDayResponseBody,
14042
+ };
14043
+ }
14044
+
14045
+ constructor(map?: { [key: string]: any }) {
14046
+ super(map);
14047
+ }
14048
+ }
14049
+
14050
+ export class UpdateJenkinsImageScanTaskStatusRequest extends $tea.Model {
14051
+ result?: string;
14052
+ sourceIp?: string;
14053
+ status?: string;
14054
+ taskId?: string;
14055
+ token?: string;
14056
+ static names(): { [key: string]: string } {
14057
+ return {
14058
+ result: 'Result',
14059
+ sourceIp: 'SourceIp',
14060
+ status: 'Status',
14061
+ taskId: 'TaskId',
14062
+ token: 'Token',
14063
+ };
14064
+ }
14065
+
14066
+ static types(): { [key: string]: any } {
14067
+ return {
14068
+ result: 'string',
14069
+ sourceIp: 'string',
14070
+ status: 'string',
14071
+ taskId: 'string',
14072
+ token: 'string',
14073
+ };
14074
+ }
14075
+
14076
+ constructor(map?: { [key: string]: any }) {
14077
+ super(map);
14078
+ }
14079
+ }
14080
+
14081
+ export class UpdateJenkinsImageScanTaskStatusResponseBody extends $tea.Model {
14082
+ code?: string;
14083
+ httpStatusCode?: number;
14084
+ message?: string;
14085
+ requestId?: string;
14086
+ success?: boolean;
14087
+ timeCost?: number;
14088
+ static names(): { [key: string]: string } {
14089
+ return {
14090
+ code: 'Code',
14091
+ httpStatusCode: 'HttpStatusCode',
14092
+ message: 'Message',
14093
+ requestId: 'RequestId',
14094
+ success: 'Success',
14095
+ timeCost: 'TimeCost',
14096
+ };
14097
+ }
14098
+
14099
+ static types(): { [key: string]: any } {
14100
+ return {
14101
+ code: 'string',
14102
+ httpStatusCode: 'number',
14103
+ message: 'string',
14104
+ requestId: 'string',
14105
+ success: 'boolean',
14106
+ timeCost: 'number',
14107
+ };
14108
+ }
14109
+
14110
+ constructor(map?: { [key: string]: any }) {
14111
+ super(map);
14112
+ }
14113
+ }
14114
+
14115
+ export class UpdateJenkinsImageScanTaskStatusResponse extends $tea.Model {
14116
+ headers: { [key: string]: string };
14117
+ body: UpdateJenkinsImageScanTaskStatusResponseBody;
14118
+ static names(): { [key: string]: string } {
14119
+ return {
14120
+ headers: 'headers',
14121
+ body: 'body',
14122
+ };
14123
+ }
14124
+
14125
+ static types(): { [key: string]: any } {
14126
+ return {
14127
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14128
+ body: UpdateJenkinsImageScanTaskStatusResponseBody,
14129
+ };
14130
+ }
14131
+
14132
+ constructor(map?: { [key: string]: any }) {
14133
+ super(map);
14134
+ }
14135
+ }
14136
+
14137
+ export class UploadAnalyzerRuntimeLogRequest extends $tea.Model {
14138
+ content?: string;
14139
+ extendedContent?: { [key: string]: any };
14140
+ level?: string;
14141
+ sourceIp?: string;
14142
+ taskId?: string;
14143
+ token?: string;
14144
+ static names(): { [key: string]: string } {
14145
+ return {
14146
+ content: 'Content',
14147
+ extendedContent: 'ExtendedContent',
14148
+ level: 'Level',
14149
+ sourceIp: 'SourceIp',
14150
+ taskId: 'TaskId',
14151
+ token: 'Token',
14152
+ };
14153
+ }
14154
+
14155
+ static types(): { [key: string]: any } {
14156
+ return {
14157
+ content: 'string',
14158
+ extendedContent: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
14159
+ level: 'string',
14160
+ sourceIp: 'string',
14161
+ taskId: 'string',
14162
+ token: 'string',
14163
+ };
14164
+ }
14165
+
14166
+ constructor(map?: { [key: string]: any }) {
14167
+ super(map);
14168
+ }
14169
+ }
14170
+
14171
+ export class UploadAnalyzerRuntimeLogResponseBody extends $tea.Model {
14172
+ code?: string;
14173
+ httpStatusCode?: number;
14174
+ message?: string;
14175
+ requestId?: string;
14176
+ success?: boolean;
14177
+ timeCost?: number;
14178
+ static names(): { [key: string]: string } {
14179
+ return {
14180
+ code: 'Code',
14181
+ httpStatusCode: 'HttpStatusCode',
14182
+ message: 'Message',
14183
+ requestId: 'RequestId',
14184
+ success: 'Success',
14185
+ timeCost: 'TimeCost',
14186
+ };
14187
+ }
14188
+
14189
+ static types(): { [key: string]: any } {
14190
+ return {
14191
+ code: 'string',
14192
+ httpStatusCode: 'number',
14193
+ message: 'string',
14194
+ requestId: 'string',
14195
+ success: 'boolean',
14196
+ timeCost: 'number',
14197
+ };
14198
+ }
14199
+
14200
+ constructor(map?: { [key: string]: any }) {
14201
+ super(map);
14202
+ }
14203
+ }
14204
+
14205
+ export class UploadAnalyzerRuntimeLogResponse extends $tea.Model {
14206
+ headers: { [key: string]: string };
14207
+ body: UploadAnalyzerRuntimeLogResponseBody;
14208
+ static names(): { [key: string]: string } {
14209
+ return {
14210
+ headers: 'headers',
14211
+ body: 'body',
14212
+ };
14213
+ }
14214
+
14215
+ static types(): { [key: string]: any } {
14216
+ return {
14217
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14218
+ body: UploadAnalyzerRuntimeLogResponseBody,
14219
+ };
14220
+ }
14221
+
14222
+ constructor(map?: { [key: string]: any }) {
14223
+ super(map);
14224
+ }
14225
+ }
14226
+
14227
+ export class ValidateHcWarningsRequest extends $tea.Model {
14228
+ riskIds?: string;
14229
+ sourceIp?: string;
14230
+ uuids?: string;
14231
+ static names(): { [key: string]: string } {
14232
+ return {
14233
+ riskIds: 'RiskIds',
14234
+ sourceIp: 'SourceIp',
14235
+ uuids: 'Uuids',
14236
+ };
14237
+ }
14238
+
14239
+ static types(): { [key: string]: any } {
14240
+ return {
14241
+ riskIds: 'string',
14242
+ sourceIp: 'string',
14243
+ uuids: 'string',
14244
+ };
14245
+ }
14246
+
14247
+ constructor(map?: { [key: string]: any }) {
14248
+ super(map);
14249
+ }
14250
+ }
14251
+
14252
+ export class ValidateHcWarningsResponseBody extends $tea.Model {
14253
+ requestId?: string;
14254
+ static names(): { [key: string]: string } {
14255
+ return {
14256
+ requestId: 'RequestId',
14257
+ };
14258
+ }
14259
+
14260
+ static types(): { [key: string]: any } {
14261
+ return {
14262
+ requestId: 'string',
14263
+ };
14264
+ }
14265
+
14266
+ constructor(map?: { [key: string]: any }) {
14267
+ super(map);
14268
+ }
14269
+ }
14270
+
14271
+ export class ValidateHcWarningsResponse extends $tea.Model {
14272
+ headers: { [key: string]: string };
14273
+ body: ValidateHcWarningsResponseBody;
14274
+ static names(): { [key: string]: string } {
14275
+ return {
14276
+ headers: 'headers',
14277
+ body: 'body',
14278
+ };
14279
+ }
14280
+
14281
+ static types(): { [key: string]: any } {
14282
+ return {
14283
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14284
+ body: ValidateHcWarningsResponseBody,
14285
+ };
14286
+ }
14287
+
14288
+ constructor(map?: { [key: string]: any }) {
14289
+ super(map);
14290
+ }
14291
+ }
14292
+
14293
+ export class CreateAntiBruteForceRuleResponseBodyCreateAntiBruteForceRule extends $tea.Model {
14294
+ ruleId?: number;
14295
+ static names(): { [key: string]: string } {
14296
+ return {
14297
+ ruleId: 'RuleId',
13318
14298
  };
13319
14299
  }
13320
14300
 
13321
14301
  static types(): { [key: string]: any } {
13322
14302
  return {
13323
- requestId: 'string',
14303
+ ruleId: 'number',
13324
14304
  };
13325
14305
  }
13326
14306
 
@@ -13329,20 +14309,71 @@ export class ValidateHcWarningsResponseBody extends $tea.Model {
13329
14309
  }
13330
14310
  }
13331
14311
 
13332
- export class ValidateHcWarningsResponse extends $tea.Model {
13333
- headers: { [key: string]: string };
13334
- body: ValidateHcWarningsResponseBody;
14312
+ export class CreateJenkinsImageRegistryResponseBodyData extends $tea.Model {
14313
+ aliUid?: number;
14314
+ blackList?: string;
14315
+ domainName?: string;
14316
+ gmtCreate?: string;
14317
+ gmtModified?: string;
14318
+ id?: number;
14319
+ netType?: number;
14320
+ password?: string;
14321
+ persistenceDay?: number;
14322
+ protocolType?: number;
14323
+ regionId?: string;
14324
+ registryHostIp?: string;
14325
+ registryName?: string;
14326
+ registryType?: string;
14327
+ token?: string;
14328
+ transPerHour?: number;
14329
+ userName?: string;
14330
+ vpcId?: string;
14331
+ whiteList?: string;
13335
14332
  static names(): { [key: string]: string } {
13336
14333
  return {
13337
- headers: 'headers',
13338
- body: 'body',
14334
+ aliUid: 'AliUid',
14335
+ blackList: 'BlackList',
14336
+ domainName: 'DomainName',
14337
+ gmtCreate: 'GmtCreate',
14338
+ gmtModified: 'GmtModified',
14339
+ id: 'Id',
14340
+ netType: 'NetType',
14341
+ password: 'Password',
14342
+ persistenceDay: 'PersistenceDay',
14343
+ protocolType: 'ProtocolType',
14344
+ regionId: 'RegionId',
14345
+ registryHostIp: 'RegistryHostIp',
14346
+ registryName: 'RegistryName',
14347
+ registryType: 'RegistryType',
14348
+ token: 'Token',
14349
+ transPerHour: 'TransPerHour',
14350
+ userName: 'UserName',
14351
+ vpcId: 'VpcId',
14352
+ whiteList: 'WhiteList',
13339
14353
  };
13340
14354
  }
13341
14355
 
13342
14356
  static types(): { [key: string]: any } {
13343
14357
  return {
13344
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
13345
- body: ValidateHcWarningsResponseBody,
14358
+ aliUid: 'number',
14359
+ blackList: 'string',
14360
+ domainName: 'string',
14361
+ gmtCreate: 'string',
14362
+ gmtModified: 'string',
14363
+ id: 'number',
14364
+ netType: 'number',
14365
+ password: 'string',
14366
+ persistenceDay: 'number',
14367
+ protocolType: 'number',
14368
+ regionId: 'string',
14369
+ registryHostIp: 'string',
14370
+ registryName: 'string',
14371
+ registryType: 'string',
14372
+ token: 'string',
14373
+ transPerHour: 'number',
14374
+ userName: 'string',
14375
+ vpcId: 'string',
14376
+ whiteList: 'string',
13346
14377
  };
13347
14378
  }
13348
14379
 
@@ -13351,17 +14382,32 @@ export class ValidateHcWarningsResponse extends $tea.Model {
13351
14382
  }
13352
14383
  }
13353
14384
 
13354
- export class CreateAntiBruteForceRuleResponseBodyCreateAntiBruteForceRule extends $tea.Model {
13355
- ruleId?: number;
14385
+ export class CreateJenkinsImageScanTaskResponseBodyData extends $tea.Model {
14386
+ imageScanCapacity?: number;
14387
+ repoId?: string;
14388
+ repoInstanceId?: string;
14389
+ repoRegionId?: string;
14390
+ taskId?: string;
14391
+ uuid?: string;
13356
14392
  static names(): { [key: string]: string } {
13357
14393
  return {
13358
- ruleId: 'RuleId',
14394
+ imageScanCapacity: 'ImageScanCapacity',
14395
+ repoId: 'RepoId',
14396
+ repoInstanceId: 'RepoInstanceId',
14397
+ repoRegionId: 'RepoRegionId',
14398
+ taskId: 'TaskId',
14399
+ uuid: 'Uuid',
13359
14400
  };
13360
14401
  }
13361
14402
 
13362
14403
  static types(): { [key: string]: any } {
13363
14404
  return {
13364
- ruleId: 'number',
14405
+ imageScanCapacity: 'number',
14406
+ repoId: 'string',
14407
+ repoInstanceId: 'string',
14408
+ repoRegionId: 'string',
14409
+ taskId: 'string',
14410
+ uuid: 'string',
13365
14411
  };
13366
14412
  }
13367
14413
 
@@ -19301,6 +20347,49 @@ export class HandleSecurityEventsResponseBodyHandleSecurityEventsResponse extend
19301
20347
  }
19302
20348
  }
19303
20349
 
20350
+ export class ListImageAnalysisRuleProjectResponseBodyData extends $tea.Model {
20351
+ content?: string;
20352
+ isCompress?: boolean;
20353
+ isEncrypt?: boolean;
20354
+ name?: string;
20355
+ outputConfig?: string;
20356
+ outputHandler?: string;
20357
+ project?: string;
20358
+ status?: number;
20359
+ version?: string;
20360
+ static names(): { [key: string]: string } {
20361
+ return {
20362
+ content: 'Content',
20363
+ isCompress: 'IsCompress',
20364
+ isEncrypt: 'IsEncrypt',
20365
+ name: 'Name',
20366
+ outputConfig: 'OutputConfig',
20367
+ outputHandler: 'OutputHandler',
20368
+ project: 'Project',
20369
+ status: 'Status',
20370
+ version: 'Version',
20371
+ };
20372
+ }
20373
+
20374
+ static types(): { [key: string]: any } {
20375
+ return {
20376
+ content: 'string',
20377
+ isCompress: 'boolean',
20378
+ isEncrypt: 'boolean',
20379
+ name: 'string',
20380
+ outputConfig: 'string',
20381
+ outputHandler: 'string',
20382
+ project: 'string',
20383
+ status: 'number',
20384
+ version: 'string',
20385
+ };
20386
+ }
20387
+
20388
+ constructor(map?: { [key: string]: any }) {
20389
+ super(map);
20390
+ }
20391
+ }
20392
+
19304
20393
  export class ModifyPushAllTaskResponseBodyPushTaskRspPushTaskResultList extends $tea.Model {
19305
20394
  groupId?: number;
19306
20395
  instanceId?: string;
@@ -19391,6 +20480,113 @@ export class OperateAgentClientInstallResponseBodyAegisCelintInstallResposeList
19391
20480
  }
19392
20481
  }
19393
20482
 
20483
+ export class PageImageRegistryResponseBodyList extends $tea.Model {
20484
+ aliUid?: number;
20485
+ blackList?: string;
20486
+ domainName?: string;
20487
+ gmtCreate?: string;
20488
+ gmtModified?: string;
20489
+ id?: number;
20490
+ imageCount?: number;
20491
+ jenkinsEnv?: string;
20492
+ netType?: number;
20493
+ password?: string;
20494
+ persistenceDay?: number;
20495
+ protocolType?: number;
20496
+ regionId?: string;
20497
+ registryHostIp?: string;
20498
+ registryName?: string;
20499
+ registryType?: string;
20500
+ token?: string;
20501
+ transPerHour?: number;
20502
+ userName?: string;
20503
+ vpcId?: string;
20504
+ whiteList?: string;
20505
+ static names(): { [key: string]: string } {
20506
+ return {
20507
+ aliUid: 'AliUid',
20508
+ blackList: 'BlackList',
20509
+ domainName: 'DomainName',
20510
+ gmtCreate: 'GmtCreate',
20511
+ gmtModified: 'GmtModified',
20512
+ id: 'Id',
20513
+ imageCount: 'ImageCount',
20514
+ jenkinsEnv: 'JenkinsEnv',
20515
+ netType: 'NetType',
20516
+ password: 'Password',
20517
+ persistenceDay: 'PersistenceDay',
20518
+ protocolType: 'ProtocolType',
20519
+ regionId: 'RegionId',
20520
+ registryHostIp: 'RegistryHostIp',
20521
+ registryName: 'RegistryName',
20522
+ registryType: 'RegistryType',
20523
+ token: 'Token',
20524
+ transPerHour: 'TransPerHour',
20525
+ userName: 'UserName',
20526
+ vpcId: 'VpcId',
20527
+ whiteList: 'WhiteList',
20528
+ };
20529
+ }
20530
+
20531
+ static types(): { [key: string]: any } {
20532
+ return {
20533
+ aliUid: 'number',
20534
+ blackList: 'string',
20535
+ domainName: 'string',
20536
+ gmtCreate: 'string',
20537
+ gmtModified: 'string',
20538
+ id: 'number',
20539
+ imageCount: 'number',
20540
+ jenkinsEnv: 'string',
20541
+ netType: 'number',
20542
+ password: 'string',
20543
+ persistenceDay: 'number',
20544
+ protocolType: 'number',
20545
+ regionId: 'string',
20546
+ registryHostIp: 'string',
20547
+ registryName: 'string',
20548
+ registryType: 'string',
20549
+ token: 'string',
20550
+ transPerHour: 'number',
20551
+ userName: 'string',
20552
+ vpcId: 'string',
20553
+ whiteList: 'string',
20554
+ };
20555
+ }
20556
+
20557
+ constructor(map?: { [key: string]: any }) {
20558
+ super(map);
20559
+ }
20560
+ }
20561
+
20562
+ export class PageImageRegistryResponseBodyPageInfo extends $tea.Model {
20563
+ count?: number;
20564
+ currentPage?: number;
20565
+ pageSize?: number;
20566
+ totalCount?: number;
20567
+ static names(): { [key: string]: string } {
20568
+ return {
20569
+ count: 'Count',
20570
+ currentPage: 'CurrentPage',
20571
+ pageSize: 'PageSize',
20572
+ totalCount: 'TotalCount',
20573
+ };
20574
+ }
20575
+
20576
+ static types(): { [key: string]: any } {
20577
+ return {
20578
+ count: 'number',
20579
+ currentPage: 'number',
20580
+ pageSize: 'number',
20581
+ totalCount: 'number',
20582
+ };
20583
+ }
20584
+
20585
+ constructor(map?: { [key: string]: any }) {
20586
+ super(map);
20587
+ }
20588
+ }
20589
+
19394
20590
 
19395
20591
  export default class Client extends OpenApi {
19396
20592
 
@@ -19639,12 +20835,178 @@ export default class Client extends OpenApi {
19639
20835
  reqBodyType: "formData",
19640
20836
  bodyType: "json",
19641
20837
  });
19642
- return $tea.cast<CreateBackupPolicyResponse>(await this.callApi(params, req, runtime), new CreateBackupPolicyResponse({}));
20838
+ return $tea.cast<CreateBackupPolicyResponse>(await this.callApi(params, req, runtime), new CreateBackupPolicyResponse({}));
20839
+ }
20840
+
20841
+ async createBackupPolicy(request: CreateBackupPolicyRequest): Promise<CreateBackupPolicyResponse> {
20842
+ let runtime = new $Util.RuntimeOptions({ });
20843
+ return await this.createBackupPolicyWithOptions(request, runtime);
20844
+ }
20845
+
20846
+ async createJenkinsImageRegistryWithOptions(request: CreateJenkinsImageRegistryRequest, runtime: $Util.RuntimeOptions): Promise<CreateJenkinsImageRegistryResponse> {
20847
+ Util.validateModel(request);
20848
+ let query = { };
20849
+ if (!Util.isUnset(request.sourceIp)) {
20850
+ query["SourceIp"] = request.sourceIp;
20851
+ }
20852
+
20853
+ let body : {[key: string ]: any} = { };
20854
+ if (!Util.isUnset(request.domainName)) {
20855
+ body["DomainName"] = request.domainName;
20856
+ }
20857
+
20858
+ if (!Util.isUnset(request.extraParam)) {
20859
+ body["ExtraParam"] = request.extraParam;
20860
+ }
20861
+
20862
+ if (!Util.isUnset(request.netType)) {
20863
+ body["NetType"] = request.netType;
20864
+ }
20865
+
20866
+ if (!Util.isUnset(request.password)) {
20867
+ body["Password"] = request.password;
20868
+ }
20869
+
20870
+ if (!Util.isUnset(request.persistenceDay)) {
20871
+ body["PersistenceDay"] = request.persistenceDay;
20872
+ }
20873
+
20874
+ if (!Util.isUnset(request.protocolType)) {
20875
+ body["ProtocolType"] = request.protocolType;
20876
+ }
20877
+
20878
+ if (!Util.isUnset(request.regionId)) {
20879
+ body["RegionId"] = request.regionId;
20880
+ }
20881
+
20882
+ if (!Util.isUnset(request.registryHostIp)) {
20883
+ body["RegistryHostIp"] = request.registryHostIp;
20884
+ }
20885
+
20886
+ if (!Util.isUnset(request.registryName)) {
20887
+ body["RegistryName"] = request.registryName;
20888
+ }
20889
+
20890
+ if (!Util.isUnset(request.registryType)) {
20891
+ body["RegistryType"] = request.registryType;
20892
+ }
20893
+
20894
+ if (!Util.isUnset(request.registryVersion)) {
20895
+ body["RegistryVersion"] = request.registryVersion;
20896
+ }
20897
+
20898
+ if (!Util.isUnset(request.transPerHour)) {
20899
+ body["TransPerHour"] = request.transPerHour;
20900
+ }
20901
+
20902
+ if (!Util.isUnset(request.userName)) {
20903
+ body["UserName"] = request.userName;
20904
+ }
20905
+
20906
+ if (!Util.isUnset(request.vpcId)) {
20907
+ body["VpcId"] = request.vpcId;
20908
+ }
20909
+
20910
+ if (!Util.isUnset(request.whiteList)) {
20911
+ body["WhiteList"] = request.whiteList;
20912
+ }
20913
+
20914
+ let req = new $OpenApi.OpenApiRequest({
20915
+ query: OpenApiUtil.query(query),
20916
+ body: OpenApiUtil.parseToMap(body),
20917
+ });
20918
+ let params = new $OpenApi.Params({
20919
+ action: "CreateJenkinsImageRegistry",
20920
+ version: "2018-12-03",
20921
+ protocol: "HTTPS",
20922
+ pathname: "/",
20923
+ method: "POST",
20924
+ authType: "AK",
20925
+ style: "RPC",
20926
+ reqBodyType: "formData",
20927
+ bodyType: "json",
20928
+ });
20929
+ return $tea.cast<CreateJenkinsImageRegistryResponse>(await this.callApi(params, req, runtime), new CreateJenkinsImageRegistryResponse({}));
20930
+ }
20931
+
20932
+ async createJenkinsImageRegistry(request: CreateJenkinsImageRegistryRequest): Promise<CreateJenkinsImageRegistryResponse> {
20933
+ let runtime = new $Util.RuntimeOptions({ });
20934
+ return await this.createJenkinsImageRegistryWithOptions(request, runtime);
20935
+ }
20936
+
20937
+ async createJenkinsImageScanTaskWithOptions(request: CreateJenkinsImageScanTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateJenkinsImageScanTaskResponse> {
20938
+ Util.validateModel(request);
20939
+ let query = { };
20940
+ if (!Util.isUnset(request.jenkinsEnv)) {
20941
+ query["JenkinsEnv"] = request.jenkinsEnv;
20942
+ }
20943
+
20944
+ if (!Util.isUnset(request.sourceIp)) {
20945
+ query["SourceIp"] = request.sourceIp;
20946
+ }
20947
+
20948
+ let body : {[key: string ]: any} = { };
20949
+ if (!Util.isUnset(request.digest)) {
20950
+ body["Digest"] = request.digest;
20951
+ }
20952
+
20953
+ if (!Util.isUnset(request.imageCreate)) {
20954
+ body["ImageCreate"] = request.imageCreate;
20955
+ }
20956
+
20957
+ if (!Util.isUnset(request.imageId)) {
20958
+ body["ImageId"] = request.imageId;
20959
+ }
20960
+
20961
+ if (!Util.isUnset(request.imageSize)) {
20962
+ body["ImageSize"] = request.imageSize;
20963
+ }
20964
+
20965
+ if (!Util.isUnset(request.imageUpdate)) {
20966
+ body["ImageUpdate"] = request.imageUpdate;
20967
+ }
20968
+
20969
+ if (!Util.isUnset(request.namespace)) {
20970
+ body["Namespace"] = request.namespace;
20971
+ }
20972
+
20973
+ if (!Util.isUnset(request.repoName)) {
20974
+ body["RepoName"] = request.repoName;
20975
+ }
20976
+
20977
+ if (!Util.isUnset(request.tag)) {
20978
+ body["Tag"] = request.tag;
20979
+ }
20980
+
20981
+ if (!Util.isUnset(request.token)) {
20982
+ body["Token"] = request.token;
20983
+ }
20984
+
20985
+ if (!Util.isUnset(request.uuid)) {
20986
+ body["Uuid"] = request.uuid;
20987
+ }
20988
+
20989
+ let req = new $OpenApi.OpenApiRequest({
20990
+ query: OpenApiUtil.query(query),
20991
+ body: OpenApiUtil.parseToMap(body),
20992
+ });
20993
+ let params = new $OpenApi.Params({
20994
+ action: "CreateJenkinsImageScanTask",
20995
+ version: "2018-12-03",
20996
+ protocol: "HTTPS",
20997
+ pathname: "/",
20998
+ method: "POST",
20999
+ authType: "AK",
21000
+ style: "RPC",
21001
+ reqBodyType: "formData",
21002
+ bodyType: "json",
21003
+ });
21004
+ return $tea.cast<CreateJenkinsImageScanTaskResponse>(await this.callApi(params, req, runtime), new CreateJenkinsImageScanTaskResponse({}));
19643
21005
  }
19644
21006
 
19645
- async createBackupPolicy(request: CreateBackupPolicyRequest): Promise<CreateBackupPolicyResponse> {
21007
+ async createJenkinsImageScanTask(request: CreateJenkinsImageScanTaskRequest): Promise<CreateJenkinsImageScanTaskResponse> {
19646
21008
  let runtime = new $Util.RuntimeOptions({ });
19647
- return await this.createBackupPolicyWithOptions(request, runtime);
21009
+ return await this.createJenkinsImageScanTaskWithOptions(request, runtime);
19648
21010
  }
19649
21011
 
19650
21012
  async createOrUpdateAssetGroupWithOptions(request: CreateOrUpdateAssetGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateOrUpdateAssetGroupResponse> {
@@ -25144,6 +26506,45 @@ export default class Client extends OpenApi {
25144
26506
  return await this.installBackupClientWithOptions(request, runtime);
25145
26507
  }
25146
26508
 
26509
+ async listImageAnalysisRuleProjectWithOptions(request: ListImageAnalysisRuleProjectRequest, runtime: $Util.RuntimeOptions): Promise<ListImageAnalysisRuleProjectResponse> {
26510
+ Util.validateModel(request);
26511
+ let query = { };
26512
+ if (!Util.isUnset(request.sourceIp)) {
26513
+ query["SourceIp"] = request.sourceIp;
26514
+ }
26515
+
26516
+ let body : {[key: string ]: any} = { };
26517
+ if (!Util.isUnset(request.taskId)) {
26518
+ body["TaskId"] = request.taskId;
26519
+ }
26520
+
26521
+ if (!Util.isUnset(request.token)) {
26522
+ body["Token"] = request.token;
26523
+ }
26524
+
26525
+ let req = new $OpenApi.OpenApiRequest({
26526
+ query: OpenApiUtil.query(query),
26527
+ body: OpenApiUtil.parseToMap(body),
26528
+ });
26529
+ let params = new $OpenApi.Params({
26530
+ action: "ListImageAnalysisRuleProject",
26531
+ version: "2018-12-03",
26532
+ protocol: "HTTPS",
26533
+ pathname: "/",
26534
+ method: "POST",
26535
+ authType: "AK",
26536
+ style: "RPC",
26537
+ reqBodyType: "formData",
26538
+ bodyType: "json",
26539
+ });
26540
+ return $tea.cast<ListImageAnalysisRuleProjectResponse>(await this.callApi(params, req, runtime), new ListImageAnalysisRuleProjectResponse({}));
26541
+ }
26542
+
26543
+ async listImageAnalysisRuleProject(request: ListImageAnalysisRuleProjectRequest): Promise<ListImageAnalysisRuleProjectResponse> {
26544
+ let runtime = new $Util.RuntimeOptions({ });
26545
+ return await this.listImageAnalysisRuleProjectWithOptions(request, runtime);
26546
+ }
26547
+
25147
26548
  async modifyAntiBruteForceRuleWithOptions(request: ModifyAntiBruteForceRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAntiBruteForceRuleResponse> {
25148
26549
  Util.validateModel(request);
25149
26550
  let query = { };
@@ -26411,6 +27812,57 @@ export default class Client extends OpenApi {
26411
27812
  return await this.operationSuspEventsWithOptions(request, runtime);
26412
27813
  }
26413
27814
 
27815
+ async pageImageRegistryWithOptions(request: PageImageRegistryRequest, runtime: $Util.RuntimeOptions): Promise<PageImageRegistryResponse> {
27816
+ Util.validateModel(request);
27817
+ let query = { };
27818
+ if (!Util.isUnset(request.sourceIp)) {
27819
+ query["SourceIp"] = request.sourceIp;
27820
+ }
27821
+
27822
+ let body : {[key: string ]: any} = { };
27823
+ if (!Util.isUnset(request.currentPage)) {
27824
+ body["CurrentPage"] = request.currentPage;
27825
+ }
27826
+
27827
+ if (!Util.isUnset(request.pageSize)) {
27828
+ body["PageSize"] = request.pageSize;
27829
+ }
27830
+
27831
+ if (!Util.isUnset(request.registryNameLike)) {
27832
+ body["RegistryNameLike"] = request.registryNameLike;
27833
+ }
27834
+
27835
+ if (!Util.isUnset(request.registryTypeInList)) {
27836
+ body["RegistryTypeInList"] = request.registryTypeInList;
27837
+ }
27838
+
27839
+ if (!Util.isUnset(request.registryTypeNotInList)) {
27840
+ body["RegistryTypeNotInList"] = request.registryTypeNotInList;
27841
+ }
27842
+
27843
+ let req = new $OpenApi.OpenApiRequest({
27844
+ query: OpenApiUtil.query(query),
27845
+ body: OpenApiUtil.parseToMap(body),
27846
+ });
27847
+ let params = new $OpenApi.Params({
27848
+ action: "PageImageRegistry",
27849
+ version: "2018-12-03",
27850
+ protocol: "HTTPS",
27851
+ pathname: "/",
27852
+ method: "POST",
27853
+ authType: "AK",
27854
+ style: "RPC",
27855
+ reqBodyType: "formData",
27856
+ bodyType: "json",
27857
+ });
27858
+ return $tea.cast<PageImageRegistryResponse>(await this.callApi(params, req, runtime), new PageImageRegistryResponse({}));
27859
+ }
27860
+
27861
+ async pageImageRegistry(request: PageImageRegistryRequest): Promise<PageImageRegistryResponse> {
27862
+ let runtime = new $Util.RuntimeOptions({ });
27863
+ return await this.pageImageRegistryWithOptions(request, runtime);
27864
+ }
27865
+
26414
27866
  async pauseClientWithOptions(request: PauseClientRequest, runtime: $Util.RuntimeOptions): Promise<PauseClientResponse> {
26415
27867
  Util.validateModel(request);
26416
27868
  let query = { };
@@ -26477,6 +27929,35 @@ export default class Client extends OpenApi {
26477
27929
  return await this.queryGroupIdByGroupNameWithOptions(request, runtime);
26478
27930
  }
26479
27931
 
27932
+ async queryJenkinsImageRegistryPersistenceDayWithOptions(request: QueryJenkinsImageRegistryPersistenceDayRequest, runtime: $Util.RuntimeOptions): Promise<QueryJenkinsImageRegistryPersistenceDayResponse> {
27933
+ Util.validateModel(request);
27934
+ let query = { };
27935
+ if (!Util.isUnset(request.sourceIp)) {
27936
+ query["SourceIp"] = request.sourceIp;
27937
+ }
27938
+
27939
+ let req = new $OpenApi.OpenApiRequest({
27940
+ query: OpenApiUtil.query(query),
27941
+ });
27942
+ let params = new $OpenApi.Params({
27943
+ action: "QueryJenkinsImageRegistryPersistenceDay",
27944
+ version: "2018-12-03",
27945
+ protocol: "HTTPS",
27946
+ pathname: "/",
27947
+ method: "POST",
27948
+ authType: "AK",
27949
+ style: "RPC",
27950
+ reqBodyType: "formData",
27951
+ bodyType: "json",
27952
+ });
27953
+ return $tea.cast<QueryJenkinsImageRegistryPersistenceDayResponse>(await this.callApi(params, req, runtime), new QueryJenkinsImageRegistryPersistenceDayResponse({}));
27954
+ }
27955
+
27956
+ async queryJenkinsImageRegistryPersistenceDay(request: QueryJenkinsImageRegistryPersistenceDayRequest): Promise<QueryJenkinsImageRegistryPersistenceDayResponse> {
27957
+ let runtime = new $Util.RuntimeOptions({ });
27958
+ return await this.queryJenkinsImageRegistryPersistenceDayWithOptions(request, runtime);
27959
+ }
27960
+
26480
27961
  async refreshAssetsWithOptions(request: RefreshAssetsRequest, runtime: $Util.RuntimeOptions): Promise<RefreshAssetsResponse> {
26481
27962
  Util.validateModel(request);
26482
27963
  let query = { };
@@ -26740,6 +28221,61 @@ export default class Client extends OpenApi {
26740
28221
  return await this.startVirusScanTaskWithOptions(request, runtime);
26741
28222
  }
26742
28223
 
28224
+ async submitImageAnalysisOutputWithOptions(request: SubmitImageAnalysisOutputRequest, runtime: $Util.RuntimeOptions): Promise<SubmitImageAnalysisOutputResponse> {
28225
+ Util.validateModel(request);
28226
+ let query = { };
28227
+ if (!Util.isUnset(request.sourceIp)) {
28228
+ query["SourceIp"] = request.sourceIp;
28229
+ }
28230
+
28231
+ let body : {[key: string ]: any} = { };
28232
+ if (!Util.isUnset(request.body)) {
28233
+ body["Body"] = request.body;
28234
+ }
28235
+
28236
+ if (!Util.isUnset(request.isCompress)) {
28237
+ body["IsCompress"] = request.isCompress;
28238
+ }
28239
+
28240
+ if (!Util.isUnset(request.isEncrypt)) {
28241
+ body["IsEncrypt"] = request.isEncrypt;
28242
+ }
28243
+
28244
+ if (!Util.isUnset(request.taskId)) {
28245
+ body["TaskId"] = request.taskId;
28246
+ }
28247
+
28248
+ if (!Util.isUnset(request.token)) {
28249
+ body["Token"] = request.token;
28250
+ }
28251
+
28252
+ if (!Util.isUnset(request.type)) {
28253
+ body["Type"] = request.type;
28254
+ }
28255
+
28256
+ let req = new $OpenApi.OpenApiRequest({
28257
+ query: OpenApiUtil.query(query),
28258
+ body: OpenApiUtil.parseToMap(body),
28259
+ });
28260
+ let params = new $OpenApi.Params({
28261
+ action: "SubmitImageAnalysisOutput",
28262
+ version: "2018-12-03",
28263
+ protocol: "HTTPS",
28264
+ pathname: "/",
28265
+ method: "POST",
28266
+ authType: "AK",
28267
+ style: "RPC",
28268
+ reqBodyType: "formData",
28269
+ bodyType: "json",
28270
+ });
28271
+ return $tea.cast<SubmitImageAnalysisOutputResponse>(await this.callApi(params, req, runtime), new SubmitImageAnalysisOutputResponse({}));
28272
+ }
28273
+
28274
+ async submitImageAnalysisOutput(request: SubmitImageAnalysisOutputRequest): Promise<SubmitImageAnalysisOutputResponse> {
28275
+ let runtime = new $Util.RuntimeOptions({ });
28276
+ return await this.submitImageAnalysisOutputWithOptions(request, runtime);
28277
+ }
28278
+
26743
28279
  async unbindAegisWithOptions(request: UnbindAegisRequest, runtime: $Util.RuntimeOptions): Promise<UnbindAegisResponse> {
26744
28280
  Util.validateModel(request);
26745
28281
  let query = { };
@@ -26806,6 +28342,187 @@ export default class Client extends OpenApi {
26806
28342
  return await this.uninstallBackupClientWithOptions(request, runtime);
26807
28343
  }
26808
28344
 
28345
+ async updateJenkinsImageRegistryNameWithOptions(request: UpdateJenkinsImageRegistryNameRequest, runtime: $Util.RuntimeOptions): Promise<UpdateJenkinsImageRegistryNameResponse> {
28346
+ Util.validateModel(request);
28347
+ let query = { };
28348
+ if (!Util.isUnset(request.sourceIp)) {
28349
+ query["SourceIp"] = request.sourceIp;
28350
+ }
28351
+
28352
+ let body : {[key: string ]: any} = { };
28353
+ if (!Util.isUnset(request.registryId)) {
28354
+ body["RegistryId"] = request.registryId;
28355
+ }
28356
+
28357
+ if (!Util.isUnset(request.registryName)) {
28358
+ body["RegistryName"] = request.registryName;
28359
+ }
28360
+
28361
+ let req = new $OpenApi.OpenApiRequest({
28362
+ query: OpenApiUtil.query(query),
28363
+ body: OpenApiUtil.parseToMap(body),
28364
+ });
28365
+ let params = new $OpenApi.Params({
28366
+ action: "UpdateJenkinsImageRegistryName",
28367
+ version: "2018-12-03",
28368
+ protocol: "HTTPS",
28369
+ pathname: "/",
28370
+ method: "POST",
28371
+ authType: "AK",
28372
+ style: "RPC",
28373
+ reqBodyType: "formData",
28374
+ bodyType: "json",
28375
+ });
28376
+ return $tea.cast<UpdateJenkinsImageRegistryNameResponse>(await this.callApi(params, req, runtime), new UpdateJenkinsImageRegistryNameResponse({}));
28377
+ }
28378
+
28379
+ async updateJenkinsImageRegistryName(request: UpdateJenkinsImageRegistryNameRequest): Promise<UpdateJenkinsImageRegistryNameResponse> {
28380
+ let runtime = new $Util.RuntimeOptions({ });
28381
+ return await this.updateJenkinsImageRegistryNameWithOptions(request, runtime);
28382
+ }
28383
+
28384
+ async updateJenkinsImageRegistryPersistenceDayWithOptions(request: UpdateJenkinsImageRegistryPersistenceDayRequest, runtime: $Util.RuntimeOptions): Promise<UpdateJenkinsImageRegistryPersistenceDayResponse> {
28385
+ Util.validateModel(request);
28386
+ let query = { };
28387
+ if (!Util.isUnset(request.sourceIp)) {
28388
+ query["SourceIp"] = request.sourceIp;
28389
+ }
28390
+
28391
+ let body : {[key: string ]: any} = { };
28392
+ if (!Util.isUnset(request.persistenceDay)) {
28393
+ body["PersistenceDay"] = request.persistenceDay;
28394
+ }
28395
+
28396
+ if (!Util.isUnset(request.registryId)) {
28397
+ body["RegistryId"] = request.registryId;
28398
+ }
28399
+
28400
+ let req = new $OpenApi.OpenApiRequest({
28401
+ query: OpenApiUtil.query(query),
28402
+ body: OpenApiUtil.parseToMap(body),
28403
+ });
28404
+ let params = new $OpenApi.Params({
28405
+ action: "UpdateJenkinsImageRegistryPersistenceDay",
28406
+ version: "2018-12-03",
28407
+ protocol: "HTTPS",
28408
+ pathname: "/",
28409
+ method: "POST",
28410
+ authType: "AK",
28411
+ style: "RPC",
28412
+ reqBodyType: "formData",
28413
+ bodyType: "json",
28414
+ });
28415
+ return $tea.cast<UpdateJenkinsImageRegistryPersistenceDayResponse>(await this.callApi(params, req, runtime), new UpdateJenkinsImageRegistryPersistenceDayResponse({}));
28416
+ }
28417
+
28418
+ async updateJenkinsImageRegistryPersistenceDay(request: UpdateJenkinsImageRegistryPersistenceDayRequest): Promise<UpdateJenkinsImageRegistryPersistenceDayResponse> {
28419
+ let runtime = new $Util.RuntimeOptions({ });
28420
+ return await this.updateJenkinsImageRegistryPersistenceDayWithOptions(request, runtime);
28421
+ }
28422
+
28423
+ async updateJenkinsImageScanTaskStatusWithOptions(request: UpdateJenkinsImageScanTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<UpdateJenkinsImageScanTaskStatusResponse> {
28424
+ Util.validateModel(request);
28425
+ let query = { };
28426
+ if (!Util.isUnset(request.sourceIp)) {
28427
+ query["SourceIp"] = request.sourceIp;
28428
+ }
28429
+
28430
+ let body : {[key: string ]: any} = { };
28431
+ if (!Util.isUnset(request.result)) {
28432
+ body["Result"] = request.result;
28433
+ }
28434
+
28435
+ if (!Util.isUnset(request.status)) {
28436
+ body["Status"] = request.status;
28437
+ }
28438
+
28439
+ if (!Util.isUnset(request.taskId)) {
28440
+ body["TaskId"] = request.taskId;
28441
+ }
28442
+
28443
+ if (!Util.isUnset(request.token)) {
28444
+ body["Token"] = request.token;
28445
+ }
28446
+
28447
+ let req = new $OpenApi.OpenApiRequest({
28448
+ query: OpenApiUtil.query(query),
28449
+ body: OpenApiUtil.parseToMap(body),
28450
+ });
28451
+ let params = new $OpenApi.Params({
28452
+ action: "UpdateJenkinsImageScanTaskStatus",
28453
+ version: "2018-12-03",
28454
+ protocol: "HTTPS",
28455
+ pathname: "/",
28456
+ method: "POST",
28457
+ authType: "AK",
28458
+ style: "RPC",
28459
+ reqBodyType: "formData",
28460
+ bodyType: "json",
28461
+ });
28462
+ return $tea.cast<UpdateJenkinsImageScanTaskStatusResponse>(await this.callApi(params, req, runtime), new UpdateJenkinsImageScanTaskStatusResponse({}));
28463
+ }
28464
+
28465
+ async updateJenkinsImageScanTaskStatus(request: UpdateJenkinsImageScanTaskStatusRequest): Promise<UpdateJenkinsImageScanTaskStatusResponse> {
28466
+ let runtime = new $Util.RuntimeOptions({ });
28467
+ return await this.updateJenkinsImageScanTaskStatusWithOptions(request, runtime);
28468
+ }
28469
+
28470
+ async uploadAnalyzerRuntimeLogWithOptions(request: UploadAnalyzerRuntimeLogRequest, runtime: $Util.RuntimeOptions): Promise<UploadAnalyzerRuntimeLogResponse> {
28471
+ Util.validateModel(request);
28472
+ let query = { };
28473
+ if (!Util.isUnset(request.sourceIp)) {
28474
+ query["SourceIp"] = request.sourceIp;
28475
+ }
28476
+
28477
+ let body : {[key: string ]: any} = { };
28478
+ if (!Util.isUnset(request.content)) {
28479
+ body["Content"] = request.content;
28480
+ }
28481
+
28482
+ let bodyFlat : {[key: string ]: any} = { };
28483
+ if (!Util.isUnset(request.extendedContent)) {
28484
+ bodyFlat["ExtendedContent"] = request.extendedContent;
28485
+ }
28486
+
28487
+ if (!Util.isUnset(request.level)) {
28488
+ body["Level"] = request.level;
28489
+ }
28490
+
28491
+ if (!Util.isUnset(request.taskId)) {
28492
+ body["TaskId"] = request.taskId;
28493
+ }
28494
+
28495
+ if (!Util.isUnset(request.token)) {
28496
+ body["Token"] = request.token;
28497
+ }
28498
+
28499
+ body = {
28500
+ ...body,
28501
+ ...OpenApiUtil.query(bodyFlat),
28502
+ };
28503
+ let req = new $OpenApi.OpenApiRequest({
28504
+ query: OpenApiUtil.query(query),
28505
+ body: OpenApiUtil.parseToMap(body),
28506
+ });
28507
+ let params = new $OpenApi.Params({
28508
+ action: "UploadAnalyzerRuntimeLog",
28509
+ version: "2018-12-03",
28510
+ protocol: "HTTPS",
28511
+ pathname: "/",
28512
+ method: "POST",
28513
+ authType: "AK",
28514
+ style: "RPC",
28515
+ reqBodyType: "formData",
28516
+ bodyType: "json",
28517
+ });
28518
+ return $tea.cast<UploadAnalyzerRuntimeLogResponse>(await this.callApi(params, req, runtime), new UploadAnalyzerRuntimeLogResponse({}));
28519
+ }
28520
+
28521
+ async uploadAnalyzerRuntimeLog(request: UploadAnalyzerRuntimeLogRequest): Promise<UploadAnalyzerRuntimeLogResponse> {
28522
+ let runtime = new $Util.RuntimeOptions({ });
28523
+ return await this.uploadAnalyzerRuntimeLogWithOptions(request, runtime);
28524
+ }
28525
+
26809
28526
  async validateHcWarningsWithOptions(request: ValidateHcWarningsRequest, runtime: $Util.RuntimeOptions): Promise<ValidateHcWarningsResponse> {
26810
28527
  Util.validateModel(request);
26811
28528
  let query = { };