tencentcloud-sdk-nodejs-teo 4.0.701 → 4.0.703
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +915 -0
- package/SERVICE_CHANGELOG.md +922 -222
- package/package.json +1 -1
- package/products.md +31 -32
- package/src/services/teo/v20220901/teo_client.ts +5 -41
- package/src/services/teo/v20220901/teo_models.ts +181 -276
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -13
- package/tencentcloud/services/teo/v20220901/teo_client.js +0 -18
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +181 -270
|
@@ -403,46 +403,6 @@ export interface DescribeZonesRequest {
|
|
|
403
403
|
Direction?: string
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
/**
|
|
407
|
-
* 离线日志详细信息
|
|
408
|
-
*/
|
|
409
|
-
export interface L4OfflineLog {
|
|
410
|
-
/**
|
|
411
|
-
* 四层代理实例 ID。
|
|
412
|
-
*/
|
|
413
|
-
ProxyId?: string
|
|
414
|
-
/**
|
|
415
|
-
* 日志所属区域,取值有:
|
|
416
|
-
<li>mainland:中国大陆境内;</li>
|
|
417
|
-
<li>overseas:全球(不含中国大陆)。</li>
|
|
418
|
-
*/
|
|
419
|
-
Area?: string
|
|
420
|
-
/**
|
|
421
|
-
* 离线日志数据包名。
|
|
422
|
-
*/
|
|
423
|
-
LogPacketName?: string
|
|
424
|
-
/**
|
|
425
|
-
* 离线日志下载地址。
|
|
426
|
-
*/
|
|
427
|
-
Url?: string
|
|
428
|
-
/**
|
|
429
|
-
* 日志打包时间,此参数已经废弃。
|
|
430
|
-
*/
|
|
431
|
-
LogTime?: number
|
|
432
|
-
/**
|
|
433
|
-
* 日志打包开始时间。
|
|
434
|
-
*/
|
|
435
|
-
LogStartTime?: string
|
|
436
|
-
/**
|
|
437
|
-
* 日志打包结束时间。
|
|
438
|
-
*/
|
|
439
|
-
LogEndTime?: string
|
|
440
|
-
/**
|
|
441
|
-
* 日志大小,单位为 Byte。
|
|
442
|
-
*/
|
|
443
|
-
Size?: number
|
|
444
|
-
}
|
|
445
|
-
|
|
446
406
|
/**
|
|
447
407
|
* 最新IP白名单列表相比于当前IP白名单列表的区别
|
|
448
408
|
*/
|
|
@@ -903,7 +863,7 @@ export interface ModifyZoneSettingRequest {
|
|
|
903
863
|
*/
|
|
904
864
|
export interface RuleRewriteActionParams {
|
|
905
865
|
/**
|
|
906
|
-
* 功能参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://
|
|
866
|
+
* 功能参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。现在只有三种取值:
|
|
907
867
|
<li> add:添加 HTTP 头部;</li>
|
|
908
868
|
<li> set:重写 HTTP 头部;</li>
|
|
909
869
|
<li> del:删除 HTTP 头部。</li>
|
|
@@ -946,7 +906,9 @@ export interface BotUserRule {
|
|
|
946
906
|
<li>drop:拦截;</li>
|
|
947
907
|
<li>monitor:观察;</li>
|
|
948
908
|
<li>trans:放行;</li>
|
|
949
|
-
<li>
|
|
909
|
+
<li>redirect:重定向;</li>
|
|
910
|
+
<li>page:指定页面;</li>
|
|
911
|
+
<li>alg:JavaScript 挑战;</li>
|
|
950
912
|
<li>captcha:托管挑战;</li>
|
|
951
913
|
<li>random:随机处置;</li>
|
|
952
914
|
<li>silence:静默;</li>
|
|
@@ -957,7 +919,7 @@ export interface BotUserRule {
|
|
|
957
919
|
/**
|
|
958
920
|
* 规则状态,取值有:
|
|
959
921
|
<li>on:生效;</li>
|
|
960
|
-
<li>off:不生效。</li>默认on生效。
|
|
922
|
+
<li>off:不生效。</li>默认 on 生效。
|
|
961
923
|
*/
|
|
962
924
|
RuleStatus: string
|
|
963
925
|
/**
|
|
@@ -969,8 +931,7 @@ export interface BotUserRule {
|
|
|
969
931
|
*/
|
|
970
932
|
RulePriority: number
|
|
971
933
|
/**
|
|
972
|
-
* 规则
|
|
973
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
934
|
+
* 规则 Id。仅出参使用。
|
|
974
935
|
*/
|
|
975
936
|
RuleID?: number
|
|
976
937
|
/**
|
|
@@ -979,32 +940,68 @@ export interface BotUserRule {
|
|
|
979
940
|
ExtendActions?: Array<BotExtendAction>
|
|
980
941
|
/**
|
|
981
942
|
* 过滤词,取值有:
|
|
982
|
-
<li>sip:客户端ip。</li>
|
|
983
|
-
|
|
943
|
+
<li>sip:客户端 ip。</li>
|
|
944
|
+
默认为空字符串。
|
|
984
945
|
*/
|
|
985
946
|
FreqFields?: Array<string>
|
|
986
947
|
/**
|
|
987
|
-
*
|
|
988
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
948
|
+
* 更新时间。仅出参使用。
|
|
989
949
|
*/
|
|
990
950
|
UpdateTime?: string
|
|
991
951
|
/**
|
|
992
|
-
*
|
|
993
|
-
<li>source_to_eo:(响应)源站到EdgeOne
|
|
994
|
-
<li>client_to_eo:(请求)客户端到EdgeOne
|
|
995
|
-
|
|
952
|
+
* 统计范围。取值有:
|
|
953
|
+
<li>source_to_eo:(响应)源站到 EdgeOne;</li>
|
|
954
|
+
<li>client_to_eo:(请求)客户端到 EdgeOne。</li>
|
|
955
|
+
默认为 source_to_eo。
|
|
996
956
|
*/
|
|
997
957
|
FreqScope?: Array<string>
|
|
958
|
+
/**
|
|
959
|
+
* 自定义返回页面的名称。Action 是 page 时必填,且不能为空。
|
|
960
|
+
*/
|
|
961
|
+
Name?: string
|
|
962
|
+
/**
|
|
963
|
+
* 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Action 是 page 时必填,且不能为空。
|
|
964
|
+
*/
|
|
965
|
+
CustomResponseId?: string
|
|
966
|
+
/**
|
|
967
|
+
* 自定义返回页面的响应码。Action 是 page 时必填,且不能为空,取值: 100~600,不支持 3xx 响应码。默认值:567。
|
|
968
|
+
*/
|
|
969
|
+
ResponseCode?: number
|
|
970
|
+
/**
|
|
971
|
+
* 重定向时候的地址。Action 是 redirect 时必填,且不能为空。
|
|
972
|
+
*/
|
|
973
|
+
RedirectUrl?: string
|
|
998
974
|
}
|
|
999
975
|
|
|
1000
976
|
/**
|
|
1001
|
-
*
|
|
977
|
+
* 源站配置。
|
|
1002
978
|
*/
|
|
1003
|
-
export interface
|
|
979
|
+
export interface Origin {
|
|
1004
980
|
/**
|
|
1005
|
-
*
|
|
981
|
+
* 主源站列表。
|
|
982
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1006
983
|
*/
|
|
1007
|
-
|
|
984
|
+
Origins?: Array<string>
|
|
985
|
+
/**
|
|
986
|
+
* 备源站列表。
|
|
987
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
988
|
+
*/
|
|
989
|
+
BackupOrigins?: Array<string>
|
|
990
|
+
/**
|
|
991
|
+
* 回源协议配置,取值有:
|
|
992
|
+
<li>http:强制 http 回源;</li>
|
|
993
|
+
<li>follow:协议跟随回源;</li>
|
|
994
|
+
<li>https:强制 https 回源。</li>
|
|
995
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
996
|
+
*/
|
|
997
|
+
OriginPullProtocol?: string
|
|
998
|
+
/**
|
|
999
|
+
* 源站为腾讯云 COS 时,是否为私有访问 bucket,取值有:
|
|
1000
|
+
<li>on:私有访问;</li>
|
|
1001
|
+
<li>off:公共访问。</li>
|
|
1002
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1003
|
+
*/
|
|
1004
|
+
CosPrivateAccess?: string
|
|
1008
1005
|
}
|
|
1009
1006
|
|
|
1010
1007
|
/**
|
|
@@ -1478,20 +1475,6 @@ export interface ExceptConfig {
|
|
|
1478
1475
|
ExceptUserRules?: Array<ExceptUserRule>
|
|
1479
1476
|
}
|
|
1480
1477
|
|
|
1481
|
-
/**
|
|
1482
|
-
* DeleteOriginGroup请求参数结构体
|
|
1483
|
-
*/
|
|
1484
|
-
export interface DeleteOriginGroupRequest {
|
|
1485
|
-
/**
|
|
1486
|
-
* 站点ID。
|
|
1487
|
-
*/
|
|
1488
|
-
ZoneId: string
|
|
1489
|
-
/**
|
|
1490
|
-
* 源站组ID。
|
|
1491
|
-
*/
|
|
1492
|
-
OriginGroupId: string
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
1478
|
/**
|
|
1496
1479
|
* 别称域名信息。
|
|
1497
1480
|
*/
|
|
@@ -2516,37 +2499,6 @@ export interface RateLimitTemplateDetail {
|
|
|
2516
2499
|
Period?: number
|
|
2517
2500
|
}
|
|
2518
2501
|
|
|
2519
|
-
/**
|
|
2520
|
-
* 源站配置。
|
|
2521
|
-
*/
|
|
2522
|
-
export interface Origin {
|
|
2523
|
-
/**
|
|
2524
|
-
* 主源站列表。
|
|
2525
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2526
|
-
*/
|
|
2527
|
-
Origins?: Array<string>
|
|
2528
|
-
/**
|
|
2529
|
-
* 备源站列表。
|
|
2530
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2531
|
-
*/
|
|
2532
|
-
BackupOrigins?: Array<string>
|
|
2533
|
-
/**
|
|
2534
|
-
* 回源协议配置,取值有:
|
|
2535
|
-
<li>http:强制 http 回源;</li>
|
|
2536
|
-
<li>follow:协议跟随回源;</li>
|
|
2537
|
-
<li>https:强制 https 回源。</li>
|
|
2538
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2539
|
-
*/
|
|
2540
|
-
OriginPullProtocol?: string
|
|
2541
|
-
/**
|
|
2542
|
-
* 源站为腾讯云 COS 时,是否为私有访问 bucket,取值有:
|
|
2543
|
-
<li>on:私有访问;</li>
|
|
2544
|
-
<li>off:公共访问。</li>
|
|
2545
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2546
|
-
*/
|
|
2547
|
-
CosPrivateAccess?: string
|
|
2548
|
-
}
|
|
2549
|
-
|
|
2550
2502
|
/**
|
|
2551
2503
|
* Waf配置。
|
|
2552
2504
|
*/
|
|
@@ -2846,7 +2798,7 @@ export interface DescribeTopL7AnalysisDataRequest {
|
|
|
2846
2798
|
Limit?: number
|
|
2847
2799
|
/**
|
|
2848
2800
|
* 过滤条件,详细的过滤条件Key值如下:
|
|
2849
|
-
<li>country<br> 按照【<strong>国家/地区</strong
|
|
2801
|
+
<li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循 <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166</a> 规范。</li>
|
|
2850
2802
|
<li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
|
|
2851
2803
|
<li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
|
|
2852
2804
|
<li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
|
|
@@ -3384,7 +3336,7 @@ export interface RuleCodeActionParams {
|
|
|
3384
3336
|
*/
|
|
3385
3337
|
StatusCode: number
|
|
3386
3338
|
/**
|
|
3387
|
-
* 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://
|
|
3339
|
+
* 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
|
|
3388
3340
|
*/
|
|
3389
3341
|
Name: string
|
|
3390
3342
|
/**
|
|
@@ -3449,7 +3401,7 @@ export interface DescribeTimingL7AnalysisDataRequest {
|
|
|
3449
3401
|
Interval?: string
|
|
3450
3402
|
/**
|
|
3451
3403
|
* 过滤条件,详细的过滤条件Key值如下:
|
|
3452
|
-
<li>country<br> 按照【<strong>国家/地区</strong
|
|
3404
|
+
<li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循 <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166</a> 规范。</li>
|
|
3453
3405
|
<li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
|
|
3454
3406
|
<li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
|
|
3455
3407
|
<li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
|
|
@@ -4070,7 +4022,7 @@ export interface DownloadL4LogsRequest {
|
|
|
4070
4022
|
*/
|
|
4071
4023
|
export interface CodeAction {
|
|
4072
4024
|
/**
|
|
4073
|
-
* 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://
|
|
4025
|
+
* 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
|
|
4074
4026
|
*/
|
|
4075
4027
|
Action: string
|
|
4076
4028
|
/**
|
|
@@ -4471,47 +4423,47 @@ export interface RulesProperties {
|
|
|
4471
4423
|
/**
|
|
4472
4424
|
* 值为参数名称。
|
|
4473
4425
|
*/
|
|
4474
|
-
Name
|
|
4426
|
+
Name?: string
|
|
4475
4427
|
/**
|
|
4476
4428
|
* 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
|
|
4477
4429
|
*/
|
|
4478
|
-
Min
|
|
4430
|
+
Min?: number
|
|
4479
4431
|
/**
|
|
4480
4432
|
* 参数值的可选值。
|
|
4481
4433
|
注意:若参数值为用户自定义则该数组为空数组。
|
|
4482
4434
|
*/
|
|
4483
|
-
ChoicesValue
|
|
4435
|
+
ChoicesValue?: Array<string>
|
|
4484
4436
|
/**
|
|
4485
4437
|
* 参数值类型。
|
|
4486
4438
|
<li> CHOICE:参数值只能在 ChoicesValue 中选择; </li>
|
|
4487
4439
|
<li> TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;</li>
|
|
4488
4440
|
<li> OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性;</li>
|
|
4489
4441
|
<li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
|
|
4490
|
-
<li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://
|
|
4442
|
+
<li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://cloud.tencent.com/document/product/1552/80622#.E7.A4.BA.E4.BE.8B2-.E5.8F.82.E6.95.B0.E4.B8.BA-OBJECT-.E7.B1.BB.E5.9E.8B.E7.9A.84.E5.88.9B.E5.BB.BA)
|
|
4491
4443
|
*/
|
|
4492
|
-
Type
|
|
4444
|
+
Type?: string
|
|
4493
4445
|
/**
|
|
4494
4446
|
* 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
|
|
4495
4447
|
*/
|
|
4496
|
-
Max
|
|
4448
|
+
Max?: number
|
|
4497
4449
|
/**
|
|
4498
4450
|
* 参数值是否支持多选或者填写多个。
|
|
4499
4451
|
*/
|
|
4500
|
-
IsMultiple
|
|
4452
|
+
IsMultiple?: boolean
|
|
4501
4453
|
/**
|
|
4502
4454
|
* 是否允许为空。
|
|
4503
4455
|
*/
|
|
4504
|
-
IsAllowEmpty
|
|
4456
|
+
IsAllowEmpty?: boolean
|
|
4505
4457
|
/**
|
|
4506
4458
|
* 该参数对应的关联配置参数,属于调用接口的必填参数。
|
|
4507
4459
|
注意:如果可选参数无特殊新增参数则该数组为空数组。
|
|
4508
4460
|
*/
|
|
4509
|
-
ChoiceProperties
|
|
4461
|
+
ChoiceProperties?: Array<RuleChoicePropertiesItem>
|
|
4510
4462
|
/**
|
|
4511
4463
|
* <li> 为 NULL:无特殊参数,RuleAction 选择 NormalAction;</li>
|
|
4512
4464
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4513
4465
|
*/
|
|
4514
|
-
ExtraParameter
|
|
4466
|
+
ExtraParameter?: RuleExtraParameter
|
|
4515
4467
|
}
|
|
4516
4468
|
|
|
4517
4469
|
/**
|
|
@@ -4591,13 +4543,26 @@ export interface RateLimitTemplate {
|
|
|
4591
4543
|
}
|
|
4592
4544
|
|
|
4593
4545
|
/**
|
|
4594
|
-
*
|
|
4546
|
+
* 该结构体表示各种场景、模式下,用于验证用户对站点域名的归属权内容。
|
|
4595
4547
|
*/
|
|
4596
|
-
export interface
|
|
4548
|
+
export interface OwnershipVerification {
|
|
4597
4549
|
/**
|
|
4598
|
-
*
|
|
4550
|
+
* CNAME 接入,使用 DNS 解析验证时所需的信息。详情参考 [站点/域名归属权验证
|
|
4551
|
+
](https://cloud.tencent.com/document/product/1552/70789#7af6ecf8-afca-4e35-8811-b5797ed1bde5)。
|
|
4552
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4599
4553
|
*/
|
|
4600
|
-
|
|
4554
|
+
DnsVerification?: DnsVerification
|
|
4555
|
+
/**
|
|
4556
|
+
* CNAME 接入,使用文件验证时所需的信息。详情参考 [站点/域名归属权验证
|
|
4557
|
+
](https://cloud.tencent.com/document/product/1552/70789#7af6ecf8-afca-4e35-8811-b5797ed1bde5)。
|
|
4558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4559
|
+
*/
|
|
4560
|
+
FileVerification?: FileVerification
|
|
4561
|
+
/**
|
|
4562
|
+
* NS 接入,切换 DNS 服务器所需的信息。详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
|
|
4563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4564
|
+
*/
|
|
4565
|
+
NsVerification?: NsVerification
|
|
4601
4566
|
}
|
|
4602
4567
|
|
|
4603
4568
|
/**
|
|
@@ -4800,7 +4765,7 @@ export interface RateLimitUserRule {
|
|
|
4800
4765
|
*/
|
|
4801
4766
|
RuleName: string
|
|
4802
4767
|
/**
|
|
4803
|
-
* 处置动作,取值有: <li>monitor:观察;</li> <li>drop:拦截;</li>
|
|
4768
|
+
* 处置动作,取值有: <li>monitor:观察;</li> <li>drop:拦截;</li><li> redirect:重定向;</li><li> page:指定页面;</li><li>alg:JavaScript 挑战。</li>
|
|
4804
4769
|
*/
|
|
4805
4770
|
Action: string
|
|
4806
4771
|
/**
|
|
@@ -4817,7 +4782,7 @@ export interface RateLimitUserRule {
|
|
|
4817
4782
|
/**
|
|
4818
4783
|
* 规则状态,取值有:
|
|
4819
4784
|
<li>on:生效;</li>
|
|
4820
|
-
<li>off:不生效。</li>默认on生效。
|
|
4785
|
+
<li>off:不生效。</li>默认 on 生效。
|
|
4821
4786
|
*/
|
|
4822
4787
|
RuleStatus: string
|
|
4823
4788
|
/**
|
|
@@ -4830,27 +4795,41 @@ export interface RateLimitUserRule {
|
|
|
4830
4795
|
RulePriority: number
|
|
4831
4796
|
/**
|
|
4832
4797
|
* 规则 Id。仅出参使用。
|
|
4833
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4834
4798
|
*/
|
|
4835
4799
|
RuleID?: number
|
|
4836
4800
|
/**
|
|
4837
4801
|
* 过滤词,取值有:
|
|
4838
|
-
<li>sip:客户端ip。</li>
|
|
4839
|
-
|
|
4802
|
+
<li>sip:客户端 ip。</li>
|
|
4803
|
+
默认为空字符串。
|
|
4840
4804
|
*/
|
|
4841
4805
|
FreqFields?: Array<string>
|
|
4842
4806
|
/**
|
|
4843
|
-
*
|
|
4844
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4807
|
+
* 更新时间。仅出参使用。修改时默认为当前时间。
|
|
4845
4808
|
*/
|
|
4846
4809
|
UpdateTime?: string
|
|
4847
4810
|
/**
|
|
4848
|
-
*
|
|
4849
|
-
<li>source_to_eo:(响应)源站到EdgeOne
|
|
4850
|
-
<li>client_to_eo:(请求)客户端到EdgeOne
|
|
4851
|
-
|
|
4811
|
+
* 统计范围。取值有:
|
|
4812
|
+
<li>source_to_eo:(响应)源站到 EdgeOne;</li>
|
|
4813
|
+
<li>client_to_eo:(请求)客户端到 EdgeOne。</li>
|
|
4814
|
+
默认为 source_to_eo。
|
|
4852
4815
|
*/
|
|
4853
4816
|
FreqScope?: Array<string>
|
|
4817
|
+
/**
|
|
4818
|
+
* 自定义返回页面的名称。Action 是 page 时必填,且不能为空。
|
|
4819
|
+
*/
|
|
4820
|
+
Name?: string
|
|
4821
|
+
/**
|
|
4822
|
+
* 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Action 是 page 时必填,且不能为空。
|
|
4823
|
+
*/
|
|
4824
|
+
CustomResponseId?: string
|
|
4825
|
+
/**
|
|
4826
|
+
* 自定义返回页面的响应码。Action 是 page 时必填,且不能为空,取值: 100~600,不支持 3xx 响应码。默认值:567。
|
|
4827
|
+
*/
|
|
4828
|
+
ResponseCode?: number
|
|
4829
|
+
/**
|
|
4830
|
+
* 重定向时候的地址。Action 是 redirect 时必填,且不能为空。
|
|
4831
|
+
*/
|
|
4832
|
+
RedirectUrl?: string
|
|
4854
4833
|
}
|
|
4855
4834
|
|
|
4856
4835
|
/**
|
|
@@ -5231,7 +5210,7 @@ Type = noDomainAccess 时,该值为空,不需要进行任何操作。
|
|
|
5231
5210
|
}
|
|
5232
5211
|
|
|
5233
5212
|
/**
|
|
5234
|
-
* 规则引擎功能项操作,对于一种功能只对应下面三种类型的其中一种,RuleAction 数组中的每一项只能是其中一个类型,更多功能项的填写规范可调用接口 [查询规则引擎的设置参数](https://
|
|
5213
|
+
* 规则引擎功能项操作,对于一种功能只对应下面三种类型的其中一种,RuleAction 数组中的每一项只能是其中一个类型,更多功能项的填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
|
|
5235
5214
|
*/
|
|
5236
5215
|
export interface Action {
|
|
5237
5216
|
/**
|
|
@@ -5425,47 +5404,6 @@ export interface CacheKey {
|
|
|
5425
5404
|
QueryString?: QueryString
|
|
5426
5405
|
}
|
|
5427
5406
|
|
|
5428
|
-
/**
|
|
5429
|
-
* ModifyOriginGroup请求参数结构体
|
|
5430
|
-
*/
|
|
5431
|
-
export interface ModifyOriginGroupRequest {
|
|
5432
|
-
/**
|
|
5433
|
-
* 站点ID。
|
|
5434
|
-
*/
|
|
5435
|
-
ZoneId: string
|
|
5436
|
-
/**
|
|
5437
|
-
* 源站组ID。
|
|
5438
|
-
*/
|
|
5439
|
-
OriginGroupId: string
|
|
5440
|
-
/**
|
|
5441
|
-
* 源站类型,取值有:
|
|
5442
|
-
<li>self:自有源站;</li>
|
|
5443
|
-
<li>third_party:第三方源站;</li>
|
|
5444
|
-
<li>cos:腾讯云COS源站。</li>
|
|
5445
|
-
*/
|
|
5446
|
-
OriginType: string
|
|
5447
|
-
/**
|
|
5448
|
-
* 源站组名称。
|
|
5449
|
-
*/
|
|
5450
|
-
OriginGroupName: string
|
|
5451
|
-
/**
|
|
5452
|
-
* 源站配置类型,当OriginType=self时,取值有:
|
|
5453
|
-
<li>area:按区域配置;</li>
|
|
5454
|
-
<li>weight: 按权重配置;</li>
|
|
5455
|
-
<li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
|
|
5456
|
-
*/
|
|
5457
|
-
ConfigurationType: string
|
|
5458
|
-
/**
|
|
5459
|
-
* 源站记录信息。
|
|
5460
|
-
*/
|
|
5461
|
-
OriginRecords: Array<OriginRecord>
|
|
5462
|
-
/**
|
|
5463
|
-
* 回源Host,仅当OriginType=self时可以设置。
|
|
5464
|
-
不填写,表示使用已有配置。
|
|
5465
|
-
*/
|
|
5466
|
-
HostHeader?: string
|
|
5467
|
-
}
|
|
5468
|
-
|
|
5469
5407
|
/**
|
|
5470
5408
|
* DownloadL4Logs返回参数结构体
|
|
5471
5409
|
*/
|
|
@@ -5564,9 +5502,17 @@ export interface ModifyApplicationProxyStatusRequest {
|
|
|
5564
5502
|
}
|
|
5565
5503
|
|
|
5566
5504
|
/**
|
|
5567
|
-
*
|
|
5505
|
+
* DescribeZones返回参数结构体
|
|
5568
5506
|
*/
|
|
5569
|
-
export interface
|
|
5507
|
+
export interface DescribeZonesResponse {
|
|
5508
|
+
/**
|
|
5509
|
+
* 符合条件的站点个数。
|
|
5510
|
+
*/
|
|
5511
|
+
TotalCount?: number
|
|
5512
|
+
/**
|
|
5513
|
+
* 站点详细信息。
|
|
5514
|
+
*/
|
|
5515
|
+
Zones?: Array<Zone>
|
|
5570
5516
|
/**
|
|
5571
5517
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5572
5518
|
*/
|
|
@@ -5687,13 +5633,9 @@ export interface PartialModule {
|
|
|
5687
5633
|
}
|
|
5688
5634
|
|
|
5689
5635
|
/**
|
|
5690
|
-
*
|
|
5636
|
+
* ModifyHostsCertificate返回参数结构体
|
|
5691
5637
|
*/
|
|
5692
|
-
export interface
|
|
5693
|
-
/**
|
|
5694
|
-
* 源站组ID。
|
|
5695
|
-
*/
|
|
5696
|
-
OriginGroupId: string
|
|
5638
|
+
export interface ModifyHostsCertificateResponse {
|
|
5697
5639
|
/**
|
|
5698
5640
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5699
5641
|
*/
|
|
@@ -5853,7 +5795,7 @@ export interface BotManagedRule {
|
|
|
5853
5795
|
*/
|
|
5854
5796
|
export interface NormalAction {
|
|
5855
5797
|
/**
|
|
5856
|
-
* 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://
|
|
5798
|
+
* 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
|
|
5857
5799
|
*/
|
|
5858
5800
|
Action: string
|
|
5859
5801
|
/**
|
|
@@ -5952,24 +5894,28 @@ export interface CreateSecurityIPGroupRequest {
|
|
|
5952
5894
|
*/
|
|
5953
5895
|
export interface DropPageDetail {
|
|
5954
5896
|
/**
|
|
5955
|
-
* 拦截页面的唯一Id。系统默认包含一个自带拦截页面,Id值为0。
|
|
5956
|
-
该Id可通过创建拦截页面接口进行上传获取。如传入0
|
|
5897
|
+
* 拦截页面的唯一 Id。系统默认包含一个自带拦截页面,Id 值为0。
|
|
5898
|
+
该 Id 可通过创建拦截页面接口进行上传获取。如传入0,代表使用系统默认拦截页面。该参数已废弃。
|
|
5957
5899
|
*/
|
|
5958
5900
|
PageId: number
|
|
5959
5901
|
/**
|
|
5960
|
-
* 拦截页面的HTTP
|
|
5902
|
+
* 拦截页面的 HTTP 状态码。状态码取值:100~600,不支持 3xx 状态码。托管规则拦截页面默认:566,安全防护(除托管规则外)拦截页面默认:567.
|
|
5961
5903
|
*/
|
|
5962
5904
|
StatusCode: number
|
|
5963
5905
|
/**
|
|
5964
|
-
* 页面文件名或url。
|
|
5906
|
+
* 页面文件名或 url。
|
|
5965
5907
|
*/
|
|
5966
5908
|
Name: string
|
|
5967
5909
|
/**
|
|
5968
5910
|
* 页面的类型,取值有:
|
|
5969
|
-
<li>
|
|
5970
|
-
|
|
5911
|
+
<li>page:指定页面。</li>
|
|
5912
|
+
|
|
5971
5913
|
*/
|
|
5972
5914
|
Type: string
|
|
5915
|
+
/**
|
|
5916
|
+
* 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Type 类型是 page 时必填,且不能为空。
|
|
5917
|
+
*/
|
|
5918
|
+
CustomResponseId?: string
|
|
5973
5919
|
}
|
|
5974
5920
|
|
|
5975
5921
|
/**
|
|
@@ -6146,21 +6092,43 @@ export interface FailReason {
|
|
|
6146
6092
|
export type DescribeRulesSettingRequest = null
|
|
6147
6093
|
|
|
6148
6094
|
/**
|
|
6149
|
-
*
|
|
6095
|
+
* 离线日志详细信息
|
|
6150
6096
|
*/
|
|
6151
|
-
export interface
|
|
6097
|
+
export interface L4OfflineLog {
|
|
6152
6098
|
/**
|
|
6153
|
-
*
|
|
6099
|
+
* 四层代理实例 ID。
|
|
6154
6100
|
*/
|
|
6155
|
-
|
|
6101
|
+
ProxyId?: string
|
|
6156
6102
|
/**
|
|
6157
|
-
*
|
|
6103
|
+
* 日志所属区域,取值有:
|
|
6104
|
+
<li>mainland:中国大陆境内;</li>
|
|
6105
|
+
<li>overseas:全球(不含中国大陆)。</li>
|
|
6158
6106
|
*/
|
|
6159
|
-
|
|
6107
|
+
Area?: string
|
|
6160
6108
|
/**
|
|
6161
|
-
*
|
|
6109
|
+
* 离线日志数据包名。
|
|
6162
6110
|
*/
|
|
6163
|
-
|
|
6111
|
+
LogPacketName?: string
|
|
6112
|
+
/**
|
|
6113
|
+
* 离线日志下载地址。
|
|
6114
|
+
*/
|
|
6115
|
+
Url?: string
|
|
6116
|
+
/**
|
|
6117
|
+
* 日志打包时间,此参数已经废弃。
|
|
6118
|
+
*/
|
|
6119
|
+
LogTime?: number
|
|
6120
|
+
/**
|
|
6121
|
+
* 日志打包开始时间。
|
|
6122
|
+
*/
|
|
6123
|
+
LogStartTime?: string
|
|
6124
|
+
/**
|
|
6125
|
+
* 日志打包结束时间。
|
|
6126
|
+
*/
|
|
6127
|
+
LogEndTime?: string
|
|
6128
|
+
/**
|
|
6129
|
+
* 日志大小,单位为 Byte。
|
|
6130
|
+
*/
|
|
6131
|
+
Size?: number
|
|
6164
6132
|
}
|
|
6165
6133
|
|
|
6166
6134
|
/**
|
|
@@ -6178,7 +6146,7 @@ export interface ModifyAliasDomainResponse {
|
|
|
6178
6146
|
*/
|
|
6179
6147
|
export interface RewriteAction {
|
|
6180
6148
|
/**
|
|
6181
|
-
* 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://
|
|
6149
|
+
* 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
|
|
6182
6150
|
*/
|
|
6183
6151
|
Action: string
|
|
6184
6152
|
/**
|
|
@@ -6291,7 +6259,7 @@ export interface StandardDebug {
|
|
|
6291
6259
|
*/
|
|
6292
6260
|
export interface RuleNormalActionParams {
|
|
6293
6261
|
/**
|
|
6294
|
-
* 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://
|
|
6262
|
+
* 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
|
|
6295
6263
|
*/
|
|
6296
6264
|
Name: string
|
|
6297
6265
|
/**
|
|
@@ -6449,10 +6417,10 @@ export interface AclUserRule {
|
|
|
6449
6417
|
<li>trans:放行;</li>
|
|
6450
6418
|
<li>drop:拦截;</li>
|
|
6451
6419
|
<li>monitor:观察;</li>
|
|
6452
|
-
<li>ban:IP封禁;</li>
|
|
6420
|
+
<li>ban:IP 封禁;</li>
|
|
6453
6421
|
<li>redirect:重定向;</li>
|
|
6454
6422
|
<li>page:指定页面;</li>
|
|
6455
|
-
<li>alg:
|
|
6423
|
+
<li>alg:JavaScript 挑战。</li>
|
|
6456
6424
|
*/
|
|
6457
6425
|
Action: string
|
|
6458
6426
|
/**
|
|
@@ -6470,48 +6438,44 @@ export interface AclUserRule {
|
|
|
6470
6438
|
*/
|
|
6471
6439
|
RulePriority: number
|
|
6472
6440
|
/**
|
|
6473
|
-
* 规则Id。仅出参使用。
|
|
6474
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6441
|
+
* 规则 Id。仅出参使用。
|
|
6475
6442
|
*/
|
|
6476
6443
|
RuleID?: number
|
|
6477
6444
|
/**
|
|
6478
6445
|
* 更新时间。仅出参使用。
|
|
6479
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6480
6446
|
*/
|
|
6481
6447
|
UpdateTime?: string
|
|
6482
6448
|
/**
|
|
6483
|
-
* ip
|
|
6484
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6449
|
+
* ip 封禁的惩罚时间。Action 是 ban 时必填,且不能为空,取值范围0-2天。
|
|
6485
6450
|
*/
|
|
6486
6451
|
PunishTime?: number
|
|
6487
6452
|
/**
|
|
6488
|
-
* ip封禁的惩罚时间单位,取值有:
|
|
6453
|
+
* ip 封禁的惩罚时间单位,取值有:
|
|
6489
6454
|
<li>second:秒;</li>
|
|
6490
6455
|
<li>minutes:分;</li>
|
|
6491
|
-
<li>hour:小时。</li>默认为second。
|
|
6492
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6456
|
+
<li>hour:小时。</li>默认为 second。
|
|
6493
6457
|
*/
|
|
6494
6458
|
PunishTimeUnit?: string
|
|
6495
6459
|
/**
|
|
6496
|
-
*
|
|
6497
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6460
|
+
* 自定义返回页面的名称。Action 是 page 时必填,且不能为空。
|
|
6498
6461
|
*/
|
|
6499
6462
|
Name?: string
|
|
6500
6463
|
/**
|
|
6501
|
-
* 自定义返回页面的实例
|
|
6502
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6464
|
+
* 自定义返回页面的实例 Id。默认为0,代表使用系统默认拦截页面。该参数已废弃。
|
|
6503
6465
|
*/
|
|
6504
6466
|
PageId?: number
|
|
6505
6467
|
/**
|
|
6506
|
-
*
|
|
6507
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6468
|
+
* 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Action 是 page 时必填,且不能为空。
|
|
6508
6469
|
*/
|
|
6509
|
-
|
|
6470
|
+
CustomResponseId?: string
|
|
6510
6471
|
/**
|
|
6511
|
-
*
|
|
6512
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6472
|
+
* 自定义返回页面的响应码。Action 是 page 时必填,且不能为空,取值: 100~600,不支持 3xx 响应码。默认值:567。
|
|
6513
6473
|
*/
|
|
6514
6474
|
ResponseCode?: number
|
|
6475
|
+
/**
|
|
6476
|
+
* 重定向时候的地址。Action 是 redirect 时必填,且不能为空。
|
|
6477
|
+
*/
|
|
6478
|
+
RedirectUrl?: string
|
|
6515
6479
|
}
|
|
6516
6480
|
|
|
6517
6481
|
/**
|
|
@@ -6541,42 +6505,6 @@ export interface Quota {
|
|
|
6541
6505
|
Type: string
|
|
6542
6506
|
}
|
|
6543
6507
|
|
|
6544
|
-
/**
|
|
6545
|
-
* CreateOriginGroup请求参数结构体
|
|
6546
|
-
*/
|
|
6547
|
-
export interface CreateOriginGroupRequest {
|
|
6548
|
-
/**
|
|
6549
|
-
* 站点ID。
|
|
6550
|
-
*/
|
|
6551
|
-
ZoneId: string
|
|
6552
|
-
/**
|
|
6553
|
-
* 源站类型,取值有:
|
|
6554
|
-
<li>self:自有源站;</li>
|
|
6555
|
-
<li>third_party:第三方源站;</li>
|
|
6556
|
-
<li>cos:腾讯云COS源站。</li>
|
|
6557
|
-
*/
|
|
6558
|
-
OriginType: string
|
|
6559
|
-
/**
|
|
6560
|
-
* 源站组名称。
|
|
6561
|
-
*/
|
|
6562
|
-
OriginGroupName: string
|
|
6563
|
-
/**
|
|
6564
|
-
* 源站配置类型,当OriginType=self时,取值有:
|
|
6565
|
-
<li>area:按区域配置;</li>
|
|
6566
|
-
<li>weight: 按权重配置;</li>
|
|
6567
|
-
<li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
|
|
6568
|
-
*/
|
|
6569
|
-
ConfigurationType: string
|
|
6570
|
-
/**
|
|
6571
|
-
* 源站记录信息。
|
|
6572
|
-
*/
|
|
6573
|
-
OriginRecords: Array<OriginRecord>
|
|
6574
|
-
/**
|
|
6575
|
-
* 回源Host,仅当OriginType=self时可以设置。
|
|
6576
|
-
*/
|
|
6577
|
-
HostHeader?: string
|
|
6578
|
-
}
|
|
6579
|
-
|
|
6580
6508
|
/**
|
|
6581
6509
|
* DescribeTimingL4Data请求参数结构体
|
|
6582
6510
|
*/
|
|
@@ -6696,29 +6624,6 @@ export interface CreateSharedCNAMEResponse {
|
|
|
6696
6624
|
RequestId?: string
|
|
6697
6625
|
}
|
|
6698
6626
|
|
|
6699
|
-
/**
|
|
6700
|
-
* 该结构体表示各种场景、模式下,用于验证用户对站点域名的归属权内容。
|
|
6701
|
-
*/
|
|
6702
|
-
export interface OwnershipVerification {
|
|
6703
|
-
/**
|
|
6704
|
-
* CNAME 接入,使用 DNS 解析验证时所需的信息。详情参考 [站点/域名归属权验证
|
|
6705
|
-
](https://cloud.tencent.com/document/product/1552/70789#7af6ecf8-afca-4e35-8811-b5797ed1bde5)。
|
|
6706
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6707
|
-
*/
|
|
6708
|
-
DnsVerification?: DnsVerification
|
|
6709
|
-
/**
|
|
6710
|
-
* CNAME 接入,使用文件验证时所需的信息。详情参考 [站点/域名归属权验证
|
|
6711
|
-
](https://cloud.tencent.com/document/product/1552/70789#7af6ecf8-afca-4e35-8811-b5797ed1bde5)。
|
|
6712
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6713
|
-
*/
|
|
6714
|
-
FileVerification?: FileVerification
|
|
6715
|
-
/**
|
|
6716
|
-
* NS 接入,切换 DNS 服务器所需的信息。详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
|
|
6717
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6718
|
-
*/
|
|
6719
|
-
NsVerification?: NsVerification
|
|
6720
|
-
}
|
|
6721
|
-
|
|
6722
6627
|
/**
|
|
6723
6628
|
* DescribePurgeTasks返回参数结构体
|
|
6724
6629
|
*/
|