tencentcloud-sdk-nodejs-teo 4.0.359 → 4.0.362

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.
@@ -9,6 +9,36 @@ export interface Compression {
9
9
  */
10
10
  Switch: string;
11
11
  }
12
+ /**
13
+ * web攻击日志Data
14
+ */
15
+ export interface WebLogData {
16
+ /**
17
+ * 数据
18
+ 注意:此字段可能返回 null,表示取不到有效值。
19
+ */
20
+ List: Array<WebLogs>;
21
+ /**
22
+ * 当前页
23
+ 注意:此字段可能返回 null,表示取不到有效值。
24
+ */
25
+ PageNo: number;
26
+ /**
27
+ * 每页展示条数
28
+ 注意:此字段可能返回 null,表示取不到有效值。
29
+ */
30
+ PageSize: number;
31
+ /**
32
+ * 总页数
33
+ 注意:此字段可能返回 null,表示取不到有效值。
34
+ */
35
+ Pages: number;
36
+ /**
37
+ * 总条数
38
+ 注意:此字段可能返回 null,表示取不到有效值。
39
+ */
40
+ TotalSize: number;
41
+ }
12
42
  /**
13
43
  * 域名证书配置
14
44
  */
@@ -110,76 +140,21 @@ export interface ModifyDefaultCertificateRequest {
110
140
  Status?: string;
111
141
  }
112
142
  /**
113
- * DescribeZoneDetails返回参数结构体
143
+ * DescribeWebManagedRulesTopData返回参数结构体
114
144
  */
