tencentcloud-sdk-nodejs 4.0.354 → 4.0.355

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +172 -0
  2. package/SERVICE_CHANGELOG.md +269 -33
  3. package/package.json +1 -1
  4. package/products.md +11 -10
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/api/v20201106/api_models.ts +2 -2
  7. package/src/services/cdn/v20180606/cdn_client.ts +27 -15
  8. package/src/services/cdn/v20180606/cdn_models.ts +87 -52
  9. package/src/services/cpdp/v20190820/cpdp_client.ts +237 -48
  10. package/src/services/cpdp/v20190820/cpdp_models.ts +1892 -521
  11. package/src/services/dlc/v20210125/dlc_models.ts +7 -1
  12. package/src/services/ess/v20201111/ess_models.ts +1 -1
  13. package/src/services/index.ts +1 -0
  14. package/src/services/mongodb/v20190725/mongodb_models.ts +5 -0
  15. package/src/services/soe/v20180724/soe_models.ts +2 -2
  16. package/src/services/sqlserver/v20180328/sqlserver_models.ts +11 -1
  17. package/src/services/tan/index.ts +5 -0
  18. package/src/services/tan/v20220420/index.ts +6 -0
  19. package/src/services/tan/v20220420/tan_client.ts +40 -0
  20. package/src/services/tan/v20220420/tan_models.ts +46 -0
  21. package/src/services/trtc/v20190722/trtc_client.ts +91 -61
  22. package/src/services/trtc/v20190722/trtc_models.ts +1145 -994
  23. package/src/services/tts/v20190823/tts_client.ts +11 -0
  24. package/src/services/tts/v20190823/tts_models.ts +2 -2
  25. package/tencentcloud/common/sdk_version.d.ts +1 -1
  26. package/tencentcloud/common/sdk_version.js +1 -1
  27. package/tencentcloud/services/api/v20201106/api_models.d.ts +2 -2
  28. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +9 -5
  29. package/tencentcloud/services/cdn/v20180606/cdn_client.js +12 -6
  30. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +76 -46
  31. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +65 -9
  32. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +96 -12
  33. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1636 -467
  34. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +6 -1
  35. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
  36. package/tencentcloud/services/index.d.ts +1 -0
  37. package/tencentcloud/services/index.js +2 -0
  38. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +4 -0
  39. package/tencentcloud/services/soe/v20180724/soe_models.d.ts +2 -2
  40. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +9 -1
  41. package/tencentcloud/services/tan/index.d.ts +6 -0
  42. package/tencentcloud/services/tan/index.js +7 -0
  43. package/tencentcloud/services/tan/v20220420/index.d.ts +6 -0
  44. package/tencentcloud/services/tan/v20220420/index.js +9 -0
  45. package/tencentcloud/services/tan/v20220420/tan_client.d.ts +14 -0
  46. package/tencentcloud/services/tan/v20220420/tan_client.js +37 -0
  47. package/tencentcloud/services/tan/v20220420/tan_models.d.ts +26 -0
  48. package/tencentcloud/services/tan/v20220420/tan_models.js +18 -0
  49. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +17 -5
  50. package/tencentcloud/services/trtc/v20190722/trtc_client.js +22 -6
  51. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +976 -849
  52. package/tencentcloud/services/tts/v20190823/tts_client.d.ts +11 -0
  53. package/tencentcloud/services/tts/v20190823/tts_client.js +11 -0
  54. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +2 -2
  55. package/test/cdn.v20180606.test.js +14 -4
  56. package/test/cpdp.v20190820.test.js +148 -8
  57. package/test/tan.v20220420.test.js +31 -0
  58. package/test/trtc.v20190722.test.js +24 -4
package/products.md CHANGED
@@ -10,7 +10,7 @@
10
10
  | antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-05-17 06:03:35 |
11
11
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
12
12
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
13
- | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-04-08 06:01:32 |
13
+ | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-06-07 06:00:45 |
14
14
  | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2022-04-21 06:05:25 |
