tencentcloud-sdk-nodejs 4.0.224 → 4.0.225

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.
@@ -782,6 +782,54 @@ export interface CreateClsLogTopicResponse {
782
782
  RequestId?: string
783
783
  }
784
784
 
785
+ /**
786
+ * 远程鉴权规则。
787
+ */
788
+ export interface RemoteAuthenticationRule {
789
+ /**
790
+ * 远程鉴权服务http url
791
+ */
792
+ Server: string
793
+
794
+ /**
795
+ * 请求远程鉴权服务器的http方法;取值范围[get,post,head,all]; all 表示不限制请求方法;
796
+ all: 不指定访问访问方法;
797
+ */
798
+ AuthMethod: string
799
+
800
+ /**
801
+ * 规则类型:
802
+ all:所有文件生效
803
+ file:指定文件后缀生效
804
+ directory:指定路径生效
805
+ path:指定绝对路径生效
806
+ */
807
+ RuleType: string
808
+
809
+ /**
810
+ * 对应类型下的匹配内容:
811
+ all 时填充 *
812
+ file 时填充后缀名,如 jpg、txt
813
+ directory 时填充路径,如 /xxx/test
814
+ path 时填充绝对路径,如 /xxx/test.html
815
+ index 时填充 /
816
+ */
817
+ RulePaths: Array<string>
818
+
819
+ /**
820
+ * 请求远程鉴权服务器超时时间,单位毫秒;
821
+ 取值范围:[1,30 000]
822
+ */
823
+ AuthTimeout: number
824
+
825
+ /**
826
+ * 请求远程鉴权服务器超时后执行拦截或者放行;
827
+ RETURN_200: 超时后放行;
828
+ RETURN_403:超时返回403;
829
+ */
830
+ AuthTimeoutAction: string
831
+ }
832
+
785
833
  /**
786
834
  * 精准访问控制匹配规则
787
835
  */
@@ -817,6 +865,24 @@ export interface PurgePathCacheResponse {
817
865
  RequestId?: string
818
866
  }
819
867
 
868
+ /**
869
+ * 分片回源配置,默认为开启状态
870
+ */
871
+ export interface RangeOriginPull {
872
+ /**
873
+ * 分片回源配置开关
874
+ on:开启
875
+ off:关闭
876
+ */
877
+ Switch: string
878
+
879
+ /**
880
+ * 分路径分片回源配置
881
+ 注意:此字段可能返回 null,表示取不到有效值。
882
+ */
883
+ RangeRules?: Array<RangeOriginPullRule>
884
+ }
885
+
820
886
  /**
821
887
  * 域名查询时过滤条件。
822
888
  */
@@ -869,6 +935,21 @@ export interface DescribeCdnOriginIpResponse {
869
935
  RequestId?: string
870
936
  }
871
937
 
938
+ /**
939
+ * UpdatePayType请求参数结构体
940
+ */
941
+ export interface UpdatePayTypeRequest {
942
+ /**
943
+ * 计费区域,mainland或overseas。
944
+ */
945
+ Area: string
946
+
947
+ /**
948
+ * 计费类型,flux或bandwidth。
949
+ */
950
+ PayType: string
951
+ }
952
+
872
953
  /**
873
954
  * 域名国内海外分地区特殊配置。
874
955
  */
@@ -887,15 +968,58 @@ export interface SpecificConfig {
887
968
  }
888
969
 
889
970
  /**
890
- * 回源 301/302 状态码自动跟随配置,默认为关闭状态
971
+ * DescribeTopData请求参数结构体
891
972
  */
