tencentcloud-sdk-nodejs-cdn 4.1.120 → 4.1.130

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/README.md CHANGED
@@ -62,6 +62,8 @@ npm install tencentcloud-sdk-slim-nodejs --save
62
62
 
63
63
  1. clone 代码到本地:
64
64
  ```
65
+ git clone https://cnb.cool/tencent/cloud/api/sdk/tencentcloud-sdk-nodejs
66
+ # 或者
65
67
  git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
66
68
  # 或者
67
69
  git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
@@ -135,7 +137,7 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
135
137
  // ...
136
138
  ```
137
139
 
138
- 实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts)。
140
+ 实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](src/common/interface.ts)。
139
141
 
140
142
  ## Common Client
141
143
 
@@ -143,17 +145,17 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
143
145
 
144
146
  **注意,您必须明确知道您调用的接口所需参数,否则可能会调用失败。**
145
147
 
146
- 详细使用请参阅示例:[使用 Common Client 进行调用](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/tree/master/examples/common)
148
+ 详细使用请参阅示例:[使用 Common Client 进行调用](examples/common)
147
149
 
148
150
  ## 更多示例
149
151
 
150
- 请参考 [examples](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/tree/master/examples) 目录。
152
+ 请参考 [examples](examples) 目录。
151
153
 
152
154
  # 相关配置
153
155
 
154
156
  ## 代理
155
157
 
156
- 如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
158
+ 如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
157
159
 
158
160
  # 凭证管理
159
161
 
@@ -66,8 +66,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
66
66
  async DescribeCertDomains(req, cb) {
67
67
  return this.request("DescribeCertDomains", req, cb);
68
68
  }
