@alicloud/cloudfw20171207 4.0.4 → 5.0.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 +166 -13
- package/dist/client.js +140 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +262 -20
package/src/client.ts
CHANGED
|
@@ -276,7 +276,21 @@ export class DescribeACLProtectTrendResponseBodyTrendList extends $dara.Model {
|
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
export class DescribeAddressBookResponseBodyAclsAddresses extends $dara.Model {
|
|
279
|
+
/**
|
|
280
|
+
* @remarks
|
|
281
|
+
* Address information in the address book.
|
|
282
|
+
*
|
|
283
|
+
* @example
|
|
284
|
+
* 192.168.0.1/32
|
|
285
|
+
*/
|
|
279
286
|
address?: string;
|
|
287
|
+
/**
|
|
288
|
+
* @remarks
|
|
289
|
+
* Single address description.
|
|
290
|
+
*
|
|
291
|
+
* @example
|
|
292
|
+
* description
|
|
293
|
+
*/
|
|
280
294
|
note?: string;
|
|
281
295
|
static names(): { [key: string]: string } {
|
|
282
296
|
return {
|
|
@@ -355,6 +369,10 @@ export class DescribeAddressBookResponseBodyAcls extends $dara.Model {
|
|
|
355
369
|
* 2
|
|
356
370
|
*/
|
|
357
371
|
addressListCount?: number;
|
|
372
|
+
/**
|
|
373
|
+
* @remarks
|
|
374
|
+
* A list of addresses in the address book, each with a single address description.
|
|
375
|
+
*/
|
|
358
376
|
addresses?: DescribeAddressBookResponseBodyAclsAddresses[];
|
|
359
377
|
/**
|
|
360
378
|
* @remarks
|
|
@@ -4893,6 +4911,7 @@ export class DescribeSignatureLibVersionResponseBodyVersion extends $dara.Model
|
|
|
4893
4911
|
* ips
|
|
4894
4912
|
*/
|
|
4895
4913
|
type?: string;
|
|
4914
|
+
updateTime?: number;
|
|
4896
4915
|
/**
|
|
4897
4916
|
* @remarks
|
|
4898
4917
|
* The version number.
|
|
@@ -4904,6 +4923,7 @@ export class DescribeSignatureLibVersionResponseBodyVersion extends $dara.Model
|
|
|
4904
4923
|
static names(): { [key: string]: string } {
|
|
4905
4924
|
return {
|
|
4906
4925
|
type: 'Type',
|
|
4926
|
+
updateTime: 'UpdateTime',
|
|
4907
4927
|
version: 'Version',
|
|
4908
4928
|
};
|
|
4909
4929
|
}
|
|
@@ -4911,6 +4931,7 @@ export class DescribeSignatureLibVersionResponseBodyVersion extends $dara.Model
|
|
|
4911
4931
|
static types(): { [key: string]: any } {
|
|
4912
4932
|
return {
|
|
4913
4933
|
type: 'string',
|
|
4934
|
+
updateTime: 'number',
|
|
4914
4935
|
version: 'string',
|
|
4915
4936
|
};
|
|
4916
4937
|
}
|
|
@@ -5215,6 +5236,29 @@ export class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolic
|
|
|
5215
5236
|
}
|
|
5216
5237
|
}
|
|
5217
5238
|
|
|
5239
|
+
export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsAclConfig extends $dara.Model {
|
|
5240
|
+
strictMode?: number;
|
|
5241
|
+
static names(): { [key: string]: string } {
|
|
5242
|
+
return {
|
|
5243
|
+
strictMode: 'StrictMode',
|
|
5244
|
+
};
|
|
5245
|
+
}
|
|
5246
|
+
|
|
5247
|
+
static types(): { [key: string]: any } {
|
|
5248
|
+
return {
|
|
5249
|
+
strictMode: 'number',
|
|
5250
|
+
};
|
|
5251
|
+
}
|
|
5252
|
+
|
|
5253
|
+
validate() {
|
|
5254
|
+
super.validate();
|
|
5255
|
+
}
|
|
5256
|
+
|
|
5257
|
+
constructor(map?: { [key: string]: any }) {
|
|
5258
|
+
super(map);
|
|
5259
|
+
}
|
|
5260
|
+
}
|
|
5261
|
+
|
|
5218
5262
|
export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extends $dara.Model {
|
|
5219
5263
|
/**
|
|
5220
5264
|
* @remarks
|
|
@@ -5449,6 +5493,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResou
|
|
|
5449
5493
|
}
|
|
5450
5494
|
|
|
5451
5495
|
export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $dara.Model {
|
|
5496
|
+
aclConfig?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsAclConfig;
|
|
5452
5497
|
/**
|
|
5453
5498
|
* @remarks
|
|
5454
5499
|
* The ID of the CEN instance.
|
|
@@ -5596,6 +5641,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $dara.M
|
|
|
5596
5641
|
vpcFirewallName?: string;
|
|
5597
5642
|
static names(): { [key: string]: string } {
|
|
5598
5643
|
return {
|
|
5644
|
+
aclConfig: 'AclConfig',
|
|
5599
5645
|
cenId: 'CenId',
|
|
5600
5646
|
cenName: 'CenName',
|
|
5601
5647
|
cloudFirewallVpcOrderType: 'CloudFirewallVpcOrderType',
|
|
@@ -5617,6 +5663,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $dara.M
|
|
|
5617
5663
|
|
|
5618
5664
|
static types(): { [key: string]: any } {
|
|
5619
5665
|
return {
|
|
5666
|
+
aclConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsAclConfig,
|
|
5620
5667
|
cenId: 'string',
|
|
5621
5668
|
cenName: 'string',
|
|
5622
5669
|
cloudFirewallVpcOrderType: 'string',
|
|
@@ -5637,6 +5684,9 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $dara.M
|
|
|
5637
5684
|
}
|
|
5638
5685
|
|
|
5639
5686
|
validate() {
|
|
5687
|
+
if(this.aclConfig && typeof (this.aclConfig as any).validate === 'function') {
|
|
5688
|
+
(this.aclConfig as any).validate();
|
|
5689
|
+
}
|
|
5640
5690
|
if(this.ipsConfig && typeof (this.ipsConfig as any).validate === 'function') {
|
|
5641
5691
|
(this.ipsConfig as any).validate();
|
|
5642
5692
|
}
|
|
@@ -5790,7 +5840,31 @@ export class DescribeUserIPSWhitelistResponseBodyWhitelists extends $dara.Model
|
|
|
5790
5840
|
}
|
|
5791
5841
|
}
|
|
5792
5842
|
|
|
5843
|
+
export class DescribeVpcFirewallAclGroupListResponseBodyAclGroupListAclConfig extends $dara.Model {
|
|
5844
|
+
strictMode?: number;
|
|
5845
|
+
static names(): { [key: string]: string } {
|
|
5846
|
+
return {
|
|
5847
|
+
strictMode: 'StrictMode',
|
|
5848
|
+
};
|
|
5849
|
+
}
|
|
5850
|
+
|
|
5851
|
+
static types(): { [key: string]: any } {
|
|
5852
|
+
return {
|
|
5853
|
+
strictMode: 'number',
|
|
5854
|
+
};
|
|
5855
|
+
}
|
|
5856
|
+
|
|
5857
|
+
validate() {
|
|
5858
|
+
super.validate();
|
|
5859
|
+
}
|
|
5860
|
+
|
|
5861
|
+
constructor(map?: { [key: string]: any }) {
|
|
5862
|
+
super(map);
|
|
5863
|
+
}
|
|
5864
|
+
}
|
|
5865
|
+
|
|
5793
5866
|
export class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $dara.Model {
|
|
5867
|
+
aclConfig?: DescribeVpcFirewallAclGroupListResponseBodyAclGroupListAclConfig;
|
|
5794
5868
|
/**
|
|
5795
5869
|
* @remarks
|
|
5796
5870
|
* The ID of the policy group.
|
|
@@ -5848,6 +5922,7 @@ export class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $da
|
|
|
5848
5922
|
memberUid?: string;
|
|
5849
5923
|
static names(): { [key: string]: string } {
|
|
5850
5924
|
return {
|
|
5925
|
+
aclConfig: 'AclConfig',
|
|
5851
5926
|
aclGroupId: 'AclGroupId',
|
|
5852
5927
|
aclGroupName: 'AclGroupName',
|
|
5853
5928
|
aclRuleCount: 'AclRuleCount',
|
|
@@ -5858,6 +5933,7 @@ export class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $da
|
|
|
5858
5933
|
|
|
5859
5934
|
static types(): { [key: string]: any } {
|
|
5860
5935
|
return {
|
|
5936
|
+
aclConfig: DescribeVpcFirewallAclGroupListResponseBodyAclGroupListAclConfig,
|
|
5861
5937
|
aclGroupId: 'string',
|
|
5862
5938
|
aclGroupName: 'string',
|
|
5863
5939
|
aclRuleCount: 'number',
|
|
@@ -5867,6 +5943,9 @@ export class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $da
|
|
|
5867
5943
|
}
|
|
5868
5944
|
|
|
5869
5945
|
validate() {
|
|
5946
|
+
if(this.aclConfig && typeof (this.aclConfig as any).validate === 'function') {
|
|
5947
|
+
(this.aclConfig as any).validate();
|
|
5948
|
+
}
|
|
5870
5949
|
super.validate();
|
|
5871
5950
|
}
|
|
5872
5951
|
|
|
@@ -5887,6 +5966,14 @@ export class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $dara.M
|
|
|
5887
5966
|
* 0
|
|
5888
5967
|
*/
|
|
5889
5968
|
allowConfiguration?: number;
|
|
5969
|
+
/**
|
|
5970
|
+
* @remarks
|
|
5971
|
+
* Firewall backup availability zone ID.
|
|
5972
|
+
*
|
|
5973
|
+
* @example
|
|
5974
|
+
* cn-hangzhou-k
|
|
5975
|
+
*/
|
|
5976
|
+
standbyZoneId?: string;
|
|
5890
5977
|
/**
|
|
5891
5978
|
* @remarks
|
|
5892
5979
|
* The CIDR block of the VPC.
|
|
@@ -5919,6 +6006,14 @@ export class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $dara.M
|
|
|
5919
6006
|
* vsw-bp1sqg9wms9wxcs1****
|
|
5920
6007
|
*/
|
|
5921
6008
|
vswitchId?: string;
|
|
6009
|
+
/**
|
|
6010
|
+
* @remarks
|
|
6011
|
+
* The availability zone ID of the virtual switch.
|
|
6012
|
+
*
|
|
6013
|
+
* @example
|
|
6014
|
+
* cn-hangzhou-i
|
|
6015
|
+
*/
|
|
6016
|
+
vswitchZoneId?: string;
|
|
5922
6017
|
/**
|
|
5923
6018
|
* @remarks
|
|
5924
6019
|
* The zone ID.
|
|
@@ -5930,10 +6025,12 @@ export class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $dara.M
|
|
|
5930
6025
|
static names(): { [key: string]: string } {
|
|
5931
6026
|
return {
|
|
5932
6027
|
allowConfiguration: 'AllowConfiguration',
|
|
6028
|
+
standbyZoneId: 'StandbyZoneId',
|
|
5933
6029
|
vpcCidr: 'VpcCidr',
|
|
5934
6030
|
vpcId: 'VpcId',
|
|
5935
6031
|
vswitchCidr: 'VswitchCidr',
|
|
5936
6032
|
vswitchId: 'VswitchId',
|
|
6033
|
+
vswitchZoneId: 'VswitchZoneId',
|
|
5937
6034
|
zoneId: 'ZoneId',
|
|
5938
6035
|
};
|
|
5939
6036
|
}
|
|
@@ -5941,10 +6038,12 @@ export class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $dara.M
|
|
|
5941
6038
|
static types(): { [key: string]: any } {
|
|
5942
6039
|
return {
|
|
5943
6040
|
allowConfiguration: 'number',
|
|
6041
|
+
standbyZoneId: 'string',
|
|
5944
6042
|
vpcCidr: 'string',
|
|
5945
6043
|
vpcId: 'string',
|
|
5946
6044
|
vswitchCidr: 'string',
|
|
5947
6045
|
vswitchId: 'string',
|
|
6046
|
+
vswitchZoneId: 'string',
|
|
5948
6047
|
zoneId: 'string',
|
|
5949
6048
|
};
|
|
5950
6049
|
}
|
|
@@ -6287,6 +6386,29 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpc extends $dara.Mode
|
|
|
6287
6386
|
}
|
|
6288
6387
|
}
|
|
6289
6388
|
|
|
6389
|
+
export class DescribeVpcFirewallCenListResponseBodyVpcFirewallsAclConfig extends $dara.Model {
|
|
6390
|
+
strictMode?: number;
|
|
6391
|
+
static names(): { [key: string]: string } {
|
|
6392
|
+
return {
|
|
6393
|
+
strictMode: 'StrictMode',
|
|
6394
|
+
};
|
|
6395
|
+
}
|
|
6396
|
+
|
|
6397
|
+
static types(): { [key: string]: any } {
|
|
6398
|
+
return {
|
|
6399
|
+
strictMode: 'number',
|
|
6400
|
+
};
|
|
6401
|
+
}
|
|
6402
|
+
|
|
6403
|
+
validate() {
|
|
6404
|
+
super.validate();
|
|
6405
|
+
}
|
|
6406
|
+
|
|
6407
|
+
constructor(map?: { [key: string]: any }) {
|
|
6408
|
+
super(map);
|
|
6409
|
+
}
|
|
6410
|
+
}
|
|
6411
|
+
|
|
6290
6412
|
export class DescribeVpcFirewallCenListResponseBodyVpcFirewallsIpsConfig extends $dara.Model {
|
|
6291
6413
|
/**
|
|
6292
6414
|
* @remarks
|
|
@@ -6614,6 +6736,7 @@ export class DescribeVpcFirewallCenListResponseBodyVpcFirewallsLocalVpc extends
|
|
|
6614
6736
|
}
|
|
6615
6737
|
|
|
6616
6738
|
export class DescribeVpcFirewallCenListResponseBodyVpcFirewalls extends $dara.Model {
|
|
6739
|
+
aclConfig?: DescribeVpcFirewallCenListResponseBodyVpcFirewallsAclConfig;
|
|
6617
6740
|
/**
|
|
6618
6741
|
* @remarks
|
|
6619
6742
|
* The ID of the CEN instance.
|
|
@@ -6723,6 +6846,7 @@ export class DescribeVpcFirewallCenListResponseBodyVpcFirewalls extends $dara.Mo
|
|
|
6723
6846
|
vpcFirewallName?: string;
|
|
6724
6847
|
static names(): { [key: string]: string } {
|
|
6725
6848
|
return {
|
|
6849
|
+
aclConfig: 'AclConfig',
|
|
6726
6850
|
cenId: 'CenId',
|
|
6727
6851
|
cenName: 'CenName',
|
|
6728
6852
|
connectType: 'ConnectType',
|
|
@@ -6740,6 +6864,7 @@ export class DescribeVpcFirewallCenListResponseBodyVpcFirewalls extends $dara.Mo
|
|
|
6740
6864
|
|
|
6741
6865
|
static types(): { [key: string]: any } {
|
|
6742
6866
|
return {
|
|
6867
|
+
aclConfig: DescribeVpcFirewallCenListResponseBodyVpcFirewallsAclConfig,
|
|
6743
6868
|
cenId: 'string',
|
|
6744
6869
|
cenName: 'string',
|
|
6745
6870
|
connectType: 'string',
|
|
@@ -6756,6 +6881,9 @@ export class DescribeVpcFirewallCenListResponseBodyVpcFirewalls extends $dara.Mo
|
|
|
6756
6881
|
}
|
|
6757
6882
|
|
|
6758
6883
|
validate() {
|
|
6884
|
+
if(this.aclConfig && typeof (this.aclConfig as any).validate === 'function') {
|
|
6885
|
+
(this.aclConfig as any).validate();
|
|
6886
|
+
}
|
|
6759
6887
|
if(this.ipsConfig && typeof (this.ipsConfig as any).validate === 'function') {
|
|
6760
6888
|
(this.ipsConfig as any).validate();
|
|
6761
6889
|
}
|
|
@@ -7622,6 +7750,33 @@ export class DescribeVpcFirewallIPSWhitelistResponseBodyWhitelists extends $dara
|
|
|
7622
7750
|
}
|
|
7623
7751
|
}
|
|
7624
7752
|
|
|
7753
|
+
export class DescribeVpcFirewallListResponseBodyVpcFirewallsAclConfig extends $dara.Model {
|
|
7754
|
+
/**
|
|
7755
|
+
* @remarks
|
|
7756
|
+
* This parameter is required.
|
|
7757
|
+
*/
|
|
7758
|
+
strictMode?: number;
|
|
7759
|
+
static names(): { [key: string]: string } {
|
|
7760
|
+
return {
|
|
7761
|
+
strictMode: 'StrictMode',
|
|
7762
|
+
};
|
|
7763
|
+
}
|
|
7764
|
+
|
|
7765
|
+
static types(): { [key: string]: any } {
|
|
7766
|
+
return {
|
|
7767
|
+
strictMode: 'number',
|
|
7768
|
+
};
|
|
7769
|
+
}
|
|
7770
|
+
|
|
7771
|
+
validate() {
|
|
7772
|
+
super.validate();
|
|
7773
|
+
}
|
|
7774
|
+
|
|
7775
|
+
constructor(map?: { [key: string]: any }) {
|
|
7776
|
+
super(map);
|
|
7777
|
+
}
|
|
7778
|
+
}
|
|
7779
|
+
|
|
7625
7780
|
export class DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig extends $dara.Model {
|
|
7626
7781
|
/**
|
|
7627
7782
|
* @remarks
|
|
@@ -8016,6 +8171,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc extends $dar
|
|
|
8016
8171
|
}
|
|
8017
8172
|
|
|
8018
8173
|
export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $dara.Model {
|
|
8174
|
+
aclConfig?: DescribeVpcFirewallListResponseBodyVpcFirewallsAclConfig;
|
|
8019
8175
|
/**
|
|
8020
8176
|
* @remarks
|
|
8021
8177
|
* The bandwidth of the Express Connect circuit. Unit: Mbit/s.
|
|
@@ -8119,6 +8275,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $dara.Model
|
|
|
8119
8275
|
vpcFirewallName?: string;
|
|
8120
8276
|
static names(): { [key: string]: string } {
|
|
8121
8277
|
return {
|
|
8278
|
+
aclConfig: 'AclConfig',
|
|
8122
8279
|
bandwidth: 'Bandwidth',
|
|
8123
8280
|
connectSubType: 'ConnectSubType',
|
|
8124
8281
|
connectType: 'ConnectType',
|
|
@@ -8136,6 +8293,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $dara.Model
|
|
|
8136
8293
|
|
|
8137
8294
|
static types(): { [key: string]: any } {
|
|
8138
8295
|
return {
|
|
8296
|
+
aclConfig: DescribeVpcFirewallListResponseBodyVpcFirewallsAclConfig,
|
|
8139
8297
|
bandwidth: 'number',
|
|
8140
8298
|
connectSubType: 'string',
|
|
8141
8299
|
connectType: 'string',
|
|
@@ -8152,6 +8310,9 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $dara.Model
|
|
|
8152
8310
|
}
|
|
8153
8311
|
|
|
8154
8312
|
validate() {
|
|
8313
|
+
if(this.aclConfig && typeof (this.aclConfig as any).validate === 'function') {
|
|
8314
|
+
(this.aclConfig as any).validate();
|
|
8315
|
+
}
|
|
8155
8316
|
if(this.ipsConfig && typeof (this.ipsConfig as any).validate === 'function') {
|
|
8156
8317
|
(this.ipsConfig as any).validate();
|
|
8157
8318
|
}
|
|
@@ -11466,6 +11627,16 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
11466
11627
|
* 10.0.0.0/8
|
|
11467
11628
|
*/
|
|
11468
11629
|
firewallVpcCidrBlock?: string;
|
|
11630
|
+
/**
|
|
11631
|
+
* @remarks
|
|
11632
|
+
* The ID of the backup availability zone to which the firewall belongs. The firewall will automatically switch to the backup availability zone to continue running only if the primary availability zone service is unavailable.
|
|
11633
|
+
* If this parameter is not filled, the backup availability zone for the firewall will be automatically assigned.
|
|
11634
|
+
* > This parameter is only effective when creating a VPC firewall for the first time in this CEN region.
|
|
11635
|
+
*
|
|
11636
|
+
* @example
|
|
11637
|
+
* cn-hangzhou-b
|
|
11638
|
+
*/
|
|
11639
|
+
firewallVpcStandbyZoneId?: string;
|
|
11469
11640
|
/**
|
|
11470
11641
|
* @remarks
|
|
11471
11642
|
* The ID of the zone to which the vSwitch belongs. If your service is latency-sensitive, you can specify the same zone for the vSwitch of the firewall and the vSwitch of your business VPC to minimize latency.
|
|
@@ -11543,6 +11714,7 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
11543
11714
|
firewallSwitch: 'FirewallSwitch',
|
|
11544
11715
|
firewallVSwitchCidrBlock: 'FirewallVSwitchCidrBlock',
|
|
11545
11716
|
firewallVpcCidrBlock: 'FirewallVpcCidrBlock',
|
|
11717
|
+
firewallVpcStandbyZoneId: 'FirewallVpcStandbyZoneId',
|
|
11546
11718
|
firewallVpcZoneId: 'FirewallVpcZoneId',
|
|
11547
11719
|
lang: 'Lang',
|
|
11548
11720
|
memberUid: 'MemberUid',
|
|
@@ -11559,6 +11731,7 @@ export class CreateVpcFirewallCenConfigureRequest extends $dara.Model {
|
|
|
11559
11731
|
firewallSwitch: 'string',
|
|
11560
11732
|
firewallVSwitchCidrBlock: 'string',
|
|
11561
11733
|
firewallVpcCidrBlock: 'string',
|
|
11734
|
+
firewallVpcStandbyZoneId: 'string',
|
|
11562
11735
|
firewallVpcZoneId: 'string',
|
|
11563
11736
|
lang: 'string',
|
|
11564
11737
|
memberUid: 'string',
|
|
@@ -15359,7 +15532,13 @@ export class DescribeDefaultIPSConfigResponseBody extends $dara.Model {
|
|
|
15359
15532
|
* 0
|
|
15360
15533
|
*/
|
|
15361
15534
|
ctiRules?: number;
|
|
15362
|
-
|
|
15535
|
+
/**
|
|
15536
|
+
* @remarks
|
|
15537
|
+
* The maximum amount of traffic that can be processed by the sensitive data leak detection feature each day.
|
|
15538
|
+
*
|
|
15539
|
+
* @example
|
|
15540
|
+
* 10
|
|
15541
|
+
*/
|
|
15363
15542
|
maxSdl?: number;
|
|
15364
15543
|
/**
|
|
15365
15544
|
* @remarks
|
|
@@ -15407,7 +15586,6 @@ export class DescribeDefaultIPSConfigResponseBody extends $dara.Model {
|
|
|
15407
15586
|
return {
|
|
15408
15587
|
basicRules: 'BasicRules',
|
|
15409
15588
|
ctiRules: 'CtiRules',
|
|
15410
|
-
freeTrailStatus: 'FreeTrailStatus',
|
|
15411
15589
|
maxSdl: 'MaxSdl',
|
|
15412
15590
|
patchRules: 'PatchRules',
|
|
15413
15591
|
requestId: 'RequestId',
|
|
@@ -15420,7 +15598,6 @@ export class DescribeDefaultIPSConfigResponseBody extends $dara.Model {
|
|
|
15420
15598
|
return {
|
|
15421
15599
|
basicRules: 'number',
|
|
15422
15600
|
ctiRules: 'number',
|
|
15423
|
-
freeTrailStatus: 'string',
|
|
15424
15601
|
maxSdl: 'number',
|
|
15425
15602
|
patchRules: 'number',
|
|
15426
15603
|
requestId: 'string',
|
|
@@ -19065,7 +19242,21 @@ export class DescribePostpayTrafficTotalResponseBody extends $dara.Model {
|
|
|
19065
19242
|
* 560646279
|
|
19066
19243
|
*/
|
|
19067
19244
|
totalNatTraffic?: number;
|
|
19245
|
+
/**
|
|
19246
|
+
* @remarks
|
|
19247
|
+
* Data Leak Detection Total Fee Flow.
|
|
19248
|
+
*
|
|
19249
|
+
* @example
|
|
19250
|
+
* 22879916142
|
|
19251
|
+
*/
|
|
19068
19252
|
totalSdlBillTraffic?: number;
|
|
19253
|
+
/**
|
|
19254
|
+
* @remarks
|
|
19255
|
+
* Data Leak Detection Total free usage traffic.
|
|
19256
|
+
*
|
|
19257
|
+
* @example
|
|
19258
|
+
* 0
|
|
19259
|
+
*/
|
|
19069
19260
|
totalSdlFreeTraffic?: number;
|
|
19070
19261
|
/**
|
|
19071
19262
|
* @remarks
|
|
@@ -20644,6 +20835,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
20644
20835
|
* 10.0.2.0/24
|
|
20645
20836
|
*/
|
|
20646
20837
|
trAttachmentMasterCidr?: string;
|
|
20838
|
+
trAttachmentMasterZone?: string;
|
|
20647
20839
|
/**
|
|
20648
20840
|
* @remarks
|
|
20649
20841
|
* The secondary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
|
|
@@ -20652,6 +20844,7 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
20652
20844
|
* 10.0.3.0/24
|
|
20653
20845
|
*/
|
|
20654
20846
|
trAttachmentSlaveCidr?: string;
|
|
20847
|
+
trAttachmentSlaveZone?: string;
|
|
20655
20848
|
/**
|
|
20656
20849
|
* @remarks
|
|
20657
20850
|
* The ID of the transit router.
|
|
@@ -20677,7 +20870,9 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
20677
20870
|
requestId: 'RequestId',
|
|
20678
20871
|
routeMode: 'RouteMode',
|
|
20679
20872
|
trAttachmentMasterCidr: 'TrAttachmentMasterCidr',
|
|
20873
|
+
trAttachmentMasterZone: 'TrAttachmentMasterZone',
|
|
20680
20874
|
trAttachmentSlaveCidr: 'TrAttachmentSlaveCidr',
|
|
20875
|
+
trAttachmentSlaveZone: 'TrAttachmentSlaveZone',
|
|
20681
20876
|
transitRouterId: 'TransitRouterId',
|
|
20682
20877
|
};
|
|
20683
20878
|
}
|
|
@@ -20699,7 +20894,9 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $dara.Model {
|
|
|
20699
20894
|
requestId: 'string',
|
|
20700
20895
|
routeMode: 'string',
|
|
20701
20896
|
trAttachmentMasterCidr: 'string',
|
|
20897
|
+
trAttachmentMasterZone: 'string',
|
|
20702
20898
|
trAttachmentSlaveCidr: 'string',
|
|
20899
|
+
trAttachmentSlaveZone: 'string',
|
|
20703
20900
|
transitRouterId: 'string',
|
|
20704
20901
|
};
|
|
20705
20902
|
}
|
|
@@ -21399,6 +21596,13 @@ export class DescribeUserBuyVersionResponseBody extends $dara.Model {
|
|
|
21399
21596
|
* normal
|
|
21400
21597
|
*/
|
|
21401
21598
|
instanceStatus?: string;
|
|
21599
|
+
/**
|
|
21600
|
+
* @remarks
|
|
21601
|
+
* The peak Internet traffic that can be protected.
|
|
21602
|
+
*
|
|
21603
|
+
* @example
|
|
21604
|
+
* 3000
|
|
21605
|
+
*/
|
|
21402
21606
|
internetBandwidth?: number;
|
|
21403
21607
|
/**
|
|
21404
21608
|
* @remarks
|
|
@@ -21444,6 +21648,13 @@ export class DescribeUserBuyVersionResponseBody extends $dara.Model {
|
|
|
21444
21648
|
* 0
|
|
21445
21649
|
*/
|
|
21446
21650
|
maxOverflow?: number;
|
|
21651
|
+
/**
|
|
21652
|
+
* @remarks
|
|
21653
|
+
* The peak traffic of NAT private network that can be protected.
|
|
21654
|
+
*
|
|
21655
|
+
* @example
|
|
21656
|
+
* 3000
|
|
21657
|
+
*/
|
|
21447
21658
|
natBandwidth?: number;
|
|
21448
21659
|
/**
|
|
21449
21660
|
* @remarks
|
|
@@ -21487,6 +21698,13 @@ export class DescribeUserBuyVersionResponseBody extends $dara.Model {
|
|
|
21487
21698
|
* 2
|
|
21488
21699
|
*/
|
|
21489
21700
|
version?: number;
|
|
21701
|
+
/**
|
|
21702
|
+
* @remarks
|
|
21703
|
+
* The peak cross-VPC traffic that can be protected.
|
|
21704
|
+
*
|
|
21705
|
+
* @example
|
|
21706
|
+
* 3000
|
|
21707
|
+
*/
|
|
21490
21708
|
vpcBandwidth?: number;
|
|
21491
21709
|
/**
|
|
21492
21710
|
* @remarks
|
|
@@ -21701,6 +21919,7 @@ export class DescribeVpcFirewallAclGroupListRequest extends $dara.Model {
|
|
|
21701
21919
|
* configured
|
|
21702
21920
|
*/
|
|
21703
21921
|
firewallConfigureStatus?: string;
|
|
21922
|
+
firewallId?: string;
|
|
21704
21923
|
/**
|
|
21705
21924
|
* @remarks
|
|
21706
21925
|
* The language of the content within the response. Valid values:
|
|
@@ -21724,6 +21943,7 @@ export class DescribeVpcFirewallAclGroupListRequest extends $dara.Model {
|
|
|
21724
21943
|
return {
|
|
21725
21944
|
currentPage: 'CurrentPage',
|
|
21726
21945
|
firewallConfigureStatus: 'FirewallConfigureStatus',
|
|
21946
|
+
firewallId: 'FirewallId',
|
|
21727
21947
|
lang: 'Lang',
|
|
21728
21948
|
pageSize: 'PageSize',
|
|
21729
21949
|
};
|
|
@@ -21733,6 +21953,7 @@ export class DescribeVpcFirewallAclGroupListRequest extends $dara.Model {
|
|
|
21733
21953
|
return {
|
|
21734
21954
|
currentPage: 'string',
|
|
21735
21955
|
firewallConfigureStatus: 'string',
|
|
21956
|
+
firewallId: 'string',
|
|
21736
21957
|
lang: 'string',
|
|
21737
21958
|
pageSize: 'string',
|
|
21738
21959
|
};
|
|
@@ -21912,7 +22133,7 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $dara.Model {
|
|
|
21912
22133
|
firewallSwitchStatus?: string;
|
|
21913
22134
|
/**
|
|
21914
22135
|
* @remarks
|
|
21915
|
-
* The VPC
|
|
22136
|
+
* The firewall VPC.
|
|
21916
22137
|
*/
|
|
21917
22138
|
firewallVpc?: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc;
|
|
21918
22139
|
/**
|
|
@@ -24835,12 +25056,10 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
24835
25056
|
* * **1**: yes
|
|
24836
25057
|
* * **0**: no
|
|
24837
25058
|
*
|
|
24838
|
-
* This parameter is required.
|
|
24839
|
-
*
|
|
24840
25059
|
* @example
|
|
24841
25060
|
* 1
|
|
24842
25061
|
*/
|
|
24843
|
-
basicRules?:
|
|
25062
|
+
basicRules?: number;
|
|
24844
25063
|
/**
|
|
24845
25064
|
* @remarks
|
|
24846
25065
|
* Specifies whether to enable threat intelligence. Valid values:
|
|
@@ -24848,12 +25067,10 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
24848
25067
|
* * **1**: yes
|
|
24849
25068
|
* * **0**: no
|
|
24850
25069
|
*
|
|
24851
|
-
* This parameter is required.
|
|
24852
|
-
*
|
|
24853
25070
|
* @example
|
|
24854
25071
|
* 0
|
|
24855
25072
|
*/
|
|
24856
|
-
ctiRules?:
|
|
25073
|
+
ctiRules?: number;
|
|
24857
25074
|
/**
|
|
24858
25075
|
* @remarks
|
|
24859
25076
|
* The language of the content within the request and response. Valid values:
|
|
@@ -24865,6 +25082,13 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
24865
25082
|
* zh
|
|
24866
25083
|
*/
|
|
24867
25084
|
lang?: string;
|
|
25085
|
+
/**
|
|
25086
|
+
* @remarks
|
|
25087
|
+
* The maximum amount of traffic that can be processed by the sensitive data leak detection feature each day.
|
|
25088
|
+
*
|
|
25089
|
+
* @example
|
|
25090
|
+
* 100
|
|
25091
|
+
*/
|
|
24868
25092
|
maxSdl?: number;
|
|
24869
25093
|
/**
|
|
24870
25094
|
* @remarks
|
|
@@ -24876,7 +25100,7 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
24876
25100
|
* @example
|
|
24877
25101
|
* 1
|
|
24878
25102
|
*/
|
|
24879
|
-
patchRules?:
|
|
25103
|
+
patchRules?: number;
|
|
24880
25104
|
/**
|
|
24881
25105
|
* @remarks
|
|
24882
25106
|
* The level of the rule group for the IPS. Valid values:
|
|
@@ -24888,7 +25112,7 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
24888
25112
|
* @example
|
|
24889
25113
|
* 1
|
|
24890
25114
|
*/
|
|
24891
|
-
ruleClass?:
|
|
25115
|
+
ruleClass?: number;
|
|
24892
25116
|
/**
|
|
24893
25117
|
* @remarks
|
|
24894
25118
|
* The mode of the IPS. Valid values:
|
|
@@ -24901,7 +25125,7 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
24901
25125
|
* @example
|
|
24902
25126
|
* 0
|
|
24903
25127
|
*/
|
|
24904
|
-
runMode?:
|
|
25128
|
+
runMode?: number;
|
|
24905
25129
|
static names(): { [key: string]: string } {
|
|
24906
25130
|
return {
|
|
24907
25131
|
basicRules: 'BasicRules',
|
|
@@ -24916,13 +25140,13 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
24916
25140
|
|
|
24917
25141
|
static types(): { [key: string]: any } {
|
|
24918
25142
|
return {
|
|
24919
|
-
basicRules: '
|
|
24920
|
-
ctiRules: '
|
|
25143
|
+
basicRules: 'number',
|
|
25144
|
+
ctiRules: 'number',
|
|
24921
25145
|
lang: 'string',
|
|
24922
25146
|
maxSdl: 'number',
|
|
24923
|
-
patchRules: '
|
|
24924
|
-
ruleClass: '
|
|
24925
|
-
runMode: '
|
|
25147
|
+
patchRules: 'number',
|
|
25148
|
+
ruleClass: 'number',
|
|
25149
|
+
runMode: 'number',
|
|
24926
25150
|
};
|
|
24927
25151
|
}
|
|
24928
25152
|
|
|
@@ -25967,6 +26191,7 @@ export class ModifyObjectGroupOperationResponse extends $dara.Model {
|
|
|
25967
26191
|
}
|
|
25968
26192
|
|
|
25969
26193
|
export class ModifyPolicyAdvancedConfigRequest extends $dara.Model {
|
|
26194
|
+
eips?: string[];
|
|
25970
26195
|
/**
|
|
25971
26196
|
* @remarks
|
|
25972
26197
|
* Specifies whether to enable the strict mode for the access control policy. Valid values:
|
|
@@ -26003,6 +26228,7 @@ export class ModifyPolicyAdvancedConfigRequest extends $dara.Model {
|
|
|
26003
26228
|
sourceIp?: string;
|
|
26004
26229
|
static names(): { [key: string]: string } {
|
|
26005
26230
|
return {
|
|
26231
|
+
eips: 'Eips',
|
|
26006
26232
|
internetSwitch: 'InternetSwitch',
|
|
26007
26233
|
lang: 'Lang',
|
|
26008
26234
|
sourceIp: 'SourceIp',
|
|
@@ -26011,6 +26237,7 @@ export class ModifyPolicyAdvancedConfigRequest extends $dara.Model {
|
|
|
26011
26237
|
|
|
26012
26238
|
static types(): { [key: string]: any } {
|
|
26013
26239
|
return {
|
|
26240
|
+
eips: { 'type': 'array', 'itemType': 'string' },
|
|
26014
26241
|
internetSwitch: 'string',
|
|
26015
26242
|
lang: 'string',
|
|
26016
26243
|
sourceIp: 'string',
|
|
@@ -26018,6 +26245,9 @@ export class ModifyPolicyAdvancedConfigRequest extends $dara.Model {
|
|
|
26018
26245
|
}
|
|
26019
26246
|
|
|
26020
26247
|
validate() {
|
|
26248
|
+
if(Array.isArray(this.eips)) {
|
|
26249
|
+
$dara.Model.validateArray(this.eips);
|
|
26250
|
+
}
|
|
26021
26251
|
super.validate();
|
|
26022
26252
|
}
|
|
26023
26253
|
|
|
@@ -30093,6 +30323,10 @@ export default class Client extends OpenApi {
|
|
|
30093
30323
|
query["FirewallVpcCidrBlock"] = request.firewallVpcCidrBlock;
|
|
30094
30324
|
}
|
|
30095
30325
|
|
|
30326
|
+
if (!$dara.isNull(request.firewallVpcStandbyZoneId)) {
|
|
30327
|
+
query["FirewallVpcStandbyZoneId"] = request.firewallVpcStandbyZoneId;
|
|
30328
|
+
}
|
|
30329
|
+
|
|
30096
30330
|
if (!$dara.isNull(request.firewallVpcZoneId)) {
|
|
30097
30331
|
query["FirewallVpcZoneId"] = request.firewallVpcZoneId;
|
|
30098
30332
|
}
|
|
@@ -31605,7 +31839,7 @@ export default class Client extends OpenApi {
|
|
|
31605
31839
|
}
|
|
31606
31840
|
|
|
31607
31841
|
/**
|
|
31608
|
-
* Queries the default
|
|
31842
|
+
* Queries the default intrusion prevention system (IPS) configurations.
|
|
31609
31843
|
*
|
|
31610
31844
|
* @param request - DescribeDefaultIPSConfigRequest
|
|
31611
31845
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -31636,7 +31870,7 @@ export default class Client extends OpenApi {
|
|
|
31636
31870
|
}
|
|
31637
31871
|
|
|
31638
31872
|
/**
|
|
31639
|
-
* Queries the default
|
|
31873
|
+
* Queries the default intrusion prevention system (IPS) configurations.
|
|
31640
31874
|
*
|
|
31641
31875
|
* @param request - DescribeDefaultIPSConfigRequest
|
|
31642
31876
|
* @returns DescribeDefaultIPSConfigResponse
|
|
@@ -33675,6 +33909,10 @@ export default class Client extends OpenApi {
|
|
|
33675
33909
|
query["FirewallConfigureStatus"] = request.firewallConfigureStatus;
|
|
33676
33910
|
}
|
|
33677
33911
|
|
|
33912
|
+
if (!$dara.isNull(request.firewallId)) {
|
|
33913
|
+
query["FirewallId"] = request.firewallId;
|
|
33914
|
+
}
|
|
33915
|
+
|
|
33678
33916
|
if (!$dara.isNull(request.lang)) {
|
|
33679
33917
|
query["Lang"] = request.lang;
|
|
33680
33918
|
}
|
|
@@ -35281,6 +35519,10 @@ export default class Client extends OpenApi {
|
|
|
35281
35519
|
async modifyPolicyAdvancedConfigWithOptions(request: ModifyPolicyAdvancedConfigRequest, runtime: $dara.RuntimeOptions): Promise<ModifyPolicyAdvancedConfigResponse> {
|
|
35282
35520
|
request.validate();
|
|
35283
35521
|
let query = { };
|
|
35522
|
+
if (!$dara.isNull(request.eips)) {
|
|
35523
|
+
query["Eips"] = request.eips;
|
|
35524
|
+
}
|
|
35525
|
+
|
|
35284
35526
|
if (!$dara.isNull(request.internetSwitch)) {
|
|
35285
35527
|
query["InternetSwitch"] = request.internetSwitch;
|
|
35286
35528
|
}
|