tencentcloud-sdk-nodejs-cdn 4.0.598 → 4.0.600
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 +418 -0
- package/SERVICE_CHANGELOG.md +444 -62
- package/package.json +1 -1
- package/products.md +30 -30
- package/src/services/cdn/v20180606/cdn_models.ts +77 -31
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +77 -31
|
@@ -321,7 +321,9 @@ export interface HttpHeaderPathRule {
|
|
|
321
321
|
*/
|
|
322
322
|
export interface UserAgentFilter {
|
|
323
323
|
/**
|
|
324
|
-
*
|
|
324
|
+
* UserAgent黑白名单配置开关,取值有:
|
|
325
|
+
on:开启
|
|
326
|
+
off:关闭
|
|
325
327
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
326
328
|
*/
|
|
327
329
|
Switch: string;
|
|
@@ -596,6 +598,7 @@ export interface Origin {
|
|
|
596
598
|
domain:域名类型
|
|
597
599
|
domainv6:域名解析V6类型
|
|
598
600
|
cos:对象存储源站
|
|
601
|
+
third_party: 第三方存储源站
|
|
599
602
|
ip:IP 列表作为源站
|
|
600
603
|
ipv6:源站列表为一个单独的 IPv6 地址
|
|
601
604
|
ip_ipv6:源站列表为多个 IPv4 地址和IPv6 地址
|
|
@@ -683,7 +686,12 @@ export interface Origin {
|
|
|
683
686
|
*/
|
|
684
687
|
AdvanceHttps?: AdvanceHttps;
|
|
685
688
|
/**
|
|
686
|
-
*
|
|
689
|
+
* 对象存储回源厂商,当源站类型为第三方存储源站(third_party)时必填,可选值包括以下:
|
|
690
|
+
aws_s3: AWS S3
|
|
691
|
+
ali_oss: 阿里云 OSS
|
|
692
|
+
hw_obs: 华为 OBS
|
|
693
|
+
qiniu_kodo: 七牛云 kodo
|
|
694
|
+
others: 其它厂商对象存储,仅支持兼容以AWS签名算法的对象存储,如腾讯云金融专区COS
|
|
687
695
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
688
696
|
*/
|
|
689
697
|
OriginCompany?: string;
|
|
@@ -1942,8 +1950,10 @@ export interface PushTask {
|
|
|
1942
1950
|
*/
|
|
1943
1951
|
export interface SecurityConfig {
|
|
1944
1952
|
/**
|
|
1945
|
-
|
|
1946
|
-
|
|
1953
|
+
* scdn 安全配置开关,取值有:
|
|
1954
|
+
on:开启
|
|
1955
|
+
off:关闭
|
|
1956
|
+
*/
|
|
1947
1957
|
Switch: string;
|
|
1948
1958
|
}
|
|
1949
1959
|
/**
|
|
@@ -1951,7 +1961,9 @@ export interface SecurityConfig {
|
|
|
1951
1961
|
*/
|
|
1952
1962
|
export interface QueryStringKey {
|
|
1953
1963
|
/**
|
|
1954
|
-
*
|
|
1964
|
+
* CacheKey是否由QueryString组成配置开关,取值有:
|
|
1965
|
+
on:开启
|
|
1966
|
+
off:关闭
|
|
1955
1967
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1956
1968
|
*/
|
|
1957
1969
|
Switch: string;
|
|
@@ -1961,7 +1973,11 @@ export interface QueryStringKey {
|
|
|
1961
1973
|
*/
|
|
1962
1974
|
Reorder?: string;
|
|
1963
1975
|
/**
|
|
1964
|
-
*
|
|
1976
|
+
* 使用/排除部分url参数,取值有:
|
|
1977
|
+
includeAll:包含所有
|
|
1978
|
+
excludeAll:排除所有
|
|
1979
|
+
includeCustom:自定义包含
|
|
1980
|
+
excludeCustom:自定义排除
|
|
1965
1981
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1966
1982
|
*/
|
|
1967
1983
|
Action?: string;
|
|
@@ -2092,7 +2108,7 @@ export interface AwsPrivateAccess {
|
|
|
2092
2108
|
*/
|
|
2093
2109
|
export interface VideoSeek {
|
|
2094
2110
|
/**
|
|
2095
|
-
*
|
|
2111
|
+
* 视频拖拽配置开关,取值有:
|
|
2096
2112
|
on:开启
|
|
2097
2113
|
off:关闭
|
|
2098
2114
|
*/
|
|
@@ -2164,8 +2180,10 @@ export interface DescribeScdnBotDataRequest {
|
|
|
2164
2180
|
*/
|
|
2165
2181
|
export interface ScdnConfig {
|
|
2166
2182
|
/**
|
|
2167
|
-
|
|
2168
|
-
|
|
2183
|
+
* scdn cc配置开关,取值有:
|
|
2184
|
+
on:开启
|
|
2185
|
+
off:关闭
|
|
2186
|
+
*/
|
|
2169
2187
|
Switch: string;
|
|
2170
2188
|
/**
|
|
2171
2189
|
* 自定义 cc 防护规则
|
|
@@ -2980,7 +2998,9 @@ export interface AdvancedCCRules {
|
|
|
2980
2998
|
*/
|
|
2981
2999
|
Configure?: Array<ScdnSevenLayerRules>;
|
|
2982
3000
|
/**
|
|
2983
|
-
*
|
|
3001
|
+
* 自定义cc规则配置开关,取值有:
|
|
3002
|
+
on:开启
|
|
3003
|
+
off:关闭
|
|
2984
3004
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2985
3005
|
*/
|
|
2986
3006
|
Switch?: string;
|
|
@@ -3209,7 +3229,7 @@ export interface CreateScdnFailedLogTaskResponse {
|
|
|
3209
3229
|
*/
|
|
3210
3230
|
export interface StatusCodeCache {
|
|
3211
3231
|
/**
|
|
3212
|
-
*
|
|
3232
|
+
* 状态码缓存过期配置开关,取值有:
|
|
3213
3233
|
on:开启
|
|
3214
3234
|
off:关闭
|
|
3215
3235
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -3253,7 +3273,9 @@ export interface ScdnCCRules {
|
|
|
3253
3273
|
*/
|
|
3254
3274
|
FrequencyLimit?: number;
|
|
3255
3275
|
/**
|
|
3256
|
-
* IP
|
|
3276
|
+
* IP 惩罚配置开关,取值有:
|
|
3277
|
+
on:开启
|
|
3278
|
+
off:关闭
|
|
3257
3279
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3258
3280
|
*/
|
|
3259
3281
|
PunishmentSwitch?: string;
|
|
@@ -4217,12 +4239,14 @@ export interface ClientCert {
|
|
|
4217
4239
|
}
|
|
4218
4240
|
/**
|
|
4219
4241
|
* ShareCname配置
|
|
4242
|
+
ShareCname 为内测功能,如需使用,请联系腾讯云工程师开白.
|
|
4220
4243
|
*/
|
|
4221
4244
|
export interface ShareCname {
|
|
4222
4245
|
/**
|
|
4223
|
-
* ShareCname 配置开关,
|
|
4246
|
+
* ShareCname 配置开关, 取值有:
|
|
4247
|
+
on:开启,使用共享CNAME
|
|
4248
|
+
off:关闭,使用默认CNAME
|
|
4224
4249
|
|
|
4225
|
-
* ShareCname 为内测功能,如需使用,请联系腾讯云工程师开白.
|
|
4226
4250
|
*/
|
|
4227
4251
|
Switch: string;
|
|
4228
4252
|
/**
|
|
@@ -4245,7 +4269,7 @@ export interface ListClsLogTopicsRequest {
|
|
|
4245
4269
|
*/
|
|
4246
4270
|
export interface Seo {
|
|
4247
4271
|
/**
|
|
4248
|
-
* SEO
|
|
4272
|
+
* SEO 搜索引擎优化配置开关,取值有:
|
|
4249
4273
|
on:开启
|
|
4250
4274
|
off:关闭
|
|
4251
4275
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -5874,7 +5898,9 @@ export interface DisableClsLogTopicResponse {
|
|
|
5874
5898
|
*/
|
|
5875
5899
|
export interface TpgAdapter {
|
|
5876
5900
|
/**
|
|
5877
|
-
*
|
|
5901
|
+
* 图片优化-TpgAdapter配置开关,取值有:
|
|
5902
|
+
on:开启
|
|
5903
|
+
off:关闭
|
|
5878
5904
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5879
5905
|
*/
|
|
5880
5906
|
Switch?: string;
|
|
@@ -6551,7 +6577,9 @@ export interface StatisticItem {
|
|
|
6551
6577
|
*/
|
|
6552
6578
|
AlertPercentage?: number;
|
|
6553
6579
|
/**
|
|
6554
|
-
*
|
|
6580
|
+
* 累计用量封顶告警配置,取值有:
|
|
6581
|
+
on:开启
|
|
6582
|
+
off:关闭
|
|
6555
6583
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6556
6584
|
*/
|
|
6557
6585
|
AlertSwitch?: string;
|
|
@@ -6566,7 +6594,9 @@ export interface StatisticItem {
|
|
|
6566
6594
|
*/
|
|
6567
6595
|
Cycle?: number;
|
|
6568
6596
|
/**
|
|
6569
|
-
*
|
|
6597
|
+
* 累计用量封顶配置开关,取值有:
|
|
6598
|
+
on:开启
|
|
6599
|
+
off:关闭
|
|
6570
6600
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6571
6601
|
*/
|
|
6572
6602
|
Switch?: string;
|
|
@@ -7130,7 +7160,7 @@ export interface ListScdnLogTasksResponse {
|
|
|
7130
7160
|
*/
|
|
7131
7161
|
export interface UrlRedirect {
|
|
7132
7162
|
/**
|
|
7133
|
-
* 访问URL
|
|
7163
|
+
* 访问URL重写配置开关,取值有:
|
|
7134
7164
|
on:开启
|
|
7135
7165
|
off:关闭
|
|
7136
7166
|
*/
|
|
@@ -7817,8 +7847,10 @@ export interface ScdnAclGroup {
|
|
|
7817
7847
|
*/
|
|
7818
7848
|
export interface WafSubRuleStatus {
|
|
7819
7849
|
/**
|
|
7820
|
-
|
|
7821
|
-
|
|
7850
|
+
* Waf子规则开关状态配置开关,取值有:
|
|
7851
|
+
on:开启
|
|
7852
|
+
off:关闭
|
|
7853
|
+
*/
|
|
7822
7854
|
Switch: string;
|
|
7823
7855
|
/**
|
|
7824
7856
|
* 规则id列表
|
|
@@ -7905,7 +7937,9 @@ export interface PurgeTask {
|
|
|
7905
7937
|
*/
|
|
7906
7938
|
export interface SchemeKey {
|
|
7907
7939
|
/**
|
|
7908
|
-
*
|
|
7940
|
+
* scheme作为cache key配置开关,取值有:
|
|
7941
|
+
on:开启
|
|
7942
|
+
off:关闭
|
|
7909
7943
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7910
7944
|
*/
|
|
7911
7945
|
Switch: string;
|
|
@@ -8635,19 +8669,23 @@ export interface ListTopDDoSDataResponse {
|
|
|
8635
8669
|
*/
|
|
8636
8670
|
export interface WebpAdapter {
|
|
8637
8671
|
/**
|
|
8638
|
-
*
|
|
8672
|
+
* 图片优化-WebpAdapter配置开关,取值有:
|
|
8673
|
+
on:开启
|
|
8674
|
+
off:关闭
|
|
8639
8675
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8640
8676
|
*/
|
|
8641
8677
|
Switch?: string;
|
|
8642
8678
|
}
|
|
8643
8679
|
/**
|
|
8644
8680
|
* WebSocket配置
|
|
8681
|
+
WebSocket 为ECDN产品功能,如需使用请通过ECDN域名配置.
|
|
8645
8682
|
*/
|
|
8646
8683
|
export interface WebSocket {
|
|
8647
8684
|
/**
|
|
8648
|
-
* WebSocket
|
|
8685
|
+
* WebSocket 超时配置开关,取值有:
|
|
8686
|
+
on:开启,可以调整超时时间
|
|
8687
|
+
off:关闭,平台仍支持WebSocket连接,此时超时时间默认为15秒
|
|
8649
8688
|
|
|
8650
|
-
* WebSocket 为ECDN产品功能,如需使用请通过ECDN域名配置.
|
|
8651
8689
|
*/
|
|
8652
8690
|
Switch: string;
|
|
8653
8691
|
/**
|
|
@@ -8960,8 +8998,10 @@ export interface ListDiagnoseReportRequest {
|
|
|
8960
8998
|
*/
|
|
8961
8999
|
export interface ScdnWafConfig {
|
|
8962
9000
|
/**
|
|
8963
|
-
|
|
8964
|
-
|
|
9001
|
+
* Scdn waf配置开关,取值有:
|
|
9002
|
+
on:开启
|
|
9003
|
+
off:关闭
|
|
9004
|
+
*/
|
|
8965
9005
|
Switch: string;
|
|
8966
9006
|
/**
|
|
8967
9007
|
* intercept|observe,默认intercept
|
|
@@ -8974,7 +9014,9 @@ export interface ScdnWafConfig {
|
|
|
8974
9014
|
*/
|
|
8975
9015
|
ErrorPage?: ScdnErrorPage;
|
|
8976
9016
|
/**
|
|
8977
|
-
* webshell
|
|
9017
|
+
* webshell拦截配置开关,取值有:
|
|
9018
|
+
on:开启
|
|
9019
|
+
off:关闭
|
|
8978
9020
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8979
9021
|
*/
|
|
8980
9022
|
WebShellSwitch?: string;
|
|
@@ -8989,7 +9031,9 @@ export interface ScdnWafConfig {
|
|
|
8989
9031
|
*/
|
|
8990
9032
|
Level?: number;
|
|
8991
9033
|
/**
|
|
8992
|
-
* waf
|
|
9034
|
+
* waf子规则配置开关,取值有:
|
|
9035
|
+
on:开启
|
|
9036
|
+
off:关闭
|
|
8993
9037
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8994
9038
|
*/
|
|
8995
9039
|
SubRuleSwitch?: Array<WafSubRuleStatus>;
|
|
@@ -9783,8 +9827,10 @@ export interface DescribePurgeTasksResponse {
|
|
|
9783
9827
|
*/
|
|
9784
9828
|
export interface ScdnDdosConfig {
|
|
9785
9829
|
/**
|
|
9786
|
-
|
|
9787
|
-
|
|
9830
|
+
* Scdn ddos配置开关,取值有:
|
|
9831
|
+
on:开启
|
|
9832
|
+
off:关闭
|
|
9833
|
+
*/
|
|
9788
9834
|
Switch: string;
|
|
9789
9835
|
}
|
|
9790
9836
|
/**
|