@alicloud/cloudfw20171207 1.1.8 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +123 -52
- package/dist/client.js +290 -125
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +389 -158
package/src/client.ts
CHANGED
|
@@ -434,99 +434,6 @@ export class CreateVpcFirewallCenConfigureResponse extends $tea.Model {
|
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
-
export class CreateVpcFirewallConfigureRequest extends $tea.Model {
|
|
438
|
-
firewallSwitch?: string;
|
|
439
|
-
lang?: string;
|
|
440
|
-
localVpcCidrTableList?: string;
|
|
441
|
-
localVpcId?: string;
|
|
442
|
-
localVpcRegion?: string;
|
|
443
|
-
memberUid?: string;
|
|
444
|
-
peerVpcCidrTableList?: string;
|
|
445
|
-
peerVpcId?: string;
|
|
446
|
-
peerVpcRegion?: string;
|
|
447
|
-
vpcFirewallName?: string;
|
|
448
|
-
static names(): { [key: string]: string } {
|
|
449
|
-
return {
|
|
450
|
-
firewallSwitch: 'FirewallSwitch',
|
|
451
|
-
lang: 'Lang',
|
|
452
|
-
localVpcCidrTableList: 'LocalVpcCidrTableList',
|
|
453
|
-
localVpcId: 'LocalVpcId',
|
|
454
|
-
localVpcRegion: 'LocalVpcRegion',
|
|
455
|
-
memberUid: 'MemberUid',
|
|
456
|
-
peerVpcCidrTableList: 'PeerVpcCidrTableList',
|
|
457
|
-
peerVpcId: 'PeerVpcId',
|
|
458
|
-
peerVpcRegion: 'PeerVpcRegion',
|
|
459
|
-
vpcFirewallName: 'VpcFirewallName',
|
|
460
|
-
};
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
static types(): { [key: string]: any } {
|
|
464
|
-
return {
|
|
465
|
-
firewallSwitch: 'string',
|
|
466
|
-
lang: 'string',
|
|
467
|
-
localVpcCidrTableList: 'string',
|
|
468
|
-
localVpcId: 'string',
|
|
469
|
-
localVpcRegion: 'string',
|
|
470
|
-
memberUid: 'string',
|
|
471
|
-
peerVpcCidrTableList: 'string',
|
|
472
|
-
peerVpcId: 'string',
|
|
473
|
-
peerVpcRegion: 'string',
|
|
474
|
-
vpcFirewallName: 'string',
|
|
475
|
-
};
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
constructor(map?: { [key: string]: any }) {
|
|
479
|
-
super(map);
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
export class CreateVpcFirewallConfigureResponseBody extends $tea.Model {
|
|
484
|
-
requestId?: string;
|
|
485
|
-
vpcFirewallId?: string;
|
|
486
|
-
static names(): { [key: string]: string } {
|
|
487
|
-
return {
|
|
488
|
-
requestId: 'RequestId',
|
|
489
|
-
vpcFirewallId: 'VpcFirewallId',
|
|
490
|
-
};
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
static types(): { [key: string]: any } {
|
|
494
|
-
return {
|
|
495
|
-
requestId: 'string',
|
|
496
|
-
vpcFirewallId: 'string',
|
|
497
|
-
};
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
constructor(map?: { [key: string]: any }) {
|
|
501
|
-
super(map);
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export class CreateVpcFirewallConfigureResponse extends $tea.Model {
|
|
506
|
-
headers: { [key: string]: string };
|
|
507
|
-
statusCode: number;
|
|
508
|
-
body: CreateVpcFirewallConfigureResponseBody;
|
|
509
|
-
static names(): { [key: string]: string } {
|
|
510
|
-
return {
|
|
511
|
-
headers: 'headers',
|
|
512
|
-
statusCode: 'statusCode',
|
|
513
|
-
body: 'body',
|
|
514
|
-
};
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
static types(): { [key: string]: any } {
|
|
518
|
-
return {
|
|
519
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
520
|
-
statusCode: 'number',
|
|
521
|
-
body: CreateVpcFirewallConfigureResponseBody,
|
|
522
|
-
};
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
constructor(map?: { [key: string]: any }) {
|
|
526
|
-
super(map);
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
|
|
530
437
|
export class CreateVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
531
438
|
aclAction?: string;
|
|
532
439
|
applicationName?: string;
|
|
@@ -1630,6 +1537,7 @@ export class DescribeInvadeEventListResponse extends $tea.Model {
|
|
|
1630
1537
|
|
|
1631
1538
|
export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
1632
1539
|
applicationName?: string;
|
|
1540
|
+
categoryId?: string;
|
|
1633
1541
|
currentPage?: string;
|
|
1634
1542
|
dstIP?: string;
|
|
1635
1543
|
endTime?: string;
|
|
@@ -1641,9 +1549,11 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
|
1641
1549
|
publicIP?: string;
|
|
1642
1550
|
sort?: string;
|
|
1643
1551
|
startTime?: string;
|
|
1552
|
+
tagIdNew?: string;
|
|
1644
1553
|
static names(): { [key: string]: string } {
|
|
1645
1554
|
return {
|
|
1646
1555
|
applicationName: 'ApplicationName',
|
|
1556
|
+
categoryId: 'CategoryId',
|
|
1647
1557
|
currentPage: 'CurrentPage',
|
|
1648
1558
|
dstIP: 'DstIP',
|
|
1649
1559
|
endTime: 'EndTime',
|
|
@@ -1655,12 +1565,14 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
|
1655
1565
|
publicIP: 'PublicIP',
|
|
1656
1566
|
sort: 'Sort',
|
|
1657
1567
|
startTime: 'StartTime',
|
|
1568
|
+
tagIdNew: 'TagIdNew',
|
|
1658
1569
|
};
|
|
1659
1570
|
}
|
|
1660
1571
|
|
|
1661
1572
|
static types(): { [key: string]: any } {
|
|
1662
1573
|
return {
|
|
1663
1574
|
applicationName: 'string',
|
|
1575
|
+
categoryId: 'string',
|
|
1664
1576
|
currentPage: 'string',
|
|
1665
1577
|
dstIP: 'string',
|
|
1666
1578
|
endTime: 'string',
|
|
@@ -1672,6 +1584,7 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
|
1672
1584
|
publicIP: 'string',
|
|
1673
1585
|
sort: 'string',
|
|
1674
1586
|
startTime: 'string',
|
|
1587
|
+
tagIdNew: 'string',
|
|
1675
1588
|
};
|
|
1676
1589
|
}
|
|
1677
1590
|
|
|
@@ -1731,6 +1644,7 @@ export class DescribeOutgoingDestinationIPResponse extends $tea.Model {
|
|
|
1731
1644
|
}
|
|
1732
1645
|
|
|
1733
1646
|
export class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
1647
|
+
categoryId?: string;
|
|
1734
1648
|
currentPage?: string;
|
|
1735
1649
|
domain?: string;
|
|
1736
1650
|
endTime?: string;
|
|
@@ -1740,8 +1654,10 @@ export class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
|
1740
1654
|
publicIP?: string;
|
|
1741
1655
|
sort?: string;
|
|
1742
1656
|
startTime?: string;
|
|
1657
|
+
tagIdNew?: string;
|
|
1743
1658
|
static names(): { [key: string]: string } {
|
|
1744
1659
|
return {
|
|
1660
|
+
categoryId: 'CategoryId',
|
|
1745
1661
|
currentPage: 'CurrentPage',
|
|
1746
1662
|
domain: 'Domain',
|
|
1747
1663
|
endTime: 'EndTime',
|
|
@@ -1751,11 +1667,13 @@ export class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
|
1751
1667
|
publicIP: 'PublicIP',
|
|
1752
1668
|
sort: 'Sort',
|
|
1753
1669
|
startTime: 'StartTime',
|
|
1670
|
+
tagIdNew: 'TagIdNew',
|
|
1754
1671
|
};
|
|
1755
1672
|
}
|
|
1756
1673
|
|
|
1757
1674
|
static types(): { [key: string]: any } {
|
|
1758
1675
|
return {
|
|
1676
|
+
categoryId: 'string',
|
|
1759
1677
|
currentPage: 'string',
|
|
1760
1678
|
domain: 'string',
|
|
1761
1679
|
endTime: 'string',
|
|
@@ -1765,6 +1683,7 @@ export class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
|
1765
1683
|
publicIP: 'string',
|
|
1766
1684
|
sort: 'string',
|
|
1767
1685
|
startTime: 'string',
|
|
1686
|
+
tagIdNew: 'string',
|
|
1768
1687
|
};
|
|
1769
1688
|
}
|
|
1770
1689
|
|
|
@@ -2669,6 +2588,7 @@ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
|
|
|
2669
2588
|
connectType?: string;
|
|
2670
2589
|
firewallSwitchStatus?: string;
|
|
2671
2590
|
localVpc?: DescribeVpcFirewallDetailResponseBodyLocalVpc;
|
|
2591
|
+
memberUid?: string;
|
|
2672
2592
|
peerVpc?: DescribeVpcFirewallDetailResponseBodyPeerVpc;
|
|
2673
2593
|
requestId?: string;
|
|
2674
2594
|
vpcFirewallId?: string;
|
|
@@ -2679,6 +2599,7 @@ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
|
|
|
2679
2599
|
connectType: 'ConnectType',
|
|
2680
2600
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2681
2601
|
localVpc: 'LocalVpc',
|
|
2602
|
+
memberUid: 'MemberUid',
|
|
2682
2603
|
peerVpc: 'PeerVpc',
|
|
2683
2604
|
requestId: 'RequestId',
|
|
2684
2605
|
vpcFirewallId: 'VpcFirewallId',
|
|
@@ -2692,6 +2613,7 @@ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
|
|
|
2692
2613
|
connectType: 'string',
|
|
2693
2614
|
firewallSwitchStatus: 'string',
|
|
2694
2615
|
localVpc: DescribeVpcFirewallDetailResponseBodyLocalVpc,
|
|
2616
|
+
memberUid: 'string',
|
|
2695
2617
|
peerVpc: DescribeVpcFirewallDetailResponseBodyPeerVpc,
|
|
2696
2618
|
requestId: 'string',
|
|
2697
2619
|
vpcFirewallId: 'string',
|
|
@@ -2730,22 +2652,26 @@ export class DescribeVpcFirewallDetailResponse extends $tea.Model {
|
|
|
2730
2652
|
}
|
|
2731
2653
|
|
|
2732
2654
|
export class DescribeVpcFirewallListRequest extends $tea.Model {
|
|
2655
|
+
connectSubType?: string;
|
|
2733
2656
|
currentPage?: string;
|
|
2734
2657
|
firewallSwitchStatus?: string;
|
|
2735
2658
|
lang?: string;
|
|
2736
2659
|
memberUid?: string;
|
|
2737
2660
|
pageSize?: string;
|
|
2661
|
+
peerUid?: string;
|
|
2738
2662
|
regionNo?: string;
|
|
2739
2663
|
vpcFirewallId?: string;
|
|
2740
2664
|
vpcFirewallName?: string;
|
|
2741
2665
|
vpcId?: string;
|
|
2742
2666
|
static names(): { [key: string]: string } {
|
|
2743
2667
|
return {
|
|
2668
|
+
connectSubType: 'ConnectSubType',
|
|
2744
2669
|
currentPage: 'CurrentPage',
|
|
2745
2670
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2746
2671
|
lang: 'Lang',
|
|
2747
2672
|
memberUid: 'MemberUid',
|
|
2748
2673
|
pageSize: 'PageSize',
|
|
2674
|
+
peerUid: 'PeerUid',
|
|
2749
2675
|
regionNo: 'RegionNo',
|
|
2750
2676
|
vpcFirewallId: 'VpcFirewallId',
|
|
2751
2677
|
vpcFirewallName: 'VpcFirewallName',
|
|
@@ -2755,11 +2681,13 @@ export class DescribeVpcFirewallListRequest extends $tea.Model {
|
|
|
2755
2681
|
|
|
2756
2682
|
static types(): { [key: string]: any } {
|
|
2757
2683
|
return {
|
|
2684
|
+
connectSubType: 'string',
|
|
2758
2685
|
currentPage: 'string',
|
|
2759
2686
|
firewallSwitchStatus: 'string',
|
|
2760
2687
|
lang: 'string',
|
|
2761
2688
|
memberUid: 'string',
|
|
2762
2689
|
pageSize: 'string',
|
|
2690
|
+
peerUid: 'string',
|
|
2763
2691
|
regionNo: 'string',
|
|
2764
2692
|
vpcFirewallId: 'string',
|
|
2765
2693
|
vpcFirewallName: 'string',
|
|
@@ -2894,6 +2822,123 @@ export class DescribeVpcFirewallPolicyPriorUsedResponse extends $tea.Model {
|
|
|
2894
2822
|
}
|
|
2895
2823
|
}
|
|
2896
2824
|
|
|
2825
|
+
export class DescribeVulnerabilityProtectedListRequest extends $tea.Model {
|
|
2826
|
+
attackType?: string;
|
|
2827
|
+
buyVersion?: number;
|
|
2828
|
+
currentPage?: string;
|
|
2829
|
+
endTime?: string;
|
|
2830
|
+
lang?: string;
|
|
2831
|
+
order?: string;
|
|
2832
|
+
pageSize?: string;
|
|
2833
|
+
sortKey?: string;
|
|
2834
|
+
sourceIp?: string;
|
|
2835
|
+
startTime?: string;
|
|
2836
|
+
userType?: string;
|
|
2837
|
+
vulnCveName?: string;
|
|
2838
|
+
vulnLevel?: string;
|
|
2839
|
+
vulnResource?: string;
|
|
2840
|
+
vulnStatus?: string;
|
|
2841
|
+
vulnType?: string;
|
|
2842
|
+
static names(): { [key: string]: string } {
|
|
2843
|
+
return {
|
|
2844
|
+
attackType: 'AttackType',
|
|
2845
|
+
buyVersion: 'BuyVersion',
|
|
2846
|
+
currentPage: 'CurrentPage',
|
|
2847
|
+
endTime: 'EndTime',
|
|
2848
|
+
lang: 'Lang',
|
|
2849
|
+
order: 'Order',
|
|
2850
|
+
pageSize: 'PageSize',
|
|
2851
|
+
sortKey: 'SortKey',
|
|
2852
|
+
sourceIp: 'SourceIp',
|
|
2853
|
+
startTime: 'StartTime',
|
|
2854
|
+
userType: 'UserType',
|
|
2855
|
+
vulnCveName: 'VulnCveName',
|
|
2856
|
+
vulnLevel: 'VulnLevel',
|
|
2857
|
+
vulnResource: 'VulnResource',
|
|
2858
|
+
vulnStatus: 'VulnStatus',
|
|
2859
|
+
vulnType: 'VulnType',
|
|
2860
|
+
};
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
static types(): { [key: string]: any } {
|
|
2864
|
+
return {
|
|
2865
|
+
attackType: 'string',
|
|
2866
|
+
buyVersion: 'number',
|
|
2867
|
+
currentPage: 'string',
|
|
2868
|
+
endTime: 'string',
|
|
2869
|
+
lang: 'string',
|
|
2870
|
+
order: 'string',
|
|
2871
|
+
pageSize: 'string',
|
|
2872
|
+
sortKey: 'string',
|
|
2873
|
+
sourceIp: 'string',
|
|
2874
|
+
startTime: 'string',
|
|
2875
|
+
userType: 'string',
|
|
2876
|
+
vulnCveName: 'string',
|
|
2877
|
+
vulnLevel: 'string',
|
|
2878
|
+
vulnResource: 'string',
|
|
2879
|
+
vulnStatus: 'string',
|
|
2880
|
+
vulnType: 'string',
|
|
2881
|
+
};
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2884
|
+
constructor(map?: { [key: string]: any }) {
|
|
2885
|
+
super(map);
|
|
2886
|
+
}
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
export class DescribeVulnerabilityProtectedListResponseBody extends $tea.Model {
|
|
2890
|
+
requestId?: string;
|
|
2891
|
+
totalCount?: number;
|
|
2892
|
+
vulnList?: DescribeVulnerabilityProtectedListResponseBodyVulnList[];
|
|
2893
|
+
zeroResourceCount?: number;
|
|
2894
|
+
static names(): { [key: string]: string } {
|
|
2895
|
+
return {
|
|
2896
|
+
requestId: 'RequestId',
|
|
2897
|
+
totalCount: 'TotalCount',
|
|
2898
|
+
vulnList: 'VulnList',
|
|
2899
|
+
zeroResourceCount: 'ZeroResourceCount',
|
|
2900
|
+
};
|
|
2901
|
+
}
|
|
2902
|
+
|
|
2903
|
+
static types(): { [key: string]: any } {
|
|
2904
|
+
return {
|
|
2905
|
+
requestId: 'string',
|
|
2906
|
+
totalCount: 'number',
|
|
2907
|
+
vulnList: { 'type': 'array', 'itemType': DescribeVulnerabilityProtectedListResponseBodyVulnList },
|
|
2908
|
+
zeroResourceCount: 'number',
|
|
2909
|
+
};
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
constructor(map?: { [key: string]: any }) {
|
|
2913
|
+
super(map);
|
|
2914
|
+
}
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2917
|
+
export class DescribeVulnerabilityProtectedListResponse extends $tea.Model {
|
|
2918
|
+
headers: { [key: string]: string };
|
|
2919
|
+
statusCode: number;
|
|
2920
|
+
body: DescribeVulnerabilityProtectedListResponseBody;
|
|
2921
|
+
static names(): { [key: string]: string } {
|
|
2922
|
+
return {
|
|
2923
|
+
headers: 'headers',
|
|
2924
|
+
statusCode: 'statusCode',
|
|
2925
|
+
body: 'body',
|
|
2926
|
+
};
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
static types(): { [key: string]: any } {
|
|
2930
|
+
return {
|
|
2931
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2932
|
+
statusCode: 'number',
|
|
2933
|
+
body: DescribeVulnerabilityProtectedListResponseBody,
|
|
2934
|
+
};
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2937
|
+
constructor(map?: { [key: string]: any }) {
|
|
2938
|
+
super(map);
|
|
2939
|
+
}
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2897
2942
|
export class ModifyAddressBookRequest extends $tea.Model {
|
|
2898
2943
|
addressList?: string;
|
|
2899
2944
|
autoAddTagEcs?: string;
|
|
@@ -5078,6 +5123,7 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
|
5078
5123
|
ruleResult?: number;
|
|
5079
5124
|
ruleSource?: number;
|
|
5080
5125
|
srcIP?: string;
|
|
5126
|
+
srcIPTag?: string;
|
|
5081
5127
|
srcPrivateIPList?: string[];
|
|
5082
5128
|
tag?: string;
|
|
5083
5129
|
vpcDstInfo?: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo;
|
|
@@ -5102,6 +5148,7 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
|
5102
5148
|
ruleResult: 'RuleResult',
|
|
5103
5149
|
ruleSource: 'RuleSource',
|
|
5104
5150
|
srcIP: 'SrcIP',
|
|
5151
|
+
srcIPTag: 'SrcIPTag',
|
|
5105
5152
|
srcPrivateIPList: 'SrcPrivateIPList',
|
|
5106
5153
|
tag: 'Tag',
|
|
5107
5154
|
vpcDstInfo: 'VpcDstInfo',
|
|
@@ -5129,6 +5176,7 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
|
5129
5176
|
ruleResult: 'number',
|
|
5130
5177
|
ruleSource: 'number',
|
|
5131
5178
|
srcIP: 'string',
|
|
5179
|
+
srcIPTag: 'string',
|
|
5132
5180
|
srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
|
|
5133
5181
|
tag: 'string',
|
|
5134
5182
|
vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
|
|
@@ -5491,6 +5539,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
|
|
|
5491
5539
|
destPortType?: string;
|
|
5492
5540
|
destination?: string;
|
|
5493
5541
|
destinationGroupCidrs?: string[];
|
|
5542
|
+
destinationGroupType?: string;
|
|
5494
5543
|
destinationType?: string;
|
|
5495
5544
|
hitTimes?: number;
|
|
5496
5545
|
memberUid?: string;
|
|
@@ -5499,6 +5548,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
|
|
|
5499
5548
|
release?: string;
|
|
5500
5549
|
source?: string;
|
|
5501
5550
|
sourceGroupCidrs?: string[];
|
|
5551
|
+
sourceGroupType?: string;
|
|
5502
5552
|
sourceType?: string;
|
|
5503
5553
|
static names(): { [key: string]: string } {
|
|
5504
5554
|
return {
|
|
@@ -5513,6 +5563,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
|
|
|
5513
5563
|
destPortType: 'DestPortType',
|
|
5514
5564
|
destination: 'Destination',
|
|
5515
5565
|
destinationGroupCidrs: 'DestinationGroupCidrs',
|
|
5566
|
+
destinationGroupType: 'DestinationGroupType',
|
|
5516
5567
|
destinationType: 'DestinationType',
|
|
5517
5568
|
hitTimes: 'HitTimes',
|
|
5518
5569
|
memberUid: 'MemberUid',
|
|
@@ -5521,6 +5572,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
|
|
|
5521
5572
|
release: 'Release',
|
|
5522
5573
|
source: 'Source',
|
|
5523
5574
|
sourceGroupCidrs: 'SourceGroupCidrs',
|
|
5575
|
+
sourceGroupType: 'SourceGroupType',
|
|
5524
5576
|
sourceType: 'SourceType',
|
|
5525
5577
|
};
|
|
5526
5578
|
}
|
|
@@ -5538,6 +5590,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
|
|
|
5538
5590
|
destPortType: 'string',
|
|
5539
5591
|
destination: 'string',
|
|
5540
5592
|
destinationGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
5593
|
+
destinationGroupType: 'string',
|
|
5541
5594
|
destinationType: 'string',
|
|
5542
5595
|
hitTimes: 'number',
|
|
5543
5596
|
memberUid: 'string',
|
|
@@ -5546,6 +5599,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
|
|
|
5546
5599
|
release: 'string',
|
|
5547
5600
|
source: 'string',
|
|
5548
5601
|
sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
5602
|
+
sourceGroupType: 'string',
|
|
5549
5603
|
sourceType: 'string',
|
|
5550
5604
|
};
|
|
5551
5605
|
}
|
|
@@ -5900,6 +5954,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc extends $tea
|
|
|
5900
5954
|
|
|
5901
5955
|
export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
5902
5956
|
bandwidth?: number;
|
|
5957
|
+
connectSubType?: string;
|
|
5903
5958
|
connectType?: string;
|
|
5904
5959
|
firewallSwitchStatus?: string;
|
|
5905
5960
|
ipsConfig?: DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig;
|
|
@@ -5907,11 +5962,13 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
|
|
|
5907
5962
|
memberUid?: string;
|
|
5908
5963
|
peerVpc?: DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc;
|
|
5909
5964
|
regionStatus?: string;
|
|
5965
|
+
resultCode?: string;
|
|
5910
5966
|
vpcFirewallId?: string;
|
|
5911
5967
|
vpcFirewallName?: string;
|
|
5912
5968
|
static names(): { [key: string]: string } {
|
|
5913
5969
|
return {
|
|
5914
5970
|
bandwidth: 'Bandwidth',
|
|
5971
|
+
connectSubType: 'ConnectSubType',
|
|
5915
5972
|
connectType: 'ConnectType',
|
|
5916
5973
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
5917
5974
|
ipsConfig: 'IpsConfig',
|
|
@@ -5919,6 +5976,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
|
|
|
5919
5976
|
memberUid: 'MemberUid',
|
|
5920
5977
|
peerVpc: 'PeerVpc',
|
|
5921
5978
|
regionStatus: 'RegionStatus',
|
|
5979
|
+
resultCode: 'ResultCode',
|
|
5922
5980
|
vpcFirewallId: 'VpcFirewallId',
|
|
5923
5981
|
vpcFirewallName: 'VpcFirewallName',
|
|
5924
5982
|
};
|
|
@@ -5927,6 +5985,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
|
|
|
5927
5985
|
static types(): { [key: string]: any } {
|
|
5928
5986
|
return {
|
|
5929
5987
|
bandwidth: 'number',
|
|
5988
|
+
connectSubType: 'string',
|
|
5930
5989
|
connectType: 'string',
|
|
5931
5990
|
firewallSwitchStatus: 'string',
|
|
5932
5991
|
ipsConfig: DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig,
|
|
@@ -5934,6 +5993,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
|
|
|
5934
5993
|
memberUid: 'string',
|
|
5935
5994
|
peerVpc: DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc,
|
|
5936
5995
|
regionStatus: 'string',
|
|
5996
|
+
resultCode: 'string',
|
|
5937
5997
|
vpcFirewallId: 'string',
|
|
5938
5998
|
vpcFirewallName: 'string',
|
|
5939
5999
|
};
|
|
@@ -5944,6 +6004,125 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
|
|
|
5944
6004
|
}
|
|
5945
6005
|
}
|
|
5946
6006
|
|
|
6007
|
+
export class DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList extends $tea.Model {
|
|
6008
|
+
eip?: string;
|
|
6009
|
+
internetIp?: string;
|
|
6010
|
+
intranetIp?: string;
|
|
6011
|
+
regionId?: string;
|
|
6012
|
+
resourceId?: string;
|
|
6013
|
+
resourceName?: string;
|
|
6014
|
+
resourceType?: string;
|
|
6015
|
+
vulnStatus?: string;
|
|
6016
|
+
static names(): { [key: string]: string } {
|
|
6017
|
+
return {
|
|
6018
|
+
eip: 'Eip',
|
|
6019
|
+
internetIp: 'InternetIp',
|
|
6020
|
+
intranetIp: 'IntranetIp',
|
|
6021
|
+
regionId: 'RegionId',
|
|
6022
|
+
resourceId: 'ResourceId',
|
|
6023
|
+
resourceName: 'ResourceName',
|
|
6024
|
+
resourceType: 'ResourceType',
|
|
6025
|
+
vulnStatus: 'VulnStatus',
|
|
6026
|
+
};
|
|
6027
|
+
}
|
|
6028
|
+
|
|
6029
|
+
static types(): { [key: string]: any } {
|
|
6030
|
+
return {
|
|
6031
|
+
eip: 'string',
|
|
6032
|
+
internetIp: 'string',
|
|
6033
|
+
intranetIp: 'string',
|
|
6034
|
+
regionId: 'string',
|
|
6035
|
+
resourceId: 'string',
|
|
6036
|
+
resourceName: 'string',
|
|
6037
|
+
resourceType: 'string',
|
|
6038
|
+
vulnStatus: 'string',
|
|
6039
|
+
};
|
|
6040
|
+
}
|
|
6041
|
+
|
|
6042
|
+
constructor(map?: { [key: string]: any }) {
|
|
6043
|
+
super(map);
|
|
6044
|
+
}
|
|
6045
|
+
}
|
|
6046
|
+
|
|
6047
|
+
export class DescribeVulnerabilityProtectedListResponseBodyVulnList extends $tea.Model {
|
|
6048
|
+
attackCnt?: number;
|
|
6049
|
+
attackType?: number;
|
|
6050
|
+
basicRuleIds?: string;
|
|
6051
|
+
cveId?: string;
|
|
6052
|
+
firstTime?: number;
|
|
6053
|
+
highlightTag?: number;
|
|
6054
|
+
lastTime?: number;
|
|
6055
|
+
needOpenBasicRule?: boolean;
|
|
6056
|
+
needOpenBasicRuleUuids?: string;
|
|
6057
|
+
needOpenRunMode?: boolean;
|
|
6058
|
+
needOpenVirtualPatche?: boolean;
|
|
6059
|
+
needOpenVirtualPatcheUuids?: string;
|
|
6060
|
+
needRuleClass?: number;
|
|
6061
|
+
resourceCnt?: number;
|
|
6062
|
+
resourceList?: DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList[];
|
|
6063
|
+
virtualPatcheIds?: string;
|
|
6064
|
+
vulnKey?: string;
|
|
6065
|
+
vulnLevel?: string;
|
|
6066
|
+
vulnName?: string;
|
|
6067
|
+
vulnStatus?: string;
|
|
6068
|
+
vulnType?: string;
|
|
6069
|
+
static names(): { [key: string]: string } {
|
|
6070
|
+
return {
|
|
6071
|
+
attackCnt: 'AttackCnt',
|
|
6072
|
+
attackType: 'AttackType',
|
|
6073
|
+
basicRuleIds: 'BasicRuleIds',
|
|
6074
|
+
cveId: 'CveId',
|
|
6075
|
+
firstTime: 'FirstTime',
|
|
6076
|
+
highlightTag: 'HighlightTag',
|
|
6077
|
+
lastTime: 'LastTime',
|
|
6078
|
+
needOpenBasicRule: 'NeedOpenBasicRule',
|
|
6079
|
+
needOpenBasicRuleUuids: 'NeedOpenBasicRuleUuids',
|
|
6080
|
+
needOpenRunMode: 'NeedOpenRunMode',
|
|
6081
|
+
needOpenVirtualPatche: 'NeedOpenVirtualPatche',
|
|
6082
|
+
needOpenVirtualPatcheUuids: 'NeedOpenVirtualPatcheUuids',
|
|
6083
|
+
needRuleClass: 'NeedRuleClass',
|
|
6084
|
+
resourceCnt: 'ResourceCnt',
|
|
6085
|
+
resourceList: 'ResourceList',
|
|
6086
|
+
virtualPatcheIds: 'VirtualPatcheIds',
|
|
6087
|
+
vulnKey: 'VulnKey',
|
|
6088
|
+
vulnLevel: 'VulnLevel',
|
|
6089
|
+
vulnName: 'VulnName',
|
|
6090
|
+
vulnStatus: 'VulnStatus',
|
|
6091
|
+
vulnType: 'VulnType',
|
|
6092
|
+
};
|
|
6093
|
+
}
|
|
6094
|
+
|
|
6095
|
+
static types(): { [key: string]: any } {
|
|
6096
|
+
return {
|
|
6097
|
+
attackCnt: 'number',
|
|
6098
|
+
attackType: 'number',
|
|
6099
|
+
basicRuleIds: 'string',
|
|
6100
|
+
cveId: 'string',
|
|
6101
|
+
firstTime: 'number',
|
|
6102
|
+
highlightTag: 'number',
|
|
6103
|
+
lastTime: 'number',
|
|
6104
|
+
needOpenBasicRule: 'boolean',
|
|
6105
|
+
needOpenBasicRuleUuids: 'string',
|
|
6106
|
+
needOpenRunMode: 'boolean',
|
|
6107
|
+
needOpenVirtualPatche: 'boolean',
|
|
6108
|
+
needOpenVirtualPatcheUuids: 'string',
|
|
6109
|
+
needRuleClass: 'number',
|
|
6110
|
+
resourceCnt: 'number',
|
|
6111
|
+
resourceList: { 'type': 'array', 'itemType': DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList },
|
|
6112
|
+
virtualPatcheIds: 'string',
|
|
6113
|
+
vulnKey: 'string',
|
|
6114
|
+
vulnLevel: 'string',
|
|
6115
|
+
vulnName: 'string',
|
|
6116
|
+
vulnStatus: 'string',
|
|
6117
|
+
vulnType: 'string',
|
|
6118
|
+
};
|
|
6119
|
+
}
|
|
6120
|
+
|
|
6121
|
+
constructor(map?: { [key: string]: any }) {
|
|
6122
|
+
super(map);
|
|
6123
|
+
}
|
|
6124
|
+
}
|
|
6125
|
+
|
|
5947
6126
|
export class ModifyAddressBookRequestTagList extends $tea.Model {
|
|
5948
6127
|
tagKey?: string;
|
|
5949
6128
|
tagValue?: string;
|
|
@@ -6296,71 +6475,6 @@ export default class Client extends OpenApi {
|
|
|
6296
6475
|
return await this.createVpcFirewallCenConfigureWithOptions(request, runtime);
|
|
6297
6476
|
}
|
|
6298
6477
|
|
|
6299
|
-
async createVpcFirewallConfigureWithOptions(request: CreateVpcFirewallConfigureRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallConfigureResponse> {
|
|
6300
|
-
Util.validateModel(request);
|
|
6301
|
-
let query = { };
|
|
6302
|
-
if (!Util.isUnset(request.firewallSwitch)) {
|
|
6303
|
-
query["FirewallSwitch"] = request.firewallSwitch;
|
|
6304
|
-
}
|
|
6305
|
-
|
|
6306
|
-
if (!Util.isUnset(request.lang)) {
|
|
6307
|
-
query["Lang"] = request.lang;
|
|
6308
|
-
}
|
|
6309
|
-
|
|
6310
|
-
if (!Util.isUnset(request.localVpcCidrTableList)) {
|
|
6311
|
-
query["LocalVpcCidrTableList"] = request.localVpcCidrTableList;
|
|
6312
|
-
}
|
|
6313
|
-
|
|
6314
|
-
if (!Util.isUnset(request.localVpcId)) {
|
|
6315
|
-
query["LocalVpcId"] = request.localVpcId;
|
|
6316
|
-
}
|
|
6317
|
-
|
|
6318
|
-
if (!Util.isUnset(request.localVpcRegion)) {
|
|
6319
|
-
query["LocalVpcRegion"] = request.localVpcRegion;
|
|
6320
|
-
}
|
|
6321
|
-
|
|
6322
|
-
if (!Util.isUnset(request.memberUid)) {
|
|
6323
|
-
query["MemberUid"] = request.memberUid;
|
|
6324
|
-
}
|
|
6325
|
-
|
|
6326
|
-
if (!Util.isUnset(request.peerVpcCidrTableList)) {
|
|
6327
|
-
query["PeerVpcCidrTableList"] = request.peerVpcCidrTableList;
|
|
6328
|
-
}
|
|
6329
|
-
|
|
6330
|
-
if (!Util.isUnset(request.peerVpcId)) {
|
|
6331
|
-
query["PeerVpcId"] = request.peerVpcId;
|
|
6332
|
-
}
|
|
6333
|
-
|
|
6334
|
-
if (!Util.isUnset(request.peerVpcRegion)) {
|
|
6335
|
-
query["PeerVpcRegion"] = request.peerVpcRegion;
|
|
6336
|
-
}
|
|
6337
|
-
|
|
6338
|
-
if (!Util.isUnset(request.vpcFirewallName)) {
|
|
6339
|
-
query["VpcFirewallName"] = request.vpcFirewallName;
|
|
6340
|
-
}
|
|
6341
|
-
|
|
6342
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
6343
|
-
query: OpenApiUtil.query(query),
|
|
6344
|
-
});
|
|
6345
|
-
let params = new $OpenApi.Params({
|
|
6346
|
-
action: "CreateVpcFirewallConfigure",
|
|
6347
|
-
version: "2017-12-07",
|
|
6348
|
-
protocol: "HTTPS",
|
|
6349
|
-
pathname: "/",
|
|
6350
|
-
method: "POST",
|
|
6351
|
-
authType: "AK",
|
|
6352
|
-
style: "RPC",
|
|
6353
|
-
reqBodyType: "formData",
|
|
6354
|
-
bodyType: "json",
|
|
6355
|
-
});
|
|
6356
|
-
return $tea.cast<CreateVpcFirewallConfigureResponse>(await this.callApi(params, req, runtime), new CreateVpcFirewallConfigureResponse({}));
|
|
6357
|
-
}
|
|
6358
|
-
|
|
6359
|
-
async createVpcFirewallConfigure(request: CreateVpcFirewallConfigureRequest): Promise<CreateVpcFirewallConfigureResponse> {
|
|
6360
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
6361
|
-
return await this.createVpcFirewallConfigureWithOptions(request, runtime);
|
|
6362
|
-
}
|
|
6363
|
-
|
|
6364
6478
|
async createVpcFirewallControlPolicyWithOptions(request: CreateVpcFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallControlPolicyResponse> {
|
|
6365
6479
|
Util.validateModel(request);
|
|
6366
6480
|
let query = { };
|
|
@@ -7053,6 +7167,10 @@ export default class Client extends OpenApi {
|
|
|
7053
7167
|
query["ApplicationName"] = request.applicationName;
|
|
7054
7168
|
}
|
|
7055
7169
|
|
|
7170
|
+
if (!Util.isUnset(request.categoryId)) {
|
|
7171
|
+
query["CategoryId"] = request.categoryId;
|
|
7172
|
+
}
|
|
7173
|
+
|
|
7056
7174
|
if (!Util.isUnset(request.currentPage)) {
|
|
7057
7175
|
query["CurrentPage"] = request.currentPage;
|
|
7058
7176
|
}
|
|
@@ -7097,6 +7215,10 @@ export default class Client extends OpenApi {
|
|
|
7097
7215
|
query["StartTime"] = request.startTime;
|
|
7098
7216
|
}
|
|
7099
7217
|
|
|
7218
|
+
if (!Util.isUnset(request.tagIdNew)) {
|
|
7219
|
+
query["TagIdNew"] = request.tagIdNew;
|
|
7220
|
+
}
|
|
7221
|
+
|
|
7100
7222
|
let req = new $OpenApi.OpenApiRequest({
|
|
7101
7223
|
query: OpenApiUtil.query(query),
|
|
7102
7224
|
});
|
|
@@ -7122,6 +7244,10 @@ export default class Client extends OpenApi {
|
|
|
7122
7244
|
async describeOutgoingDomainWithOptions(request: DescribeOutgoingDomainRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOutgoingDomainResponse> {
|
|
7123
7245
|
Util.validateModel(request);
|
|
7124
7246
|
let query = { };
|
|
7247
|
+
if (!Util.isUnset(request.categoryId)) {
|
|
7248
|
+
query["CategoryId"] = request.categoryId;
|
|
7249
|
+
}
|
|
7250
|
+
|
|
7125
7251
|
if (!Util.isUnset(request.currentPage)) {
|
|
7126
7252
|
query["CurrentPage"] = request.currentPage;
|
|
7127
7253
|
}
|
|
@@ -7158,6 +7284,10 @@ export default class Client extends OpenApi {
|
|
|
7158
7284
|
query["StartTime"] = request.startTime;
|
|
7159
7285
|
}
|
|
7160
7286
|
|
|
7287
|
+
if (!Util.isUnset(request.tagIdNew)) {
|
|
7288
|
+
query["TagIdNew"] = request.tagIdNew;
|
|
7289
|
+
}
|
|
7290
|
+
|
|
7161
7291
|
let req = new $OpenApi.OpenApiRequest({
|
|
7162
7292
|
query: OpenApiUtil.query(query),
|
|
7163
7293
|
});
|
|
@@ -7717,6 +7847,10 @@ export default class Client extends OpenApi {
|
|
|
7717
7847
|
async describeVpcFirewallListWithOptions(request: DescribeVpcFirewallListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVpcFirewallListResponse> {
|
|
7718
7848
|
Util.validateModel(request);
|
|
7719
7849
|
let query = { };
|
|
7850
|
+
if (!Util.isUnset(request.connectSubType)) {
|
|
7851
|
+
query["ConnectSubType"] = request.connectSubType;
|
|
7852
|
+
}
|
|
7853
|
+
|
|
7720
7854
|
if (!Util.isUnset(request.currentPage)) {
|
|
7721
7855
|
query["CurrentPage"] = request.currentPage;
|
|
7722
7856
|
}
|
|
@@ -7741,6 +7875,10 @@ export default class Client extends OpenApi {
|
|
|
7741
7875
|
query["PageSize"] = request.pageSize;
|
|
7742
7876
|
}
|
|
7743
7877
|
|
|
7878
|
+
if (!Util.isUnset(request.peerUid)) {
|
|
7879
|
+
query["PeerUid"] = request.peerUid;
|
|
7880
|
+
}
|
|
7881
|
+
|
|
7744
7882
|
if (!Util.isUnset(request.regionNo)) {
|
|
7745
7883
|
query["RegionNo"] = request.regionNo;
|
|
7746
7884
|
}
|
|
@@ -7812,6 +7950,99 @@ export default class Client extends OpenApi {
|
|
|
7812
7950
|
return await this.describeVpcFirewallPolicyPriorUsedWithOptions(request, runtime);
|
|
7813
7951
|
}
|
|
7814
7952
|
|
|
7953
|
+
async describeVulnerabilityProtectedListWithOptions(request: DescribeVulnerabilityProtectedListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVulnerabilityProtectedListResponse> {
|
|
7954
|
+
Util.validateModel(request);
|
|
7955
|
+
let query = { };
|
|
7956
|
+
if (!Util.isUnset(request.attackType)) {
|
|
7957
|
+
query["AttackType"] = request.attackType;
|
|
7958
|
+
}
|
|
7959
|
+
|
|
7960
|
+
if (!Util.isUnset(request.buyVersion)) {
|
|
7961
|
+
query["BuyVersion"] = request.buyVersion;
|
|
7962
|
+
}
|
|
7963
|
+
|
|
7964
|
+
if (!Util.isUnset(request.currentPage)) {
|
|
7965
|
+
query["CurrentPage"] = request.currentPage;
|
|
7966
|
+
}
|
|
7967
|
+
|
|
7968
|
+
if (!Util.isUnset(request.endTime)) {
|
|
7969
|
+
query["EndTime"] = request.endTime;
|
|
7970
|
+
}
|
|
7971
|
+
|
|
7972
|
+
if (!Util.isUnset(request.lang)) {
|
|
7973
|
+
query["Lang"] = request.lang;
|
|
7974
|
+
}
|
|
7975
|
+
|
|
7976
|
+
if (!Util.isUnset(request.lang)) {
|
|
7977
|
+
query["Lang"] = request.lang;
|
|
7978
|
+
}
|
|
7979
|
+
|
|
7980
|
+
if (!Util.isUnset(request.order)) {
|
|
7981
|
+
query["Order"] = request.order;
|
|
7982
|
+
}
|
|
7983
|
+
|
|
7984
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
7985
|
+
query["PageSize"] = request.pageSize;
|
|
7986
|
+
}
|
|
7987
|
+
|
|
7988
|
+
if (!Util.isUnset(request.sortKey)) {
|
|
7989
|
+
query["SortKey"] = request.sortKey;
|
|
7990
|
+
}
|
|
7991
|
+
|
|
7992
|
+
if (!Util.isUnset(request.sourceIp)) {
|
|
7993
|
+
query["SourceIp"] = request.sourceIp;
|
|
7994
|
+
}
|
|
7995
|
+
|
|
7996
|
+
if (!Util.isUnset(request.startTime)) {
|
|
7997
|
+
query["StartTime"] = request.startTime;
|
|
7998
|
+
}
|
|
7999
|
+
|
|
8000
|
+
if (!Util.isUnset(request.userType)) {
|
|
8001
|
+
query["UserType"] = request.userType;
|
|
8002
|
+
}
|
|
8003
|
+
|
|
8004
|
+
if (!Util.isUnset(request.vulnCveName)) {
|
|
8005
|
+
query["VulnCveName"] = request.vulnCveName;
|
|
8006
|
+
}
|
|
8007
|
+
|
|
8008
|
+
if (!Util.isUnset(request.vulnLevel)) {
|
|
8009
|
+
query["VulnLevel"] = request.vulnLevel;
|
|
8010
|
+
}
|
|
8011
|
+
|
|
8012
|
+
if (!Util.isUnset(request.vulnResource)) {
|
|
8013
|
+
query["VulnResource"] = request.vulnResource;
|
|
8014
|
+
}
|
|
8015
|
+
|
|
8016
|
+
if (!Util.isUnset(request.vulnStatus)) {
|
|
8017
|
+
query["VulnStatus"] = request.vulnStatus;
|
|
8018
|
+
}
|
|
8019
|
+
|
|
8020
|
+
if (!Util.isUnset(request.vulnType)) {
|
|
8021
|
+
query["VulnType"] = request.vulnType;
|
|
8022
|
+
}
|
|
8023
|
+
|
|
8024
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8025
|
+
query: OpenApiUtil.query(query),
|
|
8026
|
+
});
|
|
8027
|
+
let params = new $OpenApi.Params({
|
|
8028
|
+
action: "DescribeVulnerabilityProtectedList",
|
|
8029
|
+
version: "2017-12-07",
|
|
8030
|
+
protocol: "HTTPS",
|
|
8031
|
+
pathname: "/",
|
|
8032
|
+
method: "POST",
|
|
8033
|
+
authType: "AK",
|
|
8034
|
+
style: "RPC",
|
|
8035
|
+
reqBodyType: "formData",
|
|
8036
|
+
bodyType: "json",
|
|
8037
|
+
});
|
|
8038
|
+
return $tea.cast<DescribeVulnerabilityProtectedListResponse>(await this.callApi(params, req, runtime), new DescribeVulnerabilityProtectedListResponse({}));
|
|
8039
|
+
}
|
|
8040
|
+
|
|
8041
|
+
async describeVulnerabilityProtectedList(request: DescribeVulnerabilityProtectedListRequest): Promise<DescribeVulnerabilityProtectedListResponse> {
|
|
8042
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8043
|
+
return await this.describeVulnerabilityProtectedListWithOptions(request, runtime);
|
|
8044
|
+
}
|
|
8045
|
+
|
|
7815
8046
|
async modifyAddressBookWithOptions(request: ModifyAddressBookRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAddressBookResponse> {
|
|
7816
8047
|
Util.validateModel(request);
|
|
7817
8048
|
let query = { };
|