@alicloud/cloudfw20171207 1.5.0 → 2.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 +11 -8
- package/dist/client.js +20 -11
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +25 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/cloudfw20171207",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.7",
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.7",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -5431,6 +5431,7 @@ export class ModifyNatFirewallControlPolicyRequest extends $tea.Model {
|
|
|
5431
5431
|
destPortType?: string;
|
|
5432
5432
|
destination?: string;
|
|
5433
5433
|
destinationType?: string;
|
|
5434
|
+
direction?: string;
|
|
5434
5435
|
domainResolveType?: string;
|
|
5435
5436
|
endTime?: number;
|
|
5436
5437
|
lang?: string;
|
|
@@ -5455,6 +5456,7 @@ export class ModifyNatFirewallControlPolicyRequest extends $tea.Model {
|
|
|
5455
5456
|
destPortType: 'DestPortType',
|
|
5456
5457
|
destination: 'Destination',
|
|
5457
5458
|
destinationType: 'DestinationType',
|
|
5459
|
+
direction: 'Direction',
|
|
5458
5460
|
domainResolveType: 'DomainResolveType',
|
|
5459
5461
|
endTime: 'EndTime',
|
|
5460
5462
|
lang: 'Lang',
|
|
@@ -5482,6 +5484,7 @@ export class ModifyNatFirewallControlPolicyRequest extends $tea.Model {
|
|
|
5482
5484
|
destPortType: 'string',
|
|
5483
5485
|
destination: 'string',
|
|
5484
5486
|
destinationType: 'string',
|
|
5487
|
+
direction: 'string',
|
|
5485
5488
|
domainResolveType: 'string',
|
|
5486
5489
|
endTime: 'number',
|
|
5487
5490
|
lang: 'string',
|
|
@@ -5549,12 +5552,14 @@ export class ModifyNatFirewallControlPolicyResponse extends $tea.Model {
|
|
|
5549
5552
|
|
|
5550
5553
|
export class ModifyNatFirewallControlPolicyPositionRequest extends $tea.Model {
|
|
5551
5554
|
aclUuid?: string;
|
|
5555
|
+
direction?: string;
|
|
5552
5556
|
lang?: string;
|
|
5553
5557
|
natGatewayId?: string;
|
|
5554
5558
|
newOrder?: number;
|
|
5555
5559
|
static names(): { [key: string]: string } {
|
|
5556
5560
|
return {
|
|
5557
5561
|
aclUuid: 'AclUuid',
|
|
5562
|
+
direction: 'Direction',
|
|
5558
5563
|
lang: 'Lang',
|
|
5559
5564
|
natGatewayId: 'NatGatewayId',
|
|
5560
5565
|
newOrder: 'NewOrder',
|
|
@@ -5564,6 +5569,7 @@ export class ModifyNatFirewallControlPolicyPositionRequest extends $tea.Model {
|
|
|
5564
5569
|
static types(): { [key: string]: any } {
|
|
5565
5570
|
return {
|
|
5566
5571
|
aclUuid: 'string',
|
|
5572
|
+
direction: 'string',
|
|
5567
5573
|
lang: 'string',
|
|
5568
5574
|
natGatewayId: 'string',
|
|
5569
5575
|
newOrder: 'number',
|
|
@@ -8514,12 +8520,14 @@ export class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $te
|
|
|
8514
8520
|
aclGroupId?: string;
|
|
8515
8521
|
aclGroupName?: string;
|
|
8516
8522
|
aclRuleCount?: number;
|
|
8523
|
+
isDefault?: boolean;
|
|
8517
8524
|
memberUid?: string;
|
|
8518
8525
|
static names(): { [key: string]: string } {
|
|
8519
8526
|
return {
|
|
8520
8527
|
aclGroupId: 'AclGroupId',
|
|
8521
8528
|
aclGroupName: 'AclGroupName',
|
|
8522
8529
|
aclRuleCount: 'AclRuleCount',
|
|
8530
|
+
isDefault: 'IsDefault',
|
|
8523
8531
|
memberUid: 'MemberUid',
|
|
8524
8532
|
};
|
|
8525
8533
|
}
|
|
@@ -8529,6 +8537,7 @@ export class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $te
|
|
|
8529
8537
|
aclGroupId: 'string',
|
|
8530
8538
|
aclGroupName: 'string',
|
|
8531
8539
|
aclRuleCount: 'number',
|
|
8540
|
+
isDefault: 'boolean',
|
|
8532
8541
|
memberUid: 'string',
|
|
8533
8542
|
};
|
|
8534
8543
|
}
|
|
@@ -10354,8 +10363,8 @@ export default class Client extends OpenApi {
|
|
|
10354
10363
|
}
|
|
10355
10364
|
|
|
10356
10365
|
/**
|
|
10357
|
-
* You can call
|
|
10358
|
-
* ###
|
|
10366
|
+
* You can call this operation to create a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. The VPC firewall does not control the mutual access traffic between VPCs that reside in different regions or belong to different Alibaba Cloud accounts. The firewall also does not control the mutual access traffic between VPCs and virtual border routers (VBRs). For more information, see [VPC firewall limits](~~172295~~).
|
|
10367
|
+
* ### [](#qps)QPS limit
|
|
10359
10368
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
10360
10369
|
*
|
|
10361
10370
|
* @param request CreateVpcFirewallConfigureRequest
|
|
@@ -10423,8 +10432,8 @@ export default class Client extends OpenApi {
|
|
|
10423
10432
|
}
|
|
10424
10433
|
|
|
10425
10434
|
/**
|
|
10426
|
-
* You can call
|
|
10427
|
-
* ###
|
|
10435
|
+
* You can call this operation to create a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. The VPC firewall does not control the mutual access traffic between VPCs that reside in different regions or belong to different Alibaba Cloud accounts. The firewall also does not control the mutual access traffic between VPCs and virtual border routers (VBRs). For more information, see [VPC firewall limits](~~172295~~).
|
|
10436
|
+
* ### [](#qps)QPS limit
|
|
10428
10437
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
10429
10438
|
*
|
|
10430
10439
|
* @param request CreateVpcFirewallConfigureRequest
|
|
@@ -12620,10 +12629,6 @@ export default class Client extends OpenApi {
|
|
|
12620
12629
|
query["Lang"] = request.lang;
|
|
12621
12630
|
}
|
|
12622
12631
|
|
|
12623
|
-
if (!Util.isUnset(request.lang)) {
|
|
12624
|
-
query["Lang"] = request.lang;
|
|
12625
|
-
}
|
|
12626
|
-
|
|
12627
12632
|
if (!Util.isUnset(request.pageSize)) {
|
|
12628
12633
|
query["PageSize"] = request.pageSize;
|
|
12629
12634
|
}
|
|
@@ -13338,8 +13343,8 @@ export default class Client extends OpenApi {
|
|
|
13338
13343
|
}
|
|
13339
13344
|
|
|
13340
13345
|
/**
|
|
13341
|
-
* You can call
|
|
13342
|
-
* ##
|
|
13346
|
+
* You can call this operation to modify the configurations of an access control policy. The policy allows Cloud Firewall to allow, deny, or monitor the traffic that passes through Cloud Firewall.
|
|
13347
|
+
* ## [](#qps)Limit
|
|
13343
13348
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
13344
13349
|
*
|
|
13345
13350
|
* @param request ModifyControlPolicyRequest
|
|
@@ -13455,8 +13460,8 @@ export default class Client extends OpenApi {
|
|
|
13455
13460
|
}
|
|
13456
13461
|
|
|
13457
13462
|
/**
|
|
13458
|
-
* You can call
|
|
13459
|
-
* ##
|
|
13463
|
+
* You can call this operation to modify the configurations of an access control policy. The policy allows Cloud Firewall to allow, deny, or monitor the traffic that passes through Cloud Firewall.
|
|
13464
|
+
* ## [](#qps)Limit
|
|
13460
13465
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
13461
13466
|
*
|
|
13462
13467
|
* @param request ModifyControlPolicyRequest
|
|
@@ -13731,6 +13736,10 @@ export default class Client extends OpenApi {
|
|
|
13731
13736
|
query["DestinationType"] = request.destinationType;
|
|
13732
13737
|
}
|
|
13733
13738
|
|
|
13739
|
+
if (!Util.isUnset(request.direction)) {
|
|
13740
|
+
query["Direction"] = request.direction;
|
|
13741
|
+
}
|
|
13742
|
+
|
|
13734
13743
|
if (!Util.isUnset(request.domainResolveType)) {
|
|
13735
13744
|
query["DomainResolveType"] = request.domainResolveType;
|
|
13736
13745
|
}
|
|
@@ -13818,6 +13827,10 @@ export default class Client extends OpenApi {
|
|
|
13818
13827
|
query["AclUuid"] = request.aclUuid;
|
|
13819
13828
|
}
|
|
13820
13829
|
|
|
13830
|
+
if (!Util.isUnset(request.direction)) {
|
|
13831
|
+
query["Direction"] = request.direction;
|
|
13832
|
+
}
|
|
13833
|
+
|
|
13821
13834
|
if (!Util.isUnset(request.lang)) {
|
|
13822
13835
|
query["Lang"] = request.lang;
|
|
13823
13836
|
}
|