892
- export interface FollowRedirect {
973
+ export interface DescribeTopDataRequest {
893
974
  /**
894
- * 回源跟随开关
895
- on:开启
896
- off:关闭
975
+ * 查询起始日期:yyyy-MM-dd HH:mm:ss
976
+ 当前仅支持按天粒度的数据查询,参数需为某天的起点时刻
897
977
  */
898
- Switch: string
978
+ StartTime: string
979
+
980
+ /**
981
+ * 查询起始日期:yyyy-MM-dd HH:mm:ss
982
+ 当前仅支持按天粒度的数据查询,参数需为某天的结束时刻
983
+ */
984
+ EndTime: string
985
+
986
+ /**
987
+ * 排序对象,支持以下几种形式:
988
+ ip、ua_device、ua_browser、ua_os、referer
989
+ */
990
+ Metric: string
991
+
992
+ /**
993
+ * 排序使用的指标名称:
994
+ flux:Metric 为 host 时指代访问流量
995
+ request:Metric 为 host 时指代访问请求数
996
+ */
997
+ Filter: string
998
+
999
+ /**
1000
+ * 指定查询域名列表,最多可一次性查询 30 个加速域名明细
1001
+ */
1002
+ Domains?: Array<string>
1003
+
1004
+ /**
1005
+ * 未填充域名情况下,指定项目查询,若填充了具体域名信息,以域名为主
1006
+ */
1007
+ Project?: number
1008
+
1009
+ /**
1010
+ * 是否详细显示每个域名的的具体数值
1011
+ */
1012
+ Detail?: boolean
1013
+
1014
+ /**
1015
+ * 地域,目前可不填,默认是大陆
1016
+ */
1017
+ Area?: string
1018
+
1019
+ /**
1020
+ * 产品名,目前仅可使用cdn
1021
+ */
1022
+ Product?: string
899
1023
  }
900
1024
 
901
1025
  /**
@@ -922,30 +1046,25 @@ off:关闭
922
1046
  export type DescribePurgeQuotaRequest = null
923
1047
 
924
1048
  /**
925
- * ModifyPurgeFetchTaskStatus请求参数结构体
1049
+ * DisableCaches返回参数结构体
926
1050
  */
927
- export interface ModifyPurgeFetchTaskStatusRequest {
928
- /**
929
- * 执行时间
930
- */
931
- ExecutionTime: string
932
-
1051
+ export interface DisableCachesResponse {
933
1052
  /**
934
- * 执行状态
935
- success: 成功
936
- failed: 失败
1053
+ * 提交结果
1054
+ 注意:此字段可能返回 null,表示取不到有效值。
937
1055
  */
938
- ExecutionStatus: string
1056
+ CacheOptResult: CacheOptResult
939
1057
 
940
1058
  /**
941
- * 任务 ID
942
- */
943
- Id: string
1059
+ * 任务ID
1060
+ 注意:此字段可能返回 null,表示取不到有效值。
1061
+ */
1062
+ TaskId: string
944
1063
 
945
1064
  /**
946
- * 执行状态详情
1065
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
947
1066
  */
948
- ExecutionStatusDesc?: string
1067
+ RequestId?: string
949
1068
  }
950
1069
 
951
1070
  /**
@@ -1307,53 +1426,90 @@ export interface DeleteCdnDomainRequest {
1307
1426
  }
1308
1427
 
1309
1428
  /**
1310
- * DescribePayType返回参数结构体
1429
+ * BOT记录详细内容
1311
1430
  */
1312
- export interface DescribePayTypeResponse {
1431
+ export interface BotRecord {
1313
1432
  /**
1314
- * 计费类型:
1315
- flux:流量计费
1316
- bandwidth:带宽计费
1317
- request:请求数计费
1318
- 日结计费方式切换时,若当日产生消耗,则此字段表示第二天即将生效的计费方式,若未产生消耗,则表示已经生效的计费方式。
1319
- */
1320
- PayType: string
1433
+ * 动作,取值为以为3个类型中的一个:"intercept","permit","monitor",分别表示: 拦截, 放行,监控
1434
+ */
1435
+ Action: string
1321
1436
 
1322
1437
  /**
1323
- * 计费周期:
1324
- day:日结计费
1325
- month:月结计费
1438
+ * 会话总次数
1439
+ */
1440
+ Nums: number
1441
+
1442
+ /**
1443
+ * BotType=UB时,表示预测标签,取值如下:
1444
+ "crawler_unregular",
1445
+ "crawler_regular",
1446
+ "request_repeat",
1447
+ "credential_miss_user",
1448
+ "credential_without_user",
1449
+ "credential_only_action",
1450
+ "credential_user_password",
1451
+ "credential_cracking",
1452
+ "credential_stuffing",
1453
+ "brush_sms",
1454
+ "brush_captcha",
1455
+ "reg_malicious"
1456
+ BotType=TCB时,表示Bot分类,取值如下:
1457
+ "Uncategorised",
1458
+ "Search engine bot",
1459
+ "Site monitor",
1460
+ "Screenshot creator",
1461
+ "Link checker",
1462
+ "Web scraper",
1463
+ "Vulnerability scanner",
1464
+ "Virus scanner",
1465
+ "Speed tester",
1466
+ "Feed Fetcher",
1467
+ "Tool",
1468
+ "Marketing"
1469
+ BotType=UCB时,为二期接口,暂时未定义内容
1326
1470
  */
1327
- BillingCycle: string
1471
+ RuleName: string
1328
1472
 
1329
1473
  /**
1330
- * monthMax:日峰值月平均,月结模式
1331
- day95:日 95 带宽,月结模式
1332
- month95:月95带宽,月结模式
1333
- sum:总流量/总请求数,日结或月结模式
1334
- max:峰值带宽,日结模式
1335
- */
1336
- StatType: string
1474
+ * 会话持续时间
1475
+ */
1476
+ SessionDuration: number
1337
1477
 
1338
1478
  /**
1339
- * 境外计费类型:
1340
- all:全地区统一计费
1341
- multiple:分地区计费
1342
- */
1343
- RegionType: string
1479
+ * 访问源IP
1480
+ */
1481
+ SrcIp: string
1344
1482
 
1345
1483
  /**
1346
- * 当前生效计费类型:
1347
- flux:流量计费
1348
- bandwidth:带宽计费
1349
- request:请求数计费
1484
+ * 异常特征
1485
+ */
1486
+ BotFeature: Array<string>
1487
+
1488
+ /**
1489
+ * 最新检测时间
1490
+ */
1491
+ Time: string
1492
+
1493
+ /**
1494
+ * BOT得分
1495
+ */
1496
+ Score: number
1497
+
1498
+ /**
1499
+ * 平均速率
1500
+ */
1501
+ AvgSpeed: number
1502
+
1503
+ /**
1504
+ * BotType=TCB,表示TCB名称
1505
+ 注意:此字段可能返回 null,表示取不到有效值。
1350
1506
  */
1351
- CurrentPayType: string
1507
+ TcbDetail: string
1352
1508
 
1353
1509
  /**
1354
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1510
+ * BOT记录唯一ID,用于查询访问详情
1355
1511
  */
1356
- RequestId?: string
1512
+ Id: string
1357
1513
  }
1358
1514
 
1359
1515
  /**
@@ -1442,6 +1598,44 @@ https:强制 https 跳转
1442
1598
  CarryHeaders?: string
1443
1599
  }
1444
1600
 
1601
+ /**
1602
+ * ListScdnTopBotData请求参数结构体
1603
+ */
1604
+ export interface ListScdnTopBotDataRequest {
1605
+ /**
1606
+ * 获取Top量,取值范围[1-10]
1607
+ */
1608
+ TopCount: number
1609
+
1610
+ /**
1611
+ * 开始时间
1612
+ */
1613
+ StartTime: string
1614
+
1615
+ /**
1616
+ * 结束时间
1617
+ */
1618
+ EndTime: string
1619
+
1620
+ /**
1621
+ * mainland 大陆地区 overseas境外地区
1622
+ */
1623
+ Area: string
1624
+
1625
+ /**
1626
+ * session表示查询BOT会话的Top信息
1627
+ ip表示查询BOT客户端IP的Top信息
1628
+
1629
+ 不填代表获取会话信息
1630
+ */
1631
+ Metric?: string
1632
+
1633
+ /**
1634
+ * 域名,仅当Metric=ip,并且Domain为空时有效,不填写表示获取AppID信息
1635
+ */
1636
+ Domains?: Array<string>
1637
+ }
1638
+
1445
1639
  /**
1446
1640
  * 分路径回源配置规则。
1447
1641
  */
@@ -1591,6 +1785,11 @@ client:指定查询客户端地区(用户请求终端所在地区)数据
1591
1785
  * 指定查询的产品数据,可选为cdn或者ecdn,默认为cdn
1592
1786
  */
1593
1787
  Product?: string
1788
+
1789
+ /**
1790
+ * 只返回前N条数据,默认为最大值100,metric=url时默认为最大值1000
1791
+ */
1792
+ Limit?: number
1594
1793
  }
1595
1794
 
1596
1795
  /**
@@ -1727,38 +1926,23 @@ export interface DisableCachesRequest {
1727
1926
  }
1728
1927
 
1729
1928
  /**
1730
- * 时间戳防盗链高级版模式D配置。
1929
+ * DescribeCertDomains请求参数结构体
1731
1930
  */
1732
- export interface AdvancedAuthenticationTypeD {
1733
- /**
1734
- * 用于计算签名的密钥,只允许字母和数字,长度6-32字节。
1735
- */
1736
- SecretKey: string
1737
-
1738
- /**
1739
- * 备份密钥,当使用SecretKey鉴权失败时会使用该密钥重新鉴权。
1740
- */
1741
- BackupSecretKey: string
1742
-
1743
- /**
1744
- * uri串中签名的字段名,字母,数字或下划线构成,同时必须以字母开头。
1745
- */
1746
- SignParam: string
1747
-
1931
+ export interface DescribeCertDomainsRequest {
1748
1932
  /**
1749
- * uri串中时间的字段名,字母,数字或下划线构成,同时必须以字母开头。
1933
+ * PEM格式证书Base64编码后的字符串
1750
1934
  */
1751
- TimeParam: string
1935
+ Cert?: string
1752
1936
 
1753
1937
  /**
1754
- * 过期时间,单位秒。
1938
+ * 托管证书ID,Cert和CertId不能均未空,都填写时以CerId为准。
1755
1939
  */
1756
- ExpireTime: number
1940
+ CertId?: string
1757
1941
 
1758
1942
  /**
1759
- * 时间格式,dec,hex分别表示十进制,十六进制。
1943
+ * 域名所属产品,cdn或ecdn,默认cdn。
1760
1944
  */
1761
- TimeFormat: string
1945
+ Product?: string
1762
1946
  }
1763
1947
 
1764
1948
  /**
@@ -2438,13 +2622,24 @@ export interface DescribeDistrictIspDataResponse {
2438
2622
  export type DescribeCdnOriginIpRequest = null
2439
2623
 
2440
2624
  /**
2441
- * UpdatePayType返回参数结构体
2625
+ * 排序类型的数据结构,同时附带上该项的在总值的占比
2442
2626
  */
2443
- export interface UpdatePayTypeResponse {
2627
+ export interface TopDetailDataMore {
2444
2628
  /**
2445
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2629
+ * 数据类型的名称
2446
2630
  */
2447
- RequestId?: string
2631
+ Name: string
2632
+
2633
+ /**
2634
+ * 数据值
2635
+ */
2636
+ Value: number
2637
+
2638
+ /**
2639
+ * 数据值在总值中的百分比
2640
+ 注意:此字段可能返回 null,表示取不到有效值。
2641
+ */
2642
+ Percent: number
2448
2643
  }
2449
2644
 
2450
2645
  /**
@@ -2480,14 +2675,43 @@ export interface TopicInfo {
2480
2675
  }
2481
2676
 
2482
2677
  /**
2483
- * 图片优化-WebpAdapter配置
2678
+ * PushUrlsCache请求参数结构体
2484
2679
  */
2485
- export interface WebpAdapter {
2680
+ export interface PushUrlsCacheRequest {
2486
2681
  /**
2487
- * 开关,"on/off"
2488
- 注意:此字段可能返回 null,表示取不到有效值。
2682
+ * URL 列表,需要包含协议头部 http:// 或 https://
2683
+ */
2684
+ Urls: Array<string>
2685
+
2686
+ /**
2687
+ * 指定预热请求回源时 HTTP 请求的 User-Agent 头部
2688
+ 默认为 TencentCdn
2489
2689
  */
2490
- Switch?: string
2690
+ UserAgent?: string
2691
+
2692
+ /**
2693
+ * 预热生效区域
2694
+ mainland:预热至境内节点
2695
+ overseas:预热至境外节点
2696
+ global:预热全球节点
2697
+ 不填充情况下,默认为 mainland, URL 中域名必须在对应区域启用了加速服务才能提交对应区域的预热任务
2698
+ */
2699
+ Area?: string
2700
+
2701
+ /**
2702
+ * 填写"middle"或不填充时预热至中间层节点。
2703
+ 注意:中国境外区域预热,资源默认加载至中国境外边缘节点,所产生的边缘层流量会计入计费流量。
2704
+ */
2705
+ Layer?: string
2706
+
2707
+ /**
2708
+ * 是否递归解析m3u8文件中的ts分片预热
2709
+ 注意事项:
2710
+ 1. 该功能要求m3u8索引文件能直接请求获取
2711
+ 2. 当前只支持递归解析一级索引和子索引中的ts分片,递归深度不超过3层
2712
+ 3. 解析获取的ts分片会正常累加每日预热用量,当用量超出配额时,会静默处理,不再执行预热
2713
+ */
2714
+ ParseM3U8?: boolean
2491
2715
  }
2492
2716
 
2493
2717
  /**
@@ -2764,43 +2988,18 @@ off:关闭,遵循用户自定义的节点缓存规则
2764
2988
  }
2765
2989
 
2766
2990
  /**
2767
- * PushUrlsCache请求参数结构体
2991
+ * ListScdnTopBotData返回参数结构体
2768
2992
  */
2769
- export interface PushUrlsCacheRequest {
2993
+ export interface ListScdnTopBotDataResponse {
2770
2994
  /**
2771
- * URL 列表,需要包含协议头部 http:// 或 https://
2995
+ * 域名BOT次数列表
2772
2996
  */
2773
- Urls: Array<string>
2774
-
2775
- /**
2776
- * 指定预热请求回源时 HTTP 请求的 User-Agent 头部
2777
- 默认为 TencentCdn
2778
- */
2779
- UserAgent?: string
2997
+ Data: Array<BotStatisticsCount>
2780
2998
 
2781
2999
  /**
2782
- * 预热生效区域
2783
- mainland:预热至境内节点
2784
- overseas:预热至境外节点
2785
- global:预热全球节点
2786
- 不填充情况下,默认为 mainland, URL 中域名必须在对应区域启用了加速服务才能提交对应区域的预热任务
2787
- */
2788
- Area?: string
2789
-
2790
- /**
2791
- * 填写"middle"或不填充时预热至中间层节点。
2792
- 注意:中国境外区域预热,资源默认加载至中国境外边缘节点,所产生的边缘层流量会计入计费流量。
2793
- */
2794
- Layer?: string
2795
-
2796
- /**
2797
- * 是否递归解析m3u8文件中的ts分片预热
2798
- 注意事项:
2799
- 1. 该功能要求m3u8索引文件能直接请求获取
2800
- 2. 当前只支持递归解析一级索引和子索引中的ts分片,递归深度不超过3层
2801
- 3. 解析获取的ts分片会正常累加每日预热用量,当用量超出配额时,会静默处理,不再执行预热
2802
- */
2803
- ParseM3U8?: boolean
3000
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3001
+ */
3002
+ RequestId?: string
2804
3003
  }
2805
3004
 
2806
3005
  /**
@@ -2975,7 +3174,7 @@ disabled:未启用
2975
3174
  Channel: string
2976
3175
 
2977
3176
  /**
2978
- * 流量包生效区域,目前仅支持mainland
3177
+ * 流量包生效区域,mainland或overseas
2979
3178
  */
2980
3179
  Area: string
2981
3180
 
@@ -2993,6 +3192,21 @@ disabled:未启用
2993
3192
  * 流量包是否支持退费
2994
3193
  */
2995
3194
  RefundAvailable: boolean
3195
+
3196
+ /**
3197
+ * 流量包生效区域
3198
+ 0:中国大陆
3199
+ 1:亚太一区
3200
+ 2:亚太二区
3201
+ 3:亚太三区
3202
+ 4:中东
3203
+ 5:北美
3204
+ 6:欧洲
3205
+ 7:南美
3206
+ 8:非洲
3207
+ 注意:此字段可能返回 null,表示取不到有效值。
3208
+ */
3209
+ Region: number
2996
3210
  }
2997
3211
 
2998
3212
  /**
@@ -3129,7 +3343,34 @@ export interface EnableClsLogTopicResponse {
3129
3343
  /**
3130
3344
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3131
3345
  */
3132
- RequestId?: string
3346
+ RequestId?: string
3347
+ }
3348
+
3349
+ /**
3350
+ * ModifyPurgeFetchTaskStatus请求参数结构体
3351
+ */
3352
+ export interface ModifyPurgeFetchTaskStatusRequest {
3353
+ /**
3354
+ * 执行时间
3355
+ */
3356
+ ExecutionTime: string
3357
+
3358
+ /**
3359
+ * 执行状态
3360
+ success: 成功
3361
+ failed: 失败
3362
+ */
3363
+ ExecutionStatus: string
3364
+
3365
+ /**
3366
+ * 任务 ID
3367
+ */
3368
+ Id: string
3369
+
3370
+ /**
3371
+ * 执行状态详情
3372
+ */
3373
+ ExecutionStatusDesc?: string
3133
3374
  }
3134
3375
 
3135
3376
  /**
@@ -3697,6 +3938,7 @@ media:流媒体点播加速
3697
3938
  mainland:中国境内加速
3698
3939
  overseas:中国境外加速
3699
3940
  global:全球加速
3941
+ 从mainland/overseas修改至global时,域名的配置将被同步至overseas/mainland。若域名含有后端特殊配置,此类配置的同步过程有一定延时,请耐心等待
3700
3942
  */
3701
3943
  Area?: string
3702
3944
 
@@ -3721,7 +3963,7 @@ global:全球加速
3721
3963
  AccessControl?: AccessControl
3722
3964
 
3723
3965
  /**
3724
- * URL重定向配置
3966
+ * 访问URL重写配置
3725
3967
  */
3726
3968
  UrlRedirect?: UrlRedirect
3727
3969
 
@@ -3769,6 +4011,11 @@ global:全球加速
3769
4011
  * WebSocket配置
3770
4012
  */
3771
4013
  WebSocket?: WebSocket
4014
+
4015
+ /**
4016
+ * 远程鉴权配置
4017
+ */
4018
+ RemoteAuthentication?: RemoteAuthentication
3772
4019
  }
3773
4020
 
3774
4021
  /**
@@ -3880,23 +4127,38 @@ export interface AdvancedAuthenticationTypeE {
3880
4127
  }
3881
4128
 
3882
4129
  /**
3883
- * DescribeCertDomains请求参数结构体
4130
+ * 时间戳防盗链高级版模式D配置。
3884
4131
  */
3885
- export interface DescribeCertDomainsRequest {
4132
+ export interface AdvancedAuthenticationTypeD {
3886
4133
  /**
3887
- * PEM格式证书Base64编码后的字符串
4134
+ * 用于计算签名的密钥,只允许字母和数字,长度6-32字节。
3888
4135
  */
3889
- Cert?: string
4136
+ SecretKey: string
3890
4137
 
3891
4138
  /**
3892
- * 托管证书ID,Cert和CertId不能均未空,都填写时以CerId为准。
4139
+ * 备份密钥,当使用SecretKey鉴权失败时会使用该密钥重新鉴权。
3893
4140
  */
3894
- CertId?: string
4141
+ BackupSecretKey: string
3895
4142
 
3896
4143
  /**
3897
- * 域名所属产品,cdn或ecdn,默认cdn。
4144
+ * uri串中签名的字段名,字母,数字或下划线构成,同时必须以字母开头。
3898
4145
  */
3899
- Product?: string
4146
+ SignParam: string
4147
+
4148
+ /**
4149
+ * uri串中时间的字段名,字母,数字或下划线构成,同时必须以字母开头。
4150
+ */
4151
+ TimeParam: string
4152
+
4153
+ /**
4154
+ * 过期时间,单位秒。
4155
+ */
4156
+ ExpireTime: number
4157
+
4158
+ /**
4159
+ * 时间格式,dec,hex分别表示十进制,十六进制。
4160
+ */
4161
+ TimeFormat: string
3900
4162
  }
3901
4163
 
3902
4164
  /**
@@ -5124,7 +5386,7 @@ media:流媒体点播加速
5124
5386
  FollowRedirect: FollowRedirect
5125
5387
 
5126
5388
  /**
5127
- * 自定义错误页面配置(功能灰度中,敬请期待)
5389
+ * 自定义错误页面配置
5128
5390
  注意:此字段可能返回 null,表示取不到有效值。
5129
5391
  */
5130
5392
  ErrorPage: ErrorPage
@@ -5345,19 +5607,19 @@ off:不支持
5345
5607
  Ipv6Access: Ipv6Access
5346
5608
 
5347
5609
  /**
5348
- * 高级配置集合。
5610
+ * 高级配置集合
5349
5611
  注意:此字段可能返回 null,表示取不到有效值。
5350
5612
  */
5351
5613
  AdvanceSet: Array<AdvanceConfig>
5352
5614
 
5353
5615
  /**
5354
- * 离线缓存
5616
+ * 离线缓存(功能灰度中,尚未全量,请等待后续全量发布)
5355
5617
  注意:此字段可能返回 null,表示取不到有效值。
5356
5618
  */
5357
5619
  OfflineCache: OfflineCache
5358
5620
 
5359
5621
  /**
5360
- * 合并回源
5622
+ * 合并回源(白名单功能)
5361
5623
  注意:此字段可能返回 null,表示取不到有效值。
5362
5624
  */
5363
5625
  OriginCombine: OriginCombine
@@ -5385,6 +5647,12 @@ off:不支持
5385
5647
  注意:此字段可能返回 null,表示取不到有效值。
5386
5648
  */
5387
5649
  WebSocket: WebSocket
5650
+
5651
+ /**
5652
+ * 远程鉴权配置
5653
+ 注意:此字段可能返回 null,表示取不到有效值。
5654
+ */
5655
+ RemoteAuthentication: RemoteAuthentication
5388
5656
  }
5389
5657
 
5390
5658
  /**
@@ -5526,18 +5794,18 @@ export interface UpdateScdnDomainRequest {
5526
5794
  }
5527
5795
 
5528
5796
  /**
5529
- * UpdatePayType请求参数结构体
5797
+ * Bot记录的排序选项
5530
5798
  */
5531
- export interface UpdatePayTypeRequest {
5799
+ export interface BotSortBy {
5532
5800
  /**
5533
- * 计费区域,mainland或overseas。
5801
+ * 排序参数名称, 取值为:timestamp, nums, session_duration,score.total,stat.avg_speed分别表示按照:最新检测时间,会话总次数,会话持续时间,BOT得分,平均速率排序
5534
5802
  */
5535
- Area: string
5803
+ Key: string
5536
5804
 
5537
5805
  /**
5538
- * 计费类型,flux或bandwidth。
5806
+ * asc/desc
5539
5807
  */
5540
- PayType: string
5808
+ Sequence: string
5541
5809
  }
5542
5810
 
5543
5811
  /**
@@ -5771,21 +6039,138 @@ overseas:指定查询中国境外 CDN 数据
5771
6039
  }
5772
6040
 
5773
6041
  /**
5774
- * 分片回源配置,默认为开启状态
6042
+ * DescribeScdnBotRecords请求参数结构体
5775
6043
  */
5776
- export interface RangeOriginPull {
6044
+ export interface DescribeScdnBotRecordsRequest {
5777
6045
  /**
5778
- * 分片回源配置开关
6046
+ * BOT类型,取值为"UB","UCB","TCB",分别表示:未知类型,自定义类型,公开类型
6047
+ */
6048
+ BotType: string
6049
+
6050
+ /**
6051
+ * 域名
6052
+ */
6053
+ Domain: string
6054
+
6055
+ /**
6056
+ * 开始时间
6057
+ */
6058
+ StartTime: string
6059
+
6060
+ /**
6061
+ * 结束时间
6062
+ */
6063
+ EndTime: string
6064
+
6065
+ /**
6066
+ * 分页参数
6067
+ */
6068
+ Offset: number
6069
+
6070
+ /**
6071
+ * 分页参数
6072
+ */
6073
+ Limit: number
6074
+
6075
+ /**
6076
+ * mainland 大陆地区 overseas境外地区
6077
+ */
6078
+ Area: string
6079
+
6080
+ /**
6081
+ * 排序参数
6082
+ */
6083
+ SortBy?: Array<BotSortBy>
6084
+
6085
+ /**
6086
+ * BotType=UB时,表示需要过滤的预测标签,取值如下:
6087
+ "crawler_unregular",
6088
+ "crawler_regular",
6089
+ "request_repeat",
6090
+ "credential_miss_user",
6091
+ "credential_without_user",
6092
+ "credential_only_action",
6093
+ "credential_user_password",
6094
+ "credential_cracking",
6095
+ "credential_stuffing",
6096
+ "brush_sms",
6097
+ "brush_captcha",
6098
+ "reg_malicious"
6099
+ BotType=TCB时,表示需要过滤的Bot分类,取值如下:
6100
+ "Uncategorised",
6101
+ "Search engine bot",
6102
+ "Site monitor",
6103
+ "Screenshot creator",
6104
+ "Link checker",
6105
+ "Web scraper",
6106
+ "Vulnerability scanner",
6107
+ "Virus scanner",
6108
+ "Speed tester",
6109
+ "Feed Fetcher",
6110
+ "Tool",
6111
+ "Marketing"
6112
+ BotType=UCB时,取值如下:
6113
+ User-Agent为空或不存在
6114
+ User-Agent类型为BOT
6115
+ User-Agent类型为HTTP Library
6116
+ User-Agent类型为Framework
6117
+ User-Agent类型为Tools
6118
+ User-Agent类型为Unkonwn BOT
6119
+ User-Agent类型为Scanner
6120
+ Referer空或不存在
6121
+ Referer滥用(多个UA使用相同Referer)
6122
+ Cookie滥用(多个UA使用相同Cookie)
6123
+ Cookie空或不存在
6124
+ Connection空或不存在
6125
+ Accept空或不存在
6126
+ Accept-Language空或不存在
6127
+ Accept-Enconding空或不存在
6128
+ 使用HTTP HEAD方法
6129
+ HTTP协议为1.0或者更低
6130
+ IDC-IP 腾讯云
6131
+ IDC-IP 阿里云
6132
+ IDC-IP 华为云
6133
+ IDC-IP 金山云
6134
+ IDC-IP UCloud
6135
+ IDC-IP 百度云
6136
+ IDC-IP 京东云
6137
+ IDC-IP 青云
6138
+ IDC-IP Aws
6139
+ IDC-IP Azure
6140
+ IDC-IP Google
6141
+
6142
+ 以上所有类型,FilterName为空时,表示不过滤,获取所有内容
6143
+ */
6144
+ FilterName?: string
6145
+
6146
+ /**
6147
+ * 目前支持的Action
6148
+ "intercept" 拦截
6149
+ "monitor",监控
6150
+ "permit" 放行
6151
+ "redirect" 重定向
6152
+
6153
+ 尚未支持的Action
6154
+ "captcha" 验证码
6155
+ */
6156
+ FilterAction?: string
6157
+
6158
+ /**
6159
+ * 过滤的IP
6160
+ */
6161
+ FilterIp?: string
6162
+ }
6163
+
6164
+ /**
6165
+ * 回源 301/302 状态码自动跟随配置,默认为关闭状态
6166
+ */
6167
+ export interface FollowRedirect {
6168
+ /**
6169
+ * 回源跟随开关
5779
6170
  on:开启
5780
6171
  off:关闭
5781
6172
  */
5782
6173
  Switch: string
5783
-
5784
- /**
5785
- * 分路径分片回源配置
5786
- 注意:此字段可能返回 null,表示取不到有效值。
5787
- */
5788
- RangeRules?: Array<RangeOriginPullRule>
5789
6174
  }
5790
6175
 
5791
6176
  /**
@@ -6394,6 +6779,16 @@ export interface CreateClsLogTopicRequest {
6394
6779
  DomainAreaConfigs?: Array<DomainAreaConfig>
6395
6780
  }
6396
6781
 
6782
+ /**
6783
+ * UpdatePayType返回参数结构体
6784
+ */
6785
+ export interface UpdatePayTypeResponse {
6786
+ /**
6787
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6788
+ */
6789
+ RequestId?: string
6790
+ }
6791
+
6397
6792
  /**
6398
6793
  * 违规资源封禁/解封返回类型
6399
6794
  */
@@ -7342,25 +7737,33 @@ day:天粒度
7342
7737
  }
7343
7738
 
7344
7739
  /**
7345
- * DisableCaches返回参数结构体
7740
+ * session/ip维度的bot统计复杂对象
7346
7741
  */
7347
- export interface DisableCachesResponse {
7742
+ export interface BotStatisticsCount {
7348
7743
  /**
7349
- * 提交结果
7350
- 注意:此字段可能返回 null,表示取不到有效值。
7351
- */
7352
- CacheOptResult: CacheOptResult
7744
+ * BOT次数
7745
+ */
7746
+ Count: number
7353
7747
 
7354
7748
  /**
7355
- * 任务ID
7356
- 注意:此字段可能返回 null,表示取不到有效值。
7357
- */
7358
- TaskId: string
7749
+ * Top指标值,如果是ip维度就是ip如果是session维度就是域名
7750
+ */
7751
+ Value: string
7359
7752
 
7360
7753
  /**
7361
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7754
+ * ip所在国家
7362
7755
  */
7363
- RequestId?: string
7756
+ Country: string
7757
+
7758
+ /**
7759
+ * ip所在省份
7760
+ */
7761
+ Province: string
7762
+
7763
+ /**
7764
+ * ip归属的idc
7765
+ */
7766
+ Isp: string
7364
7767
  }
7365
7768
 
7366
7769
  /**
@@ -7700,13 +8103,30 @@ export interface StatusCodeCacheRule {
7700
8103
  }
7701
8104
 
7702
8105
  /**
7703
- * VerifyDomainRecord请求参数结构体
8106
+ * 远程鉴权规则配置,可以包含多种规则配置。
8107
+ RemoteAuthenticationRule 和Server 互斥,配置其中一个。
8108
+ 若只配置Server ,规则参数将采用默认参数;
7704
8109
  */
7705
- export interface VerifyDomainRecordRequest {
8110
+ export interface RemoteAuthentication {
7706
8111
  /**
7707
- * 域名
7708
- */
7709
- Domain: string
8112
+ * 远程鉴权开关;
8113
+ on : 开启;
8114
+ off: 关闭;
8115
+ 注意:此字段可能返回 null,表示取不到有效值。
8116
+ */
8117
+ Switch: string
8118
+
8119
+ /**
8120
+ * 远程鉴权规则配置
8121
+ 注意:此字段可能返回 null,表示取不到有效值。
8122
+ */
8123
+ RemoteAuthenticationRules?: Array<RemoteAuthenticationRule>
8124
+
8125
+ /**
8126
+ * 远程鉴权Server
8127
+ 注意:此字段可能返回 null,表示取不到有效值。
8128
+ */
8129
+ Server?: string
7710
8130
  }
7711
8131
 
7712
8132
  /**
@@ -7963,6 +8383,17 @@ export interface ClsLogObject {
7963
8383
  Source: string
7964
8384
  }
7965
8385
 
8386
+ /**
8387
+ * 图片优化-WebpAdapter配置
8388
+ */
8389
+ export interface WebpAdapter {
8390
+ /**
8391
+ * 开关,"on/off"
8392
+ 注意:此字段可能返回 null,表示取不到有效值。
8393
+ */
8394
+ Switch?: string
8395
+ }
8396
+
7966
8397
  /**
7967
8398
  * DescribeWafData返回参数结构体
7968
8399
  */
@@ -8395,6 +8826,56 @@ export interface ListTopWafDataResponse {
8395
8826
  RequestId?: string
8396
8827
  }
8397
8828
 
8829
+ /**
8830
+ * DescribePayType返回参数结构体
8831
+ */
8832
+ export interface DescribePayTypeResponse {
8833
+ /**
8834
+ * 计费类型:
8835
+ flux:流量计费
8836
+ bandwidth:带宽计费
8837
+ request:请求数计费
8838
+ 日结计费方式切换时,若当日产生消耗,则此字段表示第二天即将生效的计费方式,若未产生消耗,则表示已经生效的计费方式。
8839
+ */
8840
+ PayType: string
8841
+
8842
+ /**
8843
+ * 计费周期:
8844
+ day:日结计费
8845
+ month:月结计费
8846
+ */
8847
+ BillingCycle: string
8848
+
8849
+ /**
8850
+ * monthMax:日峰值月平均,月结模式
8851
+ day95:日 95 带宽,月结模式
8852
+ month95:月95带宽,月结模式
8853
+ sum:总流量/总请求数,日结或月结模式
8854
+ max:峰值带宽,日结模式
8855
+ */
8856
+ StatType: string
8857
+
8858
+ /**
8859
+ * 境外计费类型:
8860
+ all:全地区统一计费
8861
+ multiple:分地区计费
8862
+ */
8863
+ RegionType: string
8864
+
8865
+ /**
8866
+ * 当前生效计费类型:
8867
+ flux:流量计费
8868
+ bandwidth:带宽计费
8869
+ request:请求数计费
8870
+ */
8871
+ CurrentPayType: string
8872
+
8873
+ /**
8874
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8875
+ */
8876
+ RequestId?: string
8877
+ }
8878
+
8398
8879
  /**
8399
8880
  * 查询结果排序条件
8400
8881
  */
@@ -9062,6 +9543,26 @@ export interface DiagnoseInfo {
9062
9543
  Area: string
9063
9544
  }
9064
9545
 
9546
+ /**
9547
+ * DescribeScdnBotRecords返回参数结构体
9548
+ */
9549
+ export interface DescribeScdnBotRecordsResponse {
9550
+ /**
9551
+ * BOT拦截结果数组
9552
+ */
9553
+ Data: Array<BotRecord>
9554
+
9555
+ /**
9556
+ * 记录数量
9557
+ */
9558
+ TotalCount: number
9559
+
9560
+ /**
9561
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9562
+ */
9563
+ RequestId?: string
9564
+ }
9565
+
9065
9566
  /**
9066
9567
  * waf配置类型
9067
9568
  */
@@ -9590,6 +10091,16 @@ export interface StopScdnDomainRequest {
9590
10091
  Domain: string
9591
10092
  }
9592
10093
 
10094
+ /**
10095
+ * VerifyDomainRecord请求参数结构体
10096
+ */
10097
+ export interface VerifyDomainRecordRequest {
10098
+ /**
10099
+ * 域名
10100
+ */
10101
+ Domain: string
10102
+ }
10103
+
9593
10104
  /**
9594
10105
  * Scdn饼图数据,waf仅有
9595
10106
  */
@@ -9644,6 +10155,21 @@ day:天粒度
9644
10155
  RequestId?: string
9645
10156
  }
9646
10157
 
10158
+ /**
10159
+ * DescribeTopData返回参数结构体
10160
+ */
10161
+ export interface DescribeTopDataResponse {
10162
+ /**
10163
+ * 各个资源的Top 访问数据详情。
10164
+ */
10165
+ Data: Array<TopDataMore>
10166
+
10167
+ /**
10168
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10169
+ */
10170
+ RequestId?: string
10171
+ }
10172
+
9647
10173
  /**
9648
10174
  * DescribeDomains请求参数结构体
9649
10175
  */
@@ -9735,6 +10261,21 @@ export interface UrlRedirectRule {
9735
10261
  RedirectHost?: string
9736
10262
  }
9737
10263
 
10264
+ /**
10265
+ * 排序类型数据结构
10266
+ */
10267
+ export interface TopDataMore {
10268
+ /**
10269
+ * 资源名称,根据查询条件不同分为以下几类:
10270
+ */
10271
+ Resource: string
10272
+
10273
+ /**
10274
+ * 排序结果详情
10275
+ */
10276
+ DetailData: Array<TopDetailDataMore>
10277
+ }
10278
+
9738
10279
  /**
9739
10280
  * 客户端访问诊断URL信息列表
9740
10281
  */