tencentcloud-sdk-nodejs-cdn 4.0.1029 → 4.1.8
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 +27 -5
- package/es/index.js +1 -0
- package/es/services/cdn/index.js +4 -0
- package/es/services/cdn/v20180606/cdn_client.js +249 -0
- package/es/services/cdn/v20180606/cdn_models.js +0 -0
- package/es/services/cdn/v20180606/index.js +6 -0
- package/es/services/index.js +1 -0
- package/package.json +26 -8
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +2 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +24 -24
- package/tencentcloud/services/cdn/v20180606/index.js +2 -1
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/cdn/index.ts +0 -5
- package/src/services/cdn/v20180606/cdn_client.ts +0 -1269
- package/src/services/cdn/v20180606/cdn_models.ts +0 -10602
- package/src/services/cdn/v20180606/index.ts +0 -6
- package/src/services/index.ts +0 -1
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,1269 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
|
-
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
|
-
import {
|
|
20
|
-
DescribeWafDataRequest,
|
|
21
|
-
DescribeCdnDomainLogsResponse,
|
|
22
|
-
ScdnTopUrlData,
|
|
23
|
-
Compression,
|
|
24
|
-
ImageOptimization,
|
|
25
|
-
DescribeCdnDomainLogsRequest,
|
|
26
|
-
CcTopData,
|
|
27
|
-
ListTopBotDataResponse,
|
|
28
|
-
SpecificConfig,
|
|
29
|
-
RuleCache,
|
|
30
|
-
HttpHeaderPathRule,
|
|
31
|
-
UserAgentFilter,
|
|
32
|
-
DescribeScdnTopDataResponse,
|
|
33
|
-
ScdnDomain,
|
|
34
|
-
CacheConfigNoCache,
|
|
35
|
-
BotRecord,
|
|
36
|
-
ListScdnTopBotDataRequest,
|
|
37
|
-
RedirectConfig,
|
|
38
|
-
UpdateScdnDomainResponse,
|
|
39
|
-
Origin,
|
|
40
|
-
DescribeBillingDataRequest,
|
|
41
|
-
Tag,
|
|
42
|
-
DescribeCdnOriginIpRequest,
|
|
43
|
-
DescribeDiagnoseReportRequest,
|
|
44
|
-
BriefDomain,
|
|
45
|
-
RuleCacheConfig,
|
|
46
|
-
EnableClsLogTopicResponse,
|
|
47
|
-
ListClsLogTopicsResponse,
|
|
48
|
-
VerifyDomainRecordResponse,
|
|
49
|
-
AdvancedAuthenticationTypeE,
|
|
50
|
-
AdvancedAuthenticationTypeD,
|
|
51
|
-
AdvancedAuthenticationTypeF,
|
|
52
|
-
AdvancedAuthenticationTypeA,
|
|
53
|
-
ListTopCcDataRequest,
|
|
54
|
-
AdvancedAuthenticationTypeB,
|
|
55
|
-
CreateScdnLogTaskResponse,
|
|
56
|
-
AuthenticationTypeC,
|
|
57
|
-
OriginAuthenticationTypeA,
|
|
58
|
-
DescribeScdnIpStrategyResponse,
|
|
59
|
-
DDoSAttackIPTopData,
|
|
60
|
-
CreateDiagnoseUrlResponse,
|
|
61
|
-
ListScdnDomainsResponse,
|
|
62
|
-
CreateScdnLogTaskRequest,
|
|
63
|
-
DescribeEdgePackTaskStatusResponse,
|
|
64
|
-
HeuristicCache,
|
|
65
|
-
SummarizedData,
|
|
66
|
-
ManageClsTopicDomainsRequest,
|
|
67
|
-
DomainBotCount,
|
|
68
|
-
PostSize,
|
|
69
|
-
ForceRedirect,
|
|
70
|
-
ListClsTopicDomainsRequest,
|
|
71
|
-
DescribeReportDataRequest,
|
|
72
|
-
DownstreamCapping,
|
|
73
|
-
CacheOptResult,
|
|
74
|
-
StopCdnDomainRequest,
|
|
75
|
-
EnableCachesResponse,
|
|
76
|
-
ScdnTopDomainData,
|
|
77
|
-
StartScdnDomainResponse,
|
|
78
|
-
ResponseHeader,
|
|
79
|
-
DisableCachesResponse,
|
|
80
|
-
EventLogStatsData,
|
|
81
|
-
DescribeIpStatusResponse,
|
|
82
|
-
DescribeDistrictIspDataRequest,
|
|
83
|
-
DeleteScdnDomainResponse,
|
|
84
|
-
CreateVerifyRecordRequest,
|
|
85
|
-
PurgePathCacheRequest,
|
|
86
|
-
DDoSAttackBandwidthData,
|
|
87
|
-
OriginPullOptimization,
|
|
88
|
-
PushTask,
|
|
89
|
-
SecurityConfig,
|
|
90
|
-
QueryStringKey,
|
|
91
|
-
MaxAge,
|
|
92
|
-
LogSetInfo,
|
|
93
|
-
AdvanceConfig,
|
|
94
|
-
AwsPrivateAccess,
|
|
95
|
-
VideoSeek,
|
|
96
|
-
Compatibility,
|
|
97
|
-
ModifyDomainConfigRequest,
|
|
98
|
-
ClsSearchLogs,
|
|
99
|
-
OriginIp,
|
|
100
|
-
DescribeScdnBotDataRequest,
|
|
101
|
-
ScdnConfig,
|
|
102
|
-
CdnIp,
|
|
103
|
-
ExtraLogset,
|
|
104
|
-
OfflineCache,
|
|
105
|
-
TopDataMore,
|
|
106
|
-
DiagnoseList,
|
|
107
|
-
HTTPHeader,
|
|
108
|
-
IpFilterPathRule,
|
|
109
|
-
ReportData,
|
|
110
|
-
AdvanceHttps,
|
|
111
|
-
DescribePurgeQuotaResponse,
|
|
112
|
-
AvifAdapter,
|
|
113
|
-
RemoteAuthenticationRule,
|
|
114
|
-
PurgePathCacheResponse,
|
|
115
|
-
DescribeTopDataRequest,
|
|
116
|
-
HttpsPackage,
|
|
117
|
-
ModifyPurgeFetchTaskStatusRequest,
|
|
118
|
-
Referer,
|
|
119
|
-
AdvanceCacheRule,
|
|
120
|
-
ListTopDDoSDataRequest,
|
|
121
|
-
DeleteCdnDomainRequest,
|
|
122
|
-
DescribeEventLogDataRequest,
|
|
123
|
-
PathRule,
|
|
124
|
-
DescribeDomainsResponse,
|
|
125
|
-
DescribeScdnConfigRequest,
|
|
126
|
-
DescribeCcDataResponse,
|
|
127
|
-
UpdatePayTypeResponse,
|
|
128
|
-
TopicInfo,
|
|
129
|
-
AdvancedCCRules,
|
|
130
|
-
CacheConfigCache,
|
|
131
|
-
ListScdnTopBotDataResponse,
|
|
132
|
-
DisableClsLogTopicRequest,
|
|
133
|
-
TrafficPackage,
|
|
134
|
-
BotCookie,
|
|
135
|
-
CreateScdnFailedLogTaskResponse,
|
|
136
|
-
StatusCodeCache,
|
|
137
|
-
ScdnCCRules,
|
|
138
|
-
AddCdnDomainRequest,
|
|
139
|
-
CacheConfigFollowOrigin,
|
|
140
|
-
DescribePayTypeRequest,
|
|
141
|
-
DeleteScdnDomainRequest,
|
|
142
|
-
DescribeHttpsPackagesResponse,
|
|
143
|
-
QnPrivateAccess,
|
|
144
|
-
MapInfo,
|
|
145
|
-
DescribeCertDomainsResponse,
|
|
146
|
-
ScdnBotConfig,
|
|
147
|
-
ResourceOriginData,
|
|
148
|
-
ListScdnDomainsRequest,
|
|
149
|
-
DisableCachesRequest,
|
|
150
|
-
AddCLSTopicDomainsResponse,
|
|
151
|
-
DescribeIpStatusRequest,
|
|
152
|
-
CreateScdnFailedLogTaskRequest,
|
|
153
|
-
DescribeCdnOriginIpResponse,
|
|
154
|
-
RangeOriginPull,
|
|
155
|
-
ViolationUrl,
|
|
156
|
-
SearchClsLogResponse,
|
|
157
|
-
PathBasedOriginRule,
|
|
158
|
-
PushUrlsCacheRequest,
|
|
159
|
-
DescribeUrlViolationsRequest,
|
|
160
|
-
RefererRule,
|
|
161
|
-
DescribeScdnIpStrategyRequest,
|
|
162
|
-
IpFreqLimit,
|
|
163
|
-
OriginSni,
|
|
164
|
-
EdgePackTaskFilter,
|
|
165
|
-
TopDetailDataMore,
|
|
166
|
-
DescribeIpVisitRequest,
|
|
167
|
-
StatusCodeCacheRule,
|
|
168
|
-
DeleteCdnDomainResponse,
|
|
169
|
-
DeleteClsLogTopicResponse,
|
|
170
|
-
BotStatisticsCount,
|
|
171
|
-
RangeOriginPullRule,
|
|
172
|
-
DescribeCdnIpResponse,
|
|
173
|
-
ScdnErrorPage,
|
|
174
|
-
UpdateImageConfigRequest,
|
|
175
|
-
TopData,
|
|
176
|
-
ListTopClsLogDataResponse,
|
|
177
|
-
ClientCert,
|
|
178
|
-
ShareCname,
|
|
179
|
-
ListClsLogTopicsRequest,
|
|
180
|
-
Seo,
|
|
181
|
-
CreateClsLogTopicRequest,
|
|
182
|
-
PurgeUrlsCacheRequest,
|
|
183
|
-
DescribeScdnConfigResponse,
|
|
184
|
-
DescribePushQuotaRequest,
|
|
185
|
-
DescribePurgeTasksRequest,
|
|
186
|
-
CreateDiagnoseUrlRequest,
|
|
187
|
-
CacheConfig,
|
|
188
|
-
ListTopDataResponse,
|
|
189
|
-
UpdateDomainConfigResponse,
|
|
190
|
-
ListDiagnoseReportResponse,
|
|
191
|
-
HeaderKey,
|
|
192
|
-
ScdnWafRule,
|
|
193
|
-
DescribeHttpsPackagesRequest,
|
|
194
|
-
IpFilter,
|
|
195
|
-
DiagnoseUnit,
|
|
196
|
-
DiagnoseInfo,
|
|
197
|
-
DescribeScdnBotRecordsResponse,
|
|
198
|
-
DDoSStatsData,
|
|
199
|
-
DescribeCdnDataRequest,
|
|
200
|
-
DescribeImageConfigResponse,
|
|
201
|
-
Cache,
|
|
202
|
-
StopScdnDomainRequest,
|
|
203
|
-
AdvancedAuthentication,
|
|
204
|
-
Revalidate,
|
|
205
|
-
UrlRecord,
|
|
206
|
-
OthersPrivateAccess,
|
|
207
|
-
DescribePushQuotaResponse,
|
|
208
|
-
Authentication,
|
|
209
|
-
CreateClsLogTopicResponse,
|
|
210
|
-
MaxAgeCodeRule,
|
|
211
|
-
ScdnAclRule,
|
|
212
|
-
DomainFilter,
|
|
213
|
-
DescribePurgeQuotaRequest,
|
|
214
|
-
StopScdnDomainResponse,
|
|
215
|
-
DescribePayTypeResponse,
|
|
216
|
-
ListTopDataRequest,
|
|
217
|
-
CacheKey,
|
|
218
|
-
DuplicateDomainConfigResponse,
|
|
219
|
-
CompressionRule,
|
|
220
|
-
GuetzliAdapter,
|
|
221
|
-
OriginCombine,
|
|
222
|
-
EnableCachesRequest,
|
|
223
|
-
ClsLogIpData,
|
|
224
|
-
DeleteClsLogTopicRequest,
|
|
225
|
-
AdvancedAuthenticationTypeC,
|
|
226
|
-
VerifyDomainRecordRequest,
|
|
227
|
-
CreateVerifyRecordResponse,
|
|
228
|
-
DescribeReportDataResponse,
|
|
229
|
-
ListClsTopicDomainsResponse,
|
|
230
|
-
Ipv6,
|
|
231
|
-
DescribeTrafficPackagesRequest,
|
|
232
|
-
ManageClsTopicDomainsResponse,
|
|
233
|
-
OverseaConfig,
|
|
234
|
-
AdvancedCache,
|
|
235
|
-
StartCdnDomainRequest,
|
|
236
|
-
DescribePushTasksResponse,
|
|
237
|
-
AddCdnDomainResponse,
|
|
238
|
-
HttpHeaderRule,
|
|
239
|
-
AccessControlRule,
|
|
240
|
-
DistrictIspInfo,
|
|
241
|
-
SimpleCacheRule,
|
|
242
|
-
ModifyPurgeFetchTaskStatusResponse,
|
|
243
|
-
DisableClsLogTopicResponse,
|
|
244
|
-
TpgAdapter,
|
|
245
|
-
DetailDomain,
|
|
246
|
-
GetDisableRecordsResponse,
|
|
247
|
-
Ipv6Access,
|
|
248
|
-
BotSortBy,
|
|
249
|
-
AddCLSTopicDomainsRequest,
|
|
250
|
-
EdgePackTaskStatus,
|
|
251
|
-
MainlandConfig,
|
|
252
|
-
DescribeDDoSDataRequest,
|
|
253
|
-
CreateEdgePackTaskRequest,
|
|
254
|
-
StatisticItem,
|
|
255
|
-
RequestHeader,
|
|
256
|
-
Hsts,
|
|
257
|
-
ListTopClsLogDataRequest,
|
|
258
|
-
DescribeTrafficPackagesResponse,
|
|
259
|
-
DescribeMapInfoRequest,
|
|
260
|
-
RuleQueryString,
|
|
261
|
-
AdvancedScdnAclRule,
|
|
262
|
-
DescribeEdgePackTaskStatusRequest,
|
|
263
|
-
GetDisableRecordsRequest,
|
|
264
|
-
PurgeUrlsCacheResponse,
|
|
265
|
-
DescribeImageConfigRequest,
|
|
266
|
-
ScdnTopData,
|
|
267
|
-
OssPrivateAccess,
|
|
268
|
-
ListScdnLogTasksResponse,
|
|
269
|
-
UrlRedirect,
|
|
270
|
-
CookieKey,
|
|
271
|
-
ParamFilterRule,
|
|
272
|
-
BandwidthAlert,
|
|
273
|
-
ClsLogObject,
|
|
274
|
-
DescribeWafDataResponse,
|
|
275
|
-
RegionMapRelation,
|
|
276
|
-
DescribeDiagnoseReportResponse,
|
|
277
|
-
SimpleCache,
|
|
278
|
-
BotStatsDetailData,
|
|
279
|
-
Sort,
|
|
280
|
-
DescribeEventLogDataResponse,
|
|
281
|
-
ScdnLogTaskDetail,
|
|
282
|
-
ResourceBillingData,
|
|
283
|
-
SearchClsLogRequest,
|
|
284
|
-
UpdateDomainConfigRequest,
|
|
285
|
-
AdvancedScdnAclGroup,
|
|
286
|
-
ScdnAclGroup,
|
|
287
|
-
WafSubRuleStatus,
|
|
288
|
-
ScdnAclConfig,
|
|
289
|
-
OriginAuthentication,
|
|
290
|
-
PurgeTask,
|
|
291
|
-
SchemeKey,
|
|
292
|
-
DescribeCcDataRequest,
|
|
293
|
-
CacheTagKey,
|
|
294
|
-
ScdnTypeData,
|
|
295
|
-
DescribeDomainsRequest,
|
|
296
|
-
ResourceData,
|
|
297
|
-
ScdnSevenLayerRules,
|
|
298
|
-
Https,
|
|
299
|
-
ScdnEventLogConditions,
|
|
300
|
-
ParamFilter,
|
|
301
|
-
FollowRedirect,
|
|
302
|
-
DescribeScdnBotDataResponse,
|
|
303
|
-
StartScdnDomainRequest,
|
|
304
|
-
ListTopWafDataRequest,
|
|
305
|
-
DescribeCdnDataResponse,
|
|
306
|
-
UpdateImageConfigResponse,
|
|
307
|
-
DescribeOriginDataRequest,
|
|
308
|
-
ScdnIpStrategyFilter,
|
|
309
|
-
CreateScdnDomainRequest,
|
|
310
|
-
TopDetailData,
|
|
311
|
-
DescribeDistrictIspDataResponse,
|
|
312
|
-
RuleEngine,
|
|
313
|
-
DescribeDomainsConfigResponse,
|
|
314
|
-
HttpsBilling,
|
|
315
|
-
DescribeCdnIpRequest,
|
|
316
|
-
DescribeIpVisitResponse,
|
|
317
|
-
UserAgentFilterRule,
|
|
318
|
-
ErrorPage,
|
|
319
|
-
MaxAgeRule,
|
|
320
|
-
DescribeCertDomainsRequest,
|
|
321
|
-
DescribeDomainsConfigRequest,
|
|
322
|
-
ListTopDDoSDataResponse,
|
|
323
|
-
WebpAdapter,
|
|
324
|
-
WebSocket,
|
|
325
|
-
AuthenticationTypeD,
|
|
326
|
-
DuplicateDomainConfigRequest,
|
|
327
|
-
AuthenticationTypeB,
|
|
328
|
-
AuthenticationTypeA,
|
|
329
|
-
IpStatus,
|
|
330
|
-
ServerCert,
|
|
331
|
-
CdnIpHistory,
|
|
332
|
-
UpdateScdnDomainRequest,
|
|
333
|
-
UpdatePayTypeRequest,
|
|
334
|
-
ListDiagnoseReportRequest,
|
|
335
|
-
ScdnWafConfig,
|
|
336
|
-
DiagnoseData,
|
|
337
|
-
DescribeScdnBotRecordsRequest,
|
|
338
|
-
ListScdnLogTasksRequest,
|
|
339
|
-
ListTopCcDataResponse,
|
|
340
|
-
DescribePushTasksRequest,
|
|
341
|
-
DescribeOriginDataResponse,
|
|
342
|
-
DomainAreaConfig,
|
|
343
|
-
DescribeMapInfoResponse,
|
|
344
|
-
CreateScdnDomainResponse,
|
|
345
|
-
DomainLog,
|
|
346
|
-
ListTopBotDataRequest,
|
|
347
|
-
BotJavaScript,
|
|
348
|
-
DescribeBillingDataResponse,
|
|
349
|
-
ResponseHeaderCache,
|
|
350
|
-
EnableClsLogTopicRequest,
|
|
351
|
-
AccessControl,
|
|
352
|
-
RemoteAuthentication,
|
|
353
|
-
KeyRule,
|
|
354
|
-
CappingRule,
|
|
355
|
-
ModifyDomainConfigResponse,
|
|
356
|
-
Quic,
|
|
357
|
-
CdnData,
|
|
358
|
-
CreateEdgePackTaskResponse,
|
|
359
|
-
TimestampData,
|
|
360
|
-
StartCdnDomainResponse,
|
|
361
|
-
ListTopWafDataResponse,
|
|
362
|
-
ClientInfo,
|
|
363
|
-
ErrorPageRule,
|
|
364
|
-
HwPrivateAccess,
|
|
365
|
-
PushUrlsCacheResponse,
|
|
366
|
-
StopCdnDomainResponse,
|
|
367
|
-
Quota,
|
|
368
|
-
BotStats,
|
|
369
|
-
DescribeUrlViolationsResponse,
|
|
370
|
-
DescribePurgeTasksResponse,
|
|
371
|
-
ScdnDdosConfig,
|
|
372
|
-
DDoSTopData,
|
|
373
|
-
OriginPullTimeout,
|
|
374
|
-
DescribeScdnTopDataRequest,
|
|
375
|
-
ScdnIpStrategy,
|
|
376
|
-
DescribeDDoSDataResponse,
|
|
377
|
-
DescribeTopDataResponse,
|
|
378
|
-
UrlRedirectRule,
|
|
379
|
-
} from "./cdn_models"
|
|
380
|
-
|
|
381
|
-
/**
|
|
382
|
-
* cdn client
|
|
383
|
-
* @class
|
|
384
|
-
*/
|
|
385
|
-
export class Client extends TencentCloudCommon.AbstractClient {
|
|
386
|
-
constructor(clientConfig: TencentCloudCommon.ClientConfig) {
|
|
387
|
-
super("cdn.tencentcloudapi.com", "2018-06-06", clientConfig)
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* AddCLSTopicDomains 用于新增域名到某日志主题下
|
|
392
|
-
*/
|
|
393
|
-
async AddCLSTopicDomains(
|
|
394
|
-
req: AddCLSTopicDomainsRequest,
|
|
395
|
-
cb?: (error: string, rep: AddCLSTopicDomainsResponse) => void
|
|
396
|
-
): Promise<AddCLSTopicDomainsResponse> {
|
|
397
|
-
return this.request("AddCLSTopicDomains", req, cb)
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* ModifyDomainConfig 用于修改内容分发网络加速域名配置信息
|
|
402
|
-
注意:
|
|
403
|
-
Route 字段,使用点分隔,最后一段称为叶子节点,非叶子节点配置保持不变;
|
|
404
|
-
Value 字段,使用 json 进行序列化,其中固定 update 作为 key,配置路径值参考 https://cloud.tencent.com/document/product/228/41116 接口各配置项复杂类型,为配置路径对应复杂类型下的节点。
|
|
405
|
-
操作审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到操作审计。
|
|
406
|
-
*/
|
|
407
|
-
async ModifyDomainConfig(
|
|
408
|
-
req: ModifyDomainConfigRequest,
|
|
409
|
-
cb?: (error: string, rep: ModifyDomainConfigResponse) => void
|
|
410
|
-
): Promise<ModifyDomainConfigResponse> {
|
|
411
|
-
return this.request("ModifyDomainConfig", req, cb)
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* DescribeIpStatus 用于查询域名所在加速平台的边缘节点、回源节点明细。注意事项:暂不支持查询边缘节点信息并且数据会存在一定延迟。
|
|
416
|
-
|
|
417
|
-
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41954"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
|
418
|
-
*/
|
|
419
|
-
async DescribeIpStatus(
|
|
420
|
-
req: DescribeIpStatusRequest,
|
|
421
|
-
cb?: (error: string, rep: DescribeIpStatusResponse) => void
|
|
422
|
-
): Promise<DescribeIpStatusResponse> {
|
|
423
|
-
return this.request("DescribeIpStatus", req, cb)
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
/**
|
|
427
|
-
* DescribeMapInfo 用于查询省份对应的 ID,运营商对应的 ID 信息。
|
|
428
|
-
*/
|
|
429
|
-
async DescribeMapInfo(
|
|
430
|
-
req: DescribeMapInfoRequest,
|
|
431
|
-
cb?: (error: string, rep: DescribeMapInfoResponse) => void
|
|
432
|
-
): Promise<DescribeMapInfoResponse> {
|
|
433
|
-
return this.request("DescribeMapInfo", req, cb)
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* DeleteCdnDomain 用于删除指定加速域名
|
|
438
|
-
*/
|
|
439
|
-
async DeleteCdnDomain(
|
|
440
|
-
req: DeleteCdnDomainRequest,
|
|
441
|
-
cb?: (error: string, rep: DeleteCdnDomainResponse) => void
|
|
442
|
-
): Promise<DeleteCdnDomainResponse> {
|
|
443
|
-
return this.request("DeleteCdnDomain", req, cb)
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* VerifyDomainRecord 用于验证域名解析值。
|
|
448
|
-
验证域名解析记录值前,您需要通过 [CreateVerifyRecord](https://cloud.tencent.com/document/product/228/48118) 生成校验解析值,验证通过后,24小时有效。
|
|
449
|
-
具体流程可参考:[使用API接口进行域名归属校验](https://cloud.tencent.com/document/product/228/61702#.E6.96.B9.E6.B3.95.E4.B8.89.EF.BC.9Aapi-.E6.8E.A5.E5.8F.A3.E6.93.8D.E4.BD.9C)
|
|
450
|
-
*/
|
|
451
|
-
async VerifyDomainRecord(
|
|
452
|
-
req: VerifyDomainRecordRequest,
|
|
453
|
-
cb?: (error: string, rep: VerifyDomainRecordResponse) => void
|
|
454
|
-
): Promise<VerifyDomainRecordResponse> {
|
|
455
|
-
return this.request("VerifyDomainRecord", req, cb)
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
/**
|
|
459
|
-
* 获取Waf攻击Top数据
|
|
460
|
-
*/
|
|
461
|
-
async ListTopWafData(
|
|
462
|
-
req: ListTopWafDataRequest,
|
|
463
|
-
cb?: (error: string, rep: ListTopWafDataResponse) => void
|
|
464
|
-
): Promise<ListTopWafDataResponse> {
|
|
465
|
-
return this.request("ListTopWafData", req, cb)
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* DescribeEdgePackTaskStatus 用于查询动态打包任务状态列表
|
|
470
|
-
*/
|
|
471
|
-
async DescribeEdgePackTaskStatus(
|
|
472
|
-
req: DescribeEdgePackTaskStatusRequest,
|
|
473
|
-
cb?: (error: string, rep: DescribeEdgePackTaskStatusResponse) => void
|
|
474
|
-
): Promise<DescribeEdgePackTaskStatusResponse> {
|
|
475
|
-
return this.request("DescribeEdgePackTaskStatus", req, cb)
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
/**
|
|
479
|
-
* 删除SCDN域名
|
|
480
|
-
*/
|
|
481
|
-
async DeleteScdnDomain(
|
|
482
|
-
req: DeleteScdnDomainRequest,
|
|
483
|
-
cb?: (error: string, rep: DeleteScdnDomainResponse) => void
|
|
484
|
-
): Promise<DeleteScdnDomainResponse> {
|
|
485
|
-
return this.request("DeleteScdnDomain", req, cb)
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* DescribePayType 用于查询用户的计费类型,计费周期等信息。
|
|
490
|
-
*/
|
|
491
|
-
async DescribePayType(
|
|
492
|
-
req: DescribePayTypeRequest,
|
|
493
|
-
cb?: (error: string, rep: DescribePayTypeResponse) => void
|
|
494
|
-
): Promise<DescribePayTypeResponse> {
|
|
495
|
-
return this.request("DescribePayType", req, cb)
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* DescribeDomainsConfig 用于查询内容分发网络加速域名(含境内、境外)的所有配置信息。
|
|
500
|
-
*/
|
|
501
|
-
async DescribeDomainsConfig(
|
|
502
|
-
req: DescribeDomainsConfigRequest,
|
|
503
|
-
cb?: (error: string, rep: DescribeDomainsConfigResponse) => void
|
|
504
|
-
): Promise<DescribeDomainsConfigResponse> {
|
|
505
|
-
return this.request("DescribeDomainsConfig", req, cb)
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* AddCdnDomain 用于新增内容分发网络加速域名。1分钟内最多可新增100个域名。
|
|
510
|
-
*/
|
|
511
|
-
async AddCdnDomain(
|
|
512
|
-
req: AddCdnDomainRequest,
|
|
513
|
-
cb?: (error: string, rep: AddCdnDomainResponse) => void
|
|
514
|
-
): Promise<AddCdnDomainResponse> {
|
|
515
|
-
return this.request("AddCdnDomain", req, cb)
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* ### <font color=red>**该接口已废弃** </font><br>
|
|
520
|
-
GetDisableRecords 用于查询资源禁用历史,及 URL 当前状态。
|
|
521
|
-
*/
|
|
522
|
-
async GetDisableRecords(
|
|
523
|
-
req: GetDisableRecordsRequest,
|
|
524
|
-
cb?: (error: string, rep: GetDisableRecordsResponse) => void
|
|
525
|
-
): Promise<GetDisableRecordsResponse> {
|
|
526
|
-
return this.request("GetDisableRecords", req, cb)
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
/**
|
|
530
|
-
* DescribeIpVisit 用于查询 5 分钟活跃用户数,及日活跃用户数明细
|
|
531
|
-
|
|
532
|
-
+ 5 分钟活跃用户数:根据日志中客户端 IP,5 分钟粒度去重统计
|
|
533
|
-
+ 日活跃用户数:根据日志中客户端 IP,按天粒度去重统计
|
|
534
|
-
*/
|
|
535
|
-
async DescribeIpVisit(
|
|
536
|
-
req: DescribeIpVisitRequest,
|
|
537
|
-
cb?: (error: string, rep: DescribeIpVisitResponse) => void
|
|
538
|
-
): Promise<DescribeIpVisitResponse> {
|
|
539
|
-
return this.request("DescribeIpVisit", req, cb)
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
/**
|
|
543
|
-
* DescribeCdnData 用于查询 CDN 实时访问监控数据,支持以下指标查询:
|
|
544
|
-
|
|
545
|
-
+ 流量(单位为 byte)
|
|
546
|
-
+ 带宽(单位为 bps)
|
|
547
|
-
+ 请求数(单位为 次)
|
|
548
|
-
+ 命中请求数(单位为 次)
|
|
549
|
-
+ 请求命中率(单位为 %)
|
|
550
|
-
+ 命中流量(单位为 byte)
|
|
551
|
-
+ 流量命中率(单位为 %)
|
|
552
|
-
+ 状态码 2xx 汇总及各 2 开头状态码明细(单位为 个)
|
|
553
|
-
+ 状态码 3xx 汇总及各 3 开头状态码明细(单位为 个)
|
|
554
|
-
+ 状态码 4xx 汇总及各 4 开头状态码明细(单位为 个)
|
|
555
|
-
+ 状态码 5xx 汇总及各 5 开头状态码明细(单位为 个)
|
|
556
|
-
*/
|
|
557
|
-
async DescribeCdnData(
|
|
558
|
-
req: DescribeCdnDataRequest,
|
|
559
|
-
cb?: (error: string, rep: DescribeCdnDataResponse) => void
|
|
560
|
-
): Promise<DescribeCdnDataResponse> {
|
|
561
|
-
return this.request("DescribeCdnData", req, cb)
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
/**
|
|
565
|
-
* DescribeHttpsPackages 用于查询 CDN HTTPS请求包详情。
|
|
566
|
-
*/
|
|
567
|
-
async DescribeHttpsPackages(
|
|
568
|
-
req: DescribeHttpsPackagesRequest,
|
|
569
|
-
cb?: (error: string, rep: DescribeHttpsPackagesResponse) => void
|
|
570
|
-
): Promise<DescribeHttpsPackagesResponse> {
|
|
571
|
-
return this.request("DescribeHttpsPackages", req, cb)
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
/**
|
|
575
|
-
* 动态打包任务提交接口
|
|
576
|
-
*/
|
|
577
|
-
async CreateEdgePackTask(
|
|
578
|
-
req: CreateEdgePackTaskRequest,
|
|
579
|
-
cb?: (error: string, rep: CreateEdgePackTaskResponse) => void
|
|
580
|
-
): Promise<CreateEdgePackTaskResponse> {
|
|
581
|
-
return this.request("CreateEdgePackTask", req, cb)
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
/**
|
|
585
|
-
* CreateVerifyRecord 用于生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权。
|
|
586
|
-
生成的解析记录可通过 [VerifyDomainRecord](https://cloud.tencent.com/document/product/228/48117) 完成归属权校验。
|
|
587
|
-
注意:生成的解析记录有效期为24小时,超过24小时后,需重新生成。
|
|
588
|
-
具体流程可参考:[使用API接口进行域名归属校验](https://cloud.tencent.com/document/product/228/61702#.E6.96.B9.E6.B3.95.E4.B8.89.EF.BC.9Aapi-.E6.8E.A5.E5.8F.A3.E6.93.8D.E4.BD.9C)
|
|
589
|
-
*/
|
|
590
|
-
async CreateVerifyRecord(
|
|
591
|
-
req: CreateVerifyRecordRequest,
|
|
592
|
-
cb?: (error: string, rep: CreateVerifyRecordResponse) => void
|
|
593
|
-
): Promise<CreateVerifyRecordResponse> {
|
|
594
|
-
return this.request("CreateVerifyRecord", req, cb)
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* CC统计数据查询
|
|
599
|
-
*/
|
|
600
|
-
async DescribeCcData(
|
|
601
|
-
req: DescribeCcDataRequest,
|
|
602
|
-
cb?: (error: string, rep: DescribeCcDataResponse) => void
|
|
603
|
-
): Promise<DescribeCcDataResponse> {
|
|
604
|
-
return this.request("DescribeCcData", req, cb)
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* ManageClsTopicDomains 用于管理某日志主题下绑定的域名列表。
|
|
609
|
-
*/
|
|
610
|
-
async ManageClsTopicDomains(
|
|
611
|
-
req: ManageClsTopicDomainsRequest,
|
|
612
|
-
cb?: (error: string, rep: ManageClsTopicDomainsResponse) => void
|
|
613
|
-
): Promise<ManageClsTopicDomainsResponse> {
|
|
614
|
-
return this.request("ManageClsTopicDomains", req, cb)
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* ### <font color=red>**该接口已废弃** </font><br>
|
|
619
|
-
CreateDiagnoseUrl 用于添加域名诊断任务URL。
|
|
620
|
-
*/
|
|
621
|
-
async CreateDiagnoseUrl(
|
|
622
|
-
req: CreateDiagnoseUrlRequest,
|
|
623
|
-
cb?: (error: string, rep: CreateDiagnoseUrlResponse) => void
|
|
624
|
-
): Promise<CreateDiagnoseUrlResponse> {
|
|
625
|
-
return this.request("CreateDiagnoseUrl", req, cb)
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* StartCdnDomain 用于启用已停用域名的加速服务
|
|
630
|
-
*/
|
|
631
|
-
async StartCdnDomain(
|
|
632
|
-
req: StartCdnDomainRequest,
|
|
633
|
-
cb?: (error: string, rep: StartCdnDomainResponse) => void
|
|
634
|
-
): Promise<StartCdnDomainResponse> {
|
|
635
|
-
return this.request("StartCdnDomain", req, cb)
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
* 拷贝参考域名的配置至新域名。暂不支持自有证书以及定制化配置
|
|
640
|
-
*/
|
|
641
|
-
async DuplicateDomainConfig(
|
|
642
|
-
req: DuplicateDomainConfigRequest,
|
|
643
|
-
cb?: (error: string, rep: DuplicateDomainConfigResponse) => void
|
|
644
|
-
): Promise<DuplicateDomainConfigResponse> {
|
|
645
|
-
return this.request("DuplicateDomainConfig", req, cb)
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
/**
|
|
649
|
-
* StopScdnDomain 用于关闭域名的安全防护配置
|
|
650
|
-
*/
|
|
651
|
-
async StopScdnDomain(
|
|
652
|
-
req: StopScdnDomainRequest,
|
|
653
|
-
cb?: (error: string, rep: StopScdnDomainResponse) => void
|
|
654
|
-
): Promise<StopScdnDomainResponse> {
|
|
655
|
-
return this.request("StopScdnDomain", req, cb)
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
* ### <font color=red>**该接口已废弃** </font><br>
|
|
660
|
-
DescribeDiagnoseReport 用于获取指定报告id的内容。
|
|
661
|
-
*/
|
|
662
|
-
async DescribeDiagnoseReport(
|
|
663
|
-
req: DescribeDiagnoseReportRequest,
|
|
664
|
-
cb?: (error: string, rep: DescribeDiagnoseReportResponse) => void
|
|
665
|
-
): Promise<DescribeDiagnoseReportResponse> {
|
|
666
|
-
return this.request("DescribeDiagnoseReport", req, cb)
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* DDoS统计数据查询
|
|
671
|
-
*/
|
|
672
|
-
async DescribeDDoSData(
|
|
673
|
-
req: DescribeDDoSDataRequest,
|
|
674
|
-
cb?: (error: string, rep: DescribeDDoSDataResponse) => void
|
|
675
|
-
): Promise<DescribeDDoSDataResponse> {
|
|
676
|
-
return this.request("DescribeDDoSData", req, cb)
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* ### <font color=red>**该接口已废弃** </font><br>
|
|
681
|
-
DisableCaches 用于禁用 CDN 上指定 URL 的访问,禁用完成后,中国境内访问会直接返回 403。
|
|
682
|
-
*/
|
|
683
|
-
async DisableCaches(
|
|
684
|
-
req: DisableCachesRequest,
|
|
685
|
-
cb?: (error: string, rep: DisableCachesResponse) => void
|
|
686
|
-
): Promise<DisableCachesResponse> {
|
|
687
|
-
return this.request("DisableCaches", req, cb)
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
/**
|
|
691
|
-
* ### <font color=red>**该接口已废弃** </font><br>
|
|
692
|
-
ListDiagnoseReport 用于获取用户诊断URL访问后各个子任务的简要详情。
|
|
693
|
-
*/
|
|
694
|
-
async ListDiagnoseReport(
|
|
695
|
-
req: ListDiagnoseReportRequest,
|
|
696
|
-
cb?: (error: string, rep: ListDiagnoseReportResponse) => void
|
|
697
|
-
): Promise<ListDiagnoseReportResponse> {
|
|
698
|
-
return this.request("ListDiagnoseReport", req, cb)
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* 获取CC攻击Top数据
|
|
703
|
-
*/
|
|
704
|
-
async ListTopCcData(
|
|
705
|
-
req: ListTopCcDataRequest,
|
|
706
|
-
cb?: (error: string, rep: ListTopCcDataResponse) => void
|
|
707
|
-
): Promise<ListTopCcDataResponse> {
|
|
708
|
-
return this.request("ListTopCcData", req, cb)
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
* 查询在SCDN IP安全策略
|
|
713
|
-
*/
|
|
714
|
-
async DescribeScdnIpStrategy(
|
|
715
|
-
req: DescribeScdnIpStrategyRequest,
|
|
716
|
-
cb?: (error: string, rep: DescribeScdnIpStrategyResponse) => void
|
|
717
|
-
): Promise<DescribeScdnIpStrategyResponse> {
|
|
718
|
-
return this.request("DescribeScdnIpStrategy", req, cb)
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
/**
|
|
722
|
-
* DescribePurgeQuota 用于查询账户刷新配额和每日可用量。
|
|
723
|
-
*/
|
|
724
|
-
async DescribePurgeQuota(
|
|
725
|
-
req?: DescribePurgeQuotaRequest,
|
|
726
|
-
cb?: (error: string, rep: DescribePurgeQuotaResponse) => void
|
|
727
|
-
): Promise<DescribePurgeQuotaResponse> {
|
|
728
|
-
return this.request("DescribePurgeQuota", req, cb)
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
/**
|
|
732
|
-
* UpdateScdnDomain 用于修改 SCDN 加速域名安全相关配置
|
|
733
|
-
*/
|
|
734
|
-
async UpdateScdnDomain(
|
|
735
|
-
req: UpdateScdnDomainRequest,
|
|
736
|
-
cb?: (error: string, rep: UpdateScdnDomainResponse) => void
|
|
737
|
-
): Promise<UpdateScdnDomainResponse> {
|
|
738
|
-
return this.request("UpdateScdnDomain", req, cb)
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
* ListScdnLogTasks 用于查询SCDN日志下载任务列表,以及展示下载任务基本信息
|
|
743
|
-
*/
|
|
744
|
-
async ListScdnLogTasks(
|
|
745
|
-
req: ListScdnLogTasksRequest,
|
|
746
|
-
cb?: (error: string, rep: ListScdnLogTasksResponse) => void
|
|
747
|
-
): Promise<ListScdnLogTasksResponse> {
|
|
748
|
-
return this.request("ListScdnLogTasks", req, cb)
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* 获取Bot攻击的Top信息
|
|
753
|
-
*/
|
|
754
|
-
async ListTopBotData(
|
|
755
|
-
req: ListTopBotDataRequest,
|
|
756
|
-
cb?: (error: string, rep: ListTopBotDataResponse) => void
|
|
757
|
-
): Promise<ListTopBotDataResponse> {
|
|
758
|
-
return this.request("ListTopBotData", req, cb)
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
/**
|
|
762
|
-
* CreateScdnLogTask 用于创建事件日志任务
|
|
763
|
-
*/
|
|
764
|
-
async CreateScdnLogTask(
|
|
765
|
-
req: CreateScdnLogTaskRequest,
|
|
766
|
-
cb?: (error: string, rep: CreateScdnLogTaskResponse) => void
|
|
767
|
-
): Promise<CreateScdnLogTaskResponse> {
|
|
768
|
-
return this.request("CreateScdnLogTask", req, cb)
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
* DescribeImageConfig 用于获取域名图片优化的当前配置,支持Webp、TPG、 Guetzli 和 Avif。
|
|
773
|
-
*/
|
|
774
|
-
async DescribeImageConfig(
|
|
775
|
-
req: DescribeImageConfigRequest,
|
|
776
|
-
cb?: (error: string, rep: DescribeImageConfigResponse) => void
|
|
777
|
-
): Promise<DescribeImageConfigResponse> {
|
|
778
|
-
return this.request("DescribeImageConfig", req, cb)
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
/**
|
|
782
|
-
* 获取SCDN的Top数据
|
|
783
|
-
*/
|
|
784
|
-
async DescribeScdnTopData(
|
|
785
|
-
req: DescribeScdnTopDataRequest,
|
|
786
|
-
cb?: (error: string, rep: DescribeScdnTopDataResponse) => void
|
|
787
|
-
): Promise<DescribeScdnTopDataResponse> {
|
|
788
|
-
return this.request("DescribeScdnTopData", req, cb)
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
/**
|
|
792
|
-
* SearchClsLog 用于 CLS 日志检索。支持检索今天,24小时(可选近7中的某一天),近7天的日志数据。
|
|
793
|
-
*/
|
|
794
|
-
async SearchClsLog(
|
|
795
|
-
req: SearchClsLogRequest,
|
|
796
|
-
cb?: (error: string, rep: SearchClsLogResponse) => void
|
|
797
|
-
): Promise<SearchClsLogResponse> {
|
|
798
|
-
return this.request("SearchClsLog", req, cb)
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
/**
|
|
802
|
-
* StopCdnDomain 用于停止域名的加速服务。
|
|
803
|
-
注意:停止加速服务后,访问至加速节点的请求将会直接返回 404。为避免对您的业务造成影响,请在停止加速服务前将解析切走。
|
|
804
|
-
*/
|
|
805
|
-
async StopCdnDomain(
|
|
806
|
-
req: StopCdnDomainRequest,
|
|
807
|
-
cb?: (error: string, rep: StopCdnDomainResponse) => void
|
|
808
|
-
): Promise<StopCdnDomainResponse> {
|
|
809
|
-
return this.request("StopCdnDomain", req, cb)
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
/**
|
|
813
|
-
* ListTopData 通过入参 Metric 和 Filter 组合不同,可以查询以下排序数据:
|
|
814
|
-
|
|
815
|
-
+ 依据总流量、总请求数对访问 URL 排序,从大至小返回 TOP 1000 URL
|
|
816
|
-
+ 依据总流量、总请求数对客户端省份排序,从大至小返回省份列表
|
|
817
|
-
+ 依据总流量、总请求数对客户端运营商排序,从大至小返回运营商列表
|
|
818
|
-
+ 依据总流量、峰值带宽、总请求数、平均命中率、2XX/3XX/4XX/5XX 状态码对域名排序,从大至小返回域名列表
|
|
819
|
-
+ 依据总回源流量、回源峰值带宽、总回源请求数、平均回源失败率、2XX/3XX/4XX/5XX 回源状态码对域名排序,从大至小返回域名列表
|
|
820
|
-
|
|
821
|
-
注意:仅支持 90 天内数据查询
|
|
822
|
-
*/
|
|
823
|
-
async ListTopData(
|
|
824
|
-
req: ListTopDataRequest,
|
|
825
|
-
cb?: (error: string, rep: ListTopDataResponse) => void
|
|
826
|
-
): Promise<ListTopDataResponse> {
|
|
827
|
-
return this.request("ListTopData", req, cb)
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* DescribeOriginData 用于查询 CDN 实时回源监控数据,支持以下指标查询:
|
|
832
|
-
|
|
833
|
-
+ 回源流量(单位为 byte)
|
|
834
|
-
+ 回源带宽(单位为 bps)
|
|
835
|
-
+ 回源请求数(单位为 次)
|
|
836
|
-
+ 回源失败请求数(单位为 次)
|
|
837
|
-
+ 回源失败率(单位为 %,小数点后保留两位)
|
|
838
|
-
+ 回源状态码 2xx 汇总及各 2 开头回源状态码明细(单位为 个)
|
|
839
|
-
+ 回源状态码 3xx 汇总及各 3 开头回源状态码明细(单位为 个)
|
|
840
|
-
+ 回源状态码 4xx 汇总及各 4 开头回源状态码明细(单位为 个)
|
|
841
|
-
+ 回源状态码 5xx 汇总及各 5 开头回源状态码明细(单位为 个)
|
|
842
|
-
*/
|
|
843
|
-
async DescribeOriginData(
|
|
844
|
-
req: DescribeOriginDataRequest,
|
|
845
|
-
cb?: (error: string, rep: DescribeOriginDataResponse) => void
|
|
846
|
-
): Promise<DescribeOriginDataResponse> {
|
|
847
|
-
return this.request("DescribeOriginData", req, cb)
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
/**
|
|
851
|
-
* DescribeCdnIp 用于查询 CDN IP 归属。
|
|
852
|
-
(注意:此接口请求频率限制以 CDN 侧限制为准:200次/10分钟)
|
|
853
|
-
*/
|
|
854
|
-
async DescribeCdnIp(
|
|
855
|
-
req: DescribeCdnIpRequest,
|
|
856
|
-
cb?: (error: string, rep: DescribeCdnIpResponse) => void
|
|
857
|
-
): Promise<DescribeCdnIpResponse> {
|
|
858
|
-
return this.request("DescribeCdnIp", req, cb)
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
/**
|
|
862
|
-
* StartScdnDomain 用于开启域名的安全防护配置
|
|
863
|
-
*/
|
|
864
|
-
async StartScdnDomain(
|
|
865
|
-
req: StartScdnDomainRequest,
|
|
866
|
-
cb?: (error: string, rep: StartScdnDomainResponse) => void
|
|
867
|
-
): Promise<StartScdnDomainResponse> {
|
|
868
|
-
return this.request("StartScdnDomain", req, cb)
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
/**
|
|
872
|
-
* PurgePathCache 用于批量提交目录刷新,根据域名的加速区域进行对应区域的刷新。
|
|
873
|
-
默认情况下境内、境外加速区域每日目录刷新额度为各 100 条,每次最多可提交 500 条。
|
|
874
|
-
*/
|
|
875
|
-
async PurgePathCache(
|
|
876
|
-
req: PurgePathCacheRequest,
|
|
877
|
-
cb?: (error: string, rep: PurgePathCacheResponse) => void
|
|
878
|
-
): Promise<PurgePathCacheResponse> {
|
|
879
|
-
return this.request("PurgePathCache", req, cb)
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
/**
|
|
883
|
-
* DescribePurgeTasks 用于查询提交的 URL 刷新、目录刷新记录及执行进度,通过 PurgePathCache 与 PurgeUrlsCache 接口提交的任务均可通过此接口进行查询。
|
|
884
|
-
*/
|
|
885
|
-
async DescribePurgeTasks(
|
|
886
|
-
req: DescribePurgeTasksRequest,
|
|
887
|
-
cb?: (error: string, rep: DescribePurgeTasksResponse) => void
|
|
888
|
-
): Promise<DescribePurgeTasksResponse> {
|
|
889
|
-
return this.request("DescribePurgeTasks", req, cb)
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* 通过CLS日志计算Top信息。支持近7天的日志数据。
|
|
894
|
-
*/
|
|
895
|
-
async ListTopClsLogData(
|
|
896
|
-
req: ListTopClsLogDataRequest,
|
|
897
|
-
cb?: (error: string, rep: ListTopClsLogDataResponse) => void
|
|
898
|
-
): Promise<ListTopClsLogDataResponse> {
|
|
899
|
-
return this.request("ListTopClsLogData", req, cb)
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
/**
|
|
903
|
-
* DescribeUrlViolations 用于查询被 CDN 系统扫描到的域名违规 URL 列表及当前状态。
|
|
904
|
-
对应内容分发网络控制台【图片鉴黄】页面。
|
|
905
|
-
*/
|
|
906
|
-
async DescribeUrlViolations(
|
|
907
|
-
req: DescribeUrlViolationsRequest,
|
|
908
|
-
cb?: (error: string, rep: DescribeUrlViolationsResponse) => void
|
|
909
|
-
): Promise<DescribeUrlViolationsResponse> {
|
|
910
|
-
return this.request("DescribeUrlViolations", req, cb)
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
/**
|
|
914
|
-
* Waf统计数据查询
|
|
915
|
-
*/
|
|
916
|
-
async DescribeWafData(
|
|
917
|
-
req: DescribeWafDataRequest,
|
|
918
|
-
cb?: (error: string, rep: DescribeWafDataResponse) => void
|
|
919
|
-
): Promise<DescribeWafDataResponse> {
|
|
920
|
-
return this.request("DescribeWafData", req, cb)
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
/**
|
|
924
|
-
* 获取DDoS攻击Top数据
|
|
925
|
-
*/
|
|
926
|
-
async ListTopDDoSData(
|
|
927
|
-
req: ListTopDDoSDataRequest,
|
|
928
|
-
cb?: (error: string, rep: ListTopDDoSDataResponse) => void
|
|
929
|
-
): Promise<ListTopDDoSDataResponse> {
|
|
930
|
-
return this.request("ListTopDDoSData", req, cb)
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* DescribeDomains 用于查询内容分发网络加速域名(含境内、境外)基本配置信息,包括项目ID、服务状态,业务类型、创建时间、更新时间等信息。
|
|
935
|
-
*/
|
|
936
|
-
async DescribeDomains(
|
|
937
|
-
req: DescribeDomainsRequest,
|
|
938
|
-
cb?: (error: string, rep: DescribeDomainsResponse) => void
|
|
939
|
-
): Promise<DescribeDomainsResponse> {
|
|
940
|
-
return this.request("DescribeDomains", req, cb)
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
/**
|
|
944
|
-
* PurgeUrlsCache 用于批量提交 URL 进行刷新,根据 URL 中域名的当前加速区域进行对应区域的刷新。
|
|
945
|
-
默认情况下境内、境外加速区域每日 URL 刷新额度各为 10000 条,每次最多可提交 1000 条。
|
|
946
|
-
*/
|
|
947
|
-
async PurgeUrlsCache(
|
|
948
|
-
req: PurgeUrlsCacheRequest,
|
|
949
|
-
cb?: (error: string, rep: PurgeUrlsCacheResponse) => void
|
|
950
|
-
): Promise<PurgeUrlsCacheResponse> {
|
|
951
|
-
return this.request("PurgeUrlsCache", req, cb)
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* DescribeTrafficPackages 用于查询 CDN 流量包详情。
|
|
956
|
-
*/
|
|
957
|
-
async DescribeTrafficPackages(
|
|
958
|
-
req: DescribeTrafficPackagesRequest,
|
|
959
|
-
cb?: (error: string, rep: DescribeTrafficPackagesResponse) => void
|
|
960
|
-
): Promise<DescribeTrafficPackagesResponse> {
|
|
961
|
-
return this.request("DescribeTrafficPackages", req, cb)
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
* UpdateDomainConfig 用于修改内容分发网络加速域名配置信息。
|
|
966
|
-
注意:如果需要更新复杂类型的配置项,必须传递整个对象的所有属性,未传递的属性将使用默认值,建议通过查询接口获取配置属性后,直接修改后传递给本接口。
|
|
967
|
-
操作审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到操作审计。
|
|
968
|
-
*/
|
|
969
|
-
async UpdateDomainConfig(
|
|
970
|
-
req: UpdateDomainConfigRequest,
|
|
971
|
-
cb?: (error: string, rep: UpdateDomainConfigResponse) => void
|
|
972
|
-
): Promise<UpdateDomainConfigResponse> {
|
|
973
|
-
return this.request("UpdateDomainConfig", req, cb)
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
/**
|
|
977
|
-
* DescribeCdnDomainLogs 用于查询访问日志下载地址,仅支持 30 天以内的境内、境外访问日志下载链接查询。
|
|
978
|
-
*/
|
|
979
|
-
async DescribeCdnDomainLogs(
|
|
980
|
-
req: DescribeCdnDomainLogsRequest,
|
|
981
|
-
cb?: (error: string, rep: DescribeCdnDomainLogsResponse) => void
|
|
982
|
-
): Promise<DescribeCdnDomainLogsResponse> {
|
|
983
|
-
return this.request("DescribeCdnDomainLogs", req, cb)
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
/**
|
|
987
|
-
* DescribePushTasks 用于查询预热任务提交历史记录及执行进度。
|
|
988
|
-
*/
|
|
989
|
-
async DescribePushTasks(
|
|
990
|
-
req: DescribePushTasksRequest,
|
|
991
|
-
cb?: (error: string, rep: DescribePushTasksResponse) => void
|
|
992
|
-
): Promise<DescribePushTasksResponse> {
|
|
993
|
-
return this.request("DescribePushTasks", req, cb)
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
/**
|
|
997
|
-
* DescribeCertDomains 用于校验SSL证书并提取证书中包含的域名。
|
|
998
|
-
*/
|
|
999
|
-
async DescribeCertDomains(
|
|
1000
|
-
req: DescribeCertDomainsRequest,
|
|
1001
|
-
cb?: (error: string, rep: DescribeCertDomainsResponse) => void
|
|
1002
|
-
): Promise<DescribeCertDomainsResponse> {
|
|
1003
|
-
return this.request("DescribeCertDomains", req, cb)
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* DescribeEventLogData 用于查询事件日志统计曲线
|
|
1008
|
-
*/
|
|
1009
|
-
async DescribeEventLogData(
|
|
1010
|
-
req: DescribeEventLogDataRequest,
|
|
1011
|
-
cb?: (error: string, rep: DescribeEventLogDataResponse) => void
|
|
1012
|
-
): Promise<DescribeEventLogDataResponse> {
|
|
1013
|
-
return this.request("DescribeEventLogData", req, cb)
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
/**
|
|
1017
|
-
* CreateClsLogTopic 用于创建日志主题。注意:一个日志集下至多可创建10个日志主题。
|
|
1018
|
-
*/
|
|
1019
|
-
async CreateClsLogTopic(
|
|
1020
|
-
req: CreateClsLogTopicRequest,
|
|
1021
|
-
cb?: (error: string, rep: CreateClsLogTopicResponse) => void
|
|
1022
|
-
): Promise<CreateClsLogTopicResponse> {
|
|
1023
|
-
return this.request("CreateClsLogTopic", req, cb)
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
/**
|
|
1027
|
-
* PushUrlsCache 用于将指定 URL 资源列表加载至 CDN 节点,支持指定加速区域预热。
|
|
1028
|
-
默认情况下境内、境外每日预热 URL 限额为各 1000 条,每次最多可提交 500 条 URL,每次提交的数量会消耗配额总数。如:1次提交500条URL全球预热,此时境内、境外预热 URL 各剩余 500条。注意:中国境外区域预热,资源默认加载至中国境外边缘节点。
|
|
1029
|
-
*/
|
|
1030
|
-
async PushUrlsCache(
|
|
1031
|
-
req: PushUrlsCacheRequest,
|
|
1032
|
-
cb?: (error: string, rep: PushUrlsCacheResponse) => void
|
|
1033
|
-
): Promise<PushUrlsCacheResponse> {
|
|
1034
|
-
return this.request("PushUrlsCache", req, cb)
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* CreateScdnDomain 用于创建 SCDN 加速域名
|
|
1039
|
-
*/
|
|
1040
|
-
async CreateScdnDomain(
|
|
1041
|
-
req: CreateScdnDomainRequest,
|
|
1042
|
-
cb?: (error: string, rep: CreateScdnDomainResponse) => void
|
|
1043
|
-
): Promise<CreateScdnDomainResponse> {
|
|
1044
|
-
return this.request("CreateScdnDomain", req, cb)
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
/**
|
|
1048
|
-
* UpdateImageConfig 用于更新控制台图片优化的相关配置,支持Webp、TPG、 Guetzli 和 Avif。
|
|
1049
|
-
*/
|
|
1050
|
-
async UpdateImageConfig(
|
|
1051
|
-
req: UpdateImageConfigRequest,
|
|
1052
|
-
cb?: (error: string, rep: UpdateImageConfigResponse) => void
|
|
1053
|
-
): Promise<UpdateImageConfigResponse> {
|
|
1054
|
-
return this.request("UpdateImageConfig", req, cb)
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
/**
|
|
1058
|
-
* ModifyPurgeFetchTaskStatus 用于上报定时刷新预热任务执行状态
|
|
1059
|
-
*/
|
|
1060
|
-
async ModifyPurgeFetchTaskStatus(
|
|
1061
|
-
req: ModifyPurgeFetchTaskStatusRequest,
|
|
1062
|
-
cb?: (error: string, rep: ModifyPurgeFetchTaskStatusResponse) => void
|
|
1063
|
-
): Promise<ModifyPurgeFetchTaskStatusResponse> {
|
|
1064
|
-
return this.request("ModifyPurgeFetchTaskStatus", req, cb)
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
/**
|
|
1068
|
-
* CreateScdnFailedLogTask 用于重试创建失败的事件日志任务
|
|
1069
|
-
*/
|
|
1070
|
-
async CreateScdnFailedLogTask(
|
|
1071
|
-
req: CreateScdnFailedLogTaskRequest,
|
|
1072
|
-
cb?: (error: string, rep: CreateScdnFailedLogTaskResponse) => void
|
|
1073
|
-
): Promise<CreateScdnFailedLogTaskResponse> {
|
|
1074
|
-
return this.request("CreateScdnFailedLogTask", req, cb)
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
/**
|
|
1078
|
-
* DisableClsLogTopic 用于停止日志主题投递。注意:停止后,所有绑定该日志主题域名的日志将不再继续投递至该主题,已经投递的日志将会继续保留。生效时间约为 5~15 分钟。
|
|
1079
|
-
|
|
1080
|
-
*/
|
|
1081
|
-
async DisableClsLogTopic(
|
|
1082
|
-
req: DisableClsLogTopicRequest,
|
|
1083
|
-
cb?: (error: string, rep: DisableClsLogTopicResponse) => void
|
|
1084
|
-
): Promise<DisableClsLogTopicResponse> {
|
|
1085
|
-
return this.request("DisableClsLogTopic", req, cb)
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
* ListClsTopicDomains 用于获取某日志主题下绑定的域名列表。
|
|
1090
|
-
*/
|
|
1091
|
-
async ListClsTopicDomains(
|
|
1092
|
-
req: ListClsTopicDomainsRequest,
|
|
1093
|
-
cb?: (error: string, rep: ListClsTopicDomainsResponse) => void
|
|
1094
|
-
): Promise<ListClsTopicDomainsResponse> {
|
|
1095
|
-
return this.request("ListClsTopicDomains", req, cb)
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* ListClsLogTopics 用于显示日志主题列表。注意:一个日志集下至多含10个日志主题。
|
|
1100
|
-
*/
|
|
1101
|
-
async ListClsLogTopics(
|
|
1102
|
-
req: ListClsLogTopicsRequest,
|
|
1103
|
-
cb?: (error: string, rep: ListClsLogTopicsResponse) => void
|
|
1104
|
-
): Promise<ListClsLogTopicsResponse> {
|
|
1105
|
-
return this.request("ListClsLogTopics", req, cb)
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
/**
|
|
1109
|
-
* 查询BOT会话记录列表
|
|
1110
|
-
*/
|
|
1111
|
-
async DescribeScdnBotRecords(
|
|
1112
|
-
req: DescribeScdnBotRecordsRequest,
|
|
1113
|
-
cb?: (error: string, rep: DescribeScdnBotRecordsResponse) => void
|
|
1114
|
-
): Promise<DescribeScdnBotRecordsResponse> {
|
|
1115
|
-
return this.request("DescribeScdnBotRecords", req, cb)
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* DescribeScdnConfig 用于查询指定 SCDN 加速域名的安全相关配置
|
|
1120
|
-
*/
|
|
1121
|
-
async DescribeScdnConfig(
|
|
1122
|
-
req: DescribeScdnConfigRequest,
|
|
1123
|
-
cb?: (error: string, rep: DescribeScdnConfigResponse) => void
|
|
1124
|
-
): Promise<DescribeScdnConfigResponse> {
|
|
1125
|
-
return this.request("DescribeScdnConfig", req, cb)
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
/**
|
|
1129
|
-
* DeleteClsLogTopic 用于删除日志主题。注意:删除后,所有该日志主题下绑定域名的日志将不再继续投递至该主题,已经投递的日志将会被全部清空。生效时间约为 5~15 分钟。
|
|
1130
|
-
*/
|
|
1131
|
-
async DeleteClsLogTopic(
|
|
1132
|
-
req: DeleteClsLogTopicRequest,
|
|
1133
|
-
cb?: (error: string, rep: DeleteClsLogTopicResponse) => void
|
|
1134
|
-
): Promise<DeleteClsLogTopicResponse> {
|
|
1135
|
-
return this.request("DeleteClsLogTopic", req, cb)
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
/**
|
|
1139
|
-
* ### <font color=red>**该接口已废弃** </font><br>
|
|
1140
|
-
本接口(DescribeCdnOriginIp)用于查询 CDN 回源节点的IP信息。(注:替换接口为DescribeIpStatus)
|
|
1141
|
-
*/
|
|
1142
|
-
async DescribeCdnOriginIp(
|
|
1143
|
-
req?: DescribeCdnOriginIpRequest,
|
|
1144
|
-
cb?: (error: string, rep: DescribeCdnOriginIpResponse) => void
|
|
1145
|
-
): Promise<DescribeCdnOriginIpResponse> {
|
|
1146
|
-
return this.request("DescribeCdnOriginIp", req, cb)
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
/**
|
|
1150
|
-
* DescribeBillingData 用于查询实际计费数据明细。
|
|
1151
|
-
*/
|
|
1152
|
-
async DescribeBillingData(
|
|
1153
|
-
req: DescribeBillingDataRequest,
|
|
1154
|
-
cb?: (error: string, rep: DescribeBillingDataResponse) => void
|
|
1155
|
-
): Promise<DescribeBillingDataResponse> {
|
|
1156
|
-
return this.request("DescribeBillingData", req, cb)
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* DescribePushQuota 用于查询预热配额和每日可用量。
|
|
1161
|
-
*/
|
|
1162
|
-
async DescribePushQuota(
|
|
1163
|
-
req?: DescribePushQuotaRequest,
|
|
1164
|
-
cb?: (error: string, rep: DescribePushQuotaResponse) => void
|
|
1165
|
-
): Promise<DescribePushQuotaResponse> {
|
|
1166
|
-
return this.request("DescribePushQuota", req, cb)
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
-
/**
|
|
1170
|
-
* EnableClsLogTopic 用于启动日志主题投递。注意:启动后,所有绑定该日志主题域名的日志将继续投递至该主题。生效时间约为 5~15 分钟。
|
|
1171
|
-
*/
|
|
1172
|
-
async EnableClsLogTopic(
|
|
1173
|
-
req: EnableClsLogTopicRequest,
|
|
1174
|
-
cb?: (error: string, rep: EnableClsLogTopicResponse) => void
|
|
1175
|
-
): Promise<EnableClsLogTopicResponse> {
|
|
1176
|
-
return this.request("EnableClsLogTopic", req, cb)
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
/**
|
|
1180
|
-
* ListScdnDomains 用于查询 SCDN 安全加速域名列表,及域名基本配置信息
|
|
1181
|
-
*/
|
|
1182
|
-
async ListScdnDomains(
|
|
1183
|
-
req: ListScdnDomainsRequest,
|
|
1184
|
-
cb?: (error: string, rep: ListScdnDomainsResponse) => void
|
|
1185
|
-
): Promise<ListScdnDomainsResponse> {
|
|
1186
|
-
return this.request("ListScdnDomains", req, cb)
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
/**
|
|
1190
|
-
* DescribeReportData 用于查询域名/项目维度的日/周/月报表数据。
|
|
1191
|
-
*/
|
|
1192
|
-
async DescribeReportData(
|
|
1193
|
-
req: DescribeReportDataRequest,
|
|
1194
|
-
cb?: (error: string, rep: DescribeReportDataResponse) => void
|
|
1195
|
-
): Promise<DescribeReportDataResponse> {
|
|
1196
|
-
return this.request("DescribeReportData", req, cb)
|
|
1197
|
-
}
|
|
1198
|
-
|
|
1199
|
-
/**
|
|
1200
|
-
* 查询指定域名的区域、运营商明细数据
|
|
1201
|
-
注意事项:接口尚未全面开放,未在内测名单中的账号不支持调用
|
|
1202
|
-
*/
|
|
1203
|
-
async DescribeDistrictIspData(
|
|
1204
|
-
req: DescribeDistrictIspDataRequest,
|
|
1205
|
-
cb?: (error: string, rep: DescribeDistrictIspDataResponse) => void
|
|
1206
|
-
): Promise<DescribeDistrictIspDataResponse> {
|
|
1207
|
-
return this.request("DescribeDistrictIspData", req, cb)
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
/**
|
|
1211
|
-
* 获取BOT统计数据列表
|
|
1212
|
-
*/
|
|
1213
|
-
async DescribeScdnBotData(
|
|
1214
|
-
req: DescribeScdnBotDataRequest,
|
|
1215
|
-
cb?: (error: string, rep: DescribeScdnBotDataResponse) => void
|
|
1216
|
-
): Promise<DescribeScdnBotDataResponse> {
|
|
1217
|
-
return this.request("DescribeScdnBotData", req, cb)
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
/**
|
|
1221
|
-
* 本接口(UpdatePayType)用于修改账号计费类型,暂不支持月结用户或子账号修改。
|
|
1222
|
-
*/
|
|
1223
|
-
async UpdatePayType(
|
|
1224
|
-
req: UpdatePayTypeRequest,
|
|
1225
|
-
cb?: (error: string, rep: UpdatePayTypeResponse) => void
|
|
1226
|
-
): Promise<UpdatePayTypeResponse> {
|
|
1227
|
-
return this.request("UpdatePayType", req, cb)
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
/**
|
|
1231
|
-
* DescribeTopData 通过入参 Metric 和 Filter 组合不同,可以查询以下排序数据:
|
|
1232
|
-
|
|
1233
|
-
+ 依据总流量、总请求数对访问 IP 排序,从大至小返回 TOP 100 IP
|
|
1234
|
-
+ 依据总流量、总请求数对访问 Refer 排序,从大至小返回 TOP 100 Refer
|
|
1235
|
-
+ 依据总流量、总请求数对访问 设备 排序,从大至小返回 设备类型
|
|
1236
|
-
+ 依据总流量、总请求数对访问 操作系统 排序,从大至小返回 操作系统
|
|
1237
|
-
+ 依据总流量、总请求数对访问 浏览器 排序,从大至小返回 浏览器
|
|
1238
|
-
|
|
1239
|
-
注意:
|
|
1240
|
-
+ 仅支持 90 天内数据查询,且从2021年09月20日开始有数据
|
|
1241
|
-
*/
|
|
1242
|
-
async DescribeTopData(
|
|
1243
|
-
req: DescribeTopDataRequest,
|
|
1244
|
-
cb?: (error: string, rep: DescribeTopDataResponse) => void
|
|
1245
|
-
): Promise<DescribeTopDataResponse> {
|
|
1246
|
-
return this.request("DescribeTopData", req, cb)
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
/**
|
|
1250
|
-
* ### <font color=red>**该接口已废弃** </font><br>
|
|
1251
|
-
EnableCaches 用于解禁手工封禁的 URL,解禁成功后,全网生效时间约 5~10 分钟。
|
|
1252
|
-
*/
|
|
1253
|
-
async EnableCaches(
|
|
1254
|
-
req: EnableCachesRequest,
|
|
1255
|
-
cb?: (error: string, rep: EnableCachesResponse) => void
|
|
1256
|
-
): Promise<EnableCachesResponse> {
|
|
1257
|
-
return this.request("EnableCaches", req, cb)
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
/**
|
|
1261
|
-
* 获取Bot攻击的Top数据列表
|
|
1262
|
-
*/
|
|
1263
|
-
async ListScdnTopBotData(
|
|
1264
|
-
req: ListScdnTopBotDataRequest,
|
|
1265
|
-
cb?: (error: string, rep: ListScdnTopBotDataResponse) => void
|
|
1266
|
-
): Promise<ListScdnTopBotDataResponse> {
|
|
1267
|
-
return this.request("ListScdnTopBotData", req, cb)
|
|
1268
|
-
}
|
|
1269
|
-
}
|