@alicloud/cloudfw20171207 8.4.3 → 8.4.4
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 +34 -30
- package/dist/client.js +40 -30
- package/dist/client.js.map +1 -1
- package/dist/models/AddInstanceMembersRequest.d.ts +1 -1
- package/dist/models/CreateSecurityProxyRequest.d.ts +22 -19
- package/dist/models/CreateSecurityProxyRequest.js.map +1 -1
- package/dist/models/CreateSecurityProxyResponseBody.d.ts +1 -1
- package/dist/models/CreateTrFirewallV2request.d.ts +14 -6
- package/dist/models/CreateTrFirewallV2request.js.map +1 -1
- package/dist/models/DeleteControlPolicyRequest.d.ts +19 -3
- package/dist/models/DeleteControlPolicyRequest.js +4 -0
- package/dist/models/DeleteControlPolicyRequest.js.map +1 -1
- package/dist/models/DeleteControlPolicyResponseBody.d.ts +5 -0
- package/dist/models/DeleteControlPolicyResponseBody.js +2 -0
- package/dist/models/DeleteControlPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeFirewallDropTrendRequest.d.ts +3 -3
- package/dist/models/DescribeFirewallDropTrendResponseBody.d.ts +1 -1
- package/dist/models/DescribeTrFirewallsV2detailRequest.d.ts +1 -1
- package/dist/models/DescribeTrFirewallsV2detailResponseBody.d.ts +21 -21
- package/dist/models/DescribeVpcFirewallCenDetailRequest.d.ts +2 -2
- package/dist/models/DescribeVpcFirewallCenDetailResponseBody.d.ts +19 -19
- package/dist/models/ModifyAddressBookRequest.d.ts +25 -11
- package/dist/models/ModifyAddressBookRequest.js.map +1 -1
- package/dist/models/ModifyAddressBookResponseBody.d.ts +1 -1
- package/dist/models/ModifyAddressBookShrinkRequest.d.ts +25 -11
- package/dist/models/ModifyAddressBookShrinkRequest.js.map +1 -1
- package/dist/models/ModifyControlPolicyRequest.d.ts +15 -15
- package/dist/models/ModifyControlPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyTrFirewallV2configurationRequest.d.ts +5 -4
- package/dist/models/ModifyTrFirewallV2configurationRequest.js.map +1 -1
- package/dist/models/ModifyVpcFirewallSwitchStatusRequest.d.ts +2 -2
- package/dist/models/PutEnableFwSwitchRequest.d.ts +5 -5
- package/dist/models/PutEnableFwSwitchResponseBody.d.ts +5 -5
- package/package.json +1 -1
- package/src/client.ts +42 -30
- package/src/models/AddInstanceMembersRequest.ts +1 -1
- package/src/models/CreateSecurityProxyRequest.ts +22 -19
- package/src/models/CreateSecurityProxyResponseBody.ts +1 -1
- package/src/models/CreateTrFirewallV2request.ts +14 -6
- package/src/models/DeleteControlPolicyRequest.ts +23 -3
- package/src/models/DeleteControlPolicyResponseBody.ts +7 -0
- package/src/models/DescribeFirewallDropTrendRequest.ts +3 -3
- package/src/models/DescribeFirewallDropTrendResponseBody.ts +1 -1
- package/src/models/DescribeTrFirewallsV2detailRequest.ts +1 -1
- package/src/models/DescribeTrFirewallsV2detailResponseBody.ts +21 -21
- package/src/models/DescribeVpcFirewallCenDetailRequest.ts +2 -2
- package/src/models/DescribeVpcFirewallCenDetailResponseBody.ts +19 -19
- package/src/models/ModifyAddressBookRequest.ts +25 -11
- package/src/models/ModifyAddressBookResponseBody.ts +1 -1
- package/src/models/ModifyAddressBookShrinkRequest.ts +25 -11
- package/src/models/ModifyControlPolicyRequest.ts +15 -15
- package/src/models/ModifyControlPolicyResponseBody.ts +1 -1
- package/src/models/ModifyTrFirewallV2configurationRequest.ts +5 -4
- package/src/models/ModifyVpcFirewallSwitchStatusRequest.ts +2 -2
- package/src/models/PutEnableFwSwitchRequest.ts +5 -5
- package/src/models/PutEnableFwSwitchResponseBody.ts +5 -5
|
@@ -3,7 +3,7 @@ export declare class PutEnableFwSwitchResponseBodyAbnormalResourceStatusList ext
|
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
5
|
* The message when the asset is not synchronized. Valid values:
|
|
6
|
-
* - cloudfirewall do not sync this ip address: Cloud Firewall
|
|
6
|
+
* - cloudfirewall do not sync this ip address: Cloud Firewall did not synchronize this asset IP address.
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* cloudfirewall do not sync this ip address
|
|
@@ -19,8 +19,8 @@ export declare class PutEnableFwSwitchResponseBodyAbnormalResourceStatusList ext
|
|
|
19
19
|
resource?: string;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The status
|
|
23
|
-
* - ip_not_sync:
|
|
22
|
+
* The status when the asset is not synchronized. Valid values:
|
|
23
|
+
* - ip_not_sync: the asset is not synchronized.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* ip_not_sync
|
|
@@ -40,12 +40,12 @@ export declare class PutEnableFwSwitchResponseBodyAbnormalResourceStatusList ext
|
|
|
40
40
|
export declare class PutEnableFwSwitchResponseBody extends $dara.Model {
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The status information list
|
|
43
|
+
* The status information list for assets that are not synchronized.
|
|
44
44
|
*/
|
|
45
45
|
abnormalResourceStatusList?: PutEnableFwSwitchResponseBodyAbnormalResourceStatusList[];
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* Indicates
|
|
48
|
+
* Indicates whether this response is a dry run success response. A value of true indicates that only the dry run was completed and no actual changes were made. This field is not returned or is set to false for actual calls.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* true
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -515,7 +515,7 @@ export default class Client extends OpenApi {
|
|
|
515
515
|
* - The caller\\"s Alibaba Cloud account must be a delegated administrator (DA) or management account (MA) of a resource directory. Otherwise, the error ErrorInstanceAliuidNotDaMa (-103313) is returned. Call DescribeInstanceRdAccounts to verify the identity of the current account.
|
|
516
516
|
* - The member UID to be added must belong to the same resource directory. Otherwise, the error ErrorInstanceMemberNotBelongRd (-103308) is returned.
|
|
517
517
|
* ## Rate limit
|
|
518
|
-
* The single-user queries per second (QPS) limit for this operation is 10. If the number of calls per second exceeds the limit, throttling is triggered.
|
|
518
|
+
* The single-user queries per second (QPS) limit for this operation is 10. If the number of calls per second exceeds the limit, throttling is triggered. Throttling may affect your business. Call this operation within the limit.
|
|
519
519
|
*
|
|
520
520
|
* @param request - AddInstanceMembersRequest
|
|
521
521
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -554,7 +554,7 @@ export default class Client extends OpenApi {
|
|
|
554
554
|
* - The caller\\"s Alibaba Cloud account must be a delegated administrator (DA) or management account (MA) of a resource directory. Otherwise, the error ErrorInstanceAliuidNotDaMa (-103313) is returned. Call DescribeInstanceRdAccounts to verify the identity of the current account.
|
|
555
555
|
* - The member UID to be added must belong to the same resource directory. Otherwise, the error ErrorInstanceMemberNotBelongRd (-103308) is returned.
|
|
556
556
|
* ## Rate limit
|
|
557
|
-
* The single-user queries per second (QPS) limit for this operation is 10. If the number of calls per second exceeds the limit, throttling is triggered.
|
|
557
|
+
* The single-user queries per second (QPS) limit for this operation is 10. If the number of calls per second exceeds the limit, throttling is triggered. Throttling may affect your business. Call this operation within the limit.
|
|
558
558
|
*
|
|
559
559
|
* @param request - AddInstanceMembersRequest
|
|
560
560
|
* @returns AddInstanceMembersResponse
|
|
@@ -1562,7 +1562,7 @@ export default class Client extends OpenApi {
|
|
|
1562
1562
|
}
|
|
1563
1563
|
|
|
1564
1564
|
/**
|
|
1565
|
-
* Creates a VPC firewall for a transit router. Before you begin: (1) Purchase Cloud Firewall. (2) Create a Cloud Enterprise Network (CEN) instance and enable an Enterprise Edition forwarding router. (3) Synchronize the
|
|
1565
|
+
* Creates a VPC firewall for a transit router (TR). Before you begin: (1) Purchase Cloud Firewall. (2) Create a Cloud Enterprise Network (CEN) instance and enable an Enterprise Edition forwarding router. (3) Synchronize the TR routing to Cloud Firewall.
|
|
1566
1566
|
*
|
|
1567
1567
|
* @remarks
|
|
1568
1568
|
* Creates a virtual private cloud (VPC) firewall for an Enterprise Edition transit router (TR). Before calling this operation, create a CEN instance and an Enterprise Edition transit router in the CEN console, and synchronize the TR to Cloud Firewall. Then call this operation with the CEN ID, TransitRouterId, RegionNo, and RouteMode parameters.
|
|
@@ -1668,7 +1668,7 @@ export default class Client extends OpenApi {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
|
|
1670
1670
|
/**
|
|
1671
|
-
* Creates a VPC firewall for a transit router. Before you begin: (1) Purchase Cloud Firewall. (2) Create a Cloud Enterprise Network (CEN) instance and enable an Enterprise Edition forwarding router. (3) Synchronize the
|
|
1671
|
+
* Creates a VPC firewall for a transit router (TR). Before you begin: (1) Purchase Cloud Firewall. (2) Create a Cloud Enterprise Network (CEN) instance and enable an Enterprise Edition forwarding router. (3) Synchronize the TR routing to Cloud Firewall.
|
|
1672
1672
|
*
|
|
1673
1673
|
* @remarks
|
|
1674
1674
|
* Creates a virtual private cloud (VPC) firewall for an Enterprise Edition transit router (TR). Before calling this operation, create a CEN instance and an Enterprise Edition transit router in the CEN console, and synchronize the TR to Cloud Firewall. Then call this operation with the CEN ID, TransitRouterId, RegionNo, and RouteMode parameters.
|
|
@@ -2476,9 +2476,9 @@ export default class Client extends OpenApi {
|
|
|
2476
2476
|
* Deletes an access control policy.
|
|
2477
2477
|
*
|
|
2478
2478
|
* @remarks
|
|
2479
|
-
* This operation is used to delete an access control policy whose traffic direction is inbound or outbound.
|
|
2479
|
+
* This operation is typically used to delete an access control policy whose traffic direction is inbound or outbound.
|
|
2480
2480
|
* ## QPS limit
|
|
2481
|
-
* The
|
|
2481
|
+
* The QPS limit for a single user is 10 requests per second. If the limit is exceeded, API requests are throttled, which may affect your business. Invoke this operation at a reasonable rate.
|
|
2482
2482
|
*
|
|
2483
2483
|
* @param request - DeleteControlPolicyRequest
|
|
2484
2484
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2491,10 +2491,18 @@ export default class Client extends OpenApi {
|
|
|
2491
2491
|
query["AclUuid"] = request.aclUuid;
|
|
2492
2492
|
}
|
|
2493
2493
|
|
|
2494
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
2495
|
+
query["ClientToken"] = request.clientToken;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2494
2498
|
if (!$dara.isNull(request.direction)) {
|
|
2495
2499
|
query["Direction"] = request.direction;
|
|
2496
2500
|
}
|
|
2497
2501
|
|
|
2502
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
2503
|
+
query["DryRun"] = request.dryRun;
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2498
2506
|
if (!$dara.isNull(request.lang)) {
|
|
2499
2507
|
query["Lang"] = request.lang;
|
|
2500
2508
|
}
|
|
@@ -2524,9 +2532,9 @@ export default class Client extends OpenApi {
|
|
|
2524
2532
|
* Deletes an access control policy.
|
|
2525
2533
|
*
|
|
2526
2534
|
* @remarks
|
|
2527
|
-
* This operation is used to delete an access control policy whose traffic direction is inbound or outbound.
|
|
2535
|
+
* This operation is typically used to delete an access control policy whose traffic direction is inbound or outbound.
|
|
2528
2536
|
* ## QPS limit
|
|
2529
|
-
* The
|
|
2537
|
+
* The QPS limit for a single user is 10 requests per second. If the limit is exceeded, API requests are throttled, which may affect your business. Invoke this operation at a reasonable rate.
|
|
2530
2538
|
*
|
|
2531
2539
|
* @param request - DeleteControlPolicyRequest
|
|
2532
2540
|
* @returns DeleteControlPolicyResponse
|
|
@@ -11942,7 +11950,7 @@ export default class Client extends OpenApi {
|
|
|
11942
11950
|
* Retrieves the details of a VPC firewall for a transit router.
|
|
11943
11951
|
*
|
|
11944
11952
|
* @remarks
|
|
11945
|
-
* Queries the details of a VPC firewall for an Enterprise Edition transit router. You can obtain the FirewallId
|
|
11953
|
+
* Queries the details of a virtual private cloud (VPC) firewall for an Enterprise Edition transit router. You can call DescribeTrFirewallsV2List to obtain the FirewallId. If no firewall has been created, prepare an Enterprise Edition transit router in the Cloud Enterprise Network (CEN) console first, and then call CreateTrFirewallV2 to create a firewall and obtain the FirewallId.
|
|
11946
11954
|
*
|
|
11947
11955
|
* @param request - DescribeTrFirewallsV2DetailRequest
|
|
11948
11956
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11980,7 +11988,7 @@ export default class Client extends OpenApi {
|
|
|
11980
11988
|
* Retrieves the details of a VPC firewall for a transit router.
|
|
11981
11989
|
*
|
|
11982
11990
|
* @remarks
|
|
11983
|
-
* Queries the details of a VPC firewall for an Enterprise Edition transit router. You can obtain the FirewallId
|
|
11991
|
+
* Queries the details of a virtual private cloud (VPC) firewall for an Enterprise Edition transit router. You can call DescribeTrFirewallsV2List to obtain the FirewallId. If no firewall has been created, prepare an Enterprise Edition transit router in the Cloud Enterprise Network (CEN) console first, and then call CreateTrFirewallV2 to create a firewall and obtain the FirewallId.
|
|
11984
11992
|
*
|
|
11985
11993
|
* @param request - DescribeTrFirewallsV2DetailRequest
|
|
11986
11994
|
* @returns DescribeTrFirewallsV2DetailResponse
|
|
@@ -13118,12 +13126,12 @@ export default class Client extends OpenApi {
|
|
|
13118
13126
|
}
|
|
13119
13127
|
|
|
13120
13128
|
/**
|
|
13121
|
-
* Queries the details of a virtual private cloud (VPC) firewall that
|
|
13129
|
+
* Queries the details of a virtual private cloud (VPC) firewall that controls mutual access traffic between a network instance in a Cloud Enterprise Network (CEN) instance and a specified VPC.
|
|
13122
13130
|
*
|
|
13123
13131
|
* @remarks
|
|
13124
|
-
* This operation is used to query the details of a virtual private cloud (VPC) firewall. The VPC firewall
|
|
13132
|
+
* This operation is used to query the details of a virtual private cloud (VPC) firewall. The VPC firewall controls mutual access traffic between network instances (including VPCs, virtual border routers (VBRs), and Cloud Connect Network (CCN) instances) in a CEN instance and a specified VPC.
|
|
13125
13133
|
* ## QPS limit
|
|
13126
|
-
* The single-user QPS limit for this operation is 10 calls per second. If the number of calls exceeds the limit, throttling is triggered
|
|
13134
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered. Throttling may affect your business. Invoke this operation within the limit.
|
|
13127
13135
|
*
|
|
13128
13136
|
* @param request - DescribeVpcFirewallCenDetailRequest
|
|
13129
13137
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13166,12 +13174,12 @@ export default class Client extends OpenApi {
|
|
|
13166
13174
|
}
|
|
13167
13175
|
|
|
13168
13176
|
/**
|
|
13169
|
-
* Queries the details of a virtual private cloud (VPC) firewall that
|
|
13177
|
+
* Queries the details of a virtual private cloud (VPC) firewall that controls mutual access traffic between a network instance in a Cloud Enterprise Network (CEN) instance and a specified VPC.
|
|
13170
13178
|
*
|
|
13171
13179
|
* @remarks
|
|
13172
|
-
* This operation is used to query the details of a virtual private cloud (VPC) firewall. The VPC firewall
|
|
13180
|
+
* This operation is used to query the details of a virtual private cloud (VPC) firewall. The VPC firewall controls mutual access traffic between network instances (including VPCs, virtual border routers (VBRs), and Cloud Connect Network (CCN) instances) in a CEN instance and a specified VPC.
|
|
13173
13181
|
* ## QPS limit
|
|
13174
|
-
* The single-user QPS limit for this operation is 10 calls per second. If the number of calls exceeds the limit, throttling is triggered
|
|
13182
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered. Throttling may affect your business. Invoke this operation within the limit.
|
|
13175
13183
|
*
|
|
13176
13184
|
* @param request - DescribeVpcFirewallCenDetailRequest
|
|
13177
13185
|
* @returns DescribeVpcFirewallCenDetailResponse
|
|
@@ -14842,6 +14850,8 @@ export default class Client extends OpenApi {
|
|
|
14842
14850
|
*
|
|
14843
14851
|
* @remarks
|
|
14844
14852
|
* This operation is used to modify an address book.
|
|
14853
|
+
* ## QPS limits
|
|
14854
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
14845
14855
|
*
|
|
14846
14856
|
* @param tmpReq - ModifyAddressBookRequest
|
|
14847
14857
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14946,6 +14956,8 @@ export default class Client extends OpenApi {
|
|
|
14946
14956
|
*
|
|
14947
14957
|
* @remarks
|
|
14948
14958
|
* This operation is used to modify an address book.
|
|
14959
|
+
* ## QPS limits
|
|
14960
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
14949
14961
|
*
|
|
14950
14962
|
* @param request - ModifyAddressBookRequest
|
|
14951
14963
|
* @returns ModifyAddressBookResponse
|
|
@@ -15013,7 +15025,7 @@ export default class Client extends OpenApi {
|
|
|
15013
15025
|
* @remarks
|
|
15014
15026
|
* This operation is used to modify the configurations of an access control policy that allows, denies, or monitors traffic through Cloud Firewall.
|
|
15015
15027
|
* ## QPS limit
|
|
15016
|
-
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API
|
|
15028
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
15017
15029
|
*
|
|
15018
15030
|
* @param request - ModifyControlPolicyRequest
|
|
15019
15031
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15145,7 +15157,7 @@ export default class Client extends OpenApi {
|
|
|
15145
15157
|
* @remarks
|
|
15146
15158
|
* This operation is used to modify the configurations of an access control policy that allows, denies, or monitors traffic through Cloud Firewall.
|
|
15147
15159
|
* ## QPS limit
|
|
15148
|
-
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API
|
|
15160
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
15149
15161
|
*
|
|
15150
15162
|
* @param request - ModifyControlPolicyRequest
|
|
15151
15163
|
* @returns ModifyControlPolicyResponse
|
|
@@ -16331,10 +16343,10 @@ export default class Client extends OpenApi {
|
|
|
16331
16343
|
}
|
|
16332
16344
|
|
|
16333
16345
|
/**
|
|
16334
|
-
* Modifies the configuration of a VPC firewall for a transit router.
|
|
16346
|
+
* Modifies the configuration of a VPC firewall for a transit router. **Prerequisites**: Cloud Enterprise Network (CEN) Enterprise Edition transit router → Create a VPC firewall for the transit router by calling CreateTrFirewallV2 → Obtain the FirewallId and then call this operation.
|
|
16335
16347
|
*
|
|
16336
16348
|
* @remarks
|
|
16337
|
-
* Modifies the configuration of a VPC firewall for
|
|
16349
|
+
* Modifies the configuration of a virtual private cloud (VPC) firewall. Although this operation is named ModifyTrFirewallV2Configuration, it supports all VPC firewall types and is not limited to VPC firewalls for Enterprise Edition transit routers. The FirewallId format is not restricted to the vfw-tr-* prefix. Before calling this operation, create a VPC firewall instance. For transit router-type firewalls, call CreateTrFirewallV2 to create the firewall, and call DescribeTrFirewallsV2List to query the FirewallId.
|
|
16338
16350
|
*
|
|
16339
16351
|
* @param request - ModifyTrFirewallV2ConfigurationRequest
|
|
16340
16352
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16373,10 +16385,10 @@ export default class Client extends OpenApi {
|
|
|
16373
16385
|
}
|
|
16374
16386
|
|
|
16375
16387
|
/**
|
|
16376
|
-
* Modifies the configuration of a VPC firewall for a transit router.
|
|
16388
|
+
* Modifies the configuration of a VPC firewall for a transit router. **Prerequisites**: Cloud Enterprise Network (CEN) Enterprise Edition transit router → Create a VPC firewall for the transit router by calling CreateTrFirewallV2 → Obtain the FirewallId and then call this operation.
|
|
16377
16389
|
*
|
|
16378
16390
|
* @remarks
|
|
16379
|
-
* Modifies the configuration of a VPC firewall for
|
|
16391
|
+
* Modifies the configuration of a virtual private cloud (VPC) firewall. Although this operation is named ModifyTrFirewallV2Configuration, it supports all VPC firewall types and is not limited to VPC firewalls for Enterprise Edition transit routers. The FirewallId format is not restricted to the vfw-tr-* prefix. Before calling this operation, create a VPC firewall instance. For transit router-type firewalls, call CreateTrFirewallV2 to create the firewall, and call DescribeTrFirewallsV2List to query the FirewallId.
|
|
16380
16392
|
*
|
|
16381
16393
|
* @param request - ModifyTrFirewallV2ConfigurationRequest
|
|
16382
16394
|
* @returns ModifyTrFirewallV2ConfigurationResponse
|
|
@@ -17289,13 +17301,13 @@ export default class Client extends OpenApi {
|
|
|
17289
17301
|
}
|
|
17290
17302
|
|
|
17291
17303
|
/**
|
|
17292
|
-
* Modifies the status of a virtual private cloud (VPC) firewall that protects traffic between two VPCs connected through Express Connect.
|
|
17304
|
+
* Modifies the status of a virtual private cloud (VPC) firewall that protects traffic between two VPCs connected through an Express Connect circuit.
|
|
17293
17305
|
*
|
|
17294
17306
|
* @remarks
|
|
17295
|
-
* This operation is used to modify the status of a virtual private cloud (VPC) firewall
|
|
17296
|
-
* Before you invoke this operation, make sure that you have invoked the [CreateVpcFirewallConfigure](https://help.aliyun.com/document_detail/342893.html) operation to create a
|
|
17307
|
+
* This operation is used to modify the status of a virtual private cloud (VPC) firewall. The VPC firewall protects traffic between two VPCs connected through an Express Connect circuit. After you enable the VPC firewall, mutual access traffic between the two VPCs connected through the Express Connect circuit is protected by the VPC firewall. After you disable the VPC firewall, the VPC firewall no longer protects mutual access traffic between the two VPCs connected through the Express Connect circuit.
|
|
17308
|
+
* Before you invoke this operation, make sure that you have invoked the [CreateVpcFirewallConfigure](https://help.aliyun.com/document_detail/342893.html) operation to create a VPC firewall.
|
|
17297
17309
|
* ## QPS limit
|
|
17298
|
-
* The single-user QPS limit for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business.
|
|
17310
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. Manage your calls to this operation accordingly.
|
|
17299
17311
|
*
|
|
17300
17312
|
* @param request - ModifyVpcFirewallSwitchStatusRequest
|
|
17301
17313
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17338,13 +17350,13 @@ export default class Client extends OpenApi {
|
|
|
17338
17350
|
}
|
|
17339
17351
|
|
|
17340
17352
|
/**
|
|
17341
|
-
* Modifies the status of a virtual private cloud (VPC) firewall that protects traffic between two VPCs connected through Express Connect.
|
|
17353
|
+
* Modifies the status of a virtual private cloud (VPC) firewall that protects traffic between two VPCs connected through an Express Connect circuit.
|
|
17342
17354
|
*
|
|
17343
17355
|
* @remarks
|
|
17344
|
-
* This operation is used to modify the status of a virtual private cloud (VPC) firewall
|
|
17345
|
-
* Before you invoke this operation, make sure that you have invoked the [CreateVpcFirewallConfigure](https://help.aliyun.com/document_detail/342893.html) operation to create a
|
|
17356
|
+
* This operation is used to modify the status of a virtual private cloud (VPC) firewall. The VPC firewall protects traffic between two VPCs connected through an Express Connect circuit. After you enable the VPC firewall, mutual access traffic between the two VPCs connected through the Express Connect circuit is protected by the VPC firewall. After you disable the VPC firewall, the VPC firewall no longer protects mutual access traffic between the two VPCs connected through the Express Connect circuit.
|
|
17357
|
+
* Before you invoke this operation, make sure that you have invoked the [CreateVpcFirewallConfigure](https://help.aliyun.com/document_detail/342893.html) operation to create a VPC firewall.
|
|
17346
17358
|
* ## QPS limit
|
|
17347
|
-
* The single-user QPS limit for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business.
|
|
17359
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. Manage your calls to this operation accordingly.
|
|
17348
17360
|
*
|
|
17349
17361
|
* @param request - ModifyVpcFirewallSwitchStatusRequest
|
|
17350
17362
|
* @returns ModifyVpcFirewallSwitchStatusResponse
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AddInstanceMembersRequestMembers extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The remarks of the Cloud Firewall member account. The value must be 1 to 256 characters in length. You can add up to 20 member accounts.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* renewal
|
|
@@ -15,7 +15,7 @@ export class CreateSecurityProxyRequestNatRouteEntryList extends $dara.Model {
|
|
|
15
15
|
destinationCidr?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The next hop
|
|
18
|
+
* The next hop of the original NAT gateway.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -25,7 +25,7 @@ export class CreateSecurityProxyRequestNatRouteEntryList extends $dara.Model {
|
|
|
25
25
|
nextHopId?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The network type of the next hop. Valid
|
|
28
|
+
* The network type of the next hop. Valid value: NatGateway.
|
|
29
29
|
*
|
|
30
30
|
* This parameter is required.
|
|
31
31
|
*
|
|
@@ -35,7 +35,7 @@ export class CreateSecurityProxyRequestNatRouteEntryList extends $dara.Model {
|
|
|
35
35
|
nextHopType?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The route table
|
|
38
|
+
* The ID of the route table to which the default route of the NAT gateway belongs.
|
|
39
39
|
*
|
|
40
40
|
* This parameter is required.
|
|
41
41
|
*
|
|
@@ -75,8 +75,8 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
75
75
|
* @remarks
|
|
76
76
|
* The deployment mode of the firewall service. Valid values:
|
|
77
77
|
*
|
|
78
|
-
* - PrimaryStandby
|
|
79
|
-
* - MultiPrimary
|
|
78
|
+
* - **PrimaryStandby**: primary/standby mode.
|
|
79
|
+
* - **MultiPrimary**: active-active mode.
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
82
|
* PrimaryStandby
|
|
@@ -90,8 +90,9 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
90
90
|
/**
|
|
91
91
|
* @remarks
|
|
92
92
|
* The security protection switch. Valid values:
|
|
93
|
-
*
|
|
94
|
-
* - **
|
|
93
|
+
*
|
|
94
|
+
* - **open**: Enabled.
|
|
95
|
+
* - **close**: Disabled.
|
|
95
96
|
*
|
|
96
97
|
* @example
|
|
97
98
|
* close
|
|
@@ -107,10 +108,10 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
107
108
|
fwVswitchZoneId?: string;
|
|
108
109
|
/**
|
|
109
110
|
* @remarks
|
|
110
|
-
* The language of the response. Valid values:
|
|
111
|
+
* The language of the response message. Valid values:
|
|
111
112
|
*
|
|
112
|
-
* - **zh** (default): Chinese
|
|
113
|
-
* - **en**: English
|
|
113
|
+
* - **zh** (default): Chinese.
|
|
114
|
+
* - **en**: English.
|
|
114
115
|
*
|
|
115
116
|
* @example
|
|
116
117
|
* zh
|
|
@@ -135,7 +136,7 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
135
136
|
natRouteEntryList?: CreateSecurityProxyRequestNatRouteEntryList[];
|
|
136
137
|
/**
|
|
137
138
|
* @remarks
|
|
138
|
-
* The name of the NAT firewall. The name can contain uppercase and lowercase letters, Chinese characters, digits, and underscores (_).
|
|
139
|
+
* The name of the NAT firewall. The name must be 4 to 50 characters in length and can contain uppercase and lowercase letters, Chinese characters, digits, and underscores (_). It cannot start with an underscore.
|
|
139
140
|
*
|
|
140
141
|
* This parameter is required.
|
|
141
142
|
*
|
|
@@ -157,7 +158,7 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
157
158
|
regionNo?: string;
|
|
158
159
|
/**
|
|
159
160
|
* @remarks
|
|
160
|
-
* Specifies whether to enable strict mode.
|
|
161
|
+
* Specifies whether to enable strict mode. Valid values:
|
|
161
162
|
*
|
|
162
163
|
* - 1: Enable strict mode.
|
|
163
164
|
* - 0: Disable strict mode.
|
|
@@ -168,7 +169,7 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
168
169
|
strictMode?: number;
|
|
169
170
|
/**
|
|
170
171
|
* @remarks
|
|
171
|
-
* The
|
|
172
|
+
* The ID of the VPC.
|
|
172
173
|
*
|
|
173
174
|
* This parameter is required.
|
|
174
175
|
*
|
|
@@ -178,10 +179,12 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
178
179
|
vpcId?: string;
|
|
179
180
|
/**
|
|
180
181
|
* @remarks
|
|
181
|
-
* Specifies whether to use the automatic vSwitch
|
|
182
|
-
*
|
|
183
|
-
* - **
|
|
184
|
-
*
|
|
182
|
+
* Specifies whether to use the automatic mode for the vSwitch. Valid values:
|
|
183
|
+
*
|
|
184
|
+
* - **true**: automatic mode.
|
|
185
|
+
* - **false**: manual mode.
|
|
186
|
+
*
|
|
187
|
+
* > Default value: true. If VswitchAuto is set to true, VswitchCidr is required and must be a valid CIDR block. If VswitchAuto is set to false, VswitchId is required.
|
|
185
188
|
*
|
|
186
189
|
* @example
|
|
187
190
|
* true
|
|
@@ -189,7 +192,7 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
189
192
|
vswitchAuto?: string;
|
|
190
193
|
/**
|
|
191
194
|
* @remarks
|
|
192
|
-
* The CIDR block of the vSwitch. This parameter is required when the
|
|
195
|
+
* The CIDR block of the vSwitch. This parameter is required when the automatic mode is used for the vSwitch.
|
|
193
196
|
*
|
|
194
197
|
* @example
|
|
195
198
|
* 0.0.0.0/0
|
|
@@ -197,7 +200,7 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
197
200
|
vswitchCidr?: string;
|
|
198
201
|
/**
|
|
199
202
|
* @remarks
|
|
200
|
-
* The vSwitch
|
|
203
|
+
* The ID of the vSwitch. This parameter is required when the manual mode is used for the vSwitch.
|
|
201
204
|
*
|
|
202
205
|
* @example
|
|
203
206
|
* vsw-bp1sqg9w******
|
|
@@ -5,7 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateTrFirewallV2Request extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the CEN instance.
|
|
8
|
+
* The ID of the CEN instance. Create a CEN instance in the CEN console first and make sure that an Enterprise Edition transit router has been created.
|
|
9
|
+
*
|
|
10
|
+
* > Note: Although this parameter is marked as not required in the schema, it is actually required. If this parameter is not specified, the ErrorParameters (400) error is returned.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
11
13
|
* cen-4xbjup276au29r****
|
|
@@ -42,7 +44,7 @@ export class CreateTrFirewallV2Request extends $dara.Model {
|
|
|
42
44
|
* - **PrimaryStandby**: Primary/standby mode.
|
|
43
45
|
* - **MultiPrimary**: Active-active mode.
|
|
44
46
|
*
|
|
45
|
-
* > If this parameter is not specified, the system automatically selects a deployment mode based on the capabilities of the transit router. If an invalid value is specified, the
|
|
47
|
+
* > If this parameter is not specified, the system automatically selects a deployment mode based on the capabilities of the transit router. If an invalid value is specified, the ErrorFwServiceMode (-360437) error is returned. The MultiPrimary mode does not support specifying zones.
|
|
46
48
|
*
|
|
47
49
|
* @example
|
|
48
50
|
* PrimaryStandby
|
|
@@ -55,7 +57,7 @@ export class CreateTrFirewallV2Request extends $dara.Model {
|
|
|
55
57
|
firewallServiceZones?: string[];
|
|
56
58
|
/**
|
|
57
59
|
* @remarks
|
|
58
|
-
* The subnet CIDR block used to store the firewall ENI in the firewall VPC in automatic mode.
|
|
60
|
+
* The subnet CIDR block used to store the firewall elastic network interface (ENI) in the firewall VPC in automatic mode.
|
|
59
61
|
*
|
|
60
62
|
* @example
|
|
61
63
|
* 10.0.1.0/24
|
|
@@ -100,7 +102,9 @@ export class CreateTrFirewallV2Request extends $dara.Model {
|
|
|
100
102
|
lang?: string;
|
|
101
103
|
/**
|
|
102
104
|
* @remarks
|
|
103
|
-
* The region ID of the Enterprise Edition transit router.
|
|
105
|
+
* The region ID of the Enterprise Edition transit router.
|
|
106
|
+
*
|
|
107
|
+
* > Note: Although this parameter is marked as not required in the schema, it is actually required. If this parameter is not specified, the ErrorParameters (400) error is returned.
|
|
104
108
|
*
|
|
105
109
|
* @example
|
|
106
110
|
* cn-hangzhou
|
|
@@ -108,7 +112,9 @@ export class CreateTrFirewallV2Request extends $dara.Model {
|
|
|
108
112
|
regionNo?: string;
|
|
109
113
|
/**
|
|
110
114
|
* @remarks
|
|
111
|
-
* The routing mode.
|
|
115
|
+
* The routing mode. Valid values: managed (automatic mode) and manual (manual mode). In managed mode, only FirewallVpcCidr is required. The FirewallSubnetCidr, TrAttachmentSlaveCidr, and TrAttachmentMasterCidr parameters are deprecated and do not need to be specified. In manual mode, specify FirewallVpcId, FirewallVswitchId, TrAttachmentSlaveZone, and TrAttachmentMasterZone.
|
|
116
|
+
*
|
|
117
|
+
* > Note: Although this parameter is marked as not required in the schema, it is actually required. If this parameter is not specified, the ErrorParameters (400) error is returned.
|
|
112
118
|
*
|
|
113
119
|
* @example
|
|
114
120
|
* managed
|
|
@@ -157,7 +163,9 @@ export class CreateTrFirewallV2Request extends $dara.Model {
|
|
|
157
163
|
trAttachmentZones?: string[];
|
|
158
164
|
/**
|
|
159
165
|
* @remarks
|
|
160
|
-
* The ID of the Enterprise Edition transit router instance.
|
|
166
|
+
* The ID of the Enterprise Edition transit router instance. The transit router must belong to the CEN instance specified by CenId.
|
|
167
|
+
*
|
|
168
|
+
* > Note: Although this parameter is marked as not required in the schema, it is actually required. If this parameter is not specified, the ErrorParameters (400) error is returned.
|
|
161
169
|
*
|
|
162
170
|
* @example
|
|
163
171
|
* tr-m5etmb2q7e0mxcur****
|
|
@@ -15,19 +15,35 @@ export class DeleteControlPolicyRequest extends $dara.Model {
|
|
|
15
15
|
* 00281255-d220-4db1-8f4f-c4df221ad84c
|
|
16
16
|
*/
|
|
17
17
|
aclUuid?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token. Make sure that the token is unique among different requests. The token must be a string that is case-sensitive and matches the regular expression [0-9a-zA-Z-_]{1,64}. We recommend that you use a UUID. The server ensures idempotence within the validity period of 600 seconds. If you send a repeated request with the same client token and the same business parameters, the server returns the same response as the first request.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* dedeaxfedxxx
|
|
24
|
+
*/
|
|
25
|
+
clientToken?: string;
|
|
18
26
|
/**
|
|
19
27
|
* @remarks
|
|
20
28
|
* The traffic direction controlled by the access control policy.
|
|
21
29
|
*
|
|
22
30
|
* Valid values:
|
|
23
31
|
*
|
|
24
|
-
* - **in**: inbound traffic
|
|
25
|
-
* - **out**: outbound traffic
|
|
32
|
+
* - **in**: inbound traffic
|
|
33
|
+
* - **out**: outbound traffic
|
|
26
34
|
*
|
|
27
35
|
* @example
|
|
28
36
|
* in
|
|
29
37
|
*/
|
|
30
38
|
direction?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* Specifies whether to only precheck the request. If you set this parameter to true, the system only performs prechecks on parameter validity, identity permissions, resource existence, quota limits, and dependencies. The system does not create, update, or delete actual resources, trigger actual asynchronous traffic diversion tasks, or generate downstream side effects such as billing, notifications, or callbacks. If the precheck is successful, the response includes DryRun=true, which distinguishes it from the response of an actual call.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* true
|
|
45
|
+
*/
|
|
46
|
+
dryRun?: boolean;
|
|
31
47
|
/**
|
|
32
48
|
* @remarks
|
|
33
49
|
* The language of the request and response.
|
|
@@ -35,7 +51,7 @@ export class DeleteControlPolicyRequest extends $dara.Model {
|
|
|
35
51
|
* Valid values:
|
|
36
52
|
*
|
|
37
53
|
* - **zh** (default): Chinese
|
|
38
|
-
* - **en**: English
|
|
54
|
+
* - **en**: English
|
|
39
55
|
*
|
|
40
56
|
* @example
|
|
41
57
|
* zh
|
|
@@ -54,7 +70,9 @@ export class DeleteControlPolicyRequest extends $dara.Model {
|
|
|
54
70
|
static names(): { [key: string]: string } {
|
|
55
71
|
return {
|
|
56
72
|
aclUuid: 'AclUuid',
|
|
73
|
+
clientToken: 'ClientToken',
|
|
57
74
|
direction: 'Direction',
|
|
75
|
+
dryRun: 'DryRun',
|
|
58
76
|
lang: 'Lang',
|
|
59
77
|
sourceIp: 'SourceIp',
|
|
60
78
|
};
|
|
@@ -63,7 +81,9 @@ export class DeleteControlPolicyRequest extends $dara.Model {
|
|
|
63
81
|
static types(): { [key: string]: any } {
|
|
64
82
|
return {
|
|
65
83
|
aclUuid: 'string',
|
|
84
|
+
clientToken: 'string',
|
|
66
85
|
direction: 'string',
|
|
86
|
+
dryRun: 'boolean',
|
|
67
87
|
lang: 'string',
|
|
68
88
|
sourceIp: 'string',
|
|
69
89
|
};
|
|
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DeleteControlPolicyResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Indicates whether the response is for a successful dry run. A value of true indicates that only the precheck is completed and no actual changes are made. This field is not returned or is set to false for actual calls.
|
|
9
|
+
*/
|
|
10
|
+
dryRun?: boolean;
|
|
6
11
|
/**
|
|
7
12
|
* @remarks
|
|
8
13
|
* The request ID.
|
|
@@ -13,12 +18,14 @@ export class DeleteControlPolicyResponseBody extends $dara.Model {
|
|
|
13
18
|
requestId?: string;
|
|
14
19
|
static names(): { [key: string]: string } {
|
|
15
20
|
return {
|
|
21
|
+
dryRun: 'DryRun',
|
|
16
22
|
requestId: 'RequestId',
|
|
17
23
|
};
|
|
18
24
|
}
|
|
19
25
|
|
|
20
26
|
static types(): { [key: string]: any } {
|
|
21
27
|
return {
|
|
28
|
+
dryRun: 'boolean',
|
|
22
29
|
requestId: 'string',
|
|
23
30
|
};
|
|
24
31
|
}
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeFirewallDropTrendRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The end time of the query. Specify a UNIX timestamp in seconds. This parameter is required and must be specified together with StartTime. The value must be a UNIX timestamp in seconds and must be later than StartTime. If this parameter is not specified, the API returns ErrorTimeError(400).
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1758474000
|
|
@@ -13,7 +13,7 @@ export class DescribeFirewallDropTrendRequest extends $dara.Model {
|
|
|
13
13
|
endTime?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The language
|
|
16
|
+
* The language of the response. Valid values:
|
|
17
17
|
*
|
|
18
18
|
* - **zh** (default): Chinese
|
|
19
19
|
* - **en**: English
|
|
@@ -24,7 +24,7 @@ export class DescribeFirewallDropTrendRequest extends $dara.Model {
|
|
|
24
24
|
lang?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
*
|
|
27
|
+
* The start time of the query. Specify a UNIX timestamp in seconds. This parameter is required and must be specified together with EndTime. The value must be a UNIX timestamp in seconds and must be earlier than EndTime. If this parameter is not specified, the API returns ErrorTimeError(400).
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* 1758470400
|
|
@@ -23,7 +23,7 @@ export class DescribeFirewallDropTrendResponseBodyDataList extends $dara.Model {
|
|
|
23
23
|
* @remarks
|
|
24
24
|
* The time when the traffic occurred. The value is a UNIX timestamp in seconds.
|
|
25
25
|
*
|
|
26
|
-
* If the data at this point in time has not been processed, the values of other fields are -1.
|
|
26
|
+
* If the data at this point in time has not been processed, the values of all other fields are -1.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* 1758474000
|
|
@@ -7,7 +7,7 @@ export class DescribeTrFirewallsV2DetailRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The ID of the VPC firewall instance. This parameter is required. If this parameter is not specified, the error ErrorMissingFirewallId (-360444, firewall id is required) is returned.
|
|
9
9
|
*
|
|
10
|
-
* > You can call DescribeTrFirewallsV2List to query existing FirewallId values (in the format of vfw-tr
|
|
10
|
+
* > You can call DescribeTrFirewallsV2List to query existing FirewallId values (in the format of vfw-tr-\\*). If no firewall has been created, create an Enterprise Edition transit router in the CEN console first, and then call CreateTrFirewallV2.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* vfw-tr-a5a6b89f46764928****
|