tencentcloud-sdk-nodejs-cdn 4.0.217 → 4.0.221
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 +763 -373
- package/package.json +1 -1
- package/products.md +27 -26
- package/src/services/cdn/v20180606/cdn_client.ts +105 -40
- package/src/services/cdn/v20180606/cdn_models.ts +864 -349
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +29 -9
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +42 -12
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +754 -315
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeCdnDomainLogsResponse, DescribePushQuotaResponse, DescribePurgeQuotaResponse, DescribeScdnTopDataResponse, DescribeCdnDomainLogsRequest, CreateClsLogTopicResponse, PurgePathCacheResponse, DescribeCdnOriginIpResponse, DescribePurgeQuotaRequest, ModifyPurgeFetchTaskStatusRequest, StartScdnDomainRequest, ListTopWafDataRequest, DescribeCdnDataResponse,
|
|
2
|
+
import { DescribeWafDataRequest, DescribeCdnDomainLogsResponse, DescribePushQuotaResponse, DescribePurgeQuotaResponse, DescribeScdnTopDataResponse, DescribeCdnDomainLogsRequest, CreateClsLogTopicResponse, PurgePathCacheResponse, DescribeCdnOriginIpResponse, DescribePurgeQuotaRequest, ModifyPurgeFetchTaskStatusRequest, StartScdnDomainRequest, ListTopWafDataRequest, DescribeCdnDataResponse, DescribeIpStatusResponse, UpdateImageConfigResponse, ListTopDDoSDataRequest, DescribeDistrictIspDataRequest, DeleteCdnDomainRequest, DescribePayTypeResponse, DescribeEventLogDataRequest, ListTopDataRequest, ListClsTopicDomainsRequest, DescribeDomainsResponse, DescribePayTypeRequest, DescribeCcDataResponse, UpdateImageConfigRequest, DisableCachesRequest, StartCdnDomainResponse, UpdateScdnDomainResponse, DescribeDomainsConfigRequest, EnableCachesRequest, CreateScdnDomainRequest, DescribeBillingDataRequest, DeleteClsLogTopicRequest, ListTopCcDataRequest, StartCdnDomainRequest, DeleteScdnDomainRequest, DescribeDistrictIspDataResponse, DescribeCdnOriginIpRequest, UpdatePayTypeResponse, DescribeDomainsConfigResponse, DescribeDiagnoseReportRequest, PushUrlsCacheRequest, DescribeReportDataResponse, DisableClsLogTopicRequest, ListClsTopicDomainsResponse, DescribeCdnIpRequest, DescribeTrafficPackagesRequest, DescribeIpVisitResponse, EnableClsLogTopicResponse, ListClsLogTopicsResponse, AddCdnDomainRequest, ListTopBotDataResponse, UpdateDomainConfigRequest, DescribeCertDomainsRequest, SearchClsLogResponse, CreateScdnLogTaskResponse, DescribeCertDomainsResponse, DuplicateDomainConfigRequest, DescribeScdnIpStrategyResponse, DescribePushTasksResponse, AddCdnDomainResponse, ListScdnDomainsResponse, VerifyDomainRecordResponse, ListScdnDomainsRequest, CreateScdnLogTaskRequest, ModifyPurgeFetchTaskStatusResponse, DisableClsLogTopicResponse, DescribeIpStatusRequest, GetDisableRecordsResponse, DuplicateDomainConfigResponse, UpdateScdnDomainRequest, UpdatePayTypeRequest, ManageClsTopicDomainsRequest, ListDiagnoseReportRequest, CreateScdnFailedLogTaskRequest, DescribeOriginDataRequest, ListScdnLogTasksRequest, ListTopCcDataResponse, DescribeReportDataRequest, DescribePushTasksRequest, DescribeDDoSDataRequest, DescribeUrlViolationsRequest, DescribeScdnIpStrategyRequest, EnableClsLogTopicRequest, CreateDiagnoseUrlResponse, CreateClsLogTopicRequest, DescribeScdnTopDataRequest, ListTopClsLogDataRequest, CreateVerifyRecordResponse, StopCdnDomainRequest, DescribeMapInfoResponse, DescribeTrafficPackagesResponse, DescribeMapInfoRequest, EnableCachesResponse, DescribeIpVisitRequest, CreateScdnDomainResponse, StopScdnDomainResponse, GetDisableRecordsRequest, CreateDiagnoseUrlRequest, PurgeUrlsCacheResponse, StartScdnDomainResponse, DeleteClsLogTopicResponse, DescribeBillingDataResponse, DisableCachesResponse, DescribeImageConfigRequest, DescribeCdnIpResponse, DescribeCcDataRequest, ListScdnLogTasksResponse, ListTopClsLogDataResponse, VerifyDomainRecordRequest, DeleteScdnDomainResponse, ListClsLogTopicsRequest, CreateVerifyRecordRequest, DescribeWafDataResponse, PurgePathCacheRequest, DescribeDiagnoseReportResponse, CreateScdnFailedLogTaskResponse, PurgeUrlsCacheRequest, CreateEdgePackTaskResponse, DescribeScdnConfigResponse, DescribePushQuotaRequest, ListTopWafDataResponse, DescribeEventLogDataResponse, ListTopBotDataRequest, PushUrlsCacheResponse, ListTopDataResponse, UpdateDomainConfigResponse, ListDiagnoseReportResponse, SearchClsLogRequest, ManageClsTopicDomainsResponse, DescribeUrlViolationsResponse, DescribePurgeTasksResponse, DescribePurgeTasksRequest, DescribeOriginDataResponse, DeleteCdnDomainResponse, ListTopDDoSDataResponse, DescribeCdnDataRequest, DescribeImageConfigResponse, DescribeScdnConfigRequest, StopScdnDomainRequest, DescribeDDoSDataResponse, DescribeDomainsRequest, CreateEdgePackTaskRequest, StopCdnDomainResponse } from "./cdn_models";
|
|
3
3
|
/**
|
|
4
4
|
* cdn client
|
|
5
5
|
* @class
|
|
@@ -50,6 +50,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
50
50
|
* AddCdnDomain 用于新增内容分发网络加速域名。
|
|
51
51
|
*/
|
|
52
52
|
AddCdnDomain(req: AddCdnDomainRequest, cb?: (error: string, rep: AddCdnDomainResponse) => void): Promise<AddCdnDomainResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* GetDisableRecords 用于查询资源禁用历史,及 URL 当前状态。(接口尚在内测中,暂未全量开放使用)
|
|
55
|
+
*/
|
|
56
|
+
GetDisableRecords(req: GetDisableRecordsRequest, cb?: (error: string, rep: GetDisableRecordsResponse) => void): Promise<GetDisableRecordsResponse>;
|
|
53
57
|
/**
|
|
54
58
|
* DescribeIpVisit 用于查询 5 分钟活跃用户数,及日活跃用户数明细
|
|
55
59
|
|
|
@@ -86,9 +90,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
86
90
|
*/
|
|
87
91
|
CreateVerifyRecord(req: CreateVerifyRecordRequest, cb?: (error: string, rep: CreateVerifyRecordResponse) => void): Promise<CreateVerifyRecordResponse>;
|
|
88
92
|
/**
|
|
89
|
-
*
|
|
93
|
+
* CC统计数据查询
|
|
90
94
|
*/
|
|
91
|
-
|
|
95
|
+
DescribeCcData(req: DescribeCcDataRequest, cb?: (error: string, rep: DescribeCcDataResponse) => void): Promise<DescribeCcDataResponse>;
|
|
92
96
|
/**
|
|
93
97
|
* ManageClsTopicDomains 用于管理某日志主题下绑定的域名列表。
|
|
94
98
|
*/
|
|
@@ -110,9 +114,17 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
110
114
|
*/
|
|
111
115
|
StopScdnDomain(req: StopScdnDomainRequest, cb?: (error: string, rep: StopScdnDomainResponse) => void): Promise<StopScdnDomainResponse>;
|
|
112
116
|
/**
|
|
113
|
-
*
|
|
117
|
+
* DescribeDiagnoseReport 用于获取指定报告id的内容
|
|
114
118
|
*/
|
|
115
|
-
|
|
119
|
+
DescribeDiagnoseReport(req: DescribeDiagnoseReportRequest, cb?: (error: string, rep: DescribeDiagnoseReportResponse) => void): Promise<DescribeDiagnoseReportResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* DDoS统计数据查询
|
|
122
|
+
*/
|
|
123
|
+
DescribeDDoSData(req: DescribeDDoSDataRequest, cb?: (error: string, rep: DescribeDDoSDataResponse) => void): Promise<DescribeDDoSDataResponse>;
|
|
124
|
+
/**
|
|
125
|
+
* 通过CLS日志计算Top信息。支持近7天的日志数据。
|
|
126
|
+
*/
|
|
127
|
+
ListTopClsLogData(req: ListTopClsLogDataRequest, cb?: (error: string, rep: ListTopClsLogDataResponse) => void): Promise<ListTopClsLogDataResponse>;
|
|
116
128
|
/**
|
|
117
129
|
* ListDiagnoseReport 用于获取用户诊断URL访问后各个子任务的简要详情。
|
|
118
130
|
*/
|
|
@@ -121,6 +133,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
121
133
|
* 获取CC攻击Top数据
|
|
122
134
|
*/
|
|
123
135
|
ListTopCcData(req: ListTopCcDataRequest, cb?: (error: string, rep: ListTopCcDataResponse) => void): Promise<ListTopCcDataResponse>;
|
|
136
|
+
/**
|
|
137
|
+
* 查询在SCDN IP安全策略
|
|
138
|
+
*/
|
|
139
|
+
DescribeScdnIpStrategy(req: DescribeScdnIpStrategyRequest, cb?: (error: string, rep: DescribeScdnIpStrategyResponse) => void): Promise<DescribeScdnIpStrategyResponse>;
|
|
124
140
|
/**
|
|
125
141
|
* DescribePurgeQuota 用于查询账户刷新配额和每日可用量。
|
|
126
142
|
*/
|
|
@@ -203,6 +219,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
203
219
|
对应内容分发网络控制台【图片鉴黄】页面。
|
|
204
220
|
*/
|
|
205
221
|
DescribeUrlViolations(req: DescribeUrlViolationsRequest, cb?: (error: string, rep: DescribeUrlViolationsResponse) => void): Promise<DescribeUrlViolationsResponse>;
|
|
222
|
+
/**
|
|
223
|
+
* Waf统计数据查询
|
|
224
|
+
*/
|
|
225
|
+
DescribeWafData(req: DescribeWafDataRequest, cb?: (error: string, rep: DescribeWafDataResponse) => void): Promise<DescribeWafDataResponse>;
|
|
206
226
|
/**
|
|
207
227
|
* 获取DDoS攻击Top数据
|
|
208
228
|
*/
|
|
@@ -231,13 +251,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
231
251
|
*/
|
|
232
252
|
DescribePushTasks(req: DescribePushTasksRequest, cb?: (error: string, rep: DescribePushTasksResponse) => void): Promise<DescribePushTasksResponse>;
|
|
233
253
|
/**
|
|
234
|
-
*
|
|
254
|
+
* DescribeCertDomains 用于校验SSL证书并提取证书中包含的域名。
|
|
235
255
|
*/
|
|
236
|
-
|
|
256
|
+
DescribeCertDomains(req: DescribeCertDomainsRequest, cb?: (error: string, rep: DescribeCertDomainsResponse) => void): Promise<DescribeCertDomainsResponse>;
|
|
237
257
|
/**
|
|
238
|
-
*
|
|
258
|
+
* DescribeEventLogData 用于查询事件日志统计曲线
|
|
239
259
|
*/
|
|
240
|
-
|
|
260
|
+
DescribeEventLogData(req: DescribeEventLogDataRequest, cb?: (error: string, rep: DescribeEventLogDataResponse) => void): Promise<DescribeEventLogDataResponse>;
|
|
241
261
|
/**
|
|
242
262
|
* CreateClsLogTopic 用于创建日志主题。注意:一个日志集下至多可创建10个日志主题。
|
|
243
263
|
*/
|
|
@@ -93,6 +93,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
93
93
|
async AddCdnDomain(req, cb) {
|
|
94
94
|
return this.request("AddCdnDomain", req, cb);
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* GetDisableRecords 用于查询资源禁用历史,及 URL 当前状态。(接口尚在内测中,暂未全量开放使用)
|
|
98
|
+
*/
|
|
99
|
+
async GetDisableRecords(req, cb) {
|
|
100
|
+
return this.request("GetDisableRecords", req, cb);
|
|
101
|
+
}
|
|
96
102
|
/**
|
|
97
103
|
* DescribeIpVisit 用于查询 5 分钟活跃用户数,及日活跃用户数明细
|
|
98
104
|
|
|
@@ -139,10 +145,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
139
145
|
return this.request("CreateVerifyRecord", req, cb);
|
|
140
146
|
}
|
|
141
147
|
/**
|
|
142
|
-
*
|
|
148
|
+
* CC统计数据查询
|
|
143
149
|
*/
|
|
144
|
-
async
|
|
145
|
-
return this.request("
|
|
150
|
+
async DescribeCcData(req, cb) {
|
|
151
|
+
return this.request("DescribeCcData", req, cb);
|
|
146
152
|
}
|
|
147
153
|
/**
|
|
148
154
|
* ManageClsTopicDomains 用于管理某日志主题下绑定的域名列表。
|
|
@@ -175,10 +181,22 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
175
181
|
return this.request("StopScdnDomain", req, cb);
|
|
176
182
|
}
|
|
177
183
|
/**
|
|
178
|
-
*
|
|
184
|
+
* DescribeDiagnoseReport 用于获取指定报告id的内容
|
|
179
185
|
*/
|
|
180
|
-
async
|
|
181
|
-
return this.request("
|
|
186
|
+
async DescribeDiagnoseReport(req, cb) {
|
|
187
|
+
return this.request("DescribeDiagnoseReport", req, cb);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* DDoS统计数据查询
|
|
191
|
+
*/
|
|
192
|
+
async DescribeDDoSData(req, cb) {
|
|
193
|
+
return this.request("DescribeDDoSData", req, cb);
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* 通过CLS日志计算Top信息。支持近7天的日志数据。
|
|
197
|
+
*/
|
|
198
|
+
async ListTopClsLogData(req, cb) {
|
|
199
|
+
return this.request("ListTopClsLogData", req, cb);
|
|
182
200
|
}
|
|
183
201
|
/**
|
|
184
202
|
* ListDiagnoseReport 用于获取用户诊断URL访问后各个子任务的简要详情。
|
|
@@ -192,6 +210,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
192
210
|
async ListTopCcData(req, cb) {
|
|
193
211
|
return this.request("ListTopCcData", req, cb);
|
|
194
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* 查询在SCDN IP安全策略
|
|
215
|
+
*/
|
|
216
|
+
async DescribeScdnIpStrategy(req, cb) {
|
|
217
|
+
return this.request("DescribeScdnIpStrategy", req, cb);
|
|
218
|
+
}
|
|
195
219
|
/**
|
|
196
220
|
* DescribePurgeQuota 用于查询账户刷新配额和每日可用量。
|
|
197
221
|
*/
|
|
@@ -304,6 +328,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
304
328
|
async DescribeUrlViolations(req, cb) {
|
|
305
329
|
return this.request("DescribeUrlViolations", req, cb);
|
|
306
330
|
}
|
|
331
|
+
/**
|
|
332
|
+
* Waf统计数据查询
|
|
333
|
+
*/
|
|
334
|
+
async DescribeWafData(req, cb) {
|
|
335
|
+
return this.request("DescribeWafData", req, cb);
|
|
336
|
+
}
|
|
307
337
|
/**
|
|
308
338
|
* 获取DDoS攻击Top数据
|
|
309
339
|
*/
|
|
@@ -344,16 +374,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
344
374
|
return this.request("DescribePushTasks", req, cb);
|
|
345
375
|
}
|
|
346
376
|
/**
|
|
347
|
-
*
|
|
377
|
+
* DescribeCertDomains 用于校验SSL证书并提取证书中包含的域名。
|
|
348
378
|
*/
|
|
349
|
-
async
|
|
350
|
-
return this.request("
|
|
379
|
+
async DescribeCertDomains(req, cb) {
|
|
380
|
+
return this.request("DescribeCertDomains", req, cb);
|
|
351
381
|
}
|
|
352
382
|
/**
|
|
353
|
-
*
|
|
383
|
+
* DescribeEventLogData 用于查询事件日志统计曲线
|
|
354
384
|
*/
|
|
355
|
-
async
|
|
356
|
-
return this.request("
|
|
385
|
+
async DescribeEventLogData(req, cb) {
|
|
386
|
+
return this.request("DescribeEventLogData", req, cb);
|
|
357
387
|
}
|
|
358
388
|
/**
|
|
359
389
|
* CreateClsLogTopic 用于创建日志主题。注意:一个日志集下至多可创建10个日志主题。
|