tencentcloud-sdk-nodejs 4.0.286 → 4.0.290

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.
Files changed (106) hide show
  1. package/CHANGELOG.md +582 -0
  2. package/SERVICE_CHANGELOG.md +598 -28
  3. package/package.json +1 -1
  4. package/products.md +32 -32
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_client.ts +1 -0
  7. package/src/services/ame/v20190916/ame_models.ts +35 -4
  8. package/src/services/antiddos/v20200309/antiddos_client.ts +327 -68
  9. package/src/services/antiddos/v20200309/antiddos_models.ts +1378 -240
  10. package/src/services/asr/v20190614/asr_models.ts +3 -2
  11. package/src/services/ccc/v20200210/ccc_client.ts +128 -91
  12. package/src/services/ccc/v20200210/ccc_models.ts +183 -6
  13. package/src/services/cdb/v20170320/cdb_models.ts +26 -4
  14. package/src/services/cdn/v20180606/cdn_client.ts +5 -2
  15. package/src/services/cdn/v20180606/cdn_models.ts +36 -4
  16. package/src/services/cii/v20210408/cii_client.ts +2 -2
  17. package/src/services/cii/v20210408/cii_models.ts +19 -6
  18. package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +12 -0
  19. package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +15 -0
  20. package/src/services/dbbrain/v20210527/dbbrain_client.ts +15 -2
  21. package/src/services/dbbrain/v20210527/dbbrain_models.ts +122 -22
  22. package/src/services/dcdb/v20180411/dcdb_client.ts +13 -0
  23. package/src/services/dcdb/v20180411/dcdb_models.ts +192 -0
  24. package/src/services/ecdn/v20191012/ecdn_client.ts +8 -4
  25. package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
  26. package/src/services/gaap/v20180529/gaap_models.ts +51 -6
  27. package/src/services/ic/v20190307/ic_models.ts +1 -1
  28. package/src/services/iecp/v20210914/iecp_models.ts +6 -0
  29. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +12 -0
  30. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +47 -0
  31. package/src/services/ivld/v20210903/ivld_models.ts +10 -0
  32. package/src/services/lighthouse/v20200324/lighthouse_client.ts +21 -4
  33. package/src/services/lighthouse/v20200324/lighthouse_models.ts +209 -36
  34. package/src/services/monitor/v20180724/monitor_models.ts +18 -1
  35. package/src/services/organization/v20210331/organization_models.ts +2 -2
  36. package/src/services/rum/v20210622/rum_client.ts +585 -47
  37. package/src/services/rum/v20210622/rum_models.ts +3049 -338
  38. package/src/services/ssm/v20190923/ssm_models.ts +3 -3
  39. package/src/services/tcm/v20210413/tcm_models.ts +10 -0
  40. package/src/services/tcss/v20201101/tcss_models.ts +13 -2
  41. package/src/services/tdmq/v20200217/tdmq_models.ts +66 -6
  42. package/src/services/tiw/v20190919/tiw_models.ts +6 -6
  43. package/src/services/vod/v20180717/vod_models.ts +3 -3
  44. package/src/services/vpc/v20170312/vpc_client.ts +4 -4
  45. package/src/services/vpc/v20170312/vpc_models.ts +1 -1
  46. package/tencentcloud/common/sdk_version.d.ts +1 -1
  47. package/tencentcloud/common/sdk_version.js +1 -1
  48. package/tencentcloud/services/ame/v20190916/ame_models.d.ts +29 -2
  49. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +103 -19
  50. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +153 -27
  51. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +1201 -240
  52. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -1
  53. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +47 -35
  54. package/tencentcloud/services/ccc/v20200210/ccc_client.js +69 -51
  55. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +154 -5
  56. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +22 -4
  57. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +3 -1
  58. package/tencentcloud/services/cdn/v20180606/cdn_client.js +3 -1
  59. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +32 -4
  60. package/tencentcloud/services/cii/v20210408/cii_client.d.ts +2 -2
  61. package/tencentcloud/services/cii/v20210408/cii_client.js +2 -2
  62. package/tencentcloud/services/cii/v20210408/cii_models.d.ts +15 -3
  63. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +5 -1
  64. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +6 -0
  65. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +13 -0
  66. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
  67. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
  68. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +104 -21
  69. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
  70. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
  71. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +157 -0
  72. package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +6 -2
  73. package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +6 -2
  74. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
  75. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +43 -6
  76. package/tencentcloud/services/ic/v20190307/ic_models.d.ts +1 -1
  77. package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +5 -0
  78. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
  79. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
  80. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +40 -0
  81. package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +8 -0
  82. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +5 -1
  83. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +6 -0
  84. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +179 -33
  85. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +15 -1
  86. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +2 -2
  87. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +198 -13
  88. package/tencentcloud/services/rum/v20210622/rum_client.js +289 -18
  89. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +2593 -328
  90. package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +3 -3
  91. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +8 -0
  92. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +11 -2
  93. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +56 -5
  94. package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +6 -6
  95. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +3 -3
  96. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +4 -4
  97. package/tencentcloud/services/vpc/v20170312/vpc_client.js +4 -4
  98. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
  99. package/test/antiddos.v20200309.test.js +228 -18
  100. package/test/ccc.v20200210.test.js +66 -36
  101. package/test/cloudaudit.v20190319.test.js +10 -0
  102. package/test/dbbrain.v20210527.test.js +10 -0
  103. package/test/dcdb.v20180411.test.js +10 -0
  104. package/test/iotexplorer.v20190423.test.js +10 -0
  105. package/test/lighthouse.v20200324.test.js +10 -0
  106. package/test/rum.v20210622.test.js +442 -12
@@ -69,6 +69,135 @@ export interface DescribeBlackWhiteIpListResponse {
69
69
  */
70
70
  RequestId?: string;
71
71
  }
72
+ /**
73
+ * 特征过滤配置
74
+ */
75
+ export interface PacketFilterConfig {
76
+ /**
77
+ * 协议,取值[tcp udp icmp all]
78
+ */
79
+ Protocol: string;
80
+ /**
81
+ * 起始源端口,取值0~65535
82
+ */
83
+ SportStart: number;
84
+ /**
85
+ * 结束源端口,取值1~65535,必须大于等于起始源端口
86
+ */
87
+ SportEnd: number;
88
+ /**
89
+ * 起始目的端口,取值0~65535
90
+ */
91
+ DportStart: number;
92
+ /**
93
+ * 结束目的端口,取值1~65535,必须大于等于起始目的端口
94
+ */
95
+ DportEnd: number;
96
+ /**
97
+ * 最小报文长度,取值1-1500
98
+ */
99
+ PktlenMin: number;
100
+ /**
101
+ * 最大报文长度,取值1-1500,必须大于等于最小报文长度
102
+ */
103
+ PktlenMax: number;
104
+ /**
105
+ * 动作,取值[
106
+ drop(丢弃)
107
+ transmit(放行)
108
+ drop_black(丢弃并拉黑)
109
+ drop_rst(拦截)
110
+ drop_black_rst(拦截并拉黑)
111
+ forward(继续防护)
112
+ ]
113
+ */
114
+ Action: string;
115
+ /**
116
+ * 检测位置,取值[
117
+ begin_l3(IP头)
118
+ begin_l4(TCP/UDP头)
119
+ begin_l5(T载荷)
120
+ no_match(不匹配)
121
+ ]
122
+ */
123
+ MatchBegin?: string;
124
+ /**
125
+ * 检测类型,取值[
126
+ sunday(关键字)
127
+ pcre(正则表达式)
128
+ ]
129
+ */
130
+ MatchType?: string;
131
+ /**
132
+ * 检测值,关键字符串或正则表达式,取值[
133
+ 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码;
134
+ 当检测类型为pcre时, 请填写正则表达式字符串;
135
+ ]
136
+ */
137
+ Str?: string;
138
+ /**
139
+ * 从检测位置开始的检测深度,取值[0,1500]
140
+ */
141
+ Depth?: number;
142
+ /**
143
+ * 从检测位置开始的偏移量,取值范围[0,Depth]
144
+ */
145
+ Offset?: number;
146
+ /**
147
+ * 是否包含检测值,取值[
148
+ 0(包含)
149
+ 1(不包含)
150
+ ]
151
+ */
152
+ IsNot?: number;
153
+ /**
154
+ * 当有第二个检测条件时,与第一检测条件的且或关系,取值[
155
+ and(且的关系)
156
+ none(当没有第二个检测条件时填写此值)
157
+ ]
158
+ */
159
+ MatchLogic?: string;
160
+ /**
161
+ * 第二个检测位置,取值[
162
+ begin_l5(载荷)
163
+ no_match(不匹配)
164
+ ]
165
+ */
166
+ MatchBegin2?: string;
167
+ /**
168
+ * 第二个检测类型,取值[
169
+ sunday(关键字)
170
+ pcre(正则表达式)
171
+ ]
172
+ */
173
+ MatchType2?: string;
174
+ /**
175
+ * 第二个检测值,关键字符串或正则表达式,取值[
176
+ 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码;
177
+ 当检测类型为pcre时, 请填写正则表达式字符串;
178
+ ]
179
+ */
180
+ Str2?: string;
181
+ /**
182
+ * 从第二个检测位置开始的第二个检测深度,取值[0,1500]
183
+ */
184
+ Depth2?: number;
185
+ /**
186
+ * 从第二个检测位置开始的偏移量,取值范围[0,Depth2]
187
+ */
188
+ Offset2?: number;
189
+ /**
190
+ * 第二个检测是否包含检测值,取值[
191
+ 0(包含)
192
+ 1(不包含)
193
+ ]
194
+ */
195
+ IsNot2?: number;
196
+ /**
197
+ * 特征过滤配置添加成功后自动生成的规则ID,当添加新特征过滤配置时,此字段不用填写;
198
+ */
199
+ Id?: string;
200
+ }
72
201
  /**
73
202
  * 转发类型
74
203
  */
