tencentcloud-sdk-nodejs-intl-en 3.0.1409 → 3.0.1411
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/package.json +1 -1
- package/tencentcloud/cfs/v20190719/models.js +8 -4
- package/tencentcloud/cfw/v20190904/cfw_client.js +64 -23
- package/tencentcloud/cfw/v20190904/models.js +671 -112
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +46 -18
- package/tencentcloud/ckafka/v20190819/models.js +518 -259
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +49 -8
- package/tencentcloud/cynosdb/v20190107/models.js +600 -139
- package/tencentcloud/ocr/v20181119/models.js +14 -7
- package/tencentcloud/ocr/v20181119/ocr_client.js +2 -6
- package/tencentcloud/teo/v20220901/models.js +10 -16
- package/tencentcloud/teo/v20220901/teo_client.js +4 -4
|
@@ -37,6 +37,206 @@ class DescribeNatFwInstanceRequest extends AbstractModel {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
/**
|
|
41
|
+
* Status monitoring filter condition.
|
|
42
|
+
* @class
|
|
43
|
+
*/
|
|
44
|
+
class CfwStatusMonitorFilter extends AbstractModel {
|
|
45
|
+
constructor(){
|
|
46
|
+
super();
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Filter field name.
|
|
50
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
51
|
+
* @type {string || null}
|
|
52
|
+
*/
|
|
53
|
+
this.Name = null;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Filter value list, up to 10.
|
|
57
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
58
|
+
* @type {Array.<string> || null}
|
|
59
|
+
*/
|
|
60
|
+
this.Values = null;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Operator type, optional; only supported for backend permission types.
|
|
64
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
65
|
+
* @type {number || null}
|
|
66
|
+
*/
|
|
67
|
+
this.OperatorType = null;
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @private
|
|
73
|
+
*/
|
|
74
|
+
deserialize(params) {
|
|
75
|
+
if (!params) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
79
|
+
this.Values = 'Values' in params ? params.Values : null;
|
|
80
|
+
this.OperatorType = 'OperatorType' in params ? params.OperatorType : null;
|
|
81
|
+
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* DescribeCfwStatusMonitor request structure.
|
|
87
|
+
* @class
|
|
88
|
+
*/
|
|
89
|
+
class DescribeCfwStatusMonitorRequest extends AbstractModel {
|
|
90
|
+
constructor(){
|
|
91
|
+
super();
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Operation type. describe_scene means discovery of scenarios and secondary dropdown options; fetch_scene means acquisition of scenario-based snapshots. Required.
|
|
95
|
+
* @type {string || null}
|
|
96
|
+
*/
|
|
97
|
+
this.Op = null;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Firewall scenario type. Supports internet_edge (Internet edge firewall), nat_cluster (NAT border firewall - cluster), nat_ha (NAT border firewall - primary/secondary), vpc_cluster (VPC boundary firewall - cluster), vpc_ha (VPC boundary firewall - primary/secondary). Required.
|
|
101
|
+
* @type {string || null}
|
|
102
|
+
*/
|
|
103
|
+
this.FirewallType = null;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Secondary dropdown option ID. fetch_scene is imported as needed, and the value comes from selection.available_options[].ID returned by describe_scene. internet_edge is the region, NAT is the instance ID, and VPC bandwidth scenario is the firewall group ID. The connections aggregation scenario for VPC_cluster ignores this parameter.
|
|
107
|
+
* @type {string || null}
|
|
108
|
+
*/
|
|
109
|
+
this.SelectionId = null;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Secondary dropdown display name. Can be used as an alternative to SelectionId for matching by name. The value comes from selection.available_options[].name returned by describe_scene.
|
|
113
|
+
* @type {string || null}
|
|
114
|
+
*/
|
|
115
|
+
this.SelectionName = null;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Engine instance ID. Mainly used in vpc ha scenarios where a firewall group corresponds to multiple instances. Preferentially use the selection.available_options[].instance_ID returned by describe_scene. If only instance_ids are available, select a string value from the array.
|
|
119
|
+
* @type {string || null}
|
|
120
|
+
*/
|
|
121
|
+
this.SelectionInstanceId = null;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Metrics tab. fetch_scene can be passed; used when not passed, this scenario default value. Support bandwidth, connections.
|
|
125
|
+
* @type {string || null}
|
|
126
|
+
*/
|
|
127
|
+
this.Metric = null;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Perspective under the metric. fetch_scene is optional; the default value for this scenario is used when not provided. Supports ip, subnet, session, switch, and vpc. The actual usable composite is subject to the return from describe_scene.
|
|
131
|
+
* @type {string || null}
|
|
132
|
+
*/
|
|
133
|
+
this.Perspective = null;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* NAT primary/secondary number of connections IP perspective range. External means external IP, asset means Asset IP. Only nat_ha + connections + ip is used. Other group input will return InvalidParameter.
|
|
137
|
+
* @type {string || null}
|
|
138
|
+
*/
|
|
139
|
+
this.IpScope = null;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Preset time range. Default 24h; used by fetch_scene. Supports 5m, 15m, 30m, 1h, 6h, 24h, 3d, 7d, 30d, today, yesterday, day before yesterday, this week, last week, this month.
|
|
143
|
+
* @type {string || null}
|
|
144
|
+
*/
|
|
145
|
+
this.TimePreset = null;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Custom start time. Format YYYY-MM-DD HH:MM:SS; must be specified together with EndTime, maximum span 30 days.
|
|
149
|
+
* @type {string || null}
|
|
150
|
+
*/
|
|
151
|
+
this.StartTime = null;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Custom end time. Format YYYY-MM-DD HH:MM:SS; must be consistent with StartTime at the same time, maximum span 30 days.
|
|
155
|
+
* @type {string || null}
|
|
156
|
+
*/
|
|
157
|
+
this.EndTime = null;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Page number, starting from 1. Default is 1; used for the fetch_scene list viewing angle.
|
|
161
|
+
* @type {number || null}
|
|
162
|
+
*/
|
|
163
|
+
this.Page = null;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Entries per page. Default 10, value 1 to 100; used for the viewing angle of the fetch_scene list.
|
|
167
|
+
* @type {number || null}
|
|
168
|
+
*/
|
|
169
|
+
this.Limit = null;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Whether to only get overview data. When true, fetch_scene only requests overview, skips table/detail, and is suitable for viewing scenario snapshot summary.
|
|
173
|
+
* @type {boolean || null}
|
|
174
|
+
*/
|
|
175
|
+
this.OverviewOnly = null;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Original offset coverage. Option, overwrites the calculation result of Page after input; value 0 to 10000.
|
|
179
|
+
* @type {number || null}
|
|
180
|
+
*/
|
|
181
|
+
this.Offset = null;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Sorting field. Option. InputMax and OutputMax are supported for the Internet boundary IP and NAT IP/subnet perspective. SwitchName is supported for the VPC switch perspective. FlowMax is supported for the VPC IP/VPC perspective. Do not pass other groups.
|
|
185
|
+
* @type {string || null}
|
|
186
|
+
*/
|
|
187
|
+
this.SortBy = null;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Sorting order. Default desc; supports asc, desc.
|
|
191
|
+
* @type {string || null}
|
|
192
|
+
*/
|
|
193
|
+
this.SortOrder = null;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Filter condition list. Reserved.
|
|
197
|
+
* @type {Array.<CfwStatusMonitorFilter> || null}
|
|
198
|
+
*/
|
|
199
|
+
this.Filters = null;
|
|
200
|
+
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @private
|
|
205
|
+
*/
|
|
206
|
+
deserialize(params) {
|
|
207
|
+
if (!params) {
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
this.Op = 'Op' in params ? params.Op : null;
|
|
211
|
+
this.FirewallType = 'FirewallType' in params ? params.FirewallType : null;
|
|
212
|
+
this.SelectionId = 'SelectionId' in params ? params.SelectionId : null;
|
|
213
|
+
this.SelectionName = 'SelectionName' in params ? params.SelectionName : null;
|
|
214
|
+
this.SelectionInstanceId = 'SelectionInstanceId' in params ? params.SelectionInstanceId : null;
|
|
215
|
+
this.Metric = 'Metric' in params ? params.Metric : null;
|
|
216
|
+
this.Perspective = 'Perspective' in params ? params.Perspective : null;
|
|
217
|
+
this.IpScope = 'IpScope' in params ? params.IpScope : null;
|
|
218
|
+
this.TimePreset = 'TimePreset' in params ? params.TimePreset : null;
|
|
219
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
220
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
221
|
+
this.Page = 'Page' in params ? params.Page : null;
|
|
222
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
223
|
+
this.OverviewOnly = 'OverviewOnly' in params ? params.OverviewOnly : null;
|
|
224
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
225
|
+
this.SortBy = 'SortBy' in params ? params.SortBy : null;
|
|
226
|
+
this.SortOrder = 'SortOrder' in params ? params.SortOrder : null;
|
|
227
|
+
|
|
228
|
+
if (params.Filters) {
|
|
229
|
+
this.Filters = new Array();
|
|
230
|
+
for (let z in params.Filters) {
|
|
231
|
+
let obj = new CfwStatusMonitorFilter();
|
|
232
|
+
obj.deserialize(params.Filters[z]);
|
|
233
|
+
this.Filters.push(obj);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
40
240
|
/**
|
|
41
241
|
* ModifyNatFwVpcDnsSwitch response structure.
|
|
42
242
|
* @class
|
|
@@ -475,6 +675,56 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
475
675
|
}
|
|
476
676
|
}
|
|
477
677
|
|
|
678
|
+
/**
|
|
679
|
+
* AddAclRule request structure.
|
|
680
|
+
* @class
|
|
681
|
+
*/
|
|
682
|
+
class AddAclRuleRequest extends AbstractModel {
|
|
683
|
+
constructor(){
|
|
684
|
+
super();
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* The list of Internet boundary rules to be added cannot be empty. Each rule must meet the requirements for direction, source and target, action, scope, protocol port, and template restrictions. The entire request must also comply with rule quota and effective rule count limitations. Account-related values must come from read-only queries: for address templates, call DescribeAddressTemplateList, filter the request with TemplateType=1 or 5, and confirm that the returned Data[].Type is 1 or 5. Write Data[].Uuid (with the mb_ prefix) to the corresponding Content, and do not use Data[].TemplateId (with the ip-/dm- prefix). For protocol port templates, filter the request with TemplateType=6, and write Data[].TemplateId (with the pp- prefix) to ParamTemplateId. For asset instances, call DescribeCfwAssets, parse the returned results, and use assets[].instance_id. For asset groups, call DescribeResourceGroupNew, pass QueryType=resource, GroupId="0", ShowType=all, parse the returned results, and use GroupId. For resource tags, pass QueryType=tag, skip the "all assets" root node, and construct JSON using the first-level node GroupName as the Key and the selected second-level sub-node GroupName as the Value, without writing GroupId. For regions, call DescribeAclRegInfo: for Scope=serial, pass FwType=["SERIAL"]; for Scope=side, pass FwType=["BYPASS"]; for Scope=all, pass both items simultaneously, and use Data[].RegionCode. Do not use display names or manually concatenate values. The range for overwrite import is determined solely by the Direction of the first rule.
|
|
688
|
+
* @type {Array.<CreateRuleItem> || null}
|
|
689
|
+
*/
|
|
690
|
+
this.Rules = null;
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* <p>AI operation source</p><p>Enumeration value:</p><ul><li>console: console source value</li><li>wechat: WeChat</li></ul>
|
|
694
|
+
* @type {string || null}
|
|
695
|
+
*/
|
|
696
|
+
this.CfwAiAgentOperationSource = null;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Add method. Omit or an empty string means ordinary addition; insert_rule means adding new at a specified position; batch_import means non-overwrite batch import; batch_import_cover means overwrite import, which deletes the existing operation rule corresponding to the first rule's Direction and then adds Rules. Deleted rules will not be restored if addition fails, with extremely high risk. The coverage area is only determined by the first rule. The caller must ensure the Directions of the Rules match. Only the above values are supported.
|
|
700
|
+
* @type {string || null}
|
|
701
|
+
*/
|
|
702
|
+
this.From = null;
|
|
703
|
+
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* @private
|
|
708
|
+
*/
|
|
709
|
+
deserialize(params) {
|
|
710
|
+
if (!params) {
|
|
711
|
+
return;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
if (params.Rules) {
|
|
715
|
+
this.Rules = new Array();
|
|
716
|
+
for (let z in params.Rules) {
|
|
717
|
+
let obj = new CreateRuleItem();
|
|
718
|
+
obj.deserialize(params.Rules[z]);
|
|
719
|
+
this.Rules.push(obj);
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
this.CfwAiAgentOperationSource = 'CfwAiAgentOperationSource' in params ? params.CfwAiAgentOperationSource : null;
|
|
723
|
+
this.From = 'From' in params ? params.From : null;
|
|
724
|
+
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
|
|
478
728
|
/**
|
|
479
729
|
* ModifyNatAcRule request structure.
|
|
480
730
|
* @class
|
|
@@ -1079,6 +1329,41 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
1079
1329
|
}
|
|
1080
1330
|
}
|
|
1081
1331
|
|
|
1332
|
+
/**
|
|
1333
|
+
* DescribeCfwStatusMonitor response structure.
|
|
1334
|
+
* @class
|
|
1335
|
+
*/
|
|
1336
|
+
class DescribeCfwStatusMonitorResponse extends AbstractModel {
|
|
1337
|
+
constructor(){
|
|
1338
|
+
super();
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* Query result. UTF-8 JSON object string; the caller needs to parse Response.Data. The scene returned by describe_scene includes metric_options, perspective_options, default_metric, default_perspective, selection_required_by_metric, selection_kind_by_metric, and time_preset_options; selection.available_options returns options applicable to SelectionId, SelectionName, and SelectionInstanceId. fetch_scene returns a data snapshot of the selected scenario, which may contain overview, table, or detail. The example below is a section of the field structure, and the array only shows representative values.
|
|
1342
|
+
* @type {string || null}
|
|
1343
|
+
*/
|
|
1344
|
+
this.Data = null;
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1348
|
+
* @type {string || null}
|
|
1349
|
+
*/
|
|
1350
|
+
this.RequestId = null;
|
|
1351
|
+
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* @private
|
|
1356
|
+
*/
|
|
1357
|
+
deserialize(params) {
|
|
1358
|
+
if (!params) {
|
|
1359
|
+
return;
|
|
1360
|
+
}
|
|
1361
|
+
this.Data = 'Data' in params ? params.Data : null;
|
|
1362
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1363
|
+
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1082
1367
|
/**
|
|
1083
1368
|
* DeleteAllAccessControlRule request structure.
|
|
1084
1369
|
* @class
|
|
@@ -1121,6 +1406,70 @@ class DeleteAllAccessControlRuleRequest extends AbstractModel {
|
|
|
1121
1406
|
}
|
|
1122
1407
|
}
|
|
1123
1408
|
|
|
1409
|
+
/**
|
|
1410
|
+
* ModifyBlockIgnoreList request structure.
|
|
1411
|
+
* @class
|
|
1412
|
+
*/
|
|
1413
|
+
class ModifyBlockIgnoreListRequest extends AbstractModel {
|
|
1414
|
+
constructor(){
|
|
1415
|
+
super();
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* Type of the rule. Values: `1` (Blocklist); `2` (Allowlist)
|
|
1419
|
+
* @type {number || null}
|
|
1420
|
+
*/
|
|
1421
|
+
this.RuleType = null;
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* Either IP or Domain is required
|
|
1425
|
+
* @type {Array.<IocListData> || null}
|
|
1426
|
+
*/
|
|
1427
|
+
this.IOC = null;
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* Optional values: delete, edit, and add
|
|
1431
|
+
* @type {string || null}
|
|
1432
|
+
*/
|
|
1433
|
+
this.IocAction = null;
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* Time format: yyyy-MM-dd HH:mm:ss. Required when IocAction is edit or add
|
|
1437
|
+
* @type {string || null}
|
|
1438
|
+
*/
|
|
1439
|
+
this.StartTime = null;
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* End time of the period in the format of yyyy-MM-dd HH:mm:ss. It must be later than both the start time and the current time. It’s required when `IocAction` is `edit` or `add`.
|
|
1443
|
+
* @type {string || null}
|
|
1444
|
+
*/
|
|
1445
|
+
this.EndTime = null;
|
|
1446
|
+
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* @private
|
|
1451
|
+
*/
|
|
1452
|
+
deserialize(params) {
|
|
1453
|
+
if (!params) {
|
|
1454
|
+
return;
|
|
1455
|
+
}
|
|
1456
|
+
this.RuleType = 'RuleType' in params ? params.RuleType : null;
|
|
1457
|
+
|
|
1458
|
+
if (params.IOC) {
|
|
1459
|
+
this.IOC = new Array();
|
|
1460
|
+
for (let z in params.IOC) {
|
|
1461
|
+
let obj = new IocListData();
|
|
1462
|
+
obj.deserialize(params.IOC[z]);
|
|
1463
|
+
this.IOC.push(obj);
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
this.IocAction = 'IocAction' in params ? params.IocAction : null;
|
|
1467
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1468
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1469
|
+
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1124
1473
|
/**
|
|
1125
1474
|
* ModifyAllVPCSwitchStatus response structure.
|
|
1126
1475
|
* @class
|
|
@@ -1603,6 +1952,41 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
1603
1952
|
}
|
|
1604
1953
|
}
|
|
1605
1954
|
|
|
1955
|
+
/**
|
|
1956
|
+
* DescribeCfwLogs response structure.
|
|
1957
|
+
* @class
|
|
1958
|
+
*/
|
|
1959
|
+
class DescribeCfwLogsResponse extends AbstractModel {
|
|
1960
|
+
constructor(){
|
|
1961
|
+
super();
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* Query result. UTF-8 JSON object string; the caller must parse Response.Data. Items is the log array of the current page, and fields vary with LogType. TotalCount is the return limit of the current page, Limit is the page size, and LogType and TimeWindow echo the query scope. When HasMore=true, NextToken must be saved and used as-is for continued querying. When HasMore=false, pagination ends.
|
|
1965
|
+
* @type {string || null}
|
|
1966
|
+
*/
|
|
1967
|
+
this.Data = null;
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1971
|
+
* @type {string || null}
|
|
1972
|
+
*/
|
|
1973
|
+
this.RequestId = null;
|
|
1974
|
+
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* @private
|
|
1979
|
+
*/
|
|
1980
|
+
deserialize(params) {
|
|
1981
|
+
if (!params) {
|
|
1982
|
+
return;
|
|
1983
|
+
}
|
|
1984
|
+
this.Data = 'Data' in params ? params.Data : null;
|
|
1985
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1986
|
+
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1606
1990
|
/**
|
|
1607
1991
|
* ExpandCfwVertical request structure.
|
|
1608
1992
|
* @class
|
|
@@ -1781,42 +2165,24 @@ class ModifyAssetScanRequest extends AbstractModel {
|
|
|
1781
2165
|
}
|
|
1782
2166
|
|
|
1783
2167
|
/**
|
|
1784
|
-
*
|
|
2168
|
+
* Sets the VPC DNS toggle of the NAT firewall
|
|
1785
2169
|
* @class
|
|
1786
2170
|
*/
|
|
1787
|
-
class
|
|
2171
|
+
class DnsVpcSwitch extends AbstractModel {
|
|
1788
2172
|
constructor(){
|
|
1789
2173
|
super();
|
|
1790
2174
|
|
|
1791
2175
|
/**
|
|
1792
|
-
*
|
|
1793
|
-
* @type {number || null}
|
|
1794
|
-
*/
|
|
1795
|
-
this.RuleType = null;
|
|
1796
|
-
|
|
1797
|
-
/**
|
|
1798
|
-
* Either IP or Domain is required
|
|
1799
|
-
* @type {Array.<IocListData> || null}
|
|
1800
|
-
*/
|
|
1801
|
-
this.IOC = null;
|
|
1802
|
-
|
|
1803
|
-
/**
|
|
1804
|
-
* Optional values: delete, edit, and add
|
|
1805
|
-
* @type {string || null}
|
|
1806
|
-
*/
|
|
1807
|
-
this.IocAction = null;
|
|
1808
|
-
|
|
1809
|
-
/**
|
|
1810
|
-
* Time format: yyyy-MM-dd HH:mm:ss. Required when IocAction is edit or add
|
|
2176
|
+
* VPC ID
|
|
1811
2177
|
* @type {string || null}
|
|
1812
2178
|
*/
|
|
1813
|
-
this.
|
|
2179
|
+
this.VpcId = null;
|
|
1814
2180
|
|
|
1815
2181
|
/**
|
|
1816
|
-
*
|
|
1817
|
-
* @type {
|
|
2182
|
+
* 0: off; 1: on
|
|
2183
|
+
* @type {number || null}
|
|
1818
2184
|
*/
|
|
1819
|
-
this.
|
|
2185
|
+
this.Status = null;
|
|
1820
2186
|
|
|
1821
2187
|
}
|
|
1822
2188
|
|
|
@@ -1827,19 +2193,8 @@ class ModifyBlockIgnoreListRequest extends AbstractModel {
|
|
|
1827
2193
|
if (!params) {
|
|
1828
2194
|
return;
|
|
1829
2195
|
}
|
|
1830
|
-
this.
|
|
1831
|
-
|
|
1832
|
-
if (params.IOC) {
|
|
1833
|
-
this.IOC = new Array();
|
|
1834
|
-
for (let z in params.IOC) {
|
|
1835
|
-
let obj = new IocListData();
|
|
1836
|
-
obj.deserialize(params.IOC[z]);
|
|
1837
|
-
this.IOC.push(obj);
|
|
1838
|
-
}
|
|
1839
|
-
}
|
|
1840
|
-
this.IocAction = 'IocAction' in params ? params.IocAction : null;
|
|
1841
|
-
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1842
|
-
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
2196
|
+
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
2197
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1843
2198
|
|
|
1844
2199
|
}
|
|
1845
2200
|
}
|
|
@@ -1894,9 +2249,66 @@ class AddEnterpriseSecurityGroupRulesRequest extends AbstractModel {
|
|
|
1894
2249
|
this.Data.push(obj);
|
|
1895
2250
|
}
|
|
1896
2251
|
}
|
|
1897
|
-
this.Type = 'Type' in params ? params.Type : null;
|
|
1898
|
-
this.ClientToken = 'ClientToken' in params ? params.ClientToken : null;
|
|
1899
|
-
this.IsDelay = 'IsDelay' in params ? params.IsDelay : null;
|
|
2252
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
2253
|
+
this.ClientToken = 'ClientToken' in params ? params.ClientToken : null;
|
|
2254
|
+
this.IsDelay = 'IsDelay' in params ? params.IsDelay : null;
|
|
2255
|
+
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
/**
|
|
2260
|
+
* DescribeIPStatusList response structure.
|
|
2261
|
+
* @class
|
|
2262
|
+
*/
|
|
2263
|
+
class DescribeIPStatusListResponse extends AbstractModel {
|
|
2264
|
+
constructor(){
|
|
2265
|
+
super();
|
|
2266
|
+
|
|
2267
|
+
/**
|
|
2268
|
+
* IP status information
|
|
2269
|
+
* @type {Array.<IPDefendStatus> || null}
|
|
2270
|
+
*/
|
|
2271
|
+
this.StatusList = null;
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* Status code
|
|
2275
|
+
* @type {number || null}
|
|
2276
|
+
*/
|
|
2277
|
+
this.ReturnCode = null;
|
|
2278
|
+
|
|
2279
|
+
/**
|
|
2280
|
+
* Status information
|
|
2281
|
+
* @type {string || null}
|
|
2282
|
+
*/
|
|
2283
|
+
this.ReturnMsg = null;
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2287
|
+
* @type {string || null}
|
|
2288
|
+
*/
|
|
2289
|
+
this.RequestId = null;
|
|
2290
|
+
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* @private
|
|
2295
|
+
*/
|
|
2296
|
+
deserialize(params) {
|
|
2297
|
+
if (!params) {
|
|
2298
|
+
return;
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
if (params.StatusList) {
|
|
2302
|
+
this.StatusList = new Array();
|
|
2303
|
+
for (let z in params.StatusList) {
|
|
2304
|
+
let obj = new IPDefendStatus();
|
|
2305
|
+
obj.deserialize(params.StatusList[z]);
|
|
2306
|
+
this.StatusList.push(obj);
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
this.ReturnCode = 'ReturnCode' in params ? params.ReturnCode : null;
|
|
2310
|
+
this.ReturnMsg = 'ReturnMsg' in params ? params.ReturnMsg : null;
|
|
2311
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1900
2312
|
|
|
1901
2313
|
}
|
|
1902
2314
|
}
|
|
@@ -2996,6 +3408,41 @@ class DeleteSecurityGroupRuleRequest extends AbstractModel {
|
|
|
2996
3408
|
}
|
|
2997
3409
|
}
|
|
2998
3410
|
|
|
3411
|
+
/**
|
|
3412
|
+
* AddAclRule response structure.
|
|
3413
|
+
* @class
|
|
3414
|
+
*/
|
|
3415
|
+
class AddAclRuleResponse extends AbstractModel {
|
|
3416
|
+
constructor(){
|
|
3417
|
+
super();
|
|
3418
|
+
|
|
3419
|
+
/**
|
|
3420
|
+
* ID list of the added rules, in the same sequence as Rules.
|
|
3421
|
+
* @type {Array.<number> || null}
|
|
3422
|
+
*/
|
|
3423
|
+
this.RuleUuid = null;
|
|
3424
|
+
|
|
3425
|
+
/**
|
|
3426
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3427
|
+
* @type {string || null}
|
|
3428
|
+
*/
|
|
3429
|
+
this.RequestId = null;
|
|
3430
|
+
|
|
3431
|
+
}
|
|
3432
|
+
|
|
3433
|
+
/**
|
|
3434
|
+
* @private
|
|
3435
|
+
*/
|
|
3436
|
+
deserialize(params) {
|
|
3437
|
+
if (!params) {
|
|
3438
|
+
return;
|
|
3439
|
+
}
|
|
3440
|
+
this.RuleUuid = 'RuleUuid' in params ? params.RuleUuid : null;
|
|
3441
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3442
|
+
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3445
|
+
|
|
2999
3446
|
/**
|
|
3000
3447
|
* SetNatFwEip request structure.
|
|
3001
3448
|
* @class
|
|
@@ -5344,30 +5791,30 @@ class ModifySecurityGroupSequenceRulesResponse extends AbstractModel {
|
|
|
5344
5791
|
}
|
|
5345
5792
|
|
|
5346
5793
|
/**
|
|
5347
|
-
*
|
|
5794
|
+
* DescribeVpcAcRule response structure.
|
|
5348
5795
|
* @class
|
|
5349
5796
|
*/
|
|
5350
|
-
class
|
|
5797
|
+
class DescribeVpcAcRuleResponse extends AbstractModel {
|
|
5351
5798
|
constructor(){
|
|
5352
5799
|
super();
|
|
5353
5800
|
|
|
5354
5801
|
/**
|
|
5355
|
-
*
|
|
5356
|
-
* @type {
|
|
5802
|
+
* Total Data
|
|
5803
|
+
* @type {number || null}
|
|
5357
5804
|
*/
|
|
5358
|
-
this.
|
|
5805
|
+
this.Total = null;
|
|
5359
5806
|
|
|
5360
5807
|
/**
|
|
5361
|
-
*
|
|
5362
|
-
* @type {
|
|
5808
|
+
* Data list
|
|
5809
|
+
* @type {Array.<VpcRuleItem> || null}
|
|
5363
5810
|
*/
|
|
5364
|
-
this.
|
|
5811
|
+
this.Data = null;
|
|
5365
5812
|
|
|
5366
5813
|
/**
|
|
5367
|
-
*
|
|
5814
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5368
5815
|
* @type {string || null}
|
|
5369
5816
|
*/
|
|
5370
|
-
this.
|
|
5817
|
+
this.RequestId = null;
|
|
5371
5818
|
|
|
5372
5819
|
}
|
|
5373
5820
|
|
|
@@ -5378,9 +5825,17 @@ class DescribeResourceGroupNewRequest extends AbstractModel {
|
|
|
5378
5825
|
if (!params) {
|
|
5379
5826
|
return;
|
|
5380
5827
|
}
|
|
5381
|
-
this.
|
|
5382
|
-
|
|
5383
|
-
|
|
5828
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
5829
|
+
|
|
5830
|
+
if (params.Data) {
|
|
5831
|
+
this.Data = new Array();
|
|
5832
|
+
for (let z in params.Data) {
|
|
5833
|
+
let obj = new VpcRuleItem();
|
|
5834
|
+
obj.deserialize(params.Data[z]);
|
|
5835
|
+
this.Data.push(obj);
|
|
5836
|
+
}
|
|
5837
|
+
}
|
|
5838
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5384
5839
|
|
|
5385
5840
|
}
|
|
5386
5841
|
}
|
|
@@ -5829,30 +6284,30 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
5829
6284
|
}
|
|
5830
6285
|
|
|
5831
6286
|
/**
|
|
5832
|
-
*
|
|
6287
|
+
* DescribeResourceGroupNew request structure.
|
|
5833
6288
|
* @class
|
|
5834
6289
|
*/
|
|
5835
|
-
class
|
|
6290
|
+
class DescribeResourceGroupNewRequest extends AbstractModel {
|
|
5836
6291
|
constructor(){
|
|
5837
6292
|
super();
|
|
5838
6293
|
|
|
5839
6294
|
/**
|
|
5840
|
-
*
|
|
5841
|
-
* @type {
|
|
6295
|
+
* Query type. Network–VPC; business recognition–resource; resource tag–tag
|
|
6296
|
+
* @type {string || null}
|
|
5842
6297
|
*/
|
|
5843
|
-
this.
|
|
6298
|
+
this.QueryType = null;
|
|
5844
6299
|
|
|
5845
6300
|
/**
|
|
5846
|
-
*
|
|
5847
|
-
* @type {
|
|
6301
|
+
* Asset group ID, 0: all asset group IDs
|
|
6302
|
+
* @type {string || null}
|
|
5848
6303
|
*/
|
|
5849
|
-
this.
|
|
6304
|
+
this.GroupId = null;
|
|
5850
6305
|
|
|
5851
6306
|
/**
|
|
5852
|
-
*
|
|
6307
|
+
* all: all, including subgroups; own: my asset groups only
|
|
5853
6308
|
* @type {string || null}
|
|
5854
6309
|
*/
|
|
5855
|
-
this.
|
|
6310
|
+
this.ShowType = null;
|
|
5856
6311
|
|
|
5857
6312
|
}
|
|
5858
6313
|
|
|
@@ -5863,17 +6318,9 @@ class DescribeVpcAcRuleResponse extends AbstractModel {
|
|
|
5863
6318
|
if (!params) {
|
|
5864
6319
|
return;
|
|
5865
6320
|
}
|
|
5866
|
-
this.
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
this.Data = new Array();
|
|
5870
|
-
for (let z in params.Data) {
|
|
5871
|
-
let obj = new VpcRuleItem();
|
|
5872
|
-
obj.deserialize(params.Data[z]);
|
|
5873
|
-
this.Data.push(obj);
|
|
5874
|
-
}
|
|
5875
|
-
}
|
|
5876
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6321
|
+
this.QueryType = 'QueryType' in params ? params.QueryType : null;
|
|
6322
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
6323
|
+
this.ShowType = 'ShowType' in params ? params.ShowType : null;
|
|
5877
6324
|
|
|
5878
6325
|
}
|
|
5879
6326
|
}
|
|
@@ -6701,36 +7148,48 @@ class ModifyNatFwSwitchRequest extends AbstractModel {
|
|
|
6701
7148
|
}
|
|
6702
7149
|
|
|
6703
7150
|
/**
|
|
6704
|
-
*
|
|
7151
|
+
* DescribeCfwLogs request structure.
|
|
6705
7152
|
* @class
|
|
6706
7153
|
*/
|
|
6707
|
-
class
|
|
7154
|
+
class DescribeCfwLogsRequest extends AbstractModel {
|
|
6708
7155
|
constructor(){
|
|
6709
7156
|
super();
|
|
6710
7157
|
|
|
6711
7158
|
/**
|
|
6712
|
-
*
|
|
6713
|
-
* @type {
|
|
7159
|
+
* Log type. Required for the initial query; cannot be passed when using NextToken for continuation. cfw_netflow_border=Internet boundary traffic, cfw_netflow_vpc=VPC east-west traffic, cfw_netflow_nat=NAT firewall traffic, cfw_netflow_nta=NDR/NTA traffic, cfw_netflow_dns=DNS firewall log, cfw_rule_threatinfo=Intrusion defense/Threat Intelligence Alarm, cfw_rule_acl=Internet Boundary Access Control log, cfw_rule_vpc_acl=VPC access control log, cfw_rule_nat_acl=NAT access control log, cfw_ndr_subject_risk=NDR topic risk, cfw_ndr_dataleak_entry=NDR sensitive data leak, cfw_ndr_ai_audit=NDR AI application identification and Large Model Invocation audit, cfw_feature_collect=Statistical feature and baseline anomaly, cfw_behavior_collect=Beacon/DNS/port/cert/VPC mutual access behavior, operate_log_all=Operation audit log.
|
|
7160
|
+
* @type {string || null}
|
|
6714
7161
|
*/
|
|
6715
|
-
this.
|
|
7162
|
+
this.LogType = null;
|
|
6716
7163
|
|
|
6717
7164
|
/**
|
|
6718
|
-
*
|
|
6719
|
-
* @type {
|
|
7165
|
+
* Log filter expression. Default * means no filtering; for example src_ip:1.1.1.1. Queryable fields vary with LogType. You should preferentially use the field name returned in the corresponding Items. Do not guess non-existing fields. It cannot be passed when using NextToken for continued query.
|
|
7166
|
+
* @type {string || null}
|
|
6720
7167
|
*/
|
|
6721
|
-
this.
|
|
7168
|
+
this.Query = null;
|
|
6722
7169
|
|
|
6723
7170
|
/**
|
|
6724
|
-
*
|
|
7171
|
+
* Query start time. Supports RFC3339, YYYY-MM-DD HH:MM:SS, YYYY-MM-DD, or Unix timestamp. Input to query the TimeRange backward from this time. Cannot be imported when using NextToken for continued querying.
|
|
6725
7172
|
* @type {string || null}
|
|
6726
7173
|
*/
|
|
6727
|
-
this.
|
|
7174
|
+
this.StartTime = null;
|
|
6728
7175
|
|
|
6729
7176
|
/**
|
|
6730
|
-
*
|
|
7177
|
+
* Query time range. Default 1h; format is positive integer plus unit m/h/d, such as 5m, 1h, 24h, 7d; cannot be passed when using NextToken for continuation.
|
|
6731
7178
|
* @type {string || null}
|
|
6732
7179
|
*/
|
|
6733
|
-
this.
|
|
7180
|
+
this.TimeRange = null;
|
|
7181
|
+
|
|
7182
|
+
/**
|
|
7183
|
+
* Return limit. Selectable for initial query, default 100; value 1 to 1000; cannot be passed when using NextToken for continued query.
|
|
7184
|
+
* @type {number || null}
|
|
7185
|
+
*/
|
|
7186
|
+
this.Limit = null;
|
|
7187
|
+
|
|
7188
|
+
/**
|
|
7189
|
+
* Previous page opaque continuation token returned by Response.Data. Not required for initial query; only required for continuation query with NextToken. Invalid, tampered, or mismatched tenant will be rejected.
|
|
7190
|
+
* @type {string || null}
|
|
7191
|
+
*/
|
|
7192
|
+
this.NextToken = null;
|
|
6734
7193
|
|
|
6735
7194
|
}
|
|
6736
7195
|
|
|
@@ -6741,18 +7200,12 @@ class DescribeIPStatusListResponse extends AbstractModel {
|
|
|
6741
7200
|
if (!params) {
|
|
6742
7201
|
return;
|
|
6743
7202
|
}
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
this.StatusList.push(obj);
|
|
6751
|
-
}
|
|
6752
|
-
}
|
|
6753
|
-
this.ReturnCode = 'ReturnCode' in params ? params.ReturnCode : null;
|
|
6754
|
-
this.ReturnMsg = 'ReturnMsg' in params ? params.ReturnMsg : null;
|
|
6755
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7203
|
+
this.LogType = 'LogType' in params ? params.LogType : null;
|
|
7204
|
+
this.Query = 'Query' in params ? params.Query : null;
|
|
7205
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
7206
|
+
this.TimeRange = 'TimeRange' in params ? params.TimeRange : null;
|
|
7207
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
7208
|
+
this.NextToken = 'NextToken' in params ? params.NextToken : null;
|
|
6756
7209
|
|
|
6757
7210
|
}
|
|
6758
7211
|
}
|
|
@@ -9066,24 +9519,108 @@ class DescribeNatFwInstanceResponse extends AbstractModel {
|
|
|
9066
9519
|
}
|
|
9067
9520
|
|
|
9068
9521
|
/**
|
|
9069
|
-
*
|
|
9522
|
+
* Complete content of the Internet Boundary Access Control Rule, shared for adding new and modification. When projects are added, default values are handled according to field descriptions; during modification, writable content is completely replaced, omitted writable fields do not inherit old values, and system management fields are unaffected.
|
|
9070
9523
|
* @class
|
|
9071
9524
|
*/
|
|
9072
|
-
class
|
|
9525
|
+
class CreateRuleItem extends AbstractModel {
|
|
9073
9526
|
constructor(){
|
|
9074
9527
|
super();
|
|
9075
9528
|
|
|
9076
9529
|
/**
|
|
9077
|
-
*
|
|
9530
|
+
* Rule direction: 1 means inbound, 0 means outbound; other integers or omitted values result in verification failure. Direction also determines the available combinations of SourceType, TargetType, Scope, and Protocol.
|
|
9531
|
+
* @type {number || null}
|
|
9532
|
+
*/
|
|
9533
|
+
this.Direction = null;
|
|
9534
|
+
|
|
9535
|
+
/**
|
|
9536
|
+
* Rule order, required. Pass -1 to append to the end of the current direction; a positive serial number indicates insertion at the corresponding position and postponement of subsequent rules; treat 0 as 1, other negative numbers and out-of-scope values should not be used. When a new request contains multiple rules, Direction must be the same; pass all -1 for appending, pass consecutive incremental positive serial numbers in request order for insertion. A modify request accepts only one rule.
|
|
9537
|
+
* @type {number || null}
|
|
9538
|
+
*/
|
|
9539
|
+
this.OrderIndex = null;
|
|
9540
|
+
|
|
9541
|
+
/**
|
|
9542
|
+
* Destination port. Ignore this field and set it to an empty string when Protocol is ICMP. For other protocols, you must provide a parse string. You can enter a positive integer single port or a "start/end" range separated with commas. The starting value must not be larger than the end value. -1/-1 indicates all ports. FTP only accepts one positive integer. For domain or domain name template targets within the side or all scope, only -1/-1 or 0/65535 are accepted.
|
|
9078
9543
|
* @type {string || null}
|
|
9079
9544
|
*/
|
|
9080
|
-
this.
|
|
9545
|
+
this.Port = null;
|
|
9081
9546
|
|
|
9082
9547
|
/**
|
|
9083
|
-
*
|
|
9548
|
+
* Protocol, case-insensitive parsing. Layer-4 values TCP, UDP, ICMP, ICMPV6, ANY are normalized to uppercase. Application-layer values HTTP, HTTPS, HTTP/HTTPS, SMTP, SMTPS, SMTP/SMTPS, FTP, DNS, TLS/SSL and aliases domain, TLS, SSL are normalized to corresponding standard values. ANY means no protocol limitation, not an empty Protocol. It belongs to both parseable Layer-4 protocols and application protocols. domain, TLS, SSL are all normalized to TLS/SSL. The target for domain or domain name template accepts the above application-layer protocols and ANY, but does not accept FTP and other Layer-4 protocols. dnsparse and domainiptwoverify only accept TCP or UDP and only support serial. Other targets in the public cloud environment do not accept application-layer protocols outside of FTP and ANY. Under the side or all scope, inbound only accepts TCP, outbound only accepts TCP, HTTP/HTTPS, or TLS/SSL. When DNS is used for a non-domain target and the target is not *, the destination content must also be a rule list of valid non-IP domain names. When using a protocol port template, each group of protocol and port in the template also executes these integration validations.
|
|
9549
|
+
* @type {string || null}
|
|
9550
|
+
*/
|
|
9551
|
+
this.Protocol = null;
|
|
9552
|
+
|
|
9553
|
+
/**
|
|
9554
|
+
* Traffic processing actions are case-insensitive. accept means allow, drop means deny, and log means observe. isolateinaccept means allow access to allowlisted traffic for isolated assets, isolateindrop means block access to other traffic for isolated assets, isolateoutaccept means allow isolated assets to access allowlisted targets, and isolateoutdrop means block isolated assets from accessing other targets. drop and its deny alias also verify whether the current account has Internet boundary blocking capability.
|
|
9555
|
+
* @type {string || null}
|
|
9556
|
+
*/
|
|
9557
|
+
this.RuleAction = null;
|
|
9558
|
+
|
|
9559
|
+
/**
|
|
9560
|
+
* Access the source content. For ip or net, use a valid IP/CIDR list, with a maximum of 10 items in a regular list. For template, use a parseable address template identifier of the current account. When Direction=0, use the corresponding resource identifier for instance, group, and tag. Among them, the instance must be resolvable to a public IP, and the tag must exist with the format {"Key":"tag key","Value":"tag value"}. When Direction=1, use a CSV of region codes for location, which must pass the verification of the new regional rules capability of the current account. For vendor, use a CSV of tencent, aliyun, aws, huawei, azure, or all. location and vendor are converted to region or manufacturer matchmaking information when saved.
|
|
9561
|
+
* @type {string || null}
|
|
9562
|
+
*/
|
|
9563
|
+
this.SourceContent = null;
|
|
9564
|
+
|
|
9565
|
+
/**
|
|
9566
|
+
* Access source type, case-insensitive parsing. net and ip both indicate IP/CIDR, template refers to address template, instance refers to asset instance, group refers to asset group, tag refers to resource tag, location refers to region, vendor refers to cloud service provider. Direction=1 accepts ip, net, template, location, vendor; Direction=0 accepts ip, net, template, instance, group, tag. ip and net are handled as the same type.
|
|
9567
|
+
* @type {string || null}
|
|
9568
|
+
*/
|
|
9569
|
+
this.SourceType = null;
|
|
9570
|
+
|
|
9571
|
+
/**
|
|
9572
|
+
* Access the destination content. For ip or net, use a valid IP/CIDR list. For domain, use a valid IP, standard domain name, or wildcard domain name list, and also accept a single *. The regular list supports up to 10 items, and wildcard domain names support up to 5 levels. When domain is used with the DNS protocol, IP is not accepted. For dnsparse, use a single valid domain name, wildcard domain name, or an mb_ domain name template that can be resolved by the current account. For domainiptwoverify, use a single valid domain name without wildcards or such a template. Both do not accept a single *, IP, comma-separated list, or wildcard domain names within the segment. For serial domain segments with wildcards and domainiptwoverify templates, the current environment must support the corresponding capacity. For template, use the address template identifier that can be resolved by the current account. For Direction=1, instance, group, and tag use the corresponding resource identifiers. The instance must be resolvable to a public network IP, and the tag must exist with the format {"Key":"tag key","Value":"tag value"}. For Direction=0, location uses region code CSV, and vendor uses CSV of tencent, aliyun, aws, huawei, azure, or all. The standardized content has a maximum length of 1023.
|
|
9573
|
+
* @type {string || null}
|
|
9574
|
+
*/
|
|
9575
|
+
this.TargetContent = null;
|
|
9576
|
+
|
|
9577
|
+
/**
|
|
9578
|
+
* Access purpose type. Case-insensitive parsing. net and ip both indicate IP/CIDR, template indicates address template, instance indicates asset instance, group indicates asset group, tag indicates resource tag, location indicates region, vendor indicates cloud service provider, domain indicates FQDN matching (content can also be IP or *), dnsparse indicates loose matching: Host/SNI matches the domain name, or the destination IP belongs to the IP range of the current DNS resolution result of that domain name, hit if any condition is met; domainiptwoverify indicates strict matching: the above two conditions require simultaneous satisfaction. Direction=1 accepts ip, net, template, domain, instance, group, tag; Direction=0 accepts ip, net, template, domain, dnsparse, domainiptwoverify, location, or vendor.
|
|
9579
|
+
* @type {string || null}
|
|
9580
|
+
*/
|
|
9581
|
+
this.TargetType = null;
|
|
9582
|
+
|
|
9583
|
+
/**
|
|
9584
|
+
* Rule description, no more than 100 characters. When projects are added, save the requested value; when modified, replace fully, do not inherit old values.
|
|
9585
|
+
* @type {string || null}
|
|
9586
|
+
*/
|
|
9587
|
+
this.Description = null;
|
|
9588
|
+
|
|
9589
|
+
/**
|
|
9590
|
+
* Enable status. Non-empty values accept the string true or false in a case-insensitive manner and are normalized to enable or disable. When omitted or an empty string is input, the default enabled configuration for access control of the current account is read. If this configuration is unavailable, it is enabled by default. Existing rules are replaced without inheriting old values.
|
|
9591
|
+
* @type {string || null}
|
|
9592
|
+
*/
|
|
9593
|
+
this.Enable = null;
|
|
9594
|
+
|
|
9595
|
+
/**
|
|
9596
|
+
* Associated alarm or source event ID. When projects are added, omit or input an empty string to indicate not associated. When modifying, import the rules[].log_id returned by DescribeCfwRules as is. If not returned, omit or input an empty string. The old value is not automatically inherited during replacement. When From=batch_import_cover, a non-empty value is also reused as the string literal identification for the rule after overwrite import.
|
|
9597
|
+
* @type {string || null}
|
|
9598
|
+
*/
|
|
9599
|
+
this.LogId = null;
|
|
9600
|
+
|
|
9601
|
+
/**
|
|
9602
|
+
* Protocol port template ID. Omit or input an empty string to indicate no template is used. If not empty, it must point to an existing template in the current account with the content format "protocol:port", otherwise the request fails. The protocol and port in the template must meet the integration restrictions of Direction, TargetType, and Scope. Protocol and Port must still comply with their respective field rules, but are not required to be fixed as ANY, -1/-1, or serial.
|
|
9603
|
+
* @type {string || null}
|
|
9604
|
+
*/
|
|
9605
|
+
this.ParamTemplateId = null;
|
|
9606
|
+
|
|
9607
|
+
/**
|
|
9608
|
+
* Rule source: 0 means General rule, 2 means isolated asset outgoing access rule. It can be omitted when projects are added, and omitted values are handled as 0. Only 0 or 2 are accepted for explicit input and modification, and the original rule value should be imported during modification.
|
|
9084
9609
|
* @type {number || null}
|
|
9085
9610
|
*/
|
|
9086
|
-
this.
|
|
9611
|
+
this.RuleSource = null;
|
|
9612
|
+
|
|
9613
|
+
/**
|
|
9614
|
+
* Effective scope. Case insensitivity: serial means only Internet boundary serial firewall, side means only Internet boundary bypass firewall, all means acting on both serial and bypass firewalls simultaneously. Omitted, empty string, or other values will result in verification failure. The international site environment will normalize valid user-submitted input to serial. For linkage restrictions on protocol, port, destination type, and protocol port templates, refer to Protocol, Port, and ParamTemplateId.
|
|
9615
|
+
* @type {string || null}
|
|
9616
|
+
*/
|
|
9617
|
+
this.Scope = null;
|
|
9618
|
+
|
|
9619
|
+
/**
|
|
9620
|
+
* Rule numeric value ID. Ordinary new additions, user-specified location additions, and batch import ignore this field; positive integer ID is usable when From=batch_import_cover; must provide an existing and modifiable positive integer ID of the current account for modification, used for locating and fully replacing the original rule, omitted, non-positive integer, or non-existing IDs cause request failure.
|
|
9621
|
+
* @type {number || null}
|
|
9622
|
+
*/
|
|
9623
|
+
this.Uuid = null;
|
|
9087
9624
|
|
|
9088
9625
|
}
|
|
9089
9626
|
|
|
@@ -9094,8 +9631,22 @@ class DnsVpcSwitch extends AbstractModel {
|
|
|
9094
9631
|
if (!params) {
|
|
9095
9632
|
return;
|
|
9096
9633
|
}
|
|
9097
|
-
this.
|
|
9098
|
-
this.
|
|
9634
|
+
this.Direction = 'Direction' in params ? params.Direction : null;
|
|
9635
|
+
this.OrderIndex = 'OrderIndex' in params ? params.OrderIndex : null;
|
|
9636
|
+
this.Port = 'Port' in params ? params.Port : null;
|
|
9637
|
+
this.Protocol = 'Protocol' in params ? params.Protocol : null;
|
|
9638
|
+
this.RuleAction = 'RuleAction' in params ? params.RuleAction : null;
|
|
9639
|
+
this.SourceContent = 'SourceContent' in params ? params.SourceContent : null;
|
|
9640
|
+
this.SourceType = 'SourceType' in params ? params.SourceType : null;
|
|
9641
|
+
this.TargetContent = 'TargetContent' in params ? params.TargetContent : null;
|
|
9642
|
+
this.TargetType = 'TargetType' in params ? params.TargetType : null;
|
|
9643
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
9644
|
+
this.Enable = 'Enable' in params ? params.Enable : null;
|
|
9645
|
+
this.LogId = 'LogId' in params ? params.LogId : null;
|
|
9646
|
+
this.ParamTemplateId = 'ParamTemplateId' in params ? params.ParamTemplateId : null;
|
|
9647
|
+
this.RuleSource = 'RuleSource' in params ? params.RuleSource : null;
|
|
9648
|
+
this.Scope = 'Scope' in params ? params.Scope : null;
|
|
9649
|
+
this.Uuid = 'Uuid' in params ? params.Uuid : null;
|
|
9099
9650
|
|
|
9100
9651
|
}
|
|
9101
9652
|
}
|
|
@@ -9404,6 +9955,8 @@ class DescribeGuideScanInfoResponse extends AbstractModel {
|
|
|
9404
9955
|
|
|
9405
9956
|
module.exports = {
|
|
9406
9957
|
DescribeNatFwInstanceRequest: DescribeNatFwInstanceRequest,
|
|
9958
|
+
CfwStatusMonitorFilter: CfwStatusMonitorFilter,
|
|
9959
|
+
DescribeCfwStatusMonitorRequest: DescribeCfwStatusMonitorRequest,
|
|
9407
9960
|
ModifyNatFwVpcDnsSwitchResponse: ModifyNatFwVpcDnsSwitchResponse,
|
|
9408
9961
|
DescribeNatFwInstanceWithRegionRequest: DescribeNatFwInstanceWithRegionRequest,
|
|
9409
9962
|
ModifyNatAcRuleResponse: ModifyNatAcRuleResponse,
|
|
@@ -9413,6 +9966,7 @@ module.exports = {
|
|
|
9413
9966
|
StaticInfo: StaticInfo,
|
|
9414
9967
|
DescribeNatAcRuleResponse: DescribeNatAcRuleResponse,
|
|
9415
9968
|
ModifyPublicIPSwitchStatusResponse: ModifyPublicIPSwitchStatusResponse,
|
|
9969
|
+
AddAclRuleRequest: AddAclRuleRequest,
|
|
9416
9970
|
ModifyNatAcRuleRequest: ModifyNatAcRuleRequest,
|
|
9417
9971
|
ModifyAcRuleResponse: ModifyAcRuleResponse,
|
|
9418
9972
|
ModifyNatSequenceRulesRequest: ModifyNatSequenceRulesRequest,
|
|
@@ -9422,7 +9976,9 @@ module.exports = {
|
|
|
9422
9976
|
BlockIgnoreRule: BlockIgnoreRule,
|
|
9423
9977
|
ModifyNatFwVpcDnsSwitchRequest: ModifyNatFwVpcDnsSwitchRequest,
|
|
9424
9978
|
UnHandleEvent: UnHandleEvent,
|
|
9979
|
+
DescribeCfwStatusMonitorResponse: DescribeCfwStatusMonitorResponse,
|
|
9425
9980
|
DeleteAllAccessControlRuleRequest: DeleteAllAccessControlRuleRequest,
|
|
9981
|
+
ModifyBlockIgnoreListRequest: ModifyBlockIgnoreListRequest,
|
|
9426
9982
|
ModifyAllVPCSwitchStatusResponse: ModifyAllVPCSwitchStatusResponse,
|
|
9427
9983
|
CreateSecurityGroupRulesResponse: CreateSecurityGroupRulesResponse,
|
|
9428
9984
|
DescribeNatFwVpcDnsLstRequest: DescribeNatFwVpcDnsLstRequest,
|
|
@@ -9433,12 +9989,14 @@ module.exports = {
|
|
|
9433
9989
|
ModifyStorageSettingResponse: ModifyStorageSettingResponse,
|
|
9434
9990
|
RemoveAcRuleResponse: RemoveAcRuleResponse,
|
|
9435
9991
|
NatFwInstance: NatFwInstance,
|
|
9992
|
+
DescribeCfwLogsResponse: DescribeCfwLogsResponse,
|
|
9436
9993
|
ExpandCfwVerticalRequest: ExpandCfwVerticalRequest,
|
|
9437
9994
|
ModifyAllPublicIPSwitchStatusResponse: ModifyAllPublicIPSwitchStatusResponse,
|
|
9438
9995
|
DeleteVpcInstanceResponse: DeleteVpcInstanceResponse,
|
|
9439
9996
|
ModifyAssetScanRequest: ModifyAssetScanRequest,
|
|
9440
|
-
|
|
9997
|
+
DnsVpcSwitch: DnsVpcSwitch,
|
|
9441
9998
|
AddEnterpriseSecurityGroupRulesRequest: AddEnterpriseSecurityGroupRulesRequest,
|
|
9999
|
+
DescribeIPStatusListResponse: DescribeIPStatusListResponse,
|
|
9442
10000
|
SecurityGroupRule: SecurityGroupRule,
|
|
9443
10001
|
DeleteSecurityGroupRuleResponse: DeleteSecurityGroupRuleResponse,
|
|
9444
10002
|
ModifySequenceRulesRequest: ModifySequenceRulesRequest,
|
|
@@ -9453,6 +10011,7 @@ module.exports = {
|
|
|
9453
10011
|
ModifyNatFwReSelectResponse: ModifyNatFwReSelectResponse,
|
|
9454
10012
|
DescribeVpcAcRuleRequest: DescribeVpcAcRuleRequest,
|
|
9455
10013
|
DeleteSecurityGroupRuleRequest: DeleteSecurityGroupRuleRequest,
|
|
10014
|
+
AddAclRuleResponse: AddAclRuleResponse,
|
|
9456
10015
|
SetNatFwEipRequest: SetNatFwEipRequest,
|
|
9457
10016
|
SetNatFwEipResponse: SetNatFwEipResponse,
|
|
9458
10017
|
AcListsData: AcListsData,
|
|
@@ -9497,7 +10056,7 @@ module.exports = {
|
|
|
9497
10056
|
ModifyRunSyncAssetResponse: ModifyRunSyncAssetResponse,
|
|
9498
10057
|
ModifyEnterpriseSecurityGroupRuleResponse: ModifyEnterpriseSecurityGroupRuleResponse,
|
|
9499
10058
|
ModifySecurityGroupSequenceRulesResponse: ModifySecurityGroupSequenceRulesResponse,
|
|
9500
|
-
|
|
10059
|
+
DescribeVpcAcRuleResponse: DescribeVpcAcRuleResponse,
|
|
9501
10060
|
AddEnterpriseSecurityGroupRulesResponse: AddEnterpriseSecurityGroupRulesResponse,
|
|
9502
10061
|
UnHandleEventDetail: UnHandleEventDetail,
|
|
9503
10062
|
RemoveEnterpriseSecurityGroupRuleRequest: RemoveEnterpriseSecurityGroupRuleRequest,
|
|
@@ -9508,7 +10067,7 @@ module.exports = {
|
|
|
9508
10067
|
ModifySequenceRulesResponse: ModifySequenceRulesResponse,
|
|
9509
10068
|
DescribeResourceGroupNewResponse: DescribeResourceGroupNewResponse,
|
|
9510
10069
|
DescribeNatFwInstanceWithRegionResponse: DescribeNatFwInstanceWithRegionResponse,
|
|
9511
|
-
|
|
10070
|
+
DescribeResourceGroupNewRequest: DescribeResourceGroupNewRequest,
|
|
9512
10071
|
ModifyBlockTopRequest: ModifyBlockTopRequest,
|
|
9513
10072
|
DeleteAcRuleResponse: DeleteAcRuleResponse,
|
|
9514
10073
|
IocListData: IocListData,
|
|
@@ -9525,7 +10084,7 @@ module.exports = {
|
|
|
9525
10084
|
DeleteAcRuleRequest: DeleteAcRuleRequest,
|
|
9526
10085
|
DeleteAllAccessControlRuleResponse: DeleteAllAccessControlRuleResponse,
|
|
9527
10086
|
ModifyNatFwSwitchRequest: ModifyNatFwSwitchRequest,
|
|
9528
|
-
|
|
10087
|
+
DescribeCfwLogsRequest: DescribeCfwLogsRequest,
|
|
9529
10088
|
NatInstanceInfo: NatInstanceInfo,
|
|
9530
10089
|
DescribeTLogIpListResponse: DescribeTLogIpListResponse,
|
|
9531
10090
|
StopSecurityGroupRuleDispatchResponse: StopSecurityGroupRuleDispatchResponse,
|
|
@@ -9564,7 +10123,7 @@ module.exports = {
|
|
|
9564
10123
|
AddNatAcRuleResponse: AddNatAcRuleResponse,
|
|
9565
10124
|
ModifyBlockIgnoreListResponse: ModifyBlockIgnoreListResponse,
|
|
9566
10125
|
DescribeNatFwInstanceResponse: DescribeNatFwInstanceResponse,
|
|
9567
|
-
|
|
10126
|
+
CreateRuleItem: CreateRuleItem,
|
|
9568
10127
|
CreateAcRulesRequest: CreateAcRulesRequest,
|
|
9569
10128
|
ModifyEnterpriseSecurityDispatchStatusRequest: ModifyEnterpriseSecurityDispatchStatusRequest,
|
|
9570
10129
|
DescribeBlockIgnoreListResponse: DescribeBlockIgnoreListResponse,
|