69
- async DisableCaches(req, cb) {
70
- return this.request("DisableCaches", req, cb);
69
+ async ListTopClsLogData(req, cb) {
70
+ return this.request("ListTopClsLogData", req, cb);
71
71
  }
72
72
  async ListDiagnoseReport(req, cb) {
73
73
  return this.request("ListDiagnoseReport", req, cb);
@@ -144,9 +144,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
144
144
  async ListClsLogTopics(req, cb) {
145
145
  return this.request("ListClsLogTopics", req, cb);
146
146
  }
147
- async GetDisableRecords(req, cb) {
148
- return this.request("GetDisableRecords", req, cb);
149
- }
150
147
  async DeleteClsLogTopic(req, cb) {
151
148
  return this.request("DeleteClsLogTopic", req, cb);
152
149
  }
@@ -171,10 +168,4 @@ export class Client extends TencentCloudCommon.AbstractClient {
171
168
  async UpdatePayType(req, cb) {
172
169
  return this.request("UpdatePayType", req, cb);
173
170
  }
174
- async EnableCaches(req, cb) {
175
- return this.request("EnableCaches", req, cb);
176
- }
177
- async ListTopClsLogData(req, cb) {
178
- return this.request("ListTopClsLogData", req, cb);
179
- }
180
171
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cdn",
3
- "version": "4.1.120",
3
+ "version": "4.1.130",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -45,6 +45,7 @@
45
45
  "url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
46
46
  },
47
47
  "devDependencies": {
48
+ "@types/ini": "^4.1.1",
48
49
  "@types/json-bigint": "^1.0.1",
49
50
  "@types/node": "^18.0.0",
50
51
  "@types/node-fetch": "^2.5.7",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DescribeCdnDomainLogsResponse, DescribePushQuotaResponse, DescribePurgeQuotaResponse, DescribeCdnDomainLogsRequest, CreateClsLogTopicResponse, PurgePathCacheResponse, DescribeCdnOriginIpResponse, DescribeTopDataRequest, DescribePurgeQuotaRequest, ModifyPurgeFetchTaskStatusRequest, DescribeCdnDataResponse, EnableClsLogTopicRequest, UpdateImageConfigResponse, DeleteCdnDomainRequest, DescribePayTypeResponse, ListTopDataRequest, ListClsTopicDomainsRequest, DescribeDomainsResponse, DescribePayTypeRequest, UpdateImageConfigRequest, EnableCachesRequest, DescribeBillingDataRequest, DeleteClsLogTopicRequest, DescribeDistrictIspDataResponse, DescribeCdnOriginIpRequest, DescribeDomainsConfigResponse, DescribeDiagnoseReportRequest, DescribeReportDataResponse, DisableClsLogTopicRequest, ListClsTopicDomainsResponse, DescribeCdnIpRequest, DescribeHttpsPackagesRequest, DescribeTrafficPackagesRequest, DescribeIpVisitResponse, EnableClsLogTopicResponse, ListClsLogTopicsResponse, AddCdnDomainRequest, UpdateDomainConfigRequest, DescribeCertDomainsRequest, DescribeDomainsConfigRequest, DescribeHttpsPackagesResponse, DescribeCertDomainsResponse, DuplicateDomainConfigRequest, DescribePushTasksResponse, AddCdnDomainResponse, DisableCachesRequest, DescribeEdgePackTaskStatusResponse, AddCLSTopicDomainsResponse, ModifyPurgeFetchTaskStatusResponse, DisableClsLogTopicResponse, DescribeIpStatusRequest, GetDisableRecordsResponse, DuplicateDomainConfigResponse, VerifyDomainRecordResponse, ManageClsTopicDomainsRequest, AddCLSTopicDomainsRequest, ListDiagnoseReportRequest, DescribeOriginDataRequest, SearchClsLogResponse, PushUrlsCacheRequest, DescribeReportDataRequest, DescribePushTasksRequest, DescribeUrlViolationsRequest, CreateDiagnoseUrlResponse, CreateClsLogTopicRequest, UpdatePayTypeResponse, ListTopClsLogDataRequest, CreateVerifyRecordResponse, StopCdnDomainRequest, DescribeMapInfoResponse, DescribeTrafficPackagesResponse, DescribeMapInfoRequest, EnableCachesResponse, DescribeIpVisitRequest, DescribeEdgePackTaskStatusRequest, GetDisableRecordsRequest, CreateDiagnoseUrlRequest, PurgeUrlsCacheResponse, DeleteClsLogTopicResponse, DescribeBillingDataResponse, DisableCachesResponse, DescribeImageConfigRequest, DescribeCdnIpResponse, DescribeIpStatusResponse, DescribeDistrictIspDataRequest, ListTopClsLogDataResponse, ListClsLogTopicsRequest, CreateVerifyRecordRequest, PurgePathCacheRequest, DescribeDiagnoseReportResponse, ModifyDomainConfigResponse, PurgeUrlsCacheRequest, StartCdnDomainRequest, CreateEdgePackTaskResponse, StartCdnDomainResponse, DescribePushQuotaRequest, DescribePurgeTasksRequest, PushUrlsCacheResponse, ListTopDataResponse, UpdateDomainConfigResponse, ListDiagnoseReportResponse, SearchClsLogRequest, ManageClsTopicDomainsResponse, ModifyDomainConfigRequest, DescribeUrlViolationsResponse, UpdatePayTypeRequest, DescribePurgeTasksResponse, DescribeOriginDataResponse, DeleteCdnDomainResponse, DescribeCdnDataRequest, DescribeImageConfigResponse, VerifyDomainRecordRequest, DescribeTopDataResponse, DescribeDomainsRequest, CreateEdgePackTaskRequest, StopCdnDomainResponse } from "./cdn_models";
2
+ import { DescribeCdnDomainLogsResponse, DescribePushQuotaResponse, DescribePurgeQuotaResponse, DescribeCdnDomainLogsRequest, CreateClsLogTopicResponse, PurgePathCacheResponse, DescribeTopDataRequest, DescribePurgeQuotaRequest, ModifyPurgeFetchTaskStatusRequest, DescribeCdnDataResponse, EnableClsLogTopicRequest, UpdateImageConfigResponse, DescribeCdnOriginIpResponse, DescribePayTypeResponse, ListTopDataRequest, ListClsTopicDomainsRequest, DescribeDomainsResponse, DescribePayTypeRequest, UpdateImageConfigRequest, DescribeBillingDataRequest, DeleteClsLogTopicRequest, DescribeDistrictIspDataResponse, DescribeCdnOriginIpRequest, DescribeDomainsConfigResponse, DescribeDiagnoseReportRequest, DescribeReportDataResponse, DisableClsLogTopicRequest, ListClsTopicDomainsResponse, DescribeCdnIpRequest, DescribeHttpsPackagesRequest, DescribeTrafficPackagesRequest, DescribeIpVisitResponse, EnableClsLogTopicResponse, ListClsLogTopicsResponse, AddCdnDomainRequest, UpdateDomainConfigRequest, DescribeCertDomainsRequest, DescribeDomainsConfigRequest, DescribeHttpsPackagesResponse, DescribeCertDomainsResponse, DuplicateDomainConfigRequest, DescribePushTasksResponse, AddCdnDomainResponse, DescribeEdgePackTaskStatusResponse, AddCLSTopicDomainsResponse, ModifyPurgeFetchTaskStatusResponse, DisableClsLogTopicResponse, DescribeIpStatusRequest, DuplicateDomainConfigResponse, VerifyDomainRecordResponse, ManageClsTopicDomainsRequest, AddCLSTopicDomainsRequest, ListDiagnoseReportRequest, DescribeOriginDataRequest, SearchClsLogResponse, PushUrlsCacheRequest, DescribeReportDataRequest, DescribePushTasksRequest, DescribeUrlViolationsRequest, CreateDiagnoseUrlResponse, CreateClsLogTopicRequest, UpdatePayTypeResponse, ListTopClsLogDataRequest, CreateVerifyRecordResponse, StopCdnDomainRequest, DescribeMapInfoResponse, DescribeTrafficPackagesResponse, DescribeMapInfoRequest, DescribeIpVisitRequest, DescribeEdgePackTaskStatusRequest, CreateDiagnoseUrlRequest, PurgeUrlsCacheResponse, DeleteClsLogTopicResponse, DescribeBillingDataResponse, DescribeImageConfigRequest, DescribeCdnIpResponse, DescribeIpStatusResponse, DescribeDistrictIspDataRequest, ListTopClsLogDataResponse, ListClsLogTopicsRequest, CreateVerifyRecordRequest, PurgePathCacheRequest, DescribeDiagnoseReportResponse, ModifyDomainConfigResponse, PurgeUrlsCacheRequest, StartCdnDomainRequest, DeleteCdnDomainRequest, CreateEdgePackTaskResponse, StartCdnDomainResponse, DescribePushQuotaRequest, DescribePurgeTasksRequest, PushUrlsCacheResponse, ListTopDataResponse, UpdateDomainConfigResponse, ListDiagnoseReportResponse, SearchClsLogRequest, ManageClsTopicDomainsResponse, ModifyDomainConfigRequest, DescribeUrlViolationsResponse, UpdatePayTypeRequest, DescribePurgeTasksResponse, DescribeOriginDataResponse, DeleteCdnDomainResponse, DescribeCdnDataRequest, DescribeImageConfigResponse, VerifyDomainRecordRequest, DescribeTopDataResponse, DescribeDomainsRequest, CreateEdgePackTaskRequest, StopCdnDomainResponse } from "./cdn_models";
3
3
  /**
4
4
  * cdn client
5
5
  * @class
@@ -120,10 +120,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
120
120
  */
121
121
  DescribeCertDomains(req: DescribeCertDomainsRequest, cb?: (error: string, rep: DescribeCertDomainsResponse) => void): Promise<DescribeCertDomainsResponse>;
122
122
  /**
123
- * ### <font color=red>**该接口已废弃** </font><br>
124
- DisableCaches 用于禁用 CDN 上指定 URL 的访问,禁用完成后,中国境内访问会直接返回 403。
125
- */
126
- DisableCaches(req: DisableCachesRequest, cb?: (error: string, rep: DisableCachesResponse) => void): Promise<DisableCachesResponse>;
123
+ * 通过CLS日志计算Top信息。支持近7天的日志数据。
124
+ */
125
+ ListTopClsLogData(req: ListTopClsLogDataRequest, cb?: (error: string, rep: ListTopClsLogDataResponse) => void): Promise<ListTopClsLogDataResponse>;
127
126
  /**
128
127
  * 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
129
128
 
@@ -266,13 +265,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
266
265
  * ListClsLogTopics 用于显示日志主题列表。注意:一个日志集下至多含10个日志主题。
267
266
  */
268
267
  ListClsLogTopics(req: ListClsLogTopicsRequest, cb?: (error: string, rep: ListClsLogTopicsResponse) => void): Promise<ListClsLogTopicsResponse>;
269
- /**
270
- * 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
271
-
272
- ### <font color=red>**该接口已废弃** </font><br>
273
- GetDisableRecords 用于查询资源禁用历史,及 URL 当前状态。
274
- */
275
- GetDisableRecords(req: GetDisableRecordsRequest, cb?: (error: string, rep: GetDisableRecordsResponse) => void): Promise<GetDisableRecordsResponse>;
276
268
  /**
277
269
  * DeleteClsLogTopic 用于删除日志主题。注意:删除后,所有该日志主题下绑定域名的日志将不再继续投递至该主题,已经投递的日志将会被全部清空。生效时间约为 5~15 分钟。
278
270
  */
@@ -307,13 +299,4 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
307
299
  * 本接口(UpdatePayType)用于修改账号计费类型,暂不支持月结用户或子账号修改。
308
300
  */
309
301
  UpdatePayType(req: UpdatePayTypeRequest, cb?: (error: string, rep: UpdatePayTypeResponse) => void): Promise<UpdatePayTypeResponse>;
310
- /**
311
- * ### <font color=red>**该接口已废弃** </font><br>
312
- EnableCaches 用于解禁手工封禁的 URL,解禁成功后,全网生效时间约 5~10 分钟。
313
- */
314
- EnableCaches(req: EnableCachesRequest, cb?: (error: string, rep: EnableCachesResponse) => void): Promise<EnableCachesResponse>;
315
- /**
316
- * 通过CLS日志计算Top信息。支持近7天的日志数据。
317
- */
318
- ListTopClsLogData(req: ListTopClsLogDataRequest, cb?: (error: string, rep: ListTopClsLogDataResponse) => void): Promise<ListTopClsLogDataResponse>;
319
302
  }
@@ -184,11 +184,10 @@ class Client extends TencentCloudCommon.AbstractClient {
184
184
  return this.request("DescribeCertDomains", req, cb);
185
185
  }
186
186
  /**
187
- * ### <font color=red>**该接口已废弃** </font><br>
188
- DisableCaches 用于禁用 CDN 上指定 URL 的访问,禁用完成后,中国境内访问会直接返回 403。
189
- */
190
- async DisableCaches(req, cb) {
191
- return this.request("DisableCaches", req, cb);
187
+ * 通过CLS日志计算Top信息。支持近7天的日志数据。
188
+ */
189
+ async ListTopClsLogData(req, cb) {
190
+ return this.request("ListTopClsLogData", req, cb);
192
191
  }
193
192
  /**
194
193
  * 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
@@ -382,15 +381,6 @@ class Client extends TencentCloudCommon.AbstractClient {
382
381
  async ListClsLogTopics(req, cb) {
383
382
  return this.request("ListClsLogTopics", req, cb);
384
383
  }
385
- /**
386
- * 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
387
-
388
- ### <font color=red>**该接口已废弃** </font><br>
389
- GetDisableRecords 用于查询资源禁用历史,及 URL 当前状态。
390
- */
391
- async GetDisableRecords(req, cb) {
392
- return this.request("GetDisableRecords", req, cb);
393
- }
394
384
  /**
395
385
  * DeleteClsLogTopic 用于删除日志主题。注意:删除后,所有该日志主题下绑定域名的日志将不再继续投递至该主题,已经投递的日志将会被全部清空。生效时间约为 5~15 分钟。
396
386
  */
@@ -441,18 +431,5 @@ class Client extends TencentCloudCommon.AbstractClient {
441
431
  async UpdatePayType(req, cb) {
442
432
  return this.request("UpdatePayType", req, cb);
443
433
  }
444
- /**
445
- * ### <font color=red>**该接口已废弃** </font><br>
446
- EnableCaches 用于解禁手工封禁的 URL,解禁成功后,全网生效时间约 5~10 分钟。
447
- */
448
- async EnableCaches(req, cb) {
449
- return this.request("EnableCaches", req, cb);
450
- }
451
- /**
452
- * 通过CLS日志计算Top信息。支持近7天的日志数据。
453
- */
454
- async ListTopClsLogData(req, cb) {
455
- return this.request("ListTopClsLogData", req, cb);
456
- }
457
434
  }
458
435
  exports.Client = Client;
@@ -132,29 +132,21 @@ export interface ResourceData {
132
132
  CdnData: Array<CdnData>;
133
133
  }
134
134
  /**
135
- * 封禁url的详细信息
135
+ * UserAgent黑白名单配置
136
136
  */
137
- export interface UrlRecord {
138
- /**
139
- * 状态(disable表示封禁,enable表示解封)
140
- 注意:此字段可能返回 null,表示取不到有效值。
141
- */
142
- Status?: string;
143
- /**
144
- * 对应的url
145
- 注意:此字段可能返回 null,表示取不到有效值。
146
- */
147
- RealUrl?: string;
137
+ export interface UserAgentFilter {
148
138
  /**
149
- * 创建时间
139
+ * UserAgent黑白名单配置开关,取值有:
140
+ on:开启
141
+ off:关闭
150
142
  注意:此字段可能返回 null,表示取不到有效值。
151
143
  */
152
- CreateTime?: string;
144
+ Switch: string;
153
145
  /**
154
- * 更新时间
146
+ * UA黑白名单生效规则列表,不能超过10条规则
155
147
  注意:此字段可能返回 null,表示取不到有效值。
156
148
  */
157
- UpdateTime?: string;
149
+ FilterRules?: Array<UserAgentFilterRule>;
158
150
  }
159
151
  /**
160
152
  * 其他厂商对象存储回源鉴权
@@ -577,23 +569,6 @@ export interface DomainFilter {
577
569
  */
578
570
  Fuzzy?: boolean;
579
571
  }
580
- /**
581
- * DescribeCdnOriginIp返回参数结构体
582
- */
583
- export interface DescribeCdnOriginIpResponse {
584
- /**
585
- * 回源节点IP详情。
586
- */
587
- Ips?: Array<OriginIp>;
588
- /**
589
- * 回源节点IP总个数。
590
- */
591
- TotalCount?: number;
592
- /**
593
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
594
- */
595
- RequestId?: string;
596
- }
597
572
  /**
598
573
  * 参数黑名单
599
574
  */
@@ -809,23 +784,6 @@ export interface Referer {
809
784
  */
810
785
  RefererRules?: Array<RefererRule>;
811
786
  }
812
- /**
813
- * UserAgent黑白名单配置
814
- */
815
- export interface UserAgentFilter {
816
- /**
817
- * UserAgent黑白名单配置开关,取值有:
818
- on:开启
819
- off:关闭
820
- 注意:此字段可能返回 null,表示取不到有效值。
821
- */
822
- Switch: string;
823
- /**
824
- * UA黑白名单生效规则列表,不能超过10条规则
825
- 注意:此字段可能返回 null,表示取不到有效值。
826
- */
827
- FilterRules?: Array<UserAgentFilterRule>;
828
- }
829
787
  /**
830
788
  * DescribeCdnData返回参数结构体
831
789
  */
@@ -915,14 +873,21 @@ export interface AccessControl {
915
873
  ReturnCode?: number;
916
874
  }
917
875
  /**
918
- * DeleteCdnDomain请求参数结构体
876
+ * DescribeCdnOriginIp返回参数结构体
919
877
  */
920
- export interface DeleteCdnDomainRequest {
878
+ export interface DescribeCdnOriginIpResponse {
921
879
  /**
922
- * 域名
923
- 域名状态需要为【已停用】
880
+ * 回源节点IP详情。
924
881
  */
925
- Domain: string;
882
+ Ips?: Array<OriginIp>;
883
+ /**
884
+ * 回源节点IP总个数。
885
+ */
886
+ TotalCount?: number;
887
+ /**
888
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
889
+ */
890
+ RequestId?: string;
926
891
  }
927
892
  /**
928
893
  * DescribePayType返回参数结构体
@@ -1515,19 +1480,6 @@ export interface TopData {
1515
1480
  */
1516
1481
  DetailData?: Array<TopDetailData>;
1517
1482
  }
1518
- /**
1519
- * EnableCaches请求参数结构体
1520
- */
1521
- export interface EnableCachesRequest {
1522
- /**
1523
- * 解封 URL 列表
1524
- */
1525
- Urls: Array<string>;
1526
- /**
1527
- * URL封禁日期
1528
- */
1529
- Date?: string;
1530
- }
1531
1483
  /**
1532
1484
  * 通过Cls日志,计算出来的IP每秒访问数量
1533
1485
  */
@@ -2922,19 +2874,22 @@ export interface UpdateDomainConfigRequest {
2922
2874
  ParamFilter?: ParamFilter;
2923
2875
  }
2924
2876
  /**
2925
- * 域名标签配置
2877
+ * ShareCname配置
2878
+ ShareCname 为内测功能,如需使用,请联系腾讯云工程师开白.
2926
2879
  */
2927
- export interface Tag {
2880
+ export interface ShareCname {
2928
2881
  /**
2929
- * 标签键
2930
- 注意:此字段可能返回 null,表示取不到有效值。
2882
+ * ShareCname 配置开关, 取值有:
2883
+ on:开启,使用共享CNAME
2884
+ off:关闭,使用默认CNAME
2885
+
2931
2886
  */
2932
- TagKey: string;
2887
+ Switch: string;
2933
2888
  /**
2934
- * 标签值
2889
+ * 设置共享CNAME.
2935
2890
  注意:此字段可能返回 null,表示取不到有效值。
2936
2891
  */
2937
- TagValue: string;
2892
+ Cname?: string;
2938
2893
  }
2939
2894
  /**
2940
2895
  * 路径缓存遵循源站配置
@@ -3737,16 +3692,6 @@ export interface HttpHeaderPathRule {
3737
3692
  */
3738
3693
  RulePaths: Array<string>;
3739
3694
  }
3740
- /**
3741
- * DisableCaches请求参数结构体
3742
- */
3743
- export interface DisableCachesRequest {
3744
- /**
3745
- * 禁用的 URL 列表(分协议生效,必须包含http://或https://)
3746
- 每次最多可提交 100 条,每日最多可提交 3000 条
3747
- */
3748
- Urls: Array<string>;
3749
- }
3750
3695
  /**
3751
3696
  * DescribeEdgePackTaskStatus返回参数结构体
3752
3697
  */
@@ -3872,27 +3817,6 @@ export interface DisableClsLogTopicResponse {
3872
3817
  */
3873
3818
  RequestId?: string;
3874
3819
  }
3875
- /**
3876
- * HSTS 配置。
3877
- */
3878
- export interface Hsts {
3879
- /**
3880
- * HSTS 配置开关,取值有:
3881
- on:开启
3882
- off:关闭
3883
- */
3884
- Switch: string;
3885
- /**
3886
- * MaxAge数值。
3887
- 注意:此字段可能返回 null,表示取不到有效值。
3888
- */
3889
- MaxAge?: number;
3890
- /**
3891
- * 是否包含子域名,on或off。
3892
- 注意:此字段可能返回 null,表示取不到有效值。
3893
- */
3894
- IncludeSubDomains?: string;
3895
- }
3896
3820
  /**
3897
3821
  * DescribeIpStatus请求参数结构体
3898
3822
  */
@@ -4299,23 +4223,6 @@ export interface RuleEngine {
4299
4223
  */
4300
4224
  Content?: string;
4301
4225
  }
4302
- /**
4303
- * GetDisableRecords返回参数结构体
4304
- */
4305
- export interface GetDisableRecordsResponse {
4306
- /**
4307
- * 封禁历史记录
4308
- */
4309
- UrlRecordList?: Array<UrlRecord>;
4310
- /**
4311
- * 任务总数,用于分页
4312
- */
4313
- TotalCount?: number;
4314
- /**
4315
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4316
- */
4317
- RequestId?: string;
4318
- }
4319
4226
  /**
4320
4227
  * Ipv6访问配置
4321
4228
  */
@@ -5184,19 +5091,25 @@ export interface RequestHeader {
5184
5091
  HeaderRules?: Array<HttpHeaderPathRule>;
5185
5092
  }
5186
5093
  /**
5187
- * 违规资源封禁/解封返回类型
5094
+ * HSTS 配置。
5188
5095
  */
5189
- export interface CacheOptResult {
5096
+ export interface Hsts {
5097
+ /**
5098
+ * HSTS 配置开关,取值有:
5099
+ on:开启
5100
+ off:关闭
5101
+ */
5102
+ Switch: string;
5190
5103
  /**
5191
- * 成功的url列表
5104
+ * MaxAge数值。
5192
5105
  注意:此字段可能返回 null,表示取不到有效值。
5193
5106
  */
5194
- SuccessUrls?: Array<string>;
5107
+ MaxAge?: number;
5195
5108
  /**
5196
- * 失败的url列表
5109
+ * 是否包含子域名,on或off。
5197
5110
  注意:此字段可能返回 null,表示取不到有效值。
5198
5111
  */
5199
- FailUrls?: Array<string>;
5112
+ IncludeSubDomains?: string;
5200
5113
  }
5201
5114
  /**
5202
5115
  * ListTopClsLogData请求参数结构体
@@ -5348,23 +5261,6 @@ export interface DescribeMapInfoRequest {
5348
5261
  */
5349
5262
  Name: string;
5350
5263
  }
5351
- /**
5352
- * EnableCaches返回参数结构体
5353
- */
5354
- export interface EnableCachesResponse {
5355
- /**
5356
- * 结果列表
5357
- */
5358
- CacheOptResult?: CacheOptResult;
5359
- /**
5360
- * 任务ID
5361
- */
5362
- TaskId?: string;
5363
- /**
5364
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5365
- */
5366
- RequestId?: string;
5367
- }
5368
5264
  /**
5369
5265
  * 路径保留参数配置
5370
5266
  */
@@ -5534,41 +5430,6 @@ export interface DescribeEdgePackTaskStatusRequest {
5534
5430
  */
5535
5431
  Filters?: Array<EdgePackTaskFilter>;
5536
5432
  }
5537
- /**
5538
- * GetDisableRecords请求参数结构体
5539
- */
5540
- export interface GetDisableRecordsRequest {
5541
- /**
5542
- * 指定 URL 查询
5543
- */
5544
- Url?: string;
5545
- /**
5546
- * 开始时间,如:2018-12-12 10:24:00。
5547
- */
5548
- StartTime?: string;
5549
- /**
5550
- * 结束时间,如:2018-12-14 10:24:00。
5551
- */
5552
- EndTime?: string;
5553
- /**
5554
- * URL 当前状态
5555
- disable:当前仍为禁用状态,访问返回 403
5556
- enable:当前为可用状态,已解禁,可正常访问
5557
- */
5558
- Status?: string;
5559
- /**
5560
- * 分页查询偏移量,默认为 0
5561
- */
5562
- Offset?: number;
5563
- /**
5564
- * 分页查询限制数目,默认为20。
5565
- */
5566
- Limit?: number;
5567
- /**
5568
- * 任务ID,任务ID和起始时间需要至少填写一项。
5569
- */
5570
- TaskId?: string;
5571
- }
5572
5433
  /**
5573
5434
  * CreateDiagnoseUrl请求参数结构体
5574
5435
  */
@@ -5625,23 +5486,6 @@ export interface DescribeBillingDataResponse {
5625
5486
  */
5626
5487
  RequestId?: string;
5627
5488
  }
5628
- /**
5629
- * DisableCaches返回参数结构体
5630
- */
5631
- export interface DisableCachesResponse {
5632
- /**
5633
- * 提交结果
5634
- */
5635
- CacheOptResult?: CacheOptResult;
5636
- /**
5637
- * 任务ID
5638
- */
5639
- TaskId?: string;
5640
- /**
5641
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5642
- */
5643
- RequestId?: string;
5644
- }
5645
5489
  /**
5646
5490
  * 作为CacheKey的一部分
5647
5491
  */
@@ -6076,22 +5920,45 @@ export interface CappingRule {
6076
5920
  KBpsThreshold: number;
6077
5921
  }
6078
5922
  /**
6079
- * ShareCname配置
6080
- ShareCname 为内测功能,如需使用,请联系腾讯云工程师开白.
5923
+ * 预热任务详情
6081
5924
  */
6082
- export interface ShareCname {
5925
+ export interface PushTask {
6083
5926
  /**
6084
- * ShareCname 配置开关, 取值有:
6085
- on:开启,使用共享CNAME
6086
- off:关闭,使用默认CNAME
6087
-
5927
+ * 预热任务 ID
6088
5928
  */
6089
- Switch: string;
5929
+ TaskId?: string;
6090
5930
  /**
6091
- * 设置共享CNAME.
5931
+ * 预热 URL
5932
+ */
5933
+ Url?: string;
5934
+ /**
5935
+ * 预热任务状态
5936
+ fail:预热失败
5937
+ done:预热成功
5938
+ process:预热中
5939
+ invalid:预热无效(源站返回4xx或5xx状态码)
5940
+ */
5941
+ Status?: string;
5942
+ /**
5943
+ * 预热进度百分比
5944
+ */
5945
+ Percent?: number;
5946
+ /**
5947
+ * 预热任务提交时间
5948
+ */
5949
+ CreateTime?: string;
5950
+ /**
5951
+ * 预热区域
5952
+ mainland:境内
5953
+ overseas:境外
5954
+ global:全球
5955
+ */
5956
+ Area?: string;
5957
+ /**
5958
+ * 预热任务更新时间
6092
5959
  注意:此字段可能返回 null,表示取不到有效值。
6093
5960
  */
6094
- Cname?: string;
5961
+ UpdateTime?: string;
6095
5962
  }
6096
5963
  /**
6097
5964
  * ListClsLogTopics请求参数结构体
@@ -6407,45 +6274,14 @@ export interface ErrorPage {
6407
6274
  PageRules?: Array<ErrorPageRule>;
6408
6275
  }
6409
6276
  /**
6410
- * 预热任务详情
6277
+ * DeleteCdnDomain请求参数结构体
6411
6278
  */
6412
- export interface PushTask {
6413
- /**
6414
- * 预热任务 ID
6415
- */
6416
- TaskId?: string;
6417
- /**
6418
- * 预热 URL
6419
- */
6420
- Url?: string;
6421
- /**
6422
- * 预热任务状态
6423
- fail:预热失败
6424
- done:预热成功
6425
- process:预热中
6426
- invalid:预热无效(源站返回4xx或5xx状态码)
6427
- */
6428
- Status?: string;
6429
- /**
6430
- * 预热进度百分比
6431
- */
6432
- Percent?: number;
6433
- /**
6434
- * 预热任务提交时间
6435
- */
6436
- CreateTime?: string;
6437
- /**
6438
- * 预热区域
6439
- mainland:境内
6440
- overseas:境外
6441
- global:全球
6442
- */
6443
- Area?: string;
6279
+ export interface DeleteCdnDomainRequest {
6444
6280
  /**
6445
- * 预热任务更新时间
6446
- 注意:此字段可能返回 null,表示取不到有效值。
6281
+ * 域名
6282
+ 域名状态需要为【已停用】
6447
6283
  */
6448
- UpdateTime?: string;
6284
+ Domain: string;
6449
6285
  }
6450
6286
  /**
6451
6287
  * CreateEdgePackTask返回参数结构体
@@ -7016,6 +6852,21 @@ export interface ModifyDomainConfigRequest {
7016
6852
  */
7017
6853
  Value: string;
7018
6854
  }
6855
+ /**
6856
+ * 域名标签配置
6857
+ */
6858
+ export interface Tag {
6859
+ /**
6860
+ * 标签键
6861
+ 注意:此字段可能返回 null,表示取不到有效值。
6862
+ */
6863
+ TagKey: string;
6864
+ /**
6865
+ * 标签值
6866
+ 注意:此字段可能返回 null,表示取不到有效值。
6867
+ */
6868
+ TagValue: string;
6869
+ }
7019
6870
  /**
7020
6871
  * Cls日志搜索结果
7021
6872
  */
@@ -7081,7 +6932,12 @@ export interface IpFilter {
7081
6932
  */
7082
6933
  FilterRules?: Array<IpFilterPathRule>;
7083
6934
  /**
7084
- * IP 黑白名单验证失败时返回的 code <br><font color=red>已下线,参数失效,不支持自定义状态码,固定返回514</font>
6935
+ * IP 黑白名单验证失败时返回的状态码。
6936
+ 注意:
6937
+ 请求拒绝时,平台默认响应514状态。
6938
+ 支持自定义为403,404,609状态码,空值时或自定义的不在范围内,均默认为514.
6939
+ 非514状态码将计入HTTPS计费统计,最终账单将按您的计费规则生成。
6940
+ 若您开启了自定义状态码,则默认您认同<a href="https://cloud.tencent.com/document/product/228/75563">HTTPS计费规则</a>。
7085
6941
  注意:此字段可能返回 null,表示取不到有效值。
7086
6942
  */
7087
6943
  ReturnCode?: number;