@alicloud/cloudfw20171207 1.2.5 → 1.2.7
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 +58 -0
- package/dist/client.js +104 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +139 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -576,6 +576,9 @@ export class CreateTrFirewallV2RoutePolicyResponse extends $tea.Model {
|
|
|
576
576
|
export class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
577
577
|
cenId?: string;
|
|
578
578
|
firewallSwitch?: string;
|
|
579
|
+
firewallVSwitchCidrBlock?: string;
|
|
580
|
+
firewallVpcCidrBlock?: string;
|
|
581
|
+
firewallVpcZoneId?: string;
|
|
579
582
|
lang?: string;
|
|
580
583
|
memberUid?: string;
|
|
581
584
|
networkInstanceId?: string;
|
|
@@ -586,6 +589,9 @@ export class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
|
586
589
|
return {
|
|
587
590
|
cenId: 'CenId',
|
|
588
591
|
firewallSwitch: 'FirewallSwitch',
|
|
592
|
+
firewallVSwitchCidrBlock: 'FirewallVSwitchCidrBlock',
|
|
593
|
+
firewallVpcCidrBlock: 'FirewallVpcCidrBlock',
|
|
594
|
+
firewallVpcZoneId: 'FirewallVpcZoneId',
|
|
589
595
|
lang: 'Lang',
|
|
590
596
|
memberUid: 'MemberUid',
|
|
591
597
|
networkInstanceId: 'NetworkInstanceId',
|
|
@@ -599,6 +605,9 @@ export class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
|
599
605
|
return {
|
|
600
606
|
cenId: 'string',
|
|
601
607
|
firewallSwitch: 'string',
|
|
608
|
+
firewallVSwitchCidrBlock: 'string',
|
|
609
|
+
firewallVpcCidrBlock: 'string',
|
|
610
|
+
firewallVpcZoneId: 'string',
|
|
602
611
|
lang: 'string',
|
|
603
612
|
memberUid: 'string',
|
|
604
613
|
networkInstanceId: 'string',
|
|
@@ -2684,12 +2693,14 @@ export class DescribeTrFirewallV2RoutePolicyListRequest extends $tea.Model {
|
|
|
2684
2693
|
firewallId?: string;
|
|
2685
2694
|
lang?: string;
|
|
2686
2695
|
pageSize?: number;
|
|
2696
|
+
policyId?: string;
|
|
2687
2697
|
static names(): { [key: string]: string } {
|
|
2688
2698
|
return {
|
|
2689
2699
|
currentPage: 'CurrentPage',
|
|
2690
2700
|
firewallId: 'FirewallId',
|
|
2691
2701
|
lang: 'Lang',
|
|
2692
2702
|
pageSize: 'PageSize',
|
|
2703
|
+
policyId: 'PolicyId',
|
|
2693
2704
|
};
|
|
2694
2705
|
}
|
|
2695
2706
|
|
|
@@ -2699,6 +2710,7 @@ export class DescribeTrFirewallV2RoutePolicyListRequest extends $tea.Model {
|
|
|
2699
2710
|
firewallId: 'string',
|
|
2700
2711
|
lang: 'string',
|
|
2701
2712
|
pageSize: 'number',
|
|
2713
|
+
policyId: 'string',
|
|
2702
2714
|
};
|
|
2703
2715
|
}
|
|
2704
2716
|
|
|
@@ -2709,10 +2721,12 @@ export class DescribeTrFirewallV2RoutePolicyListRequest extends $tea.Model {
|
|
|
2709
2721
|
|
|
2710
2722
|
export class DescribeTrFirewallV2RoutePolicyListResponseBody extends $tea.Model {
|
|
2711
2723
|
requestId?: string;
|
|
2724
|
+
totalCount?: string;
|
|
2712
2725
|
trFirewallRoutePolicies?: DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies[];
|
|
2713
2726
|
static names(): { [key: string]: string } {
|
|
2714
2727
|
return {
|
|
2715
2728
|
requestId: 'RequestId',
|
|
2729
|
+
totalCount: 'TotalCount',
|
|
2716
2730
|
trFirewallRoutePolicies: 'TrFirewallRoutePolicies',
|
|
2717
2731
|
};
|
|
2718
2732
|
}
|
|
@@ -2720,6 +2734,7 @@ export class DescribeTrFirewallV2RoutePolicyListResponseBody extends $tea.Model
|
|
|
2720
2734
|
static types(): { [key: string]: any } {
|
|
2721
2735
|
return {
|
|
2722
2736
|
requestId: 'string',
|
|
2737
|
+
totalCount: 'string',
|
|
2723
2738
|
trFirewallRoutePolicies: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies },
|
|
2724
2739
|
};
|
|
2725
2740
|
}
|
|
@@ -3232,6 +3247,7 @@ export class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
|
|
|
3232
3247
|
export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
3233
3248
|
connectType?: string;
|
|
3234
3249
|
firewallSwitchStatus?: string;
|
|
3250
|
+
firewallVpc?: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc;
|
|
3235
3251
|
localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
|
|
3236
3252
|
requestId?: string;
|
|
3237
3253
|
vpcFirewallId?: string;
|
|
@@ -3240,6 +3256,7 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
3240
3256
|
return {
|
|
3241
3257
|
connectType: 'ConnectType',
|
|
3242
3258
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
3259
|
+
firewallVpc: 'FirewallVpc',
|
|
3243
3260
|
localVpc: 'LocalVpc',
|
|
3244
3261
|
requestId: 'RequestId',
|
|
3245
3262
|
vpcFirewallId: 'VpcFirewallId',
|
|
@@ -3251,6 +3268,7 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
3251
3268
|
return {
|
|
3252
3269
|
connectType: 'string',
|
|
3253
3270
|
firewallSwitchStatus: 'string',
|
|
3271
|
+
firewallVpc: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc,
|
|
3254
3272
|
localVpc: DescribeVpcFirewallCenDetailResponseBodyLocalVpc,
|
|
3255
3273
|
requestId: 'string',
|
|
3256
3274
|
vpcFirewallId: 'string',
|
|
@@ -6688,6 +6706,68 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extend
|
|
|
6688
6706
|
}
|
|
6689
6707
|
}
|
|
6690
6708
|
|
|
6709
|
+
export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource extends $tea.Model {
|
|
6710
|
+
count?: number;
|
|
6711
|
+
peerTrList?: string[];
|
|
6712
|
+
vbrList?: string[];
|
|
6713
|
+
vpcList?: string[];
|
|
6714
|
+
vpnList?: string[];
|
|
6715
|
+
static names(): { [key: string]: string } {
|
|
6716
|
+
return {
|
|
6717
|
+
count: 'Count',
|
|
6718
|
+
peerTrList: 'PeerTrList',
|
|
6719
|
+
vbrList: 'VbrList',
|
|
6720
|
+
vpcList: 'VpcList',
|
|
6721
|
+
vpnList: 'VpnList',
|
|
6722
|
+
};
|
|
6723
|
+
}
|
|
6724
|
+
|
|
6725
|
+
static types(): { [key: string]: any } {
|
|
6726
|
+
return {
|
|
6727
|
+
count: 'number',
|
|
6728
|
+
peerTrList: { 'type': 'array', 'itemType': 'string' },
|
|
6729
|
+
vbrList: { 'type': 'array', 'itemType': 'string' },
|
|
6730
|
+
vpcList: { 'type': 'array', 'itemType': 'string' },
|
|
6731
|
+
vpnList: { 'type': 'array', 'itemType': 'string' },
|
|
6732
|
+
};
|
|
6733
|
+
}
|
|
6734
|
+
|
|
6735
|
+
constructor(map?: { [key: string]: any }) {
|
|
6736
|
+
super(map);
|
|
6737
|
+
}
|
|
6738
|
+
}
|
|
6739
|
+
|
|
6740
|
+
export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource extends $tea.Model {
|
|
6741
|
+
count?: number;
|
|
6742
|
+
peerTrList?: string[];
|
|
6743
|
+
vbrList?: string[];
|
|
6744
|
+
vpcList?: string[];
|
|
6745
|
+
vpnList?: string[];
|
|
6746
|
+
static names(): { [key: string]: string } {
|
|
6747
|
+
return {
|
|
6748
|
+
count: 'Count',
|
|
6749
|
+
peerTrList: 'PeerTrList',
|
|
6750
|
+
vbrList: 'VbrList',
|
|
6751
|
+
vpcList: 'VpcList',
|
|
6752
|
+
vpnList: 'VpnList',
|
|
6753
|
+
};
|
|
6754
|
+
}
|
|
6755
|
+
|
|
6756
|
+
static types(): { [key: string]: any } {
|
|
6757
|
+
return {
|
|
6758
|
+
count: 'number',
|
|
6759
|
+
peerTrList: { 'type': 'array', 'itemType': 'string' },
|
|
6760
|
+
vbrList: { 'type': 'array', 'itemType': 'string' },
|
|
6761
|
+
vpcList: { 'type': 'array', 'itemType': 'string' },
|
|
6762
|
+
vpnList: { 'type': 'array', 'itemType': 'string' },
|
|
6763
|
+
};
|
|
6764
|
+
}
|
|
6765
|
+
|
|
6766
|
+
constructor(map?: { [key: string]: any }) {
|
|
6767
|
+
super(map);
|
|
6768
|
+
}
|
|
6769
|
+
}
|
|
6770
|
+
|
|
6691
6771
|
export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
6692
6772
|
cenId?: string;
|
|
6693
6773
|
cenName?: string;
|
|
@@ -6696,11 +6776,13 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
6696
6776
|
ipsConfig?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
|
|
6697
6777
|
ownerId?: number;
|
|
6698
6778
|
precheckStatus?: string;
|
|
6779
|
+
protectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource;
|
|
6699
6780
|
regionNo?: string;
|
|
6700
6781
|
regionStatus?: string;
|
|
6701
6782
|
resultCode?: string;
|
|
6702
6783
|
routeMode?: string;
|
|
6703
6784
|
transitRouterId?: string;
|
|
6785
|
+
unprotectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource;
|
|
6704
6786
|
vpcFirewallName?: string;
|
|
6705
6787
|
static names(): { [key: string]: string } {
|
|
6706
6788
|
return {
|
|
@@ -6711,11 +6793,13 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
6711
6793
|
ipsConfig: 'IpsConfig',
|
|
6712
6794
|
ownerId: 'OwnerId',
|
|
6713
6795
|
precheckStatus: 'PrecheckStatus',
|
|
6796
|
+
protectedResource: 'ProtectedResource',
|
|
6714
6797
|
regionNo: 'RegionNo',
|
|
6715
6798
|
regionStatus: 'RegionStatus',
|
|
6716
6799
|
resultCode: 'ResultCode',
|
|
6717
6800
|
routeMode: 'RouteMode',
|
|
6718
6801
|
transitRouterId: 'TransitRouterId',
|
|
6802
|
+
unprotectedResource: 'UnprotectedResource',
|
|
6719
6803
|
vpcFirewallName: 'VpcFirewallName',
|
|
6720
6804
|
};
|
|
6721
6805
|
}
|
|
@@ -6729,11 +6813,13 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
6729
6813
|
ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
|
|
6730
6814
|
ownerId: 'number',
|
|
6731
6815
|
precheckStatus: 'string',
|
|
6816
|
+
protectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource,
|
|
6732
6817
|
regionNo: 'string',
|
|
6733
6818
|
regionStatus: 'string',
|
|
6734
6819
|
resultCode: 'string',
|
|
6735
6820
|
routeMode: 'string',
|
|
6736
6821
|
transitRouterId: 'string',
|
|
6822
|
+
unprotectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource,
|
|
6737
6823
|
vpcFirewallName: 'string',
|
|
6738
6824
|
};
|
|
6739
6825
|
}
|
|
@@ -6796,13 +6882,49 @@ export class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $te
|
|
|
6796
6882
|
}
|
|
6797
6883
|
}
|
|
6798
6884
|
|
|
6885
|
+
export class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $tea.Model {
|
|
6886
|
+
allowConfiguration?: number;
|
|
6887
|
+
vpcCidr?: string;
|
|
6888
|
+
vpcId?: string;
|
|
6889
|
+
vswitchCidr?: string;
|
|
6890
|
+
vswitchId?: string;
|
|
6891
|
+
zoneId?: string;
|
|
6892
|
+
static names(): { [key: string]: string } {
|
|
6893
|
+
return {
|
|
6894
|
+
allowConfiguration: 'AllowConfiguration',
|
|
6895
|
+
vpcCidr: 'VpcCidr',
|
|
6896
|
+
vpcId: 'VpcId',
|
|
6897
|
+
vswitchCidr: 'VswitchCidr',
|
|
6898
|
+
vswitchId: 'VswitchId',
|
|
6899
|
+
zoneId: 'ZoneId',
|
|
6900
|
+
};
|
|
6901
|
+
}
|
|
6902
|
+
|
|
6903
|
+
static types(): { [key: string]: any } {
|
|
6904
|
+
return {
|
|
6905
|
+
allowConfiguration: 'number',
|
|
6906
|
+
vpcCidr: 'string',
|
|
6907
|
+
vpcId: 'string',
|
|
6908
|
+
vswitchCidr: 'string',
|
|
6909
|
+
vswitchId: 'string',
|
|
6910
|
+
zoneId: 'string',
|
|
6911
|
+
};
|
|
6912
|
+
}
|
|
6913
|
+
|
|
6914
|
+
constructor(map?: { [key: string]: any }) {
|
|
6915
|
+
super(map);
|
|
6916
|
+
}
|
|
6917
|
+
}
|
|
6918
|
+
|
|
6799
6919
|
export class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model {
|
|
6800
6920
|
eniId?: string;
|
|
6801
6921
|
eniPrivateIpAddress?: string;
|
|
6922
|
+
eniVSwitchId?: string;
|
|
6802
6923
|
static names(): { [key: string]: string } {
|
|
6803
6924
|
return {
|
|
6804
6925
|
eniId: 'EniId',
|
|
6805
6926
|
eniPrivateIpAddress: 'EniPrivateIpAddress',
|
|
6927
|
+
eniVSwitchId: 'EniVSwitchId',
|
|
6806
6928
|
};
|
|
6807
6929
|
}
|
|
6808
6930
|
|
|
@@ -6810,6 +6932,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $te
|
|
|
6810
6932
|
return {
|
|
6811
6933
|
eniId: 'string',
|
|
6812
6934
|
eniPrivateIpAddress: 'string',
|
|
6935
|
+
eniVSwitchId: 'string',
|
|
6813
6936
|
};
|
|
6814
6937
|
}
|
|
6815
6938
|
|
|
@@ -8284,6 +8407,18 @@ export default class Client extends OpenApi {
|
|
|
8284
8407
|
query["FirewallSwitch"] = request.firewallSwitch;
|
|
8285
8408
|
}
|
|
8286
8409
|
|
|
8410
|
+
if (!Util.isUnset(request.firewallVSwitchCidrBlock)) {
|
|
8411
|
+
query["FirewallVSwitchCidrBlock"] = request.firewallVSwitchCidrBlock;
|
|
8412
|
+
}
|
|
8413
|
+
|
|
8414
|
+
if (!Util.isUnset(request.firewallVpcCidrBlock)) {
|
|
8415
|
+
query["FirewallVpcCidrBlock"] = request.firewallVpcCidrBlock;
|
|
8416
|
+
}
|
|
8417
|
+
|
|
8418
|
+
if (!Util.isUnset(request.firewallVpcZoneId)) {
|
|
8419
|
+
query["FirewallVpcZoneId"] = request.firewallVpcZoneId;
|
|
8420
|
+
}
|
|
8421
|
+
|
|
8287
8422
|
if (!Util.isUnset(request.lang)) {
|
|
8288
8423
|
query["Lang"] = request.lang;
|
|
8289
8424
|
}
|
|
@@ -9900,6 +10035,10 @@ export default class Client extends OpenApi {
|
|
|
9900
10035
|
query["PageSize"] = request.pageSize;
|
|
9901
10036
|
}
|
|
9902
10037
|
|
|
10038
|
+
if (!Util.isUnset(request.policyId)) {
|
|
10039
|
+
query["PolicyId"] = request.policyId;
|
|
10040
|
+
}
|
|
10041
|
+
|
|
9903
10042
|
let req = new $OpenApi.OpenApiRequest({
|
|
9904
10043
|
query: OpenApiUtil.query(query),
|
|
9905
10044
|
});
|