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.
@@ -321,7 +321,9 @@ export interface HttpHeaderPathRule {
321
321
  */
322
322
  export interface UserAgentFilter {
323
323
  /**
324
- * 开关,on或off
324
+ * UserAgent黑白名单配置开关,取值有:
325
+ on:开启
326
+ off:关闭
325
327
  注意:此字段可能返回 null,表示取不到有效值。
326
328
  */
327
329
  Switch: string;
@@ -548,8 +550,10 @@ export interface ListScdnTopBotDataRequest {
548
550
  */
549
551
  export interface RedirectConfig {
550
552
  /**
551
- * 配置开关
552
- */
553
+ * 自定义回源302 follow请求host配置开关,取值有:
554
+ on:开启
555
+ off:关闭
556
+ */
553
557
  Switch: string;
554
558
  /**
555
559
  * 主源站follow302请求时带的自定义的host头部
@@ -596,6 +600,7 @@ export interface Origin {
596
600
  domain:域名类型
597
601
  domainv6:域名解析V6类型
598
602
  cos:对象存储源站
603
+ third_party: 第三方存储源站
599
604
  ip:IP 列表作为源站
600
605
  ipv6:源站列表为一个单独的 IPv6 地址
601
606
  ip_ipv6:源站列表为多个 IPv4 地址和IPv6 地址
@@ -683,7 +688,12 @@ export interface Origin {
683
688
  */
684
689
  AdvanceHttps?: AdvanceHttps;
685
690
  /**
686
- * 对象存储回源厂商
691
+ * 对象存储回源厂商,当源站类型为第三方存储源站(third_party)时必填,可选值包括以下:
692
+ aws_s3: AWS S3
693
+ ali_oss: 阿里云 OSS
694
+ hw_obs: 华为 OBS
695
+ qiniu_kodo: 七牛云 kodo
696
+ others: 其它厂商对象存储,仅支持兼容以AWS签名算法的对象存储,如腾讯云金融专区COS
687
697
  注意:此字段可能返回 null,表示取不到有效值。
688
698
  */
689
699
  OriginCompany?: string;
@@ -1689,7 +1699,7 @@ export interface StartScdnDomainResponse {
1689
1699
  */
1690
1700
  export interface ResponseHeader {
1691
1701
  /**
1692
- * 自定义响应头开关
1702
+ * 自定义响应头配置开关,取值有:
1693
1703
  on:开启
1694
1704
  off:关闭
1695
1705
  */
@@ -1883,7 +1893,7 @@ export interface DDoSAttackBandwidthData {
1883
1893
  */
1884
1894
  export interface OriginPullOptimization {
1885
1895
  /**
1886
- * 跨国回源优化配置开关
1896
+ * 跨国回源优化配置开关,取值有:
1887
1897
  on:开启
1888
1898
  off:关闭
1889
1899
  */
@@ -1942,8 +1952,10 @@ export interface PushTask {
1942
1952
  */
1943
1953
  export interface SecurityConfig {
1944
1954
  /**
1945
- * on|off
1946
- */
1955
+ * scdn 安全配置开关,取值有:
1956
+ on:开启
1957
+ off:关闭
1958
+ */
1947
1959
  Switch: string;
1948
1960
  }
1949
1961
  /**
@@ -1951,7 +1963,9 @@ export interface SecurityConfig {
1951
1963
  */
1952
1964
  export interface QueryStringKey {
1953
1965
  /**
1954
- * on | off CacheKey是否由QueryString组成
1966
+ * CacheKey是否由QueryString组成配置开关,取值有:
1967
+ on:开启
1968
+ off:关闭
1955
1969
  注意:此字段可能返回 null,表示取不到有效值。
1956
1970
  */
1957
1971
  Switch: string;
@@ -1961,7 +1975,11 @@ export interface QueryStringKey {
1961
1975
  */
1962
1976
  Reorder?: string;
1963
1977
  /**
1964
- * includeAll | excludeAll | includeCustom | excludeCustom 使用/排除部分url参数
1978
+ * 使用/排除部分url参数,取值有:
1979
+ includeAll:包含所有
1980
+ excludeAll:排除所有
1981
+ includeCustom:自定义包含
1982
+ excludeCustom:自定义排除
1965
1983
  注意:此字段可能返回 null,表示取不到有效值。
1966
1984
  */
1967
1985
  Action?: string;
@@ -1976,7 +1994,7 @@ export interface QueryStringKey {
1976
1994
  */
1977
1995
  export interface MaxAge {
1978
1996
  /**
1979
- * 浏览器缓存配置开关
1997
+ * 浏览器缓存配置开关,取值有:
1980
1998
  on:开启
1981
1999
  off:关闭
1982
2000
  注意:此字段可能返回 null,表示取不到有效值。
@@ -2092,7 +2110,7 @@ export interface AwsPrivateAccess {
2092
2110
  */
2093
2111
  export interface VideoSeek {
2094
2112
  /**
2095
- * 视频拖拽开关
2113
+ * 视频拖拽配置开关,取值有:
2096
2114
  on:开启
2097
2115
  off:关闭
2098
2116
  */
@@ -2164,8 +2182,10 @@ export interface DescribeScdnBotDataRequest {
2164
2182
  */
2165
2183
  export interface ScdnConfig {
2166
2184
  /**
2167
- * on | off
2168
- */
2185
+ * scdn cc配置开关,取值有:
2186
+ on:开启
2187
+ off:关闭
2188
+ */
2169
2189
  Switch: string;
2170
2190
  /**
2171
2191
  * 自定义 cc 防护规则
@@ -2239,8 +2259,10 @@ export interface ExtraLogset {
2239
2259
  */
2240
2260
  export interface OfflineCache {
2241
2261
  /**
2242
- * on | off, 离线缓存是否开启
2243
- */
2262
+ * 离线缓存配置开关,取值有:
2263
+ on:开启
2264
+ off:关闭
2265
+ */
2244
2266
  Switch: string;
2245
2267
  }
2246
2268
  /**
@@ -2666,7 +2688,7 @@ export interface ModifyPurgeFetchTaskStatusRequest {
2666
2688
  */
2667
2689
  export interface Referer {
2668
2690
  /**
2669
- * referer 黑白名单配置开关
2691
+ * referer 黑白名单配置开关,取值有:
2670
2692
  on:开启
2671
2693
  off:关闭
2672
2694
  */
@@ -2980,7 +3002,9 @@ export interface AdvancedCCRules {
2980
3002
  */
2981
3003
  Configure?: Array<ScdnSevenLayerRules>;
2982
3004
  /**
2983
- * 是否开启改规则 on 开启,off关闭
3005
+ * 自定义cc规则配置开关,取值有:
3006
+ on:开启
3007
+ off:关闭
2984
3008
  注意:此字段可能返回 null,表示取不到有效值。
2985
3009
  */
2986
3010
  Switch?: string;
@@ -3164,8 +3188,10 @@ export interface TrafficPackage {
3164
3188
  */
3165
3189
  export interface BotCookie {
3166
3190
  /**
3167
- * on|off
3168
- */
3191
+ * Bot cookie策略配置开关,取值有:
3192
+ on:开启
3193
+ off:关闭
3194
+ */
3169
3195
  Switch: string;
3170
3196
  /**
3171
3197
  * 规则类型,当前只有all
@@ -3209,7 +3235,7 @@ export interface CreateScdnFailedLogTaskResponse {
3209
3235
  */
3210
3236
  export interface StatusCodeCache {
3211
3237
  /**
3212
- * 状态码缓存过期配置开关
3238
+ * 状态码缓存过期配置开关,取值有:
3213
3239
  on:开启
3214
3240
  off:关闭
3215
3241
  注意:此字段可能返回 null,表示取不到有效值。
@@ -3253,7 +3279,9 @@ export interface ScdnCCRules {
3253
3279
  */
3254
3280
  FrequencyLimit?: number;
3255
3281
  /**
3256
- * IP 惩罚开关,可选on|off
3282
+ * IP 惩罚配置开关,取值有:
3283
+ on:开启
3284
+ off:关闭
3257
3285
  注意:此字段可能返回 null,表示取不到有效值。
3258
3286
  */
3259
3287
  PunishmentSwitch?: string;
@@ -3531,8 +3559,10 @@ export interface DescribeHttpsPackagesResponse {
3531
3559
  */
3532
3560
  export interface QnPrivateAccess {
3533
3561
  /**
3534
- * 开关 on/off
3535
- */
3562
+ * 七牛元对象存储回源鉴权配置开关,取值有:
3563
+ on:开启
3564
+ off:关闭
3565
+ */
3536
3566
  Switch: string;
3537
3567
  /**
3538
3568
  * 访问 ID
@@ -3581,8 +3611,10 @@ export interface DescribeCertDomainsResponse {
3581
3611
  */
3582
3612
  export interface ScdnBotConfig {
3583
3613
  /**
3584
- * on|off
3585
- */
3614
+ * Scdn bot配置开关,取值有:
3615
+ on:开启
3616
+ off:关闭
3617
+ */
3586
3618
  Switch: string;
3587
3619
  /**
3588
3620
  * Bot cookie策略
@@ -3718,7 +3750,7 @@ export interface DescribeCdnOriginIpResponse {
3718
3750
  */
3719
3751
  export interface RangeOriginPull {
3720
3752
  /**
3721
- * 分片回源配置开关
3753
+ * 分片回源配置开关,取值有:
3722
3754
  on:开启
3723
3755
  off:关闭
3724
3756
  */
@@ -3934,7 +3966,7 @@ export interface DescribeScdnIpStrategyRequest {
3934
3966
  */
3935
3967
  export interface IpFreqLimit {
3936
3968
  /**
3937
- * IP 限频配置开关
3969
+ * IP 限频配置开关,取值有:
3938
3970
  on:开启
3939
3971
  off:关闭
3940
3972
  */
@@ -4076,8 +4108,10 @@ export interface BotStatisticsCount {
4076
4108
  */
4077
4109
  export interface RangeOriginPullRule {
4078
4110
  /**
4079
- * 分片回源配置开关
4080
- */
4111
+ * 分片回源配置开关,取值有:
4112
+ on:开启
4113
+ off:关闭
4114
+ */
4081
4115
  Switch: string;
4082
4116
  /**
4083
4117
  * 规则类型:
@@ -4217,12 +4251,14 @@ export interface ClientCert {
4217
4251
  }
4218
4252
  /**
4219
4253
  * ShareCname配置
4254
+ ShareCname 为内测功能,如需使用,请联系腾讯云工程师开白.
4220
4255
  */
4221
4256
  export interface ShareCname {
4222
4257
  /**
4223
- * ShareCname 配置开关, 开关为off时,域名使用默认CNAME,若需要使用共享CNAME,将开关置为on.
4258
+ * ShareCname 配置开关, 取值有:
4259
+ on:开启,使用共享CNAME
4260
+ off:关闭,使用默认CNAME
4224
4261
 
4225
- * ShareCname 为内测功能,如需使用,请联系腾讯云工程师开白.
4226
4262
  */
4227
4263
  Switch: string;
4228
4264
  /**
@@ -4245,7 +4281,7 @@ export interface ListClsLogTopicsRequest {
4245
4281
  */
4246
4282
  export interface Seo {
4247
4283
  /**
4248
- * SEO 配置开关
4284
+ * SEO 搜索引擎优化配置开关,取值有:
4249
4285
  on:开启
4250
4286
  off:关闭
4251
4287
  注意:此字段可能返回 null,表示取不到有效值。
@@ -4875,8 +4911,10 @@ export interface UrlRecord {
4875
4911
  */
4876
4912
  export interface OthersPrivateAccess {
4877
4913
  /**
4878
- * 开关, on/off。
4879
- */
4914
+ * 其他厂商对象存储回源鉴权配置开关,取值有:
4915
+ on:开启
4916
+ off:关闭
4917
+ */
4880
4918
  Switch: string;
4881
4919
  /**
4882
4920
  * 访问ID。
@@ -5294,8 +5332,10 @@ export interface GuetzliAdapter {
5294
5332
  */
5295
5333
  export interface OriginCombine {
5296
5334
  /**
5297
- * on|off 是否开启合并回源
5298
- */
5335
+ * 合并回源配置开关,取值有:
5336
+ on:开启
5337
+ off:关闭
5338
+ */
5299
5339
  Switch: string;
5300
5340
  }
5301
5341
  /**
@@ -5469,11 +5509,13 @@ export interface ListClsTopicDomainsResponse {
5469
5509
  RequestId?: string;
5470
5510
  }
5471
5511
  /**
5472
- * Ipv6启用配置,不可更改
5512
+ * Ipv6源站启用配置,不可更改
5473
5513
  */
5474
5514
  export interface Ipv6 {
5475
5515
  /**
5476
- * 域名是否开启ipv6功能,on或off。
5516
+ * 域名开启源站ipv6配置开关,取值有:
5517
+ on:开启
5518
+ off:关闭
5477
5519
  注意:此字段可能返回 null,表示取不到有效值。
5478
5520
  */
5479
5521
  Switch: string;
@@ -5874,7 +5916,9 @@ export interface DisableClsLogTopicResponse {
5874
5916
  */
5875
5917
  export interface TpgAdapter {
5876
5918
  /**
5877
- * 开关,"on/off"
5919
+ * 图片优化-TpgAdapter配置开关,取值有:
5920
+ on:开启
5921
+ off:关闭
5878
5922
  注意:此字段可能返回 null,表示取不到有效值。
5879
5923
  */
5880
5924
  Switch?: string;
@@ -6256,7 +6300,9 @@ export interface GetDisableRecordsResponse {
6256
6300
  */
6257
6301
  export interface Ipv6Access {
6258
6302
  /**
6259
- * 域名是否开启ipv6访问功能,on或off。
6303
+ * 域名开启ipv6访问配置开关,取值有:
6304
+ on:开启
6305
+ off:关闭
6260
6306
  注意:此字段可能返回 null,表示取不到有效值。
6261
6307
  */
6262
6308
  Switch: string;
@@ -6551,7 +6597,9 @@ export interface StatisticItem {
6551
6597
  */
6552
6598
  AlertPercentage?: number;
6553
6599
  /**
6554
- * 提醒开关 on/off
6600
+ * 累计用量封顶告警配置,取值有:
6601
+ on:开启
6602
+ off:关闭
6555
6603
  注意:此字段可能返回 null,表示取不到有效值。
6556
6604
  */
6557
6605
  AlertSwitch?: string;
@@ -6566,7 +6614,9 @@ export interface StatisticItem {
6566
6614
  */
6567
6615
  Cycle?: number;
6568
6616
  /**
6569
- * 是否开启该选项,on/off
6617
+ * 累计用量封顶配置开关,取值有:
6618
+ on:开启
6619
+ off:关闭
6570
6620
  注意:此字段可能返回 null,表示取不到有效值。
6571
6621
  */
6572
6622
  Switch?: string;
@@ -6576,7 +6626,7 @@ export interface StatisticItem {
6576
6626
  */
6577
6627
  export interface RequestHeader {
6578
6628
  /**
6579
- * 自定义请求头配置开关
6629
+ * 自定义请求头配置开关,取值有:
6580
6630
  on:开启
6581
6631
  off:关闭
6582
6632
  */
@@ -7084,8 +7134,10 @@ export interface ScdnTopData {
7084
7134
  */
7085
7135
  export interface OssPrivateAccess {
7086
7136
  /**
7087
- * 开关, on/off。
7088
- */
7137
+ * oss回源鉴权配置开关,取值有:
7138
+ on:开启
7139
+ off:关闭
7140
+ */
7089
7141
  Switch: string;
7090
7142
  /**
7091
7143
  * 访问ID。
@@ -7130,7 +7182,7 @@ export interface ListScdnLogTasksResponse {
7130
7182
  */
7131
7183
  export interface UrlRedirect {
7132
7184
  /**
7133
- * 访问URL重写配置开关
7185
+ * 访问URL重写配置开关,取值有:
7134
7186
  on:开启
7135
7187
  off:关闭
7136
7188
  */
@@ -7817,8 +7869,10 @@ export interface ScdnAclGroup {
7817
7869
  */
7818
7870
  export interface WafSubRuleStatus {
7819
7871
  /**
7820
- * 子规则状态,on|off
7821
- */
7872
+ * Waf子规则开关状态配置开关,取值有:
7873
+ on:开启
7874
+ off:关闭
7875
+ */
7822
7876
  Switch: string;
7823
7877
  /**
7824
7878
  * 规则id列表
@@ -7830,8 +7884,10 @@ export interface WafSubRuleStatus {
7830
7884
  */
7831
7885
  export interface ScdnAclConfig {
7832
7886
  /**
7833
- * 是否开启,on | off
7834
- */
7887
+ * SCDN访问控制配置开关,取值有:
7888
+ on:开启
7889
+ off:关闭
7890
+ */
7835
7891
  Switch: string;
7836
7892
  /**
7837
7893
  * 新版本请使用AdvancedScriptData
@@ -7854,7 +7910,10 @@ export interface ScdnAclConfig {
7854
7910
  */
7855
7911
  export interface OriginAuthentication {
7856
7912
  /**
7857
- * 鉴权开关,on或off
7913
+ * 回源鉴权高级配置开关,取值有:
7914
+ on:开启
7915
+ off:关闭
7916
+
7858
7917
  注意:此字段可能返回 null,表示取不到有效值。
7859
7918
  */
7860
7919
  Switch: string;
@@ -7905,7 +7964,9 @@ export interface PurgeTask {
7905
7964
  */
7906
7965
  export interface SchemeKey {
7907
7966
  /**
7908
- * on | off 是否使用scheme作为cache key的一部分
7967
+ * scheme作为cache key配置开关,取值有:
7968
+ on:开启
7969
+ off:关闭
7909
7970
  注意:此字段可能返回 null,表示取不到有效值。
7910
7971
  */
7911
7972
  Switch: string;
@@ -8431,7 +8492,7 @@ export interface DescribeDistrictIspDataResponse {
8431
8492
  */
8432
8493
  export interface RuleEngine {
8433
8494
  /**
8434
- * 规则引擎配置开关
8495
+ * 规则引擎配置开关,取值有:
8435
8496
  on:开启
8436
8497
  off:关闭
8437
8498
  */
@@ -8635,19 +8696,23 @@ export interface ListTopDDoSDataResponse {
8635
8696
  */
8636
8697
  export interface WebpAdapter {
8637
8698
  /**
8638
- * 开关,"on/off"
8699
+ * 图片优化-WebpAdapter配置开关,取值有:
8700
+ on:开启
8701
+ off:关闭
8639
8702
  注意:此字段可能返回 null,表示取不到有效值。
8640
8703
  */
8641
8704
  Switch?: string;
8642
8705
  }
8643
8706
  /**
8644
8707
  * WebSocket配置
8708
+ WebSocket 为ECDN产品功能,如需使用请通过ECDN域名配置.
8645
8709
  */
8646
8710
  export interface WebSocket {
8647
8711
  /**
8648
- * WebSocket 超时配置开关, 开关为off时,平台仍支持WebSocket连接,此时超时时间默认为15秒,若需要调整超时时间,将开关置为on.
8712
+ * WebSocket 超时配置开关,取值有:
8713
+ on:开启,可以调整超时时间
8714
+ off:关闭,平台仍支持WebSocket连接,此时超时时间默认为15秒
8649
8715
 
8650
- * WebSocket 为ECDN产品功能,如需使用请通过ECDN域名配置.
8651
8716
  */
8652
8717
  Switch: string;
8653
8718
  /**
@@ -8960,8 +9025,10 @@ export interface ListDiagnoseReportRequest {
8960
9025
  */
8961
9026
  export interface ScdnWafConfig {
8962
9027
  /**
8963
- * on|off
8964
- */
9028
+ * Scdn waf配置开关,取值有:
9029
+ on:开启
9030
+ off:关闭
9031
+ */
8965
9032
  Switch: string;
8966
9033
  /**
8967
9034
  * intercept|observe,默认intercept
@@ -8974,7 +9041,9 @@ export interface ScdnWafConfig {
8974
9041
  */
8975
9042
  ErrorPage?: ScdnErrorPage;
8976
9043
  /**
8977
- * webshell拦截开关,on|off,默认off
9044
+ * webshell拦截配置开关,取值有:
9045
+ on:开启
9046
+ off:关闭
8978
9047
  注意:此字段可能返回 null,表示取不到有效值。
8979
9048
  */
8980
9049
  WebShellSwitch?: string;
@@ -8989,7 +9058,9 @@ export interface ScdnWafConfig {
8989
9058
  */
8990
9059
  Level?: number;
8991
9060
  /**
8992
- * waf子规则开关
9061
+ * waf子规则配置开关,取值有:
9062
+ on:开启
9063
+ off:关闭
8993
9064
  注意:此字段可能返回 null,表示取不到有效值。
8994
9065
  */
8995
9066
  SubRuleSwitch?: Array<WafSubRuleStatus>;
@@ -9335,8 +9406,10 @@ export interface ListTopBotDataRequest {
9335
9406
  */
9336
9407
  export interface BotJavaScript {
9337
9408
  /**
9338
- * on|off
9339
- */
9409
+ * Bot js策略配置开关,取值有:
9410
+ on:开启
9411
+ off:关闭
9412
+ */
9340
9413
  Switch: string;
9341
9414
  /**
9342
9415
  * 规则类型,当前只有file
@@ -9387,7 +9460,7 @@ export interface DescribeBillingDataResponse {
9387
9460
  */
9388
9461
  export interface ResponseHeaderCache {
9389
9462
  /**
9390
- * 源站头部缓存开关
9463
+ * 源站头部缓存配置开关,取值有:
9391
9464
  on:开启
9392
9465
  off:关闭
9393
9466
  */
@@ -9436,9 +9509,9 @@ RemoteAuthenticationRules和Server 互斥,只需要配置其中一个。
9436
9509
  */
9437
9510
  export interface RemoteAuthentication {
9438
9511
  /**
9439
- * 远程鉴权开关;
9440
- on : 开启;
9441
- off: 关闭;
9512
+ * 远程鉴权配置开关,取值有:
9513
+ on:开启
9514
+ off:关闭
9442
9515
  注意:此字段可能返回 null,表示取不到有效值。
9443
9516
  */
9444
9517
  Switch: string;
@@ -9528,8 +9601,10 @@ export interface CappingRule {
9528
9601
  */
9529
9602
  export interface Quic {
9530
9603
  /**
9531
- * 是否启动Quic配置
9532
- */
9604
+ * Quic功能配置开关,取值有:
9605
+ on:开启
9606
+ off:关闭
9607
+ */
9533
9608
  Switch: string;
9534
9609
  }
9535
9610
  /**
@@ -9783,8 +9858,10 @@ export interface DescribePurgeTasksResponse {
9783
9858
  */
9784
9859
  export interface ScdnDdosConfig {
9785
9860
  /**
9786
- * on|off
9787
- */
9861
+ * Scdn ddos配置开关,取值有:
9862
+ on:开启
9863
+ off:关闭
9864
+ */
9788
9865
  Switch: string;
9789
9866
  }
9790
9867
  /**