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