tencentcloud-sdk-nodejs-cdn 4.0.599 → 4.0.601

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.
@@ -384,7 +384,9 @@ path 时填充绝对路径,如 /xxx/test.html
384
384
  */
385
385
  export interface UserAgentFilter {
386
386
  /**
387
- * 开关,on或off
387
+ * UserAgent黑白名单配置开关,取值有:
388
+ on:开启
389
+ off:关闭
388
390
  注意:此字段可能返回 null,表示取不到有效值。
389
391
  */
390
392
  Switch: string
@@ -649,8 +651,10 @@ ip表示查询BOT客户端IP的Top信息
649
651
  */
650
652
  export interface RedirectConfig {
651
653
  /**
652
- * 配置开关
653
- */
654
+ * 自定义回源302 follow请求host配置开关,取值有:
655
+ on:开启
656
+ off:关闭
657
+ */
654
658
  Switch: string
655
659
 
656
660
  /**
@@ -703,6 +707,7 @@ export interface Origin {
703
707
  domain:域名类型
704
708
  domainv6:域名解析V6类型
705
709
  cos:对象存储源站
710
+ third_party: 第三方存储源站
706
711
  ip:IP 列表作为源站
707
712
  ipv6:源站列表为一个单独的 IPv6 地址
708
713
  ip_ipv6:源站列表为多个 IPv4 地址和IPv6 地址
@@ -801,7 +806,12 @@ ip_ipv6_domain:源站列表为多个 IPv4 地址IPv6 地址以及域名
801
806
  AdvanceHttps?: AdvanceHttps
802
807
 
803
808
  /**
804
- * 对象存储回源厂商
809
+ * 对象存储回源厂商,当源站类型为第三方存储源站(third_party)时必填,可选值包括以下:
810
+ aws_s3: AWS S3
811
+ ali_oss: 阿里云 OSS
812
+ hw_obs: 华为 OBS
813
+ qiniu_kodo: 七牛云 kodo
814
+ others: 其它厂商对象存储,仅支持兼容以AWS签名算法的对象存储,如腾讯云金融专区COS
805
815
  注意:此字段可能返回 null,表示取不到有效值。
806
816
  */
807
817
  OriginCompany?: string
@@ -1973,7 +1983,7 @@ export interface StartScdnDomainResponse {
1973
1983
  */
1974
1984
  export interface ResponseHeader {
1975
1985
  /**
1976
- * 自定义响应头开关
1986
+ * 自定义响应头配置开关,取值有:
1977
1987
  on:开启
1978
1988
  off:关闭
1979
1989
  */
@@ -2196,7 +2206,7 @@ export interface DDoSAttackBandwidthData {
2196
2206
  */
2197
2207
  export interface OriginPullOptimization {
2198
2208
  /**
2199
- * 跨国回源优化配置开关
2209
+ * 跨国回源优化配置开关,取值有:
2200
2210
  on:开启
2201
2211
  off:关闭
2202
2212
  */
@@ -2264,8 +2274,10 @@ global:全球
2264
2274
  */
2265
2275
  export interface SecurityConfig {
2266
2276
  /**
2267
- * on|off
2268
- */
2277
+ * scdn 安全配置开关,取值有:
2278
+ on:开启
2279
+ off:关闭
2280
+ */
2269
2281
  Switch: string
2270
2282
  }
2271
2283
 
@@ -2274,7 +2286,9 @@ export interface SecurityConfig {
2274
2286
  */
2275
2287
  export interface QueryStringKey {
2276
2288
  /**
2277
- * on | off CacheKey是否由QueryString组成
2289
+ * CacheKey是否由QueryString组成配置开关,取值有:
2290
+ on:开启
2291
+ off:关闭
2278
2292
  注意:此字段可能返回 null,表示取不到有效值。
2279
2293
  */
2280
2294
  Switch: string
@@ -2286,7 +2300,11 @@ export interface QueryStringKey {
2286
2300
  Reorder?: string
2287
2301
 
2288
2302
  /**
2289
- * includeAll | excludeAll | includeCustom | excludeCustom 使用/排除部分url参数
2303
+ * 使用/排除部分url参数,取值有:
2304
+ includeAll:包含所有
2305
+ excludeAll:排除所有
2306
+ includeCustom:自定义包含
2307
+ excludeCustom:自定义排除
2290
2308
  注意:此字段可能返回 null,表示取不到有效值。
2291
2309
  */
2292
2310
  Action?: string
@@ -2303,7 +2321,7 @@ export interface QueryStringKey {
2303
2321
  */
2304
2322
  export interface MaxAge {
2305
2323
  /**
2306
- * 浏览器缓存配置开关
2324
+ * 浏览器缓存配置开关,取值有:
2307
2325
  on:开启
2308
2326
  off:关闭
2309
2327
  注意:此字段可能返回 null,表示取不到有效值。
@@ -2439,7 +2457,7 @@ export interface AwsPrivateAccess {
2439
2457
  */
2440
2458
  export interface VideoSeek {
2441
2459
  /**
2442
- * 视频拖拽开关
2460
+ * 视频拖拽配置开关,取值有:
2443
2461
  on:开启
2444
2462
  off:关闭
2445
2463
  */
@@ -2522,8 +2540,10 @@ export interface DescribeScdnBotDataRequest {
2522
2540
  */
2523
2541
  export interface ScdnConfig {
2524
2542
  /**
2525
- * on | off
2526
- */
2543
+ * scdn cc配置开关,取值有:
2544
+ on:开启
2545
+ off:关闭
2546
+ */
2527
2547
  Switch: string
2528
2548
 
2529
2549
  /**
@@ -2609,8 +2629,10 @@ export interface ExtraLogset {
2609
2629
  */
2610
2630
  export interface OfflineCache {
2611
2631
  /**
2612
- * on | off, 离线缓存是否开启
2613
- */
2632
+ * 离线缓存配置开关,取值有:
2633
+ on:开启
2634
+ off:关闭
2635
+ */
2614
2636
  Switch: string
2615
2637
  }
2616
2638
 
@@ -3106,7 +3128,7 @@ failed: 失败
3106
3128
  */
3107
3129
  export interface Referer {
3108
3130
  /**
3109
- * referer 黑白名单配置开关
3131
+ * referer 黑白名单配置开关,取值有:
3110
3132
  on:开启
3111
3133
  off:关闭
3112
3134
  */
@@ -3471,7 +3493,9 @@ export interface AdvancedCCRules {
3471
3493
  Configure?: Array<ScdnSevenLayerRules>
3472
3494
 
3473
3495
  /**
3474
- * 是否开启改规则 on 开启,off关闭
3496
+ * 自定义cc规则配置开关,取值有:
3497
+ on:开启
3498
+ off:关闭
3475
3499
  注意:此字段可能返回 null,表示取不到有效值。
3476
3500
  */
3477
3501
  Switch?: string
@@ -3686,8 +3710,10 @@ disabled:未启用
3686
3710
  */
3687
3711
  export interface BotCookie {
3688
3712
  /**
3689
- * on|off
3690
- */
3713
+ * Bot cookie策略配置开关,取值有:
3714
+ on:开启
3715
+ off:关闭
3716
+ */
3691
3717
  Switch: string
3692
3718
 
3693
3719
  /**
@@ -3739,7 +3765,7 @@ export interface CreateScdnFailedLogTaskResponse {
3739
3765
  */
3740
3766
  export interface StatusCodeCache {
3741
3767
  /**
3742
- * 状态码缓存过期配置开关
3768
+ * 状态码缓存过期配置开关,取值有:
3743
3769
  on:开启
3744
3770
  off:关闭
3745
3771
  注意:此字段可能返回 null,表示取不到有效值。
@@ -3790,7 +3816,9 @@ index:首页
3790
3816
  FrequencyLimit?: number
3791
3817
 
3792
3818
  /**
3793
- * IP 惩罚开关,可选on|off
3819
+ * IP 惩罚配置开关,取值有:
3820
+ on:开启
3821
+ off:关闭
3794
3822
  注意:此字段可能返回 null,表示取不到有效值。
3795
3823
  */
3796
3824
  PunishmentSwitch?: string
@@ -4124,8 +4152,10 @@ export interface DescribeHttpsPackagesResponse {
4124
4152
  */
4125
4153
  export interface QnPrivateAccess {
4126
4154
  /**
4127
- * 开关 on/off
4128
- */
4155
+ * 七牛元对象存储回源鉴权配置开关,取值有:
4156
+ on:开启
4157
+ off:关闭
4158
+ */
4129
4159
  Switch: string
4130
4160
 
4131
4161
  /**
@@ -4182,8 +4212,10 @@ export interface DescribeCertDomainsResponse {
4182
4212
  */
4183
4213
  export interface ScdnBotConfig {
4184
4214
  /**
4185
- * on|off
4186
- */
4215
+ * Scdn bot配置开关,取值有:
4216
+ on:开启
4217
+ off:关闭
4218
+ */
4187
4219
  Switch: string
4188
4220
 
4189
4221
  /**
@@ -4340,7 +4372,7 @@ export interface DescribeCdnOriginIpResponse {
4340
4372
  */
4341
4373
  export interface RangeOriginPull {
4342
4374
  /**
4343
- * 分片回源配置开关
4375
+ * 分片回源配置开关,取值有:
4344
4376
  on:开启
4345
4377
  off:关闭
4346
4378
  */
@@ -4590,7 +4622,7 @@ export interface DescribeScdnIpStrategyRequest {
4590
4622
  */
4591
4623
  export interface IpFreqLimit {
4592
4624
  /**
4593
- * IP 限频配置开关
4625
+ * IP 限频配置开关,取值有:
4594
4626
  on:开启
4595
4627
  off:关闭
4596
4628
  */
@@ -4754,8 +4786,10 @@ export interface BotStatisticsCount {
4754
4786
  */
4755
4787
  export interface RangeOriginPullRule {
4756
4788
  /**
4757
- * 分片回源配置开关
4758
- */
4789
+ * 分片回源配置开关,取值有:
4790
+ on:开启
4791
+ off:关闭
4792
+ */
4759
4793
  Switch: string
4760
4794
 
4761
4795
  /**
@@ -4917,12 +4951,14 @@ PEM 格式,需要进行 Base 64 编码
4917
4951
 
4918
4952
  /**
4919
4953
  * ShareCname配置
4954
+ ShareCname 为内测功能,如需使用,请联系腾讯云工程师开白.
4920
4955
  */
4921
4956
  export interface ShareCname {
4922
4957
  /**
4923
- * ShareCname 配置开关, 开关为off时,域名使用默认CNAME,若需要使用共享CNAME,将开关置为on.
4958
+ * ShareCname 配置开关, 取值有:
4959
+ on:开启,使用共享CNAME
4960
+ off:关闭,使用默认CNAME
4924
4961
 
4925
- * ShareCname 为内测功能,如需使用,请联系腾讯云工程师开白.
4926
4962
  */
4927
4963
  Switch: string
4928
4964
 
@@ -4948,7 +4984,7 @@ export interface ListClsLogTopicsRequest {
4948
4984
  */
4949
4985
  export interface Seo {
4950
4986
  /**
4951
- * SEO 配置开关
4987
+ * SEO 搜索引擎优化配置开关,取值有:
4952
4988
  on:开启
4953
4989
  off:关闭
4954
4990
  注意:此字段可能返回 null,表示取不到有效值。
@@ -5677,8 +5713,10 @@ export interface UrlRecord {
5677
5713
  */
5678
5714
  export interface OthersPrivateAccess {
5679
5715
  /**
5680
- * 开关, on/off。
5681
- */
5716
+ * 其他厂商对象存储回源鉴权配置开关,取值有:
5717
+ on:开启
5718
+ off:关闭
5719
+ */
5682
5720
  Switch: string
5683
5721
 
5684
5722
  /**
@@ -6156,8 +6194,10 @@ export interface GuetzliAdapter {
6156
6194
  */
6157
6195
  export interface OriginCombine {
6158
6196
  /**
6159
- * on|off 是否开启合并回源
6160
- */
6197
+ * 合并回源配置开关,取值有:
6198
+ on:开启
6199
+ off:关闭
6200
+ */
6161
6201
  Switch: string
6162
6202
  }
6163
6203
 
@@ -6363,11 +6403,13 @@ export interface ListClsTopicDomainsResponse {
6363
6403
  }
6364
6404
 
6365
6405
  /**
6366
- * Ipv6启用配置,不可更改
6406
+ * Ipv6源站启用配置,不可更改
6367
6407
  */
6368
6408
  export interface Ipv6 {
6369
6409
  /**
6370
- * 域名是否开启ipv6功能,on或off。
6410
+ * 域名开启源站ipv6配置开关,取值有:
6411
+ on:开启
6412
+ off:关闭
6371
6413
  注意:此字段可能返回 null,表示取不到有效值。
6372
6414
  */
6373
6415
  Switch: string
@@ -6833,7 +6875,9 @@ export interface DisableClsLogTopicResponse {
6833
6875
  */
6834
6876
  export interface TpgAdapter {
6835
6877
  /**
6836
- * 开关,"on/off"
6878
+ * 图片优化-TpgAdapter配置开关,取值有:
6879
+ on:开启
6880
+ off:关闭
6837
6881
  注意:此字段可能返回 null,表示取不到有效值。
6838
6882
  */
6839
6883
  Switch?: string
@@ -7285,7 +7329,9 @@ export interface GetDisableRecordsResponse {
7285
7329
  */
7286
7330
  export interface Ipv6Access {
7287
7331
  /**
7288
- * 域名是否开启ipv6访问功能,on或off。
7332
+ * 域名开启ipv6访问配置开关,取值有:
7333
+ on:开启
7334
+ off:关闭
7289
7335
  注意:此字段可能返回 null,表示取不到有效值。
7290
7336
  */
7291
7337
  Switch: string
@@ -7633,7 +7679,9 @@ export interface StatisticItem {
7633
7679
  AlertPercentage?: number
7634
7680
 
7635
7681
  /**
7636
- * 提醒开关 on/off
7682
+ * 累计用量封顶告警配置,取值有:
7683
+ on:开启
7684
+ off:关闭
7637
7685
  注意:此字段可能返回 null,表示取不到有效值。
7638
7686
  */
7639
7687
  AlertSwitch?: string
@@ -7651,7 +7699,9 @@ export interface StatisticItem {
7651
7699
  Cycle?: number
7652
7700
 
7653
7701
  /**
7654
- * 是否开启该选项,on/off
7702
+ * 累计用量封顶配置开关,取值有:
7703
+ on:开启
7704
+ off:关闭
7655
7705
  注意:此字段可能返回 null,表示取不到有效值。
7656
7706
  */
7657
7707
  Switch?: string
@@ -7662,7 +7712,7 @@ export interface StatisticItem {
7662
7712
  */
7663
7713
  export interface RequestHeader {
7664
7714
  /**
7665
- * 自定义请求头配置开关
7715
+ * 自定义请求头配置开关,取值有:
7666
7716
  on:开启
7667
7717
  off:关闭
7668
7718
  */
@@ -8219,8 +8269,10 @@ export interface ScdnTopData {
8219
8269
  */
8220
8270
  export interface OssPrivateAccess {
8221
8271
  /**
8222
- * 开关, on/off。
8223
- */
8272
+ * oss回源鉴权配置开关,取值有:
8273
+ on:开启
8274
+ off:关闭
8275
+ */
8224
8276
  Switch: string
8225
8277
 
8226
8278
  /**
@@ -8273,7 +8325,7 @@ export interface ListScdnLogTasksResponse {
8273
8325
  */
8274
8326
  export interface UrlRedirect {
8275
8327
  /**
8276
- * 访问URL重写配置开关
8328
+ * 访问URL重写配置开关,取值有:
8277
8329
  on:开启
8278
8330
  off:关闭
8279
8331
  */
@@ -9088,8 +9140,10 @@ export interface ScdnAclGroup {
9088
9140
  */
9089
9141
  export interface WafSubRuleStatus {
9090
9142
  /**
9091
- * 子规则状态,on|off
9092
- */
9143
+ * Waf子规则开关状态配置开关,取值有:
9144
+ on:开启
9145
+ off:关闭
9146
+ */
9093
9147
  Switch: string
9094
9148
 
9095
9149
  /**
@@ -9103,8 +9157,10 @@ export interface WafSubRuleStatus {
9103
9157
  */
9104
9158
  export interface ScdnAclConfig {
9105
9159
  /**
9106
- * 是否开启,on | off
9107
- */
9160
+ * SCDN访问控制配置开关,取值有:
9161
+ on:开启
9162
+ off:关闭
9163
+ */
9108
9164
  Switch: string
9109
9165
 
9110
9166
  /**
@@ -9131,7 +9187,10 @@ export interface ScdnAclConfig {
9131
9187
  */
9132
9188
  export interface OriginAuthentication {
9133
9189
  /**
9134
- * 鉴权开关,on或off
9190
+ * 回源鉴权高级配置开关,取值有:
9191
+ on:开启
9192
+ off:关闭
9193
+
9135
9194
  注意:此字段可能返回 null,表示取不到有效值。
9136
9195
  */
9137
9196
  Switch: string
@@ -9190,7 +9249,9 @@ delete:刷新全部资源
9190
9249
  */
9191
9250
  export interface SchemeKey {
9192
9251
  /**
9193
- * on | off 是否使用scheme作为cache key的一部分
9252
+ * scheme作为cache key配置开关,取值有:
9253
+ on:开启
9254
+ off:关闭
9194
9255
  注意:此字段可能返回 null,表示取不到有效值。
9195
9256
  */
9196
9257
  Switch: string
@@ -9793,7 +9854,7 @@ export interface DescribeDistrictIspDataResponse {
9793
9854
  */
9794
9855
  export interface RuleEngine {
9795
9856
  /**
9796
- * 规则引擎配置开关
9857
+ * 规则引擎配置开关,取值有:
9797
9858
  on:开启
9798
9859
  off:关闭
9799
9860
  */
@@ -10027,7 +10088,9 @@ export interface ListTopDDoSDataResponse {
10027
10088
  */
10028
10089
  export interface WebpAdapter {
10029
10090
  /**
10030
- * 开关,"on/off"
10091
+ * 图片优化-WebpAdapter配置开关,取值有:
10092
+ on:开启
10093
+ off:关闭
10031
10094
  注意:此字段可能返回 null,表示取不到有效值。
10032
10095
  */
10033
10096
  Switch?: string
@@ -10035,12 +10098,14 @@ export interface WebpAdapter {
10035
10098
 
10036
10099
  /**
10037
10100
  * WebSocket配置
10101
+ WebSocket 为ECDN产品功能,如需使用请通过ECDN域名配置.
10038
10102
  */
10039
10103
  export interface WebSocket {
10040
10104
  /**
10041
- * WebSocket 超时配置开关, 开关为off时,平台仍支持WebSocket连接,此时超时时间默认为15秒,若需要调整超时时间,将开关置为on.
10105
+ * WebSocket 超时配置开关,取值有:
10106
+ on:开启,可以调整超时时间
10107
+ off:关闭,平台仍支持WebSocket连接,此时超时时间默认为15秒
10042
10108
 
10043
- * WebSocket 为ECDN产品功能,如需使用请通过ECDN域名配置.
10044
10109
  */
10045
10110
  Switch: string
10046
10111
 
@@ -10403,8 +10468,10 @@ export interface ListDiagnoseReportRequest {
10403
10468
  */
10404
10469
  export interface ScdnWafConfig {
10405
10470
  /**
10406
- * on|off
10407
- */
10471
+ * Scdn waf配置开关,取值有:
10472
+ on:开启
10473
+ off:关闭
10474
+ */
10408
10475
  Switch: string
10409
10476
 
10410
10477
  /**
@@ -10420,7 +10487,9 @@ export interface ScdnWafConfig {
10420
10487
  ErrorPage?: ScdnErrorPage
10421
10488
 
10422
10489
  /**
10423
- * webshell拦截开关,on|off,默认off
10490
+ * webshell拦截配置开关,取值有:
10491
+ on:开启
10492
+ off:关闭
10424
10493
  注意:此字段可能返回 null,表示取不到有效值。
10425
10494
  */
10426
10495
  WebShellSwitch?: string
@@ -10438,7 +10507,9 @@ export interface ScdnWafConfig {
10438
10507
  Level?: number
10439
10508
 
10440
10509
  /**
10441
- * waf子规则开关
10510
+ * waf子规则配置开关,取值有:
10511
+ on:开启
10512
+ off:关闭
10442
10513
  注意:此字段可能返回 null,表示取不到有效值。
10443
10514
  */
10444
10515
  SubRuleSwitch?: Array<WafSubRuleStatus>
@@ -10834,8 +10905,10 @@ ip表示查询BOT客户端IP的Top信息
10834
10905
  */
10835
10906
  export interface BotJavaScript {
10836
10907
  /**
10837
- * on|off
10838
- */
10908
+ * Bot js策略配置开关,取值有:
10909
+ on:开启
10910
+ off:关闭
10911
+ */
10839
10912
  Switch: string
10840
10913
 
10841
10914
  /**
@@ -10895,7 +10968,7 @@ day:天粒度
10895
10968
  */
10896
10969
  export interface ResponseHeaderCache {
10897
10970
  /**
10898
- * 源站头部缓存开关
10971
+ * 源站头部缓存配置开关,取值有:
10899
10972
  on:开启
10900
10973
  off:关闭
10901
10974
  */
@@ -10951,9 +11024,9 @@ RemoteAuthenticationRules和Server 互斥,只需要配置其中一个。
10951
11024
  */
10952
11025
  export interface RemoteAuthentication {
10953
11026
  /**
10954
- * 远程鉴权开关;
10955
- on : 开启;
10956
- off: 关闭;
11027
+ * 远程鉴权配置开关,取值有:
11028
+ on:开启
11029
+ off:关闭
10957
11030
  注意:此字段可能返回 null,表示取不到有效值。
10958
11031
  */
10959
11032
  Switch: string
@@ -11055,8 +11128,10 @@ path 时填充绝对路径,如 /xxx/test.html
11055
11128
  */
11056
11129
  export interface Quic {
11057
11130
  /**
11058
- * 是否启动Quic配置
11059
- */
11131
+ * Quic功能配置开关,取值有:
11132
+ on:开启
11133
+ off:关闭
11134
+ */
11060
11135
  Switch: string
11061
11136
  }
11062
11137
 
@@ -11349,8 +11424,10 @@ export interface DescribePurgeTasksResponse {
11349
11424
  */
11350
11425
  export interface ScdnDdosConfig {
11351
11426
  /**
11352
- * on|off
11353
- */
11427
+ * Scdn ddos配置开关,取值有:
11428
+ on:开启
11429
+ off:关闭
11430
+ */
11354
11431
  Switch: string
11355
11432
  }
11356
11433