@@ -110,6 +239,43 @@ export interface CreateBoundIPRequest {
110
239
  */
111
240
  CopyPolicy?: string;
112
241
  }
242
+ /**
243
+ * CC频率限制策略项字段
244
+ */
245
+ export interface CCReqLimitPolicyRecord {
246
+ /**
247
+ * 统计周期,可取值1,10,30,60,单位秒
248
+ */
249
+ Period: number;
250
+ /**
251
+ * 请求数,取值1~20000
252
+ */
253
+ RequestNum: number;
254
+ /**
255
+ * 频率限制策略方式,可取值alg表示验证码,drop表示丢弃
256
+ */
257
+ Action: string;
258
+ /**
259
+ * 频率限制策略时长,可取值1~86400,单位秒
260
+ */
261
+ ExecuteDuration: number;
262
+ /**
263
+ * 策略项比对方式,可取值include表示包含,equal表示等于
264
+ */
265
+ Mode: string;
266
+ /**
267
+ * Uri,三个策略项仅可填其中之一
268
+ */
269
+ Uri?: string;
270
+ /**
271
+ * User-Agent,三个策略项仅可填其中之一
272
+ */
273
+ UserAgent?: string;
274
+ /**
275
+ * Cookie,三个策略项仅可填其中之一
276
+ */
277
+ Cookie?: string;
278
+ }
113
279
  /**
114
280
  * DescribeListSchedulingDomain请求参数结构体
115
281
  */
@@ -198,17 +364,17 @@ export interface IPAlarmThresholdRelation {
198
364
  InstanceDetailList: Array<InstanceRelation>;
199
365
  }
200
366
  /**
201
- * ModifyDDoSGeoIPBlockConfig请求参数结构体
367
+ * DeleteCCRequestLimitPolicy请求参数结构体
202
368
  */
