@alicloud/cloudfw20171207 1.2.6 → 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 +56 -0
- package/dist/client.js +97 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +129 -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',
|
|
@@ -3238,6 +3247,7 @@ export class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
|
|
|
3238
3247
|
export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
3239
3248
|
connectType?: string;
|
|
3240
3249
|
firewallSwitchStatus?: string;
|
|
3250
|
+
firewallVpc?: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc;
|
|
3241
3251
|
localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
|
|
3242
3252
|
requestId?: string;
|
|
3243
3253
|
vpcFirewallId?: string;
|
|
@@ -3246,6 +3256,7 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
3246
3256
|
return {
|
|
3247
3257
|
connectType: 'ConnectType',
|
|
3248
3258
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
3259
|
+
firewallVpc: 'FirewallVpc',
|
|
3249
3260
|
localVpc: 'LocalVpc',
|
|
3250
3261
|
requestId: 'RequestId',
|
|
3251
3262
|
vpcFirewallId: 'VpcFirewallId',
|
|
@@ -3257,6 +3268,7 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
3257
3268
|
return {
|
|
3258
3269
|
connectType: 'string',
|
|
3259
3270
|
firewallSwitchStatus: 'string',
|
|
3271
|
+
firewallVpc: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc,
|
|
3260
3272
|
localVpc: DescribeVpcFirewallCenDetailResponseBodyLocalVpc,
|
|
3261
3273
|
requestId: 'string',
|
|
3262
3274
|
vpcFirewallId: 'string',
|
|
@@ -6694,6 +6706,68 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extend
|
|
|
6694
6706
|
}
|
|
6695
6707
|
}
|
|
6696
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
|
+
|
|
6697
6771
|
export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
6698
6772
|
cenId?: string;
|
|
6699
6773
|
cenName?: string;
|
|
@@ -6702,11 +6776,13 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
6702
6776
|
ipsConfig?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
|
|
6703
6777
|
ownerId?: number;
|
|
6704
6778
|
precheckStatus?: string;
|
|
6779
|
+
protectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource;
|
|
6705
6780
|
regionNo?: string;
|
|
6706
6781
|
regionStatus?: string;
|
|
6707
6782
|
resultCode?: string;
|
|
6708
6783
|
routeMode?: string;
|
|
6709
6784
|
transitRouterId?: string;
|
|
6785
|
+
unprotectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource;
|
|
6710
6786
|
vpcFirewallName?: string;
|
|
6711
6787
|
static names(): { [key: string]: string } {
|
|
6712
6788
|
return {
|
|
@@ -6717,11 +6793,13 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
6717
6793
|
ipsConfig: 'IpsConfig',
|
|
6718
6794
|
ownerId: 'OwnerId',
|
|
6719
6795
|
precheckStatus: 'PrecheckStatus',
|
|
6796
|
+
protectedResource: 'ProtectedResource',
|
|
6720
6797
|
regionNo: 'RegionNo',
|
|
6721
6798
|
regionStatus: 'RegionStatus',
|
|
6722
6799
|
resultCode: 'ResultCode',
|
|
6723
6800
|
routeMode: 'RouteMode',
|
|
6724
6801
|
transitRouterId: 'TransitRouterId',
|
|
6802
|
+
unprotectedResource: 'UnprotectedResource',
|
|
6725
6803
|
vpcFirewallName: 'VpcFirewallName',
|
|
6726
6804
|
};
|
|
6727
6805
|
}
|
|
@@ -6735,11 +6813,13 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
6735
6813
|
ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
|
|
6736
6814
|
ownerId: 'number',
|
|
6737
6815
|
precheckStatus: 'string',
|
|
6816
|
+
protectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource,
|
|
6738
6817
|
regionNo: 'string',
|
|
6739
6818
|
regionStatus: 'string',
|
|
6740
6819
|
resultCode: 'string',
|
|
6741
6820
|
routeMode: 'string',
|
|
6742
6821
|
transitRouterId: 'string',
|
|
6822
|
+
unprotectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource,
|
|
6743
6823
|
vpcFirewallName: 'string',
|
|
6744
6824
|
};
|
|
6745
6825
|
}
|
|
@@ -6802,13 +6882,49 @@ export class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $te
|
|
|
6802
6882
|
}
|
|
6803
6883
|
}
|
|
6804
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
|
+
|
|
6805
6919
|
export class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model {
|
|
6806
6920
|
eniId?: string;
|
|
6807
6921
|
eniPrivateIpAddress?: string;
|
|
6922
|
+
eniVSwitchId?: string;
|
|
6808
6923
|
static names(): { [key: string]: string } {
|
|
6809
6924
|
return {
|
|
6810
6925
|
eniId: 'EniId',
|
|
6811
6926
|
eniPrivateIpAddress: 'EniPrivateIpAddress',
|
|
6927
|
+
eniVSwitchId: 'EniVSwitchId',
|
|
6812
6928
|
};
|
|
6813
6929
|
}
|
|
6814
6930
|
|
|
@@ -6816,6 +6932,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $te
|
|
|
6816
6932
|
return {
|
|
6817
6933
|
eniId: 'string',
|
|
6818
6934
|
eniPrivateIpAddress: 'string',
|
|
6935
|
+
eniVSwitchId: 'string',
|
|
6819
6936
|
};
|
|
6820
6937
|
}
|
|
6821
6938
|
|
|
@@ -8290,6 +8407,18 @@ export default class Client extends OpenApi {
|
|
|
8290
8407
|
query["FirewallSwitch"] = request.firewallSwitch;
|
|
8291
8408
|
}
|
|
8292
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
|
+
|
|
8293
8422
|
if (!Util.isUnset(request.lang)) {
|
|
8294
8423
|
query["Lang"] = request.lang;
|
|
8295
8424
|
}
|