115
- export interface DescribeZoneDetailsResponse {
116
- /**
117
- * 站点 ID
118
- */
119
- Id: string;
120
- /**
121
- * 站点名称
122
- */
123
- Name: string;
124
- /**
125
- * 用户当前使用的 NS 列表
126
- 注意:此字段可能返回 null,表示取不到有效值。
127
- */
128
- OriginalNameServers: Array<string>;
129
- /**
130
- * 腾讯云分配给用户的 NS 列表
131
- 注意:此字段可能返回 null,表示取不到有效值。
132
- */
133
- NameServers: Array<string>;
134
- /**
135
- * 站点状态
136
- - active:NS 已切换
137
- - pending:NS 未切换
138
- - moved:NS 已切走
139
- - deactivated:被封禁
140
- */
141
- Status: string;
142
- /**
143
- * 站点接入方式
144
- - full:NS 接入
145
- - partial:CNAME 接入
146
- */
147
- Type: string;
145
+ export interface DescribeWebManagedRulesTopDataResponse {
148
146
  /**
149
- * 站点是否关闭
147
+ * topn数据
150
148
  */
151
- Paused: boolean;
149
+ Data: Array<TopNEntry>;
152
150
  /**
153
- * 站点创建时间
151
+ * 状态,1:失败,0:成功
154
152
  */
155
- CreatedOn: string;
153
+ Status: number;
156
154
  /**
157
- * 站点修改时间
155
+ * 返回消息
158
156
  */
159
- ModifiedOn: string;
160
- /**
161
- * 用户自定义 NS 信息
162
- 注意:此字段可能返回 null,表示取不到有效值。
163
- */
164
- VanityNameServers: VanityNameServers;
165
- /**
166
- * 用户自定义 NS IP 信息
167
- 注意:此字段可能返回 null,表示取不到有效值。
168
- */
169
- VanityNameServersIps: Array<VanityNameServersIps>;
170
- /**
171
- * 是否开启 CNAME 加速
172
- - enabled:开启
173
- - disabled:关闭
174
- */
175
- CnameSpeedUp: string;
176
- /**
177
- * cname切换验证状态
178
- - finished 切换完成
179
- - pending 切换验证中
180
- 注意:此字段可能返回 null,表示取不到有效值。
181
- */
182
- CnameStatus: string;
157
+ Msg: string;
183
158
  /**
184
159
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
185
160
  */
@@ -202,6 +177,43 @@ export interface DescribeOriginGroupResponse {
202
177
  */
203
178
  RequestId?: string;
204
179
  }
180
+ /**
181
+ * DescribeWebManagedRulesAttackEvents返回参数结构体
182
+ */
183
+ export interface DescribeWebManagedRulesAttackEventsResponse {
184
+ /**
185
+ * Web攻击事件数据
186
+ */
187
+ Data: WebEventData;
188
+ /**
189
+ * 状态,1:失败,0:成功
190
+ */
191
+ Status: number;
192
+ /**
193
+ * 返回数据
194
+ */
195
+ Msg: string;
196
+ /**
197
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
198
+ */
199
+ RequestId?: string;
200
+ }
201
+ /**
202
+ * 浏览器缓存规则配置,用于设置 MaxAge 默认值,默认为关闭状态
203
+ */
204
+ export interface MaxAge {
205
+ /**
206
+ * MaxAge 时间设置,单位秒,最大365天
207
+ 注意:时间为0,即不缓存。
208
+ 注意:此字段可能返回 null,表示取不到有效值。
209
+ */
210
+ MaxAgeTime?: number;
211
+ /**
212
+ * 是否遵循源站,on或off,开启时忽略时间设置。
213
+ 注意:此字段可能返回 null,表示取不到有效值。
214
+ */
215
+ FollowOrigin?: string;
216
+ }
205
217
  /**
206
218
  * DeleteApplicationProxy返回参数结构体
207
219
  */
@@ -245,6 +257,27 @@ export interface Https {
245
257
  */
246
258
  Hsts?: Hsts;
247
259
  }
260
+ /**
261
+ * 安全防护实例
262
+ */
263
+ export interface SecurityEntity {
264
+ /**
265
+ * 用户appid
266
+ */
267
+ AppId: number;
268
+ /**
269
+ * 一级域名
270
+ */
271
+ ZoneId: string;
272
+ /**
273
+ * 二级域名
274
+ */
275
+ Entity: string;
276
+ /**
277
+ * 类型 domain/application
278
+ */
279
+ EntityType: string;
280
+ }
248
281
  /**
249
282
  * 源站组查询过滤参数
250
283
  */
@@ -259,17 +292,66 @@ export interface OriginFilter {
259
292
  Value: string;
260
293
  }
261
294
  /**
262
- * DescribeOriginGroupDetail请求参数结构体
295
+ * 限速拦截日志
263
296
  */
264
- export interface DescribeOriginGroupDetailRequest {
297
+ export interface BotLogData {
265
298
  /**
266
- * 源站组ID
299
+ * Bot攻击日志数据集合
300
+ 注意:此字段可能返回 null,表示取不到有效值。
301
+ */
302
+ List: Array<BotLog>;
303
+ /**
304
+ * 当前页
305
+ 注意:此字段可能返回 null,表示取不到有效值。
306
+ */
307
+ PageNo: number;
308
+ /**
309
+ * 每页展示条数
310
+ 注意:此字段可能返回 null,表示取不到有效值。
311
+ */
312
+ PageSize: number;
313
+ /**
314
+ * 总页数
315
+ 注意:此字段可能返回 null,表示取不到有效值。
316
+ */
317
+ Pages: number;
318
+ /**
319
+ * 总条数
320
+ 注意:此字段可能返回 null,表示取不到有效值。
321
+ */
322
+ TotalSize: number;
323
+ }
324
+ /**
325
+ * DescribeZones请求参数结构体
326
+ */
327
+ export interface DescribeZonesRequest {
328
+ /**
329
+ * 分页参数,页偏移
267
330
  */
268
- OriginId: string;
331
+ Offset?: number;
269
332
  /**
270
- * 站点ID
333
+ * 分页参数,每页返回的站点个数
271
334
  */
272
- ZoneId: string;
335
+ Limit?: number;
336
+ /**
337
+ * 查询条件过滤器,复杂类型
338
+ */
339
+ Filters?: Array<ZoneFilter>;
340
+ }
341
+ /**
342
+ * 速率限制模板
343
+ */
344
+ export interface RateLimitTemplate {
345
+ /**
346
+ * 模板名称
347
+ 注意:此字段可能返回 null,表示取不到有效值。
348
+ */
349
+ Mode?: string;
350
+ /**
351
+ * 模板值详情
352
+ 注意:此字段可能返回 null,表示取不到有效值。
353
+ */
354
+ Detail?: RateLimitTemplateDetail;
273
355
  }
274
356
  /**
275
357
  * DDoS防护分区
@@ -388,6 +470,27 @@ export interface DescribePrefetchTasksResponse {
388
470
  */
389
471
  RequestId?: string;
390
472
  }
473
+ /**
474
+ * DescribeDDosAttackEvent返回参数结构体
475
+ */
476
+ export interface DescribeDDosAttackEventResponse {
477
+ /**
478
+ * DDos攻击事件数据
479
+ */
480
+ Data: DDosAttackEventData;
481
+ /**
482
+ * 状态,1:失败,0:成功
483
+ */
484
+ Status: number;
485
+ /**
486
+ * 返回信息
487
+ */
488
+ Msg: string;
489
+ /**
490
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
491
+ */
492
+ RequestId?: string;
493
+ }
391
494
  /**
392
495
  * DeleteApplicationProxy请求参数结构体
393
496
  */
@@ -748,38 +851,175 @@ export interface ModifyOriginGroupResponse {
748
851
  RequestId?: string;
749
852
  }
750
853
  /**
751
- * 内容管理任务结果
854
+ * DescribeZoneDetails返回参数结构体
752
855
  */
753
- export interface Task {
856
+ export interface DescribeZoneDetailsResponse {
754
857
  /**
755
- * 任务ID
858
+ * 站点 ID
756
859
  */
757
- JobId: string;
860
+ Id: string;
758
861
  /**
759
- * 状态
862
+ * 站点名称
760
863
  */
761
- Status: string;
864
+ Name: string;
762
865
  /**
763
- * 资源
764
- */
765
- Target: string;
866
+ * 用户当前使用的 NS 列表
867
+ 注意:此字段可能返回 null,表示取不到有效值。
868
+ */
869
+ OriginalNameServers: Array<string>;
766
870
  /**
767
- * 任务类型
768
- */
871
+ * 腾讯云分配给用户的 NS 列表
872
+ 注意:此字段可能返回 null,表示取不到有效值。
873
+ */
874
+ NameServers: Array<string>;
875
+ /**
876
+ * 站点状态
877
+ - active:NS 已切换
878
+ - pending:NS 未切换
879
+ - moved:NS 已切走
880
+ - deactivated:被封禁
881
+ */
882
+ Status: string;
883
+ /**
884
+ * 站点接入方式
885
+ - full:NS 接入
886
+ - partial:CNAME 接入
887
+ */
769
888
  Type: string;
770
889
  /**
771
- * 任务创建时间
890
+ * 站点是否关闭
772
891
  */
773
- CreateTime: string;
892
+ Paused: boolean;
774
893
  /**
775
- * 任务完成时间
894
+ * 站点创建时间
776
895
  */
777
- UpdateTime: string;
778
- }
779
- /**
780
- * 源站配置。
781
- */
782
- export interface Origin {
896
+ CreatedOn: string;
897
+ /**
898
+ * 站点修改时间
899
+ */
900
+ ModifiedOn: string;
901
+ /**
902
+ * 用户自定义 NS 信息
903
+ 注意:此字段可能返回 null,表示取不到有效值。
904
+ */
905
+ VanityNameServers: VanityNameServers;
906
+ /**
907
+ * 用户自定义 NS IP 信息
908
+ 注意:此字段可能返回 null,表示取不到有效值。
909
+ */
910
+ VanityNameServersIps: Array<VanityNameServersIps>;
911
+ /**
912
+ * 是否开启 CNAME 加速
913
+ - enabled:开启
914
+ - disabled:关闭
915
+ */
916
+ CnameSpeedUp: string;
917
+ /**
918
+ * cname切换验证状态
919
+ - finished 切换完成
920
+ - pending 切换验证中
921
+ 注意:此字段可能返回 null,表示取不到有效值。
922
+ */
923
+ CnameStatus: string;
924
+ /**
925
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
926
+ */
927
+ RequestId?: string;
928
+ }
929
+ /**
930
+ * Bot攻击日志
931
+ */
932
+ export interface BotLog {
933
+ /**
934
+ * 攻击时间
935
+ 注意:此字段可能返回 null,表示取不到有效值。
936
+ */
937
+ AttackTime: number;
938
+ /**
939
+ * 攻击ip
940
+ 注意:此字段可能返回 null,表示取不到有效值。
941
+ */
942
+ AttackIp: string;
943
+ /**
944
+ * 域名
945
+ 注意:此字段可能返回 null,表示取不到有效值。
946
+ */
947
+ Domain: string;
948
+ /**
949
+ * 请求uri
950
+ 注意:此字段可能返回 null,表示取不到有效值。
951
+ */
952
+ RequestUri: string;
953
+ /**
954
+ * 攻击类型
955
+ 注意:此字段可能返回 null,表示取不到有效值。
956
+ */
957
+ AttackType: string;
958
+ /**
959
+ * 请求方法
960
+ 注意:此字段可能返回 null,表示取不到有效值。
961
+ */
962
+ RequestMethod: string;
963
+ /**
964
+ * 攻击内容
965
+ 注意:此字段可能返回 null,表示取不到有效值。
966
+ */
967
+ AttackContent: string;
968
+ /**
969
+ * 风险等级
970
+ 注意:此字段可能返回 null,表示取不到有效值。
971
+ */
972
+ RiskLevel: string;
973
+ /**
974
+ * 规则编号
975
+ 注意:此字段可能返回 null,表示取不到有效值。
976
+ */
977
+ RuleId: number;
978
+ /**
979
+ * IP所在国家
980
+ 注意:此字段可能返回 null,表示取不到有效值。
981
+ */
982
+ SipCountryCode: string;
983
+ /**
984
+ * 事件id
985
+ 注意:此字段可能返回 null,表示取不到有效值。
986
+ */
987
+ EventId: string;
988
+ /**
989
+ * 处置方式
990
+ 注意:此字段可能返回 null,表示取不到有效值。
991
+ */
992
+ DisposalMethod: string;
993
+ /**
994
+ * http_log
995
+ 注意:此字段可能返回 null,表示取不到有效值。
996
+ */
997
+ HttpLog: string;
998
+ /**
999
+ * user agent
1000
+ 注意:此字段可能返回 null,表示取不到有效值。
1001
+ */
1002
+ Ua: string;
1003
+ /**
1004
+ * 检出方法
1005
+ 注意:此字段可能返回 null,表示取不到有效值。
1006
+ */
1007
+ DetectionMethod: string;
1008
+ /**
1009
+ * 置信度
1010
+ 注意:此字段可能返回 null,表示取不到有效值。
1011
+ */
1012
+ Confidence: string;
1013
+ /**
1014
+ * 恶意度
1015
+ 注意:此字段可能返回 null,表示取不到有效值。
1016
+ */
1017
+ Maliciousness: string;
1018
+ }
1019
+ /**
1020
+ * 源站配置。
1021
+ */
1022
+ export interface Origin {
783
1023
  /**
784
1024
  * 回源协议配置
785
1025
  http:强制 http 回源
@@ -837,6 +1077,19 @@ export interface DescribeSecurityPolicyManagedRulesRequest {
837
1077
  */
838
1078
  PerPage: number;
839
1079
  }
1080
+ /**
1081
+ * DescribeSecurityPortraitRules请求参数结构体
1082
+ */
1083
+ export interface DescribeSecurityPortraitRulesRequest {
1084
+ /**
1085
+ * 一级域名
1086
+ */
1087
+ ZoneId: string;
1088
+ /**
1089
+ * 子域名/应用名
1090
+ */
1091
+ Entity: string;
1092
+ }
840
1093
  /**
841
1094
  * 查询结果排序条件。
842
1095
  */
@@ -974,6 +1227,39 @@ export interface ModifyZoneResponse {
974
1227
  */
975
1228
  RequestId?: string;
976
1229
  }
1230
+ /**
1231
+ * DescribeDDosAttackSourceEvent请求参数结构体
1232
+ */
1233
+ export interface DescribeDDosAttackSourceEventRequest {
1234
+ /**
1235
+ * 开始时间
1236
+ */
1237
+ StartTime: string;
1238
+ /**
1239
+ * 结束时间
1240
+ */
1241
+ EndTime: string;
1242
+ /**
1243
+ * 条数
1244
+ */
1245
+ PageSize: number;
1246
+ /**
1247
+ * 当前页
1248
+ */
1249
+ PageNo: number;
1250
+ /**
1251
+ * ddos策略组id 集合
1252
+ */
1253
+ PolicyIds?: Array<number>;
1254
+ /**
1255
+ * 站点集合
1256
+ */
1257
+ ZoneIds?: Array<string>;
1258
+ /**
1259
+ * 协议类型,{tcp,udp,all}
1260
+ */
1261
+ ProtocolType?: string;
1262
+ }
977
1263
  /**
978
1264
  * ModifyZone请求参数结构体
979
1265
  */
@@ -1007,21 +1293,34 @@ export interface DeleteZoneResponse {
1007
1293
  RequestId?: string;
1008
1294
  }
1009
1295
  /**
1010
- * ModifyHostsCertificate请求参数结构体
1296
+ * DDos攻击事件数据
1011
1297
  */
1012
- export interface ModifyHostsCertificateRequest {
1298
+ export interface DDosAttackEventData {
1013
1299
  /**
1014
- * Zone ID
1015
- */
1016
- ZoneId: string;
1300
+ * 攻击事件数据集合
1301
+ 注意:此字段可能返回 null,表示取不到有效值。
1302
+ */
1303
+ List: Array<DDosAttackEvent>;
1017
1304
  /**
1018
- * 本次变更的域名
1019
- */
1020
- Hosts: Array<string>;
1305
+ * 当前页
1306
+ 注意:此字段可能返回 null,表示取不到有效值。
1307
+ */
1308
+ PageNo: number;
1021
1309
  /**
1022
- * 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书
1023
- */
1024
- CertInfo?: Array<ServerCertInfo>;
1310
+ * 每页展示条数
1311
+ 注意:此字段可能返回 null,表示取不到有效值。
1312
+ */
1313
+ PageSize: number;
1314
+ /**
1315
+ * 总页数
1316
+ 注意:此字段可能返回 null,表示取不到有效值。
1317
+ */
1318
+ Pages: number;
1319
+ /**
1320
+ * 总条数
1321
+ 注意:此字段可能返回 null,表示取不到有效值。
1322
+ */
1323
+ TotalSize: number;
1025
1324
  }
1026
1325
  /**
1027
1326
  * Hsts配置
@@ -1078,6 +1377,45 @@ export interface DeleteApplicationProxyRuleResponse {
1078
1377
  */
1079
1378
  RequestId?: string;
1080
1379
  }
1380
+ /**
1381
+ * DDos攻击事件对象
1382
+ */
1383
+ export interface DDosAttackSourceEvent {
1384
+ /**
1385
+ * 攻击源ip
1386
+ 注意:此字段可能返回 null,表示取不到有效值。
1387
+ */
1388
+ AttackSourceIp: string;
1389
+ /**
1390
+ * 地区(国家)
1391
+ 注意:此字段可能返回 null,表示取不到有效值。
1392
+ */
1393
+ AttackRegion: string;
1394
+ /**
1395
+ * 累计攻击流量
1396
+ 注意:此字段可能返回 null,表示取不到有效值。
1397
+ */
1398
+ AttackFlow: number;
1399
+ /**
1400
+ * 累计攻击包量
1401
+ 注意:此字段可能返回 null,表示取不到有效值。
1402
+ */
1403
+ AttackPacketNum: number;
1404
+ }
1405
+ /**
1406
+ * L7数据分析时序数据
1407
+ */
1408
+ export interface TimingDataRecord {
1409
+ /**
1410
+ * 查询维度值
1411
+ */
1412
+ TypeKey: string;
1413
+ /**
1414
+ * 详细时序数据
1415
+ 注意:此字段可能返回 null,表示取不到有效值。
1416
+ */
1417
+ TypeValue: Array<TimingTypeValue>;
1418
+ }
1081
1419
  /**
1082
1420
  * ddos端口过滤
1083
1421
  */
@@ -1104,6 +1442,19 @@ export interface DeleteOriginGroupRequest {
1104
1442
  */
1105
1443
  ZoneId: string;
1106
1444
  }
1445
+ /**
1446
+ * 用于对top数据排序的结构体
1447
+ */
1448
+ export interface TopDetailData {
1449
+ /**
1450
+ * 字段名
1451
+ */
1452
+ Key: string;
1453
+ /**
1454
+ * 字段值
1455
+ */
1456
+ Value: number;
1457
+ }
1107
1458
  /**
1108
1459
  * ModifyHostsCertificate返回参数结构体
1109
1460
  */
@@ -1146,6 +1497,36 @@ export interface CreateDnsRecordRequest {
1146
1497
  */
1147
1498
  Priority?: number;
1148
1499
  }
1500
+ /**
1501
+ * 用户画像规则详情
1502
+ */
1503
+ export interface PortraitManagedRuleDetail {
1504
+ /**
1505
+ * 规则唯一id
1506
+ 注意:此字段可能返回 null,表示取不到有效值。
1507
+ */
1508
+ RuleId?: number;
1509
+ /**
1510
+ * 规则的描述
1511
+ 注意:此字段可能返回 null,表示取不到有效值。
1512
+ */
1513
+ Description?: string;
1514
+ /**
1515
+ * 规则所属类型的名字, botdb(用户画像)
1516
+ 注意:此字段可能返回 null,表示取不到有效值。
1517
+ */
1518
+ RuleTypeName?: string;
1519
+ /**
1520
+ * 规则内的功能分类Id(扫描器,Bot行为等)
1521
+ 注意:此字段可能返回 null,表示取不到有效值。
1522
+ */
1523
+ ClassificationId?: number;
1524
+ /**
1525
+ * 规则当前所属动作状态(block, alg, ...)
1526
+ 注意:此字段可能返回 null,表示取不到有效值。
1527
+ */
1528
+ Status?: string;
1529
+ }
1149
1530
  /**
1150
1531
  * 离线日志详细信息
1151
1532
  */
@@ -1177,22 +1558,21 @@ export interface L7OfflineLog {
1177
1558
  LogPacketName: string;
1178
1559
  }
1179
1560
  /**
1180
- * Waf规则
1561
+ * ModifyHostsCertificate请求参数结构体
1181
1562
  */
1182
- export interface WafRule {
1563
+ export interface ModifyHostsCertificateRequest {
1183
1564
  /**
1184
- * 黑名单
1565
+ * Zone ID
1185
1566
  */
1186
- BlockRuleIDs: Array<number>;
1567
+ ZoneId: string;
1187
1568
  /**
1188
- * id的开关
1569
+ * 本次变更的域名
1189
1570
  */
1190
- Switch: string;
1571
+ Hosts: Array<string>;
1191
1572
  /**
1192
- * 观察模式
1193
- 注意:此字段可能返回 null,表示取不到有效值。
1194
- */
1195
- ObserveRuleIDs?: Array<number>;
1573
+ * 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书
1574
+ */
1575
+ CertInfo?: Array<ServerCertInfo>;
1196
1576
  }
1197
1577
  /**
1198
1578
  * 应用代理规则
@@ -1338,6 +1718,25 @@ export interface Zone {
1338
1718
  */
1339
1719
  CnameStatus: string;
1340
1720
  }
1721
+ /**
1722
+ * 站点查询过滤条件
1723
+ */
1724
+ export interface ZoneFilter {
1725
+ /**
1726
+ * 过滤字段名,支持的列表如下:
1727
+ - name: 站点名。
1728
+ - status: 站点状态
1729
+ */
1730
+ Name: string;
1731
+ /**
1732
+ * 过滤字段值
1733
+ */
1734
+ Values: Array<string>;
1735
+ /**
1736
+ * 是否启用模糊查询,仅支持过滤字段名为name。模糊查询时,Values长度最大为1
1737
+ */
1738
+ Fuzzy?: boolean;
1739
+ }
1341
1740
  /**
1342
1741
  * DescribeSecurityPolicyManagedRulesId请求参数结构体
1343
1742
  */
@@ -1442,20 +1841,32 @@ export interface ModifyLoadBalancingStatusRequest {
1442
1841
  Status: string;
1443
1842
  }
1444
1843
  /**
1445
- * Quic配置项
1844
+ * DescribeDDosAttackTopData返回参数结构体
1446
1845
  */
1447
- export interface Quic {
1846
+ export interface DescribeDDosAttackTopDataResponse {
1448
1847
  /**
1449
- * 是否启动Quic配置
1848
+ * topn数据
1450
1849
  */
1451
- Switch: string;
1452
- }
1453
- /**
1454
- * DescribeCnameStatus返回参数结构体
1455
- */
1456
- export interface DescribeCnameStatusResponse {
1850
+ Data: Array<TopNEntry>;
1457
1851
  /**
1458
- * 状态列表
1852
+ * 状态,1:失败,0:成功
1853
+ */
1854
+ Status: number;
1855
+ /**
1856
+ * 返回消息
1857
+ */
1858
+ Msg: string;
1859
+ /**
1860
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1861
+ */
1862
+ RequestId?: string;
1863
+ }
1864
+ /**
1865
+ * DescribeCnameStatus返回参数结构体
1866
+ */
1867
+ export interface DescribeCnameStatusResponse {
1868
+ /**
1869
+ * 状态列表
1459
1870
  */
1460
1871
  Status: Array<CnameStatus>;
1461
1872
  /**
@@ -1502,62 +1913,23 @@ export interface DescribeLoadBalancingRequest {
1502
1913
  Fuzzy?: boolean;
1503
1914
  }
1504
1915
  /**
1505
- * ModifyApplicationProxyRule请求参数结构体
1916
+ * CC拦截事件
1506
1917
  */
1507
- export interface ModifyApplicationProxyRuleRequest {
1508
- /**
1509
- * 站点ID
1510
- */
1511
- ZoneId: string;
1512
- /**
1513
- * 代理ID
1514
- */
1515
- ProxyId: string;
1516
- /**
1517
- * 规则ID
1518
- */
1519
- RuleId: string;
1520
- /**
1521
- * 协议,取值为TCP或者UDP
1522
- */
1523
- Proto: string;
1918
+ export interface CCInterceptEvent {
1524
1919
  /**
1525
- * 端口,支持格式:
1526
- 80:80端口
1527
- 81-90:81至90端口
1528
- */
1529
- Port: Array<string>;
1530
- /**
1531
- * 源站类型,取值:
1532
- custom:手动添加
1533
- origins:源站组
1534
- load_balancing:负载均衡
1535
- */
1536
- OriginType: string;
1537
- /**
1538
- * 源站信息:
1539
- 当OriginType=custom时,表示多个:
1540
- IP:端口
1541
- 域名:端口
1542
- 当OriginType=origins时,包含一个元素,表示源站组ID
1543
- 当OriginType=load_balancing时,包含一个元素,表示负载均衡ID
1920
+ * 客户端ip
1921
+ 注意:此字段可能返回 null,表示取不到有效值。
1544
1922
  */
1545
- OriginValue: Array<string>;
1923
+ ClientIp: string;
1546
1924
  /**
1547
- * 传递客户端IP,当Proto=TCP时,取值:
1548
- TOA:TOA
1549
- PPV1: Proxy Protocol传递,协议版本V1
1550
- PPV2: Proxy Protocol传递,协议版本V2
1551
- OFF:不传递
1552
- 当Proto=UDP时,取值:
1553
- PPV2: Proxy Protocol传递,协议版本V2
1554
- OFF:不传递
1925
+ * 拦截次数/min
1926
+ 注意:此字段可能返回 null,表示取不到有效值。
1555
1927
  */
1556
- ForwardClientIp?: string;
1928
+ InterceptNum: number;
1557
1929
  /**
1558
- * 是否开启会话保持
1930
+ * 速拦截时间,分钟时间/min,单位为s
1559
1931
  */
1560
- SessionPersist?: boolean;
1932
+ InterceptTime: number;
1561
1933
  }
1562
1934
  /**
1563
1935
  * DDoS封禁等级
@@ -1577,25 +1949,17 @@ export interface DDoSStatusInfo {
1577
1949
  PlyLevel: string;
1578
1950
  }
1579
1951
  /**
1580
- * CNAME 状态
1952
+ * ACL配置
1581
1953
  */
1582
- export interface CnameStatus {
1954
+ export interface AclConfig {
1583
1955
  /**
1584
- * 记录名称
1956
+ * 开关
1585
1957
  */
1586
- Name: string;
1587
- /**
1588
- * CNAME 地址
1589
- 注意:此字段可能返回 null,表示取不到有效值。
1590
- */
1591
- Cname: string;
1958
+ Switch: string;
1592
1959
  /**
1593
- * 状态
1594
- 生效:active
1595
- 不生效:moved
1596
- 注意:此字段可能返回 null,表示取不到有效值。
1597
- */
1598
- Status: string;
1960
+ * ACL用户规则
1961
+ */
1962
+ UserRules: Array<ACLUserRule>;
1599
1963
  }
1600
1964
  /**
1601
1965
  * ModifyZoneSetting返回参数结构体
@@ -1741,6 +2105,66 @@ export interface CreateDnsRecordResponse {
1741
2105
  */
1742
2106
  RequestId?: string;
1743
2107
  }
2108
+ /**
2109
+ * 限速拦截日志
2110
+ */
2111
+ export interface CCLog {
2112
+ /**
2113
+ * 攻击时间
2114
+ 注意:此字段可能返回 null,表示取不到有效值。
2115
+ */
2116
+ AttackTime: number;
2117
+ /**
2118
+ * 攻击源ip
2119
+ 注意:此字段可能返回 null,表示取不到有效值。
2120
+ */
2121
+ AttackSip: string;
2122
+ /**
2123
+ * 攻击域名
2124
+ 注意:此字段可能返回 null,表示取不到有效值。
2125
+ */
2126
+ AttackDomain: string;
2127
+ /**
2128
+ * 请求uri
2129
+ 注意:此字段可能返回 null,表示取不到有效值。
2130
+ */
2131
+ RequestUri: string;
2132
+ /**
2133
+ * 命中次数
2134
+ 注意:此字段可能返回 null,表示取不到有效值。
2135
+ */
2136
+ HitCount: number;
2137
+ /**
2138
+ * IP所在国家
2139
+ 注意:此字段可能返回 null,表示取不到有效值。
2140
+ */
2141
+ SipCountryCode: string;
2142
+ /**
2143
+ * 事件id
2144
+ 注意:此字段可能返回 null,表示取不到有效值。
2145
+ */
2146
+ EventId: string;
2147
+ /**
2148
+ * 处置方式
2149
+ 注意:此字段可能返回 null,表示取不到有效值。
2150
+ */
2151
+ DisposalMethod: string;
2152
+ /**
2153
+ * http_log
2154
+ 注意:此字段可能返回 null,表示取不到有效值。
2155
+ */
2156
+ HttpLog: string;
2157
+ /**
2158
+ * 规则编号
2159
+ 注意:此字段可能返回 null,表示取不到有效值。
2160
+ */
2161
+ RuleId: number;
2162
+ /**
2163
+ * 风险等级
2164
+ 注意:此字段可能返回 null,表示取不到有效值。
2165
+ */
2166
+ RiskLevel: string;
2167
+ }
1744
2168
  /**
1745
2169
  * https 服务端证书配置
1746
2170
  */
@@ -1791,21 +2215,51 @@ export interface DDoSConfig {
1791
2215
  Switch: string;
1792
2216
  }
1793
2217
  /**
1794
- * DescribeZones请求参数结构体
2218
+ * DescribeWebManagedRulesData返回参数结构体
1795
2219
  */
1796
- export interface DescribeZonesRequest {
2220
+ export interface DescribeWebManagedRulesDataResponse {
1797
2221
  /**
1798
- * 分页参数,页偏移
2222
+ * Web攻击日志实体
2223
+ 注意:此字段可能返回 null,表示取不到有效值。
2224
+ */
2225
+ Data: Array<SecEntry>;
2226
+ /**
2227
+ * 状态,1:失败,0:成功
1799
2228
  */
1800
- Offset?: number;
2229
+ Status: number;
1801
2230
  /**
1802
- * 分页参数,每页返回的站点个数
2231
+ * 返回消息
1803
2232
  */
1804
- Limit?: number;
2233
+ Msg: string;
1805
2234
  /**
1806
- * 查询条件过滤器,复杂类型
2235
+ * 查询时间粒度,可选{min,5min,hour,day}
1807
2236
  */
1808
- Filters?: Array<ZoneFilter>;
2237
+ Interval: string;
2238
+ /**
2239
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2240
+ */
2241
+ RequestId?: string;
2242
+ }
2243
+ /**
2244
+ * DescribeWebManagedRulesLog返回参数结构体
2245
+ */
2246
+ export interface DescribeWebManagedRulesLogResponse {
2247
+ /**
2248
+ * web攻击日志data
2249
+ */
2250
+ Data: WebLogData;
2251
+ /**
2252
+ * 状态,1:失败,0:失败
2253
+ */
2254
+ Status: number;
2255
+ /**
2256
+ * 返回信息
2257
+ */
2258
+ Msg: string;
2259
+ /**
2260
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2261
+ */
2262
+ RequestId?: string;
1809
2263
  }
1810
2264
  /**
1811
2265
  * 源站组记录
@@ -1918,6 +2372,52 @@ export interface ACLCondition {
1918
2372
  */
1919
2373
  MatchContent: string;
1920
2374
  }
2375
+ /**
2376
+ * DescribeTopL7AnalysisData请求参数结构体
2377
+ */
2378
+ export interface DescribeTopL7AnalysisDataRequest {
2379
+ /**
2380
+ * RFC3339标准,客户端时间
2381
+ */
2382
+ StartTime: string;
2383
+ /**
2384
+ * RFC3339标准,客户端时间
2385
+ */
2386
+ EndTime: string;
2387
+ /**
2388
+ * 时序类访问流量指标
2389
+ */
2390
+ MetricName: string;
2391
+ /**
2392
+ * topN,填0时返回全量数据
2393
+ */
2394
+ Limit: number;
2395
+ /**
2396
+ * 时间间隔,选填{min, 5min, hour, day, week}
2397
+ */
2398
+ Interval: string;
2399
+ /**
2400
+ * ZoneId数组
2401
+ */
2402
+ ZoneIds?: Array<string>;
2403
+ /**
2404
+ * 筛选条件
2405
+ */
2406
+ Filters?: Array<Filter>;
2407
+ }
2408
+ /**
2409
+ * TopN entry
2410
+ */
2411
+ export interface TopNEntry {
2412
+ /**
2413
+ * Entry key
2414
+ */
2415
+ Key: string;
2416
+ /**
2417
+ * TopN数据
2418
+ */
2419
+ Value: Array<TopNEntryValue>;
2420
+ }
1921
2421
  /**
1922
2422
  * DescribeApplicationProxy返回参数结构体
1923
2423
  */
@@ -1955,6 +2455,39 @@ export interface CreateLoadBalancingResponse {
1955
2455
  */
1956
2456
  RequestId?: string;
1957
2457
  }
2458
+ /**
2459
+ * DescribeOverviewL7Data请求参数结构体
2460
+ */
2461
+ export interface DescribeOverviewL7DataRequest {
2462
+ /**
2463
+ * RFC3339格式,客户端时间
2464
+ */
2465
+ StartTime: string;
2466
+ /**
2467
+ * RFC3339格式,客户端时间
2468
+ */
2469
+ EndTime: string;
2470
+ /**
2471
+ * 指标列表
2472
+ */
2473
+ MetricNames: Array<string>;
2474
+ /**
2475
+ * 时间间隔,选填{min, 5min, hour, day, week}
2476
+ */
2477
+ Interval: string;
2478
+ /**
2479
+ * ZoneId列表,仅在zone/domain维度下查询时该参数有效
2480
+ */
2481
+ ZoneIds?: Array<string>;
2482
+ /**
2483
+ * Domain列表,仅在domain维度下查询时该参数有效
2484
+ */
2485
+ Domains?: Array<string>;
2486
+ /**
2487
+ * 协议类型, 选填{http,http2,https,all}
2488
+ */
2489
+ Protocol?: string;
2490
+ }
1958
2491
  /**
1959
2492
  * 功能总开关
1960
2493
  */
@@ -2079,6 +2612,57 @@ export interface DescribeDnssecRequest {
2079
2612
  */
2080
2613
  Id: string;
2081
2614
  }
2615
+ /**
2616
+ * DescribeWebProtectionLog返回参数结构体
2617
+ */
2618
+ export interface DescribeWebProtectionLogResponse {
2619
+ /**
2620
+ * 限速拦截Data
2621
+ */
2622
+ Data: CCLogData;
2623
+ /**
2624
+ * 状态,1:失败,0:成功
2625
+ */
2626
+ Status: number;
2627
+ /**
2628
+ * 返回信息
2629
+ */
2630
+ Msg: string;
2631
+ /**
2632
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2633
+ */
2634
+ RequestId?: string;
2635
+ }
2636
+ /**
2637
+ * CC拦截事件数据
2638
+ */
2639
+ export interface CCInterceptEventData {
2640
+ /**
2641
+ * 攻击事件数据集合
2642
+ 注意:此字段可能返回 null,表示取不到有效值。
2643
+ */
2644
+ List: Array<CCInterceptEvent>;
2645
+ /**
2646
+ * 当前页
2647
+ 注意:此字段可能返回 null,表示取不到有效值。
2648
+ */
2649
+ PageNo: number;
2650
+ /**
2651
+ * 每页展示条数
2652
+ 注意:此字段可能返回 null,表示取不到有效值。
2653
+ */
2654
+ PageSize: number;
2655
+ /**
2656
+ * 总页数
2657
+ 注意:此字段可能返回 null,表示取不到有效值。
2658
+ */
2659
+ Pages: number;
2660
+ /**
2661
+ * 总条数
2662
+ 注意:此字段可能返回 null,表示取不到有效值。
2663
+ */
2664
+ TotalSize: number;
2665
+ }
2082
2666
  /**
2083
2667
  * DescribeLoadBalancingDetail返回参数结构体
2084
2668
  */
@@ -2167,25 +2751,34 @@ export interface SecurityConfig {
2167
2751
  SwitchConfig?: SwitchConfig;
2168
2752
  }
2169
2753
  /**
2170
- * bot托管规则详情
2754
+ * 主攻击对象Data
2171
2755
  */
2172
- export interface BotManagedRuleDetail {
2756
+ export interface DDosMajorAttackEventData {
2173
2757
  /**
2174
- * 规则ID
2175
- */
2176
- RuleId: number;
2758
+ * DDosMajorAttackEvent ddos 攻击事件
2759
+ 注意:此字段可能返回 null,表示取不到有效值。
2760
+ */
2761
+ List: Array<DDosMajorAttackEvent>;
2177
2762
  /**
2178
- * 规则描述
2179
- */
2180
- Description: string;
2763
+ * 当前页
2764
+ 注意:此字段可能返回 null,表示取不到有效值。
2765
+ */
2766
+ PageNo: number;
2181
2767
  /**
2182
- * 规则分类
2183
- */
2184
- RuleTypeName: string;
2768
+ * 每页展示条数
2769
+ 注意:此字段可能返回 null,表示取不到有效值。
2770
+ */
2771
+ PageSize: number;
2185
2772
  /**
2186
- * 该规则开启/关闭
2187
- */
2188
- Status: string;
2773
+ * 总页数
2774
+ 注意:此字段可能返回 null,表示取不到有效值。
2775
+ */
2776
+ Pages: number;
2777
+ /**
2778
+ * 总条数
2779
+ 注意:此字段可能返回 null,表示取不到有效值。
2780
+ */
2781
+ TotalSize: number;
2189
2782
  }
2190
2783
  /**
2191
2784
  * DescribeBotManagedRules返回参数结构体
@@ -2281,6 +2874,20 @@ export interface DnsRecord {
2281
2874
  */
2282
2875
  DomainStatus: Array<string>;
2283
2876
  }
2877
+ /**
2878
+ * 七层数据分析类top数据
2879
+ */
2880
+ export interface TopDataRecord {
2881
+ /**
2882
+ * 查询维度值
2883
+ */
2884
+ TypeKey: string;
2885
+ /**
2886
+ * top数据排行
2887
+ 注意:此字段可能返回 null,表示取不到有效值。
2888
+ */
2889
+ DetailData: Array<TopDetailData>;
2890
+ }
2284
2891
  /**
2285
2892
  * DDoS协议防护+连接防护
2286
2893
  */
@@ -2338,6 +2945,87 @@ export interface DDoSAntiPly {
2338
2945
  */
2339
2946
  EmptyConnectProtect: string;
2340
2947
  }
2948
+ /**
2949
+ * DescribeWebManagedRulesData请求参数结构体
2950
+ */
2951
+ export interface DescribeWebManagedRulesDataRequest {
2952
+ /**
2953
+ * 开始时间
2954
+ */
2955
+ StartTime: string;
2956
+ /**
2957
+ * 结束时间
2958
+ */
2959
+ EndTime: string;
2960
+ /**
2961
+ * 统计指标列表
2962
+ */
2963
+ MetricNames: Array<string>;
2964
+ /**
2965
+ * 站点id列表
2966
+ */
2967
+ ZoneIds?: Array<string>;
2968
+ /**
2969
+ * 子域名列表
2970
+ */
2971
+ Domains?: Array<string>;
2972
+ /**
2973
+ * 协议类型
2974
+ */
2975
+ ProtocolType?: string;
2976
+ /**
2977
+ * "webshell" : Webshell检测防护
2978
+ "oa" : 常见OA漏洞防护
2979
+ "xss" : XSS跨站脚本攻击防护
2980
+ "xxe" : XXE攻击防护
2981
+ "webscan" : 扫描器攻击漏洞防护
2982
+ "cms" : 常见CMS漏洞防护
2983
+ "upload" : 恶意文件上传攻击防护
2984
+ "sql" : SQL注入攻击防护
2985
+ "cmd_inject": 命令/代码注入攻击防护
2986
+ "osc" : 开源组件漏洞防护
2987
+ "file_read" : 任意文件读取
2988
+ "ldap" : LDAP注入攻击防护
2989
+ "other" : 其它漏洞防护
2990
+
2991
+ "all":"所有"
2992
+ */
2993
+ AttackType?: string;
2994
+ /**
2995
+ * 查询时间粒度,可选{min,5min,hour,day}
2996
+ */
2997
+ Interval?: string;
2998
+ }
2999
+ /**
3000
+ * DDos攻击源数据
3001
+ */
3002
+ export interface DDosAttackSourceEventData {
3003
+ /**
3004
+ * DDos攻击源数据集合
3005
+ 注意:此字段可能返回 null,表示取不到有效值。
3006
+ */
3007
+ List: Array<DDosAttackSourceEvent>;
3008
+ /**
3009
+ * 当前页
3010
+ 注意:此字段可能返回 null,表示取不到有效值。
3011
+ */
3012
+ PageNo: number;
3013
+ /**
3014
+ * 每页展示条数
3015
+ 注意:此字段可能返回 null,表示取不到有效值。
3016
+ */
3017
+ PageSize: number;
3018
+ /**
3019
+ * 总页数
3020
+ 注意:此字段可能返回 null,表示取不到有效值。
3021
+ */
3022
+ Pages: number;
3023
+ /**
3024
+ * 总条数
3025
+ 注意:此字段可能返回 null,表示取不到有效值。
3026
+ */
3027
+ TotalSize: number;
3028
+ }
2341
3029
  /**
2342
3030
  * ModifyDDoSPolicy返回参数结构体
2343
3031
  */
@@ -2402,6 +3090,24 @@ export interface CreatePrefetchTaskResponse {
2402
3090
  */
2403
3091
  RequestId?: string;
2404
3092
  }
3093
+ /**
3094
+ * Waf规则
3095
+ */
3096
+ export interface WafRule {
3097
+ /**
3098
+ * 黑名单
3099
+ */
3100
+ BlockRuleIDs: Array<number>;
3101
+ /**
3102
+ * id的开关
3103
+ */
3104
+ Switch: string;
3105
+ /**
3106
+ * 观察模式
3107
+ 注意:此字段可能返回 null,表示取不到有效值。
3108
+ */
3109
+ ObserveRuleIDs?: Array<number>;
3110
+ }
2405
3111
  /**
2406
3112
  * DescribeDefaultCertificates请求参数结构体
2407
3113
  */
@@ -2463,21 +3169,54 @@ export interface ModifyApplicationProxyRuleResponse {
2463
3169
  RequestId?: string;
2464
3170
  }
2465
3171
  /**
2466
- * DescribeSecurityPolicyManagedRulesId返回参数结构体
3172
+ * DDos攻击事件对象
2467
3173
  */
2468
- export interface DescribeSecurityPolicyManagedRulesIdResponse {
3174
+ export interface DDosAttackEvent {
2469
3175
  /**
2470
- * 返回总数
2471
- */
2472
- Total: number;
3176
+ * ddos 策略组id
3177
+ 注意:此字段可能返回 null,表示取不到有效值。
3178
+ */
3179
+ PolicyId: number;
2473
3180
  /**
2474
- * 门神规则
2475
- */
2476
- Rules: Array<ManagedRule>;
3181
+ * 攻击类型(对应交互事件名称)
3182
+ 注意:此字段可能返回 null,表示取不到有效值。
3183
+ */
3184
+ AttackType: string;
2477
3185
  /**
2478
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2479
- */
2480
- RequestId?: string;
3186
+ * 攻击状态
3187
+ 注意:此字段可能返回 null,表示取不到有效值。
3188
+ */
3189
+ AttackStatus: number;
3190
+ /**
3191
+ * 攻击最大带宽
3192
+ 注意:此字段可能返回 null,表示取不到有效值。
3193
+ */
3194
+ AttackMaxBandWidth: number;
3195
+ /**
3196
+ * 攻击包速率峰值
3197
+ 注意:此字段可能返回 null,表示取不到有效值。
3198
+ */
3199
+ AttackPacketMaxRate: number;
3200
+ /**
3201
+ * 攻击开始时间 单位为s
3202
+ 注意:此字段可能返回 null,表示取不到有效值。
3203
+ */
3204
+ AttackStartTime: number;
3205
+ /**
3206
+ * 攻击结束时间 单位为s
3207
+ 注意:此字段可能返回 null,表示取不到有效值。
3208
+ */
3209
+ AttackEndTime: number;
3210
+ /**
3211
+ * 事件ID
3212
+ 注意:此字段可能返回 null,表示取不到有效值。
3213
+ */
3214
+ EventId: string;
3215
+ /**
3216
+ * 站点id
3217
+ 注意:此字段可能返回 null,表示取不到有效值。
3218
+ */
3219
+ ZoneId: string;
2481
3220
  }
2482
3221
  /**
2483
3222
  * 失败原因
@@ -2655,6 +3394,57 @@ export interface DeleteLoadBalancingResponse {
2655
3394
  */
2656
3395
  RequestId?: string;
2657
3396
  }
3397
+ /**
3398
+ * DescribeWebProtectionData请求参数结构体
3399
+ */
3400
+ export interface DescribeWebProtectionDataRequest {
3401
+ /**
3402
+ * 开始时间
3403
+ */
3404
+ StartTime: string;
3405
+ /**
3406
+ * 结束时间
3407
+ */
3408
+ EndTime: string;
3409
+ /**
3410
+ * 统计指标列表
3411
+ */
3412
+ MetricNames: Array<string>;
3413
+ /**
3414
+ * 站点id列表
3415
+ */
3416
+ ZoneIds?: Array<string>;
3417
+ /**
3418
+ * 子域名列表
3419
+ */
3420
+ Domains?: Array<string>;
3421
+ /**
3422
+ * 协议类型
3423
+ */
3424
+ ProtocolType?: string;
3425
+ /**
3426
+ * "webshell" : Webshell检测防护
3427
+ "oa" : 常见OA漏洞防护
3428
+ "xss" : XSS跨站脚本攻击防护
3429
+ "xxe" : XXE攻击防护
3430
+ "webscan" : 扫描器攻击漏洞防护
3431
+ "cms" : 常见CMS漏洞防护
3432
+ "upload" : 恶意文件上传攻击防护
3433
+ "sql" : SQL注入攻击防护
3434
+ "cmd_inject": 命令/代码注入攻击防护
3435
+ "osc" : 开源组件漏洞防护
3436
+ "file_read" : 任意文件读取
3437
+ "ldap" : LDAP注入攻击防护
3438
+ "other" : 其它漏洞防护
3439
+
3440
+ "all":"所有"
3441
+ */
3442
+ AttackType?: string;
3443
+ /**
3444
+ * 查询时间粒度,可选{min,5min,hour,day}
3445
+ */
3446
+ Interval?: string;
3447
+ }
2658
3448
  /**
2659
3449
  * CheckCertificate请求参数结构体
2660
3450
  */
@@ -2668,6 +3458,27 @@ export interface CheckCertificateRequest {
2668
3458
  */
2669
3459
  PrivateKey: string;
2670
3460
  }
3461
+ /**
3462
+ * DescribeSecurityPortraitRules返回参数结构体
3463
+ */
3464
+ export interface DescribeSecurityPortraitRulesResponse {
3465
+ /**
3466
+ * 本次返回的规则数
3467
+ */
3468
+ Count: number;
3469
+ /**
3470
+ * Bot用户画像规则
3471
+ */
3472
+ Rules: Array<PortraitManagedRuleDetail>;
3473
+ /**
3474
+ * 总规则数
3475
+ */
3476
+ Total: number;
3477
+ /**
3478
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3479
+ */
3480
+ RequestId?: string;
3481
+ }
2671
3482
  /**
2672
3483
  * CreateApplicationProxyRule请求参数结构体
2673
3484
  */
@@ -2723,46 +3534,25 @@ export interface CreateApplicationProxyRuleRequest {
2723
3534
  SessionPersist?: boolean;
2724
3535
  }
2725
3536
  /**
2726
- * DescribePrefetchTasks请求参数结构体
3537
+ * bot托管规则详情
2727
3538
  */
2728
- export interface DescribePrefetchTasksRequest {
2729
- /**
2730
- * 任务ID
2731
- */
2732
- JobId?: string;
2733
- /**
2734
- * 查询起始时间
2735
- */
2736
- StartTime?: string;
2737
- /**
2738
- * 查询结束时间
2739
- */
2740
- EndTime?: string;
2741
- /**
2742
- * 查询起始偏移量
2743
- */
2744
- Offset?: number;
3539
+ export interface BotManagedRuleDetail {
2745
3540
  /**
2746
- * 查询最大返回的结果条数
3541
+ * 规则ID
2747
3542
  */
2748
- Limit?: number;
2749
- /**
2750
- * 查询的状态
2751
- 允许的值为:processing、success、failed、timeout、invalid
2752
- */
2753
- Statuses?: Array<string>;
3543
+ RuleId: number;
2754
3544
  /**
2755
- * zone id
3545
+ * 规则描述
2756
3546
  */
2757
- ZoneId?: string;
3547
+ Description: string;
2758
3548
  /**
2759
- * 查询的域名列表
3549
+ * 规则分类
2760
3550
  */
2761
- Domains?: Array<string>;
3551
+ RuleTypeName: string;
2762
3552
  /**
2763
- * 查询的资源
3553
+ * 该规则开启/关闭
2764
3554
  */
2765
- Target?: string;
3555
+ Status: string;
2766
3556
  }
2767
3557
  /**
2768
3558
  * 访问协议强制https跳转配置
@@ -2830,6 +3620,15 @@ export interface ModifyApplicationProxyStatusResponse {
2830
3620
  */
2831
3621
  RequestId?: string;
2832
3622
  }
3623
+ /**
3624
+ * IdentifyZone请求参数结构体
3625
+ */
3626
+ export interface IdentifyZoneRequest {
3627
+ /**
3628
+ * 站点名称
3629
+ */
3630
+ Name: string;
3631
+ }
2833
3632
  /**
2834
3633
  * 域名配置信息
2835
3634
  */
@@ -2871,6 +3670,46 @@ export interface DescribeDnsRecordsResponse {
2871
3670
  */
2872
3671
  RequestId?: string;
2873
3672
  }
3673
+ /**
3674
+ * DescribeDefaultCertificates返回参数结构体
3675
+ */
3676
+ export interface DescribeDefaultCertificatesResponse {
3677
+ /**
3678
+ * 证书总数
3679
+ */
3680
+ TotalCount: number;
3681
+ /**
3682
+ * 默认证书列表
3683
+ 注意:此字段可能返回 null,表示取不到有效值。
3684
+ */
3685
+ CertInfo: Array<DefaultServerCertInfo>;
3686
+ /**
3687
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3688
+ */
3689
+ RequestId?: string;
3690
+ }
3691
+ /**
3692
+ * DescribeTimingL7AnalysisData返回参数结构体
3693
+ */
3694
+ export interface DescribeTimingL7AnalysisDataResponse {
3695
+ /**
3696
+ * 详细数据
3697
+ 注意:此字段可能返回 null,表示取不到有效值。
3698
+ */
3699
+ Data: Array<TimingDataRecord>;
3700
+ /**
3701
+ * 查询维度
3702
+ */
3703
+ Type: string;
3704
+ /**
3705
+ * 时间间隔
3706
+ */
3707
+ Interval: string;
3708
+ /**
3709
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3710
+ */
3711
+ RequestId?: string;
3712
+ }
2874
3713
  /**
2875
3714
  * bot 用户画像规则
2876
3715
  */
@@ -2900,21 +3739,61 @@ export interface BotPortraitRule {
2900
3739
  注意:此字段可能返回 null,表示取不到有效值。
2901
3740
  */
2902
3741
  DropManagedIds?: Array<number>;
3742
+ /**
3743
+ * 本功能的开关
3744
+ 注意:此字段可能返回 null,表示取不到有效值。
3745
+ */
3746
+ Switch?: string;
2903
3747
  }
2904
3748
  /**
2905
- * ModifyZoneCnameSpeedUp请求参数结构体
3749
+ * DescribeWebProtectionAttackEvents请求参数结构体
2906
3750
  */
2907
- export interface ModifyZoneCnameSpeedUpRequest {
3751
+ export interface DescribeWebProtectionAttackEventsRequest {
2908
3752
  /**
2909
- * 站点 ID
3753
+ * 开始时间
2910
3754
  */
2911
- Id: string;
3755
+ StartTime: string;
2912
3756
  /**
2913
- * CNAME 加速状态
2914
- - enabled 开启
2915
- - disabled 关闭
2916
- */
2917
- Status: string;
3757
+ * 结束时间
3758
+ */
3759
+ EndTime: string;
3760
+ /**
3761
+ * 条数
3762
+ */
3763
+ PageSize: number;
3764
+ /**
3765
+ * 当前页
3766
+ */
3767
+ PageNo: number;
3768
+ /**
3769
+ * 域名
3770
+ */
3771
+ Domains?: Array<string>;
3772
+ /**
3773
+ * 站点集合
3774
+ */
3775
+ ZoneIds?: Array<string>;
3776
+ }
3777
+ /**
3778
+ * DescribeOverviewL7Data返回参数结构体
3779
+ */
3780
+ export interface DescribeOverviewL7DataResponse {
3781
+ /**
3782
+ * 查询维度
3783
+ */
3784
+ Type: string;
3785
+ /**
3786
+ * 时间间隔
3787
+ */
3788
+ Interval: string;
3789
+ /**
3790
+ * 详细数据
3791
+ */
3792
+ Data: Array<TimingDataRecord>;
3793
+ /**
3794
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3795
+ */
3796
+ RequestId?: string;
2918
3797
  }
2919
3798
  /**
2920
3799
  * DescribeHostsCertificate请求参数结构体
@@ -2963,19 +3842,52 @@ export interface DescribeSecurityPolicyManagedRulesResponse {
2963
3842
  RequestId?: string;
2964
3843
  }
2965
3844
  /**
2966
- * 速率限制模板
3845
+ * 源站组信息
2967
3846
  */
2968
- export interface RateLimitTemplate {
3847
+ export interface OriginGroup {
2969
3848
  /**
2970
- * 模板名称
3849
+ * 源站组ID
3850
+ */
3851
+ OriginId: string;
3852
+ /**
3853
+ * 源站组名称
3854
+ */
3855
+ OriginName: string;
3856
+ /**
3857
+ * 配置类型
3858
+ */
3859
+ Type: string;
3860
+ /**
3861
+ * 记录
3862
+ */
3863
+ Record: Array<OriginRecord>;
3864
+ /**
3865
+ * 更新时间
3866
+ */
3867
+ UpdateTime: string;
3868
+ /**
3869
+ * 站点ID
3870
+ */
3871
+ ZoneId: string;
3872
+ /**
3873
+ * 站点名称
3874
+ */
3875
+ ZoneName: string;
3876
+ /**
3877
+ * 源站类型
2971
3878
  注意:此字段可能返回 null,表示取不到有效值。
2972
3879
  */
2973
- Mode?: string;
3880
+ OriginType: string;
2974
3881
  /**
2975
- * 模板值详情
3882
+ * 是否为四层代理使用
2976
3883
  注意:此字段可能返回 null,表示取不到有效值。
2977
3884
  */
2978
- Detail?: RateLimitTemplateDetail;
3885
+ ApplicationProxyUsed: boolean;
3886
+ /**
3887
+ * 是否为负载均衡使用
3888
+ 注意:此字段可能返回 null,表示取不到有效值。
3889
+ */
3890
+ LoadBalancingUsed: boolean;
2979
3891
  }
2980
3892
  /**
2981
3893
  * DescribeApplicationProxy请求参数结构体
@@ -2994,6 +3906,19 @@ export interface DescribeApplicationProxyRequest {
2994
3906
  */
2995
3907
  Limit?: number;
2996
3908
  }
3909
+ /**
3910
+ * TopN数据Entry
3911
+ */
3912
+ export interface TopNEntryValue {
3913
+ /**
3914
+ * Entry的name
3915
+ */
3916
+ Name: string;
3917
+ /**
3918
+ * 数量
3919
+ */
3920
+ Count: number;
3921
+ }
2997
3922
  /**
2998
3923
  * ModifyDDoSPolicyHost返回参数结构体
2999
3924
  */
@@ -3031,39 +3956,65 @@ export interface ModifyApplicationProxyRuleStatusRequest {
3031
3956
  Status: string;
3032
3957
  }
3033
3958
  /**
3034
- * 模板当前详细配置
3959
+ * Web拦截事件
3035
3960
  */
3036
- export interface RateLimitTemplateDetail {
3961
+ export interface WebAttackEvent {
3037
3962
  /**
3038
- * 模板名称
3963
+ * 客户端ip
3039
3964
  注意:此字段可能返回 null,表示取不到有效值。
3040
3965
  */
3041
- Mode?: string;
3966
+ ClientIp: string;
3042
3967
  /**
3043
- * 唯一id
3968
+ * 攻击URL
3044
3969
  注意:此字段可能返回 null,表示取不到有效值。
3045
3970
  */
3046
- ID?: number;
3971
+ AttackUrl: string;
3047
3972
  /**
3048
- * 处置动作
3973
+ * 攻击时间 单位为s
3049
3974
  注意:此字段可能返回 null,表示取不到有效值。
3050
3975
  */
3051
- Action?: string;
3976
+ AttackTime: number;
3977
+ }
3978
+ /**
3979
+ * DescribeDDosAttackTopData请求参数结构体
3980
+ */
3981
+ export interface DescribeDDosAttackTopDataRequest {
3052
3982
  /**
3053
- * 惩罚时间,秒
3054
- 注意:此字段可能返回 null,表示取不到有效值。
3055
- */
3056
- PunishTime?: number;
3983
+ * 开始时间
3984
+ */
3985
+ StartTime: string;
3057
3986
  /**
3058
- * 阈值
3059
- 注意:此字段可能返回 null,表示取不到有效值。
3060
- */
3061
- Threshold?: number;
3987
+ * 结束时间
3988
+ */
3989
+ EndTime: string;
3062
3990
  /**
3063
- * 统计周期
3064
- 注意:此字段可能返回 null,表示取不到有效值。
3065
- */
3066
- Period?: number;
3991
+ * 过滤指标
3992
+ */
3993
+ MetricName: string;
3994
+ /**
3995
+ * 查询前多少名,传值为0 全量
3996
+ */
3997
+ Limit: number;
3998
+ /**
3999
+ * 站点集合
4000
+ */
4001
+ ZoneIds?: Array<string>;
4002
+ /**
4003
+ * ddos策略组id 集合
4004
+ */
4005
+ PolicyIds?: Array<number>;
4006
+ /**
4007
+ * 端口号
4008
+ */
4009
+ Port?: number;
4010
+ /**
4011
+ * 协议类型,tcp,udp,all
4012
+ */
4013
+ ProtocolType?: string;
4014
+ /**
4015
+ * 攻击类型,flood,icmpFlood......,all
4016
+ */
4017
+ AttackType?: string;
3067
4018
  }
3068
4019
  /**
3069
4020
  * CreateApplicationProxyRule返回参数结构体
@@ -3079,60 +4030,45 @@ export interface CreateApplicationProxyRuleResponse {
3079
4030
  RequestId?: string;
3080
4031
  }
3081
4032
  /**
3082
- * RateLimit规则
4033
+ * DescribeDDosAttackData请求参数结构体
3083
4034
  */
3084
- export interface RateLimitUserRule {
4035
+ export interface DescribeDDosAttackDataRequest {
3085
4036
  /**
3086
- * RateLimit统计阈值
4037
+ * 开始时间
3087
4038
  */
3088
- Threshold: number;
4039
+ StartTime: string;
3089
4040
  /**
3090
- * RateLimit统计时间
4041
+ * 结束时间
3091
4042
  */
3092
- Period: number;
4043
+ EndTime: string;
3093
4044
  /**
3094
- * 规则名
4045
+ * 统计指标列表
3095
4046
  */
3096
- RuleName: string;
4047
+ MetricNames: Array<string>;
3097
4048
  /**
3098
- * 动作:monitor(观察), drop(拦截)
4049
+ * 站点id列表
3099
4050
  */
3100
- Action: string;
4051
+ ZoneIds?: Array<string>;
3101
4052
  /**
3102
- * 惩罚时长
4053
+ * ddos策略组id列表
3103
4054
  */
3104
- PunishTime: number;
4055
+ PolicyIds?: Array<number>;
3105
4056
  /**
3106
- * 处罚时长单位,second
4057
+ * 端口号
3107
4058
  */
3108
- PunishTimeUnit: string;
4059
+ Port?: number;
3109
4060
  /**
3110
- * 规则状态
4061
+ * 协议类型,tcp,udp,all
3111
4062
  */
3112
- RuleStatus: string;
4063
+ ProtocolType?: string;
3113
4064
  /**
3114
- * 规则
4065
+ * 攻击类型,flood,icmpFlood......,all
3115
4066
  */
3116
- Conditions: Array<ACLCondition>;
4067
+ AttackType?: string;
3117
4068
  /**
3118
- * 规则权重
4069
+ * 查询时间粒度,可选{min,5min,hour,day}
3119
4070
  */
3120
- RulePriority: number;
3121
- /**
3122
- * 规则id
3123
- 注意:此字段可能返回 null,表示取不到有效值。
3124
- */
3125
- RuleID?: number;
3126
- /**
3127
- * 过滤词
3128
- 注意:此字段可能返回 null,表示取不到有效值。
3129
- */
3130
- FreqFields?: Array<string>;
3131
- /**
3132
- * 更新时间
3133
- 注意:此字段可能返回 null,表示取不到有效值。
3134
- */
3135
- UpdateTime?: string;
4071
+ Interval?: string;
3136
4072
  }
3137
4073
  /**
3138
4074
  * ModifyDnsRecord返回参数结构体
@@ -3200,6 +4136,56 @@ export interface ModifyDnsRecordResponse {
3200
4136
  */
3201
4137
  RequestId?: string;
3202
4138
  }
4139
+ /**
4140
+ * 模板当前详细配置
4141
+ */
4142
+ export interface RateLimitTemplateDetail {
4143
+ /**
4144
+ * 模板名称
4145
+ 注意:此字段可能返回 null,表示取不到有效值。
4146
+ */
4147
+ Mode?: string;
4148
+ /**
4149
+ * 唯一id
4150
+ 注意:此字段可能返回 null,表示取不到有效值。
4151
+ */
4152
+ ID?: number;
4153
+ /**
4154
+ * 处置动作
4155
+ 注意:此字段可能返回 null,表示取不到有效值。
4156
+ */
4157
+ Action?: string;
4158
+ /**
4159
+ * 惩罚时间,秒
4160
+ 注意:此字段可能返回 null,表示取不到有效值。
4161
+ */
4162
+ PunishTime?: number;
4163
+ /**
4164
+ * 阈值
4165
+ 注意:此字段可能返回 null,表示取不到有效值。
4166
+ */
4167
+ Threshold?: number;
4168
+ /**
4169
+ * 统计周期
4170
+ 注意:此字段可能返回 null,表示取不到有效值。
4171
+ */
4172
+ Period?: number;
4173
+ }
4174
+ /**
4175
+ * 统计曲线数据项
4176
+ */
4177
+ export interface TimingDataItem {
4178
+ /**
4179
+ * 秒级时间戳
4180
+ 注意:此字段可能返回 null,表示取不到有效值。
4181
+ */
4182
+ Timestamp: number;
4183
+ /**
4184
+ * 数值
4185
+ 注意:此字段可能返回 null,表示取不到有效值。
4186
+ */
4187
+ Value: number;
4188
+ }
3203
4189
  /**
3204
4190
  * CreateApplicationProxy请求参数结构体
3205
4191
  */
@@ -3254,43 +4240,201 @@ export interface CreateApplicationProxyRequest {
3254
4240
  ProxyType?: string;
3255
4241
  }
3256
4242
  /**
3257
- * POST请求上传文件流式传输最大限制
4243
+ * DescribeTopL7AnalysisData返回参数结构体
3258
4244
  */
3259
- export interface PostMaxSize {
3260
- /**
3261
- * 是调整POST请求限制,平台默认为32MB。
3262
- 关闭:off,
3263
- 开启:on。
3264
- */
3265
- Switch: string;
4245
+ export interface DescribeTopL7AnalysisDataResponse {
3266
4246
  /**
3267
- * 最大限制,取值在1MB和500MB之间。单位字节
4247
+ * top详细数据
3268
4248
  注意:此字段可能返回 null,表示取不到有效值。
3269
4249
  */
3270
- MaxSize?: number;
3271
- }
3272
- /**
3273
- * 门神规则
3274
- */
3275
- export interface ManagedRule {
4250
+ Data: Array<TopDataRecord>;
3276
4251
  /**
3277
- * 规则id
4252
+ * 查询维度
3278
4253
  */
3279
- RuleId: number;
4254
+ Type: string;
3280
4255
  /**
3281
- * 规则描述
4256
+ * 查询指标
3282
4257
  */
3283
- Description: string;
4258
+ MetricName: string;
3284
4259
  /**
3285
- * 规则类型名
4260
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3286
4261
  */
3287
- RuleTypeName: string;
4262
+ RequestId?: string;
4263
+ }
4264
+ /**
4265
+ * web攻击日志
4266
+ */
4267
+ export interface WebLogs {
3288
4268
  /**
3289
- * 策略规则防护等级
3290
- */
3291
- RuleLevelDesc: string;
4269
+ * 攻击内容
4270
+ 注意:此字段可能返回 null,表示取不到有效值。
4271
+ */
4272
+ AttackContent: string;
3292
4273
  /**
3293
- * 更新时间
4274
+ * 攻击IP
4275
+ 注意:此字段可能返回 null,表示取不到有效值。
4276
+ */
4277
+ AttackIp: string;
4278
+ /**
4279
+ * 攻击类型
4280
+ 注意:此字段可能返回 null,表示取不到有效值。
4281
+ */
4282
+ AttackType: string;
4283
+ /**
4284
+ * 域名
4285
+ 注意:此字段可能返回 null,表示取不到有效值。
4286
+ */
4287
+ Domain: string;
4288
+ /**
4289
+ * uuid
4290
+ 注意:此字段可能返回 null,表示取不到有效值。
4291
+ */
4292
+ Msuuid: string;
4293
+ /**
4294
+ * 请求方法
4295
+ 注意:此字段可能返回 null,表示取不到有效值。
4296
+ */
4297
+ RequestMethod: string;
4298
+ /**
4299
+ * 请求URI
4300
+ 注意:此字段可能返回 null,表示取不到有效值。
4301
+ */
4302
+ RequestUri: string;
4303
+ /**
4304
+ * 风险等级
4305
+ 注意:此字段可能返回 null,表示取不到有效值。
4306
+ */
4307
+ RiskLevel: string;
4308
+ /**
4309
+ * 规则ID
4310
+ 注意:此字段可能返回 null,表示取不到有效值。
4311
+ */
4312
+ RuleId: number;
4313
+ /**
4314
+ * IP所在国家
4315
+ 注意:此字段可能返回 null,表示取不到有效值。
4316
+ */
4317
+ SipCountryCode: string;
4318
+ /**
4319
+ * 事件id
4320
+ 注意:此字段可能返回 null,表示取不到有效值。
4321
+ */
4322
+ EventId: string;
4323
+ /**
4324
+ * 处置方式
4325
+ 注意:此字段可能返回 null,表示取不到有效值。
4326
+ */
4327
+ DisposalMethod: string;
4328
+ /**
4329
+ * http_log
4330
+ 注意:此字段可能返回 null,表示取不到有效值。
4331
+ */
4332
+ HttpLog: string;
4333
+ /**
4334
+ * user agent
4335
+ 注意:此字段可能返回 null,表示取不到有效值。
4336
+ */
4337
+ Ua: string;
4338
+ /**
4339
+ * 攻击时间,为保持统一,原参数time更名为AttackTime
4340
+ 注意:此字段可能返回 null,表示取不到有效值。
4341
+ */
4342
+ AttackTime: number;
4343
+ }
4344
+ /**
4345
+ * POST请求上传文件流式传输最大限制
4346
+ */
4347
+ export interface PostMaxSize {
4348
+ /**
4349
+ * 是调整POST请求限制,平台默认为32MB。
4350
+ 关闭:off,
4351
+ 开启:on。
4352
+ */
4353
+ Switch: string;
4354
+ /**
4355
+ * 最大限制,取值在1MB和500MB之间。单位字节
4356
+ 注意:此字段可能返回 null,表示取不到有效值。
4357
+ */
4358
+ MaxSize?: number;
4359
+ }
4360
+ /**
4361
+ * RateLimit规则
4362
+ */
4363
+ export interface RateLimitUserRule {
4364
+ /**
4365
+ * RateLimit统计阈值
4366
+ */
4367
+ Threshold: number;
4368
+ /**
4369
+ * RateLimit统计时间
4370
+ */
4371
+ Period: number;
4372
+ /**
4373
+ * 规则名
4374
+ */
4375
+ RuleName: string;
4376
+ /**
4377
+ * 动作:monitor(观察), drop(拦截)
4378
+ */
4379
+ Action: string;
4380
+ /**
4381
+ * 惩罚时长
4382
+ */
4383
+ PunishTime: number;
4384
+ /**
4385
+ * 处罚时长单位,second
4386
+ */
4387
+ PunishTimeUnit: string;
4388
+ /**
4389
+ * 规则状态
4390
+ */
4391
+ RuleStatus: string;
4392
+ /**
4393
+ * 规则
4394
+ */
4395
+ Conditions: Array<ACLCondition>;
4396
+ /**
4397
+ * 规则权重
4398
+ */
4399
+ RulePriority: number;
4400
+ /**
4401
+ * 规则id
4402
+ 注意:此字段可能返回 null,表示取不到有效值。
4403
+ */
4404
+ RuleID?: number;
4405
+ /**
4406
+ * 过滤词
4407
+ 注意:此字段可能返回 null,表示取不到有效值。
4408
+ */
4409
+ FreqFields?: Array<string>;
4410
+ /**
4411
+ * 更新时间
4412
+ 注意:此字段可能返回 null,表示取不到有效值。
4413
+ */
4414
+ UpdateTime?: string;
4415
+ }
4416
+ /**
4417
+ * 门神规则
4418
+ */
4419
+ export interface ManagedRule {
4420
+ /**
4421
+ * 规则id
4422
+ */
4423
+ RuleId: number;
4424
+ /**
4425
+ * 规则描述
4426
+ */
4427
+ Description: string;
4428
+ /**
4429
+ * 规则类型名
4430
+ */
4431
+ RuleTypeName: string;
4432
+ /**
4433
+ * 策略规则防护等级
4434
+ */
4435
+ RuleLevelDesc: string;
4436
+ /**
4437
+ * 更新时间
3294
4438
  */
3295
4439
  UpdateTime: string;
3296
4440
  /**
@@ -3314,17 +4458,58 @@ export interface ManagedRule {
3314
4458
  RuleTypeId?: number;
3315
4459
  }
3316
4460
  /**
3317
- * ModifyLoadBalancing返回参数结构体
4461
+ * 过滤条件
3318
4462
  */
3319
- export interface ModifyLoadBalancingResponse {
4463
+ export interface Filter {
3320
4464
  /**
3321
- * 负载均衡ID
4465
+ * 筛选维度
3322
4466
  */
3323
- LoadBalancingId: string;
4467
+ Key: string;
3324
4468
  /**
3325
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4469
+ * 操作符
3326
4470
  */
3327
- RequestId?: string;
4471
+ Operator: string;
4472
+ /**
4473
+ * 筛选维度值
4474
+ */
4475
+ Value: Array<string>;
4476
+ }
4477
+ /**
4478
+ * DescribeWebManagedRulesAttackEvents请求参数结构体
4479
+ */
4480
+ export interface DescribeWebManagedRulesAttackEventsRequest {
4481
+ /**
4482
+ * 开始时间
4483
+ */
4484
+ StartTime: string;
4485
+ /**
4486
+ * 结束时间
4487
+ */
4488
+ EndTime: string;
4489
+ /**
4490
+ * 条数
4491
+ */
4492
+ PageSize: number;
4493
+ /**
4494
+ * 当前页
4495
+ */
4496
+ PageNo: number;
4497
+ /**
4498
+ * ddos策略组id 集合
4499
+ */
4500
+ PolicyIds?: Array<number>;
4501
+ /**
4502
+ * 站点集合
4503
+ */
4504
+ ZoneIds?: Array<string>;
4505
+ /**
4506
+ * 协议类型,{tcp,udp,all}
4507
+ */
4508
+ Domains?: Array<string>;
4509
+ /**
4510
+ * 选填{Y、N},默认为Y;Y:展示,N:不展示
4511
+ */
4512
+ IsShowDetail?: string;
3328
4513
  }
3329
4514
  /**
3330
4515
  * DescribeCnameStatus请求参数结构体
@@ -3496,25 +4681,84 @@ export interface DeleteLoadBalancingRequest {
3496
4681
  LoadBalancingId: string;
3497
4682
  }
3498
4683
  /**
3499
- * 安全防护实例
4684
+ * DescribeTimingL7AnalysisData请求参数结构体
3500
4685
  */
3501
- export interface SecurityEntity {
4686
+ export interface DescribeTimingL7AnalysisDataRequest {
3502
4687
  /**
3503
- * 用户appid
4688
+ * RFC3339标准,客户端时间
3504
4689
  */
3505
- AppId: number;
4690
+ StartTime: string;
3506
4691
  /**
3507
- * 一级域名
4692
+ * RFC3339标准,客户端时间
3508
4693
  */
3509
- ZoneId: string;
4694
+ EndTime: string;
3510
4695
  /**
3511
- * 二级域名
4696
+ * 时序类访问流量指标
3512
4697
  */
3513
- Entity: string;
4698
+ MetricNames: Array<string>;
3514
4699
  /**
3515
- * 类型 domain/application
4700
+ * 时间间隔,选填{min, 5min, hour, day, week}
3516
4701
  */
3517
- EntityType: string;
4702
+ Interval: string;
4703
+ /**
4704
+ * ZoneId数组
4705
+ */
4706
+ ZoneIds?: Array<string>;
4707
+ /**
4708
+ * 筛选条件
4709
+ */
4710
+ Filters?: Array<Filter>;
4711
+ }
4712
+ /**
4713
+ * DescribeSecurityPolicyManagedRulesId返回参数结构体
4714
+ */
4715
+ export interface DescribeSecurityPolicyManagedRulesIdResponse {
4716
+ /**
4717
+ * 返回总数
4718
+ */
4719
+ Total: number;
4720
+ /**
4721
+ * 门神规则
4722
+ */
4723
+ Rules: Array<ManagedRule>;
4724
+ /**
4725
+ * 返回总数
4726
+ */
4727
+ Count: number;
4728
+ /**
4729
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4730
+ */
4731
+ RequestId?: string;
4732
+ }
4733
+ /**
4734
+ * web事件数据
4735
+ */
4736
+ export interface WebEventData {
4737
+ /**
4738
+ * 攻击事件数据集合
4739
+ 注意:此字段可能返回 null,表示取不到有效值。
4740
+ */
4741
+ List: Array<WebAttackEvent>;
4742
+ /**
4743
+ * 当前页
4744
+ 注意:此字段可能返回 null,表示取不到有效值。
4745
+ */
4746
+ PageNo: number;
4747
+ /**
4748
+ * 每页展示条数
4749
+ 注意:此字段可能返回 null,表示取不到有效值。
4750
+ */
4751
+ PageSize: number;
4752
+ /**
4753
+ * 总页数
4754
+ 注意:此字段可能返回 null,表示取不到有效值。
4755
+ */
4756
+ Pages: number;
4757
+ /**
4758
+ * 总条数
4759
+ 注意:此字段可能返回 null,表示取不到有效值。
4760
+ */
4761
+ TotalSize: number;
3518
4762
  }
3519
4763
  /**
3520
4764
  * 应用代理实例
@@ -3743,44 +4987,117 @@ export interface Header {
3743
4987
  Value: string;
3744
4988
  }
3745
4989
  /**
3746
- * DescribeZoneDetails请求参数结构体
4990
+ * 自定义名字服务器 IP 信息
3747
4991
  */
3748
- export interface DescribeZoneDetailsRequest {
4992
+ export interface VanityNameServersIps {
3749
4993
  /**
3750
- * 站点 ID
4994
+ * 自定义名字服务器名称
3751
4995
  */
3752
- Id: string;
4996
+ Name: string;
4997
+ /**
4998
+ * 自定义名字服务器 IPv4 地址
4999
+ */
5000
+ IPv4: string;
3753
5001
  }
3754
5002
  /**
3755
- * DescribeDDoSPolicy请求参数结构体
5003
+ * DescribeDDosAttackSourceEvent返回参数结构体
3756
5004
  */
3757
- export interface DescribeDDoSPolicyRequest {
5005
+ export interface DescribeDDosAttackSourceEventResponse {
3758
5006
  /**
3759
- * 策略组id
5007
+ * DDos攻击源数据
3760
5008
  */
3761
- PolicyId: number;
5009
+ Data: DDosAttackSourceEventData;
3762
5010
  /**
3763
- * 一级域名zone
5011
+ * 状态,1:失败,0:成功
3764
5012
  */
3765
- ZoneId: string;
5013
+ Status: number;
5014
+ /**
5015
+ * 返回信息
5016
+ */
5017
+ Msg: string;
5018
+ /**
5019
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5020
+ */
5021
+ RequestId?: string;
3766
5022
  }
3767
5023
  /**
3768
- * DescribeDefaultCertificates返回参数结构体
5024
+ * DescribeZoneDetails请求参数结构体
3769
5025
  */
3770
- export interface DescribeDefaultCertificatesResponse {
5026
+ export interface DescribeZoneDetailsRequest {
3771
5027
  /**
3772
- * 证书总数
5028
+ * 站点 ID
3773
5029
  */
3774
- TotalCount: number;
5030
+ Id: string;
5031
+ }
5032
+ /**
5033
+ * DescribeDDoSPolicy请求参数结构体
5034
+ */
5035
+ export interface DescribeDDoSPolicyRequest {
3775
5036
  /**
3776
- * 默认证书列表
5037
+ * 策略组id
5038
+ */
5039
+ PolicyId: number;
5040
+ /**
5041
+ * 一级域名zone
5042
+ */
5043
+ ZoneId: string;
5044
+ }
5045
+ /**
5046
+ * 安全数据Entry返回值
5047
+ */
5048
+ export interface SecEntry {
5049
+ /**
5050
+ * Entry的Key
3777
5051
  注意:此字段可能返回 null,表示取不到有效值。
3778
5052
  */
3779
- CertInfo: Array<DefaultServerCertInfo>;
5053
+ Key: string;
3780
5054
  /**
3781
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5055
+ * Entry的Value
5056
+ 注意:此字段可能返回 null,表示取不到有效值。
5057
+ */
5058
+ Value: Array<SecEntryValue>;
5059
+ }
5060
+ /**
5061
+ * DescribeDDosMajorAttackEvent请求参数结构体
5062
+ */
5063
+ export interface DescribeDDosMajorAttackEventRequest {
5064
+ /**
5065
+ * 开始时间
3782
5066
  */
3783
- RequestId?: string;
5067
+ StartTime: string;
5068
+ /**
5069
+ * 结束时间
5070
+ */
5071
+ EndTime: string;
5072
+ /**
5073
+ * 条数
5074
+ */
5075
+ PageSize: number;
5076
+ /**
5077
+ * 当前页
5078
+ */
5079
+ PageNo: number;
5080
+ /**
5081
+ * ddos 策略组id集合
5082
+ */
5083
+ PolicyIds?: Array<number>;
5084
+ /**
5085
+ * 协议类型,{tcp,udp,all}
5086
+ */
5087
+ ProtocolType?: string;
5088
+ /**
5089
+ * 站点集合
5090
+ */
5091
+ ZoneIds?: Array<string>;
5092
+ }
5093
+ /**
5094
+ * Quic配置项
5095
+ */
5096
+ export interface Quic {
5097
+ /**
5098
+ * 是否启动Quic配置
5099
+ */
5100
+ Switch: string;
3784
5101
  }
3785
5102
  /**
3786
5103
  * CreateOriginGroup返回参数结构体
@@ -3846,6 +5163,36 @@ export interface QueryString {
3846
5163
  * DescribeSecurityPolicyRegions请求参数结构体
3847
5164
  */
3848
5165
  export declare type DescribeSecurityPolicyRegionsRequest = null;
5166
+ /**
5167
+ * 安全数据Entry对应的值
5168
+ */
5169
+ export interface SecEntryValue {
5170
+ /**
5171
+ * 指标名称
5172
+ 注意:此字段可能返回 null,表示取不到有效值。
5173
+ */
5174
+ Metric: string;
5175
+ /**
5176
+ * 指标数据明细
5177
+ 注意:此字段可能返回 null,表示取不到有效值。
5178
+ */
5179
+ Detail: Array<TimingDataItem>;
5180
+ /**
5181
+ * 最大值
5182
+ 注意:此字段可能返回 null,表示取不到有效值。
5183
+ */
5184
+ Max: number;
5185
+ /**
5186
+ * 平均值
5187
+ 注意:此字段可能返回 null,表示取不到有效值。
5188
+ */
5189
+ Avg: number;
5190
+ /**
5191
+ * 数据总和
5192
+ 注意:此字段可能返回 null,表示取不到有效值。
5193
+ */
5194
+ Sum: number;
5195
+ }
3849
5196
  /**
3850
5197
  * ReclaimZone请求参数结构体
3851
5198
  */
@@ -3946,6 +5293,43 @@ export interface ModifyDefaultCertificateResponse {
3946
5293
  */
3947
5294
  RequestId?: string;
3948
5295
  }
5296
+ /**
5297
+ * DescribeDDosAttackEvent请求参数结构体
5298
+ */
5299
+ export interface DescribeDDosAttackEventRequest {
5300
+ /**
5301
+ * 开始时间
5302
+ */
5303
+ StartTime: string;
5304
+ /**
5305
+ * 结束时间
5306
+ */
5307
+ EndTime: string;
5308
+ /**
5309
+ * 条数
5310
+ */
5311
+ PageSize: number;
5312
+ /**
5313
+ * 当前页
5314
+ */
5315
+ PageNo: number;
5316
+ /**
5317
+ * ddos策略组id 集合
5318
+ */
5319
+ PolicyIds?: Array<number>;
5320
+ /**
5321
+ * 站点集合
5322
+ */
5323
+ ZoneIds?: Array<string>;
5324
+ /**
5325
+ * 协议类型,{tcp,udp,all}
5326
+ */
5327
+ ProtocolType?: string;
5328
+ /**
5329
+ * 选填{Y、N},默认为Y;Y:展示,N:不展示
5330
+ */
5331
+ IsShowDetail?: string;
5332
+ }
3949
5333
  /**
3950
5334
  * 客户端IP头部
3951
5335
  */
@@ -4069,45 +5453,336 @@ export interface DescribeZoneSettingResponse {
4069
5453
  /**
4070
5454
  * 站点域名
4071
5455
  */
4072
- Zone: string;
5456
+ Zone: string;
5457
+ /**
5458
+ * WebSocket配置
5459
+ 注意:此字段可能返回 null,表示取不到有效值。
5460
+ */
5461
+ WebSocket: WebSocket;
5462
+ /**
5463
+ * 客户端IP回源请求头配置
5464
+ 注意:此字段可能返回 null,表示取不到有效值。
5465
+ */
5466
+ ClientIpHeader: ClientIp;
5467
+ /**
5468
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5469
+ */
5470
+ RequestId?: string;
5471
+ }
5472
+ /**
5473
+ * AI规则引擎防护
5474
+ */
5475
+ export interface AiRule {
5476
+ /**
5477
+ * smart_status_close-关闭;smart_status_open-拦截处置;
5478
+ smart_status_observe-观察处置
5479
+ 注意:此字段可能返回 null,表示取不到有效值。
5480
+ */
5481
+ Mode?: string;
5482
+ }
5483
+ /**
5484
+ * DescribePurgeTasks请求参数结构体
5485
+ */
5486
+ export interface DescribePurgeTasksRequest {
5487
+ /**
5488
+ * 任务ID
5489
+ */
5490
+ JobId?: string;
5491
+ /**
5492
+ * 类型
5493
+ */
5494
+ Type?: string;
5495
+ /**
5496
+ * 查询起始时间
5497
+ */
5498
+ StartTime?: string;
5499
+ /**
5500
+ * 查询结束时间
5501
+ */
5502
+ EndTime?: string;
5503
+ /**
5504
+ * 查询起始偏移量
5505
+ */
5506
+ Offset?: number;
5507
+ /**
5508
+ * 查询最大返回的结果条数
5509
+ */
5510
+ Limit?: number;
5511
+ /**
5512
+ * 查询的状态
5513
+ 允许的值为:processing、success、failed、timeout、invalid
5514
+ */
5515
+ Statuses?: Array<string>;
5516
+ /**
5517
+ * zone id
5518
+ */
5519
+ ZoneId?: string;
5520
+ /**
5521
+ * 查询的域名列表
5522
+ */
5523
+ Domains?: Array<string>;
5524
+ /**
5525
+ * 查询内容
5526
+ */
5527
+ Target?: string;
5528
+ }
5529
+ /**
5530
+ * 查询条件
5531
+ */
5532
+ export interface QueryCondition {
5533
+ /**
5534
+ * 维度
5535
+ */
5536
+ Key: string;
5537
+ /**
5538
+ * 操作符
5539
+ */
5540
+ Operator: string;
5541
+ /**
5542
+ * 维度值
5543
+ */
5544
+ Value: Array<string>;
5545
+ }
5546
+ /**
5547
+ * DescribeDnsData请求参数结构体
5548
+ */
5549
+ export interface DescribeDnsDataRequest {
5550
+ /**
5551
+ * 起始时间
5552
+ */
5553
+ StartTime: string;
5554
+ /**
5555
+ * 结束时间
5556
+ */
5557
+ EndTime: string;
5558
+ /**
5559
+ * 过滤参数
5560
+ */
5561
+ Filters?: Array<DnsDataFilter>;
5562
+ /**
5563
+ * 时间粒度,默认为1分钟粒度,服务端根据时间范围自适应。
5564
+ 支持指定以下几种粒度:
5565
+ min:1分钟粒度
5566
+ 5min:5分钟粒度
5567
+ hour:1小时粒度
5568
+ day:天粒度
5569
+ */
5570
+ Interval?: string;
5571
+ }
5572
+ /**
5573
+ * 缓存规则配置。
5574
+ */
5575
+ export interface CacheConfig {
5576
+ /**
5577
+ * 缓存配置
5578
+ 注意:此字段可能返回 null,表示取不到有效值。
5579
+ */
5580
+ Cache?: CacheConfigCache;
5581
+ /**
5582
+ * 不缓存配置
5583
+ 注意:此字段可能返回 null,表示取不到有效值。
5584
+ */
5585
+ NoCache?: CacheConfigNoCache;
5586
+ /**
5587
+ * 遵循源站配置
5588
+ 注意:此字段可能返回 null,表示取不到有效值。
5589
+ */
5590
+ FollowOrigin?: CacheConfigFollowOrigin;
5591
+ }
5592
+ /**
5593
+ * DescribeDDosAttackEventDetail返回参数结构体
5594
+ */
5595
+ export interface DescribeDDosAttackEventDetailResponse {
5596
+ /**
5597
+ * DDos攻击事件详情
5598
+ */
5599
+ Data: DDosAttackEventDetailData;
5600
+ /**
5601
+ * 状态,1:失败,0:成功
5602
+ */
5603
+ Status: number;
5604
+ /**
5605
+ * 返回信息
5606
+ */
5607
+ Msg: string;
5608
+ /**
5609
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5610
+ */
5611
+ RequestId?: string;
5612
+ }
5613
+ /**
5614
+ * ModifyApplicationProxyRule请求参数结构体
5615
+ */
5616
+ export interface ModifyApplicationProxyRuleRequest {
5617
+ /**
5618
+ * 站点ID
5619
+ */
5620
+ ZoneId: string;
5621
+ /**
5622
+ * 代理ID
5623
+ */
5624
+ ProxyId: string;
5625
+ /**
5626
+ * 规则ID
5627
+ */
5628
+ RuleId: string;
5629
+ /**
5630
+ * 协议,取值为TCP或者UDP
5631
+ */
5632
+ Proto: string;
5633
+ /**
5634
+ * 端口,支持格式:
5635
+ 80:80端口
5636
+ 81-90:81至90端口
5637
+ */
5638
+ Port: Array<string>;
5639
+ /**
5640
+ * 源站类型,取值:
5641
+ custom:手动添加
5642
+ origins:源站组
5643
+ load_balancing:负载均衡
5644
+ */
5645
+ OriginType: string;
5646
+ /**
5647
+ * 源站信息:
5648
+ 当OriginType=custom时,表示多个:
5649
+ IP:端口
5650
+ 域名:端口
5651
+ 当OriginType=origins时,包含一个元素,表示源站组ID
5652
+ 当OriginType=load_balancing时,包含一个元素,表示负载均衡ID
5653
+ */
5654
+ OriginValue: Array<string>;
5655
+ /**
5656
+ * 传递客户端IP,当Proto=TCP时,取值:
5657
+ TOA:TOA
5658
+ PPV1: Proxy Protocol传递,协议版本V1
5659
+ PPV2: Proxy Protocol传递,协议版本V2
5660
+ OFF:不传递
5661
+ 当Proto=UDP时,取值:
5662
+ PPV2: Proxy Protocol传递,协议版本V2
5663
+ OFF:不传递
5664
+ */
5665
+ ForwardClientIp?: string;
5666
+ /**
5667
+ * 是否开启会话保持
5668
+ */
5669
+ SessionPersist?: boolean;
5670
+ }
5671
+ /**
5672
+ * ModifyDDoSPolicy请求参数结构体
5673
+ */
5674
+ export interface ModifyDDoSPolicyRequest {
5675
+ /**
5676
+ * 策略组ID
5677
+ */
5678
+ PolicyId: number;
5679
+ /**
5680
+ * 一级域名
5681
+ */
5682
+ ZoneId: string;
5683
+ /**
5684
+ * DDoS具体防护配置
5685
+ */
5686
+ DdosRule?: DdosRule;
5687
+ }
5688
+ /**
5689
+ * ModifyZoneCnameSpeedUp返回参数结构体
5690
+ */
5691
+ export interface ModifyZoneCnameSpeedUpResponse {
5692
+ /**
5693
+ * 站点 ID
5694
+ */
5695
+ Id: string;
5696
+ /**
5697
+ * 站点名称
5698
+ */
5699
+ Name: string;
5700
+ /**
5701
+ * CNAME 加速状态
5702
+ - enabled 开启
5703
+ - disabled 关闭
5704
+ */
5705
+ Status: string;
5706
+ /**
5707
+ * 更新时间
5708
+ */
5709
+ ModifiedOn: string;
5710
+ /**
5711
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5712
+ */
5713
+ RequestId?: string;
5714
+ }
5715
+ /**
5716
+ * DescribeWebProtectionLog请求参数结构体
5717
+ */
5718
+ export interface DescribeWebProtectionLogRequest {
5719
+ /**
5720
+ * 起始时间
5721
+ */
5722
+ StartTime: string;
5723
+ /**
5724
+ * 结束时间
5725
+ */
5726
+ EndTime: string;
5727
+ /**
5728
+ * 每页条数
5729
+ */
5730
+ PageSize: number;
5731
+ /**
5732
+ * 当前页
5733
+ */
5734
+ PageNo: number;
5735
+ /**
5736
+ * 站点集合
5737
+ */
5738
+ ZoneIds?: Array<string>;
5739
+ /**
5740
+ * 域名集合
5741
+ */
5742
+ Domains?: Array<string>;
5743
+ /**
5744
+ * 查询条件
5745
+ */
5746
+ QueryCondition?: Array<QueryCondition>;
5747
+ }
5748
+ /**
5749
+ * 限速拦截日志
5750
+ */
5751
+ export interface CCLogData {
4073
5752
  /**
4074
- * WebSocket配置
5753
+ * CC拦截日志数据集合
4075
5754
  注意:此字段可能返回 null,表示取不到有效值。
4076
5755
  */
4077
- WebSocket: WebSocket;
5756
+ List: Array<CCLog>;
4078
5757
  /**
4079
- * 客户端IP回源请求头配置
5758
+ * 当前页
4080
5759
  注意:此字段可能返回 null,表示取不到有效值。
4081
5760
  */
4082
- ClientIpHeader: ClientIp;
5761
+ PageNo: number;
4083
5762
  /**
4084
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4085
- */
4086
- RequestId?: string;
4087
- }
4088
- /**
4089
- * AI规则引擎防护
4090
- */
4091
- export interface AiRule {
5763
+ * 每页展示条数
5764
+ 注意:此字段可能返回 null,表示取不到有效值。
5765
+ */
5766
+ PageSize: number;
4092
5767
  /**
4093
- * smart_status_close-关闭;smart_status_open-拦截处置;
4094
- smart_status_observe-观察处置
5768
+ * 总页数
4095
5769
  注意:此字段可能返回 null,表示取不到有效值。
4096
5770
  */
4097
- Mode?: string;
5771
+ Pages: number;
5772
+ /**
5773
+ * 总条数
5774
+ 注意:此字段可能返回 null,表示取不到有效值。
5775
+ */
5776
+ TotalSize: number;
4098
5777
  }
4099
5778
  /**
4100
- * DescribePurgeTasks请求参数结构体
5779
+ * DescribePrefetchTasks请求参数结构体
4101
5780
  */
4102
- export interface DescribePurgeTasksRequest {
5781
+ export interface DescribePrefetchTasksRequest {
4103
5782
  /**
4104
5783
  * 任务ID
4105
5784
  */
4106
5785
  JobId?: string;
4107
- /**
4108
- * 类型
4109
- */
4110
- Type?: string;
4111
5786
  /**
4112
5787
  * 查询起始时间
4113
5788
  */
@@ -4138,117 +5813,38 @@ export interface DescribePurgeTasksRequest {
4138
5813
  */
4139
5814
  Domains?: Array<string>;
4140
5815
  /**
4141
- * 查询内容
5816
+ * 查询的资源
4142
5817
  */
4143
5818
  Target?: string;
4144
5819
  }
4145
5820
  /**
4146
- * IdentifyZone请求参数结构体
4147
- */
4148
- export interface IdentifyZoneRequest {
4149
- /**
4150
- * 站点名称
4151
- */
4152
- Name: string;
4153
- }
4154
- /**
4155
- * 缓存规则配置。
4156
- */
4157
- export interface CacheConfig {
4158
- /**
4159
- * 缓存配置
4160
- 注意:此字段可能返回 null,表示取不到有效值。
4161
- */
4162
- Cache?: CacheConfigCache;
4163
- /**
4164
- * 不缓存配置
4165
- 注意:此字段可能返回 null,表示取不到有效值。
4166
- */
4167
- NoCache?: CacheConfigNoCache;
4168
- /**
4169
- * 遵循源站配置
4170
- 注意:此字段可能返回 null,表示取不到有效值。
4171
- */
4172
- FollowOrigin?: CacheConfigFollowOrigin;
4173
- }
4174
- /**
4175
- * ModifyDDoSPolicy请求参数结构体
4176
- */
4177
- export interface ModifyDDoSPolicyRequest {
4178
- /**
4179
- * 策略组ID
4180
- */
4181
- PolicyId: number;
4182
- /**
4183
- * 一级域名
4184
- */
4185
- ZoneId: string;
4186
- /**
4187
- * DDoS具体防护配置
4188
- */
4189
- DdosRule?: DdosRule;
4190
- }
4191
- /**
4192
- * ModifyZoneCnameSpeedUp返回参数结构体
5821
+ * 内容管理任务结果
4193
5822
  */
4194
- export interface ModifyZoneCnameSpeedUpResponse {
5823
+ export interface Task {
4195
5824
  /**
4196
- * 站点 ID
5825
+ * 任务ID
4197
5826
  */
4198
- Id: string;
5827
+ JobId: string;
4199
5828
  /**
4200
- * 站点名称
5829
+ * 状态
4201
5830
  */
4202
- Name: string;
4203
- /**
4204
- * CNAME 加速状态
4205
- - enabled 开启
4206
- - disabled 关闭
4207
- */
4208
5831
  Status: string;
4209
5832
  /**
4210
- * 更新时间
5833
+ * 资源
4211
5834
  */
4212
- ModifiedOn: string;
5835
+ Target: string;
4213
5836
  /**
4214
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5837
+ * 任务类型
4215
5838
  */
4216
- RequestId?: string;
4217
- }
4218
- /**
4219
- * 站点查询过滤条件
4220
- */
4221
- export interface ZoneFilter {
4222
- /**
4223
- * 过滤字段名,支持的列表如下:
4224
- - name: 站点名。
4225
- - status: 站点状态
4226
- */
4227
- Name: string;
5839
+ Type: string;
4228
5840
  /**
4229
- * 过滤字段值
5841
+ * 任务创建时间
4230
5842
  */
4231
- Values: Array<string>;
5843
+ CreateTime: string;
4232
5844
  /**
4233
- * 是否启用模糊查询,仅支持过滤字段名为name。模糊查询时,Values长度最大为1
5845
+ * 任务完成时间
4234
5846
  */
4235
- Fuzzy?: boolean;
4236
- }
4237
- /**
4238
- * 浏览器缓存规则配置,用于设置 MaxAge 默认值,默认为关闭状态
4239
- */
4240
- export interface MaxAge {
4241
- /**
4242
- * MaxAge 时间设置,单位秒,最大365天
4243
- 注意:时间为0,即不缓存。
4244
- 注意:此字段可能返回 null,表示取不到有效值。
4245
- */
4246
- MaxAgeTime?: number;
4247
- /**
4248
- * 是否遵循源站,on或off,开启时忽略时间设置。
4249
- 注意:此字段可能返回 null,表示取不到有效值。
4250
- */
4251
- FollowOrigin?: string;
5847
+ UpdateTime: string;
4252
5848
  }
4253
5849
  /**
4254
5850
  * DeleteDnsRecords请求参数结构体
@@ -4314,43 +5910,46 @@ export interface DescribeZoneDDoSPolicyResponse {
4314
5910
  RequestId?: string;
4315
5911
  }
4316
5912
  /**
4317
- * ACL配置
5913
+ * CNAME 状态
4318
5914
  */
4319
- export interface AclConfig {
5915
+ export interface CnameStatus {
4320
5916
  /**
4321
- * 开关
5917
+ * 记录名称
4322
5918
  */
4323
- Switch: string;
5919
+ Name: string;
4324
5920
  /**
4325
- * ACL用户规则
4326
- */
4327
- UserRules: Array<ACLUserRule>;
5921
+ * CNAME 地址
5922
+ 注意:此字段可能返回 null,表示取不到有效值。
5923
+ */
5924
+ Cname: string;
5925
+ /**
5926
+ * 状态
5927
+ 生效:active
5928
+ 不生效:moved
5929
+ 注意:此字段可能返回 null,表示取不到有效值。
5930
+ */
5931
+ Status: string;
4328
5932
  }
4329
5933
  /**
4330
- * DescribeDnsData请求参数结构体
5934
+ * DescribeDDosMajorAttackEvent返回参数结构体
4331
5935
  */
4332
- export interface DescribeDnsDataRequest {
5936
+ export interface DescribeDDosMajorAttackEventResponse {
4333
5937
  /**
4334
- * 起始时间
5938
+ * DDos查询主攻击事件
4335
5939
  */
4336
- StartTime: string;
5940
+ Data: DDosMajorAttackEventData;
4337
5941
  /**
4338
- * 结束时间
5942
+ * 状态,1:失败,0:成功
4339
5943
  */
4340
- EndTime: string;
5944
+ Status: number;
4341
5945
  /**
4342
- * 过滤参数
5946
+ * 返回消息
4343
5947
  */
4344
- Filters?: Array<DnsDataFilter>;
5948
+ Msg: string;
4345
5949
  /**
4346
- * 时间粒度,默认为1分钟粒度,服务端根据时间范围自适应。
4347
- 支持指定以下几种粒度:
4348
- min:1分钟粒度
4349
- 5min:5分钟粒度
4350
- hour:1小时粒度
4351
- day:天粒度
4352
- */
4353
- Interval?: string;
5950
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5951
+ */
5952
+ RequestId?: string;
4354
5953
  }
4355
5954
  /**
4356
5955
  * DDoS特征过滤
@@ -4441,6 +6040,27 @@ export interface DDoSFeaturesFilter {
4441
6040
  */
4442
6041
  MatchBegin2?: string;
4443
6042
  }
6043
+ /**
6044
+ * DescribeWebProtectionAttackEvents返回参数结构体
6045
+ */
6046
+ export interface DescribeWebProtectionAttackEventsResponse {
6047
+ /**
6048
+ * DDos攻击事件数据
6049
+ */
6050
+ Data: CCInterceptEventData;
6051
+ /**
6052
+ * 状态,1:失败,0:成功
6053
+ */
6054
+ Status: number;
6055
+ /**
6056
+ * 返回消息
6057
+ */
6058
+ Msg: string;
6059
+ /**
6060
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6061
+ */
6062
+ RequestId?: string;
6063
+ }
4444
6064
  /**
4445
6065
  * CreatePurgeTask请求参数结构体
4446
6066
  */
@@ -4555,6 +6175,39 @@ export interface DescribeApplicationProxyDetailResponse {
4555
6175
  */
4556
6176
  RequestId?: string;
4557
6177
  }
6178
+ /**
6179
+ * DescribeBotLog请求参数结构体
6180
+ */
6181
+ export interface DescribeBotLogRequest {
6182
+ /**
6183
+ * 起始时间
6184
+ */
6185
+ StartTime: string;
6186
+ /**
6187
+ * 结束时间
6188
+ */
6189
+ EndTime: string;
6190
+ /**
6191
+ * 每页条数
6192
+ */
6193
+ PageSize: number;
6194
+ /**
6195
+ * 当前页
6196
+ */
6197
+ PageNo: number;
6198
+ /**
6199
+ * 站点集合
6200
+ */
6201
+ ZoneIds?: Array<string>;
6202
+ /**
6203
+ * 域名集合
6204
+ */
6205
+ Domains?: Array<string>;
6206
+ /**
6207
+ * 查询条件
6208
+ */
6209
+ QueryCondition?: Array<QueryCondition>;
6210
+ }
4558
6211
  /**
4559
6212
  * DownloadL7Logs返回参数结构体
4560
6213
  */
@@ -4570,24 +6223,61 @@ export interface DownloadL7LogsResponse {
4570
6223
  */
4571
6224
  PageSize: number;
4572
6225
  /**
4573
- * 页号
4574
- 注意:此字段可能返回 null,表示取不到有效值。
4575
- */
4576
- PageNo: number;
6226
+ * 页号
6227
+ 注意:此字段可能返回 null,表示取不到有效值。
6228
+ */
6229
+ PageNo: number;
6230
+ /**
6231
+ * 总页数
6232
+ 注意:此字段可能返回 null,表示取不到有效值。
6233
+ */
6234
+ Pages: number;
6235
+ /**
6236
+ * 总条数
6237
+ 注意:此字段可能返回 null,表示取不到有效值。
6238
+ */
6239
+ TotalSize: number;
6240
+ /**
6241
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6242
+ */
6243
+ RequestId?: string;
6244
+ }
6245
+ /**
6246
+ * ddos 攻击事件的详情
6247
+ */
6248
+ export interface DDosAttackEventDetailData {
6249
+ /**
6250
+ * 攻击状态
6251
+ */
6252
+ AttackStatus: number;
6253
+ /**
6254
+ * 攻击类型
6255
+ */
6256
+ AttackType: string;
6257
+ /**
6258
+ * 结束时间
6259
+ */
6260
+ EndTime: number;
6261
+ /**
6262
+ * 开始时间
6263
+ */
6264
+ StartTime: number;
6265
+ /**
6266
+ * 最大带宽
6267
+ */
6268
+ MaxBandWidth: number;
4577
6269
  /**
4578
- * 总页数
4579
- 注意:此字段可能返回 null,表示取不到有效值。
4580
- */
4581
- Pages: number;
6270
+ * 最大包速率
6271
+ */
6272
+ PacketMaxRate: number;
4582
6273
  /**
4583
- * 总条数
4584
- 注意:此字段可能返回 null,表示取不到有效值。
4585
- */
4586
- TotalSize: number;
6274
+ * 事件Id
6275
+ */
6276
+ EventId: string;
4587
6277
  /**
4588
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6278
+ * ddos 策略组id
4589
6279
  */
4590
- RequestId?: string;
6280
+ PolicyId: number;
4591
6281
  }
4592
6282
  /**
4593
6283
  * CreateOriginGroup请求参数结构体
@@ -4619,6 +6309,43 @@ export interface CreateOriginGroupRequest {
4619
6309
  */
4620
6310
  OriginType?: string;
4621
6311
  }
6312
+ /**
6313
+ * DescribeTimingL4Data请求参数结构体
6314
+ */
6315
+ export interface DescribeTimingL4DataRequest {
6316
+ /**
6317
+ * RFC3339格式,客户端时间
6318
+ */
6319
+ StartTime: string;
6320
+ /**
6321
+ * RFC3339格式,客户端时间
6322
+ */
6323
+ EndTime: string;
6324
+ /**
6325
+ * 指标列表
6326
+ */
6327
+ MetricNames: Array<string>;
6328
+ /**
6329
+ * ZoneId列表,仅在zone/instance维度下查询时该参数有效
6330
+ */
6331
+ ZoneIds?: Array<string>;
6332
+ /**
6333
+ * InstanceId列表,仅在Instance维度下查询时该参数有效
6334
+ */
6335
+ InstanceIds?: Array<string>;
6336
+ /**
6337
+ * 协议类型, 该字段当前无效
6338
+ */
6339
+ Protocol?: string;
6340
+ /**
6341
+ * 时间间隔,选填{min, 5min, hour, day}
6342
+ */
6343
+ Interval?: string;
6344
+ /**
6345
+ * 规则ID,仅在instance维度有效
6346
+ */
6347
+ RuleId?: string;
6348
+ }
4622
6349
  /**
4623
6350
  * DescribeHostsSetting请求参数结构体
4624
6351
  */
@@ -4649,6 +6376,65 @@ export interface DescribeZoneDDoSPolicyRequest {
4649
6376
  */
4650
6377
  ZoneId?: string;
4651
6378
  }
6379
+ /**
6380
+ * DescribeDDosAttackData返回参数结构体
6381
+ */
6382
+ export interface DescribeDDosAttackDataResponse {
6383
+ /**
6384
+ * DDos攻击数据
6385
+ 注意:此字段可能返回 null,表示取不到有效值。
6386
+ */
6387
+ Data: Array<SecEntry>;
6388
+ /**
6389
+ * 状态,1:失败,0:成功
6390
+ */
6391
+ Status: number;
6392
+ /**
6393
+ * 返回数据
6394
+ */
6395
+ Msg: string;
6396
+ /**
6397
+ * 查询时间粒度,可选{min,5min,hour,day}
6398
+ */
6399
+ Interval: string;
6400
+ /**
6401
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6402
+ */
6403
+ RequestId?: string;
6404
+ }
6405
+ /**
6406
+ * DescribeWebManagedRulesLog请求参数结构体
6407
+ */
6408
+ export interface DescribeWebManagedRulesLogRequest {
6409
+ /**
6410
+ * 起始时间
6411
+ */
6412
+ StartTime: string;
6413
+ /**
6414
+ * 结束时间
6415
+ */
6416
+ EndTime: string;
6417
+ /**
6418
+ * 每页条数
6419
+ */
6420
+ PageSize: number;
6421
+ /**
6422
+ * 当前页
6423
+ */
6424
+ PageNo: number;
6425
+ /**
6426
+ * 站点集合
6427
+ */
6428
+ ZoneIds?: Array<string>;
6429
+ /**
6430
+ * 域名集合
6431
+ */
6432
+ Domains?: Array<string>;
6433
+ /**
6434
+ * 查询条件
6435
+ */
6436
+ QueryCondition?: Array<QueryCondition>;
6437
+ }
4652
6438
  /**
4653
6439
  * CreateApplicationProxyRules返回参数结构体
4654
6440
  */
@@ -4662,6 +6448,51 @@ export interface CreateApplicationProxyRulesResponse {
4662
6448
  */
4663
6449
  RequestId?: string;
4664
6450
  }
6451
+ /**
6452
+ * DescribeWebManagedRulesTopData请求参数结构体
6453
+ */
6454
+ export interface DescribeWebManagedRulesTopDataRequest {
6455
+ /**
6456
+ * 开始时间
6457
+ */
6458
+ StartTime: string;
6459
+ /**
6460
+ * 结束时间
6461
+ */
6462
+ EndTime: string;
6463
+ /**
6464
+ * 过滤指标
6465
+ */
6466
+ MetricName: string;
6467
+ /**
6468
+ * 查询前多少名,传值为0 全量
6469
+ */
6470
+ Limit: number;
6471
+ /**
6472
+ * 站点集合
6473
+ */
6474
+ ZoneIds?: Array<string>;
6475
+ /**
6476
+ * ddos策略组id 集合
6477
+ */
6478
+ PolicyIds?: Array<number>;
6479
+ /**
6480
+ * 端口号
6481
+ */
6482
+ Port?: number;
6483
+ /**
6484
+ * 协议类型,tcp,udp,all
6485
+ */
6486
+ ProtocolType?: string;
6487
+ /**
6488
+ * 攻击类型,flood,icmpFlood......,all
6489
+ */
6490
+ AttackType?: string;
6491
+ /**
6492
+ * 域名集合
6493
+ */
6494
+ Domains?: Array<string>;
6495
+ }
4665
6496
  /**
4666
6497
  * DescribeIdentification返回参数结构体
4667
6498
  */
@@ -4699,52 +6530,49 @@ export interface DescribeIdentificationResponse {
4699
6530
  RequestId?: string;
4700
6531
  }
4701
6532
  /**
4702
- * 源站组信息
6533
+ * DDos主攻击事件
4703
6534
  */
4704
- export interface OriginGroup {
6535
+ export interface DDosMajorAttackEvent {
4705
6536
  /**
4706
- * 源站组ID
6537
+ * ddos 策略组id
4707
6538
  */
4708
- OriginId: string;
6539
+ PolicyId: number;
4709
6540
  /**
4710
- * 源站组名称
6541
+ * 攻击最大带宽
4711
6542
  */
4712
- OriginName: string;
6543
+ AttackMaxBandWidth: number;
4713
6544
  /**
4714
- * 配置类型
6545
+ * 攻击时间 单位为s
4715
6546
  */
4716
- Type: string;
6547
+ AttackTime: number;
6548
+ }
6549
+ /**
6550
+ * ModifyZoneCnameSpeedUp请求参数结构体
6551
+ */
6552
+ export interface ModifyZoneCnameSpeedUpRequest {
4717
6553
  /**
4718
- * 记录
6554
+ * 站点 ID
4719
6555
  */
4720
- Record: Array<OriginRecord>;
6556
+ Id: string;
4721
6557
  /**
4722
- * 更新时间
4723
- */
4724
- UpdateTime: string;
6558
+ * CNAME 加速状态
6559
+ - enabled 开启
6560
+ - disabled 关闭
6561
+ */
6562
+ Status: string;
6563
+ }
6564
+ /**
6565
+ * ModifyLoadBalancing返回参数结构体
6566
+ */
6567
+ export interface ModifyLoadBalancingResponse {
4725
6568
  /**
4726
- * 站点ID
6569
+ * 负载均衡ID
4727
6570
  */
4728
- ZoneId: string;
6571
+ LoadBalancingId: string;
4729
6572
  /**
4730
- * 站点名称
6573
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4731
6574
  */
4732
- ZoneName: string;
4733
- /**
4734
- * 源站类型
4735
- 注意:此字段可能返回 null,表示取不到有效值。
4736
- */
4737
- OriginType: string;
4738
- /**
4739
- * 是否为四层代理使用
4740
- 注意:此字段可能返回 null,表示取不到有效值。
4741
- */
4742
- ApplicationProxyUsed: boolean;
4743
- /**
4744
- * 是否为负载均衡使用
4745
- 注意:此字段可能返回 null,表示取不到有效值。
4746
- */
4747
- LoadBalancingUsed: boolean;
6575
+ RequestId?: string;
4748
6576
  }
4749
6577
  /**
4750
6578
  * DDoS黑白名单
@@ -4781,6 +6609,27 @@ export interface DDoSUserAllowBlockIP {
4781
6609
  */
4782
6610
  Mask2?: number;
4783
6611
  }
6612
+ /**
6613
+ * DescribeBotLog返回参数结构体
6614
+ */
6615
+ export interface DescribeBotLogResponse {
6616
+ /**
6617
+ * Bot攻击Data
6618
+ */
6619
+ Data: BotLogData;
6620
+ /**
6621
+ * 状态,1:失败,0:成功
6622
+ */
6623
+ Status: number;
6624
+ /**
6625
+ * 返回信息
6626
+ */
6627
+ Msg: string;
6628
+ /**
6629
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6630
+ */
6631
+ RequestId?: string;
6632
+ }
4784
6633
  /**
4785
6634
  * DescribeLoadBalancing返回参数结构体
4786
6635
  */
@@ -4798,6 +6647,32 @@ export interface DescribeLoadBalancingResponse {
4798
6647
  */
4799
6648
  RequestId?: string;
4800
6649
  }
6650
+ /**
6651
+ * DescribeWebProtectionData返回参数结构体
6652
+ */
6653
+ export interface DescribeWebProtectionDataResponse {
6654
+ /**
6655
+ * 数据详情
6656
+ 注意:此字段可能返回 null,表示取不到有效值。
6657
+ */
6658
+ Data: Array<SecEntry>;
6659
+ /**
6660
+ * 状态,1:失败,0:成功
6661
+ */
6662
+ Status: number;
6663
+ /**
6664
+ * 消息
6665
+ */
6666
+ Msg: string;
6667
+ /**
6668
+ * 查询时间粒度,可选{min,5min,hour,day}
6669
+ */
6670
+ Interval: string;
6671
+ /**
6672
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6673
+ */
6674
+ RequestId?: string;
6675
+ }
4801
6676
  /**
4802
6677
  * ModifyDnssec返回参数结构体
4803
6678
  */
@@ -5074,6 +6949,50 @@ export interface OfflineCache {
5074
6949
  */
5075
6950
  Switch: string;
5076
6951
  }
6952
+ /**
6953
+ * DescribeOriginGroupDetail请求参数结构体
6954
+ */
6955
+ export interface DescribeOriginGroupDetailRequest {
6956
+ /**
6957
+ * 源站组ID
6958
+ */
6959
+ OriginId: string;
6960
+ /**
6961
+ * 站点ID
6962
+ */
6963
+ ZoneId: string;
6964
+ }
6965
+ /**
6966
+ * DescribeDDosAttackEventDetail请求参数结构体
6967
+ */
6968
+ export interface DescribeDDosAttackEventDetailRequest {
6969
+ /**
6970
+ * 时间id
6971
+ */
6972
+ EventId: string;
6973
+ }
6974
+ /**
6975
+ * DescribeTimingL4Data返回参数结构体
6976
+ */
6977
+ export interface DescribeTimingL4DataResponse {
6978
+ /**
6979
+ * 查询维度
6980
+ */
6981
+ Type: string;
6982
+ /**
6983
+ * 时间间隔
6984
+ */
6985
+ Interval: string;
6986
+ /**
6987
+ * 详细数据
6988
+ 注意:此字段可能返回 null,表示取不到有效值。
6989
+ */
6990
+ Data: Array<TimingDataRecord>;
6991
+ /**
6992
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6993
+ */
6994
+ RequestId?: string;
6995
+ }
5077
6996
  /**
5078
6997
  * 安全Bot配置
5079
6998
  */
@@ -5100,17 +7019,38 @@ export interface BotConfig {
5100
7019
  PortraitRule?: BotPortraitRule;
5101
7020
  }
5102
7021
  /**
5103
- * 自定义名字服务器 IP 信息
7022
+ * 时序类型详细数据
5104
7023
  */
5105
- export interface VanityNameServersIps {
7024
+ export interface TimingTypeValue {
5106
7025
  /**
5107
- * 自定义名字服务器名称
5108
- */
5109
- Name: string;
7026
+ * 数据和
7027
+ 注意:此字段可能返回 null,表示取不到有效值。
7028
+ */
7029
+ Sum: number;
5110
7030
  /**
5111
- * 自定义名字服务器 IPv4 地址
7031
+ * 最大
7032
+ 注意:此字段可能返回 null,表示取不到有效值。
7033
+ */
7034
+ Max: number;
7035
+ /**
7036
+ * 平均
7037
+ 注意:此字段可能返回 null,表示取不到有效值。
7038
+ */
7039
+ Avg: number;
7040
+ /**
7041
+ * 指标名
5112
7042
  */
5113
- IPv4: string;
7043
+ MetricName: string;
7044
+ /**
7045
+ * 废弃字段,即将下线,请使用Detail字段
7046
+ 注意:此字段可能返回 null,表示取不到有效值。
7047
+ */
7048
+ DetailData: Array<number>;
7049
+ /**
7050
+ * 详细数据
7051
+ 注意:此字段可能返回 null,表示取不到有效值。
7052
+ */
7053
+ Detail: Array<TimingDataItem>;
5114
7054
  }
5115
7055
  /**
5116
7056
  * DescribeBotManagedRules请求参数结构体