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.
@@ -28,160 +28,220 @@ class Client extends TencentCloudCommon.AbstractClient {
28
28
  super("teo.tencentcloudapi.com", "2022-09-01", clientConfig);
29
29
  }
30
30
  /**
31
- * 修改应用代理规则
31
+ * 当源站资源更新,但节点缓存 TTL 未过期时,用户仍会访问到旧的资源,此时可以通过该接口实现节点资源更新。触发更新的方法有以下两种:<li>直接删除:不做任何校验,直接删除节点缓存,用户请求时触发回源拉取;</li><li>标记过期:将节点资源置为过期,用户请求时触发回源校验,即发送带有 If-None-Match 和 If-Modified-Since 头部的 HTTP 条件请求。若源站响应 200,则节点会回源拉取新的资源并更新缓存;若源站响应 304,则节点不会更新缓存;</li>
32
+
33
+ 清除缓存任务详情请查看[清除缓存](https://cloud.tencent.com/document/product/1552/70759)。
34
+ */
35
+ async CreatePurgeTask(req, cb) {
36
+ return this.request("CreatePurgeTask", req, cb);
37
+ }
38
+ /**
39
+ * 本接口(DownloadL4Logs)用于下载四层离线日志。
32
40
  */
33
- async ModifyApplicationProxyRule(req, cb) {
34
- return this.request("ModifyApplicationProxyRule", req, cb);
41
+ async DownloadL4Logs(req, cb) {
42
+ return this.request("DownloadL4Logs", req, cb);
35
43
  }
36
44
  /**
37
- * 删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
45
+ * DescribePrefetchTasks 用于查询预热任务提交历史记录及执行进度,通过 CreatePrefetchTasks 接口提交的任务可通过此接口进行查询。
38
46
  */
39
- async DeleteOriginGroup(req, cb) {
40
- return this.request("DeleteOriginGroup", req, cb);
47
+ async DescribePrefetchTasks(req, cb) {
48
+ return this.request("DescribePrefetchTasks", req, cb);
41
49
  }
42
50
  /**
43
- * 用于创建共享 CNAME,该功能白名单内测中。
51
+ * 查询内容管理接口配额
44
52
  */
45
- async CreateSharedCNAME(req, cb) {
46
- return this.request("CreateSharedCNAME", req, cb);
53
+ async DescribeContentQuota(req, cb) {
54
+ return this.request("DescribeContentQuota", req, cb);
47
55
  }
48
56
  /**
49
- * 删除站点。
57
+ * 查询站点的验证信息。
50
58
  */
51
- async DeleteZone(req, cb) {
52
- return this.request("DeleteZone", req, cb);
59
+ async DescribeIdentifications(req, cb) {
60
+ return this.request("DescribeIdentifications", req, cb);
53
61
  }
54
62
  /**
55
- * 当源站资源更新,但节点缓存 TTL 未过期时,用户仍会访问到旧的资源,此时可以通过该接口实现节点资源更新。触发更新的方法有以下两种:<li>直接删除:不做任何校验,直接删除节点缓存,用户请求时触发回源拉取;</li><li>标记过期:将节点资源置为过期,用户请求时触发回源校验,即发送带有 If-None-Match 和 If-Modified-Since 头部的 HTTP 条件请求。若源站响应 200,则节点会回源拉取新的资源并更新缓存;若源站响应 304,则节点不会更新缓存;</li>
63
+ * CNAME 接入模式下,您需要对站点或者域名的归属权进行验证,可以通过本接口触发验证。若站点通过归属权验证后,后续添加域名无需再验证。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
56
64
 
57
- 清除缓存任务详情请查看[清除缓存](https://cloud.tencent.com/document/product/1552/70759)。
65
+ 在 NS 接入模式下,您也可以通过本接口来查询 NS 服务器是否切换成功,详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
58
66
  */
59
- async CreatePurgeTask(req, cb) {
60
- return this.request("CreatePurgeTask", req, cb);
67
+ async VerifyOwnership(req, cb) {
68
+ return this.request("VerifyOwnership", req, cb);
61
69
  }
62
70
  /**
63
- * 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
71
+ * 用于验证站点所有权。
64
72
  */
65
- async CreateOriginGroup(req, cb) {
66
- return this.request("CreateOriginGroup", req, cb);
73
+ async IdentifyZone(req, cb) {
74
+ return this.request("IdentifyZone", req, cb);
67
75
  }
68
76
  /**
69
- * 创建安全 IP 组
77
+ * 查询默认证书列表
70
78
  */
71
- async CreateSecurityIPGroup(req, cb) {
72
- return this.request("CreateSecurityIPGroup", req, cb);
79
+ async DescribeDefaultCertificates(req, cb) {
80
+ return this.request("DescribeDefaultCertificates", req, cb);
73
81
  }
74
82
  /**
75
- * 该接口可用于查询 IP 是否为 EdgeOne IP。
83
+ * 您可以通过本接口查看站点下的域名信息,包括加速域名、源站以及域名状态等信息。您可以查看站点下全部域名的信息,也可以指定过滤条件查询对应的域名信息。
76
84
  */
77
- async DescribeIPRegion(req, cb) {
78
- return this.request("DescribeIPRegion", req, cb);
85
+ async DescribeAccelerationDomains(req, cb) {
86
+ return this.request("DescribeAccelerationDomains", req, cb);
79
87
  }
80
88
  /**
81
- * 用于修改站点配置
89
+ * 修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
82
90
  */
83
- async ModifyZoneSetting(req, cb) {
84
- return this.request("ModifyZoneSetting", req, cb);
91
+ async ModifyOriginGroup(req, cb) {
92
+ return this.request("ModifyOriginGroup", req, cb);
85
93
  }
86
94
  /**
87
- * 本接口(DescribeTimingL7CacheData)用于查询七层缓存分析时序类流量数据。
95
+ * 删除应用代理
88
96
  */
89
- async DescribeTimingL7CacheData(req, cb) {
90
- return this.request("DescribeTimingL7CacheData", req, cb);
97
+ async DeleteApplicationProxy(req, cb) {
98
+ return this.request("DeleteApplicationProxy", req, cb);
91
99
  }
92
100
  /**
93
- * 批量删除加速域名
101
+ * 用于启用/停用四层代理实例。
94
102
  */
95
- async DeleteAccelerationDomains(req, cb) {
96
- return this.request("DeleteAccelerationDomains", req, cb);
103
+ async ModifyL4ProxyStatus(req, cb) {
104
+ return this.request("ModifyL4ProxyStatus", req, cb);
97
105
  }
98
106
  /**
99
- * 完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。
100
- 如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名
101
- ](https://cloud.tencent.com/document/product/1552/88874)
102
- */
103
- async ModifyHostsCertificate(req, cb) {
104
- return this.request("ModifyHostsCertificate", req, cb);
107
+ * 本接口(DownloadL7Logs)下载七层离线日志。
108
+ */
109
+ async DownloadL7Logs(req, cb) {
110
+ return this.request("DownloadL7Logs", req, cb);
105
111
  }
106
112
  /**
107
- * 在版本管理模式下,用于查询生产/测试环境的版本发布历史。版本管理功能内测中,当前仅白名单开放。
113
+ * 在版本管理模式下,用于查询环境信息,可获取环境 ID、类型、当前生效版本等。版本管理功能内测中,当前仅白名单开放。
108
114
  */
109
- async DescribeDeployHistory(req, cb) {
110
- return this.request("DescribeDeployHistory", req, cb);
115
+ async DescribeEnvironments(req, cb) {
116
+ return this.request("DescribeEnvironments", req, cb);
111
117
  }
112
118
  /**
113
- * 规则引擎创建规则。
119
+ * 删除应用代理规则
114
120
  */
115
- async CreateRule(req, cb) {
116
- return this.request("CreateRule", req, cb);
121
+ async DeleteApplicationProxyRule(req, cb) {
122
+ return this.request("DeleteApplicationProxyRule", req, cb);
117
123
  }
118
124
  /**
119
- * 在版本管理模式下,用于创建指定配置组的新版本。版本管理功能内测中,当前仅白名单开放。
125
+ * 校验域名 CNAME 状态
120
126
  */
121
- async CreateConfigGroupVersion(req, cb) {
122
- return this.request("CreateConfigGroupVersion", req, cb);
127
+ async CheckCnameStatus(req, cb) {
128
+ return this.request("CheckCnameStatus", req, cb);
123
129
  }
124
130
  /**
125
- * 查询内容管理接口配额
131
+ * 修改站点信息。
126
132
  */
127
- async DescribeContentQuota(req, cb) {
128
- return this.request("DescribeContentQuota", req, cb);
133
+ async ModifyZone(req, cb) {
134
+ return this.request("ModifyZone", req, cb);
129
135
  }
130
136
  /**
131
- * 修改应用代理
137
+ * 创建预热任务
132
138
  */
133
- async ModifyApplicationProxy(req, cb) {
134
- return this.request("ModifyApplicationProxy", req, cb);
139
+ async CreatePrefetchTask(req, cb) {
140
+ return this.request("CreatePrefetchTask", req, cb);
135
141
  }
136
142
  /**
137
- * 查询站点的验证信息。
143
+ * 删除别称域名。
138
144
  */
139
- async DescribeIdentifications(req, cb) {
140
- return this.request("DescribeIdentifications", req, cb);
145
+ async DeleteAliasDomain(req, cb) {
146
+ return this.request("DeleteAliasDomain", req, cb);
141
147
  }
142
148
  /**
143
- * EdgeOne 为您提供 CNAME、NS 和无域名接入三种接入方式,您需要先通过此接口完成站点创建。CNAME 和 NS 接入站点的场景可参考 [从零开始快速接入 EdgeOne](https://cloud.tencent.com/document/product/1552/87601); 无域名接入的场景可参考 [快速启用四层代理服务](https://cloud.tencent.com/document/product/1552/96051)。
149
+ * 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。此接口待废弃,请使用 <a href="https://cloud.tencent.com/document/product/1552/80648">DescribeTimingL7AnalysisData</a> 接口。
150
+ */
151
+ async DescribeOverviewL7Data(req, cb) {
152
+ return this.request("DescribeOverviewL7Data", req, cb);
153
+ }
154
+ /**
155
+ * 在创建完站点之后,您可以通过本接口创建加速域名。
144
156
 
145
- > 建议您在账号下已存在套餐时调用本接口创建站点,请在入参时传入 PlanId ,直接将站点绑定至该套餐;不传入 PlanId 时,创建出来的站点会处于未激活状态,无法正常服务,您需要通过 [BindZoneToPlan](https://cloud.tencent.com/document/product/1552/83042) 完成套餐绑定之后,站点才可正常提供服务 。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
157
+ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为您返回域名归属权验证信息,您可以单独对域名进行归属权验证,详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)
146
158
  */
147
- async CreateZone(req, cb) {
148
- return this.request("CreateZone", req, cb);
159
+ async CreateAccelerationDomain(req, cb) {
160
+ return this.request("CreateAccelerationDomain", req, cb);
149
161
  }
150
162
  /**
151
- * 修改站点信息。
163
+ * 在版本管理模式下,用于获取版本的详细信息,包括版本 ID、描述、状态、创建时间、所属配置组信息以及版本配置文件的内容。版本管理功能内测中,当前仅白名单开放。
152
164
  */
153
- async ModifyZone(req, cb) {
154
- return this.request("ModifyZone", req, cb);
165
+ async DescribeConfigGroupVersionDetail(req, cb) {
166
+ return this.request("DescribeConfigGroupVersionDetail", req, cb);
155
167
  }
156
168
  /**
157
- * 用于查询域名配置信息
169
+ * 操作安全策略模板,支持将域名绑定或换绑到指定的策略模板,或者从指定的策略模板解绑。
158
170
  */
159
- async DescribeHostsSetting(req, cb) {
160
- return this.request("DescribeHostsSetting", req, cb);
171
+ async BindSecurityTemplateToEntity(req, cb) {
172
+ return this.request("BindSecurityTemplateToEntity", req, cb);
161
173
  }
162
174
  /**
163
- * 查询指定策略模板的绑定关系列表。
175
+ * 修改应用代理规则的状态
164
176
  */
165
- async DescribeSecurityTemplateBindings(req, cb) {
166
- return this.request("DescribeSecurityTemplateBindings", req, cb);
177
+ async ModifyApplicationProxyRuleStatus(req, cb) {
178
+ return this.request("ModifyApplicationProxyRuleStatus", req, cb);
167
179
  }
168
180
  /**
169
- * 查询当前账户可用套餐信息列表
181
+ * 为未购买套餐的站点购买套餐
170
182
  */
171
- async DescribeAvailablePlans(req, cb) {
172
- return this.request("DescribeAvailablePlans", req, cb);
183
+ async CreatePlanForZone(req, cb) {
184
+ return this.request("CreatePlanForZone", req, cb);
173
185
  }
174
186
  /**
175
- * 用于加速域名绑定或解绑共享 CNAME,该功能白名单内测中。
187
+ * 删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
176
188
  */
177
- async BindSharedCNAME(req, cb) {
178
- return this.request("BindSharedCNAME", req, cb);
189
+ async DeleteOriginGroup(req, cb) {
190
+ return this.request("DeleteOriginGroup", req, cb);
179
191
  }
180
192
  /**
181
- * 用于验证站点所有权。
193
+ * 创建安全 IP 组
182
194
  */
183
- async IdentifyZone(req, cb) {
184
- return this.request("IdentifyZone", req, cb);
195
+ async CreateSecurityIPGroup(req, cb) {
196
+ return this.request("CreateSecurityIPGroup", req, cb);
197
+ }
198
+ /**
199
+ * 该接口可用于查询 IP 是否为 EdgeOne IP。
200
+ */
201
+ async DescribeIPRegion(req, cb) {
202
+ return this.request("DescribeIPRegion", req, cb);
203
+ }
204
+ /**
205
+ * 批量删除加速域名
206
+ */
207
+ async DeleteAccelerationDomains(req, cb) {
208
+ return this.request("DeleteAccelerationDomains", req, cb);
209
+ }
210
+ /**
211
+ * 用于修改四层代理实例的配置。
212
+ */
213
+ async ModifyL4Proxy(req, cb) {
214
+ return this.request("ModifyL4Proxy", req, cb);
215
+ }
216
+ /**
217
+ * 创建别称域名。
218
+ */
219
+ async CreateAliasDomain(req, cb) {
220
+ return this.request("CreateAliasDomain", req, cb);
221
+ }
222
+ /**
223
+ * 本接口(DescribeTimingL7CacheData)用于查询七层缓存分析时序类流量数据。
224
+ */
225
+ async DescribeTimingL7CacheData(req, cb) {
226
+ return this.request("DescribeTimingL7CacheData", req, cb);
227
+ }
228
+ /**
229
+ * 在版本管理模式下,用于查询指定配置组的版本列表。版本管理功能内测中,当前仅白名单开放。
230
+ */
231
+ async DescribeConfigGroupVersions(req, cb) {
232
+ return this.request("DescribeConfigGroupVersions", req, cb);
233
+ }
234
+ /**
235
+ * 用于修改站点配置
236
+ */
237
+ async ModifyZoneSetting(req, cb) {
238
+ return this.request("ModifyZoneSetting", req, cb);
239
+ }
240
+ /**
241
+ * 用于修改四层代理转发规则,支持单条或者批量修改。
242
+ */
243
+ async ModifyL4ProxyRules(req, cb) {
244
+ return this.request("ModifyL4ProxyRules", req, cb);
185
245
  }
186
246
  /**
187
247
  * 修改别称域名状态。
@@ -190,144 +250,162 @@ class Client extends TencentCloudCommon.AbstractClient {
190
250
  return this.request("ModifyAliasDomainStatus", req, cb);
191
251
  }
192
252
  /**
193
- * 查询源站防护信息
253
+ * 用于创建四层代理实例规则,支持单条或者批量创建。
194
254
  */
195
- async DescribeOriginProtection(req, cb) {
196
- return this.request("DescribeOriginProtection", req, cb);
255
+ async CreateL4ProxyRules(req, cb) {
256
+ return this.request("CreateL4ProxyRules", req, cb);
197
257
  }
198
258
  /**
199
- * 查询默认证书列表
259
+ * 本接口(DescribeTopL7CacheData)用于查询七层缓存分析topN流量数据。
200
260
  */
201
- async DescribeDefaultCertificates(req, cb) {
202
- return this.request("DescribeDefaultCertificates", req, cb);
261
+ async DescribeTopL7CacheData(req, cb) {
262
+ return this.request("DescribeTopL7CacheData", req, cb);
203
263
  }
204
264
  /**
205
- * 在 CNAME 接入模式下,您需要对站点或者域名的归属权进行验证,可以通过本接口触发验证。若站点通过归属权验证后,后续添加域名无需再验证。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
206
-
207
- NS 接入模式下,您也可以通过本接口来查询 NS 服务器是否切换成功,详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
208
- */
209
- async VerifyOwnership(req, cb) {
210
- return this.request("VerifyOwnership", req, cb);
265
+ * 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
266
+ */
267
+ async DescribeTimingL4Data(req, cb) {
268
+ return this.request("DescribeTimingL4Data", req, cb);
211
269
  }
212
270
  /**
213
- * 用于查询站点的所有配置信息。
271
+ * 修改规则引擎规则。
214
272
  */
215
- async DescribeZoneSetting(req, cb) {
216
- return this.request("DescribeZoneSetting", req, cb);
273
+ async ModifyRule(req, cb) {
274
+ return this.request("ModifyRule", req, cb);
217
275
  }
218
276
  /**
219
- * 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
277
+ * 本接口(DescribeTopL7AnalysisData)用于查询七层流量前topN的数据。
220
278
  */
221
- async DescribeRulesSetting(req, cb) {
222
- return this.request("DescribeRulesSetting", req, cb);
279
+ async DescribeTopL7AnalysisData(req, cb) {
280
+ return this.request("DescribeTopL7AnalysisData", req, cb);
223
281
  }
224
282
  /**
225
- * 您可以通过本接口查看站点下的域名信息,包括加速域名、源站以及域名状态等信息。您可以查看站点下全部域名的信息,也可以指定过滤条件查询对应的域名信息。
283
+ * 修改Web&Bot安全配置。
226
284
  */
227
- async DescribeAccelerationDomains(req, cb) {
228
- return this.request("DescribeAccelerationDomains", req, cb);
285
+ async ModifySecurityPolicy(req, cb) {
286
+ return this.request("ModifySecurityPolicy", req, cb);
229
287
  }
230
288
  /**
231
- * 在版本管理模式下,用于查询指定配置组的版本列表。版本管理功能内测中,当前仅白名单开放。
289
+ * 将未绑定套餐的站点绑定到已有套餐
232
290
  */
233
- async DescribeConfigGroupVersions(req, cb) {
234
- return this.request("DescribeConfigGroupVersions", req, cb);
291
+ async BindZoneToPlan(req, cb) {
292
+ return this.request("BindZoneToPlan", req, cb);
293
+ }
294
+ /**
295
+ * 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
296
+ */
297
+ async DescribeDDoSAttackEvent(req, cb) {
298
+ return this.request("DescribeDDoSAttackEvent", req, cb);
299
+ }
300
+ /**
301
+ * 用于删除四层代理转发规则,支持单条或者批量操作。
302
+ */
303
+ async DeleteL4ProxyRules(req, cb) {
304
+ return this.request("DeleteL4ProxyRules", req, cb);
305
+ }
306
+ /**
307
+ * 修改加速域名信息
308
+ */
309
+ async ModifyAccelerationDomain(req, cb) {
310
+ return this.request("ModifyAccelerationDomain", req, cb);
235
311
  }
236
312
  /**
237
- * 修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
313
+ * 用于创建四层代理实例。
238
314
  */
239
- async ModifyOriginGroup(req, cb) {
240
- return this.request("ModifyOriginGroup", req, cb);
315
+ async CreateL4Proxy(req, cb) {
316
+ return this.request("CreateL4Proxy", req, cb);
241
317
  }
242
318
  /**
243
- * 删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
319
+ * 修改应用代理的状态
244
320
  */
245
- async DeleteSecurityIPGroup(req, cb) {
246
- return this.request("DeleteSecurityIPGroup", req, cb);
321
+ async ModifyApplicationProxyStatus(req, cb) {
322
+ return this.request("ModifyApplicationProxyStatus", req, cb);
247
323
  }
248
324
  /**
249
- * 创建应用代理规则
325
+ * 本接口(DescribeTimingL7AnalysisData)查询七层数据分析类时序数据。
250
326
  */
251
- async CreateApplicationProxyRule(req, cb) {
252
- return this.request("CreateApplicationProxyRule", req, cb);
327
+ async DescribeTimingL7AnalysisData(req, cb) {
328
+ return this.request("DescribeTimingL7AnalysisData", req, cb);
253
329
  }
254
330
  /**
255
- * 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。此接口待废弃,请使用 <a href="https://cloud.tencent.com/document/product/1552/80648">DescribeTimingL7AnalysisData</a> 接口。
331
+ * 查询应用代理列表。
256
332
  */
257
- async DescribeOverviewL7Data(req, cb) {
258
- return this.request("DescribeOverviewL7Data", req, cb);
333
+ async DescribeApplicationProxies(req, cb) {
334
+ return this.request("DescribeApplicationProxies", req, cb);
259
335
  }
260
336
  /**
261
- * DescribePrefetchTasks 用于查询预热任务提交历史记录及执行进度,通过 CreatePrefetchTasks 接口提交的任务可通过此接口进行查询。
337
+ * 用于创建共享 CNAME,该功能白名单内测中。
262
338
  */
263
- async DescribePrefetchTasks(req, cb) {
264
- return this.request("DescribePrefetchTasks", req, cb);
339
+ async CreateSharedCNAME(req, cb) {
340
+ return this.request("CreateSharedCNAME", req, cb);
265
341
  }
266
342
  /**
267
- * 该接口用于查询您有权限的站点信息。可根据不同查询条件筛选站点。
343
+ * 规则引擎创建规则。
268
344
  */
269
- async DescribeZones(req, cb) {
270
- return this.request("DescribeZones", req, cb);
345
+ async CreateRule(req, cb) {
346
+ return this.request("CreateRule", req, cb);
271
347
  }
272
348
  /**
273
- * 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
349
+ * 在版本管理模式下,用于创建指定配置组的新版本。版本管理功能内测中,当前仅白名单开放。
274
350
  */
275
- async DescribeDDoSAttackTopData(req, cb) {
276
- return this.request("DescribeDDoSAttackTopData", req, cb);
351
+ async CreateConfigGroupVersion(req, cb) {
352
+ return this.request("CreateConfigGroupVersion", req, cb);
277
353
  }
278
354
  /**
279
- * 删除应用代理
355
+ * 修改应用代理
280
356
  */
281
- async DeleteApplicationProxy(req, cb) {
282
- return this.request("DeleteApplicationProxy", req, cb);
357
+ async ModifyApplicationProxy(req, cb) {
358
+ return this.request("ModifyApplicationProxy", req, cb);
283
359
  }
284
360
  /**
285
- * 本接口(DescribeTopL7CacheData)用于查询七层缓存分析topN流量数据。
286
- */
287
- async DescribeTopL7CacheData(req, cb) {
288
- return this.request("DescribeTopL7CacheData", req, cb);
361
+ * EdgeOne 为您提供 CNAME、NS 和无域名接入三种接入方式,您需要先通过此接口完成站点创建。CNAME 和 NS 接入站点的场景可参考 [从零开始快速接入 EdgeOne](https://cloud.tencent.com/document/product/1552/87601); 无域名接入的场景可参考 [快速启用四层代理服务](https://cloud.tencent.com/document/product/1552/96051)。
362
+
363
+ > 建议您在账号下已存在套餐时调用本接口创建站点,请在入参时传入 PlanId ,直接将站点绑定至该套餐;不传入 PlanId 时,创建出来的站点会处于未激活状态,无法正常服务,您需要通过 [BindZoneToPlan](https://cloud.tencent.com/document/product/1552/83042) 完成套餐绑定之后,站点才可正常提供服务 。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
364
+ */
365
+ async CreateZone(req, cb) {
366
+ return this.request("CreateZone", req, cb);
289
367
  }
290
368
  /**
291
- * 创建别称域名。
369
+ * 查询当前账户可用套餐信息列表
292
370
  */
293
- async CreateAliasDomain(req, cb) {
294
- return this.request("CreateAliasDomain", req, cb);
371
+ async DescribeAvailablePlans(req, cb) {
372
+ return this.request("DescribeAvailablePlans", req, cb);
295
373
  }
296
374
  /**
297
- * 用于开启,关闭站点。
375
+ * 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
298
376
  */
299
- async ModifyZoneStatus(req, cb) {
300
- return this.request("ModifyZoneStatus", req, cb);
377
+ async DescribeRulesSetting(req, cb) {
378
+ return this.request("DescribeRulesSetting", req, cb);
301
379
  }
302
380
  /**
303
- * 获取源站组列表
381
+ * 批量修改加速域名状态
304
382
  */
305
- async DescribeOriginGroup(req, cb) {
306
- return this.request("DescribeOriginGroup", req, cb);
383
+ async ModifyAccelerationDomainStatuses(req, cb) {
384
+ return this.request("ModifyAccelerationDomainStatuses", req, cb);
307
385
  }
308
386
  /**
309
- * 本接口(DownloadL7Logs)下载七层离线日志。
387
+ * 修改安全 IP 组。
310
388
  */
311
- async DownloadL7Logs(req, cb) {
312
- return this.request("DownloadL7Logs", req, cb);
389
+ async ModifySecurityIPGroup(req, cb) {
390
+ return this.request("ModifySecurityIPGroup", req, cb);
313
391
  }
314
392
  /**
315
- * 在版本管理模式下,用于查询环境信息,可获取环境 ID、类型、当前生效版本等。版本管理功能内测中,当前仅白名单开放。
393
+ * 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
316
394
  */
317
- async DescribeEnvironments(req, cb) {
318
- return this.request("DescribeEnvironments", req, cb);
395
+ async DescribeDDoSAttackTopData(req, cb) {
396
+ return this.request("DescribeDDoSAttackTopData", req, cb);
319
397
  }
320
398
  /**
321
- * 删除应用代理规则
399
+ * 用于开启,关闭站点。
322
400
  */
323
- async DeleteApplicationProxyRule(req, cb) {
324
- return this.request("DeleteApplicationProxyRule", req, cb);
401
+ async ModifyZoneStatus(req, cb) {
402
+ return this.request("ModifyZoneStatus", req, cb);
325
403
  }
326
404
  /**
327
- * 校验域名 CNAME 状态
405
+ * DescribePurgeTasks 用于查询提交的 URL 刷新、目录刷新记录及执行进度,通过 CreatePurgeTasks 接口提交的任务均可通过此接口进行查询。
328
406
  */
329
- async CheckCnameStatus(req, cb) {
330
- return this.request("CheckCnameStatus", req, cb);
407
+ async DescribePurgeTasks(req, cb) {
408
+ return this.request("DescribePurgeTasks", req, cb);
331
409
  }
332
410
  /**
333
411
  * 批量删除规则引擎规则。
@@ -336,174 +414,162 @@ class Client extends TencentCloudCommon.AbstractClient {
336
414
  return this.request("DeleteRules", req, cb);
337
415
  }
338
416
  /**
339
- * 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
340
- */
341
- async DescribeTimingL4Data(req, cb) {
342
- return this.request("DescribeTimingL4Data", req, cb);
343
- }
344
- /**
345
- * 批量修改加速域名状态
417
+ * 查询四层代理实例下的规则列表。
346
418
  */
347
- async ModifyAccelerationDomainStatuses(req, cb) {
348
- return this.request("ModifyAccelerationDomainStatuses", req, cb);
419
+ async DescribeL4ProxyRules(req, cb) {
420
+ return this.request("DescribeL4ProxyRules", req, cb);
349
421
  }
350
422
  /**
351
- * 修改规则引擎规则。
423
+ * 用于查询四层代理实例列表。
352
424
  */
353
- async ModifyRule(req, cb) {
354
- return this.request("ModifyRule", req, cb);
425
+ async DescribeL4Proxy(req, cb) {
426
+ return this.request("DescribeL4Proxy", req, cb);
355
427
  }
356
428
  /**
357
- * 本接口(DescribeTopL7AnalysisData)用于查询七层流量前topN的数据。
429
+ * 查询规则引擎规则。
358
430
  */
359
- async DescribeTopL7AnalysisData(req, cb) {
360
- return this.request("DescribeTopL7AnalysisData", req, cb);
431
+ async DescribeRules(req, cb) {
432
+ return this.request("DescribeRules", req, cb);
361
433
  }
362
434
  /**
363
- * 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
435
+ * 创建应用代理
364
436
  */
365
- async DescribeDDoSAttackData(req, cb) {
366
- return this.request("DescribeDDoSAttackData", req, cb);
437
+ async CreateApplicationProxy(req, cb) {
438
+ return this.request("CreateApplicationProxy", req, cb);
367
439
  }
368
440
  /**
369
- * 用于删除共享 CNAME,该功能白名单内测中。
441
+ * 获取源站组列表
370
442
  */
371
- async DeleteSharedCNAME(req, cb) {
372
- return this.request("DeleteSharedCNAME", req, cb);
443
+ async DescribeOriginGroup(req, cb) {
444
+ return this.request("DescribeOriginGroup", req, cb);
373
445
  }
374
446
  /**
375
- * 修改Web&Bot安全配置。
447
+ * 修改别称域名。
376
448
  */
377
- async ModifySecurityPolicy(req, cb) {
378
- return this.request("ModifySecurityPolicy", req, cb);
449
+ async ModifyAliasDomain(req, cb) {
450
+ return this.request("ModifyAliasDomain", req, cb);
379
451
  }
380
452
  /**
381
- * 本接口(DownloadL4Logs)用于下载四层离线日志。
453
+ * 修改应用代理规则
382
454
  */
383
- async DownloadL4Logs(req, cb) {
384
- return this.request("DownloadL4Logs", req, cb);
455
+ async ModifyApplicationProxyRule(req, cb) {
456
+ return this.request("ModifyApplicationProxyRule", req, cb);
385
457
  }
386
458
  /**
387
- * 创建预热任务
459
+ * 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
388
460
  */
389
- async CreatePrefetchTask(req, cb) {
390
- return this.request("CreatePrefetchTask", req, cb);
461
+ async CreateOriginGroup(req, cb) {
462
+ return this.request("CreateOriginGroup", req, cb);
391
463
  }
392
464
  /**
393
- * 删除别称域名。
394
- */
395
- async DeleteAliasDomain(req, cb) {
396
- return this.request("DeleteAliasDomain", req, cb);
465
+ * 完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。
466
+ 如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名
467
+ ](https://cloud.tencent.com/document/product/1552/88874)
468
+ */
469
+ async ModifyHostsCertificate(req, cb) {
470
+ return this.request("ModifyHostsCertificate", req, cb);
397
471
  }
398
472
  /**
399
- * 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
473
+ * 在版本管理模式下,用于查询生产/测试环境的版本发布历史。版本管理功能内测中,当前仅白名单开放。
400
474
  */
401
- async DescribeDDoSAttackEvent(req, cb) {
402
- return this.request("DescribeDDoSAttackEvent", req, cb);
475
+ async DescribeDeployHistory(req, cb) {
476
+ return this.request("DescribeDeployHistory", req, cb);
403
477
  }
404
478
  /**
405
- * 将未绑定套餐的站点绑定到已有套餐
479
+ * 在版本管理模式下,用于版本发布,可通过 EnvId 将版本发布至测试环境或生产环境。版本管理功能内测中,当前仅白名单开放。
406
480
  */
407
- async BindZoneToPlan(req, cb) {
408
- return this.request("BindZoneToPlan", req, cb);
409
- }
410
- /**
411
- * 在创建完站点之后,您可以通过本接口创建加速域名。
412
-
413
- CNAME 模式接入时,若您未完成站点归属权校验,本接口将为您返回域名归属权验证信息,您可以单独对域名进行归属权验证,详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
414
- */
415
- async CreateAccelerationDomain(req, cb) {
416
- return this.request("CreateAccelerationDomain", req, cb);
481
+ async DeployConfigGroupVersion(req, cb) {
482
+ return this.request("DeployConfigGroupVersion", req, cb);
417
483
  }
418
484
  /**
419
- * 查询别称域名信息列表。
485
+ * 用于查询域名配置信息
420
486
  */
421
- async DescribeAliasDomains(req, cb) {
422
- return this.request("DescribeAliasDomains", req, cb);
487
+ async DescribeHostsSetting(req, cb) {
488
+ return this.request("DescribeHostsSetting", req, cb);
423
489
  }
424
490
  /**
425
- * 修改别称域名。
491
+ * 查询指定策略模板的绑定关系列表。
426
492
  */
427
- async ModifyAliasDomain(req, cb) {
428
- return this.request("ModifyAliasDomain", req, cb);
493
+ async DescribeSecurityTemplateBindings(req, cb) {
494
+ return this.request("DescribeSecurityTemplateBindings", req, cb);
429
495
  }
430
496
  /**
431
- * 修改加速域名信息
497
+ * 用于删除四层代理实例。
432
498
  */
433
- async ModifyAccelerationDomain(req, cb) {
434
- return this.request("ModifyAccelerationDomain", req, cb);
499
+ async DeleteL4Proxy(req, cb) {
500
+ return this.request("DeleteL4Proxy", req, cb);
435
501
  }
436
502
  /**
437
- * 修改安全 IP 组。
503
+ * 用于加速域名绑定或解绑共享 CNAME,该功能白名单内测中。
438
504
  */
439
- async ModifySecurityIPGroup(req, cb) {
440
- return this.request("ModifySecurityIPGroup", req, cb);
505
+ async BindSharedCNAME(req, cb) {
506
+ return this.request("BindSharedCNAME", req, cb);
441
507
  }
442
508
  /**
443
- * 查询规则引擎规则。
509
+ * 查询源站防护信息
444
510
  */
445
- async DescribeRules(req, cb) {
446
- return this.request("DescribeRules", req, cb);
511
+ async DescribeOriginProtection(req, cb) {
512
+ return this.request("DescribeOriginProtection", req, cb);
447
513
  }
448
514
  /**
449
- * DescribePurgeTasks 用于查询提交的 URL 刷新、目录刷新记录及执行进度,通过 CreatePurgeTasks 接口提交的任务均可通过此接口进行查询。
515
+ * 用于启用/停用四层代理转发规则状态,支持单条或者批量操作。
450
516
  */
451
- async DescribePurgeTasks(req, cb) {
452
- return this.request("DescribePurgeTasks", req, cb);
517
+ async ModifyL4ProxyRulesStatus(req, cb) {
518
+ return this.request("ModifyL4ProxyRulesStatus", req, cb);
453
519
  }
454
520
  /**
455
- * 创建应用代理
521
+ * 用于查询站点的所有配置信息。
456
522
  */
457
- async CreateApplicationProxy(req, cb) {
458
- return this.request("CreateApplicationProxy", req, cb);
523
+ async DescribeZoneSetting(req, cb) {
524
+ return this.request("DescribeZoneSetting", req, cb);
459
525
  }
460
526
  /**
461
- * 在版本管理模式下,用于获取版本的详细信息,包括版本 ID、描述、状态、创建时间、所属配置组信息以及版本配置文件的内容。版本管理功能内测中,当前仅白名单开放。
527
+ * 删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
462
528
  */
463
- async DescribeConfigGroupVersionDetail(req, cb) {
464
- return this.request("DescribeConfigGroupVersionDetail", req, cb);
529
+ async DeleteSecurityIPGroup(req, cb) {
530
+ return this.request("DeleteSecurityIPGroup", req, cb);
465
531
  }
466
532
  /**
467
- * 修改应用代理的状态
533
+ * 创建应用代理规则
468
534
  */
469
- async ModifyApplicationProxyStatus(req, cb) {
470
- return this.request("ModifyApplicationProxyStatus", req, cb);
535
+ async CreateApplicationProxyRule(req, cb) {
536
+ return this.request("CreateApplicationProxyRule", req, cb);
471
537
  }
472
538
  /**
473
- * 操作安全策略模板,支持将域名绑定或换绑到指定的策略模板,或者从指定的策略模板解绑。
539
+ * 该接口用于查询您有权限的站点信息。可根据不同查询条件筛选站点。
474
540
  */
475
- async BindSecurityTemplateToEntity(req, cb) {
476
- return this.request("BindSecurityTemplateToEntity", req, cb);
541
+ async DescribeZones(req, cb) {
542
+ return this.request("DescribeZones", req, cb);
477
543
  }
478
544
  /**
479
- * 本接口(DescribeTimingL7AnalysisData)查询七层数据分析类时序数据。
545
+ * 删除站点。
480
546
  */
481
- async DescribeTimingL7AnalysisData(req, cb) {
482
- return this.request("DescribeTimingL7AnalysisData", req, cb);
547
+ async DeleteZone(req, cb) {
548
+ return this.request("DeleteZone", req, cb);
483
549
  }
484
550
  /**
485
- * 在版本管理模式下,用于版本发布,可通过 EnvId 将版本发布至测试环境或生产环境。版本管理功能内测中,当前仅白名单开放。
551
+ * 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
486
552
  */
487
- async DeployConfigGroupVersion(req, cb) {
488
- return this.request("DeployConfigGroupVersion", req, cb);
553
+ async DescribeDDoSAttackData(req, cb) {
554
+ return this.request("DescribeDDoSAttackData", req, cb);
489
555
  }
490
556
  /**
491
- * 查询应用代理列表。
557
+ * 用于删除共享 CNAME,该功能白名单内测中。
492
558
  */
493
- async DescribeApplicationProxies(req, cb) {
494
- return this.request("DescribeApplicationProxies", req, cb);
559
+ async DeleteSharedCNAME(req, cb) {
560
+ return this.request("DeleteSharedCNAME", req, cb);
495
561
  }
496
562
  /**
497
- * 修改应用代理规则的状态
563
+ * 查询别称域名信息列表。
498
564
  */
499
- async ModifyApplicationProxyRuleStatus(req, cb) {
500
- return this.request("ModifyApplicationProxyRuleStatus", req, cb);
565
+ async DescribeAliasDomains(req, cb) {
566
+ return this.request("DescribeAliasDomains", req, cb);
501
567
  }
502
568
  /**
503
- * 为未购买套餐的站点购买套餐
569
+ * 通过本接口查询计费数据。
504
570
  */
505
- async CreatePlanForZone(req, cb) {
506
- return this.request("CreatePlanForZone", req, cb);
571
+ async DescribeBillingData(req, cb) {
572
+ return this.request("DescribeBillingData", req, cb);
507
573
  }
508
574
  }
509
575
  exports.Client = Client;