@alicloud/cloudfw20171207 1.2.6 → 1.2.8
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 +283 -0
- package/dist/client.js +568 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +716 -0
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',
|
|
@@ -1713,6 +1722,96 @@ export class DescribeControlPolicyResponse extends $tea.Model {
|
|
|
1713
1722
|
}
|
|
1714
1723
|
}
|
|
1715
1724
|
|
|
1725
|
+
export class DescribeDefaultIPSConfigRequest extends $tea.Model {
|
|
1726
|
+
lang?: string;
|
|
1727
|
+
sourceIp?: string;
|
|
1728
|
+
static names(): { [key: string]: string } {
|
|
1729
|
+
return {
|
|
1730
|
+
lang: 'Lang',
|
|
1731
|
+
sourceIp: 'SourceIp',
|
|
1732
|
+
};
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
static types(): { [key: string]: any } {
|
|
1736
|
+
return {
|
|
1737
|
+
lang: 'string',
|
|
1738
|
+
sourceIp: 'string',
|
|
1739
|
+
};
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
constructor(map?: { [key: string]: any }) {
|
|
1743
|
+
super(map);
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
export class DescribeDefaultIPSConfigResponseBody extends $tea.Model {
|
|
1748
|
+
aiRules?: number;
|
|
1749
|
+
basicRules?: number;
|
|
1750
|
+
ctiRules?: number;
|
|
1751
|
+
enableAllPatch?: number;
|
|
1752
|
+
enableDefault?: number;
|
|
1753
|
+
patchRules?: number;
|
|
1754
|
+
requestId?: string;
|
|
1755
|
+
ruleClass?: number;
|
|
1756
|
+
runMode?: number;
|
|
1757
|
+
static names(): { [key: string]: string } {
|
|
1758
|
+
return {
|
|
1759
|
+
aiRules: 'AiRules',
|
|
1760
|
+
basicRules: 'BasicRules',
|
|
1761
|
+
ctiRules: 'CtiRules',
|
|
1762
|
+
enableAllPatch: 'EnableAllPatch',
|
|
1763
|
+
enableDefault: 'EnableDefault',
|
|
1764
|
+
patchRules: 'PatchRules',
|
|
1765
|
+
requestId: 'RequestId',
|
|
1766
|
+
ruleClass: 'RuleClass',
|
|
1767
|
+
runMode: 'RunMode',
|
|
1768
|
+
};
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
static types(): { [key: string]: any } {
|
|
1772
|
+
return {
|
|
1773
|
+
aiRules: 'number',
|
|
1774
|
+
basicRules: 'number',
|
|
1775
|
+
ctiRules: 'number',
|
|
1776
|
+
enableAllPatch: 'number',
|
|
1777
|
+
enableDefault: 'number',
|
|
1778
|
+
patchRules: 'number',
|
|
1779
|
+
requestId: 'string',
|
|
1780
|
+
ruleClass: 'number',
|
|
1781
|
+
runMode: 'number',
|
|
1782
|
+
};
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
constructor(map?: { [key: string]: any }) {
|
|
1786
|
+
super(map);
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
export class DescribeDefaultIPSConfigResponse extends $tea.Model {
|
|
1791
|
+
headers: { [key: string]: string };
|
|
1792
|
+
statusCode: number;
|
|
1793
|
+
body: DescribeDefaultIPSConfigResponseBody;
|
|
1794
|
+
static names(): { [key: string]: string } {
|
|
1795
|
+
return {
|
|
1796
|
+
headers: 'headers',
|
|
1797
|
+
statusCode: 'statusCode',
|
|
1798
|
+
body: 'body',
|
|
1799
|
+
};
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
static types(): { [key: string]: any } {
|
|
1803
|
+
return {
|
|
1804
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1805
|
+
statusCode: 'number',
|
|
1806
|
+
body: DescribeDefaultIPSConfigResponseBody,
|
|
1807
|
+
};
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
constructor(map?: { [key: string]: any }) {
|
|
1811
|
+
super(map);
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1716
1815
|
export class DescribeDomainResolveRequest extends $tea.Model {
|
|
1717
1816
|
domain?: string;
|
|
1718
1817
|
ipVersion?: string;
|
|
@@ -3132,6 +3231,78 @@ export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
|
|
|
3132
3231
|
}
|
|
3133
3232
|
}
|
|
3134
3233
|
|
|
3234
|
+
export class DescribeUserIPSWhitelistRequest extends $tea.Model {
|
|
3235
|
+
lang?: string;
|
|
3236
|
+
sourceIp?: string;
|
|
3237
|
+
static names(): { [key: string]: string } {
|
|
3238
|
+
return {
|
|
3239
|
+
lang: 'Lang',
|
|
3240
|
+
sourceIp: 'SourceIp',
|
|
3241
|
+
};
|
|
3242
|
+
}
|
|
3243
|
+
|
|
3244
|
+
static types(): { [key: string]: any } {
|
|
3245
|
+
return {
|
|
3246
|
+
lang: 'string',
|
|
3247
|
+
sourceIp: 'string',
|
|
3248
|
+
};
|
|
3249
|
+
}
|
|
3250
|
+
|
|
3251
|
+
constructor(map?: { [key: string]: any }) {
|
|
3252
|
+
super(map);
|
|
3253
|
+
}
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3256
|
+
export class DescribeUserIPSWhitelistResponseBody extends $tea.Model {
|
|
3257
|
+
ipv6Whitelists?: DescribeUserIPSWhitelistResponseBodyIpv6Whitelists[];
|
|
3258
|
+
requestId?: string;
|
|
3259
|
+
whitelists?: DescribeUserIPSWhitelistResponseBodyWhitelists[];
|
|
3260
|
+
static names(): { [key: string]: string } {
|
|
3261
|
+
return {
|
|
3262
|
+
ipv6Whitelists: 'Ipv6Whitelists',
|
|
3263
|
+
requestId: 'RequestId',
|
|
3264
|
+
whitelists: 'Whitelists',
|
|
3265
|
+
};
|
|
3266
|
+
}
|
|
3267
|
+
|
|
3268
|
+
static types(): { [key: string]: any } {
|
|
3269
|
+
return {
|
|
3270
|
+
ipv6Whitelists: { 'type': 'array', 'itemType': DescribeUserIPSWhitelistResponseBodyIpv6Whitelists },
|
|
3271
|
+
requestId: 'string',
|
|
3272
|
+
whitelists: { 'type': 'array', 'itemType': DescribeUserIPSWhitelistResponseBodyWhitelists },
|
|
3273
|
+
};
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3276
|
+
constructor(map?: { [key: string]: any }) {
|
|
3277
|
+
super(map);
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3281
|
+
export class DescribeUserIPSWhitelistResponse extends $tea.Model {
|
|
3282
|
+
headers: { [key: string]: string };
|
|
3283
|
+
statusCode: number;
|
|
3284
|
+
body: DescribeUserIPSWhitelistResponseBody;
|
|
3285
|
+
static names(): { [key: string]: string } {
|
|
3286
|
+
return {
|
|
3287
|
+
headers: 'headers',
|
|
3288
|
+
statusCode: 'statusCode',
|
|
3289
|
+
body: 'body',
|
|
3290
|
+
};
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3293
|
+
static types(): { [key: string]: any } {
|
|
3294
|
+
return {
|
|
3295
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3296
|
+
statusCode: 'number',
|
|
3297
|
+
body: DescribeUserIPSWhitelistResponseBody,
|
|
3298
|
+
};
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
constructor(map?: { [key: string]: any }) {
|
|
3302
|
+
super(map);
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3135
3306
|
export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
|
|
3136
3307
|
currentPage?: string;
|
|
3137
3308
|
firewallConfigureStatus?: string;
|
|
@@ -3238,6 +3409,7 @@ export class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
|
|
|
3238
3409
|
export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
3239
3410
|
connectType?: string;
|
|
3240
3411
|
firewallSwitchStatus?: string;
|
|
3412
|
+
firewallVpc?: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc;
|
|
3241
3413
|
localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
|
|
3242
3414
|
requestId?: string;
|
|
3243
3415
|
vpcFirewallId?: string;
|
|
@@ -3246,6 +3418,7 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
3246
3418
|
return {
|
|
3247
3419
|
connectType: 'ConnectType',
|
|
3248
3420
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
3421
|
+
firewallVpc: 'FirewallVpc',
|
|
3249
3422
|
localVpc: 'LocalVpc',
|
|
3250
3423
|
requestId: 'RequestId',
|
|
3251
3424
|
vpcFirewallId: 'VpcFirewallId',
|
|
@@ -3257,6 +3430,7 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
3257
3430
|
return {
|
|
3258
3431
|
connectType: 'string',
|
|
3259
3432
|
firewallSwitchStatus: 'string',
|
|
3433
|
+
firewallVpc: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc,
|
|
3260
3434
|
localVpc: DescribeVpcFirewallCenDetailResponseBodyLocalVpc,
|
|
3261
3435
|
requestId: 'string',
|
|
3262
3436
|
vpcFirewallId: 'string',
|
|
@@ -4233,6 +4407,96 @@ export class ModifyControlPolicyPositionResponse extends $tea.Model {
|
|
|
4233
4407
|
}
|
|
4234
4408
|
}
|
|
4235
4409
|
|
|
4410
|
+
export class ModifyDefaultIPSConfigRequest extends $tea.Model {
|
|
4411
|
+
aiRules?: string;
|
|
4412
|
+
basicRules?: string;
|
|
4413
|
+
ctiRules?: string;
|
|
4414
|
+
enableAllPatch?: string;
|
|
4415
|
+
enableDefault?: string;
|
|
4416
|
+
lang?: string;
|
|
4417
|
+
patchRules?: string;
|
|
4418
|
+
ruleClass?: string;
|
|
4419
|
+
runMode?: string;
|
|
4420
|
+
sourceIp?: string;
|
|
4421
|
+
static names(): { [key: string]: string } {
|
|
4422
|
+
return {
|
|
4423
|
+
aiRules: 'AiRules',
|
|
4424
|
+
basicRules: 'BasicRules',
|
|
4425
|
+
ctiRules: 'CtiRules',
|
|
4426
|
+
enableAllPatch: 'EnableAllPatch',
|
|
4427
|
+
enableDefault: 'EnableDefault',
|
|
4428
|
+
lang: 'Lang',
|
|
4429
|
+
patchRules: 'PatchRules',
|
|
4430
|
+
ruleClass: 'RuleClass',
|
|
4431
|
+
runMode: 'RunMode',
|
|
4432
|
+
sourceIp: 'SourceIp',
|
|
4433
|
+
};
|
|
4434
|
+
}
|
|
4435
|
+
|
|
4436
|
+
static types(): { [key: string]: any } {
|
|
4437
|
+
return {
|
|
4438
|
+
aiRules: 'string',
|
|
4439
|
+
basicRules: 'string',
|
|
4440
|
+
ctiRules: 'string',
|
|
4441
|
+
enableAllPatch: 'string',
|
|
4442
|
+
enableDefault: 'string',
|
|
4443
|
+
lang: 'string',
|
|
4444
|
+
patchRules: 'string',
|
|
4445
|
+
ruleClass: 'string',
|
|
4446
|
+
runMode: 'string',
|
|
4447
|
+
sourceIp: 'string',
|
|
4448
|
+
};
|
|
4449
|
+
}
|
|
4450
|
+
|
|
4451
|
+
constructor(map?: { [key: string]: any }) {
|
|
4452
|
+
super(map);
|
|
4453
|
+
}
|
|
4454
|
+
}
|
|
4455
|
+
|
|
4456
|
+
export class ModifyDefaultIPSConfigResponseBody extends $tea.Model {
|
|
4457
|
+
requestId?: string;
|
|
4458
|
+
static names(): { [key: string]: string } {
|
|
4459
|
+
return {
|
|
4460
|
+
requestId: 'RequestId',
|
|
4461
|
+
};
|
|
4462
|
+
}
|
|
4463
|
+
|
|
4464
|
+
static types(): { [key: string]: any } {
|
|
4465
|
+
return {
|
|
4466
|
+
requestId: 'string',
|
|
4467
|
+
};
|
|
4468
|
+
}
|
|
4469
|
+
|
|
4470
|
+
constructor(map?: { [key: string]: any }) {
|
|
4471
|
+
super(map);
|
|
4472
|
+
}
|
|
4473
|
+
}
|
|
4474
|
+
|
|
4475
|
+
export class ModifyDefaultIPSConfigResponse extends $tea.Model {
|
|
4476
|
+
headers: { [key: string]: string };
|
|
4477
|
+
statusCode: number;
|
|
4478
|
+
body: ModifyDefaultIPSConfigResponseBody;
|
|
4479
|
+
static names(): { [key: string]: string } {
|
|
4480
|
+
return {
|
|
4481
|
+
headers: 'headers',
|
|
4482
|
+
statusCode: 'statusCode',
|
|
4483
|
+
body: 'body',
|
|
4484
|
+
};
|
|
4485
|
+
}
|
|
4486
|
+
|
|
4487
|
+
static types(): { [key: string]: any } {
|
|
4488
|
+
return {
|
|
4489
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4490
|
+
statusCode: 'number',
|
|
4491
|
+
body: ModifyDefaultIPSConfigResponseBody,
|
|
4492
|
+
};
|
|
4493
|
+
}
|
|
4494
|
+
|
|
4495
|
+
constructor(map?: { [key: string]: any }) {
|
|
4496
|
+
super(map);
|
|
4497
|
+
}
|
|
4498
|
+
}
|
|
4499
|
+
|
|
4236
4500
|
export class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
|
|
4237
4501
|
firewallId?: string;
|
|
4238
4502
|
lang?: string;
|
|
@@ -4618,6 +4882,87 @@ export class ModifyTrFirewallV2RoutePolicyScopeResponse extends $tea.Model {
|
|
|
4618
4882
|
}
|
|
4619
4883
|
}
|
|
4620
4884
|
|
|
4885
|
+
export class ModifyUserIPSWhitelistRequest extends $tea.Model {
|
|
4886
|
+
direction?: number;
|
|
4887
|
+
ipVersion?: string;
|
|
4888
|
+
lang?: string;
|
|
4889
|
+
listType?: number;
|
|
4890
|
+
listValue?: string;
|
|
4891
|
+
sourceIp?: string;
|
|
4892
|
+
whiteType?: number;
|
|
4893
|
+
static names(): { [key: string]: string } {
|
|
4894
|
+
return {
|
|
4895
|
+
direction: 'Direction',
|
|
4896
|
+
ipVersion: 'IpVersion',
|
|
4897
|
+
lang: 'Lang',
|
|
4898
|
+
listType: 'ListType',
|
|
4899
|
+
listValue: 'ListValue',
|
|
4900
|
+
sourceIp: 'SourceIp',
|
|
4901
|
+
whiteType: 'WhiteType',
|
|
4902
|
+
};
|
|
4903
|
+
}
|
|
4904
|
+
|
|
4905
|
+
static types(): { [key: string]: any } {
|
|
4906
|
+
return {
|
|
4907
|
+
direction: 'number',
|
|
4908
|
+
ipVersion: 'string',
|
|
4909
|
+
lang: 'string',
|
|
4910
|
+
listType: 'number',
|
|
4911
|
+
listValue: 'string',
|
|
4912
|
+
sourceIp: 'string',
|
|
4913
|
+
whiteType: 'number',
|
|
4914
|
+
};
|
|
4915
|
+
}
|
|
4916
|
+
|
|
4917
|
+
constructor(map?: { [key: string]: any }) {
|
|
4918
|
+
super(map);
|
|
4919
|
+
}
|
|
4920
|
+
}
|
|
4921
|
+
|
|
4922
|
+
export class ModifyUserIPSWhitelistResponseBody extends $tea.Model {
|
|
4923
|
+
requestId?: string;
|
|
4924
|
+
static names(): { [key: string]: string } {
|
|
4925
|
+
return {
|
|
4926
|
+
requestId: 'RequestId',
|
|
4927
|
+
};
|
|
4928
|
+
}
|
|
4929
|
+
|
|
4930
|
+
static types(): { [key: string]: any } {
|
|
4931
|
+
return {
|
|
4932
|
+
requestId: 'string',
|
|
4933
|
+
};
|
|
4934
|
+
}
|
|
4935
|
+
|
|
4936
|
+
constructor(map?: { [key: string]: any }) {
|
|
4937
|
+
super(map);
|
|
4938
|
+
}
|
|
4939
|
+
}
|
|
4940
|
+
|
|
4941
|
+
export class ModifyUserIPSWhitelistResponse extends $tea.Model {
|
|
4942
|
+
headers: { [key: string]: string };
|
|
4943
|
+
statusCode: number;
|
|
4944
|
+
body: ModifyUserIPSWhitelistResponseBody;
|
|
4945
|
+
static names(): { [key: string]: string } {
|
|
4946
|
+
return {
|
|
4947
|
+
headers: 'headers',
|
|
4948
|
+
statusCode: 'statusCode',
|
|
4949
|
+
body: 'body',
|
|
4950
|
+
};
|
|
4951
|
+
}
|
|
4952
|
+
|
|
4953
|
+
static types(): { [key: string]: any } {
|
|
4954
|
+
return {
|
|
4955
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4956
|
+
statusCode: 'number',
|
|
4957
|
+
body: ModifyUserIPSWhitelistResponseBody,
|
|
4958
|
+
};
|
|
4959
|
+
}
|
|
4960
|
+
|
|
4961
|
+
constructor(map?: { [key: string]: any }) {
|
|
4962
|
+
super(map);
|
|
4963
|
+
}
|
|
4964
|
+
}
|
|
4965
|
+
|
|
4621
4966
|
export class ModifyVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
4622
4967
|
lang?: string;
|
|
4623
4968
|
memberUid?: string;
|
|
@@ -6694,6 +7039,68 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extend
|
|
|
6694
7039
|
}
|
|
6695
7040
|
}
|
|
6696
7041
|
|
|
7042
|
+
export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource extends $tea.Model {
|
|
7043
|
+
count?: number;
|
|
7044
|
+
peerTrList?: string[];
|
|
7045
|
+
vbrList?: string[];
|
|
7046
|
+
vpcList?: string[];
|
|
7047
|
+
vpnList?: string[];
|
|
7048
|
+
static names(): { [key: string]: string } {
|
|
7049
|
+
return {
|
|
7050
|
+
count: 'Count',
|
|
7051
|
+
peerTrList: 'PeerTrList',
|
|
7052
|
+
vbrList: 'VbrList',
|
|
7053
|
+
vpcList: 'VpcList',
|
|
7054
|
+
vpnList: 'VpnList',
|
|
7055
|
+
};
|
|
7056
|
+
}
|
|
7057
|
+
|
|
7058
|
+
static types(): { [key: string]: any } {
|
|
7059
|
+
return {
|
|
7060
|
+
count: 'number',
|
|
7061
|
+
peerTrList: { 'type': 'array', 'itemType': 'string' },
|
|
7062
|
+
vbrList: { 'type': 'array', 'itemType': 'string' },
|
|
7063
|
+
vpcList: { 'type': 'array', 'itemType': 'string' },
|
|
7064
|
+
vpnList: { 'type': 'array', 'itemType': 'string' },
|
|
7065
|
+
};
|
|
7066
|
+
}
|
|
7067
|
+
|
|
7068
|
+
constructor(map?: { [key: string]: any }) {
|
|
7069
|
+
super(map);
|
|
7070
|
+
}
|
|
7071
|
+
}
|
|
7072
|
+
|
|
7073
|
+
export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource extends $tea.Model {
|
|
7074
|
+
count?: number;
|
|
7075
|
+
peerTrList?: string[];
|
|
7076
|
+
vbrList?: string[];
|
|
7077
|
+
vpcList?: string[];
|
|
7078
|
+
vpnList?: string[];
|
|
7079
|
+
static names(): { [key: string]: string } {
|
|
7080
|
+
return {
|
|
7081
|
+
count: 'Count',
|
|
7082
|
+
peerTrList: 'PeerTrList',
|
|
7083
|
+
vbrList: 'VbrList',
|
|
7084
|
+
vpcList: 'VpcList',
|
|
7085
|
+
vpnList: 'VpnList',
|
|
7086
|
+
};
|
|
7087
|
+
}
|
|
7088
|
+
|
|
7089
|
+
static types(): { [key: string]: any } {
|
|
7090
|
+
return {
|
|
7091
|
+
count: 'number',
|
|
7092
|
+
peerTrList: { 'type': 'array', 'itemType': 'string' },
|
|
7093
|
+
vbrList: { 'type': 'array', 'itemType': 'string' },
|
|
7094
|
+
vpcList: { 'type': 'array', 'itemType': 'string' },
|
|
7095
|
+
vpnList: { 'type': 'array', 'itemType': 'string' },
|
|
7096
|
+
};
|
|
7097
|
+
}
|
|
7098
|
+
|
|
7099
|
+
constructor(map?: { [key: string]: any }) {
|
|
7100
|
+
super(map);
|
|
7101
|
+
}
|
|
7102
|
+
}
|
|
7103
|
+
|
|
6697
7104
|
export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
6698
7105
|
cenId?: string;
|
|
6699
7106
|
cenName?: string;
|
|
@@ -6702,11 +7109,13 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
6702
7109
|
ipsConfig?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
|
|
6703
7110
|
ownerId?: number;
|
|
6704
7111
|
precheckStatus?: string;
|
|
7112
|
+
protectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource;
|
|
6705
7113
|
regionNo?: string;
|
|
6706
7114
|
regionStatus?: string;
|
|
6707
7115
|
resultCode?: string;
|
|
6708
7116
|
routeMode?: string;
|
|
6709
7117
|
transitRouterId?: string;
|
|
7118
|
+
unprotectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource;
|
|
6710
7119
|
vpcFirewallName?: string;
|
|
6711
7120
|
static names(): { [key: string]: string } {
|
|
6712
7121
|
return {
|
|
@@ -6717,11 +7126,13 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
6717
7126
|
ipsConfig: 'IpsConfig',
|
|
6718
7127
|
ownerId: 'OwnerId',
|
|
6719
7128
|
precheckStatus: 'PrecheckStatus',
|
|
7129
|
+
protectedResource: 'ProtectedResource',
|
|
6720
7130
|
regionNo: 'RegionNo',
|
|
6721
7131
|
regionStatus: 'RegionStatus',
|
|
6722
7132
|
resultCode: 'ResultCode',
|
|
6723
7133
|
routeMode: 'RouteMode',
|
|
6724
7134
|
transitRouterId: 'TransitRouterId',
|
|
7135
|
+
unprotectedResource: 'UnprotectedResource',
|
|
6725
7136
|
vpcFirewallName: 'VpcFirewallName',
|
|
6726
7137
|
};
|
|
6727
7138
|
}
|
|
@@ -6735,11 +7146,13 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
6735
7146
|
ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
|
|
6736
7147
|
ownerId: 'number',
|
|
6737
7148
|
precheckStatus: 'string',
|
|
7149
|
+
protectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource,
|
|
6738
7150
|
regionNo: 'string',
|
|
6739
7151
|
regionStatus: 'string',
|
|
6740
7152
|
resultCode: 'string',
|
|
6741
7153
|
routeMode: 'string',
|
|
6742
7154
|
transitRouterId: 'string',
|
|
7155
|
+
unprotectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource,
|
|
6743
7156
|
vpcFirewallName: 'string',
|
|
6744
7157
|
};
|
|
6745
7158
|
}
|
|
@@ -6777,6 +7190,68 @@ export class DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList e
|
|
|
6777
7190
|
}
|
|
6778
7191
|
}
|
|
6779
7192
|
|
|
7193
|
+
export class DescribeUserIPSWhitelistResponseBodyIpv6Whitelists extends $tea.Model {
|
|
7194
|
+
direction?: number;
|
|
7195
|
+
listType?: number;
|
|
7196
|
+
listValue?: string;
|
|
7197
|
+
whiteListValue?: string[];
|
|
7198
|
+
whiteType?: number;
|
|
7199
|
+
static names(): { [key: string]: string } {
|
|
7200
|
+
return {
|
|
7201
|
+
direction: 'Direction',
|
|
7202
|
+
listType: 'ListType',
|
|
7203
|
+
listValue: 'ListValue',
|
|
7204
|
+
whiteListValue: 'WhiteListValue',
|
|
7205
|
+
whiteType: 'WhiteType',
|
|
7206
|
+
};
|
|
7207
|
+
}
|
|
7208
|
+
|
|
7209
|
+
static types(): { [key: string]: any } {
|
|
7210
|
+
return {
|
|
7211
|
+
direction: 'number',
|
|
7212
|
+
listType: 'number',
|
|
7213
|
+
listValue: 'string',
|
|
7214
|
+
whiteListValue: { 'type': 'array', 'itemType': 'string' },
|
|
7215
|
+
whiteType: 'number',
|
|
7216
|
+
};
|
|
7217
|
+
}
|
|
7218
|
+
|
|
7219
|
+
constructor(map?: { [key: string]: any }) {
|
|
7220
|
+
super(map);
|
|
7221
|
+
}
|
|
7222
|
+
}
|
|
7223
|
+
|
|
7224
|
+
export class DescribeUserIPSWhitelistResponseBodyWhitelists extends $tea.Model {
|
|
7225
|
+
direction?: number;
|
|
7226
|
+
listType?: number;
|
|
7227
|
+
listValue?: string;
|
|
7228
|
+
whiteListValue?: string[];
|
|
7229
|
+
whiteType?: number;
|
|
7230
|
+
static names(): { [key: string]: string } {
|
|
7231
|
+
return {
|
|
7232
|
+
direction: 'Direction',
|
|
7233
|
+
listType: 'ListType',
|
|
7234
|
+
listValue: 'ListValue',
|
|
7235
|
+
whiteListValue: 'WhiteListValue',
|
|
7236
|
+
whiteType: 'WhiteType',
|
|
7237
|
+
};
|
|
7238
|
+
}
|
|
7239
|
+
|
|
7240
|
+
static types(): { [key: string]: any } {
|
|
7241
|
+
return {
|
|
7242
|
+
direction: 'number',
|
|
7243
|
+
listType: 'number',
|
|
7244
|
+
listValue: 'string',
|
|
7245
|
+
whiteListValue: { 'type': 'array', 'itemType': 'string' },
|
|
7246
|
+
whiteType: 'number',
|
|
7247
|
+
};
|
|
7248
|
+
}
|
|
7249
|
+
|
|
7250
|
+
constructor(map?: { [key: string]: any }) {
|
|
7251
|
+
super(map);
|
|
7252
|
+
}
|
|
7253
|
+
}
|
|
7254
|
+
|
|
6780
7255
|
export class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model {
|
|
6781
7256
|
aclGroupId?: string;
|
|
6782
7257
|
aclGroupName?: string;
|
|
@@ -6802,13 +7277,49 @@ export class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $te
|
|
|
6802
7277
|
}
|
|
6803
7278
|
}
|
|
6804
7279
|
|
|
7280
|
+
export class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $tea.Model {
|
|
7281
|
+
allowConfiguration?: number;
|
|
7282
|
+
vpcCidr?: string;
|
|
7283
|
+
vpcId?: string;
|
|
7284
|
+
vswitchCidr?: string;
|
|
7285
|
+
vswitchId?: string;
|
|
7286
|
+
zoneId?: string;
|
|
7287
|
+
static names(): { [key: string]: string } {
|
|
7288
|
+
return {
|
|
7289
|
+
allowConfiguration: 'AllowConfiguration',
|
|
7290
|
+
vpcCidr: 'VpcCidr',
|
|
7291
|
+
vpcId: 'VpcId',
|
|
7292
|
+
vswitchCidr: 'VswitchCidr',
|
|
7293
|
+
vswitchId: 'VswitchId',
|
|
7294
|
+
zoneId: 'ZoneId',
|
|
7295
|
+
};
|
|
7296
|
+
}
|
|
7297
|
+
|
|
7298
|
+
static types(): { [key: string]: any } {
|
|
7299
|
+
return {
|
|
7300
|
+
allowConfiguration: 'number',
|
|
7301
|
+
vpcCidr: 'string',
|
|
7302
|
+
vpcId: 'string',
|
|
7303
|
+
vswitchCidr: 'string',
|
|
7304
|
+
vswitchId: 'string',
|
|
7305
|
+
zoneId: 'string',
|
|
7306
|
+
};
|
|
7307
|
+
}
|
|
7308
|
+
|
|
7309
|
+
constructor(map?: { [key: string]: any }) {
|
|
7310
|
+
super(map);
|
|
7311
|
+
}
|
|
7312
|
+
}
|
|
7313
|
+
|
|
6805
7314
|
export class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model {
|
|
6806
7315
|
eniId?: string;
|
|
6807
7316
|
eniPrivateIpAddress?: string;
|
|
7317
|
+
eniVSwitchId?: string;
|
|
6808
7318
|
static names(): { [key: string]: string } {
|
|
6809
7319
|
return {
|
|
6810
7320
|
eniId: 'EniId',
|
|
6811
7321
|
eniPrivateIpAddress: 'EniPrivateIpAddress',
|
|
7322
|
+
eniVSwitchId: 'EniVSwitchId',
|
|
6812
7323
|
};
|
|
6813
7324
|
}
|
|
6814
7325
|
|
|
@@ -6816,6 +7327,7 @@ export class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $te
|
|
|
6816
7327
|
return {
|
|
6817
7328
|
eniId: 'string',
|
|
6818
7329
|
eniPrivateIpAddress: 'string',
|
|
7330
|
+
eniVSwitchId: 'string',
|
|
6819
7331
|
};
|
|
6820
7332
|
}
|
|
6821
7333
|
|
|
@@ -8290,6 +8802,18 @@ export default class Client extends OpenApi {
|
|
|
8290
8802
|
query["FirewallSwitch"] = request.firewallSwitch;
|
|
8291
8803
|
}
|
|
8292
8804
|
|
|
8805
|
+
if (!Util.isUnset(request.firewallVSwitchCidrBlock)) {
|
|
8806
|
+
query["FirewallVSwitchCidrBlock"] = request.firewallVSwitchCidrBlock;
|
|
8807
|
+
}
|
|
8808
|
+
|
|
8809
|
+
if (!Util.isUnset(request.firewallVpcCidrBlock)) {
|
|
8810
|
+
query["FirewallVpcCidrBlock"] = request.firewallVpcCidrBlock;
|
|
8811
|
+
}
|
|
8812
|
+
|
|
8813
|
+
if (!Util.isUnset(request.firewallVpcZoneId)) {
|
|
8814
|
+
query["FirewallVpcZoneId"] = request.firewallVpcZoneId;
|
|
8815
|
+
}
|
|
8816
|
+
|
|
8293
8817
|
if (!Util.isUnset(request.lang)) {
|
|
8294
8818
|
query["Lang"] = request.lang;
|
|
8295
8819
|
}
|
|
@@ -9176,6 +9700,39 @@ export default class Client extends OpenApi {
|
|
|
9176
9700
|
return await this.describeControlPolicyWithOptions(request, runtime);
|
|
9177
9701
|
}
|
|
9178
9702
|
|
|
9703
|
+
async describeDefaultIPSConfigWithOptions(request: DescribeDefaultIPSConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDefaultIPSConfigResponse> {
|
|
9704
|
+
Util.validateModel(request);
|
|
9705
|
+
let query = { };
|
|
9706
|
+
if (!Util.isUnset(request.lang)) {
|
|
9707
|
+
query["Lang"] = request.lang;
|
|
9708
|
+
}
|
|
9709
|
+
|
|
9710
|
+
if (!Util.isUnset(request.sourceIp)) {
|
|
9711
|
+
query["SourceIp"] = request.sourceIp;
|
|
9712
|
+
}
|
|
9713
|
+
|
|
9714
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9715
|
+
query: OpenApiUtil.query(query),
|
|
9716
|
+
});
|
|
9717
|
+
let params = new $OpenApi.Params({
|
|
9718
|
+
action: "DescribeDefaultIPSConfig",
|
|
9719
|
+
version: "2017-12-07",
|
|
9720
|
+
protocol: "HTTPS",
|
|
9721
|
+
pathname: "/",
|
|
9722
|
+
method: "POST",
|
|
9723
|
+
authType: "AK",
|
|
9724
|
+
style: "RPC",
|
|
9725
|
+
reqBodyType: "formData",
|
|
9726
|
+
bodyType: "json",
|
|
9727
|
+
});
|
|
9728
|
+
return $tea.cast<DescribeDefaultIPSConfigResponse>(await this.callApi(params, req, runtime), new DescribeDefaultIPSConfigResponse({}));
|
|
9729
|
+
}
|
|
9730
|
+
|
|
9731
|
+
async describeDefaultIPSConfig(request: DescribeDefaultIPSConfigRequest): Promise<DescribeDefaultIPSConfigResponse> {
|
|
9732
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9733
|
+
return await this.describeDefaultIPSConfigWithOptions(request, runtime);
|
|
9734
|
+
}
|
|
9735
|
+
|
|
9179
9736
|
/**
|
|
9180
9737
|
* You can call the DescribeDomainResolve operation to query the DNS record of a domain name. This operation can retrieve DNS records only from Alibaba Cloud DNS. Before you can call this operation, make sure that your domain name is hosted on Alibaba Cloud DNS.
|
|
9181
9738
|
* ## Limits
|
|
@@ -10104,6 +10661,43 @@ export default class Client extends OpenApi {
|
|
|
10104
10661
|
return await this.describeUserAssetIPTrafficInfoWithOptions(request, runtime);
|
|
10105
10662
|
}
|
|
10106
10663
|
|
|
10664
|
+
async describeUserIPSWhitelistWithOptions(request: DescribeUserIPSWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserIPSWhitelistResponse> {
|
|
10665
|
+
Util.validateModel(request);
|
|
10666
|
+
let query = { };
|
|
10667
|
+
if (!Util.isUnset(request.lang)) {
|
|
10668
|
+
query["Lang"] = request.lang;
|
|
10669
|
+
}
|
|
10670
|
+
|
|
10671
|
+
if (!Util.isUnset(request.lang)) {
|
|
10672
|
+
query["Lang"] = request.lang;
|
|
10673
|
+
}
|
|
10674
|
+
|
|
10675
|
+
if (!Util.isUnset(request.sourceIp)) {
|
|
10676
|
+
query["SourceIp"] = request.sourceIp;
|
|
10677
|
+
}
|
|
10678
|
+
|
|
10679
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10680
|
+
query: OpenApiUtil.query(query),
|
|
10681
|
+
});
|
|
10682
|
+
let params = new $OpenApi.Params({
|
|
10683
|
+
action: "DescribeUserIPSWhitelist",
|
|
10684
|
+
version: "2017-12-07",
|
|
10685
|
+
protocol: "HTTPS",
|
|
10686
|
+
pathname: "/",
|
|
10687
|
+
method: "POST",
|
|
10688
|
+
authType: "AK",
|
|
10689
|
+
style: "RPC",
|
|
10690
|
+
reqBodyType: "formData",
|
|
10691
|
+
bodyType: "json",
|
|
10692
|
+
});
|
|
10693
|
+
return $tea.cast<DescribeUserIPSWhitelistResponse>(await this.callApi(params, req, runtime), new DescribeUserIPSWhitelistResponse({}));
|
|
10694
|
+
}
|
|
10695
|
+
|
|
10696
|
+
async describeUserIPSWhitelist(request: DescribeUserIPSWhitelistRequest): Promise<DescribeUserIPSWhitelistResponse> {
|
|
10697
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10698
|
+
return await this.describeUserIPSWhitelistWithOptions(request, runtime);
|
|
10699
|
+
}
|
|
10700
|
+
|
|
10107
10701
|
/**
|
|
10108
10702
|
* You can call the DescribeVpcFirewallAclGroupList operation to query the information about all policy groups of access control policies that are created for VPC firewalls.
|
|
10109
10703
|
* ## Limits
|
|
@@ -11009,6 +11603,71 @@ export default class Client extends OpenApi {
|
|
|
11009
11603
|
return await this.modifyControlPolicyPositionWithOptions(request, runtime);
|
|
11010
11604
|
}
|
|
11011
11605
|
|
|
11606
|
+
async modifyDefaultIPSConfigWithOptions(request: ModifyDefaultIPSConfigRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDefaultIPSConfigResponse> {
|
|
11607
|
+
Util.validateModel(request);
|
|
11608
|
+
let query = { };
|
|
11609
|
+
if (!Util.isUnset(request.aiRules)) {
|
|
11610
|
+
query["AiRules"] = request.aiRules;
|
|
11611
|
+
}
|
|
11612
|
+
|
|
11613
|
+
if (!Util.isUnset(request.basicRules)) {
|
|
11614
|
+
query["BasicRules"] = request.basicRules;
|
|
11615
|
+
}
|
|
11616
|
+
|
|
11617
|
+
if (!Util.isUnset(request.ctiRules)) {
|
|
11618
|
+
query["CtiRules"] = request.ctiRules;
|
|
11619
|
+
}
|
|
11620
|
+
|
|
11621
|
+
if (!Util.isUnset(request.enableAllPatch)) {
|
|
11622
|
+
query["EnableAllPatch"] = request.enableAllPatch;
|
|
11623
|
+
}
|
|
11624
|
+
|
|
11625
|
+
if (!Util.isUnset(request.enableDefault)) {
|
|
11626
|
+
query["EnableDefault"] = request.enableDefault;
|
|
11627
|
+
}
|
|
11628
|
+
|
|
11629
|
+
if (!Util.isUnset(request.lang)) {
|
|
11630
|
+
query["Lang"] = request.lang;
|
|
11631
|
+
}
|
|
11632
|
+
|
|
11633
|
+
if (!Util.isUnset(request.patchRules)) {
|
|
11634
|
+
query["PatchRules"] = request.patchRules;
|
|
11635
|
+
}
|
|
11636
|
+
|
|
11637
|
+
if (!Util.isUnset(request.ruleClass)) {
|
|
11638
|
+
query["RuleClass"] = request.ruleClass;
|
|
11639
|
+
}
|
|
11640
|
+
|
|
11641
|
+
if (!Util.isUnset(request.runMode)) {
|
|
11642
|
+
query["RunMode"] = request.runMode;
|
|
11643
|
+
}
|
|
11644
|
+
|
|
11645
|
+
if (!Util.isUnset(request.sourceIp)) {
|
|
11646
|
+
query["SourceIp"] = request.sourceIp;
|
|
11647
|
+
}
|
|
11648
|
+
|
|
11649
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11650
|
+
query: OpenApiUtil.query(query),
|
|
11651
|
+
});
|
|
11652
|
+
let params = new $OpenApi.Params({
|
|
11653
|
+
action: "ModifyDefaultIPSConfig",
|
|
11654
|
+
version: "2017-12-07",
|
|
11655
|
+
protocol: "HTTPS",
|
|
11656
|
+
pathname: "/",
|
|
11657
|
+
method: "POST",
|
|
11658
|
+
authType: "AK",
|
|
11659
|
+
style: "RPC",
|
|
11660
|
+
reqBodyType: "formData",
|
|
11661
|
+
bodyType: "json",
|
|
11662
|
+
});
|
|
11663
|
+
return $tea.cast<ModifyDefaultIPSConfigResponse>(await this.callApi(params, req, runtime), new ModifyDefaultIPSConfigResponse({}));
|
|
11664
|
+
}
|
|
11665
|
+
|
|
11666
|
+
async modifyDefaultIPSConfig(request: ModifyDefaultIPSConfigRequest): Promise<ModifyDefaultIPSConfigResponse> {
|
|
11667
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11668
|
+
return await this.modifyDefaultIPSConfigWithOptions(request, runtime);
|
|
11669
|
+
}
|
|
11670
|
+
|
|
11012
11671
|
async modifyFirewallV2RoutePolicySwitchWithOptions(request: ModifyFirewallV2RoutePolicySwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyFirewallV2RoutePolicySwitchResponse> {
|
|
11013
11672
|
Util.validateModel(request);
|
|
11014
11673
|
let query = { };
|
|
@@ -11246,6 +11905,63 @@ export default class Client extends OpenApi {
|
|
|
11246
11905
|
return await this.modifyTrFirewallV2RoutePolicyScopeWithOptions(request, runtime);
|
|
11247
11906
|
}
|
|
11248
11907
|
|
|
11908
|
+
async modifyUserIPSWhitelistWithOptions(request: ModifyUserIPSWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<ModifyUserIPSWhitelistResponse> {
|
|
11909
|
+
Util.validateModel(request);
|
|
11910
|
+
let query = { };
|
|
11911
|
+
if (!Util.isUnset(request.direction)) {
|
|
11912
|
+
query["Direction"] = request.direction;
|
|
11913
|
+
}
|
|
11914
|
+
|
|
11915
|
+
if (!Util.isUnset(request.ipVersion)) {
|
|
11916
|
+
query["IpVersion"] = request.ipVersion;
|
|
11917
|
+
}
|
|
11918
|
+
|
|
11919
|
+
if (!Util.isUnset(request.lang)) {
|
|
11920
|
+
query["Lang"] = request.lang;
|
|
11921
|
+
}
|
|
11922
|
+
|
|
11923
|
+
if (!Util.isUnset(request.lang)) {
|
|
11924
|
+
query["Lang"] = request.lang;
|
|
11925
|
+
}
|
|
11926
|
+
|
|
11927
|
+
if (!Util.isUnset(request.listType)) {
|
|
11928
|
+
query["ListType"] = request.listType;
|
|
11929
|
+
}
|
|
11930
|
+
|
|
11931
|
+
if (!Util.isUnset(request.listValue)) {
|
|
11932
|
+
query["ListValue"] = request.listValue;
|
|
11933
|
+
}
|
|
11934
|
+
|
|
11935
|
+
if (!Util.isUnset(request.sourceIp)) {
|
|
11936
|
+
query["SourceIp"] = request.sourceIp;
|
|
11937
|
+
}
|
|
11938
|
+
|
|
11939
|
+
if (!Util.isUnset(request.whiteType)) {
|
|
11940
|
+
query["WhiteType"] = request.whiteType;
|
|
11941
|
+
}
|
|
11942
|
+
|
|
11943
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11944
|
+
query: OpenApiUtil.query(query),
|
|
11945
|
+
});
|
|
11946
|
+
let params = new $OpenApi.Params({
|
|
11947
|
+
action: "ModifyUserIPSWhitelist",
|
|
11948
|
+
version: "2017-12-07",
|
|
11949
|
+
protocol: "HTTPS",
|
|
11950
|
+
pathname: "/",
|
|
11951
|
+
method: "POST",
|
|
11952
|
+
authType: "AK",
|
|
11953
|
+
style: "RPC",
|
|
11954
|
+
reqBodyType: "formData",
|
|
11955
|
+
bodyType: "json",
|
|
11956
|
+
});
|
|
11957
|
+
return $tea.cast<ModifyUserIPSWhitelistResponse>(await this.callApi(params, req, runtime), new ModifyUserIPSWhitelistResponse({}));
|
|
11958
|
+
}
|
|
11959
|
+
|
|
11960
|
+
async modifyUserIPSWhitelist(request: ModifyUserIPSWhitelistRequest): Promise<ModifyUserIPSWhitelistResponse> {
|
|
11961
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11962
|
+
return await this.modifyUserIPSWhitelistWithOptions(request, runtime);
|
|
11963
|
+
}
|
|
11964
|
+
|
|
11249
11965
|
/**
|
|
11250
11966
|
* You can call the ModifyVpcFirewallCenConfigure operation to modify the configurations of a VPC firewall. The VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. Before you call this operation, make sure that you have created a VPC firewall by calling the [CreateVpcFirewallCenConfigure](~~345772~~) operation.
|
|
11251
11967
|
* ## Limits
|