15
15
  | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-05-17 11:59:15 |
16
16
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-06-02 06:02:22 |
@@ -38,7 +38,7 @@
38
38
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-05-31 06:05:55 |
39
39
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-06-02 06:03:38 |
40
40
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-05-16 17:18:07 |
41
- | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-05-20 06:02:50 |
41
+ | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-06-07 06:02:40 |
42
42
  | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
43
43
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-05-24 06:08:29 |
44
44
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-04-04 06:17:16 |
@@ -55,7 +55,7 @@
55
55
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-04-22 06:07:06 |
56
56
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-04-04 06:23:04 |
57
57
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
58
- | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-06-03 06:04:52 |
58
+ | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-06-07 06:04:05 |
59
59
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
60
60
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-06-03 06:05:18 |
61
61
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-05-31 06:08:47 |
@@ -67,7 +67,7 @@
67
67
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2022-05-31 17:05:07 |
68
68
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-04-13 06:36:47 |
69
69
  | dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-05-31 06:09:47 |
70
- | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-06-01 06:09:45 |
70
+ | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-06-07 06:06:14 |
71
71
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-05-19 06:11:31 |
72
72
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-05-24 06:11:36 |
73
73
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
@@ -82,7 +82,7 @@
82
82
  | eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-04-04 06:42:05 |
83
83
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-05-23 06:08:01 |
84
84
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-05-25 06:08:55 |
85
- | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-06-02 06:08:09 |
85
+ | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-06-07 06:07:22 |
86
86
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-06-02 06:08:13 |
87
87
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-04-04 06:42:42 |
88
88
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-06-02 06:08:18 |
@@ -119,7 +119,7 @@
119
119
  | memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product/241) | 2022-04-04 06:57:44 |
120
120
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-04-04 06:57:46 |
121
121
  | mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
122
- | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-04-21 06:15:03 |
122
+ | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-06-07 06:10:21 |
123
123
  | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-05-26 06:14:37 |
124
124
  | mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-05-25 06:12:20 |
125
125
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-04-04 07:00:09 |
@@ -145,9 +145,9 @@
145
145
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-04-25 06:11:28 |
146
146
  | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2022-04-04 07:05:41 |
