tencentcloud-sdk-nodejs-cdn 4.0.248 → 4.0.253
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 +1406 -75
- package/package.json +1 -1
- package/products.md +51 -50
- package/src/services/cdn/v20180606/cdn_client.ts +6 -4
- package/src/services/cdn/v20180606/cdn_models.ts +130 -39
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +115 -37
|
@@ -227,20 +227,42 @@ export interface AdvancedAuthentication {
|
|
|
227
227
|
TypeF?: AdvancedAuthenticationTypeF;
|
|
228
228
|
}
|
|
229
229
|
/**
|
|
230
|
-
*
|
|
230
|
+
* 回源的自定义Https配置
|
|
231
231
|
*/
|
|
232
|
-
export interface
|
|
232
|
+
export interface AdvanceHttps {
|
|
233
233
|
/**
|
|
234
|
-
*
|
|
235
|
-
|
|
236
|
-
off:关闭
|
|
234
|
+
* 自定义Tls数据开关
|
|
235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
237
236
|
*/
|
|
238
|
-
|
|
237
|
+
CustomTlsStatus?: string;
|
|
239
238
|
/**
|
|
240
|
-
*
|
|
239
|
+
* Tls版本列表,支持设置 TLSv1, TLSV1.1, TLSV1.2, TLSv1.3,修改时必须开启连续的版本
|
|
241
240
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
242
241
|
*/
|
|
243
|
-
|
|
242
|
+
TlsVersion?: Array<string>;
|
|
243
|
+
/**
|
|
244
|
+
* 自定义加密套件
|
|
245
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
246
|
+
*/
|
|
247
|
+
Cipher?: string;
|
|
248
|
+
/**
|
|
249
|
+
* 回源双向校验开启状态
|
|
250
|
+
off - 关闭校验
|
|
251
|
+
oneWay - 校验源站
|
|
252
|
+
twoWay - 双向校验
|
|
253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
254
|
+
*/
|
|
255
|
+
VerifyOriginType?: string;
|
|
256
|
+
/**
|
|
257
|
+
* 回源层证书配置信息
|
|
258
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
259
|
+
*/
|
|
260
|
+
CertInfo?: ServerCert;
|
|
261
|
+
/**
|
|
262
|
+
* 源站证书配置信息
|
|
263
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
264
|
+
*/
|
|
265
|
+
OriginCertInfo?: ClientCert;
|
|
244
266
|
}
|
|
245
267
|
/**
|
|
246
268
|
* 是否回源站校验
|
|
@@ -716,21 +738,20 @@ export interface RemoteAuthenticationRule {
|
|
|
716
738
|
AuthTimeoutAction: string;
|
|
717
739
|
}
|
|
718
740
|
/**
|
|
719
|
-
*
|
|
741
|
+
* 智能压缩配置,默认对 js、html、css、xml、json、shtml、htm 后缀且大小为 256 ~ 2097152 字节的文件进行 GZIP 压缩
|
|
720
742
|
*/
|
|
721
|
-
export interface
|
|
722
|
-
/**
|
|
723
|
-
* 匹配关键字
|
|
724
|
-
*/
|
|
725
|
-
MatchKey: string;
|
|
743
|
+
export interface Compression {
|
|
726
744
|
/**
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
745
|
+
* 智能压缩配置开关
|
|
746
|
+
on:开启
|
|
747
|
+
off:关闭
|
|
748
|
+
*/
|
|
749
|
+
Switch: string;
|
|
730
750
|
/**
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
751
|
+
* 压缩规则数组
|
|
752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
753
|
+
*/
|
|
754
|
+
CompressionRules?: Array<CompressionRule>;
|
|
734
755
|
}
|
|
735
756
|
/**
|
|
736
757
|
* PurgePathCache返回参数结构体
|
|
@@ -1894,6 +1915,11 @@ export interface Origin {
|
|
|
1894
1915
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1895
1916
|
*/
|
|
1896
1917
|
PathBasedOrigin?: Array<PathBasedOriginRule>;
|
|
1918
|
+
/**
|
|
1919
|
+
* HTTPS回源高级配置
|
|
1920
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1921
|
+
*/
|
|
1922
|
+
AdvanceHttps?: AdvanceHttps;
|
|
1897
1923
|
}
|
|
1898
1924
|
/**
|
|
1899
1925
|
* 违规 URL 详情
|
|
@@ -2350,6 +2376,11 @@ export interface TopicInfo {
|
|
|
2350
2376
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2351
2377
|
*/
|
|
2352
2378
|
Channel: string;
|
|
2379
|
+
/**
|
|
2380
|
+
* cls侧是否已经被删除
|
|
2381
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2382
|
+
*/
|
|
2383
|
+
Deleted: string;
|
|
2353
2384
|
}
|
|
2354
2385
|
/**
|
|
2355
2386
|
* PushUrlsCache请求参数结构体
|
|
@@ -2847,13 +2878,18 @@ export interface BotCookie {
|
|
|
2847
2878
|
UpdateTime?: string;
|
|
2848
2879
|
}
|
|
2849
2880
|
/**
|
|
2850
|
-
*
|
|
2881
|
+
* CreateScdnFailedLogTask返回参数结构体
|
|
2851
2882
|
*/
|
|
2852
|
-
export interface
|
|
2883
|
+
export interface CreateScdnFailedLogTaskResponse {
|
|
2853
2884
|
/**
|
|
2854
|
-
|
|
2885
|
+
* 创建结果,
|
|
2886
|
+
"0" -> 创建成功
|
|
2887
|
+
*/
|
|
2888
|
+
Result: string;
|
|
2889
|
+
/**
|
|
2890
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2855
2891
|
*/
|
|
2856
|
-
|
|
2892
|
+
RequestId?: string;
|
|
2857
2893
|
}
|
|
2858
2894
|
/**
|
|
2859
2895
|
* Ipv6启用配置,不可更改
|
|
@@ -2962,14 +2998,19 @@ export interface ModifyPurgeFetchTaskStatusRequest {
|
|
|
2962
2998
|
*/
|
|
2963
2999
|
export interface ListClsLogTopicsResponse {
|
|
2964
3000
|
/**
|
|
2965
|
-
*
|
|
3001
|
+
* 上海区域日志集信息
|
|
2966
3002
|
*/
|
|
2967
|
-
Logset
|
|
3003
|
+
Logset: LogSetInfo;
|
|
2968
3004
|
/**
|
|
2969
|
-
*
|
|
3005
|
+
* 上海区域日志主题信息列表
|
|
2970
3006
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2971
3007
|
*/
|
|
2972
|
-
Topics
|
|
3008
|
+
Topics: Array<TopicInfo>;
|
|
3009
|
+
/**
|
|
3010
|
+
* 其他区域日志集信息列表
|
|
3011
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3012
|
+
*/
|
|
3013
|
+
ExtraLogset: Array<ExtraLogset>;
|
|
2973
3014
|
/**
|
|
2974
3015
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2975
3016
|
*/
|
|
@@ -4541,6 +4582,23 @@ export interface DistrictIspInfo {
|
|
|
4541
4582
|
*/
|
|
4542
4583
|
IspName: string;
|
|
4543
4584
|
}
|
|
4585
|
+
/**
|
|
4586
|
+
* 精准访问控制匹配规则
|
|
4587
|
+
*/
|
|
4588
|
+
export interface ScdnAclRule {
|
|
4589
|
+
/**
|
|
4590
|
+
* 匹配关键字
|
|
4591
|
+
*/
|
|
4592
|
+
MatchKey: string;
|
|
4593
|
+
/**
|
|
4594
|
+
* 逻辑操作符,取值如下
|
|
4595
|
+
*/
|
|
4596
|
+
LogiOperator: string;
|
|
4597
|
+
/**
|
|
4598
|
+
* 匹配值。
|
|
4599
|
+
*/
|
|
4600
|
+
MatchValue: string;
|
|
4601
|
+
}
|
|
4544
4602
|
/**
|
|
4545
4603
|
* 缓存过期规则配置
|
|
4546
4604
|
*/
|
|
@@ -7122,6 +7180,21 @@ export interface RemoteAuthentication {
|
|
|
7122
7180
|
*/
|
|
7123
7181
|
Server?: string;
|
|
7124
7182
|
}
|
|
7183
|
+
/**
|
|
7184
|
+
* 除上海外其他区域日志集和日志主题信息
|
|
7185
|
+
*/
|
|
7186
|
+
export interface ExtraLogset {
|
|
7187
|
+
/**
|
|
7188
|
+
* 日志集信息
|
|
7189
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7190
|
+
*/
|
|
7191
|
+
Logset: LogSetInfo;
|
|
7192
|
+
/**
|
|
7193
|
+
* 日志主题信息列表
|
|
7194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7195
|
+
*/
|
|
7196
|
+
Topics: Array<TopicInfo>;
|
|
7197
|
+
}
|
|
7125
7198
|
/**
|
|
7126
7199
|
* 缓存键分路径配置
|
|
7127
7200
|
*/
|
|
@@ -7461,18 +7534,13 @@ export interface DescribeDiagnoseReportResponse {
|
|
|
7461
7534
|
RequestId?: string;
|
|
7462
7535
|
}
|
|
7463
7536
|
/**
|
|
7464
|
-
*
|
|
7537
|
+
* DescribeCdnIp请求参数结构体
|
|
7465
7538
|
*/
|
|
7466
|
-
export interface
|
|
7467
|
-
/**
|
|
7468
|
-
* 创建结果,
|
|
7469
|
-
"0" -> 创建成功
|
|
7470
|
-
*/
|
|
7471
|
-
Result: string;
|
|
7539
|
+
export interface DescribeCdnIpRequest {
|
|
7472
7540
|
/**
|
|
7473
|
-
*
|
|
7541
|
+
* 需要查询的 IP 列表
|
|
7474
7542
|
*/
|
|
7475
|
-
|
|
7543
|
+
Ips: Array<string>;
|
|
7476
7544
|
}
|
|
7477
7545
|
/**
|
|
7478
7546
|
* 访问明细数据类型
|
|
@@ -8019,6 +8087,16 @@ export interface LogSetInfo {
|
|
|
8019
8087
|
* 区域
|
|
8020
8088
|
*/
|
|
8021
8089
|
Region: string;
|
|
8090
|
+
/**
|
|
8091
|
+
* cls侧是否已经被删除
|
|
8092
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8093
|
+
*/
|
|
8094
|
+
Deleted: string;
|
|
8095
|
+
/**
|
|
8096
|
+
* 英文区域
|
|
8097
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8098
|
+
*/
|
|
8099
|
+
RegionEn: string;
|
|
8022
8100
|
}
|
|
8023
8101
|
/**
|
|
8024
8102
|
* ListDiagnoseReport返回参数结构体
|