203
- export interface ModifyDDoSGeoIPBlockConfigRequest {
369
+ export interface DeleteCCRequestLimitPolicyRequest {
204
370
  /**
205
- * 资源实例ID
371
+ * 实例Id
206
372
  */
207
373
  InstanceId: string;
208
374
  /**
209
- * DDoS区域封禁配置,填写参数时配置ID不能为空
375
+ * 策略Id
210
376
  */
211
- DDoSGeoIPBlockConfig: DDoSGeoIPBlockConfig;
377
+ PolicyId: string;
212
378
  }
213
379
  /**
214
380
  * DescribeL7RulesBySSLCertId返回参数结构体
@@ -224,25 +390,21 @@ export interface DescribeL7RulesBySSLCertIdResponse {
224
390
  RequestId?: string;
225
391
  }
226
392
  /**
227
- * DescribeListDDoSSpeedLimitConfig请求参数结构体
393
+ * DescribeDDoSBlackWhiteIpList返回参数结构体
228
394
  */
229
- export interface DescribeListDDoSSpeedLimitConfigRequest {
230
- /**
231
- * 页起始偏移,取值为(页码-1)*一页条数
232
- */
233
- Offset: number;
395
+ export interface DescribeDDoSBlackWhiteIpListResponse {
234
396
  /**
235
- * 一页条数,当Limit=0时,默认一页条数为100;最大取值为100
397
+ * 黑名单IP列表
236
398
  */
237
- Limit: number;
399
+ BlackIpList: Array<IpSegment>;
238
400
  /**
239
- * 资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
401
+ * 白名单IP列表
240
402
  */
241
- FilterInstanceId: string;
403
+ WhiteIpList: Array<IpSegment>;
242
404
  /**
243
- * IP搜索
405
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
244
406
  */
245
- FilterIp?: string;
407
+ RequestId?: string;
246
408
  }
247
409
  /**
248
410
  * 资源实例IP信息
@@ -274,6 +436,15 @@ export interface ModifyNewDomainRulesRequest {
274
436
  */
275
437
  Rule: NewL7RuleEntry;
276
438
  }
439
+ /**
440
+ * 地域信息
441
+ */
442
+ export interface RegionInfo {
443
+ /**
444
+ * 地域名称,例如,ap-guangzhou
445
+ */
446
+ Region: string;
447
+ }
277
448
  /**
278
449
  * DescribeListProtocolBlockConfig返回参数结构体
279
450
  */
@@ -324,7 +495,7 @@ export interface DescribeListBGPInstancesRequest {
324
495
  */
325
496
  FilterLine?: number;
326
497
  /**
327
- * 状态搜索,idle:允许中;attacking:攻击中;blocking:封堵中
498
+ * 状态搜索,idle:运行中;attacking:攻击中;blocking:封堵中
328
499
  */
329
500
  FilterStatus?: string;
330
501
  /**
@@ -345,6 +516,27 @@ export interface KeyValue {
345
516
  */
346
517
  Value: string;
347
518
  }
519
+ /**
520
+ * ModifyCcBlackWhiteIpList请求参数结构体
521
+ */
522
+ export interface ModifyCcBlackWhiteIpListRequest {
523
+ /**
524
+ * 资源实例ID
525
+ */
526
+ InstanceId: string;
527
+ /**
528
+ * IP列表
529
+ */
530
+ IpList: Array<IpSegment>;
531
+ /**
532
+ * IP类型,取值[black(黑名单IP), white(白名单IP)]
533
+ */
534
+ Type: string;
535
+ /**
536
+ * 策略Id
537
+ */
538
+ PolicyId: string;
539
+ }
348
540
  /**
349
541
  * DeleteDDoSSpeedLimitConfig请求参数结构体
350
542
  */
@@ -359,17 +551,22 @@ export interface DeleteDDoSSpeedLimitConfigRequest {
359
551
  DDoSSpeedLimitConfig: DDoSSpeedLimitConfig;
360
552
  }
361
553
  /**
362
- * CreateDDoSConnectLimit请求参数结构体
554
+ * CreatePacketFilterConfig返回参数结构体
363
555
  */
364
- export interface CreateDDoSConnectLimitRequest {
556
+ export interface CreatePacketFilterConfigResponse {
365
557
  /**
366
- * 资源实例Id
558
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
367
559
  */
368
- InstanceId: string;
560
+ RequestId?: string;
561
+ }
562
+ /**
563
+ * CreateCCReqLimitPolicy返回参数结构体
564
+ */
565
+ export interface CreateCCReqLimitPolicyResponse {
369
566
  /**
370
- * 连接抑制配置
567
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
371
568
  */
372
- ConnectLimitConfig: ConnectLimitConfig;
569
+ RequestId?: string;
373
570
  }
374
571
  /**
375
572
  * DescribeListWaterPrintConfig请求参数结构体
@@ -405,6 +602,24 @@ export interface CreateL7RuleCertsRequest {
405
602
  */
406
603
  L7Rules: Array<InsL7Rules>;
407
604
  }
605
+ /**
606
+ * CreateCCPrecisionPolicy返回参数结构体
607
+ */
608
+ export interface CreateCCPrecisionPolicyResponse {
609
+ /**
610
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
611
+ */
612
+ RequestId?: string;
613
+ }
614
+ /**
615
+ * DeleteCcGeoIPBlockConfig返回参数结构体
616
+ */
617
+ export interface DeleteCcGeoIPBlockConfigResponse {
618
+ /**
619
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
620
+ */
621
+ RequestId?: string;
622
+ }
408
623
  /**
409
624
  * DeleteDDoSGeoIPBlockConfig请求参数结构体
410
625
  */
@@ -419,35 +634,70 @@ export interface DeleteDDoSGeoIPBlockConfigRequest {
419
634
  DDoSGeoIPBlockConfig: DDoSGeoIPBlockConfig;
420
635
  }
421
636
  /**
422
- * CreateIPAlarmThresholdConfig请求参数结构体
637
+ * ModifyDDoSGeoIPBlockConfig返回参数结构体
423
638
  */
424
- export interface CreateIPAlarmThresholdConfigRequest {
639
+ export interface ModifyDDoSGeoIPBlockConfigResponse {
425
640
  /**
426
- * IP告警阈值配置列表
641
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
427
642
  */
428
- IpAlarmThresholdConfigList: Array<IPAlarmThresholdRelation>;
643
+ RequestId?: string;
429
644
  }
430
645
  /**
431
- * DescribeDefaultAlarmThreshold返回参数结构体
646
+ * DescribeCcBlackWhiteIpList返回参数结构体
432
647
  */
433
- export interface DescribeDefaultAlarmThresholdResponse {
648
+ export interface DescribeCcBlackWhiteIpListResponse {
434
649
  /**
435
- * 默认告警阈值配置
650
+ * CC四层黑白名单策略列表总数
436
651
  */
437
- DefaultAlarmConfigList: Array<DefaultAlarmThreshold>;
652
+ Total: number;
653
+ /**
654
+ * CC四层黑白名单策略列表详情
655
+ */
656
+ CcBlackWhiteIpList: Array<CcBlackWhiteIpPolicy>;
438
657
  /**
439
658
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
440
659
  */
441
660
  RequestId?: string;
442
661
  }
443
662
  /**
444
- * CreateDDoSAI请求参数结构体
663
+ * ModifyCCLevelPolicy返回参数结构体
445
664
  */
446
- export interface CreateDDoSAIRequest {
665
+ export interface ModifyCCLevelPolicyResponse {
447
666
  /**
448
- * 资源实例ID列表
667
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
449
668
  */
450
- InstanceIdList: Array<string>;
669
+ RequestId?: string;
670
+ }
671
+ /**
672
+ * CreateIPAlarmThresholdConfig请求参数结构体
673
+ */
674
+ export interface CreateIPAlarmThresholdConfigRequest {
675
+ /**
676
+ * IP告警阈值配置列表
677
+ */
678
+ IpAlarmThresholdConfigList: Array<IPAlarmThresholdRelation>;
679
+ }
680
+ /**
681
+ * DescribeDefaultAlarmThreshold返回参数结构体
682
+ */
683
+ export interface DescribeDefaultAlarmThresholdResponse {
684
+ /**
685
+ * 默认告警阈值配置
686
+ */
687
+ DefaultAlarmConfigList: Array<DefaultAlarmThreshold>;
688
+ /**
689
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
690
+ */
691
+ RequestId?: string;
692
+ }
693
+ /**
694
+ * CreateDDoSAI请求参数结构体
695
+ */
696
+ export interface CreateDDoSAIRequest {
697
+ /**
698
+ * 资源实例ID列表
699
+ */
700
+ InstanceIdList: Array<string>;
451
701
  /**
452
702
  * AI防护开关,取值[
453
703
  on(开启)
@@ -499,21 +749,49 @@ export interface ModifyNewDomainRulesResponse {
499
749
  RequestId?: string;
500
750
  }
501
751
  /**
502
- * DescribeDDoSBlackWhiteIpList返回参数结构体
752
+ * CC四层黑白名单列表
503
753
  */
504
- export interface DescribeDDoSBlackWhiteIpListResponse {
754
+ export interface CcBlackWhiteIpPolicy {
505
755
  /**
506
- * 黑名单IP列表
756
+ * 策略Id
507
757
  */
508
- BlackIpList: Array<IpSegment>;
758
+ PolicyId: string;
509
759
  /**
510
- * 白名单IP列表
760
+ * 实例Id
511
761
  */
512
- WhiteIpList: Array<IpSegment>;
762
+ InstanceId: string;
513
763
  /**
514
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
764
+ * IP地址
515
765
  */
516
- RequestId?: string;
766
+ Ip: string;
767
+ /**
768
+ * 域名
769
+ */
770
+ Domain: string;
771
+ /**
772
+ * 协议
773
+ */
774
+ Protocol: string;
775
+ /**
776
+ * IP类型,取值[black(黑名单IP), white(白名单IP)]
777
+ */
778
+ Type: string;
779
+ /**
780
+ * 黑白名单IP地址
781
+ */
782
+ BlackWhiteIp: string;
783
+ /**
784
+ * 掩码
785
+ */
786
+ Mask: number;
787
+ /**
788
+ * 创建时间
789
+ */
790
+ CreateTime: string;
791
+ /**
792
+ * 修改时间
793
+ */
794
+ ModifyTime: string;
517
795
  }
518
796
  /**
519
797
  * DescribeDDoSConnectLimitList返回参数结构体
@@ -532,6 +810,15 @@ export interface DescribeDDoSConnectLimitListResponse {
532
810
  */
533
811
  RequestId?: string;
534
812
  }
813
+ /**
814
+ * ModifyPacketFilterConfig返回参数结构体
815
+ */
816
+ export interface ModifyPacketFilterConfigResponse {
817
+ /**
818
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
819
+ */
820
+ RequestId?: string;
821
+ }
535
822
  /**
536
823
  * CreateWaterPrintConfig返回参数结构体
537
824
  */
@@ -541,6 +828,23 @@ export interface CreateWaterPrintConfigResponse {
541
828
  */
542
829
  RequestId?: string;
543
830
  }
831
+ /**
832
+ * ModifyPortAclConfig请求参数结构体
833
+ */
834
+ export interface ModifyPortAclConfigRequest {
835
+ /**
836
+ * 资源实例ID
837
+ */
838
+ InstanceId: string;
839
+ /**
840
+ * 旧端口acl策略
841
+ */
842
+ OldAclConfig: AclConfig;
843
+ /**
844
+ * 新端口acl策略
845
+ */
846
+ NewAclConfig: AclConfig;
847
+ }
544
848
  /**
545
849
  * DescribeListBGPIPInstances请求参数结构体
546
850
  */
@@ -724,6 +1028,23 @@ export interface CreateDDoSBlackWhiteIpListRequest {
724
1028
  */
725
1029
  Type: string;
726
1030
  }
1031
+ /**
1032
+ * ModifyCCReqLimitPolicy请求参数结构体
1033
+ */
1034
+ export interface ModifyCCReqLimitPolicyRequest {
1035
+ /**
1036
+ * 实例Id
1037
+ */
1038
+ InstanceId: string;
1039
+ /**
1040
+ * 策略Id
1041
+ */
1042
+ PolicyId: string;
1043
+ /**
1044
+ * 策略项
1045
+ */
1046
+ Policy: CCReqLimitPolicyRecord;
1047
+ }
727
1048
  /**
728
1049
  * DisassociateDDoSEipAddress返回参数结构体
729
1050
  */
@@ -779,6 +1100,15 @@ export interface ModifyDomainUsrNameResponse {
779
1100
  */
780
1101
  RequestId?: string;
781
1102
  }
1103
+ /**
1104
+ * ModifyCcBlackWhiteIpList返回参数结构体
1105
+ */
1106
+ export interface ModifyCcBlackWhiteIpListResponse {
1107
+ /**
1108
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1109
+ */
1110
+ RequestId?: string;
1111
+ }
782
1112
  /**
783
1113
  * CreatePortAclConfigList请求参数结构体
784
1114
  */
@@ -956,13 +1286,29 @@ export interface BGPIPInstanceUsages {
956
1286
  Last7DayAttackCount: number;
957
1287
  }
958
1288
  /**
959
- * ModifyPacketFilterConfig返回参数结构体
1289
+ * ModifyDDoSBlackWhiteIpList请求参数结构体
960
1290
  */
961
- export interface ModifyPacketFilterConfigResponse {
1291
+ export interface ModifyDDoSBlackWhiteIpListRequest {
962
1292
  /**
963
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1293
+ * 资源Id
964
1294
  */
965
- RequestId?: string;
1295
+ InstanceId: string;
1296
+ /**
1297
+ * 当前黑名单类型,取值black时黑名单;取值white时白名单
1298
+ */
1299
+ OldIpType: string;
1300
+ /**
1301
+ * 当前配置的Ip段,包含ip与掩码
1302
+ */
1303
+ OldIp: IpSegment;
1304
+ /**
1305
+ * 修改后黑白名单类型,取值black时黑名单,取值white时白名单
1306
+ */
1307
+ NewIpType: string;
1308
+ /**
1309
+ * 当前配置的Ip段,包含ip与掩码
1310
+ */
1311
+ NewIp: IpSegment;
966
1312
  }
967
1313
  /**
968
1314
  * DescribeListDDoSGeoIPBlockConfig请求参数结构体
@@ -985,6 +1331,28 @@ export interface DescribeListDDoSGeoIPBlockConfigRequest {
985
1331
  */
986
1332
  FilterIp?: string;
987
1333
  }
1334
+ /**
1335
+ * CreateCcGeoIPBlockConfig返回参数结构体
1336
+ */
1337
+ export interface CreateCcGeoIPBlockConfigResponse {
1338
+ /**
1339
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1340
+ */
1341
+ RequestId?: string;
1342
+ }
1343
+ /**
1344
+ * ModifyDDoSGeoIPBlockConfig请求参数结构体
1345
+ */
1346
+ export interface ModifyDDoSGeoIPBlockConfigRequest {
1347
+ /**
1348
+ * 资源实例ID
1349
+ */
1350
+ InstanceId: string;
1351
+ /**
1352
+ * DDoS区域封禁配置,填写参数时配置ID不能为空
1353
+ */
1354
+ DDoSGeoIPBlockConfig: DDoSGeoIPBlockConfig;
1355
+ }
988
1356
  /**
989
1357
  * 7层转发规则
990
1358
  */
@@ -1006,6 +1374,15 @@ export interface Layer7Rule {
1006
1374
  */
1007
1375
  InstanceDetails: Array<InstanceRelation>;
1008
1376
  }
1377
+ /**
1378
+ * ModifyPortAclConfig返回参数结构体
1379
+ */
1380
+ export interface ModifyPortAclConfigResponse {
1381
+ /**
1382
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1383
+ */
1384
+ RequestId?: string;
1385
+ }
1009
1386
  /**
1010
1387
  * DescribeBasicDeviceStatus请求参数结构体
1011
1388
  */
@@ -1015,6 +1392,19 @@ export interface DescribeBasicDeviceStatusRequest {
1015
1392
  */
1016
1393
  IpList: Array<string>;
1017
1394
  }
1395
+ /**
1396
+ * DeleteCcGeoIPBlockConfig请求参数结构体
1397
+ */
1398
+ export interface DeleteCcGeoIPBlockConfigRequest {
1399
+ /**
1400
+ * 资源实例ID
1401
+ */
1402
+ InstanceId: string;
1403
+ /**
1404
+ * CC区域封禁配置,填写参数时配置ID不能为空
1405
+ */
1406
+ CcGeoIPBlockConfig: CcGeoIPBlockConfig;
1407
+ }
1018
1408
  /**
1019
1409
  * L4规则回源列表
1020
1410
  */
@@ -1085,6 +1475,19 @@ export interface DeleteWaterPrintKeyRequest {
1085
1475
  */
1086
1476
  KeyId: string;
1087
1477
  }
1478
+ /**
1479
+ * 操作返回码,只用于返回成功的情况
1480
+ */
1481
+ export interface SuccessCode {
1482
+ /**
1483
+ * 描述
1484
+ */
1485
+ Message: string;
1486
+ /**
1487
+ * 成功/错误码
1488
+ */
1489
+ Code: string;
1490
+ }
1088
1491
  /**
1089
1492
  * AssociateDDoSEipAddress返回参数结构体
1090
1493
  */
@@ -1146,17 +1549,38 @@ export interface DescribeBlackWhiteIpListRequest {
1146
1549
  InstanceId: string;
1147
1550
  }
1148
1551
  /**
1149
- * ModifyDomainUsrName请求参数结构体
1552
+ * CreateCcGeoIPBlockConfig请求参数结构体
1150
1553
  */
1151
- export interface ModifyDomainUsrNameRequest {
1554
+ export interface CreateCcGeoIPBlockConfigRequest {
1152
1555
  /**
1153
- * 用户CNAME
1556
+ * 实例id
1154
1557
  */
1155
- DomainName: string;
1558
+ InstanceId: string;
1156
1559
  /**
1157
- * 域名名称
1560
+ * ip地址
1158
1561
  */
1159
- DomainUserName: string;
1562
+ IP: string;
1563
+ /**
1564
+ * 域名
1565
+ */
1566
+ Domain: string;
1567
+ /**
1568
+ * 协议类型
1569
+ */
1570
+ Protocol: string;
1571
+ /**
1572
+ * CC区域封禁配置,填写参数时配置ID请为空
1573
+ */
1574
+ CcGeoIPBlockConfig: CcGeoIPBlockConfig;
1575
+ }
1576
+ /**
1577
+ * DeletePortAclConfig返回参数结构体
1578
+ */
1579
+ export interface DeletePortAclConfigResponse {
1580
+ /**
1581
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1582
+ */
1583
+ RequestId?: string;
1160
1584
  }
1161
1585
  /**
1162
1586
  * CreateDDoSSpeedLimitConfig返回参数结构体
@@ -1286,6 +1710,19 @@ export interface ProtocolBlockConfig {
1286
1710
  */
1287
1711
  CheckExceptNullConnect: number;
1288
1712
  }
1713
+ /**
1714
+ * DeleteCCPrecisionPolicy请求参数结构体
1715
+ */
1716
+ export interface DeleteCCPrecisionPolicyRequest {
1717
+ /**
1718
+ * 实例Id
1719
+ */
1720
+ InstanceId: string;
1721
+ /**
1722
+ * 策略Id
1723
+ */
1724
+ PolicyId: string;
1725
+ }
1289
1726
  /**
1290
1727
  * 高防IP资产实例信息
1291
1728
  */
@@ -1566,6 +2003,39 @@ off(关闭)
1566
2003
  */
1567
2004
  InstanceDetailList: Array<InstanceRelation>;
1568
2005
  }
2006
+ /**
2007
+ * DescribeCCReqLimitPolicyList请求参数结构体
2008
+ */
2009
+ export interface DescribeCCReqLimitPolicyListRequest {
2010
+ /**
2011
+ * 大禹子产品代号(bgp-multip表示高防包,bgpip表示高防ip)
2012
+ */
2013
+ Business: string;
2014
+ /**
2015
+ * 页起始偏移,取值为(页码-1)*一页条数
2016
+ */
2017
+ Offset: number;
2018
+ /**
2019
+ * 一页条数
2020
+ */
2021
+ Limit: number;
2022
+ /**
2023
+ * 指定实例Id
2024
+ */
2025
+ InstanceId?: string;
2026
+ /**
2027
+ * Ip地址,普通高防ip要传该字段
2028
+ */
2029
+ Ip?: string;
2030
+ /**
2031
+ * 域名,普通高防ip要传该字段
2032
+ */
2033
+ Domain?: string;
2034
+ /**
2035
+ * 协议,普通高防ip要传该字段
2036
+ */
2037
+ Protocol?: string;
2038
+ }
1569
2039
  /**
1570
2040
  * 端口acl策略配置与高防资源关联
1571
2041
  */
@@ -1596,6 +2066,19 @@ export interface DescribeListDDoSSpeedLimitConfigResponse {
1596
2066
  */
1597
2067
  RequestId?: string;
1598
2068
  }
2069
+ /**
2070
+ * ModifyDDoSThreshold返回参数结构体
2071
+ */
2072
+ export interface ModifyDDoSThresholdResponse {
2073
+ /**
2074
+ * 成功码
2075
+ */
2076
+ Success: SuccessCode;
2077
+ /**
2078
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2079
+ */
2080
+ RequestId?: string;
2081
+ }
1599
2082
  /**
1600
2083
  * CreateDDoSGeoIPBlockConfig返回参数结构体
1601
2084
  */
@@ -1606,40 +2089,111 @@ export interface CreateDDoSGeoIPBlockConfigResponse {
1606
2089
  RequestId?: string;
1607
2090
  }
1608
2091
  /**
1609
- * 域名与协议纬度的CC防护阈值
2092
+ * CC精准防护策略信息
1610
2093
  */
1611
- export interface ListenerCcThreholdConfig {
2094
+ export interface CCPrecisionPolicy {
1612
2095
  /**
1613
- * 域名
2096
+ * 策略Id
1614
2097
  */
1615
- Domain: string;
2098
+ PolicyId: string;
1616
2099
  /**
1617
- * 协议(可取值htttps)
2100
+ * 实例Id
1618
2101
  */
1619
- Protocol: string;
2102
+ InstanceId: string;
1620
2103
  /**
1621
- * 开关状态(0:关闭,1:开启)
2104
+ * Ip地址
1622
2105
  */
1623
- CCEnable: number;
2106
+ Ip: string;
1624
2107
  /**
1625
- * cc防护阈值
2108
+ * 协议
1626
2109
  */
1627
- CCThreshold: number;
1628
- }
1629
- /**
1630
- * DeleteDDoSBlackWhiteIpList请求参数结构体
1631
- */
1632
- export interface DeleteDDoSBlackWhiteIpListRequest {
2110
+ Protocol: string;
1633
2111
  /**
1634
- * 资源实例ID
2112
+ * 域名
1635
2113
  */
1636
- InstanceId: string;
2114
+ Domain: string;
1637
2115
  /**
1638
- * IP列表
2116
+ * 策略方式(丢弃或验证码)
1639
2117
  */
1640
- IpList: Array<IpSegment>;
2118
+ PolicyAction: string;
1641
2119
  /**
1642
- * IP类型,取值[black(黑名单IP), white(白名单IP)]
2120
+ * 策略列表
2121
+ */
2122
+ PolicyList: Array<CCPrecisionPlyRecord>;
2123
+ /**
2124
+ * 创建时间
2125
+ */
2126
+ CreateTime: string;
2127
+ /**
2128
+ * 修改时间
2129
+ */
2130
+ ModifyTime: string;
2131
+ }
2132
+ /**
2133
+ * 域名与协议纬度的CC防护阈值
2134
+ */
2135
+ export interface ListenerCcThreholdConfig {
2136
+ /**
2137
+ * 域名
2138
+ */
2139
+ Domain: string;
2140
+ /**
2141
+ * 协议(可取值htttps)
2142
+ */
2143
+ Protocol: string;
2144
+ /**
2145
+ * 开关状态(0:关闭,1:开启)
2146
+ */
2147
+ CCEnable: number;
2148
+ /**
2149
+ * cc防护阈值
2150
+ */
2151
+ CCThreshold: number;
2152
+ }
2153
+ /**
2154
+ * 高防弹性公网IP关联信息
2155
+ */
2156
+ export interface EipAddressRelation {
2157
+ /**
2158
+ * 高防弹性公网IP绑定的实例地区,例如hk代表香港
2159
+ 注意:此字段可能返回 null,表示取不到有效值。
2160
+ */
2161
+ EipAddressRegion: string;
2162
+ /**
2163
+ * 绑定的资源实例ID。可能是一个CVM。
2164
+ 注意:此字段可能返回 null,表示取不到有效值。
2165
+ */
2166
+ EipBoundRscIns: string;
2167
+ /**
2168
+ * 绑定的弹性网卡ID
2169
+ 注意:此字段可能返回 null,表示取不到有效值。
2170
+ */
2171
+ EipBoundRscEni: string;
2172
+ /**
2173
+ * 绑定的资源内网ip
2174
+ 注意:此字段可能返回 null,表示取不到有效值。
2175
+ */
2176
+ EipBoundRscVip: string;
2177
+ /**
2178
+ * 修改时间
2179
+ 注意:此字段可能返回 null,表示取不到有效值。
2180
+ */
2181
+ ModifyTime: string;
2182
+ }
2183
+ /**
2184
+ * DeleteDDoSBlackWhiteIpList请求参数结构体
2185
+ */
2186
+ export interface DeleteDDoSBlackWhiteIpListRequest {
2187
+ /**
2188
+ * 资源实例ID
2189
+ */
2190
+ InstanceId: string;
2191
+ /**
2192
+ * IP列表
2193
+ */
2194
+ IpList: Array<IpSegment>;
2195
+ /**
2196
+ * IP类型,取值[black(黑名单IP), white(白名单IP)]
1643
2197
  */
1644
2198
  Type: string;
1645
2199
  }
@@ -1672,34 +2226,45 @@ export interface IPLineInfo {
1672
2226
  Eip: string;
1673
2227
  }
1674
2228
  /**
1675
- * 高防弹性公网IP关联信息
2229
+ * DescribeCcBlackWhiteIpList请求参数结构体
1676
2230
  */
1677
- export interface EipAddressRelation {
2231
+ export interface DescribeCcBlackWhiteIpListRequest {
1678
2232
  /**
1679
- * 高防弹性公网IP绑定的实例地区,例如hk代表香港
1680
- 注意:此字段可能返回 null,表示取不到有效值。
2233
+ * 大禹子产品代号(bgp-multip:表示高防包;bgpip:表示高防ip)
1681
2234
  */
1682
- EipAddressRegion: string;
2235
+ Business: string;
1683
2236
  /**
1684
- * 绑定的资源实例ID。可能是一个CVM。
1685
- 注意:此字段可能返回 null,表示取不到有效值。
2237
+ * 指定特定实例Id
1686
2238
  */
1687
- EipBoundRscIns: string;
2239
+ InstanceId: string;
1688
2240
  /**
1689
- * 绑定的弹性网卡ID
1690
- 注意:此字段可能返回 null,表示取不到有效值。
2241
+ * 页起始偏移,取值为(页码-1)*一页条数
1691
2242
  */
1692
- EipBoundRscEni: string;
2243
+ Offset: number;
1693
2244
  /**
1694
- * 绑定的资源内网ip
1695
- 注意:此字段可能返回 null,表示取不到有效值。
2245
+ * 一页条数
1696
2246
  */
1697
- EipBoundRscVip: string;
2247
+ Limit: number;
1698
2248
  /**
1699
- * 修改时间
1700
- 注意:此字段可能返回 null,表示取不到有效值。
2249
+ * Ip地址,普通高防ip要传该字段
1701
2250
  */
1702
- ModifyTime: string;
2251
+ Ip?: string;
2252
+ /**
2253
+ * 域名,普通高防ip要传该字段
2254
+ */
2255
+ Domain?: string;
2256
+ /**
2257
+ * 协议,普通高防ip要传该字段
2258
+ */
2259
+ Protocol?: string;
2260
+ /**
2261
+ * 筛选ip,需要筛选黑白名单ip时传该字段
2262
+ */
2263
+ FilterIp?: string;
2264
+ /**
2265
+ * 黑白名单筛选字段,需要筛选黑白名单列表时传该字段
2266
+ */
2267
+ FilterType?: string;
1703
2268
  }
1704
2269
  /**
1705
2270
  * DescribeListListener返回参数结构体
@@ -1718,6 +2283,19 @@ export interface DescribeListListenerResponse {
1718
2283
  */
1719
2284
  RequestId?: string;
1720
2285
  }
2286
+ /**
2287
+ * DeletePortAclConfig请求参数结构体
2288
+ */
2289
+ export interface DeletePortAclConfigRequest {
2290
+ /**
2291
+ * 资源实例ID
2292
+ */
2293
+ InstanceId: string;
2294
+ /**
2295
+ * 端口acl策略
2296
+ */
2297
+ AclConfig: AclConfig;
2298
+ }
1721
2299
  /**
1722
2300
  * 防护阈值配置相关信息
1723
2301
  */
@@ -1771,13 +2349,17 @@ export interface CreatePortAclConfigResponse {
1771
2349
  RequestId?: string;
1772
2350
  }
1773
2351
  /**
1774
- * ModifyL7RulesEdge返回参数结构体
2352
+ * ModifyDDoSLevel返回参数结构体
1775
2353
  */
1776
- export interface ModifyL7RulesEdgeResponse {
2354
+ export interface ModifyDDoSLevelResponse {
1777
2355
  /**
1778
- * 成功码
2356
+ * 防护等级,取值[low,middle,high]
1779
2357
  */
1780
- Success: SuccessCode;
2358
+ DDoSLevel: string;
2359
+ /**
2360
+ * 资源ID
2361
+ */
2362
+ Id: string;
1781
2363
  /**
1782
2364
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1783
2365
  */
@@ -1796,6 +2378,35 @@ export interface CreateL7RuleCertsResponse {
1796
2378
  */
1797
2379
  RequestId?: string;
1798
2380
  }
2381
+ /**
2382
+ * CreateCCPrecisionPolicy请求参数结构体
2383
+ */
2384
+ export interface CreateCCPrecisionPolicyRequest {
2385
+ /**
2386
+ * 实例Id
2387
+ */
2388
+ InstanceId: string;
2389
+ /**
2390
+ * IP值
2391
+ */
2392
+ Ip: string;
2393
+ /**
2394
+ * 协议, 可取值HTTP,HTTPS
2395
+ */
2396
+ Protocol: string;
2397
+ /**
2398
+ * 域名
2399
+ */
2400
+ Domain: string;
2401
+ /**
2402
+ * 策略方式,可取值alg表示验证码,drop表示丢弃
2403
+ */
2404
+ PolicyAction: string;
2405
+ /**
2406
+ * 策略记录
2407
+ */
2408
+ PolicyList: Array<CCPrecisionPlyRecord>;
2409
+ }
1799
2410
  /**
1800
2411
  * 连接抑制相关配置
1801
2412
  */
@@ -1949,6 +2560,45 @@ export interface CreateDefaultAlarmThresholdResponse {
1949
2560
  */
1950
2561
  RequestId?: string;
1951
2562
  }
2563
+ /**
2564
+ * ModifyDDoSThreshold请求参数结构体
2565
+ */
2566
+ export interface ModifyDDoSThresholdRequest {
2567
+ /**
2568
+ * DDoS清洗阈值,取值[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000];
2569
+ 当设置值为0时,表示采用默认值;
2570
+ */
2571
+ Threshold: number;
2572
+ /**
2573
+ * 资源ID
2574
+ */
2575
+ Id: string;
2576
+ /**
2577
+ * 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)
2578
+ */
2579
+ Business: string;
2580
+ }
2581
+ /**
2582
+ * ModifyDDoSLevel请求参数结构体
2583
+ */
2584
+ export interface ModifyDDoSLevelRequest {
2585
+ /**
2586
+ * 资源ID
2587
+ */
2588
+ Id: string;
2589
+ /**
2590
+ * 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)
2591
+ */
2592
+ Business: string;
2593
+ /**
2594
+ * =get表示读取防护等级;=set表示修改防护等级
2595
+ */
2596
+ Method: string;
2597
+ /**
2598
+ * 防护等级,取值[low,middle,high];当Method=set时必填
2599
+ */
2600
+ DDoSLevel?: string;
2601
+ }
1952
2602
  /**
1953
2603
  * DescribeListIPAlarmConfig返回参数结构体
1954
2604
  */
@@ -1967,238 +2617,259 @@ export interface DescribeListIPAlarmConfigResponse {
1967
2617
  RequestId?: string;
1968
2618
  }
1969
2619
  /**
1970
- * 操作返回码,只用于返回成功的情况
2620
+ * CC地域封禁列表详情
1971
2621
  */
1972
- export interface SuccessCode {
2622
+ export interface CcGeoIpPolicyNew {
1973
2623
  /**
1974
- * 描述
2624
+ * 策略Id
1975
2625
  */
1976
- Message: string;
2626
+ PolicyId: string;
1977
2627
  /**
1978
- * 成功/错误码
2628
+ * 实例Id
1979
2629
  */
1980
- Code: string;
1981
- }
1982
- /**
1983
- * Protocol、Port参数
1984
- */
1985
- export interface ProtocolPort {
2630
+ InstanceId: string;
1986
2631
  /**
1987
- * 协议(tcp;udp)
2632
+ * IP地址
2633
+ */
2634
+ Ip: string;
2635
+ /**
2636
+ * 域名
2637
+ */
2638
+ Domain: string;
2639
+ /**
2640
+ * 协议,可取值HTTP,HTTPS
1988
2641
  */
1989
2642
  Protocol: string;
1990
2643
  /**
1991
- * 端口
2644
+ * 用户动作,drop或alg
1992
2645
  */
1993
- Port: number;
1994
- }
1995
- /**
1996
- * DescribeListBGPInstances返回参数结构体
1997
- */
1998
- export interface DescribeListBGPInstancesResponse {
2646
+ Action: string;
1999
2647
  /**
2000
- * 总数
2648
+ * 地域类型,分为china, oversea与customized
2001
2649
  */
2002
- Total: number;
2650
+ RegionType: string;
2003
2651
  /**
2004
- * 高防包资产实例列表
2652
+ * 用户选择封禁的地域ID列表
2005
2653
  */
2006
- InstanceList: Array<BGPInstance>;
2654
+ AreaList: Array<number>;
2655
+ /**
2656
+ * 创建时间
2657
+ */
2658
+ CreateTime: string;
2659
+ /**
2660
+ * 修改时间
2661
+ */
2662
+ ModifyTime: string;
2663
+ }
2664
+ /**
2665
+ * ModifyDDoSBlackWhiteIpList返回参数结构体
2666
+ */
2667
+ export interface ModifyDDoSBlackWhiteIpListResponse {
2007
2668
  /**
2008
2669
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2009
2670
  */
2010
2671
  RequestId?: string;
2011
2672
  }
2012
2673
  /**
2013
- * DescribeListDDoSAI请求参数结构体
2674
+ * CC频率限制策略
2014
2675
  */
2015
- export interface DescribeListDDoSAIRequest {
2676
+ export interface CCReqLimitPolicy {
2016
2677
  /**
2017
- * 页起始偏移,取值为(页码-1)*一页条数
2678
+ * 策略Id
2018
2679
  */
2019
- Offset: number;
2680
+ PolicyId: string;
2020
2681
  /**
2021
- * 一页条数,当Limit=0时,默认一页条数为100;最大取值为100
2682
+ * 实例Id
2022
2683
  */
2023
- Limit: number;
2684
+ InstanceId: string;
2024
2685
  /**
2025
- * 资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
2686
+ * Ip地址
2026
2687
  */
2027
- FilterInstanceId: string;
2688
+ Ip: string;
2028
2689
  /**
2029
- * IP搜索
2690
+ * 协议,可取值HTTP,HTTPS
2030
2691
  */
2031
- FilterIp?: string;
2692
+ Protocol: string;
2693
+ /**
2694
+ * 域名
2695
+ */
2696
+ Domain: string;
2697
+ /**
2698
+ * 策略项
2699
+ */
2700
+ PolicyRecord: CCReqLimitPolicyRecord;
2701
+ /**
2702
+ * 创建时间
2703
+ */
2704
+ CreateTime: string;
2705
+ /**
2706
+ * 修改时间
2707
+ */
2708
+ ModifyTime: string;
2032
2709
  }
2033
2710
  /**
2034
- * DescribeListIPAlarmConfig请求参数结构体
2711
+ * DescribeCCPrecisionPlyList请求参数结构体
2035
2712
  */
2036
- export interface DescribeListIPAlarmConfigRequest {
2713
+ export interface DescribeCCPrecisionPlyListRequest {
2714
+ /**
2715
+ * 大禹子产品代号(bgpip-multip:表示高防包;bgpip:表示高防ip)
2716
+ */
2717
+ Business: string;
2037
2718
  /**
2038
2719
  * 页起始偏移,取值为(页码-1)*一页条数
2039
2720
  */
2040
2721
  Offset: number;
2041
2722
  /**
2042
- * 一页条数,当Limit=0时,默认一页条数为100;最大取值为100
2723
+ * 一页条数
2043
2724
  */
2044
2725
  Limit: number;
2045
2726
  /**
2046
- * 资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
2727
+ * 指定特定实例Id
2047
2728
  */
2048
- FilterInstanceId: string;
2729
+ InstanceId?: string;
2049
2730
  /**
2050
- * 告警阈值类型搜索,取值[
2051
- 1(入流量告警阈值)
2052
- 2(攻击清洗流量告警阈值)
2053
- ]
2731
+ * ip地址,普通高防ip要传该字段
2054
2732
  */
2055
- FilterAlarmType: number;
2733
+ Ip?: string;
2056
2734
  /**
2057
- * IP搜索
2735
+ * 域名,普通高防ip要传该字段
2058
2736
  */
2059
- FilterIp?: string;
2737
+ Domain?: string;
2738
+ /**
2739
+ * 协议,普通高防ip要传该字段
2740
+ */
2741
+ Protocol?: string;
2060
2742
  }
2061
2743
  /**
2062
- * 端口段信息
2744
+ * ModifyL7RulesEdge返回参数结构体
2063
2745
  */
2064
- export interface PortSegment {
2746
+ export interface ModifyL7RulesEdgeResponse {
2065
2747
  /**
2066
- * 起始端口,取值1~65535
2748
+ * 成功码
2067
2749
  */
2068
- BeginPort: number;
2750
+ Success: SuccessCode;
2069
2751
  /**
2070
- * 结束端口,取值1~65535,必须不小于起始端口
2752
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2071
2753
  */
2072
- EndPort: number;
2754
+ RequestId?: string;
2073
2755
  }
2074
2756
  /**
2075
- * 特征过滤配置
2757
+ * Protocol、Port参数
2076
2758
  */
2077
- export interface PacketFilterConfig {
2759
+ export interface ProtocolPort {
2078
2760
  /**
2079
- * 协议,取值[tcp udp icmp all]
2761
+ * 协议(tcpudp
2080
2762
  */
2081
2763
  Protocol: string;
2082
2764
  /**
2083
- * 起始源端口,取值0~65535
2084
- */
2085
- SportStart: number;
2086
- /**
2087
- * 结束源端口,取值1~65535,必须大于等于起始源端口
2088
- */
2089
- SportEnd: number;
2090
- /**
2091
- * 起始目的端口,取值0~65535
2765
+ * 端口
2092
2766
  */
2093
- DportStart: number;
2767
+ Port: number;
2768
+ }
2769
+ /**
2770
+ * ModifyCCThresholdPolicy请求参数结构体
2771
+ */
2772
+ export interface ModifyCCThresholdPolicyRequest {
2094
2773
  /**
2095
- * 结束目的端口,取值1~65535,必须大于等于起始目的端口
2774
+ * 实例Id
2096
2775
  */
2097
- DportEnd: number;
2776
+ InstanceId: string;
2098
2777
  /**
2099
- * 最小报文长度,取值1-1500
2778
+ * Ip地址
2100
2779
  */
2101
- PktlenMin: number;
2780
+ Ip: string;
2102
2781
  /**
2103
- * 最大报文长度,取值1-1500,必须大于等于最小报文长度
2782
+ * 域名
2104
2783
  */
2105
- PktlenMax: number;
2784
+ Domain: string;
2106
2785
  /**
2107
- * 动作,取值[
2108
- drop(丢弃)
2109
- transmit(放行)
2110
- drop_black(丢弃并拉黑)
2111
- drop_rst(拦截)
2112
- drop_black_rst(拦截并拉黑)
2113
- forward(继续防护)
2114
- ]
2786
+ * 协议,可取值HTTP,HTTPS
2115
2787
  */
2116
- Action: string;
2788
+ Protocol: string;
2117
2789
  /**
2118
- * 检测位置,取值[
2119
- begin_l3(IP头)
2120
- begin_l4(TCP/UDP头)
2121
- begin_l5(T载荷)
2122
- no_match(不匹配)
2123
- ]
2790
+ * 清洗阈值,-1表示开启“默认”模式
2124
2791
  */
2125
- MatchBegin?: string;
2792
+ Threshold: number;
2793
+ }
2794
+ /**
2795
+ * DeleteCCPrecisionPolicy返回参数结构体
2796
+ */
2797
+ export interface DeleteCCPrecisionPolicyResponse {
2126
2798
  /**
2127
- * 检测类型,取值[
2128
- sunday(关键字)
2129
- pcre(正则表达式)
2130
- ]
2799
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2131
2800
  */
2132
- MatchType?: string;
2801
+ RequestId?: string;
2802
+ }
2803
+ /**
2804
+ * DescribeListDDoSAI请求参数结构体
2805
+ */
2806
+ export interface DescribeListDDoSAIRequest {
2133
2807
  /**
2134
- * 检测值,关键字符串或正则表达式,取值[
2135
- 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码;
2136
- 当检测类型为pcre时, 请填写正则表达式字符串;
2137
- ]
2808
+ * 页起始偏移,取值为(页码-1)*一页条数
2138
2809
  */
2139
- Str?: string;
2810
+ Offset: number;
2140
2811
  /**
2141
- * 从检测位置开始的检测深度,取值[0,1500]
2812
+ * 一页条数,当Limit=0时,默认一页条数为100;最大取值为100
2142
2813
  */
2143
- Depth?: number;
2814
+ Limit: number;
2144
2815
  /**
2145
- * 从检测位置开始的偏移量,取值范围[0,Depth]
2816
+ * 资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
2146
2817
  */
2147
- Offset?: number;
2818
+ FilterInstanceId: string;
2148
2819
  /**
2149
- * 是否包含检测值,取值[
2150
- 0(包含)
2151
- 1(不包含)
2152
- ]
2820
+ * IP搜索
2153
2821
  */
2154
- IsNot?: number;
2822
+ FilterIp?: string;
2823
+ }
2824
+ /**
2825
+ * DescribeListIPAlarmConfig请求参数结构体
2826
+ */
2827
+ export interface DescribeListIPAlarmConfigRequest {
2155
2828
  /**
2156
- * 当有第二个检测条件时,与第一检测条件的且或关系,取值[
2157
- and(且的关系)
2158
- none(当没有第二个检测条件时填写此值)
2159
- ]
2829
+ * 页起始偏移,取值为(页码-1)*一页条数
2160
2830
  */
2161
- MatchLogic?: string;
2831
+ Offset: number;
2162
2832
  /**
2163
- * 第二个检测位置,取值[
2164
- begin_l5(载荷)
2165
- no_match(不匹配)
2166
- ]
2833
+ * 一页条数,当Limit=0时,默认一页条数为100;最大取值为100
2167
2834
  */
2168
- MatchBegin2?: string;
2835
+ Limit: number;
2169
2836
  /**
2170
- * 第二个检测类型,取值[
2171
- sunday(关键字)
2172
- pcre(正则表达式)
2173
- ]
2837
+ * 资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
2174
2838
  */
2175
- MatchType2?: string;
2839
+ FilterInstanceId: string;
2176
2840
  /**
2177
- * 第二个检测值,关键字符串或正则表达式,取值[
2178
- 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码;
2179
- 当检测类型为pcre时, 请填写正则表达式字符串;
2841
+ * 告警阈值类型搜索,取值[
2842
+ 1(入流量告警阈值)
2843
+ 2(攻击清洗流量告警阈值)
2180
2844
  ]
2181
2845
  */
2182
- Str2?: string;
2846
+ FilterAlarmType: number;
2183
2847
  /**
2184
- * 从第二个检测位置开始的第二个检测深度,取值[0,1500]
2848
+ * IP搜索
2185
2849
  */
2186
- Depth2?: number;
2850
+ FilterIp?: string;
2851
+ }
2852
+ /**
2853
+ * 端口段信息
2854
+ */
2855
+ export interface PortSegment {
2187
2856
  /**
2188
- * 从第二个检测位置开始的偏移量,取值范围[0,Depth2]
2857
+ * 起始端口,取值1~65535
2189
2858
  */
2190
- Offset2?: number;
2859
+ BeginPort: number;
2191
2860
  /**
2192
- * 第二个检测是否包含检测值,取值[
2193
- 0(包含)
2194
- 1(不包含)
2195
- ]
2861
+ * 结束端口,取值1~65535,必须不小于起始端口
2196
2862
  */
2197
- IsNot2?: number;
2863
+ EndPort: number;
2864
+ }
2865
+ /**
2866
+ * ModifyCCReqLimitPolicy返回参数结构体
2867
+ */
2868
+ export interface ModifyCCReqLimitPolicyResponse {
2198
2869
  /**
2199
- * 特征过滤配置添加成功后自动生成的规则ID,当添加新特征过滤配置时,此字段不用填写;
2870
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2200
2871
  */
2201
- Id?: string;
2872
+ RequestId?: string;
2202
2873
  }
2203
2874
  /**
2204
2875
  * 单IP默认告警阈值配置
@@ -2261,13 +2932,30 @@ export interface BGPInstanceSpecification {
2261
2932
  AutoRenewFlag: number;
2262
2933
  }
2263
2934
  /**
2264
- * CreatePacketFilterConfig返回参数结构体
2935
+ * ModifyDomainUsrName请求参数结构体
2265
2936
  */
2266
- export interface CreatePacketFilterConfigResponse {
2937
+ export interface ModifyDomainUsrNameRequest {
2267
2938
  /**
2268
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2939
+ * 用户CNAME
2269
2940
  */
2270
- RequestId?: string;
2941
+ DomainName: string;
2942
+ /**
2943
+ * 域名名称
2944
+ */
2945
+ DomainUserName: string;
2946
+ }
2947
+ /**
2948
+ * CreateDDoSConnectLimit请求参数结构体
2949
+ */
2950
+ export interface CreateDDoSConnectLimitRequest {
2951
+ /**
2952
+ * 资源实例Id
2953
+ */
2954
+ InstanceId: string;
2955
+ /**
2956
+ * 连接抑制配置
2957
+ */
2958
+ ConnectLimitConfig: ConnectLimitConfig;
2271
2959
  }
2272
2960
  /**
2273
2961
  * CreateWaterPrintKey请求参数结构体
@@ -2324,6 +3012,23 @@ export interface InsL7Rules {
2324
3012
  */
2325
3013
  SSLId: string;
2326
3014
  }
3015
+ /**
3016
+ * DescribeCCReqLimitPolicyList返回参数结构体
3017
+ */
3018
+ export interface DescribeCCReqLimitPolicyListResponse {
3019
+ /**
3020
+ * 频率限制列表总数
3021
+ */
3022
+ Total: number;
3023
+ /**
3024
+ * 频率限制列表详情
3025
+ */
3026
+ RequestLimitPolicyList: Array<CCReqLimitPolicy>;
3027
+ /**
3028
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3029
+ */
3030
+ RequestId?: string;
3031
+ }
2327
3032
  /**
2328
3033
  * DescribeListDDoSAI返回参数结构体
2329
3034
  */
@@ -2341,6 +3046,43 @@ export interface DescribeListDDoSAIResponse {
2341
3046
  */
2342
3047
  RequestId?: string;
2343
3048
  }
3049
+ /**
3050
+ * ModifyCCPrecisionPolicy返回参数结构体
3051
+ */
3052
+ export interface ModifyCCPrecisionPolicyResponse {
3053
+ /**
3054
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3055
+ */
3056
+ RequestId?: string;
3057
+ }
3058
+ /**
3059
+ * DDoS防护的区域封禁配置
3060
+ */
3061
+ export interface CcGeoIPBlockConfig {
3062
+ /**
3063
+ * 区域类型,取值[
3064
+ oversea(海外)
3065
+ china(国内)
3066
+ customized(自定义地区)
3067
+ ]
3068
+ */
3069
+ RegionType: string;
3070
+ /**
3071
+ * 封禁动作,取值[
3072
+ drop(拦截)
3073
+ alg(人机校验)
3074
+ ]
3075
+ */
3076
+ Action: string;
3077
+ /**
3078
+ * 配置ID,配置添加成功后生成;添加新配置时不用填写此字段,修改或删除配置时需要填写配置ID
3079
+ */
3080
+ Id?: string;
3081
+ /**
3082
+ * 当RegionType为customized时,必须填写AreaList;当RegionType为china或oversea时,AreaList为空
3083
+ */
3084
+ AreaList?: Array<number>;
3085
+ }
2344
3086
  /**
2345
3087
  * ModifyDDoSSpeedLimitConfig请求参数结构体
2346
3088
  */
@@ -2520,6 +3262,15 @@ export interface NewL7RuleEntry {
2520
3262
  */
2521
3263
  Id?: string;
2522
3264
  }
3265
+ /**
3266
+ * DeleteCcBlackWhiteIpList返回参数结构体
3267
+ */
3268
+ export interface DeleteCcBlackWhiteIpListResponse {
3269
+ /**
3270
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3271
+ */
3272
+ RequestId?: string;
3273
+ }
2523
3274
  /**
2524
3275
  * CreateBoundIP返回参数结构体
2525
3276
  */
@@ -2533,6 +3284,27 @@ export interface CreateBoundIPResponse {
2533
3284
  */
2534
3285
  RequestId?: string;
2535
3286
  }
3287
+ /**
3288
+ * DescribeListDDoSSpeedLimitConfig请求参数结构体
3289
+ */
3290
+ export interface DescribeListDDoSSpeedLimitConfigRequest {
3291
+ /**
3292
+ * 页起始偏移,取值为(页码-1)*一页条数
3293
+ */
3294
+ Offset: number;
3295
+ /**
3296
+ * 一页条数,当Limit=0时,默认一页条数为100;最大取值为100
3297
+ */
3298
+ Limit: number;
3299
+ /**
3300
+ * 资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
3301
+ */
3302
+ FilterInstanceId: string;
3303
+ /**
3304
+ * IP搜索
3305
+ */
3306
+ FilterIp?: string;
3307
+ }
2536
3308
  /**
2537
3309
  * 限速值类型,例如:包速率pps、带宽bps
2538
3310
  */
@@ -2579,6 +3351,27 @@ export interface DescribeListSchedulingDomainResponse {
2579
3351
  */
2580
3352
  RequestId?: string;
2581
3353
  }
3354
+ /**
3355
+ * ModifyCCPrecisionPolicy请求参数结构体
3356
+ */
3357
+ export interface ModifyCCPrecisionPolicyRequest {
3358
+ /**
3359
+ * 实例Id
3360
+ */
3361
+ InstanceId: string;
3362
+ /**
3363
+ * 策略Id
3364
+ */
3365
+ PolicyId: string;
3366
+ /**
3367
+ * 策略方式,可取值alg表示验证码,drop表示丢弃
3368
+ */
3369
+ PolicyAction: string;
3370
+ /**
3371
+ * 策略记录
3372
+ */
3373
+ PolicyList: Array<CCPrecisionPlyRecord>;
3374
+ }
2582
3375
  /**
2583
3376
  * DeleteDDoSBlackWhiteIpList返回参数结构体
2584
3377
  */
@@ -2678,6 +3471,36 @@ other(托管IP)
2678
3471
  */
2679
3472
  InstanceId: string;
2680
3473
  }
3474
+ /**
3475
+ * DeleteCcBlackWhiteIpList请求参数结构体
3476
+ */
3477
+ export interface DeleteCcBlackWhiteIpListRequest {
3478
+ /**
3479
+ * 资源实例ID
3480
+ */
3481
+ InstanceId: string;
3482
+ /**
3483
+ * 策略Id
3484
+ */
3485
+ PolicyId: string;
3486
+ }
3487
+ /**
3488
+ * DescribeCcGeoIPBlockConfigList返回参数结构体
3489
+ */
3490
+ export interface DescribeCcGeoIPBlockConfigListResponse {
3491
+ /**
3492
+ * CC地域封禁策略列表总数
3493
+ */
3494
+ Total: number;
3495
+ /**
3496
+ * CC地域封禁策略列表详情
3497
+ */
3498
+ CcGeoIpPolicyList: Array<CcGeoIpPolicyNew>;
3499
+ /**
3500
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3501
+ */
3502
+ RequestId?: string;
3503
+ }
2681
3504
  /**
2682
3505
  * CreateDDoSAI返回参数结构体
2683
3506
  */
@@ -2722,13 +3545,21 @@ export interface DescribeListProtocolBlockConfigRequest {
2722
3545
  FilterIp?: string;
2723
3546
  }
2724
3547
  /**
2725
- * 地域信息
3548
+ * DescribeListBGPInstances返回参数结构体
2726
3549
  */
2727
- export interface RegionInfo {
3550
+ export interface DescribeListBGPInstancesResponse {
2728
3551
  /**
2729
- * 地域名称,例如,ap-guangzhou
3552
+ * 总数
2730
3553
  */
2731
- Region: string;
3554
+ Total: number;
3555
+ /**
3556
+ * 高防包资产实例列表
3557
+ */
3558
+ InstanceList: Array<BGPInstance>;
3559
+ /**
3560
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3561
+ */
3562
+ RequestId?: string;
2732
3563
  }
2733
3564
  /**
2734
3565
  * DescribeDDoSTrend请求参数结构体
@@ -2764,9 +3595,9 @@ export interface DescribeDDoSTrendRequest {
2764
3595
  Id?: string;
2765
3596
  }
2766
3597
  /**
2767
- * ModifyDDoSGeoIPBlockConfig返回参数结构体
3598
+ * DeleteCCRequestLimitPolicy返回参数结构体
2768
3599
  */
2769
- export interface ModifyDDoSGeoIPBlockConfigResponse {
3600
+ export interface DeleteCCRequestLimitPolicyResponse {
2770
3601
  /**
2771
3602
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2772
3603
  */
@@ -2858,6 +3689,44 @@ export interface DescribeListPortAclListResponse {
2858
3689
  */
2859
3690
  RequestId?: string;
2860
3691
  }
3692
+ /**
3693
+ * CC精准防护配置项
3694
+ */
3695
+ export interface CCPrecisionPlyRecord {
3696
+ /**
3697
+ * 配置项类型,当前仅支持value
3698
+ */
3699
+ FieldType: string;
3700
+ /**
3701
+ * 配置字段,可取值cgi, ua, cookie, referer, accept, srcip
3702
+ */
3703
+ FieldName: string;
3704
+ /**
3705
+ * 配置取值
3706
+ */
3707
+ Value: string;
3708
+ /**
3709
+ * 配置项值比对方式,可取值equal ,not_equal, include
3710
+ */
3711
+ ValueOperator: string;
3712
+ }
3713
+ /**
3714
+ * DescribeCCPrecisionPlyList返回参数结构体
3715
+ */
3716
+ export interface DescribeCCPrecisionPlyListResponse {
3717
+ /**
3718
+ * 策略列表总数
3719
+ */
3720
+ Total: number;
3721
+ /**
3722
+ * 策略列表详情
3723
+ */
3724
+ PrecisionPolicyList: Array<CCPrecisionPolicy>;
3725
+ /**
3726
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3727
+ */
3728
+ RequestId?: string;
3729
+ }
2861
3730
  /**
2862
3731
  * DescribeBizTrend请求参数结构体
2863
3732
  */
@@ -3058,6 +3927,15 @@ export interface L7RuleEntry {
3058
3927
  */
3059
3928
  Id?: string;
3060
3929
  }
3930
+ /**
3931
+ * ModifyCCThresholdPolicy返回参数结构体
3932
+ */
3933
+ export interface ModifyCCThresholdPolicyResponse {
3934
+ /**
3935
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3936
+ */
3937
+ RequestId?: string;
3938
+ }
3061
3939
  /**
3062
3940
  * CreateWaterPrintKey返回参数结构体
3063
3941
  */
@@ -3143,6 +4021,31 @@ export interface DescribeListBlackWhiteIpListRequest {
3143
4021
  */
3144
4022
  FilterIp?: string;
3145
4023
  }
4024
+ /**
4025
+ * CreateCCReqLimitPolicy请求参数结构体
4026
+ */
4027
+ export interface CreateCCReqLimitPolicyRequest {
4028
+ /**
4029
+ * 实例Id
4030
+ */
4031
+ InstanceId: string;
4032
+ /**
4033
+ * IP值
4034
+ */
4035
+ Ip: string;
4036
+ /**
4037
+ * 协议,可取值HTTP,HTTPS
4038
+ */
4039
+ Protocol: string;
4040
+ /**
4041
+ * 域名
4042
+ */
4043
+ Domain: string;
4044
+ /**
4045
+ * 策略项
4046
+ */
4047
+ Policy: CCReqLimitPolicyRecord;
4048
+ }
3146
4049
  /**
3147
4050
  * ModifyDDoSSpeedLimitConfig返回参数结构体
3148
4051
  */
@@ -3238,6 +4141,64 @@ export interface WaterPrintKey {
3238
4141
  */
3239
4142
  CreateTime: string;
3240
4143
  }
4144
+ /**
4145
+ * ModifyCCLevelPolicy请求参数结构体
4146
+ */
4147
+ export interface ModifyCCLevelPolicyRequest {
4148
+ /**
4149
+ * 实例Id
4150
+ */
4151
+ InstanceId: string;
4152
+ /**
4153
+ * Ip地址
4154
+ */
4155
+ Ip: string;
4156
+ /**
4157
+ * 域名
4158
+ */
4159
+ Domain: string;
4160
+ /**
4161
+ * 协议,可取值HTTP,HTTPS
4162
+ */
4163
+ Protocol: string;
4164
+ /**
4165
+ * CC防护等级,可取值loose表示宽松,strict表示严格,normal表示适中, emergency表示攻击紧急, sup_loose表示超级宽松,default表示默认策略(无频控配置下发),customized表示自定义策略
4166
+ */
4167
+ Level: string;
4168
+ }
4169
+ /**
4170
+ * DescribeCcGeoIPBlockConfigList请求参数结构体
4171
+ */
4172
+ export interface DescribeCcGeoIPBlockConfigListRequest {
4173
+ /**
4174
+ * 大禹子产品代号(bgpip-multip:表示高防包;bgpip:表示高防ip)
4175
+ */
4176
+ Business: string;
4177
+ /**
4178
+ * 页起始偏移,取值为(页码-1)*一页条数
4179
+ */
4180
+ Offset: number;
4181
+ /**
4182
+ * 一页条数
4183
+ */
4184
+ Limit: number;
4185
+ /**
4186
+ * 指定特定实例Id
4187
+ */
4188
+ InstanceId?: string;
4189
+ /**
4190
+ * Ip地址,普通高防ip要传该字段
4191
+ */
4192
+ Ip?: string;
4193
+ /**
4194
+ * 域名,普通高防ip要传该字段
4195
+ */
4196
+ Domain?: string;
4197
+ /**
4198
+ * 协议,普通高防ip要传该字段
4199
+ */
4200
+ Protocol?: string;
4201
+ }
3241
4202
  /**
3242
4203
  * 特征过滤相关信息
3243
4204
  */