tencentcloud-sdk-nodejs-teo 4.0.786 → 4.0.788
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/package.json +1 -1
- package/products.md +42 -42
- package/src/services/teo/v20220901/teo_client.ts +604 -481
- package/src/services/teo/v20220901/teo_models.ts +841 -288
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +205 -165
- package/tencentcloud/services/teo/v20220901/teo_client.js +301 -241
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +792 -262
|
@@ -20,10 +20,12 @@ import {
|
|
|
20
20
|
CreatePlanForZoneResponse,
|
|
21
21
|
DeployConfigGroupVersionRequest,
|
|
22
22
|
DescribeEnvironmentsRequest,
|
|
23
|
+
ModifyL4ProxyRulesStatusResponse,
|
|
23
24
|
Compression,
|
|
24
25
|
DeleteRulesRequest,
|
|
25
26
|
ExceptUserRuleCondition,
|
|
26
27
|
CheckCnameStatusResponse,
|
|
28
|
+
DeleteL4ProxyRulesRequest,
|
|
27
29
|
ModifyZoneResponse,
|
|
28
30
|
DescribeOriginGroupResponse,
|
|
29
31
|
DescribeTopL7CacheDataRequest,
|
|
@@ -38,6 +40,7 @@ import {
|
|
|
38
40
|
DeleteSecurityIPGroupResponse,
|
|
39
41
|
ModifyRuleRequest,
|
|
40
42
|
OwnershipVerification,
|
|
43
|
+
DescribePurgeTasksRequest,
|
|
41
44
|
OriginRecord,
|
|
42
45
|
DescribePrefetchTasksResponse,
|
|
43
46
|
AdvancedFilter,
|
|
@@ -46,20 +49,20 @@ import {
|
|
|
46
49
|
OriginDetail,
|
|
47
50
|
DescribeDDoSAttackDataResponse,
|
|
48
51
|
DescribeZoneSettingRequest,
|
|
49
|
-
|
|
52
|
+
ModifyL4ProxyStatusResponse,
|
|
50
53
|
FileVerification,
|
|
51
54
|
DescribeIdentificationsResponse,
|
|
52
55
|
ModifySecurityPolicyRequest,
|
|
53
|
-
|
|
56
|
+
DeleteL4ProxyResponse,
|
|
54
57
|
ModifyApplicationProxyRuleStatusResponse,
|
|
55
|
-
|
|
58
|
+
DescribeL4ProxyResponse,
|
|
56
59
|
RuleRewriteActionParams,
|
|
57
60
|
CreateApplicationProxyResponse,
|
|
58
61
|
BotUserRule,
|
|
59
62
|
ModifyOriginGroupResponse,
|
|
60
63
|
DeleteAccelerationDomainsRequest,
|
|
61
64
|
DescribeApplicationProxiesResponse,
|
|
62
|
-
|
|
65
|
+
DescribeL4ProxyRulesResponse,
|
|
63
66
|
DescribeDeployHistoryRequest,
|
|
64
67
|
DescribeAvailablePlansRequest,
|
|
65
68
|
OriginInfo,
|
|
@@ -76,6 +79,7 @@ import {
|
|
|
76
79
|
BotExtendAction,
|
|
77
80
|
CreatePurgeTaskResponse,
|
|
78
81
|
DeleteApplicationProxyRuleResponse,
|
|
82
|
+
ModifyZoneSettingRequest,
|
|
79
83
|
DescribeRulesResponse,
|
|
80
84
|
TimingDataRecord,
|
|
81
85
|
OriginProtectionInfo,
|
|
@@ -103,13 +107,14 @@ import {
|
|
|
103
107
|
RuleExtraParameter,
|
|
104
108
|
BindSharedCNAMEMap,
|
|
105
109
|
RulesSettingAction,
|
|
110
|
+
ModifyL4ProxyRulesResponse,
|
|
106
111
|
DDoSAttackEvent,
|
|
107
112
|
ClientIpHeader,
|
|
108
113
|
DescribeDDoSAttackTopDataRequest,
|
|
109
114
|
Quic,
|
|
110
115
|
DescribeConfigGroupVersionDetailRequest,
|
|
111
116
|
DownloadL7LogsResponse,
|
|
112
|
-
|
|
117
|
+
DescribeL4ProxyRulesRequest,
|
|
113
118
|
DescribeRulesRequest,
|
|
114
119
|
DescribeContentQuotaResponse,
|
|
115
120
|
DownloadL7LogsRequest,
|
|
@@ -120,7 +125,7 @@ import {
|
|
|
120
125
|
DeleteSecurityIPGroupRequest,
|
|
121
126
|
RateLimitTemplateDetail,
|
|
122
127
|
Origin,
|
|
123
|
-
|
|
128
|
+
ModifyL4ProxyRequest,
|
|
124
129
|
Grpc,
|
|
125
130
|
SlowRateConfig,
|
|
126
131
|
ServerCertInfo,
|
|
@@ -142,17 +147,20 @@ import {
|
|
|
142
147
|
SwitchConfig,
|
|
143
148
|
IdentifyZoneResponse,
|
|
144
149
|
DeleteSharedCNAMEResponse,
|
|
150
|
+
L4ProxyRule,
|
|
145
151
|
DDoSBlockData,
|
|
146
152
|
VanityNameServers,
|
|
147
153
|
RuleChoicePropertiesItem,
|
|
154
|
+
ModifyL4ProxyResponse,
|
|
148
155
|
WafRule,
|
|
149
156
|
SecurityConfig,
|
|
150
|
-
|
|
157
|
+
DeleteL4ProxyRulesResponse,
|
|
151
158
|
DescribeSecurityTemplateBindingsResponse,
|
|
152
159
|
MaxAge,
|
|
153
|
-
|
|
160
|
+
ModifyAccelerationDomainResponse,
|
|
154
161
|
RuleCodeActionParams,
|
|
155
162
|
IPGroup,
|
|
163
|
+
WafConfig,
|
|
156
164
|
DescribeTimingL7AnalysisDataRequest,
|
|
157
165
|
CreatePrefetchTaskResponse,
|
|
158
166
|
NoCache,
|
|
@@ -164,9 +172,12 @@ import {
|
|
|
164
172
|
CreateZoneRequest,
|
|
165
173
|
PlanInfo,
|
|
166
174
|
DescribeTimingL7CacheDataRequest,
|
|
175
|
+
ModifyAliasDomainStatusResponse,
|
|
167
176
|
Task,
|
|
177
|
+
Waf,
|
|
168
178
|
ModifyRuleResponse,
|
|
169
179
|
CreateConfigGroupVersionResponse,
|
|
180
|
+
DeleteL4ProxyRequest,
|
|
170
181
|
AscriptionInfo,
|
|
171
182
|
VerifyOwnershipResponse,
|
|
172
183
|
RuleItem,
|
|
@@ -180,9 +191,10 @@ import {
|
|
|
180
191
|
CodeAction,
|
|
181
192
|
DetailHost,
|
|
182
193
|
Identification,
|
|
194
|
+
DDosProtectionConfig,
|
|
183
195
|
DescribeDDoSAttackDataRequest,
|
|
184
196
|
CachePrefresh,
|
|
185
|
-
|
|
197
|
+
CreateL4ProxyRequest,
|
|
186
198
|
DescribeTimingL7AnalysisDataResponse,
|
|
187
199
|
DescribeConfigGroupVersionsResponse,
|
|
188
200
|
DescribeApplicationProxiesRequest,
|
|
@@ -196,7 +208,7 @@ import {
|
|
|
196
208
|
OriginGroupReference,
|
|
197
209
|
ModifyHostsCertificateResponse,
|
|
198
210
|
CreateRuleRequest,
|
|
199
|
-
|
|
211
|
+
ModifyL4ProxyStatusRequest,
|
|
200
212
|
TopEntry,
|
|
201
213
|
DescribeEnvironmentsResponse,
|
|
202
214
|
VanityNameServersIps,
|
|
@@ -206,6 +218,7 @@ import {
|
|
|
206
218
|
ExceptUserRule,
|
|
207
219
|
CreateApplicationProxyRuleResponse,
|
|
208
220
|
RateLimitUserRule,
|
|
221
|
+
StandardDebug,
|
|
209
222
|
SubRule,
|
|
210
223
|
DeployRecord,
|
|
211
224
|
CertificateInfo,
|
|
@@ -221,10 +234,13 @@ import {
|
|
|
221
234
|
PostMaxSize,
|
|
222
235
|
Sv,
|
|
223
236
|
Rule,
|
|
237
|
+
ModifyL4ProxyRulesStatusRequest,
|
|
224
238
|
Filter,
|
|
225
239
|
CreateAccelerationDomainResponse,
|
|
240
|
+
CreateL4ProxyRulesResponse,
|
|
226
241
|
DescribeTimingL4DataResponse,
|
|
227
242
|
CreateZoneResponse,
|
|
243
|
+
ModifyAccelerationDomainRequest,
|
|
228
244
|
Action,
|
|
229
245
|
ApplicationProxy,
|
|
230
246
|
ModifyApplicationProxyResponse,
|
|
@@ -242,8 +258,10 @@ import {
|
|
|
242
258
|
RuleAndConditions,
|
|
243
259
|
SecurityTemplateBinding,
|
|
244
260
|
DropPageConfig,
|
|
261
|
+
DescribeL4ProxyRequest,
|
|
245
262
|
SecEntry,
|
|
246
263
|
DescribeIdentificationsRequest,
|
|
264
|
+
ModifyZoneStatusRequest,
|
|
247
265
|
DescribeDefaultCertificatesResponse,
|
|
248
266
|
PartialModule,
|
|
249
267
|
CreateOriginGroupResponse,
|
|
@@ -270,12 +288,15 @@ import {
|
|
|
270
288
|
IdentifyZoneRequest,
|
|
271
289
|
CacheConfig,
|
|
272
290
|
ModifyApplicationProxyRuleRequest,
|
|
273
|
-
|
|
291
|
+
ExceptUserRuleScope,
|
|
274
292
|
FailReason,
|
|
293
|
+
DescribePrefetchTasksRequest,
|
|
294
|
+
ModifyL4ProxyRulesRequest,
|
|
275
295
|
DescribeRulesSettingRequest,
|
|
276
296
|
DescribeZonesResponse,
|
|
277
297
|
ModifyAliasDomainResponse,
|
|
278
298
|
EntityStatus,
|
|
299
|
+
TemplateConfig,
|
|
279
300
|
RewriteAction,
|
|
280
301
|
DescribeIPRegionResponse,
|
|
281
302
|
CheckCnameStatusRequest,
|
|
@@ -284,7 +305,7 @@ import {
|
|
|
284
305
|
CnameStatus,
|
|
285
306
|
DeleteAccelerationDomainsResponse,
|
|
286
307
|
DescribeTopL7AnalysisDataResponse,
|
|
287
|
-
|
|
308
|
+
OfflineCache,
|
|
288
309
|
RuleNormalActionParams,
|
|
289
310
|
CreatePurgeTaskRequest,
|
|
290
311
|
Resource,
|
|
@@ -307,15 +328,17 @@ import {
|
|
|
307
328
|
AccelerationDomainCertificate,
|
|
308
329
|
DeployConfigGroupVersionResponse,
|
|
309
330
|
DescribeSecurityTemplateBindingsRequest,
|
|
331
|
+
CreateL4ProxyResponse,
|
|
310
332
|
AlgDetectResult,
|
|
311
333
|
DescribeDeployHistoryResponse,
|
|
334
|
+
L4Proxy,
|
|
312
335
|
QueryString,
|
|
313
336
|
DefaultServerCertInfo,
|
|
314
337
|
CreateSharedCNAMERequest,
|
|
315
338
|
DescribeAccelerationDomainsRequest,
|
|
316
339
|
UpstreamHttp2,
|
|
317
340
|
TopEntryValue,
|
|
318
|
-
|
|
341
|
+
CreateL4ProxyRulesRequest,
|
|
319
342
|
DescribeDDoSAttackTopDataResponse,
|
|
320
343
|
DeleteAliasDomainResponse,
|
|
321
344
|
DescribeIPRegionRequest,
|
|
@@ -333,46 +356,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
333
356
|
super("teo.tencentcloudapi.com", "2022-09-01", clientConfig)
|
|
334
357
|
}
|
|
335
358
|
|
|
336
|
-
/**
|
|
337
|
-
* 修改应用代理规则
|
|
338
|
-
*/
|
|
339
|
-
async ModifyApplicationProxyRule(
|
|
340
|
-
req: ModifyApplicationProxyRuleRequest,
|
|
341
|
-
cb?: (error: string, rep: ModifyApplicationProxyRuleResponse) => void
|
|
342
|
-
): Promise<ModifyApplicationProxyRuleResponse> {
|
|
343
|
-
return this.request("ModifyApplicationProxyRule", req, cb)
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* 删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
|
|
348
|
-
*/
|
|
349
|
-
async DeleteOriginGroup(
|
|
350
|
-
req: DeleteOriginGroupRequest,
|
|
351
|
-
cb?: (error: string, rep: DeleteOriginGroupResponse) => void
|
|
352
|
-
): Promise<DeleteOriginGroupResponse> {
|
|
353
|
-
return this.request("DeleteOriginGroup", req, cb)
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* 用于创建共享 CNAME,该功能白名单内测中。
|
|
358
|
-
*/
|
|
359
|
-
async CreateSharedCNAME(
|
|
360
|
-
req: CreateSharedCNAMERequest,
|
|
361
|
-
cb?: (error: string, rep: CreateSharedCNAMEResponse) => void
|
|
362
|
-
): Promise<CreateSharedCNAMEResponse> {
|
|
363
|
-
return this.request("CreateSharedCNAME", req, cb)
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* 删除站点。
|
|
368
|
-
*/
|
|
369
|
-
async DeleteZone(
|
|
370
|
-
req: DeleteZoneRequest,
|
|
371
|
-
cb?: (error: string, rep: DeleteZoneResponse) => void
|
|
372
|
-
): Promise<DeleteZoneResponse> {
|
|
373
|
-
return this.request("DeleteZone", req, cb)
|
|
374
|
-
}
|
|
375
|
-
|
|
376
359
|
/**
|
|
377
360
|
* 当源站资源更新,但节点缓存 TTL 未过期时,用户仍会访问到旧的资源,此时可以通过该接口实现节点资源更新。触发更新的方法有以下两种:<li>直接删除:不做任何校验,直接删除节点缓存,用户请求时触发回源拉取;</li><li>标记过期:将节点资源置为过期,用户请求时触发回源校验,即发送带有 If-None-Match 和 If-Modified-Since 头部的 HTTP 条件请求。若源站响应 200,则节点会回源拉取新的资源并更新缓存;若源站响应 304,则节点不会更新缓存;</li>
|
|
378
361
|
|
|
@@ -386,147 +369,155 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
386
369
|
}
|
|
387
370
|
|
|
388
371
|
/**
|
|
389
|
-
*
|
|
372
|
+
* 本接口(DownloadL4Logs)用于下载四层离线日志。
|
|
390
373
|
*/
|
|
391
|
-
async
|
|
392
|
-
req:
|
|
393
|
-
cb?: (error: string, rep:
|
|
394
|
-
): Promise<
|
|
395
|
-
return this.request("
|
|
374
|
+
async DownloadL4Logs(
|
|
375
|
+
req: DownloadL4LogsRequest,
|
|
376
|
+
cb?: (error: string, rep: DownloadL4LogsResponse) => void
|
|
377
|
+
): Promise<DownloadL4LogsResponse> {
|
|
378
|
+
return this.request("DownloadL4Logs", req, cb)
|
|
396
379
|
}
|
|
397
380
|
|
|
398
381
|
/**
|
|
399
|
-
*
|
|
382
|
+
* DescribePrefetchTasks 用于查询预热任务提交历史记录及执行进度,通过 CreatePrefetchTasks 接口提交的任务可通过此接口进行查询。
|
|
400
383
|
*/
|
|
401
|
-
async
|
|
402
|
-
req:
|
|
403
|
-
cb?: (error: string, rep:
|
|
404
|
-
): Promise<
|
|
405
|
-
return this.request("
|
|
384
|
+
async DescribePrefetchTasks(
|
|
385
|
+
req: DescribePrefetchTasksRequest,
|
|
386
|
+
cb?: (error: string, rep: DescribePrefetchTasksResponse) => void
|
|
387
|
+
): Promise<DescribePrefetchTasksResponse> {
|
|
388
|
+
return this.request("DescribePrefetchTasks", req, cb)
|
|
406
389
|
}
|
|
407
390
|
|
|
408
391
|
/**
|
|
409
|
-
*
|
|
392
|
+
* 查询内容管理接口配额
|
|
410
393
|
*/
|
|
411
|
-
async
|
|
412
|
-
req:
|
|
413
|
-
cb?: (error: string, rep:
|
|
414
|
-
): Promise<
|
|
415
|
-
return this.request("
|
|
394
|
+
async DescribeContentQuota(
|
|
395
|
+
req: DescribeContentQuotaRequest,
|
|
396
|
+
cb?: (error: string, rep: DescribeContentQuotaResponse) => void
|
|
397
|
+
): Promise<DescribeContentQuotaResponse> {
|
|
398
|
+
return this.request("DescribeContentQuota", req, cb)
|
|
416
399
|
}
|
|
417
400
|
|
|
418
401
|
/**
|
|
419
|
-
*
|
|
402
|
+
* 查询站点的验证信息。
|
|
420
403
|
*/
|
|
421
|
-
async
|
|
422
|
-
req:
|
|
423
|
-
cb?: (error: string, rep:
|
|
424
|
-
): Promise<
|
|
425
|
-
return this.request("
|
|
404
|
+
async DescribeIdentifications(
|
|
405
|
+
req: DescribeIdentificationsRequest,
|
|
406
|
+
cb?: (error: string, rep: DescribeIdentificationsResponse) => void
|
|
407
|
+
): Promise<DescribeIdentificationsResponse> {
|
|
408
|
+
return this.request("DescribeIdentifications", req, cb)
|
|
426
409
|
}
|
|
427
410
|
|
|
428
411
|
/**
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
412
|
+
* 在 CNAME 接入模式下,您需要对站点或者域名的归属权进行验证,可以通过本接口触发验证。若站点通过归属权验证后,后续添加域名无需再验证。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
|
|
413
|
+
|
|
414
|
+
在 NS 接入模式下,您也可以通过本接口来查询 NS 服务器是否切换成功,详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
|
|
415
|
+
*/
|
|
416
|
+
async VerifyOwnership(
|
|
417
|
+
req: VerifyOwnershipRequest,
|
|
418
|
+
cb?: (error: string, rep: VerifyOwnershipResponse) => void
|
|
419
|
+
): Promise<VerifyOwnershipResponse> {
|
|
420
|
+
return this.request("VerifyOwnership", req, cb)
|
|
436
421
|
}
|
|
437
422
|
|
|
438
423
|
/**
|
|
439
|
-
*
|
|
424
|
+
* 用于验证站点所有权。
|
|
440
425
|
*/
|
|
441
|
-
async
|
|
442
|
-
req:
|
|
443
|
-
cb?: (error: string, rep:
|
|
444
|
-
): Promise<
|
|
445
|
-
return this.request("
|
|
426
|
+
async IdentifyZone(
|
|
427
|
+
req: IdentifyZoneRequest,
|
|
428
|
+
cb?: (error: string, rep: IdentifyZoneResponse) => void
|
|
429
|
+
): Promise<IdentifyZoneResponse> {
|
|
430
|
+
return this.request("IdentifyZone", req, cb)
|
|
446
431
|
}
|
|
447
432
|
|
|
448
433
|
/**
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
): Promise<ModifyHostsCertificateResponse> {
|
|
457
|
-
return this.request("ModifyHostsCertificate", req, cb)
|
|
434
|
+
* 查询默认证书列表
|
|
435
|
+
*/
|
|
436
|
+
async DescribeDefaultCertificates(
|
|
437
|
+
req: DescribeDefaultCertificatesRequest,
|
|
438
|
+
cb?: (error: string, rep: DescribeDefaultCertificatesResponse) => void
|
|
439
|
+
): Promise<DescribeDefaultCertificatesResponse> {
|
|
440
|
+
return this.request("DescribeDefaultCertificates", req, cb)
|
|
458
441
|
}
|
|
459
442
|
|
|
460
443
|
/**
|
|
461
|
-
*
|
|
444
|
+
* 您可以通过本接口查看站点下的域名信息,包括加速域名、源站以及域名状态等信息。您可以查看站点下全部域名的信息,也可以指定过滤条件查询对应的域名信息。
|
|
462
445
|
*/
|
|
463
|
-
async
|
|
464
|
-
req:
|
|
465
|
-
cb?: (error: string, rep:
|
|
466
|
-
): Promise<
|
|
467
|
-
return this.request("
|
|
446
|
+
async DescribeAccelerationDomains(
|
|
447
|
+
req: DescribeAccelerationDomainsRequest,
|
|
448
|
+
cb?: (error: string, rep: DescribeAccelerationDomainsResponse) => void
|
|
449
|
+
): Promise<DescribeAccelerationDomainsResponse> {
|
|
450
|
+
return this.request("DescribeAccelerationDomains", req, cb)
|
|
468
451
|
}
|
|
469
452
|
|
|
470
453
|
/**
|
|
471
|
-
*
|
|
454
|
+
* 修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
|
|
472
455
|
*/
|
|
473
|
-
async
|
|
474
|
-
req:
|
|
475
|
-
cb?: (error: string, rep:
|
|
476
|
-
): Promise<
|
|
477
|
-
return this.request("
|
|
456
|
+
async ModifyOriginGroup(
|
|
457
|
+
req: ModifyOriginGroupRequest,
|
|
458
|
+
cb?: (error: string, rep: ModifyOriginGroupResponse) => void
|
|
459
|
+
): Promise<ModifyOriginGroupResponse> {
|
|
460
|
+
return this.request("ModifyOriginGroup", req, cb)
|
|
478
461
|
}
|
|
479
462
|
|
|
480
463
|
/**
|
|
481
|
-
*
|
|
464
|
+
* 删除应用代理
|
|
482
465
|
*/
|
|
483
|
-
async
|
|
484
|
-
req:
|
|
485
|
-
cb?: (error: string, rep:
|
|
486
|
-
): Promise<
|
|
487
|
-
return this.request("
|
|
466
|
+
async DeleteApplicationProxy(
|
|
467
|
+
req: DeleteApplicationProxyRequest,
|
|
468
|
+
cb?: (error: string, rep: DeleteApplicationProxyResponse) => void
|
|
469
|
+
): Promise<DeleteApplicationProxyResponse> {
|
|
470
|
+
return this.request("DeleteApplicationProxy", req, cb)
|
|
488
471
|
}
|
|
489
472
|
|
|
490
473
|
/**
|
|
491
|
-
*
|
|
474
|
+
* 用于启用/停用四层代理实例。
|
|
492
475
|
*/
|
|
493
|
-
async
|
|
494
|
-
req:
|
|
495
|
-
cb?: (error: string, rep:
|
|
496
|
-
): Promise<
|
|
497
|
-
return this.request("
|
|
476
|
+
async ModifyL4ProxyStatus(
|
|
477
|
+
req: ModifyL4ProxyStatusRequest,
|
|
478
|
+
cb?: (error: string, rep: ModifyL4ProxyStatusResponse) => void
|
|
479
|
+
): Promise<ModifyL4ProxyStatusResponse> {
|
|
480
|
+
return this.request("ModifyL4ProxyStatus", req, cb)
|
|
498
481
|
}
|
|
499
482
|
|
|
500
483
|
/**
|
|
501
|
-
*
|
|
484
|
+
* 本接口(DownloadL7Logs)下载七层离线日志。
|
|
502
485
|
*/
|
|
503
|
-
async
|
|
504
|
-
req:
|
|
505
|
-
cb?: (error: string, rep:
|
|
506
|
-
): Promise<
|
|
507
|
-
return this.request("
|
|
486
|
+
async DownloadL7Logs(
|
|
487
|
+
req: DownloadL7LogsRequest,
|
|
488
|
+
cb?: (error: string, rep: DownloadL7LogsResponse) => void
|
|
489
|
+
): Promise<DownloadL7LogsResponse> {
|
|
490
|
+
return this.request("DownloadL7Logs", req, cb)
|
|
508
491
|
}
|
|
509
492
|
|
|
510
493
|
/**
|
|
511
|
-
*
|
|
494
|
+
* 在版本管理模式下,用于查询环境信息,可获取环境 ID、类型、当前生效版本等。版本管理功能内测中,当前仅白名单开放。
|
|
512
495
|
*/
|
|
513
|
-
async
|
|
514
|
-
req:
|
|
515
|
-
cb?: (error: string, rep:
|
|
516
|
-
): Promise<
|
|
517
|
-
return this.request("
|
|
496
|
+
async DescribeEnvironments(
|
|
497
|
+
req: DescribeEnvironmentsRequest,
|
|
498
|
+
cb?: (error: string, rep: DescribeEnvironmentsResponse) => void
|
|
499
|
+
): Promise<DescribeEnvironmentsResponse> {
|
|
500
|
+
return this.request("DescribeEnvironments", req, cb)
|
|
518
501
|
}
|
|
519
502
|
|
|
520
503
|
/**
|
|
521
|
-
|
|
504
|
+
* 删除应用代理规则
|
|
505
|
+
*/
|
|
506
|
+
async DeleteApplicationProxyRule(
|
|
507
|
+
req: DeleteApplicationProxyRuleRequest,
|
|
508
|
+
cb?: (error: string, rep: DeleteApplicationProxyRuleResponse) => void
|
|
509
|
+
): Promise<DeleteApplicationProxyRuleResponse> {
|
|
510
|
+
return this.request("DeleteApplicationProxyRule", req, cb)
|
|
511
|
+
}
|
|
522
512
|
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
513
|
+
/**
|
|
514
|
+
* 校验域名 CNAME 状态
|
|
515
|
+
*/
|
|
516
|
+
async CheckCnameStatus(
|
|
517
|
+
req: CheckCnameStatusRequest,
|
|
518
|
+
cb?: (error: string, rep: CheckCnameStatusResponse) => void
|
|
519
|
+
): Promise<CheckCnameStatusResponse> {
|
|
520
|
+
return this.request("CheckCnameStatus", req, cb)
|
|
530
521
|
}
|
|
531
522
|
|
|
532
523
|
/**
|
|
@@ -540,215 +531,205 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
540
531
|
}
|
|
541
532
|
|
|
542
533
|
/**
|
|
543
|
-
*
|
|
534
|
+
* 创建预热任务
|
|
544
535
|
*/
|
|
545
|
-
async
|
|
546
|
-
req:
|
|
547
|
-
cb?: (error: string, rep:
|
|
548
|
-
): Promise<
|
|
549
|
-
return this.request("
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* 查询指定策略模板的绑定关系列表。
|
|
554
|
-
*/
|
|
555
|
-
async DescribeSecurityTemplateBindings(
|
|
556
|
-
req: DescribeSecurityTemplateBindingsRequest,
|
|
557
|
-
cb?: (error: string, rep: DescribeSecurityTemplateBindingsResponse) => void
|
|
558
|
-
): Promise<DescribeSecurityTemplateBindingsResponse> {
|
|
559
|
-
return this.request("DescribeSecurityTemplateBindings", req, cb)
|
|
536
|
+
async CreatePrefetchTask(
|
|
537
|
+
req: CreatePrefetchTaskRequest,
|
|
538
|
+
cb?: (error: string, rep: CreatePrefetchTaskResponse) => void
|
|
539
|
+
): Promise<CreatePrefetchTaskResponse> {
|
|
540
|
+
return this.request("CreatePrefetchTask", req, cb)
|
|
560
541
|
}
|
|
561
542
|
|
|
562
543
|
/**
|
|
563
|
-
*
|
|
544
|
+
* 删除别称域名。
|
|
564
545
|
*/
|
|
565
|
-
async
|
|
566
|
-
req
|
|
567
|
-
cb?: (error: string, rep:
|
|
568
|
-
): Promise<
|
|
569
|
-
return this.request("
|
|
546
|
+
async DeleteAliasDomain(
|
|
547
|
+
req: DeleteAliasDomainRequest,
|
|
548
|
+
cb?: (error: string, rep: DeleteAliasDomainResponse) => void
|
|
549
|
+
): Promise<DeleteAliasDomainResponse> {
|
|
550
|
+
return this.request("DeleteAliasDomain", req, cb)
|
|
570
551
|
}
|
|
571
552
|
|
|
572
553
|
/**
|
|
573
|
-
*
|
|
554
|
+
* 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。此接口待废弃,请使用 <a href="https://cloud.tencent.com/document/product/1552/80648">DescribeTimingL7AnalysisData</a> 接口。
|
|
574
555
|
*/
|
|
575
|
-
async
|
|
576
|
-
req:
|
|
577
|
-
cb?: (error: string, rep:
|
|
578
|
-
): Promise<
|
|
579
|
-
return this.request("
|
|
556
|
+
async DescribeOverviewL7Data(
|
|
557
|
+
req: DescribeOverviewL7DataRequest,
|
|
558
|
+
cb?: (error: string, rep: DescribeOverviewL7DataResponse) => void
|
|
559
|
+
): Promise<DescribeOverviewL7DataResponse> {
|
|
560
|
+
return this.request("DescribeOverviewL7Data", req, cb)
|
|
580
561
|
}
|
|
581
562
|
|
|
582
563
|
/**
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
564
|
+
* 在创建完站点之后,您可以通过本接口创建加速域名。
|
|
565
|
+
|
|
566
|
+
CNAME 模式接入时,若您未完成站点归属权校验,本接口将为您返回域名归属权验证信息,您可以单独对域名进行归属权验证,详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
|
|
567
|
+
*/
|
|
568
|
+
async CreateAccelerationDomain(
|
|
569
|
+
req: CreateAccelerationDomainRequest,
|
|
570
|
+
cb?: (error: string, rep: CreateAccelerationDomainResponse) => void
|
|
571
|
+
): Promise<CreateAccelerationDomainResponse> {
|
|
572
|
+
return this.request("CreateAccelerationDomain", req, cb)
|
|
590
573
|
}
|
|
591
574
|
|
|
592
575
|
/**
|
|
593
|
-
*
|
|
576
|
+
* 用于修改站点配置
|
|
594
577
|
*/
|
|
595
|
-
async
|
|
596
|
-
req:
|
|
597
|
-
cb?: (error: string, rep:
|
|
598
|
-
): Promise<
|
|
599
|
-
return this.request("
|
|
578
|
+
async ModifyZoneSetting(
|
|
579
|
+
req: ModifyZoneSettingRequest,
|
|
580
|
+
cb?: (error: string, rep: ModifyZoneSettingResponse) => void
|
|
581
|
+
): Promise<ModifyZoneSettingResponse> {
|
|
582
|
+
return this.request("ModifyZoneSetting", req, cb)
|
|
600
583
|
}
|
|
601
584
|
|
|
602
585
|
/**
|
|
603
|
-
*
|
|
586
|
+
* 操作安全策略模板,支持将域名绑定或换绑到指定的策略模板,或者从指定的策略模板解绑。
|
|
604
587
|
*/
|
|
605
|
-
async
|
|
606
|
-
req:
|
|
607
|
-
cb?: (error: string, rep:
|
|
608
|
-
): Promise<
|
|
609
|
-
return this.request("
|
|
588
|
+
async BindSecurityTemplateToEntity(
|
|
589
|
+
req: BindSecurityTemplateToEntityRequest,
|
|
590
|
+
cb?: (error: string, rep: BindSecurityTemplateToEntityResponse) => void
|
|
591
|
+
): Promise<BindSecurityTemplateToEntityResponse> {
|
|
592
|
+
return this.request("BindSecurityTemplateToEntity", req, cb)
|
|
610
593
|
}
|
|
611
594
|
|
|
612
595
|
/**
|
|
613
|
-
*
|
|
596
|
+
* 修改应用代理规则的状态
|
|
614
597
|
*/
|
|
615
|
-
async
|
|
616
|
-
req:
|
|
617
|
-
cb?: (error: string, rep:
|
|
618
|
-
): Promise<
|
|
619
|
-
return this.request("
|
|
598
|
+
async ModifyApplicationProxyRuleStatus(
|
|
599
|
+
req: ModifyApplicationProxyRuleStatusRequest,
|
|
600
|
+
cb?: (error: string, rep: ModifyApplicationProxyRuleStatusResponse) => void
|
|
601
|
+
): Promise<ModifyApplicationProxyRuleStatusResponse> {
|
|
602
|
+
return this.request("ModifyApplicationProxyRuleStatus", req, cb)
|
|
620
603
|
}
|
|
621
604
|
|
|
622
605
|
/**
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
): Promise<VerifyOwnershipResponse> {
|
|
631
|
-
return this.request("VerifyOwnership", req, cb)
|
|
606
|
+
* 为未购买套餐的站点购买套餐
|
|
607
|
+
*/
|
|
608
|
+
async CreatePlanForZone(
|
|
609
|
+
req: CreatePlanForZoneRequest,
|
|
610
|
+
cb?: (error: string, rep: CreatePlanForZoneResponse) => void
|
|
611
|
+
): Promise<CreatePlanForZoneResponse> {
|
|
612
|
+
return this.request("CreatePlanForZone", req, cb)
|
|
632
613
|
}
|
|
633
614
|
|
|
634
615
|
/**
|
|
635
|
-
*
|
|
616
|
+
* 删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
|
|
636
617
|
*/
|
|
637
|
-
async
|
|
638
|
-
req:
|
|
639
|
-
cb?: (error: string, rep:
|
|
640
|
-
): Promise<
|
|
641
|
-
return this.request("
|
|
618
|
+
async DeleteOriginGroup(
|
|
619
|
+
req: DeleteOriginGroupRequest,
|
|
620
|
+
cb?: (error: string, rep: DeleteOriginGroupResponse) => void
|
|
621
|
+
): Promise<DeleteOriginGroupResponse> {
|
|
622
|
+
return this.request("DeleteOriginGroup", req, cb)
|
|
642
623
|
}
|
|
643
624
|
|
|
644
625
|
/**
|
|
645
|
-
*
|
|
626
|
+
* 创建安全 IP 组
|
|
646
627
|
*/
|
|
647
|
-
async
|
|
648
|
-
req
|
|
649
|
-
cb?: (error: string, rep:
|
|
650
|
-
): Promise<
|
|
651
|
-
return this.request("
|
|
628
|
+
async CreateSecurityIPGroup(
|
|
629
|
+
req: CreateSecurityIPGroupRequest,
|
|
630
|
+
cb?: (error: string, rep: CreateSecurityIPGroupResponse) => void
|
|
631
|
+
): Promise<CreateSecurityIPGroupResponse> {
|
|
632
|
+
return this.request("CreateSecurityIPGroup", req, cb)
|
|
652
633
|
}
|
|
653
634
|
|
|
654
635
|
/**
|
|
655
|
-
*
|
|
636
|
+
* 该接口可用于查询 IP 是否为 EdgeOne IP。
|
|
656
637
|
*/
|
|
657
|
-
async
|
|
658
|
-
req:
|
|
659
|
-
cb?: (error: string, rep:
|
|
660
|
-
): Promise<
|
|
661
|
-
return this.request("
|
|
638
|
+
async DescribeIPRegion(
|
|
639
|
+
req: DescribeIPRegionRequest,
|
|
640
|
+
cb?: (error: string, rep: DescribeIPRegionResponse) => void
|
|
641
|
+
): Promise<DescribeIPRegionResponse> {
|
|
642
|
+
return this.request("DescribeIPRegion", req, cb)
|
|
662
643
|
}
|
|
663
644
|
|
|
664
645
|
/**
|
|
665
|
-
*
|
|
646
|
+
* 批量删除加速域名
|
|
666
647
|
*/
|
|
667
|
-
async
|
|
668
|
-
req:
|
|
669
|
-
cb?: (error: string, rep:
|
|
670
|
-
): Promise<
|
|
671
|
-
return this.request("
|
|
648
|
+
async DeleteAccelerationDomains(
|
|
649
|
+
req: DeleteAccelerationDomainsRequest,
|
|
650
|
+
cb?: (error: string, rep: DeleteAccelerationDomainsResponse) => void
|
|
651
|
+
): Promise<DeleteAccelerationDomainsResponse> {
|
|
652
|
+
return this.request("DeleteAccelerationDomains", req, cb)
|
|
672
653
|
}
|
|
673
654
|
|
|
674
655
|
/**
|
|
675
|
-
*
|
|
656
|
+
* 用于修改四层代理实例的配置。
|
|
676
657
|
*/
|
|
677
|
-
async
|
|
678
|
-
req:
|
|
679
|
-
cb?: (error: string, rep:
|
|
680
|
-
): Promise<
|
|
681
|
-
return this.request("
|
|
658
|
+
async ModifyL4Proxy(
|
|
659
|
+
req: ModifyL4ProxyRequest,
|
|
660
|
+
cb?: (error: string, rep: ModifyL4ProxyResponse) => void
|
|
661
|
+
): Promise<ModifyL4ProxyResponse> {
|
|
662
|
+
return this.request("ModifyL4Proxy", req, cb)
|
|
682
663
|
}
|
|
683
664
|
|
|
684
665
|
/**
|
|
685
|
-
*
|
|
666
|
+
* 创建别称域名。
|
|
686
667
|
*/
|
|
687
|
-
async
|
|
688
|
-
req:
|
|
689
|
-
cb?: (error: string, rep:
|
|
690
|
-
): Promise<
|
|
691
|
-
return this.request("
|
|
668
|
+
async CreateAliasDomain(
|
|
669
|
+
req: CreateAliasDomainRequest,
|
|
670
|
+
cb?: (error: string, rep: CreateAliasDomainResponse) => void
|
|
671
|
+
): Promise<CreateAliasDomainResponse> {
|
|
672
|
+
return this.request("CreateAliasDomain", req, cb)
|
|
692
673
|
}
|
|
693
674
|
|
|
694
675
|
/**
|
|
695
|
-
*
|
|
676
|
+
* 本接口(DescribeTimingL7CacheData)用于查询七层缓存分析时序类流量数据。
|
|
696
677
|
*/
|
|
697
|
-
async
|
|
698
|
-
req:
|
|
699
|
-
cb?: (error: string, rep:
|
|
700
|
-
): Promise<
|
|
701
|
-
return this.request("
|
|
678
|
+
async DescribeTimingL7CacheData(
|
|
679
|
+
req: DescribeTimingL7CacheDataRequest,
|
|
680
|
+
cb?: (error: string, rep: DescribeTimingL7CacheDataResponse) => void
|
|
681
|
+
): Promise<DescribeTimingL7CacheDataResponse> {
|
|
682
|
+
return this.request("DescribeTimingL7CacheData", req, cb)
|
|
702
683
|
}
|
|
703
684
|
|
|
704
685
|
/**
|
|
705
|
-
*
|
|
686
|
+
* 在版本管理模式下,用于查询指定配置组的版本列表。版本管理功能内测中,当前仅白名单开放。
|
|
706
687
|
*/
|
|
707
|
-
async
|
|
708
|
-
req:
|
|
709
|
-
cb?: (error: string, rep:
|
|
710
|
-
): Promise<
|
|
711
|
-
return this.request("
|
|
688
|
+
async DescribeConfigGroupVersions(
|
|
689
|
+
req: DescribeConfigGroupVersionsRequest,
|
|
690
|
+
cb?: (error: string, rep: DescribeConfigGroupVersionsResponse) => void
|
|
691
|
+
): Promise<DescribeConfigGroupVersionsResponse> {
|
|
692
|
+
return this.request("DescribeConfigGroupVersions", req, cb)
|
|
712
693
|
}
|
|
713
694
|
|
|
714
695
|
/**
|
|
715
|
-
*
|
|
696
|
+
* 在版本管理模式下,用于获取版本的详细信息,包括版本 ID、描述、状态、创建时间、所属配置组信息以及版本配置文件的内容。版本管理功能内测中,当前仅白名单开放。
|
|
716
697
|
*/
|
|
717
|
-
async
|
|
718
|
-
req:
|
|
719
|
-
cb?: (error: string, rep:
|
|
720
|
-
): Promise<
|
|
721
|
-
return this.request("
|
|
698
|
+
async DescribeConfigGroupVersionDetail(
|
|
699
|
+
req: DescribeConfigGroupVersionDetailRequest,
|
|
700
|
+
cb?: (error: string, rep: DescribeConfigGroupVersionDetailResponse) => void
|
|
701
|
+
): Promise<DescribeConfigGroupVersionDetailResponse> {
|
|
702
|
+
return this.request("DescribeConfigGroupVersionDetail", req, cb)
|
|
722
703
|
}
|
|
723
704
|
|
|
724
705
|
/**
|
|
725
|
-
*
|
|
706
|
+
* 用于修改四层代理转发规则,支持单条或者批量修改。
|
|
726
707
|
*/
|
|
727
|
-
async
|
|
728
|
-
req:
|
|
729
|
-
cb?: (error: string, rep:
|
|
730
|
-
): Promise<
|
|
731
|
-
return this.request("
|
|
708
|
+
async ModifyL4ProxyRules(
|
|
709
|
+
req: ModifyL4ProxyRulesRequest,
|
|
710
|
+
cb?: (error: string, rep: ModifyL4ProxyRulesResponse) => void
|
|
711
|
+
): Promise<ModifyL4ProxyRulesResponse> {
|
|
712
|
+
return this.request("ModifyL4ProxyRules", req, cb)
|
|
732
713
|
}
|
|
733
714
|
|
|
734
715
|
/**
|
|
735
|
-
*
|
|
716
|
+
* 修改别称域名状态。
|
|
736
717
|
*/
|
|
737
|
-
async
|
|
738
|
-
req:
|
|
739
|
-
cb?: (error: string, rep:
|
|
740
|
-
): Promise<
|
|
741
|
-
return this.request("
|
|
718
|
+
async ModifyAliasDomainStatus(
|
|
719
|
+
req: ModifyAliasDomainStatusRequest,
|
|
720
|
+
cb?: (error: string, rep: ModifyAliasDomainStatusResponse) => void
|
|
721
|
+
): Promise<ModifyAliasDomainStatusResponse> {
|
|
722
|
+
return this.request("ModifyAliasDomainStatus", req, cb)
|
|
742
723
|
}
|
|
743
724
|
|
|
744
725
|
/**
|
|
745
|
-
*
|
|
726
|
+
* 用于创建四层代理实例规则,支持单条或者批量创建。
|
|
746
727
|
*/
|
|
747
|
-
async
|
|
748
|
-
req:
|
|
749
|
-
cb?: (error: string, rep:
|
|
750
|
-
): Promise<
|
|
751
|
-
return this.request("
|
|
728
|
+
async CreateL4ProxyRules(
|
|
729
|
+
req: CreateL4ProxyRulesRequest,
|
|
730
|
+
cb?: (error: string, rep: CreateL4ProxyRulesResponse) => void
|
|
731
|
+
): Promise<CreateL4ProxyRulesResponse> {
|
|
732
|
+
return this.request("CreateL4ProxyRules", req, cb)
|
|
752
733
|
}
|
|
753
734
|
|
|
754
735
|
/**
|
|
@@ -762,255 +743,275 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
762
743
|
}
|
|
763
744
|
|
|
764
745
|
/**
|
|
765
|
-
*
|
|
746
|
+
* 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
|
|
766
747
|
*/
|
|
767
|
-
async
|
|
768
|
-
req:
|
|
769
|
-
cb?: (error: string, rep:
|
|
770
|
-
): Promise<
|
|
771
|
-
return this.request("
|
|
748
|
+
async DescribeTimingL4Data(
|
|
749
|
+
req: DescribeTimingL4DataRequest,
|
|
750
|
+
cb?: (error: string, rep: DescribeTimingL4DataResponse) => void
|
|
751
|
+
): Promise<DescribeTimingL4DataResponse> {
|
|
752
|
+
return this.request("DescribeTimingL4Data", req, cb)
|
|
772
753
|
}
|
|
773
754
|
|
|
774
755
|
/**
|
|
775
|
-
*
|
|
756
|
+
* 修改规则引擎规则。
|
|
776
757
|
*/
|
|
777
|
-
async
|
|
778
|
-
req:
|
|
779
|
-
cb?: (error: string, rep:
|
|
780
|
-
): Promise<
|
|
781
|
-
return this.request("
|
|
758
|
+
async ModifyRule(
|
|
759
|
+
req: ModifyRuleRequest,
|
|
760
|
+
cb?: (error: string, rep: ModifyRuleResponse) => void
|
|
761
|
+
): Promise<ModifyRuleResponse> {
|
|
762
|
+
return this.request("ModifyRule", req, cb)
|
|
782
763
|
}
|
|
783
764
|
|
|
784
765
|
/**
|
|
785
|
-
*
|
|
766
|
+
* 本接口(DescribeTopL7AnalysisData)用于查询七层流量前topN的数据。
|
|
786
767
|
*/
|
|
787
|
-
async
|
|
788
|
-
req:
|
|
789
|
-
cb?: (error: string, rep:
|
|
790
|
-
): Promise<
|
|
791
|
-
return this.request("
|
|
768
|
+
async DescribeTopL7AnalysisData(
|
|
769
|
+
req: DescribeTopL7AnalysisDataRequest,
|
|
770
|
+
cb?: (error: string, rep: DescribeTopL7AnalysisDataResponse) => void
|
|
771
|
+
): Promise<DescribeTopL7AnalysisDataResponse> {
|
|
772
|
+
return this.request("DescribeTopL7AnalysisData", req, cb)
|
|
792
773
|
}
|
|
793
774
|
|
|
794
775
|
/**
|
|
795
|
-
*
|
|
776
|
+
* 修改Web&Bot安全配置。
|
|
796
777
|
*/
|
|
797
|
-
async
|
|
798
|
-
req:
|
|
799
|
-
cb?: (error: string, rep:
|
|
800
|
-
): Promise<
|
|
801
|
-
return this.request("
|
|
778
|
+
async ModifySecurityPolicy(
|
|
779
|
+
req: ModifySecurityPolicyRequest,
|
|
780
|
+
cb?: (error: string, rep: ModifySecurityPolicyResponse) => void
|
|
781
|
+
): Promise<ModifySecurityPolicyResponse> {
|
|
782
|
+
return this.request("ModifySecurityPolicy", req, cb)
|
|
802
783
|
}
|
|
803
784
|
|
|
804
785
|
/**
|
|
805
|
-
*
|
|
786
|
+
* 将未绑定套餐的站点绑定到已有套餐
|
|
806
787
|
*/
|
|
807
|
-
async
|
|
808
|
-
req:
|
|
809
|
-
cb?: (error: string, rep:
|
|
810
|
-
): Promise<
|
|
811
|
-
return this.request("
|
|
788
|
+
async BindZoneToPlan(
|
|
789
|
+
req: BindZoneToPlanRequest,
|
|
790
|
+
cb?: (error: string, rep: BindZoneToPlanResponse) => void
|
|
791
|
+
): Promise<BindZoneToPlanResponse> {
|
|
792
|
+
return this.request("BindZoneToPlan", req, cb)
|
|
812
793
|
}
|
|
813
794
|
|
|
814
795
|
/**
|
|
815
|
-
*
|
|
796
|
+
* 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
|
|
816
797
|
*/
|
|
817
|
-
async
|
|
818
|
-
req:
|
|
819
|
-
cb?: (error: string, rep:
|
|
820
|
-
): Promise<
|
|
821
|
-
return this.request("
|
|
798
|
+
async DescribeDDoSAttackEvent(
|
|
799
|
+
req: DescribeDDoSAttackEventRequest,
|
|
800
|
+
cb?: (error: string, rep: DescribeDDoSAttackEventResponse) => void
|
|
801
|
+
): Promise<DescribeDDoSAttackEventResponse> {
|
|
802
|
+
return this.request("DescribeDDoSAttackEvent", req, cb)
|
|
822
803
|
}
|
|
823
804
|
|
|
824
805
|
/**
|
|
825
|
-
*
|
|
806
|
+
* 用于删除四层代理转发规则,支持单条或者批量操作。
|
|
826
807
|
*/
|
|
827
|
-
async
|
|
828
|
-
req:
|
|
829
|
-
cb?: (error: string, rep:
|
|
830
|
-
): Promise<
|
|
831
|
-
return this.request("
|
|
808
|
+
async DeleteL4ProxyRules(
|
|
809
|
+
req: DeleteL4ProxyRulesRequest,
|
|
810
|
+
cb?: (error: string, rep: DeleteL4ProxyRulesResponse) => void
|
|
811
|
+
): Promise<DeleteL4ProxyRulesResponse> {
|
|
812
|
+
return this.request("DeleteL4ProxyRules", req, cb)
|
|
832
813
|
}
|
|
833
814
|
|
|
834
815
|
/**
|
|
835
|
-
*
|
|
816
|
+
* 修改加速域名信息
|
|
836
817
|
*/
|
|
837
|
-
async
|
|
838
|
-
req:
|
|
839
|
-
cb?: (error: string, rep:
|
|
840
|
-
): Promise<
|
|
841
|
-
return this.request("
|
|
818
|
+
async ModifyAccelerationDomain(
|
|
819
|
+
req: ModifyAccelerationDomainRequest,
|
|
820
|
+
cb?: (error: string, rep: ModifyAccelerationDomainResponse) => void
|
|
821
|
+
): Promise<ModifyAccelerationDomainResponse> {
|
|
822
|
+
return this.request("ModifyAccelerationDomain", req, cb)
|
|
842
823
|
}
|
|
843
824
|
|
|
844
825
|
/**
|
|
845
|
-
*
|
|
826
|
+
* 用于创建四层代理实例。
|
|
846
827
|
*/
|
|
847
|
-
async
|
|
848
|
-
req:
|
|
849
|
-
cb?: (error: string, rep:
|
|
850
|
-
): Promise<
|
|
851
|
-
return this.request("
|
|
828
|
+
async CreateL4Proxy(
|
|
829
|
+
req: CreateL4ProxyRequest,
|
|
830
|
+
cb?: (error: string, rep: CreateL4ProxyResponse) => void
|
|
831
|
+
): Promise<CreateL4ProxyResponse> {
|
|
832
|
+
return this.request("CreateL4Proxy", req, cb)
|
|
852
833
|
}
|
|
853
834
|
|
|
854
835
|
/**
|
|
855
|
-
*
|
|
836
|
+
* 修改应用代理的状态
|
|
856
837
|
*/
|
|
857
|
-
async
|
|
858
|
-
req:
|
|
859
|
-
cb?: (error: string, rep:
|
|
860
|
-
): Promise<
|
|
861
|
-
return this.request("
|
|
838
|
+
async ModifyApplicationProxyStatus(
|
|
839
|
+
req: ModifyApplicationProxyStatusRequest,
|
|
840
|
+
cb?: (error: string, rep: ModifyApplicationProxyStatusResponse) => void
|
|
841
|
+
): Promise<ModifyApplicationProxyStatusResponse> {
|
|
842
|
+
return this.request("ModifyApplicationProxyStatus", req, cb)
|
|
862
843
|
}
|
|
863
844
|
|
|
864
845
|
/**
|
|
865
|
-
*
|
|
846
|
+
* 本接口(DescribeTimingL7AnalysisData)查询七层数据分析类时序数据。
|
|
866
847
|
*/
|
|
867
|
-
async
|
|
868
|
-
req:
|
|
869
|
-
cb?: (error: string, rep:
|
|
870
|
-
): Promise<
|
|
871
|
-
return this.request("
|
|
848
|
+
async DescribeTimingL7AnalysisData(
|
|
849
|
+
req: DescribeTimingL7AnalysisDataRequest,
|
|
850
|
+
cb?: (error: string, rep: DescribeTimingL7AnalysisDataResponse) => void
|
|
851
|
+
): Promise<DescribeTimingL7AnalysisDataResponse> {
|
|
852
|
+
return this.request("DescribeTimingL7AnalysisData", req, cb)
|
|
872
853
|
}
|
|
873
854
|
|
|
874
855
|
/**
|
|
875
|
-
*
|
|
856
|
+
* 查询应用代理列表。
|
|
876
857
|
*/
|
|
877
|
-
async
|
|
878
|
-
req:
|
|
879
|
-
cb?: (error: string, rep:
|
|
880
|
-
): Promise<
|
|
881
|
-
return this.request("
|
|
858
|
+
async DescribeApplicationProxies(
|
|
859
|
+
req: DescribeApplicationProxiesRequest,
|
|
860
|
+
cb?: (error: string, rep: DescribeApplicationProxiesResponse) => void
|
|
861
|
+
): Promise<DescribeApplicationProxiesResponse> {
|
|
862
|
+
return this.request("DescribeApplicationProxies", req, cb)
|
|
882
863
|
}
|
|
883
864
|
|
|
884
865
|
/**
|
|
885
|
-
*
|
|
866
|
+
* 用于创建共享 CNAME,该功能白名单内测中。
|
|
886
867
|
*/
|
|
887
|
-
async
|
|
888
|
-
req:
|
|
889
|
-
cb?: (error: string, rep:
|
|
890
|
-
): Promise<
|
|
891
|
-
return this.request("
|
|
868
|
+
async CreateSharedCNAME(
|
|
869
|
+
req: CreateSharedCNAMERequest,
|
|
870
|
+
cb?: (error: string, rep: CreateSharedCNAMEResponse) => void
|
|
871
|
+
): Promise<CreateSharedCNAMEResponse> {
|
|
872
|
+
return this.request("CreateSharedCNAME", req, cb)
|
|
892
873
|
}
|
|
893
874
|
|
|
894
875
|
/**
|
|
895
|
-
*
|
|
876
|
+
* 规则引擎创建规则。
|
|
896
877
|
*/
|
|
897
|
-
async
|
|
898
|
-
req:
|
|
899
|
-
cb?: (error: string, rep:
|
|
900
|
-
): Promise<
|
|
901
|
-
return this.request("
|
|
878
|
+
async CreateRule(
|
|
879
|
+
req: CreateRuleRequest,
|
|
880
|
+
cb?: (error: string, rep: CreateRuleResponse) => void
|
|
881
|
+
): Promise<CreateRuleResponse> {
|
|
882
|
+
return this.request("CreateRule", req, cb)
|
|
902
883
|
}
|
|
903
884
|
|
|
904
885
|
/**
|
|
905
|
-
*
|
|
886
|
+
* 在版本管理模式下,用于创建指定配置组的新版本。版本管理功能内测中,当前仅白名单开放。
|
|
906
887
|
*/
|
|
907
|
-
async
|
|
908
|
-
req:
|
|
909
|
-
cb?: (error: string, rep:
|
|
910
|
-
): Promise<
|
|
911
|
-
return this.request("
|
|
888
|
+
async CreateConfigGroupVersion(
|
|
889
|
+
req: CreateConfigGroupVersionRequest,
|
|
890
|
+
cb?: (error: string, rep: CreateConfigGroupVersionResponse) => void
|
|
891
|
+
): Promise<CreateConfigGroupVersionResponse> {
|
|
892
|
+
return this.request("CreateConfigGroupVersion", req, cb)
|
|
912
893
|
}
|
|
913
894
|
|
|
914
895
|
/**
|
|
915
|
-
*
|
|
896
|
+
* 修改应用代理
|
|
916
897
|
*/
|
|
917
|
-
async
|
|
918
|
-
req:
|
|
919
|
-
cb?: (error: string, rep:
|
|
920
|
-
): Promise<
|
|
921
|
-
return this.request("
|
|
898
|
+
async ModifyApplicationProxy(
|
|
899
|
+
req: ModifyApplicationProxyRequest,
|
|
900
|
+
cb?: (error: string, rep: ModifyApplicationProxyResponse) => void
|
|
901
|
+
): Promise<ModifyApplicationProxyResponse> {
|
|
902
|
+
return this.request("ModifyApplicationProxy", req, cb)
|
|
922
903
|
}
|
|
923
904
|
|
|
924
905
|
/**
|
|
925
|
-
|
|
906
|
+
* EdgeOne 为您提供 CNAME、NS 和无域名接入三种接入方式,您需要先通过此接口完成站点创建。CNAME 和 NS 接入站点的场景可参考 [从零开始快速接入 EdgeOne](https://cloud.tencent.com/document/product/1552/87601); 无域名接入的场景可参考 [快速启用四层代理服务](https://cloud.tencent.com/document/product/1552/96051)。
|
|
907
|
+
|
|
908
|
+
> 建议您在账号下已存在套餐时调用本接口创建站点,请在入参时传入 PlanId ,直接将站点绑定至该套餐;不传入 PlanId 时,创建出来的站点会处于未激活状态,无法正常服务,您需要通过 [BindZoneToPlan](https://cloud.tencent.com/document/product/1552/83042) 完成套餐绑定之后,站点才可正常提供服务 。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
|
|
909
|
+
*/
|
|
910
|
+
async CreateZone(
|
|
911
|
+
req: CreateZoneRequest,
|
|
912
|
+
cb?: (error: string, rep: CreateZoneResponse) => void
|
|
913
|
+
): Promise<CreateZoneResponse> {
|
|
914
|
+
return this.request("CreateZone", req, cb)
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* 查询当前账户可用套餐信息列表
|
|
926
919
|
*/
|
|
927
|
-
async
|
|
928
|
-
req
|
|
929
|
-
cb?: (error: string, rep:
|
|
930
|
-
): Promise<
|
|
931
|
-
return this.request("
|
|
920
|
+
async DescribeAvailablePlans(
|
|
921
|
+
req?: DescribeAvailablePlansRequest,
|
|
922
|
+
cb?: (error: string, rep: DescribeAvailablePlansResponse) => void
|
|
923
|
+
): Promise<DescribeAvailablePlansResponse> {
|
|
924
|
+
return this.request("DescribeAvailablePlans", req, cb)
|
|
932
925
|
}
|
|
933
926
|
|
|
934
927
|
/**
|
|
935
|
-
*
|
|
928
|
+
* 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
|
|
936
929
|
*/
|
|
937
|
-
async
|
|
938
|
-
req
|
|
939
|
-
cb?: (error: string, rep:
|
|
940
|
-
): Promise<
|
|
941
|
-
return this.request("
|
|
930
|
+
async DescribeRulesSetting(
|
|
931
|
+
req?: DescribeRulesSettingRequest,
|
|
932
|
+
cb?: (error: string, rep: DescribeRulesSettingResponse) => void
|
|
933
|
+
): Promise<DescribeRulesSettingResponse> {
|
|
934
|
+
return this.request("DescribeRulesSetting", req, cb)
|
|
942
935
|
}
|
|
943
936
|
|
|
944
937
|
/**
|
|
945
|
-
*
|
|
938
|
+
* 批量修改加速域名状态
|
|
946
939
|
*/
|
|
947
|
-
async
|
|
948
|
-
req:
|
|
949
|
-
cb?: (error: string, rep:
|
|
950
|
-
): Promise<
|
|
951
|
-
return this.request("
|
|
940
|
+
async ModifyAccelerationDomainStatuses(
|
|
941
|
+
req: ModifyAccelerationDomainStatusesRequest,
|
|
942
|
+
cb?: (error: string, rep: ModifyAccelerationDomainStatusesResponse) => void
|
|
943
|
+
): Promise<ModifyAccelerationDomainStatusesResponse> {
|
|
944
|
+
return this.request("ModifyAccelerationDomainStatuses", req, cb)
|
|
952
945
|
}
|
|
953
946
|
|
|
954
947
|
/**
|
|
955
|
-
*
|
|
948
|
+
* 修改安全 IP 组。
|
|
956
949
|
*/
|
|
957
|
-
async
|
|
958
|
-
req:
|
|
959
|
-
cb?: (error: string, rep:
|
|
960
|
-
): Promise<
|
|
961
|
-
return this.request("
|
|
950
|
+
async ModifySecurityIPGroup(
|
|
951
|
+
req: ModifySecurityIPGroupRequest,
|
|
952
|
+
cb?: (error: string, rep: ModifySecurityIPGroupResponse) => void
|
|
953
|
+
): Promise<ModifySecurityIPGroupResponse> {
|
|
954
|
+
return this.request("ModifySecurityIPGroup", req, cb)
|
|
962
955
|
}
|
|
963
956
|
|
|
964
957
|
/**
|
|
965
|
-
|
|
958
|
+
* 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
|
|
959
|
+
*/
|
|
960
|
+
async DescribeDDoSAttackTopData(
|
|
961
|
+
req: DescribeDDoSAttackTopDataRequest,
|
|
962
|
+
cb?: (error: string, rep: DescribeDDoSAttackTopDataResponse) => void
|
|
963
|
+
): Promise<DescribeDDoSAttackTopDataResponse> {
|
|
964
|
+
return this.request("DescribeDDoSAttackTopData", req, cb)
|
|
965
|
+
}
|
|
966
966
|
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
967
|
+
/**
|
|
968
|
+
* 用于开启,关闭站点。
|
|
969
|
+
*/
|
|
970
|
+
async ModifyZoneStatus(
|
|
971
|
+
req: ModifyZoneStatusRequest,
|
|
972
|
+
cb?: (error: string, rep: ModifyZoneStatusResponse) => void
|
|
973
|
+
): Promise<ModifyZoneStatusResponse> {
|
|
974
|
+
return this.request("ModifyZoneStatus", req, cb)
|
|
974
975
|
}
|
|
975
976
|
|
|
976
977
|
/**
|
|
977
|
-
*
|
|
978
|
+
* DescribePurgeTasks 用于查询提交的 URL 刷新、目录刷新记录及执行进度,通过 CreatePurgeTasks 接口提交的任务均可通过此接口进行查询。
|
|
978
979
|
*/
|
|
979
|
-
async
|
|
980
|
-
req:
|
|
981
|
-
cb?: (error: string, rep:
|
|
982
|
-
): Promise<
|
|
983
|
-
return this.request("
|
|
980
|
+
async DescribePurgeTasks(
|
|
981
|
+
req: DescribePurgeTasksRequest,
|
|
982
|
+
cb?: (error: string, rep: DescribePurgeTasksResponse) => void
|
|
983
|
+
): Promise<DescribePurgeTasksResponse> {
|
|
984
|
+
return this.request("DescribePurgeTasks", req, cb)
|
|
984
985
|
}
|
|
985
986
|
|
|
986
987
|
/**
|
|
987
|
-
*
|
|
988
|
+
* 批量删除规则引擎规则。
|
|
988
989
|
*/
|
|
989
|
-
async
|
|
990
|
-
req:
|
|
991
|
-
cb?: (error: string, rep:
|
|
992
|
-
): Promise<
|
|
993
|
-
return this.request("
|
|
990
|
+
async DeleteRules(
|
|
991
|
+
req: DeleteRulesRequest,
|
|
992
|
+
cb?: (error: string, rep: DeleteRulesResponse) => void
|
|
993
|
+
): Promise<DeleteRulesResponse> {
|
|
994
|
+
return this.request("DeleteRules", req, cb)
|
|
994
995
|
}
|
|
995
996
|
|
|
996
997
|
/**
|
|
997
|
-
*
|
|
998
|
+
* 查询四层代理实例下的规则列表。
|
|
998
999
|
*/
|
|
999
|
-
async
|
|
1000
|
-
req:
|
|
1001
|
-
cb?: (error: string, rep:
|
|
1002
|
-
): Promise<
|
|
1003
|
-
return this.request("
|
|
1000
|
+
async DescribeL4ProxyRules(
|
|
1001
|
+
req: DescribeL4ProxyRulesRequest,
|
|
1002
|
+
cb?: (error: string, rep: DescribeL4ProxyRulesResponse) => void
|
|
1003
|
+
): Promise<DescribeL4ProxyRulesResponse> {
|
|
1004
|
+
return this.request("DescribeL4ProxyRules", req, cb)
|
|
1004
1005
|
}
|
|
1005
1006
|
|
|
1006
1007
|
/**
|
|
1007
|
-
*
|
|
1008
|
+
* 用于查询四层代理实例列表。
|
|
1008
1009
|
*/
|
|
1009
|
-
async
|
|
1010
|
-
req:
|
|
1011
|
-
cb?: (error: string, rep:
|
|
1012
|
-
): Promise<
|
|
1013
|
-
return this.request("
|
|
1010
|
+
async DescribeL4Proxy(
|
|
1011
|
+
req: DescribeL4ProxyRequest,
|
|
1012
|
+
cb?: (error: string, rep: DescribeL4ProxyResponse) => void
|
|
1013
|
+
): Promise<DescribeL4ProxyResponse> {
|
|
1014
|
+
return this.request("DescribeL4Proxy", req, cb)
|
|
1014
1015
|
}
|
|
1015
1016
|
|
|
1016
1017
|
/**
|
|
@@ -1023,16 +1024,6 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
|
|
|
1023
1024
|
return this.request("DescribeRules", req, cb)
|
|
1024
1025
|
}
|
|
1025
1026
|
|
|
1026
|
-
/**
|
|
1027
|
-
* DescribePurgeTasks 用于查询提交的 URL 刷新、目录刷新记录及执行进度,通过 CreatePurgeTasks 接口提交的任务均可通过此接口进行查询。
|
|
1028
|
-
*/
|
|
1029
|
-
async DescribePurgeTasks(
|
|
1030
|
-
req: DescribePurgeTasksRequest,
|
|
1031
|
-
cb?: (error: string, rep: DescribePurgeTasksResponse) => void
|
|
1032
|
-
): Promise<DescribePurgeTasksResponse> {
|
|
1033
|
-
return this.request("DescribePurgeTasks", req, cb)
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
1027
|
/**
|
|
1037
1028
|
* 创建应用代理
|
|
1038
1029
|
*/
|
|
@@ -1044,43 +1035,65 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
|
|
|
1044
1035
|
}
|
|
1045
1036
|
|
|
1046
1037
|
/**
|
|
1047
|
-
*
|
|
1038
|
+
* 获取源站组列表
|
|
1048
1039
|
*/
|
|
1049
|
-
async
|
|
1050
|
-
req:
|
|
1051
|
-
cb?: (error: string, rep:
|
|
1052
|
-
): Promise<
|
|
1053
|
-
return this.request("
|
|
1040
|
+
async DescribeOriginGroup(
|
|
1041
|
+
req: DescribeOriginGroupRequest,
|
|
1042
|
+
cb?: (error: string, rep: DescribeOriginGroupResponse) => void
|
|
1043
|
+
): Promise<DescribeOriginGroupResponse> {
|
|
1044
|
+
return this.request("DescribeOriginGroup", req, cb)
|
|
1054
1045
|
}
|
|
1055
1046
|
|
|
1056
1047
|
/**
|
|
1057
|
-
*
|
|
1048
|
+
* 修改别称域名。
|
|
1058
1049
|
*/
|
|
1059
|
-
async
|
|
1060
|
-
req:
|
|
1061
|
-
cb?: (error: string, rep:
|
|
1062
|
-
): Promise<
|
|
1063
|
-
return this.request("
|
|
1050
|
+
async ModifyAliasDomain(
|
|
1051
|
+
req: ModifyAliasDomainRequest,
|
|
1052
|
+
cb?: (error: string, rep: ModifyAliasDomainResponse) => void
|
|
1053
|
+
): Promise<ModifyAliasDomainResponse> {
|
|
1054
|
+
return this.request("ModifyAliasDomain", req, cb)
|
|
1064
1055
|
}
|
|
1065
1056
|
|
|
1066
1057
|
/**
|
|
1067
|
-
*
|
|
1058
|
+
* 修改应用代理规则
|
|
1068
1059
|
*/
|
|
1069
|
-
async
|
|
1070
|
-
req:
|
|
1071
|
-
cb?: (error: string, rep:
|
|
1072
|
-
): Promise<
|
|
1073
|
-
return this.request("
|
|
1060
|
+
async ModifyApplicationProxyRule(
|
|
1061
|
+
req: ModifyApplicationProxyRuleRequest,
|
|
1062
|
+
cb?: (error: string, rep: ModifyApplicationProxyRuleResponse) => void
|
|
1063
|
+
): Promise<ModifyApplicationProxyRuleResponse> {
|
|
1064
|
+
return this.request("ModifyApplicationProxyRule", req, cb)
|
|
1074
1065
|
}
|
|
1075
1066
|
|
|
1076
1067
|
/**
|
|
1077
|
-
*
|
|
1068
|
+
* 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
|
|
1078
1069
|
*/
|
|
1079
|
-
async
|
|
1080
|
-
req:
|
|
1081
|
-
cb?: (error: string, rep:
|
|
1082
|
-
): Promise<
|
|
1083
|
-
return this.request("
|
|
1070
|
+
async CreateOriginGroup(
|
|
1071
|
+
req: CreateOriginGroupRequest,
|
|
1072
|
+
cb?: (error: string, rep: CreateOriginGroupResponse) => void
|
|
1073
|
+
): Promise<CreateOriginGroupResponse> {
|
|
1074
|
+
return this.request("CreateOriginGroup", req, cb)
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* 完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。
|
|
1079
|
+
如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名
|
|
1080
|
+
](https://cloud.tencent.com/document/product/1552/88874)。
|
|
1081
|
+
*/
|
|
1082
|
+
async ModifyHostsCertificate(
|
|
1083
|
+
req: ModifyHostsCertificateRequest,
|
|
1084
|
+
cb?: (error: string, rep: ModifyHostsCertificateResponse) => void
|
|
1085
|
+
): Promise<ModifyHostsCertificateResponse> {
|
|
1086
|
+
return this.request("ModifyHostsCertificate", req, cb)
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* 在版本管理模式下,用于查询生产/测试环境的版本发布历史。版本管理功能内测中,当前仅白名单开放。
|
|
1091
|
+
*/
|
|
1092
|
+
async DescribeDeployHistory(
|
|
1093
|
+
req: DescribeDeployHistoryRequest,
|
|
1094
|
+
cb?: (error: string, rep: DescribeDeployHistoryResponse) => void
|
|
1095
|
+
): Promise<DescribeDeployHistoryResponse> {
|
|
1096
|
+
return this.request("DescribeDeployHistory", req, cb)
|
|
1084
1097
|
}
|
|
1085
1098
|
|
|
1086
1099
|
/**
|
|
@@ -1094,32 +1107,142 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
|
|
|
1094
1107
|
}
|
|
1095
1108
|
|
|
1096
1109
|
/**
|
|
1097
|
-
*
|
|
1110
|
+
* 用于查询域名配置信息
|
|
1098
1111
|
*/
|
|
1099
|
-
async
|
|
1100
|
-
req:
|
|
1101
|
-
cb?: (error: string, rep:
|
|
1102
|
-
): Promise<
|
|
1103
|
-
return this.request("
|
|
1112
|
+
async DescribeHostsSetting(
|
|
1113
|
+
req: DescribeHostsSettingRequest,
|
|
1114
|
+
cb?: (error: string, rep: DescribeHostsSettingResponse) => void
|
|
1115
|
+
): Promise<DescribeHostsSettingResponse> {
|
|
1116
|
+
return this.request("DescribeHostsSetting", req, cb)
|
|
1104
1117
|
}
|
|
1105
1118
|
|
|
1106
1119
|
/**
|
|
1107
|
-
*
|
|
1120
|
+
* 查询指定策略模板的绑定关系列表。
|
|
1108
1121
|
*/
|
|
1109
|
-
async
|
|
1110
|
-
req:
|
|
1111
|
-
cb?: (error: string, rep:
|
|
1112
|
-
): Promise<
|
|
1113
|
-
return this.request("
|
|
1122
|
+
async DescribeSecurityTemplateBindings(
|
|
1123
|
+
req: DescribeSecurityTemplateBindingsRequest,
|
|
1124
|
+
cb?: (error: string, rep: DescribeSecurityTemplateBindingsResponse) => void
|
|
1125
|
+
): Promise<DescribeSecurityTemplateBindingsResponse> {
|
|
1126
|
+
return this.request("DescribeSecurityTemplateBindings", req, cb)
|
|
1114
1127
|
}
|
|
1115
1128
|
|
|
1116
1129
|
/**
|
|
1117
|
-
*
|
|
1130
|
+
* 用于删除四层代理实例。
|
|
1118
1131
|
*/
|
|
1119
|
-
async
|
|
1120
|
-
req:
|
|
1121
|
-
cb?: (error: string, rep:
|
|
1122
|
-
): Promise<
|
|
1123
|
-
return this.request("
|
|
1132
|
+
async DeleteL4Proxy(
|
|
1133
|
+
req: DeleteL4ProxyRequest,
|
|
1134
|
+
cb?: (error: string, rep: DeleteL4ProxyResponse) => void
|
|
1135
|
+
): Promise<DeleteL4ProxyResponse> {
|
|
1136
|
+
return this.request("DeleteL4Proxy", req, cb)
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* 用于加速域名绑定或解绑共享 CNAME,该功能白名单内测中。
|
|
1141
|
+
*/
|
|
1142
|
+
async BindSharedCNAME(
|
|
1143
|
+
req: BindSharedCNAMERequest,
|
|
1144
|
+
cb?: (error: string, rep: BindSharedCNAMEResponse) => void
|
|
1145
|
+
): Promise<BindSharedCNAMEResponse> {
|
|
1146
|
+
return this.request("BindSharedCNAME", req, cb)
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* 查询源站防护信息
|
|
1151
|
+
*/
|
|
1152
|
+
async DescribeOriginProtection(
|
|
1153
|
+
req: DescribeOriginProtectionRequest,
|
|
1154
|
+
cb?: (error: string, rep: DescribeOriginProtectionResponse) => void
|
|
1155
|
+
): Promise<DescribeOriginProtectionResponse> {
|
|
1156
|
+
return this.request("DescribeOriginProtection", req, cb)
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* 用于启用/停用四层代理转发规则状态,支持单条或者批量操作。
|
|
1161
|
+
*/
|
|
1162
|
+
async ModifyL4ProxyRulesStatus(
|
|
1163
|
+
req: ModifyL4ProxyRulesStatusRequest,
|
|
1164
|
+
cb?: (error: string, rep: ModifyL4ProxyRulesStatusResponse) => void
|
|
1165
|
+
): Promise<ModifyL4ProxyRulesStatusResponse> {
|
|
1166
|
+
return this.request("ModifyL4ProxyRulesStatus", req, cb)
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* 用于查询站点的所有配置信息。
|
|
1171
|
+
*/
|
|
1172
|
+
async DescribeZoneSetting(
|
|
1173
|
+
req: DescribeZoneSettingRequest,
|
|
1174
|
+
cb?: (error: string, rep: DescribeZoneSettingResponse) => void
|
|
1175
|
+
): Promise<DescribeZoneSettingResponse> {
|
|
1176
|
+
return this.request("DescribeZoneSetting", req, cb)
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* 删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
|
|
1181
|
+
*/
|
|
1182
|
+
async DeleteSecurityIPGroup(
|
|
1183
|
+
req: DeleteSecurityIPGroupRequest,
|
|
1184
|
+
cb?: (error: string, rep: DeleteSecurityIPGroupResponse) => void
|
|
1185
|
+
): Promise<DeleteSecurityIPGroupResponse> {
|
|
1186
|
+
return this.request("DeleteSecurityIPGroup", req, cb)
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* 创建应用代理规则
|
|
1191
|
+
*/
|
|
1192
|
+
async CreateApplicationProxyRule(
|
|
1193
|
+
req: CreateApplicationProxyRuleRequest,
|
|
1194
|
+
cb?: (error: string, rep: CreateApplicationProxyRuleResponse) => void
|
|
1195
|
+
): Promise<CreateApplicationProxyRuleResponse> {
|
|
1196
|
+
return this.request("CreateApplicationProxyRule", req, cb)
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* 该接口用于查询您有权限的站点信息。可根据不同查询条件筛选站点。
|
|
1201
|
+
*/
|
|
1202
|
+
async DescribeZones(
|
|
1203
|
+
req: DescribeZonesRequest,
|
|
1204
|
+
cb?: (error: string, rep: DescribeZonesResponse) => void
|
|
1205
|
+
): Promise<DescribeZonesResponse> {
|
|
1206
|
+
return this.request("DescribeZones", req, cb)
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* 删除站点。
|
|
1211
|
+
*/
|
|
1212
|
+
async DeleteZone(
|
|
1213
|
+
req: DeleteZoneRequest,
|
|
1214
|
+
cb?: (error: string, rep: DeleteZoneResponse) => void
|
|
1215
|
+
): Promise<DeleteZoneResponse> {
|
|
1216
|
+
return this.request("DeleteZone", req, cb)
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
|
|
1221
|
+
*/
|
|
1222
|
+
async DescribeDDoSAttackData(
|
|
1223
|
+
req: DescribeDDoSAttackDataRequest,
|
|
1224
|
+
cb?: (error: string, rep: DescribeDDoSAttackDataResponse) => void
|
|
1225
|
+
): Promise<DescribeDDoSAttackDataResponse> {
|
|
1226
|
+
return this.request("DescribeDDoSAttackData", req, cb)
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* 用于删除共享 CNAME,该功能白名单内测中。
|
|
1231
|
+
*/
|
|
1232
|
+
async DeleteSharedCNAME(
|
|
1233
|
+
req: DeleteSharedCNAMERequest,
|
|
1234
|
+
cb?: (error: string, rep: DeleteSharedCNAMEResponse) => void
|
|
1235
|
+
): Promise<DeleteSharedCNAMEResponse> {
|
|
1236
|
+
return this.request("DeleteSharedCNAME", req, cb)
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* 查询别称域名信息列表。
|
|
1241
|
+
*/
|
|
1242
|
+
async DescribeAliasDomains(
|
|
1243
|
+
req: DescribeAliasDomainsRequest,
|
|
1244
|
+
cb?: (error: string, rep: DescribeAliasDomainsResponse) => void
|
|
1245
|
+
): Promise<DescribeAliasDomainsResponse> {
|
|
1246
|
+
return this.request("DescribeAliasDomains", req, cb)
|
|
1124
1247
|
}
|
|
1125
1248
|
}
|