tencentcloud-sdk-nodejs-cdn 4.0.463 → 4.0.469
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 +1339 -0
- package/README.md +6 -4
- package/SERVICE_CHANGELOG.md +1310 -172
- package/package.json +1 -1
- package/products.md +47 -47
- package/src/services/cdn/v20180606/cdn_client.ts +5 -3
- package/src/services/cdn/v20180606/cdn_models.ts +75 -24
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +3 -3
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +2 -2
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +66 -22
|
@@ -69,8 +69,9 @@ export interface DescribeWafDataRequest {
|
|
|
69
69
|
*/
|
|
70
70
|
export interface DescribeCdnDomainLogsResponse {
|
|
71
71
|
/**
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
* 日志包下载链接。
|
|
73
|
+
下载内容是gz后缀的压缩包,解压后是无扩展名的文本文件。
|
|
74
|
+
*/
|
|
74
75
|
DomainLogs: Array<DomainLog>;
|
|
75
76
|
/**
|
|
76
77
|
* 查询到的总条数
|
|
@@ -138,6 +139,11 @@ export interface ImageOptimization {
|
|
|
138
139
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
139
140
|
*/
|
|
140
141
|
GuetzliAdapter: GuetzliAdapter;
|
|
142
|
+
/**
|
|
143
|
+
* AvifAdapter配置
|
|
144
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
145
|
+
*/
|
|
146
|
+
AvifAdapter: AvifAdapter;
|
|
141
147
|
}
|
|
142
148
|
/**
|
|
143
149
|
* DescribeCdnDomainLogs请求参数结构体
|
|
@@ -172,8 +178,8 @@ export interface DescribeCdnDomainLogsRequest {
|
|
|
172
178
|
*/
|
|
173
179
|
Area?: string;
|
|
174
180
|
/**
|
|
175
|
-
*
|
|
176
|
-
access
|
|
181
|
+
* 指定下载日志的类型,目前仅支持访问日志(access)。
|
|
182
|
+
access:访问日志
|
|
177
183
|
*/
|
|
178
184
|
LogType?: string;
|
|
179
185
|
}
|
|
@@ -1956,6 +1962,11 @@ export interface MaxAge {
|
|
|
1956
1962
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1957
1963
|
*/
|
|
1958
1964
|
MaxAgeRules?: Array<MaxAgeRule>;
|
|
1965
|
+
/**
|
|
1966
|
+
* MaxAge 状态码相关规则
|
|
1967
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1968
|
+
*/
|
|
1969
|
+
MaxAgeCodeRule?: MaxAgeCodeRule;
|
|
1959
1970
|
}
|
|
1960
1971
|
/**
|
|
1961
1972
|
* 日志集信息
|
|
@@ -2390,27 +2401,14 @@ export interface DescribePurgeQuotaResponse {
|
|
|
2390
2401
|
RequestId?: string;
|
|
2391
2402
|
}
|
|
2392
2403
|
/**
|
|
2393
|
-
*
|
|
2404
|
+
* 图片优化-AvifAdapter配置
|
|
2394
2405
|
*/
|
|
2395
|
-
export interface
|
|
2396
|
-
/**
|
|
2397
|
-
* 分页查询起始地址,默认 0
|
|
2398
|
-
*/
|
|
2399
|
-
Offset?: number;
|
|
2406
|
+
export interface AvifAdapter {
|
|
2400
2407
|
/**
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
Limit?: number;
|
|
2404
|
-
/**
|
|
2405
|
-
* 流量包排序方式,支持以下值:
|
|
2406
|
-
expireTimeDesc:默认值,按过期时间倒序
|
|
2407
|
-
expireTimeAsc:按过期时间正序
|
|
2408
|
-
createTimeDesc:按创建时间倒序
|
|
2409
|
-
createTimeAsc:按创建时间正序
|
|
2410
|
-
status:按状态排序,正常抵扣>未生效>已用尽>已过期
|
|
2411
|
-
channel:按来源排序,主动购买>自动续订>CDN赠送
|
|
2408
|
+
* 开关,"on/off"
|
|
2409
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2412
2410
|
*/
|
|
2413
|
-
|
|
2411
|
+
Switch?: string;
|
|
2414
2412
|
}
|
|
2415
2413
|
/**
|
|
2416
2414
|
* 远程鉴权规则。
|
|
@@ -3978,6 +3976,10 @@ export interface UpdateImageConfigRequest {
|
|
|
3978
3976
|
* GuetzliAdapter配置项
|
|
3979
3977
|
*/
|
|
3980
3978
|
GuetzliAdapter?: GuetzliAdapter;
|
|
3979
|
+
/**
|
|
3980
|
+
* AvifAdapter配置项
|
|
3981
|
+
*/
|
|
3982
|
+
AvifAdapter?: AvifAdapter;
|
|
3981
3983
|
}
|
|
3982
3984
|
/**
|
|
3983
3985
|
* 排序类型数据结构
|
|
@@ -4568,6 +4570,11 @@ export interface DescribeImageConfigResponse {
|
|
|
4568
4570
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4569
4571
|
*/
|
|
4570
4572
|
GuetzliAdapter: GuetzliAdapter;
|
|
4573
|
+
/**
|
|
4574
|
+
* AvifAdapter配置项
|
|
4575
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4576
|
+
*/
|
|
4577
|
+
AvifAdapter: AvifAdapter;
|
|
4571
4578
|
/**
|
|
4572
4579
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4573
4580
|
*/
|
|
@@ -4742,6 +4749,20 @@ export interface CreateClsLogTopicResponse {
|
|
|
4742
4749
|
*/
|
|
4743
4750
|
RequestId?: string;
|
|
4744
4751
|
}
|
|
4752
|
+
/**
|
|
4753
|
+
* MaxAge 状态码相关规则配置
|
|
4754
|
+
*/
|
|
4755
|
+
export interface MaxAgeCodeRule {
|
|
4756
|
+
/**
|
|
4757
|
+
* 处理动作
|
|
4758
|
+
clear:清除 cache-control 头部
|
|
4759
|
+
*/
|
|
4760
|
+
Action: string;
|
|
4761
|
+
/**
|
|
4762
|
+
* 指定HTTP状态码生效,当前仅支持填写"400-599"
|
|
4763
|
+
*/
|
|
4764
|
+
StatusCodes: Array<string>;
|
|
4765
|
+
}
|
|
4745
4766
|
/**
|
|
4746
4767
|
* 精准访问控制匹配规则
|
|
4747
4768
|
*/
|
|
@@ -5247,6 +5268,29 @@ export interface Ipv6 {
|
|
|
5247
5268
|
*/
|
|
5248
5269
|
Switch: string;
|
|
5249
5270
|
}
|
|
5271
|
+
/**
|
|
5272
|
+
* DescribeTrafficPackages请求参数结构体
|
|
5273
|
+
*/
|
|
5274
|
+
export interface DescribeTrafficPackagesRequest {
|
|
5275
|
+
/**
|
|
5276
|
+
* 分页查询起始地址,默认 0
|
|
5277
|
+
*/
|
|
5278
|
+
Offset?: number;
|
|
5279
|
+
/**
|
|
5280
|
+
* 分页查询记录个数,默认100,最大1000
|
|
5281
|
+
*/
|
|
5282
|
+
Limit?: number;
|
|
5283
|
+
/**
|
|
5284
|
+
* 流量包排序方式,支持以下值:
|
|
5285
|
+
expireTimeDesc:默认值,按过期时间倒序
|
|
5286
|
+
expireTimeAsc:按过期时间正序
|
|
5287
|
+
createTimeDesc:按创建时间倒序
|
|
5288
|
+
createTimeAsc:按创建时间正序
|
|
5289
|
+
status:按状态排序,正常抵扣>未生效>已用尽>已过期
|
|
5290
|
+
channel:按来源排序,主动购买>自动续订>CDN赠送
|
|
5291
|
+
*/
|
|
5292
|
+
SortBy?: string;
|
|
5293
|
+
}
|
|
5250
5294
|
/**
|
|
5251
5295
|
* ManageClsTopicDomains返回参数结构体
|
|
5252
5296
|
*/
|