@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/dist/client.js
CHANGED
|
@@ -467,6 +467,9 @@ class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
|
467
467
|
return {
|
|
468
468
|
cenId: 'CenId',
|
|
469
469
|
firewallSwitch: 'FirewallSwitch',
|
|
470
|
+
firewallVSwitchCidrBlock: 'FirewallVSwitchCidrBlock',
|
|
471
|
+
firewallVpcCidrBlock: 'FirewallVpcCidrBlock',
|
|
472
|
+
firewallVpcZoneId: 'FirewallVpcZoneId',
|
|
470
473
|
lang: 'Lang',
|
|
471
474
|
memberUid: 'MemberUid',
|
|
472
475
|
networkInstanceId: 'NetworkInstanceId',
|
|
@@ -479,6 +482,9 @@ class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
|
479
482
|
return {
|
|
480
483
|
cenId: 'string',
|
|
481
484
|
firewallSwitch: 'string',
|
|
485
|
+
firewallVSwitchCidrBlock: 'string',
|
|
486
|
+
firewallVpcCidrBlock: 'string',
|
|
487
|
+
firewallVpcZoneId: 'string',
|
|
482
488
|
lang: 'string',
|
|
483
489
|
memberUid: 'string',
|
|
484
490
|
networkInstanceId: 'string',
|
|
@@ -1359,6 +1365,76 @@ class DescribeControlPolicyResponse extends $tea.Model {
|
|
|
1359
1365
|
}
|
|
1360
1366
|
}
|
|
1361
1367
|
exports.DescribeControlPolicyResponse = DescribeControlPolicyResponse;
|
|
1368
|
+
class DescribeDefaultIPSConfigRequest extends $tea.Model {
|
|
1369
|
+
constructor(map) {
|
|
1370
|
+
super(map);
|
|
1371
|
+
}
|
|
1372
|
+
static names() {
|
|
1373
|
+
return {
|
|
1374
|
+
lang: 'Lang',
|
|
1375
|
+
sourceIp: 'SourceIp',
|
|
1376
|
+
};
|
|
1377
|
+
}
|
|
1378
|
+
static types() {
|
|
1379
|
+
return {
|
|
1380
|
+
lang: 'string',
|
|
1381
|
+
sourceIp: 'string',
|
|
1382
|
+
};
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
exports.DescribeDefaultIPSConfigRequest = DescribeDefaultIPSConfigRequest;
|
|
1386
|
+
class DescribeDefaultIPSConfigResponseBody extends $tea.Model {
|
|
1387
|
+
constructor(map) {
|
|
1388
|
+
super(map);
|
|
1389
|
+
}
|
|
1390
|
+
static names() {
|
|
1391
|
+
return {
|
|
1392
|
+
aiRules: 'AiRules',
|
|
1393
|
+
basicRules: 'BasicRules',
|
|
1394
|
+
ctiRules: 'CtiRules',
|
|
1395
|
+
enableAllPatch: 'EnableAllPatch',
|
|
1396
|
+
enableDefault: 'EnableDefault',
|
|
1397
|
+
patchRules: 'PatchRules',
|
|
1398
|
+
requestId: 'RequestId',
|
|
1399
|
+
ruleClass: 'RuleClass',
|
|
1400
|
+
runMode: 'RunMode',
|
|
1401
|
+
};
|
|
1402
|
+
}
|
|
1403
|
+
static types() {
|
|
1404
|
+
return {
|
|
1405
|
+
aiRules: 'number',
|
|
1406
|
+
basicRules: 'number',
|
|
1407
|
+
ctiRules: 'number',
|
|
1408
|
+
enableAllPatch: 'number',
|
|
1409
|
+
enableDefault: 'number',
|
|
1410
|
+
patchRules: 'number',
|
|
1411
|
+
requestId: 'string',
|
|
1412
|
+
ruleClass: 'number',
|
|
1413
|
+
runMode: 'number',
|
|
1414
|
+
};
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
exports.DescribeDefaultIPSConfigResponseBody = DescribeDefaultIPSConfigResponseBody;
|
|
1418
|
+
class DescribeDefaultIPSConfigResponse extends $tea.Model {
|
|
1419
|
+
constructor(map) {
|
|
1420
|
+
super(map);
|
|
1421
|
+
}
|
|
1422
|
+
static names() {
|
|
1423
|
+
return {
|
|
1424
|
+
headers: 'headers',
|
|
1425
|
+
statusCode: 'statusCode',
|
|
1426
|
+
body: 'body',
|
|
1427
|
+
};
|
|
1428
|
+
}
|
|
1429
|
+
static types() {
|
|
1430
|
+
return {
|
|
1431
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1432
|
+
statusCode: 'number',
|
|
1433
|
+
body: DescribeDefaultIPSConfigResponseBody,
|
|
1434
|
+
};
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
exports.DescribeDefaultIPSConfigResponse = DescribeDefaultIPSConfigResponse;
|
|
1362
1438
|
class DescribeDomainResolveRequest extends $tea.Model {
|
|
1363
1439
|
constructor(map) {
|
|
1364
1440
|
super(map);
|
|
@@ -2455,6 +2531,64 @@ class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
|
|
|
2455
2531
|
}
|
|
2456
2532
|
}
|
|
2457
2533
|
exports.DescribeUserAssetIPTrafficInfoResponse = DescribeUserAssetIPTrafficInfoResponse;
|
|
2534
|
+
class DescribeUserIPSWhitelistRequest extends $tea.Model {
|
|
2535
|
+
constructor(map) {
|
|
2536
|
+
super(map);
|
|
2537
|
+
}
|
|
2538
|
+
static names() {
|
|
2539
|
+
return {
|
|
2540
|
+
lang: 'Lang',
|
|
2541
|
+
sourceIp: 'SourceIp',
|
|
2542
|
+
};
|
|
2543
|
+
}
|
|
2544
|
+
static types() {
|
|
2545
|
+
return {
|
|
2546
|
+
lang: 'string',
|
|
2547
|
+
sourceIp: 'string',
|
|
2548
|
+
};
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
exports.DescribeUserIPSWhitelistRequest = DescribeUserIPSWhitelistRequest;
|
|
2552
|
+
class DescribeUserIPSWhitelistResponseBody extends $tea.Model {
|
|
2553
|
+
constructor(map) {
|
|
2554
|
+
super(map);
|
|
2555
|
+
}
|
|
2556
|
+
static names() {
|
|
2557
|
+
return {
|
|
2558
|
+
ipv6Whitelists: 'Ipv6Whitelists',
|
|
2559
|
+
requestId: 'RequestId',
|
|
2560
|
+
whitelists: 'Whitelists',
|
|
2561
|
+
};
|
|
2562
|
+
}
|
|
2563
|
+
static types() {
|
|
2564
|
+
return {
|
|
2565
|
+
ipv6Whitelists: { 'type': 'array', 'itemType': DescribeUserIPSWhitelistResponseBodyIpv6Whitelists },
|
|
2566
|
+
requestId: 'string',
|
|
2567
|
+
whitelists: { 'type': 'array', 'itemType': DescribeUserIPSWhitelistResponseBodyWhitelists },
|
|
2568
|
+
};
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
exports.DescribeUserIPSWhitelistResponseBody = DescribeUserIPSWhitelistResponseBody;
|
|
2572
|
+
class DescribeUserIPSWhitelistResponse extends $tea.Model {
|
|
2573
|
+
constructor(map) {
|
|
2574
|
+
super(map);
|
|
2575
|
+
}
|
|
2576
|
+
static names() {
|
|
2577
|
+
return {
|
|
2578
|
+
headers: 'headers',
|
|
2579
|
+
statusCode: 'statusCode',
|
|
2580
|
+
body: 'body',
|
|
2581
|
+
};
|
|
2582
|
+
}
|
|
2583
|
+
static types() {
|
|
2584
|
+
return {
|
|
2585
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2586
|
+
statusCode: 'number',
|
|
2587
|
+
body: DescribeUserIPSWhitelistResponseBody,
|
|
2588
|
+
};
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
exports.DescribeUserIPSWhitelistResponse = DescribeUserIPSWhitelistResponse;
|
|
2458
2592
|
class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
|
|
2459
2593
|
constructor(map) {
|
|
2460
2594
|
super(map);
|
|
@@ -2545,6 +2679,7 @@ class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
2545
2679
|
return {
|
|
2546
2680
|
connectType: 'ConnectType',
|
|
2547
2681
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2682
|
+
firewallVpc: 'FirewallVpc',
|
|
2548
2683
|
localVpc: 'LocalVpc',
|
|
2549
2684
|
requestId: 'RequestId',
|
|
2550
2685
|
vpcFirewallId: 'VpcFirewallId',
|
|
@@ -2555,6 +2690,7 @@ class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
2555
2690
|
return {
|
|
2556
2691
|
connectType: 'string',
|
|
2557
2692
|
firewallSwitchStatus: 'string',
|
|
2693
|
+
firewallVpc: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc,
|
|
2558
2694
|
localVpc: DescribeVpcFirewallCenDetailResponseBodyLocalVpc,
|
|
2559
2695
|
requestId: 'string',
|
|
2560
2696
|
vpcFirewallId: 'string',
|
|
@@ -3309,6 +3445,76 @@ class ModifyControlPolicyPositionResponse extends $tea.Model {
|
|
|
3309
3445
|
}
|
|
3310
3446
|
}
|
|
3311
3447
|
exports.ModifyControlPolicyPositionResponse = ModifyControlPolicyPositionResponse;
|
|
3448
|
+
class ModifyDefaultIPSConfigRequest extends $tea.Model {
|
|
3449
|
+
constructor(map) {
|
|
3450
|
+
super(map);
|
|
3451
|
+
}
|
|
3452
|
+
static names() {
|
|
3453
|
+
return {
|
|
3454
|
+
aiRules: 'AiRules',
|
|
3455
|
+
basicRules: 'BasicRules',
|
|
3456
|
+
ctiRules: 'CtiRules',
|
|
3457
|
+
enableAllPatch: 'EnableAllPatch',
|
|
3458
|
+
enableDefault: 'EnableDefault',
|
|
3459
|
+
lang: 'Lang',
|
|
3460
|
+
patchRules: 'PatchRules',
|
|
3461
|
+
ruleClass: 'RuleClass',
|
|
3462
|
+
runMode: 'RunMode',
|
|
3463
|
+
sourceIp: 'SourceIp',
|
|
3464
|
+
};
|
|
3465
|
+
}
|
|
3466
|
+
static types() {
|
|
3467
|
+
return {
|
|
3468
|
+
aiRules: 'string',
|
|
3469
|
+
basicRules: 'string',
|
|
3470
|
+
ctiRules: 'string',
|
|
3471
|
+
enableAllPatch: 'string',
|
|
3472
|
+
enableDefault: 'string',
|
|
3473
|
+
lang: 'string',
|
|
3474
|
+
patchRules: 'string',
|
|
3475
|
+
ruleClass: 'string',
|
|
3476
|
+
runMode: 'string',
|
|
3477
|
+
sourceIp: 'string',
|
|
3478
|
+
};
|
|
3479
|
+
}
|
|
3480
|
+
}
|
|
3481
|
+
exports.ModifyDefaultIPSConfigRequest = ModifyDefaultIPSConfigRequest;
|
|
3482
|
+
class ModifyDefaultIPSConfigResponseBody extends $tea.Model {
|
|
3483
|
+
constructor(map) {
|
|
3484
|
+
super(map);
|
|
3485
|
+
}
|
|
3486
|
+
static names() {
|
|
3487
|
+
return {
|
|
3488
|
+
requestId: 'RequestId',
|
|
3489
|
+
};
|
|
3490
|
+
}
|
|
3491
|
+
static types() {
|
|
3492
|
+
return {
|
|
3493
|
+
requestId: 'string',
|
|
3494
|
+
};
|
|
3495
|
+
}
|
|
3496
|
+
}
|
|
3497
|
+
exports.ModifyDefaultIPSConfigResponseBody = ModifyDefaultIPSConfigResponseBody;
|
|
3498
|
+
class ModifyDefaultIPSConfigResponse extends $tea.Model {
|
|
3499
|
+
constructor(map) {
|
|
3500
|
+
super(map);
|
|
3501
|
+
}
|
|
3502
|
+
static names() {
|
|
3503
|
+
return {
|
|
3504
|
+
headers: 'headers',
|
|
3505
|
+
statusCode: 'statusCode',
|
|
3506
|
+
body: 'body',
|
|
3507
|
+
};
|
|
3508
|
+
}
|
|
3509
|
+
static types() {
|
|
3510
|
+
return {
|
|
3511
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3512
|
+
statusCode: 'number',
|
|
3513
|
+
body: ModifyDefaultIPSConfigResponseBody,
|
|
3514
|
+
};
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
exports.ModifyDefaultIPSConfigResponse = ModifyDefaultIPSConfigResponse;
|
|
3312
3518
|
class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
|
|
3313
3519
|
constructor(map) {
|
|
3314
3520
|
super(map);
|
|
@@ -3619,6 +3825,70 @@ class ModifyTrFirewallV2RoutePolicyScopeResponse extends $tea.Model {
|
|
|
3619
3825
|
}
|
|
3620
3826
|
}
|
|
3621
3827
|
exports.ModifyTrFirewallV2RoutePolicyScopeResponse = ModifyTrFirewallV2RoutePolicyScopeResponse;
|
|
3828
|
+
class ModifyUserIPSWhitelistRequest extends $tea.Model {
|
|
3829
|
+
constructor(map) {
|
|
3830
|
+
super(map);
|
|
3831
|
+
}
|
|
3832
|
+
static names() {
|
|
3833
|
+
return {
|
|
3834
|
+
direction: 'Direction',
|
|
3835
|
+
ipVersion: 'IpVersion',
|
|
3836
|
+
lang: 'Lang',
|
|
3837
|
+
listType: 'ListType',
|
|
3838
|
+
listValue: 'ListValue',
|
|
3839
|
+
sourceIp: 'SourceIp',
|
|
3840
|
+
whiteType: 'WhiteType',
|
|
3841
|
+
};
|
|
3842
|
+
}
|
|
3843
|
+
static types() {
|
|
3844
|
+
return {
|
|
3845
|
+
direction: 'number',
|
|
3846
|
+
ipVersion: 'string',
|
|
3847
|
+
lang: 'string',
|
|
3848
|
+
listType: 'number',
|
|
3849
|
+
listValue: 'string',
|
|
3850
|
+
sourceIp: 'string',
|
|
3851
|
+
whiteType: 'number',
|
|
3852
|
+
};
|
|
3853
|
+
}
|
|
3854
|
+
}
|
|
3855
|
+
exports.ModifyUserIPSWhitelistRequest = ModifyUserIPSWhitelistRequest;
|
|
3856
|
+
class ModifyUserIPSWhitelistResponseBody extends $tea.Model {
|
|
3857
|
+
constructor(map) {
|
|
3858
|
+
super(map);
|
|
3859
|
+
}
|
|
3860
|
+
static names() {
|
|
3861
|
+
return {
|
|
3862
|
+
requestId: 'RequestId',
|
|
3863
|
+
};
|
|
3864
|
+
}
|
|
3865
|
+
static types() {
|
|
3866
|
+
return {
|
|
3867
|
+
requestId: 'string',
|
|
3868
|
+
};
|
|
3869
|
+
}
|
|
3870
|
+
}
|
|
3871
|
+
exports.ModifyUserIPSWhitelistResponseBody = ModifyUserIPSWhitelistResponseBody;
|
|
3872
|
+
class ModifyUserIPSWhitelistResponse extends $tea.Model {
|
|
3873
|
+
constructor(map) {
|
|
3874
|
+
super(map);
|
|
3875
|
+
}
|
|
3876
|
+
static names() {
|
|
3877
|
+
return {
|
|
3878
|
+
headers: 'headers',
|
|
3879
|
+
statusCode: 'statusCode',
|
|
3880
|
+
body: 'body',
|
|
3881
|
+
};
|
|
3882
|
+
}
|
|
3883
|
+
static types() {
|
|
3884
|
+
return {
|
|
3885
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3886
|
+
statusCode: 'number',
|
|
3887
|
+
body: ModifyUserIPSWhitelistResponseBody,
|
|
3888
|
+
};
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3891
|
+
exports.ModifyUserIPSWhitelistResponse = ModifyUserIPSWhitelistResponse;
|
|
3622
3892
|
class ModifyVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
3623
3893
|
constructor(map) {
|
|
3624
3894
|
super(map);
|
|
@@ -5223,6 +5493,54 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extends $tea.
|
|
|
5223
5493
|
}
|
|
5224
5494
|
}
|
|
5225
5495
|
exports.DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig = DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
|
|
5496
|
+
class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource extends $tea.Model {
|
|
5497
|
+
constructor(map) {
|
|
5498
|
+
super(map);
|
|
5499
|
+
}
|
|
5500
|
+
static names() {
|
|
5501
|
+
return {
|
|
5502
|
+
count: 'Count',
|
|
5503
|
+
peerTrList: 'PeerTrList',
|
|
5504
|
+
vbrList: 'VbrList',
|
|
5505
|
+
vpcList: 'VpcList',
|
|
5506
|
+
vpnList: 'VpnList',
|
|
5507
|
+
};
|
|
5508
|
+
}
|
|
5509
|
+
static types() {
|
|
5510
|
+
return {
|
|
5511
|
+
count: 'number',
|
|
5512
|
+
peerTrList: { 'type': 'array', 'itemType': 'string' },
|
|
5513
|
+
vbrList: { 'type': 'array', 'itemType': 'string' },
|
|
5514
|
+
vpcList: { 'type': 'array', 'itemType': 'string' },
|
|
5515
|
+
vpnList: { 'type': 'array', 'itemType': 'string' },
|
|
5516
|
+
};
|
|
5517
|
+
}
|
|
5518
|
+
}
|
|
5519
|
+
exports.DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource = DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource;
|
|
5520
|
+
class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource extends $tea.Model {
|
|
5521
|
+
constructor(map) {
|
|
5522
|
+
super(map);
|
|
5523
|
+
}
|
|
5524
|
+
static names() {
|
|
5525
|
+
return {
|
|
5526
|
+
count: 'Count',
|
|
5527
|
+
peerTrList: 'PeerTrList',
|
|
5528
|
+
vbrList: 'VbrList',
|
|
5529
|
+
vpcList: 'VpcList',
|
|
5530
|
+
vpnList: 'VpnList',
|
|
5531
|
+
};
|
|
5532
|
+
}
|
|
5533
|
+
static types() {
|
|
5534
|
+
return {
|
|
5535
|
+
count: 'number',
|
|
5536
|
+
peerTrList: { 'type': 'array', 'itemType': 'string' },
|
|
5537
|
+
vbrList: { 'type': 'array', 'itemType': 'string' },
|
|
5538
|
+
vpcList: { 'type': 'array', 'itemType': 'string' },
|
|
5539
|
+
vpnList: { 'type': 'array', 'itemType': 'string' },
|
|
5540
|
+
};
|
|
5541
|
+
}
|
|
5542
|
+
}
|
|
5543
|
+
exports.DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource = DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource;
|
|
5226
5544
|
class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
5227
5545
|
constructor(map) {
|
|
5228
5546
|
super(map);
|
|
@@ -5236,11 +5554,13 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
|
5236
5554
|
ipsConfig: 'IpsConfig',
|
|
5237
5555
|
ownerId: 'OwnerId',
|
|
5238
5556
|
precheckStatus: 'PrecheckStatus',
|
|
5557
|
+
protectedResource: 'ProtectedResource',
|
|
5239
5558
|
regionNo: 'RegionNo',
|
|
5240
5559
|
regionStatus: 'RegionStatus',
|
|
5241
5560
|
resultCode: 'ResultCode',
|
|
5242
5561
|
routeMode: 'RouteMode',
|
|
5243
5562
|
transitRouterId: 'TransitRouterId',
|
|
5563
|
+
unprotectedResource: 'UnprotectedResource',
|
|
5244
5564
|
vpcFirewallName: 'VpcFirewallName',
|
|
5245
5565
|
};
|
|
5246
5566
|
}
|
|
@@ -5253,11 +5573,13 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
|
5253
5573
|
ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
|
|
5254
5574
|
ownerId: 'number',
|
|
5255
5575
|
precheckStatus: 'string',
|
|
5576
|
+
protectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource,
|
|
5256
5577
|
regionNo: 'string',
|
|
5257
5578
|
regionStatus: 'string',
|
|
5258
5579
|
resultCode: 'string',
|
|
5259
5580
|
routeMode: 'string',
|
|
5260
5581
|
transitRouterId: 'string',
|
|
5582
|
+
unprotectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource,
|
|
5261
5583
|
vpcFirewallName: 'string',
|
|
5262
5584
|
};
|
|
5263
5585
|
}
|
|
@@ -5285,6 +5607,54 @@ class DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList extends
|
|
|
5285
5607
|
}
|
|
5286
5608
|
}
|
|
5287
5609
|
exports.DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList = DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList;
|
|
5610
|
+
class DescribeUserIPSWhitelistResponseBodyIpv6Whitelists extends $tea.Model {
|
|
5611
|
+
constructor(map) {
|
|
5612
|
+
super(map);
|
|
5613
|
+
}
|
|
5614
|
+
static names() {
|
|
5615
|
+
return {
|
|
5616
|
+
direction: 'Direction',
|
|
5617
|
+
listType: 'ListType',
|
|
5618
|
+
listValue: 'ListValue',
|
|
5619
|
+
whiteListValue: 'WhiteListValue',
|
|
5620
|
+
whiteType: 'WhiteType',
|
|
5621
|
+
};
|
|
5622
|
+
}
|
|
5623
|
+
static types() {
|
|
5624
|
+
return {
|
|
5625
|
+
direction: 'number',
|
|
5626
|
+
listType: 'number',
|
|
5627
|
+
listValue: 'string',
|
|
5628
|
+
whiteListValue: { 'type': 'array', 'itemType': 'string' },
|
|
5629
|
+
whiteType: 'number',
|
|
5630
|
+
};
|
|
5631
|
+
}
|
|
5632
|
+
}
|
|
5633
|
+
exports.DescribeUserIPSWhitelistResponseBodyIpv6Whitelists = DescribeUserIPSWhitelistResponseBodyIpv6Whitelists;
|
|
5634
|
+
class DescribeUserIPSWhitelistResponseBodyWhitelists extends $tea.Model {
|
|
5635
|
+
constructor(map) {
|
|
5636
|
+
super(map);
|
|
5637
|
+
}
|
|
5638
|
+
static names() {
|
|
5639
|
+
return {
|
|
5640
|
+
direction: 'Direction',
|
|
5641
|
+
listType: 'ListType',
|
|
5642
|
+
listValue: 'ListValue',
|
|
5643
|
+
whiteListValue: 'WhiteListValue',
|
|
5644
|
+
whiteType: 'WhiteType',
|
|
5645
|
+
};
|
|
5646
|
+
}
|
|
5647
|
+
static types() {
|
|
5648
|
+
return {
|
|
5649
|
+
direction: 'number',
|
|
5650
|
+
listType: 'number',
|
|
5651
|
+
listValue: 'string',
|
|
5652
|
+
whiteListValue: { 'type': 'array', 'itemType': 'string' },
|
|
5653
|
+
whiteType: 'number',
|
|
5654
|
+
};
|
|
5655
|
+
}
|
|
5656
|
+
}
|
|
5657
|
+
exports.DescribeUserIPSWhitelistResponseBodyWhitelists = DescribeUserIPSWhitelistResponseBodyWhitelists;
|
|
5288
5658
|
class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model {
|
|
5289
5659
|
constructor(map) {
|
|
5290
5660
|
super(map);
|
|
@@ -5305,6 +5675,32 @@ class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model
|
|
|
5305
5675
|
}
|
|
5306
5676
|
}
|
|
5307
5677
|
exports.DescribeVpcFirewallAclGroupListResponseBodyAclGroupList = DescribeVpcFirewallAclGroupListResponseBodyAclGroupList;
|
|
5678
|
+
class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $tea.Model {
|
|
5679
|
+
constructor(map) {
|
|
5680
|
+
super(map);
|
|
5681
|
+
}
|
|
5682
|
+
static names() {
|
|
5683
|
+
return {
|
|
5684
|
+
allowConfiguration: 'AllowConfiguration',
|
|
5685
|
+
vpcCidr: 'VpcCidr',
|
|
5686
|
+
vpcId: 'VpcId',
|
|
5687
|
+
vswitchCidr: 'VswitchCidr',
|
|
5688
|
+
vswitchId: 'VswitchId',
|
|
5689
|
+
zoneId: 'ZoneId',
|
|
5690
|
+
};
|
|
5691
|
+
}
|
|
5692
|
+
static types() {
|
|
5693
|
+
return {
|
|
5694
|
+
allowConfiguration: 'number',
|
|
5695
|
+
vpcCidr: 'string',
|
|
5696
|
+
vpcId: 'string',
|
|
5697
|
+
vswitchCidr: 'string',
|
|
5698
|
+
vswitchId: 'string',
|
|
5699
|
+
zoneId: 'string',
|
|
5700
|
+
};
|
|
5701
|
+
}
|
|
5702
|
+
}
|
|
5703
|
+
exports.DescribeVpcFirewallCenDetailResponseBodyFirewallVpc = DescribeVpcFirewallCenDetailResponseBodyFirewallVpc;
|
|
5308
5704
|
class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model {
|
|
5309
5705
|
constructor(map) {
|
|
5310
5706
|
super(map);
|
|
@@ -5313,12 +5709,14 @@ class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model
|
|
|
5313
5709
|
return {
|
|
5314
5710
|
eniId: 'EniId',
|
|
5315
5711
|
eniPrivateIpAddress: 'EniPrivateIpAddress',
|
|
5712
|
+
eniVSwitchId: 'EniVSwitchId',
|
|
5316
5713
|
};
|
|
5317
5714
|
}
|
|
5318
5715
|
static types() {
|
|
5319
5716
|
return {
|
|
5320
5717
|
eniId: 'string',
|
|
5321
5718
|
eniPrivateIpAddress: 'string',
|
|
5719
|
+
eniVSwitchId: 'string',
|
|
5322
5720
|
};
|
|
5323
5721
|
}
|
|
5324
5722
|
}
|
|
@@ -6485,6 +6883,15 @@ class Client extends openapi_client_1.default {
|
|
|
6485
6883
|
if (!tea_util_1.default.isUnset(request.firewallSwitch)) {
|
|
6486
6884
|
query["FirewallSwitch"] = request.firewallSwitch;
|
|
6487
6885
|
}
|
|
6886
|
+
if (!tea_util_1.default.isUnset(request.firewallVSwitchCidrBlock)) {
|
|
6887
|
+
query["FirewallVSwitchCidrBlock"] = request.firewallVSwitchCidrBlock;
|
|
6888
|
+
}
|
|
6889
|
+
if (!tea_util_1.default.isUnset(request.firewallVpcCidrBlock)) {
|
|
6890
|
+
query["FirewallVpcCidrBlock"] = request.firewallVpcCidrBlock;
|
|
6891
|
+
}
|
|
6892
|
+
if (!tea_util_1.default.isUnset(request.firewallVpcZoneId)) {
|
|
6893
|
+
query["FirewallVpcZoneId"] = request.firewallVpcZoneId;
|
|
6894
|
+
}
|
|
6488
6895
|
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6489
6896
|
query["Lang"] = request.lang;
|
|
6490
6897
|
}
|
|
@@ -7257,6 +7664,35 @@ class Client extends openapi_client_1.default {
|
|
|
7257
7664
|
let runtime = new $Util.RuntimeOptions({});
|
|
7258
7665
|
return await this.describeControlPolicyWithOptions(request, runtime);
|
|
7259
7666
|
}
|
|
7667
|
+
async describeDefaultIPSConfigWithOptions(request, runtime) {
|
|
7668
|
+
tea_util_1.default.validateModel(request);
|
|
7669
|
+
let query = {};
|
|
7670
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7671
|
+
query["Lang"] = request.lang;
|
|
7672
|
+
}
|
|
7673
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
7674
|
+
query["SourceIp"] = request.sourceIp;
|
|
7675
|
+
}
|
|
7676
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7677
|
+
query: openapi_util_1.default.query(query),
|
|
7678
|
+
});
|
|
7679
|
+
let params = new $OpenApi.Params({
|
|
7680
|
+
action: "DescribeDefaultIPSConfig",
|
|
7681
|
+
version: "2017-12-07",
|
|
7682
|
+
protocol: "HTTPS",
|
|
7683
|
+
pathname: "/",
|
|
7684
|
+
method: "POST",
|
|
7685
|
+
authType: "AK",
|
|
7686
|
+
style: "RPC",
|
|
7687
|
+
reqBodyType: "formData",
|
|
7688
|
+
bodyType: "json",
|
|
7689
|
+
});
|
|
7690
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDefaultIPSConfigResponse({}));
|
|
7691
|
+
}
|
|
7692
|
+
async describeDefaultIPSConfig(request) {
|
|
7693
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7694
|
+
return await this.describeDefaultIPSConfigWithOptions(request, runtime);
|
|
7695
|
+
}
|
|
7260
7696
|
/**
|
|
7261
7697
|
* 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.
|
|
7262
7698
|
* ## Limits
|
|
@@ -8038,6 +8474,38 @@ class Client extends openapi_client_1.default {
|
|
|
8038
8474
|
let runtime = new $Util.RuntimeOptions({});
|
|
8039
8475
|
return await this.describeUserAssetIPTrafficInfoWithOptions(request, runtime);
|
|
8040
8476
|
}
|
|
8477
|
+
async describeUserIPSWhitelistWithOptions(request, runtime) {
|
|
8478
|
+
tea_util_1.default.validateModel(request);
|
|
8479
|
+
let query = {};
|
|
8480
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8481
|
+
query["Lang"] = request.lang;
|
|
8482
|
+
}
|
|
8483
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8484
|
+
query["Lang"] = request.lang;
|
|
8485
|
+
}
|
|
8486
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
8487
|
+
query["SourceIp"] = request.sourceIp;
|
|
8488
|
+
}
|
|
8489
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8490
|
+
query: openapi_util_1.default.query(query),
|
|
8491
|
+
});
|
|
8492
|
+
let params = new $OpenApi.Params({
|
|
8493
|
+
action: "DescribeUserIPSWhitelist",
|
|
8494
|
+
version: "2017-12-07",
|
|
8495
|
+
protocol: "HTTPS",
|
|
8496
|
+
pathname: "/",
|
|
8497
|
+
method: "POST",
|
|
8498
|
+
authType: "AK",
|
|
8499
|
+
style: "RPC",
|
|
8500
|
+
reqBodyType: "formData",
|
|
8501
|
+
bodyType: "json",
|
|
8502
|
+
});
|
|
8503
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserIPSWhitelistResponse({}));
|
|
8504
|
+
}
|
|
8505
|
+
async describeUserIPSWhitelist(request) {
|
|
8506
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8507
|
+
return await this.describeUserIPSWhitelistWithOptions(request, runtime);
|
|
8508
|
+
}
|
|
8041
8509
|
/**
|
|
8042
8510
|
* You can call the DescribeVpcFirewallAclGroupList operation to query the information about all policy groups of access control policies that are created for VPC firewalls.
|
|
8043
8511
|
* ## Limits
|
|
@@ -8815,6 +9283,59 @@ class Client extends openapi_client_1.default {
|
|
|
8815
9283
|
let runtime = new $Util.RuntimeOptions({});
|
|
8816
9284
|
return await this.modifyControlPolicyPositionWithOptions(request, runtime);
|
|
8817
9285
|
}
|
|
9286
|
+
async modifyDefaultIPSConfigWithOptions(request, runtime) {
|
|
9287
|
+
tea_util_1.default.validateModel(request);
|
|
9288
|
+
let query = {};
|
|
9289
|
+
if (!tea_util_1.default.isUnset(request.aiRules)) {
|
|
9290
|
+
query["AiRules"] = request.aiRules;
|
|
9291
|
+
}
|
|
9292
|
+
if (!tea_util_1.default.isUnset(request.basicRules)) {
|
|
9293
|
+
query["BasicRules"] = request.basicRules;
|
|
9294
|
+
}
|
|
9295
|
+
if (!tea_util_1.default.isUnset(request.ctiRules)) {
|
|
9296
|
+
query["CtiRules"] = request.ctiRules;
|
|
9297
|
+
}
|
|
9298
|
+
if (!tea_util_1.default.isUnset(request.enableAllPatch)) {
|
|
9299
|
+
query["EnableAllPatch"] = request.enableAllPatch;
|
|
9300
|
+
}
|
|
9301
|
+
if (!tea_util_1.default.isUnset(request.enableDefault)) {
|
|
9302
|
+
query["EnableDefault"] = request.enableDefault;
|
|
9303
|
+
}
|
|
9304
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
9305
|
+
query["Lang"] = request.lang;
|
|
9306
|
+
}
|
|
9307
|
+
if (!tea_util_1.default.isUnset(request.patchRules)) {
|
|
9308
|
+
query["PatchRules"] = request.patchRules;
|
|
9309
|
+
}
|
|
9310
|
+
if (!tea_util_1.default.isUnset(request.ruleClass)) {
|
|
9311
|
+
query["RuleClass"] = request.ruleClass;
|
|
9312
|
+
}
|
|
9313
|
+
if (!tea_util_1.default.isUnset(request.runMode)) {
|
|
9314
|
+
query["RunMode"] = request.runMode;
|
|
9315
|
+
}
|
|
9316
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
9317
|
+
query["SourceIp"] = request.sourceIp;
|
|
9318
|
+
}
|
|
9319
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9320
|
+
query: openapi_util_1.default.query(query),
|
|
9321
|
+
});
|
|
9322
|
+
let params = new $OpenApi.Params({
|
|
9323
|
+
action: "ModifyDefaultIPSConfig",
|
|
9324
|
+
version: "2017-12-07",
|
|
9325
|
+
protocol: "HTTPS",
|
|
9326
|
+
pathname: "/",
|
|
9327
|
+
method: "POST",
|
|
9328
|
+
authType: "AK",
|
|
9329
|
+
style: "RPC",
|
|
9330
|
+
reqBodyType: "formData",
|
|
9331
|
+
bodyType: "json",
|
|
9332
|
+
});
|
|
9333
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDefaultIPSConfigResponse({}));
|
|
9334
|
+
}
|
|
9335
|
+
async modifyDefaultIPSConfig(request) {
|
|
9336
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9337
|
+
return await this.modifyDefaultIPSConfigWithOptions(request, runtime);
|
|
9338
|
+
}
|
|
8818
9339
|
async modifyFirewallV2RoutePolicySwitchWithOptions(request, runtime) {
|
|
8819
9340
|
tea_util_1.default.validateModel(request);
|
|
8820
9341
|
let query = {};
|
|
@@ -9023,6 +9544,53 @@ class Client extends openapi_client_1.default {
|
|
|
9023
9544
|
let runtime = new $Util.RuntimeOptions({});
|
|
9024
9545
|
return await this.modifyTrFirewallV2RoutePolicyScopeWithOptions(request, runtime);
|
|
9025
9546
|
}
|
|
9547
|
+
async modifyUserIPSWhitelistWithOptions(request, runtime) {
|
|
9548
|
+
tea_util_1.default.validateModel(request);
|
|
9549
|
+
let query = {};
|
|
9550
|
+
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
9551
|
+
query["Direction"] = request.direction;
|
|
9552
|
+
}
|
|
9553
|
+
if (!tea_util_1.default.isUnset(request.ipVersion)) {
|
|
9554
|
+
query["IpVersion"] = request.ipVersion;
|
|
9555
|
+
}
|
|
9556
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
9557
|
+
query["Lang"] = request.lang;
|
|
9558
|
+
}
|
|
9559
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
9560
|
+
query["Lang"] = request.lang;
|
|
9561
|
+
}
|
|
9562
|
+
if (!tea_util_1.default.isUnset(request.listType)) {
|
|
9563
|
+
query["ListType"] = request.listType;
|
|
9564
|
+
}
|
|
9565
|
+
if (!tea_util_1.default.isUnset(request.listValue)) {
|
|
9566
|
+
query["ListValue"] = request.listValue;
|
|
9567
|
+
}
|
|
9568
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
9569
|
+
query["SourceIp"] = request.sourceIp;
|
|
9570
|
+
}
|
|
9571
|
+
if (!tea_util_1.default.isUnset(request.whiteType)) {
|
|
9572
|
+
query["WhiteType"] = request.whiteType;
|
|
9573
|
+
}
|
|
9574
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9575
|
+
query: openapi_util_1.default.query(query),
|
|
9576
|
+
});
|
|
9577
|
+
let params = new $OpenApi.Params({
|
|
9578
|
+
action: "ModifyUserIPSWhitelist",
|
|
9579
|
+
version: "2017-12-07",
|
|
9580
|
+
protocol: "HTTPS",
|
|
9581
|
+
pathname: "/",
|
|
9582
|
+
method: "POST",
|
|
9583
|
+
authType: "AK",
|
|
9584
|
+
style: "RPC",
|
|
9585
|
+
reqBodyType: "formData",
|
|
9586
|
+
bodyType: "json",
|
|
9587
|
+
});
|
|
9588
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyUserIPSWhitelistResponse({}));
|
|
9589
|
+
}
|
|
9590
|
+
async modifyUserIPSWhitelist(request) {
|
|
9591
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9592
|
+
return await this.modifyUserIPSWhitelistWithOptions(request, runtime);
|
|
9593
|
+
}
|
|
9026
9594
|
/**
|
|
9027
9595
|
* 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.
|
|
9028
9596
|
* ## Limits
|