tencentcloud-sdk-nodejs-waf 4.0.367 → 4.0.368
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/CHANGELOG.md +176 -0
- package/SERVICE_CHANGELOG.md +251 -45
- package/package.json +1 -1
- package/products.md +15 -15
- package/src/services/waf/v20180125/waf_client.ts +37 -20
- package/src/services/waf/v20180125/waf_models.ts +435 -129
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -5
- package/tencentcloud/services/waf/v20180125/waf_client.js +12 -6
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +377 -122
|
@@ -210,33 +210,46 @@ export interface DescribeIpAccessControlResponse {
|
|
|
210
210
|
RequestId?: string;
|
|
211
211
|
}
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
213
|
+
* DescribeInstances返回参数结构体
|
|
214
214
|
*/
|
|
215
|
-
export interface
|
|
215
|
+
export interface DescribeInstancesResponse {
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* 总数
|
|
218
218
|
*/
|
|
219
|
-
|
|
219
|
+
Total: number;
|
|
220
220
|
/**
|
|
221
|
-
*
|
|
221
|
+
* instance列表
|
|
222
222
|
*/
|
|
223
|
-
|
|
223
|
+
Instances: Array<InstanceInfo>;
|
|
224
224
|
/**
|
|
225
|
-
*
|
|
225
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
226
226
|
*/
|
|
227
|
-
|
|
227
|
+
RequestId?: string;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* ModifyWafAutoDenyRules请求参数结构体
|
|
231
|
+
*/
|
|
232
|
+
export interface ModifyWafAutoDenyRulesRequest {
|
|
228
233
|
/**
|
|
229
|
-
*
|
|
234
|
+
* 域名
|
|
230
235
|
*/
|
|
231
|
-
|
|
236
|
+
Domain: string;
|
|
232
237
|
/**
|
|
233
|
-
*
|
|
238
|
+
* 攻击次数阈值
|
|
234
239
|
*/
|
|
235
|
-
|
|
240
|
+
AttackThreshold: number;
|
|
236
241
|
/**
|
|
237
|
-
*
|
|
242
|
+
* 攻击时间阈值
|
|
238
243
|
*/
|
|
239
|
-
|
|
244
|
+
TimeThreshold: number;
|
|
245
|
+
/**
|
|
246
|
+
* 自动封禁时间
|
|
247
|
+
*/
|
|
248
|
+
DenyTimeThreshold: number;
|
|
249
|
+
/**
|
|
250
|
+
* 自动封禁状态
|
|
251
|
+
*/
|
|
252
|
+
DefenseStatus: number;
|
|
240
253
|
}
|
|
241
254
|
/**
|
|
242
255
|
* DescribeAccessIndex接口的出参
|
|
@@ -386,33 +399,13 @@ export interface DeleteDownloadRecordRequest {
|
|
|
386
399
|
Flow: string;
|
|
387
400
|
}
|
|
388
401
|
/**
|
|
389
|
-
*
|
|
402
|
+
* DeleteAccessExport返回参数结构体
|
|
390
403
|
*/
|
|
391
|
-
export interface
|
|
392
|
-
/**
|
|
393
|
-
* 规则Id
|
|
394
|
-
*/
|
|
395
|
-
Id: number;
|
|
396
|
-
/**
|
|
397
|
-
* 规则列表的id
|
|
398
|
-
*/
|
|
399
|
-
Rules: Array<number>;
|
|
400
|
-
/**
|
|
401
|
-
* 请求url
|
|
402
|
-
*/
|
|
403
|
-
Url: string;
|
|
404
|
-
/**
|
|
405
|
-
* 请求的方法
|
|
406
|
-
*/
|
|
407
|
-
Function: string;
|
|
408
|
-
/**
|
|
409
|
-
* 时间戳
|
|
410
|
-
*/
|
|
411
|
-
Time: string;
|
|
404
|
+
export interface DeleteAccessExportResponse {
|
|
412
405
|
/**
|
|
413
|
-
*
|
|
406
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
414
407
|
*/
|
|
415
|
-
|
|
408
|
+
RequestId?: string;
|
|
416
409
|
}
|
|
417
410
|
/**
|
|
418
411
|
* DescribeAccessExports请求参数结构体
|
|
@@ -432,17 +425,13 @@ export interface DescribeAccessExportsRequest {
|
|
|
432
425
|
Limit?: number;
|
|
433
426
|
}
|
|
434
427
|
/**
|
|
435
|
-
*
|
|
428
|
+
* ModifyWafAutoDenyStatus请求参数结构体
|
|
436
429
|
*/
|
|
437
|
-
export interface
|
|
438
|
-
/**
|
|
439
|
-
* 如果成功则返回Success,失败则返回yunapi定义的错误码
|
|
440
|
-
*/
|
|
441
|
-
Code: string;
|
|
430
|
+
export interface ModifyWafAutoDenyStatusRequest {
|
|
442
431
|
/**
|
|
443
|
-
*
|
|
432
|
+
* WAF 自动封禁配置项
|
|
444
433
|
*/
|
|
445
|
-
|
|
434
|
+
WafAutoDenyDetails: AutoDenyDetail;
|
|
446
435
|
}
|
|
447
436
|
/**
|
|
448
437
|
* ModifyAccessPeriod返回参数结构体
|
|
@@ -454,13 +443,29 @@ export interface ModifyAccessPeriodResponse {
|
|
|
454
443
|
RequestId?: string;
|
|
455
444
|
}
|
|
456
445
|
/**
|
|
457
|
-
*
|
|
446
|
+
* clb-waf QPS套餐 New
|
|
458
447
|
*/
|
|
459
|
-
export interface
|
|
448
|
+
export interface QPSPackageNew {
|
|
460
449
|
/**
|
|
461
|
-
*
|
|
450
|
+
* 资源ID
|
|
462
451
|
*/
|
|
463
|
-
|
|
452
|
+
ResourceIds: string;
|
|
453
|
+
/**
|
|
454
|
+
* 过期时间
|
|
455
|
+
*/
|
|
456
|
+
ValidTime: string;
|
|
457
|
+
/**
|
|
458
|
+
* 是否自动续费,1:自动续费,0:不自动续费
|
|
459
|
+
*/
|
|
460
|
+
RenewFlag: number;
|
|
461
|
+
/**
|
|
462
|
+
* 套餐购买个数
|
|
463
|
+
*/
|
|
464
|
+
Count: number;
|
|
465
|
+
/**
|
|
466
|
+
* 套餐购买地域,clb-waf暂时没有用到
|
|
467
|
+
*/
|
|
468
|
+
Region: string;
|
|
464
469
|
}
|
|
465
470
|
/**
|
|
466
471
|
* 实例入参过滤器
|
|
@@ -891,6 +896,60 @@ export interface DeleteDomainWhiteRulesRequest {
|
|
|
891
896
|
*/
|
|
892
897
|
Ids: Array<number>;
|
|
893
898
|
}
|
|
899
|
+
/**
|
|
900
|
+
* clb-waf 域名扩展套餐
|
|
901
|
+
*/
|
|
902
|
+
export interface DomainPackageNew {
|
|
903
|
+
/**
|
|
904
|
+
* 资源ID
|
|
905
|
+
*/
|
|
906
|
+
ResourceIds: string;
|
|
907
|
+
/**
|
|
908
|
+
* 过期时间
|
|
909
|
+
*/
|
|
910
|
+
ValidTime: string;
|
|
911
|
+
/**
|
|
912
|
+
* 是否自动续费,1:自动续费,0:不自动续费
|
|
913
|
+
*/
|
|
914
|
+
RenewFlag: number;
|
|
915
|
+
/**
|
|
916
|
+
* 套餐购买个数
|
|
917
|
+
*/
|
|
918
|
+
Count: number;
|
|
919
|
+
/**
|
|
920
|
+
* 套餐购买地域,clb-waf暂时没有用到
|
|
921
|
+
*/
|
|
922
|
+
Region: string;
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* 规则白名单
|
|
926
|
+
*/
|
|
927
|
+
export interface RuleList {
|
|
928
|
+
/**
|
|
929
|
+
* 规则Id
|
|
930
|
+
*/
|
|
931
|
+
Id: number;
|
|
932
|
+
/**
|
|
933
|
+
* 规则列表的id
|
|
934
|
+
*/
|
|
935
|
+
Rules: Array<number>;
|
|
936
|
+
/**
|
|
937
|
+
* 请求url
|
|
938
|
+
*/
|
|
939
|
+
Url: string;
|
|
940
|
+
/**
|
|
941
|
+
* 请求的方法
|
|
942
|
+
*/
|
|
943
|
+
Function: string;
|
|
944
|
+
/**
|
|
945
|
+
* 时间戳
|
|
946
|
+
*/
|
|
947
|
+
Time: string;
|
|
948
|
+
/**
|
|
949
|
+
* 开关状态
|
|
950
|
+
*/
|
|
951
|
+
Status: number;
|
|
952
|
+
}
|
|
894
953
|
/**
|
|
895
954
|
* ModifyCustomRuleStatus返回参数结构体
|
|
896
955
|
*/
|
|
@@ -1055,6 +1114,97 @@ export interface ModifyAccessPeriodRequest {
|
|
|
1055
1114
|
*/
|
|
1056
1115
|
TopicId: string;
|
|
1057
1116
|
}
|
|
1117
|
+
/**
|
|
1118
|
+
* 一个实例的详细信息
|
|
1119
|
+
*/
|
|
1120
|
+
export interface InstanceInfo {
|
|
1121
|
+
/**
|
|
1122
|
+
* id
|
|
1123
|
+
*/
|
|
1124
|
+
InstanceId: string;
|
|
1125
|
+
/**
|
|
1126
|
+
* name
|
|
1127
|
+
*/
|
|
1128
|
+
InstanceName: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* 资源id
|
|
1131
|
+
*/
|
|
1132
|
+
ResourceIds: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* 地域
|
|
1135
|
+
*/
|
|
1136
|
+
Region: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* 付费模式
|
|
1139
|
+
*/
|
|
1140
|
+
PayMode: number;
|
|
1141
|
+
/**
|
|
1142
|
+
* 自动续费
|
|
1143
|
+
*/
|
|
1144
|
+
RenewFlag: number;
|
|
1145
|
+
/**
|
|
1146
|
+
* 弹性计费
|
|
1147
|
+
*/
|
|
1148
|
+
Mode: number;
|
|
1149
|
+
/**
|
|
1150
|
+
* 套餐版本
|
|
1151
|
+
*/
|
|
1152
|
+
Level: number;
|
|
1153
|
+
/**
|
|
1154
|
+
* 过期时间
|
|
1155
|
+
*/
|
|
1156
|
+
ValidTime: string;
|
|
1157
|
+
/**
|
|
1158
|
+
* 开始时间
|
|
1159
|
+
*/
|
|
1160
|
+
BeginTime: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* 已用
|
|
1163
|
+
*/
|
|
1164
|
+
DomainCount: number;
|
|
1165
|
+
/**
|
|
1166
|
+
* 上限
|
|
1167
|
+
*/
|
|
1168
|
+
SubDomainLimit: number;
|
|
1169
|
+
/**
|
|
1170
|
+
* 已用
|
|
1171
|
+
*/
|
|
1172
|
+
MainDomainCount: number;
|
|
1173
|
+
/**
|
|
1174
|
+
* 上限
|
|
1175
|
+
*/
|
|
1176
|
+
MainDomainLimit: number;
|
|
1177
|
+
/**
|
|
1178
|
+
* 峰值
|
|
1179
|
+
*/
|
|
1180
|
+
MaxQPS: number;
|
|
1181
|
+
/**
|
|
1182
|
+
* qps套餐
|
|
1183
|
+
*/
|
|
1184
|
+
QPS: QPSPackageNew;
|
|
1185
|
+
/**
|
|
1186
|
+
* 域名套餐
|
|
1187
|
+
*/
|
|
1188
|
+
DomainPkg: DomainPackageNew;
|
|
1189
|
+
/**
|
|
1190
|
+
* 用户appid
|
|
1191
|
+
*/
|
|
1192
|
+
AppId: number;
|
|
1193
|
+
/**
|
|
1194
|
+
* clb或saas
|
|
1195
|
+
*/
|
|
1196
|
+
Edition: string;
|
|
1197
|
+
/**
|
|
1198
|
+
* 业务安全包
|
|
1199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1200
|
+
*/
|
|
1201
|
+
FraudPkg?: FraudPkg;
|
|
1202
|
+
/**
|
|
1203
|
+
* Bot资源包
|
|
1204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1205
|
+
*/
|
|
1206
|
+
BotPkg?: BotPkg;
|
|
1207
|
+
}
|
|
1058
1208
|
/**
|
|
1059
1209
|
* ModifyWafAutoDenyRules返回参数结构体
|
|
1060
1210
|
*/
|
|
@@ -1068,6 +1218,23 @@ export interface ModifyWafAutoDenyRulesResponse {
|
|
|
1068
1218
|
*/
|
|
1069
1219
|
RequestId?: string;
|
|
1070
1220
|
}
|
|
1221
|
+
/**
|
|
1222
|
+
* DescribeInstances请求参数结构体
|
|
1223
|
+
*/
|
|
1224
|
+
export interface DescribeInstancesRequest {
|
|
1225
|
+
/**
|
|
1226
|
+
* 偏移
|
|
1227
|
+
*/
|
|
1228
|
+
Offset: number;
|
|
1229
|
+
/**
|
|
1230
|
+
* 容量
|
|
1231
|
+
*/
|
|
1232
|
+
Limit: number;
|
|
1233
|
+
/**
|
|
1234
|
+
* 过滤数组
|
|
1235
|
+
*/
|
|
1236
|
+
Filters?: Array<FiltersItemNew>;
|
|
1237
|
+
}
|
|
1071
1238
|
/**
|
|
1072
1239
|
* 用于DescribeAccessIndex接口的出参
|
|
1073
1240
|
*/
|
|
@@ -1114,37 +1281,50 @@ export interface DeleteIpAccessControlResponse {
|
|
|
1114
1281
|
RequestId?: string;
|
|
1115
1282
|
}
|
|
1116
1283
|
/**
|
|
1117
|
-
*
|
|
1284
|
+
* 单条日志数据描述
|
|
1118
1285
|
*/
|
|
1119
|
-
export interface
|
|
1286
|
+
export interface AccessLogInfo {
|
|
1120
1287
|
/**
|
|
1121
|
-
|
|
1122
|
-
|
|
1288
|
+
* 日志时间,单位ms
|
|
1289
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1290
|
+
*/
|
|
1291
|
+
Time: number;
|
|
1292
|
+
/**
|
|
1293
|
+
* 日志主题ID
|
|
1294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1295
|
+
*/
|
|
1123
1296
|
TopicId: string;
|
|
1124
1297
|
/**
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1298
|
+
* 日志主题名称
|
|
1299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1300
|
+
*/
|
|
1301
|
+
TopicName: string;
|
|
1128
1302
|
/**
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1303
|
+
* 日志来源IP
|
|
1304
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1305
|
+
*/
|
|
1306
|
+
Source: string;
|
|
1132
1307
|
/**
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1308
|
+
* 日志文件名称
|
|
1309
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1310
|
+
*/
|
|
1311
|
+
FileName: string;
|
|
1136
1312
|
/**
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1313
|
+
* 日志上报请求包的ID
|
|
1314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1315
|
+
*/
|
|
1316
|
+
PkgId: string;
|
|
1140
1317
|
/**
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1318
|
+
* 请求包内日志的ID
|
|
1319
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1320
|
+
*/
|
|
1321
|
+
PkgLogId: string;
|
|
1144
1322
|
/**
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1323
|
+
* 日志内容的Json序列化字符串
|
|
1324
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1325
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1326
|
+
*/
|
|
1327
|
+
LogJson: string;
|
|
1148
1328
|
}
|
|
1149
1329
|
/**
|
|
1150
1330
|
* 用于 DescribeAccessIndex 的出参
|
|
@@ -1202,6 +1382,46 @@ export interface AddCustomRuleRequest {
|
|
|
1202
1382
|
*/
|
|
1203
1383
|
Bypass?: string;
|
|
1204
1384
|
}
|
|
1385
|
+
/**
|
|
1386
|
+
* 业务安全资源信息
|
|
1387
|
+
*/
|
|
1388
|
+
export interface FraudPkg {
|
|
1389
|
+
/**
|
|
1390
|
+
* 资源id
|
|
1391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1392
|
+
*/
|
|
1393
|
+
ResourceIds?: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* 状态
|
|
1396
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1397
|
+
*/
|
|
1398
|
+
Status?: number;
|
|
1399
|
+
/**
|
|
1400
|
+
* 地域
|
|
1401
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1402
|
+
*/
|
|
1403
|
+
Region?: number;
|
|
1404
|
+
/**
|
|
1405
|
+
* 开始时间
|
|
1406
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1407
|
+
*/
|
|
1408
|
+
BeginTime?: string;
|
|
1409
|
+
/**
|
|
1410
|
+
* 结束时间
|
|
1411
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1412
|
+
*/
|
|
1413
|
+
EndTime?: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* 申请数量
|
|
1416
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1417
|
+
*/
|
|
1418
|
+
InquireNum?: number;
|
|
1419
|
+
/**
|
|
1420
|
+
* 使用数量
|
|
1421
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1422
|
+
*/
|
|
1423
|
+
UsedNum?: number;
|
|
1424
|
+
}
|
|
1205
1425
|
/**
|
|
1206
1426
|
* DescribeCustomRules请求参数结构体
|
|
1207
1427
|
*/
|
|
@@ -1296,29 +1516,33 @@ export interface ExportAccessInfo {
|
|
|
1296
1516
|
CreateTime: string;
|
|
1297
1517
|
}
|
|
1298
1518
|
/**
|
|
1299
|
-
*
|
|
1519
|
+
* ModifyDomainWhiteRule请求参数结构体
|
|
1300
1520
|
*/
|
|
1301
|
-
export interface
|
|
1521
|
+
export interface ModifyDomainWhiteRuleRequest {
|
|
1302
1522
|
/**
|
|
1303
|
-
*
|
|
1523
|
+
* 需要更改的规则的域名
|
|
1304
1524
|
*/
|
|
1305
1525
|
Domain: string;
|
|
1306
1526
|
/**
|
|
1307
|
-
*
|
|
1527
|
+
* 白名单id
|
|
1308
1528
|
*/
|
|
1309
|
-
|
|
1529
|
+
Id: number;
|
|
1310
1530
|
/**
|
|
1311
|
-
*
|
|
1531
|
+
* 规则的id列表
|
|
1312
1532
|
*/
|
|
1313
|
-
|
|
1533
|
+
Rules: Array<number>;
|
|
1314
1534
|
/**
|
|
1315
|
-
*
|
|
1535
|
+
* 规则匹配路径
|
|
1316
1536
|
*/
|
|
1317
|
-
|
|
1537
|
+
Url: string;
|
|
1318
1538
|
/**
|
|
1319
|
-
*
|
|
1539
|
+
* 规则匹配方法
|
|
1320
1540
|
*/
|
|
1321
|
-
|
|
1541
|
+
Function: string;
|
|
1542
|
+
/**
|
|
1543
|
+
* 规则的开关状态
|
|
1544
|
+
*/
|
|
1545
|
+
Status: number;
|
|
1322
1546
|
}
|
|
1323
1547
|
/**
|
|
1324
1548
|
* DescribeAccessFastAnalysis返回参数结构体
|
|
@@ -1377,13 +1601,17 @@ export interface AutoDenyDetail {
|
|
|
1377
1601
|
LastUpdateTime?: string;
|
|
1378
1602
|
}
|
|
1379
1603
|
/**
|
|
1380
|
-
*
|
|
1604
|
+
* 响应体的返回码
|
|
1381
1605
|
*/
|
|
1382
|
-
export interface
|
|
1606
|
+
export interface ResponseCode {
|
|
1383
1607
|
/**
|
|
1384
|
-
*
|
|
1608
|
+
* 如果成功则返回Success,失败则返回yunapi定义的错误码
|
|
1385
1609
|
*/
|
|
1386
|
-
|
|
1610
|
+
Code: string;
|
|
1611
|
+
/**
|
|
1612
|
+
* 如果成功则返回Success,失败则返回WAF定义的二级错误码
|
|
1613
|
+
*/
|
|
1614
|
+
Message: string;
|
|
1387
1615
|
}
|
|
1388
1616
|
/**
|
|
1389
1617
|
* ModifyWafThreatenIntelligence请求参数结构体
|
|
@@ -1748,50 +1976,37 @@ export interface BotStatPointItem {
|
|
|
1748
1976
|
Label: string;
|
|
1749
1977
|
}
|
|
1750
1978
|
/**
|
|
1751
|
-
*
|
|
1979
|
+
* SearchAccessLog请求参数结构体
|
|
1752
1980
|
*/
|
|
1753
|
-
export interface
|
|
1754
|
-
/**
|
|
1755
|
-
* 日志时间,单位ms
|
|
1756
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1757
|
-
*/
|
|
1758
|
-
Time: number;
|
|
1981
|
+
export interface SearchAccessLogRequest {
|
|
1759
1982
|
/**
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
*/
|
|
1983
|
+
* 客户要查询的日志主题ID,每个客户都有对应的一个主题
|
|
1984
|
+
*/
|
|
1763
1985
|
TopicId: string;
|
|
1764
1986
|
/**
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
TopicName: string;
|
|
1987
|
+
* 要查询的日志的起始时间,Unix时间戳,单位ms
|
|
1988
|
+
*/
|
|
1989
|
+
From: number;
|
|
1769
1990
|
/**
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
Source: string;
|
|
1991
|
+
* 要查询的日志的结束时间,Unix时间戳,单位ms
|
|
1992
|
+
*/
|
|
1993
|
+
To: number;
|
|
1774
1994
|
/**
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
FileName: string;
|
|
1995
|
+
* 查询语句,语句长度最大为4096
|
|
1996
|
+
*/
|
|
1997
|
+
Query: string;
|
|
1779
1998
|
/**
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
PkgId: string;
|
|
1999
|
+
* 单次查询返回的日志条数,最大值为100
|
|
2000
|
+
*/
|
|
2001
|
+
Limit?: number;
|
|
1784
2002
|
/**
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
PkgLogId: string;
|
|
2003
|
+
* 加载更多日志时使用,透传上次返回的Context值,获取后续的日志内容
|
|
2004
|
+
*/
|
|
2005
|
+
Context?: string;
|
|
1789
2006
|
/**
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
*/
|
|
1794
|
-
LogJson: string;
|
|
2007
|
+
* 日志接口是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
|
|
2008
|
+
*/
|
|
2009
|
+
Sort?: string;
|
|
1795
2010
|
}
|
|
1796
2011
|
/**
|
|
1797
2012
|
* DescribeAccessIndex接口的出参
|
|
@@ -1825,6 +2040,46 @@ export interface DescribeDomainsRequest {
|
|
|
1825
2040
|
*/
|
|
1826
2041
|
Filters?: Array<FiltersItemNew>;
|
|
1827
2042
|
}
|
|
2043
|
+
/**
|
|
2044
|
+
* Bot资源信息
|
|
2045
|
+
*/
|
|
2046
|
+
export interface BotPkg {
|
|
2047
|
+
/**
|
|
2048
|
+
* 资源id
|
|
2049
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2050
|
+
*/
|
|
2051
|
+
ResourceIds?: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* 状态
|
|
2054
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2055
|
+
*/
|
|
2056
|
+
Status?: number;
|
|
2057
|
+
/**
|
|
2058
|
+
* 地域
|
|
2059
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2060
|
+
*/
|
|
2061
|
+
Region?: number;
|
|
2062
|
+
/**
|
|
2063
|
+
* 开始时间
|
|
2064
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2065
|
+
*/
|
|
2066
|
+
BeginTime?: string;
|
|
2067
|
+
/**
|
|
2068
|
+
* 结束时间
|
|
2069
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2070
|
+
*/
|
|
2071
|
+
EndTime?: string;
|
|
2072
|
+
/**
|
|
2073
|
+
* 申请数量
|
|
2074
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2075
|
+
*/
|
|
2076
|
+
InquireNum?: number;
|
|
2077
|
+
/**
|
|
2078
|
+
* 使用数量
|
|
2079
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2080
|
+
*/
|
|
2081
|
+
UsedNum?: number;
|
|
2082
|
+
}
|
|
1828
2083
|
/**
|
|
1829
2084
|
* ModifyWafThreatenIntelligence返回参数结构体
|
|
1830
2085
|
*/
|