147
147
  | sms | [短信](https://cloud.tencent.com/document/product/382) | 2022-04-14 06:16:29 |
148
- | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2022-05-26 06:16:15 |
148
+ | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2022-06-07 06:12:07 |
149
149
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
150
- | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-05-31 06:16:15 |
150
+ | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-06-07 06:12:09 |
151
151
  | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2022-04-22 06:14:46 |
152
152
  | ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-06-01 06:15:43 |
153
153
  | sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2022-04-04 07:07:55 |
@@ -155,6 +155,7 @@
155
155
  | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2022-05-18 06:16:35 |
156
156
  | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2022-04-04 07:08:16 |
157
157
  | tag | [标签](https://cloud.tencent.com/document/product/651) | 2022-04-08 06:12:35 |
158
+ | tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2022-06-06 16:47:40 |
158
159
  | tat | [腾讯云自动化助手](https://cloud.tencent.com/document/product/1340) | 2022-04-08 06:12:44 |
159
160
  | tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
160
161
  | tbaas | [TBaaS](https://cloud.tencent.com/document/product/663) | 2022-04-15 06:12:40 |
@@ -185,11 +186,11 @@
185
186
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
186
187
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
187
188
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 |
188
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-05-18 06:19:08 |
189
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-06-07 06:15:13 |
189
190
  | tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-06-02 06:16:18 |
190
191
  | tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-05-20 06:20:03 |
191
192
  | tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
192
- | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-05-27 06:17:04 |
193
+ | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-06-07 06:15:49 |
193
194
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
194
195
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-05-10 06:14:42 |
195
196
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.354"
1
+ export const sdkVersion = "4.0.355"
@@ -134,7 +134,7 @@ export interface ZoneInfo {
134
134
  */
135
135
  export interface DescribeZonesRequest {
136
136
  /**
137
- * 待查询产品的名称,例如cvm
137
+ * 待查询产品的名称,例如cvm,具体取值请查询DescribeProducts接口
138
138
  */
139
139
  Product: string
140
140
  }
@@ -204,7 +204,7 @@ export interface DescribeRegionsResponse {
204
204
  */
205
205
  export interface DescribeRegionsRequest {
206
206
  /**
207
- * 待查询产品的名称,例如cvm
207
+ * 待查询产品的名称,例如cvm,具体取值请查询DescribeProducts接口
208
208
  */
209
209
  Product: string
210
210
  }
@@ -57,7 +57,7 @@ import {
57
57
  StartScdnDomainRequest,
58
58
  PostSize,
59
59
  ListTopWafDataRequest,
60
- DescribeCdnDataResponse,
60
+ AdvanceCacheRule,
61
61
  DescribeIpStatusResponse,
62
62
  UpdateImageConfigResponse,
63
63
  ScdnDomain,
@@ -174,7 +174,7 @@ import {
174
174
  CreateScdnLogTaskRequest,
175
175
  Quota,
176
176
  DistrictIspInfo,
177
- ScdnAclRule,
177
+ AddCLSTopicDomainsResponse,
178
178
  SimpleCacheRule,
179
179
  ModifyPurgeFetchTaskStatusResponse,
180
180
  DisableClsLogTopicResponse,
@@ -191,6 +191,7 @@ import {
191
191
  UpdateScdnDomainRequest,
192
192
  BotSortBy,
193
193
  ManageClsTopicDomainsRequest,
194
+ AddCLSTopicDomainsRequest,
194
195
  ListDiagnoseReportRequest,
195
196
  OriginAuthentication,
196
197
  DomainBotCount,
@@ -250,7 +251,7 @@ import {
250
251
  StatisticItem,
251
252
  DescribeImageConfigRequest,
252
253
  DescribeCdnIpResponse,
253
- AdvanceCacheRule,
254
+ DescribeCdnDataResponse,
254
255
  DescribeCcDataRequest,
255
256
  AccessControl,
256
257
  ListScdnLogTasksResponse,
@@ -357,6 +358,7 @@ import {
357
358
  TopDataMore,
358
359
  DiagnoseList,
359
360
  IpFilterPathRule,
361
+ ScdnAclRule,
360
362
  } from "./cdn_models"
361
363
 
362
364
  /**
@@ -369,13 +371,13 @@ export class Client extends AbstractClient {
369
371
  }
370
372
 
371
373
  /**
372
- * 动态打包任务提交接口
374
+ * AddCLSTopicDomains 用于新增域名到某日志主题下
373
375
  */
374
- async CreateEdgePackTask(
375
- req: CreateEdgePackTaskRequest,
376
- cb?: (error: string, rep: CreateEdgePackTaskResponse) => void
377
- ): Promise<CreateEdgePackTaskResponse> {
378
- return this.request("CreateEdgePackTask", req, cb)
376
+ async AddCLSTopicDomains(
377
+ req: AddCLSTopicDomainsRequest,
378
+ cb?: (error: string, rep: AddCLSTopicDomainsResponse) => void
379
+ ): Promise<AddCLSTopicDomainsResponse> {
380
+ return this.request("AddCLSTopicDomains", req, cb)
379
381
  }
380
382
 
381
383
  /**
@@ -536,13 +538,13 @@ export class Client extends AbstractClient {
536
538
  }
537
539
 
538
540
  /**
539
- * DescribeDomains 用于查询内容分发网络加速域名(含境内、境外)基本配置信息,包括项目ID、服务状态,业务类型、创建时间、更新时间等信息。
541
+ * 动态打包任务提交接口
540
542
  */
541
- async DescribeDomains(
542
- req: DescribeDomainsRequest,
543
- cb?: (error: string, rep: DescribeDomainsResponse) => void
544
- ): Promise<DescribeDomainsResponse> {
545
- return this.request("DescribeDomains", req, cb)
543
+ async CreateEdgePackTask(
544
+ req: CreateEdgePackTaskRequest,
545
+ cb?: (error: string, rep: CreateEdgePackTaskResponse) => void
546
+ ): Promise<CreateEdgePackTaskResponse> {
547
+ return this.request("CreateEdgePackTask", req, cb)
546
548
  }
547
549
 
548
550
  /**
@@ -867,6 +869,16 @@ export class Client extends AbstractClient {
867
869
  return this.request("ListTopDDoSData", req, cb)
868
870
  }
869
871
 
872
+ /**
873
+ * DescribeDomains 用于查询内容分发网络加速域名(含境内、境外)基本配置信息,包括项目ID、服务状态,业务类型、创建时间、更新时间等信息。
874
+ */
875
+ async DescribeDomains(
876
+ req: DescribeDomainsRequest,
877
+ cb?: (error: string, rep: DescribeDomainsResponse) => void
878
+ ): Promise<DescribeDomainsResponse> {
879
+ return this.request("DescribeDomains", req, cb)
880
+ }
881
+
870
882
  /**
871
883
  * PurgeUrlsCache 用于批量提交 URL 进行刷新,根据 URL 中域名的当前加速区域进行对应区域的刷新。
872
884
  默认情况下境内、境外加速区域每日 URL 刷新额度各为 10000 条,每次最多可提交 1000 条。
@@ -1252,27 +1252,37 @@ domain:当查询整个AppID下数据时,按照域名请求量排序
1252
1252
  }
1253
1253
 
1254
1254
  /**
1255
- * DescribeCdnData返回参数结构体
1255
+ * 缓存配置高级版本规则
1256
1256
  */
1257
- export interface DescribeCdnDataResponse {
1257
+ export interface AdvanceCacheRule {
1258
1258
  /**
1259
- * 返回数据的时间粒度,查询时指定:
1260
- min:1 分钟粒度
1261
- 5min:5 分钟粒度
1262
- hour:1 小时粒度
1263
- day:天粒度
1259
+ * 规则类型:
1260
+ all:所有文件生效
1261
+ file:指定文件后缀生效
1262
+ directory:指定路径生效
1263
+ path:指定绝对路径生效
1264
+ default:源站未返回 max-age 情况下的缓存规则
1265
+ 注意:此字段可能返回 null,表示取不到有效值。
1264
1266
  */
1265
- Interval: string
1267
+ CacheType: string
1266
1268
 
1267
1269
  /**
1268
- * 指定条件查询得到的数据明细
1269
- */
1270
- Data: Array<ResourceData>
1270
+ * 对应类型下的匹配内容:
1271
+ all 时填充 *
1272
+ file 时填充后缀名,如 jpg、txt
1273
+ directory 时填充路径,如 /xxx/test/
1274
+ path 时填充绝对路径,如 /xxx/test.html
1275
+ default 时填充 "no max-age"
1276
+ 注意:此字段可能返回 null,表示取不到有效值。
1277
+ */
1278
+ CacheContents: Array<string>
1271
1279
 
1272
1280
  /**
1273
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1274
- */
1275
- RequestId?: string
1281
+ * 缓存过期时间
1282
+ 单位为秒,最大可设置为 365 天
1283
+ 注意:此字段可能返回 null,表示取不到有效值。
1284
+ */
1285
+ CacheTime: number
1276
1286
  }
1277
1287
 
1278
1288
  /**
@@ -5509,23 +5519,13 @@ export interface DistrictIspInfo {
5509
5519
  }
5510
5520
 
5511
5521
  /**
5512
- * 精准访问控制匹配规则
5522
+ * AddCLSTopicDomains返回参数结构体
5513
5523
  */
5514
- export interface ScdnAclRule {
5524
+ export interface AddCLSTopicDomainsResponse {
5515
5525
  /**
5516
- * 匹配关键字
5517
- */
5518
- MatchKey: string
5519
-
5520
- /**
5521
- * 逻辑操作符,取值如下
5522
- */
5523
- LogiOperator: string
5524
-
5525
- /**
5526
- * 匹配值。
5526
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5527
5527
  */
5528
- MatchValue: string
5528
+ RequestId?: string
5529
5529
  }
5530
5530
 
5531
5531
  /**
@@ -6232,6 +6232,31 @@ export interface ManageClsTopicDomainsRequest {
6232
6232
  DomainAreaConfigs?: Array<DomainAreaConfig>
6233
6233
  }
6234
6234
 
6235
+ /**
6236
+ * AddCLSTopicDomains请求参数结构体
6237
+ */
6238
+ export interface AddCLSTopicDomainsRequest {
6239
+ /**
6240
+ * 日志集ID
6241
+ */
6242
+ LogsetId: string
6243
+
6244
+ /**
6245
+ * 日志主题ID
6246
+ */
6247
+ TopicId: string
6248
+
6249
+ /**
6250
+ * 域名区域配置
6251
+ */
6252
+ DomainAreaConfigs: Array<DomainAreaConfig>
6253
+
6254
+ /**
6255
+ * 接入渠道,cdn或者ecdn,默认值为cdn
6256
+ */
6257
+ Channel?: string
6258
+ }
6259
+
6235
6260
  /**
6236
6261
  * ListDiagnoseReport请求参数结构体
6237
6262
  */
@@ -8339,37 +8364,27 @@ export interface DescribeCdnIpResponse {
8339
8364
  }
8340
8365
 
8341
8366
  /**
8342
- * 缓存配置高级版本规则
8367
+ * DescribeCdnData返回参数结构体
8343
8368
  */
8344
- export interface AdvanceCacheRule {
8369
+ export interface DescribeCdnDataResponse {
8345
8370
  /**
8346
- * 规则类型:
8347
- all:所有文件生效
8348
- file:指定文件后缀生效
8349
- directory:指定路径生效
8350
- path:指定绝对路径生效
8351
- default:源站未返回 max-age 情况下的缓存规则
8352
- 注意:此字段可能返回 null,表示取不到有效值。
8371
+ * 返回数据的时间粒度,查询时指定:
8372
+ min:1 分钟粒度
8373
+ 5min:5 分钟粒度
8374
+ hour:1 小时粒度
8375
+ day:天粒度
8353
8376
  */
8354
- CacheType: string
8377
+ Interval: string
8355
8378
 
8356
8379
  /**
8357
- * 对应类型下的匹配内容:
8358
- all 时填充 *
8359
- file 时填充后缀名,如 jpg、txt
8360
- directory 时填充路径,如 /xxx/test/
8361
- path 时填充绝对路径,如 /xxx/test.html
8362
- default 时填充 "no max-age"
8363
- 注意:此字段可能返回 null,表示取不到有效值。
8364
- */
8365
- CacheContents: Array<string>
8380
+ * 指定条件查询得到的数据明细
8381
+ */
8382
+ Data: Array<ResourceData>
8366
8383
 
8367
8384
  /**
8368
- * 缓存过期时间
8369
- 单位为秒,最大可设置为 365 天
8370
- 注意:此字段可能返回 null,表示取不到有效值。
8371
- */
8372
- CacheTime: number
8385
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8386
+ */
8387
+ RequestId?: string
8373
8388
  }
8374
8389
 
8375
8390
  /**
@@ -11008,3 +11023,23 @@ path 时填充绝对路径,如 /xxx/test.html
11008
11023
  */
11009
11024
  RulePaths: Array<string>
11010
11025
  }
11026
+
11027
+ /**
11028
+ * 精准访问控制匹配规则
11029
+ */
11030
+ export interface ScdnAclRule {
11031
+ /**
11032
+ * 匹配关键字
11033
+ */
11034
+ MatchKey: string
11035
+
11036
+ /**
11037
+ * 逻辑操作符,取值如下
11038
+ */
11039
+ LogiOperator: string
11040
+
11041
+ /**
11042
+ * 匹配值。
11043
+ */
11044
+ MatchValue: string
11045
+ }