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.
@@ -28,318 +28,354 @@ 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
+ * 用于修改站点配置
152
164
  */
153
- async ModifyZone(req, cb) {
154
- return this.request("ModifyZone", req, cb);
165
+ async ModifyZoneSetting(req, cb) {
166
+ return this.request("ModifyZoneSetting", 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);
185
197
  }
186
198
  /**
187
- * 修改别称域名状态。
199
+ * 该接口可用于查询 IP 是否为 EdgeOne IP。
188
200
  */
189
- async ModifyAliasDomainStatus(req, cb) {
190
- return this.request("ModifyAliasDomainStatus", req, cb);
201
+ async DescribeIPRegion(req, cb) {
202
+ return this.request("DescribeIPRegion", req, cb);
191
203
  }
192
204
  /**
193
- * 查询源站防护信息
205
+ * 批量删除加速域名
194
206
  */
195
- async DescribeOriginProtection(req, cb) {
196
- return this.request("DescribeOriginProtection", req, cb);
207
+ async DeleteAccelerationDomains(req, cb) {
208
+ return this.request("DeleteAccelerationDomains", req, cb);
197
209
  }
198
210
  /**
199
- * 查询默认证书列表
211
+ * 用于修改四层代理实例的配置。
200
212
  */
201
- async DescribeDefaultCertificates(req, cb) {
202
- return this.request("DescribeDefaultCertificates", req, cb);
213
+ async ModifyL4Proxy(req, cb) {
214
+ return this.request("ModifyL4Proxy", req, cb);
203
215
  }
204
216
  /**
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);
217
+ * 创建别称域名。
218
+ */
219
+ async CreateAliasDomain(req, cb) {
220
+ return this.request("CreateAliasDomain", req, cb);
211
221
  }
212
222
  /**
213
- * 用于查询站点的所有配置信息。
223
+ * 本接口(DescribeTimingL7CacheData)用于查询七层缓存分析时序类流量数据。
214
224
  */
215
- async DescribeZoneSetting(req, cb) {
216
- return this.request("DescribeZoneSetting", req, cb);
225
+ async DescribeTimingL7CacheData(req, cb) {
226
+ return this.request("DescribeTimingL7CacheData", req, cb);
217
227
  }
218
228
  /**
219
- * 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
229
+ * 在版本管理模式下,用于查询指定配置组的版本列表。版本管理功能内测中,当前仅白名单开放。
220
230
  */
221
- async DescribeRulesSetting(req, cb) {
222
- return this.request("DescribeRulesSetting", req, cb);
231
+ async DescribeConfigGroupVersions(req, cb) {
232
+ return this.request("DescribeConfigGroupVersions", req, cb);
223
233
  }
224
234
  /**
225
- * 您可以通过本接口查看站点下的域名信息,包括加速域名、源站以及域名状态等信息。您可以查看站点下全部域名的信息,也可以指定过滤条件查询对应的域名信息。
235
+ * 在版本管理模式下,用于获取版本的详细信息,包括版本 ID、描述、状态、创建时间、所属配置组信息以及版本配置文件的内容。版本管理功能内测中,当前仅白名单开放。
226
236
  */
227
- async DescribeAccelerationDomains(req, cb) {
228
- return this.request("DescribeAccelerationDomains", req, cb);
237
+ async DescribeConfigGroupVersionDetail(req, cb) {
238
+ return this.request("DescribeConfigGroupVersionDetail", req, cb);
229
239
  }
230
240
  /**
231
- * 在版本管理模式下,用于查询指定配置组的版本列表。版本管理功能内测中,当前仅白名单开放。
241
+ * 用于修改四层代理转发规则,支持单条或者批量修改。
232
242
  */
233
- async DescribeConfigGroupVersions(req, cb) {
234
- return this.request("DescribeConfigGroupVersions", req, cb);
243
+ async ModifyL4ProxyRules(req, cb) {
244
+ return this.request("ModifyL4ProxyRules", req, cb);
235
245
  }
236
246
  /**
237
- * 修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
247
+ * 修改别称域名状态。
238
248
  */
239
- async ModifyOriginGroup(req, cb) {
240
- return this.request("ModifyOriginGroup", req, cb);
249
+ async ModifyAliasDomainStatus(req, cb) {
250
+ return this.request("ModifyAliasDomainStatus", req, cb);
241
251
  }
242
252
  /**
243
- * 删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
253
+ * 用于创建四层代理实例规则,支持单条或者批量创建。
244
254
  */
245
- async DeleteSecurityIPGroup(req, cb) {
246
- return this.request("DeleteSecurityIPGroup", req, cb);
255
+ async CreateL4ProxyRules(req, cb) {
256
+ return this.request("CreateL4ProxyRules", req, cb);
247
257
  }
248
258
  /**
249
- * 创建应用代理规则
259
+ * 本接口(DescribeTopL7CacheData)用于查询七层缓存分析topN流量数据。
250
260
  */
251
- async CreateApplicationProxyRule(req, cb) {
252
- return this.request("CreateApplicationProxyRule", req, cb);
261
+ async DescribeTopL7CacheData(req, cb) {
262
+ return this.request("DescribeTopL7CacheData", req, cb);
253
263
  }
254
264
  /**
255
- * 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。此接口待废弃,请使用 <a href="https://cloud.tencent.com/document/product/1552/80648">DescribeTimingL7AnalysisData</a> 接口。
265
+ * 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
256
266
  */
257
- async DescribeOverviewL7Data(req, cb) {
258
- return this.request("DescribeOverviewL7Data", req, cb);
267
+ async DescribeTimingL4Data(req, cb) {
268
+ return this.request("DescribeTimingL4Data", req, cb);
259
269
  }
260
270
  /**
261
- * DescribePrefetchTasks 用于查询预热任务提交历史记录及执行进度,通过 CreatePrefetchTasks 接口提交的任务可通过此接口进行查询。
271
+ * 修改规则引擎规则。
262
272
  */
263
- async DescribePrefetchTasks(req, cb) {
264
- return this.request("DescribePrefetchTasks", req, cb);
273
+ async ModifyRule(req, cb) {
274
+ return this.request("ModifyRule", req, cb);
265
275
  }
266
276
  /**
267
- * 该接口用于查询您有权限的站点信息。可根据不同查询条件筛选站点。
277
+ * 本接口(DescribeTopL7AnalysisData)用于查询七层流量前topN的数据。
268
278
  */
269
- async DescribeZones(req, cb) {
270
- return this.request("DescribeZones", req, cb);
279
+ async DescribeTopL7AnalysisData(req, cb) {
280
+ return this.request("DescribeTopL7AnalysisData", req, cb);
271
281
  }
272
282
  /**
273
- * 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
283
+ * 修改Web&Bot安全配置。
274
284
  */
275
- async DescribeDDoSAttackTopData(req, cb) {
276
- return this.request("DescribeDDoSAttackTopData", req, cb);
285
+ async ModifySecurityPolicy(req, cb) {
286
+ return this.request("ModifySecurityPolicy", req, cb);
277
287
  }
278
288
  /**
279
- * 删除应用代理
289
+ * 将未绑定套餐的站点绑定到已有套餐
280
290
  */
281
- async DeleteApplicationProxy(req, cb) {
282
- return this.request("DeleteApplicationProxy", req, cb);
291
+ async BindZoneToPlan(req, cb) {
292
+ return this.request("BindZoneToPlan", req, cb);
283
293
  }
284
294
  /**
285
- * 本接口(DescribeTopL7CacheData)用于查询七层缓存分析topN流量数据。
295
+ * 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
286
296
  */
287
- async DescribeTopL7CacheData(req, cb) {
288
- return this.request("DescribeTopL7CacheData", req, cb);
297
+ async DescribeDDoSAttackEvent(req, cb) {
298
+ return this.request("DescribeDDoSAttackEvent", req, cb);
289
299
  }
290
300
  /**
291
- * 创建别称域名。
301
+ * 用于删除四层代理转发规则,支持单条或者批量操作。
292
302
  */
293
- async CreateAliasDomain(req, cb) {
294
- return this.request("CreateAliasDomain", req, cb);
303
+ async DeleteL4ProxyRules(req, cb) {
304
+ return this.request("DeleteL4ProxyRules", req, cb);
295
305
  }
296
306
  /**
297
- * 用于开启,关闭站点。
307
+ * 修改加速域名信息
298
308
  */
299
- async ModifyZoneStatus(req, cb) {
300
- return this.request("ModifyZoneStatus", req, cb);
309
+ async ModifyAccelerationDomain(req, cb) {
310
+ return this.request("ModifyAccelerationDomain", req, cb);
301
311
  }
302
312
  /**
303
- * 获取源站组列表
313
+ * 用于创建四层代理实例。
304
314
  */
305
- async DescribeOriginGroup(req, cb) {
306
- return this.request("DescribeOriginGroup", req, cb);
315
+ async CreateL4Proxy(req, cb) {
316
+ return this.request("CreateL4Proxy", req, cb);
307
317
  }
308
318
  /**
309
- * 本接口(DownloadL7Logs)下载七层离线日志。
319
+ * 修改应用代理的状态
310
320
  */
311
- async DownloadL7Logs(req, cb) {
312
- return this.request("DownloadL7Logs", req, cb);
321
+ async ModifyApplicationProxyStatus(req, cb) {
322
+ return this.request("ModifyApplicationProxyStatus", req, cb);
313
323
  }
314
324
  /**
315
- * 在版本管理模式下,用于查询环境信息,可获取环境 ID、类型、当前生效版本等。版本管理功能内测中,当前仅白名单开放。
325
+ * 本接口(DescribeTimingL7AnalysisData)查询七层数据分析类时序数据。
316
326
  */
317
- async DescribeEnvironments(req, cb) {
318
- return this.request("DescribeEnvironments", req, cb);
327
+ async DescribeTimingL7AnalysisData(req, cb) {
328
+ return this.request("DescribeTimingL7AnalysisData", req, cb);
319
329
  }
320
330
  /**
321
- * 删除应用代理规则
331
+ * 查询应用代理列表。
322
332
  */
323
- async DeleteApplicationProxyRule(req, cb) {
324
- return this.request("DeleteApplicationProxyRule", req, cb);
333
+ async DescribeApplicationProxies(req, cb) {
334
+ return this.request("DescribeApplicationProxies", req, cb);
325
335
  }
326
336
  /**
327
- * 校验域名 CNAME 状态
337
+ * 用于创建共享 CNAME,该功能白名单内测中。
328
338
  */
329
- async CheckCnameStatus(req, cb) {
330
- return this.request("CheckCnameStatus", req, cb);
339
+ async CreateSharedCNAME(req, cb) {
340
+ return this.request("CreateSharedCNAME", req, cb);
331
341
  }
332
342
  /**
333
- * 批量删除规则引擎规则。
343
+ * 规则引擎创建规则。
334
344
  */
335
- async DeleteRules(req, cb) {
336
- return this.request("DeleteRules", req, cb);
345
+ async CreateRule(req, cb) {
346
+ return this.request("CreateRule", req, cb);
337
347
  }
338
348
  /**
339
- * 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
349
+ * 在版本管理模式下,用于创建指定配置组的新版本。版本管理功能内测中,当前仅白名单开放。
340
350
  */
341
- async DescribeTimingL4Data(req, cb) {
342
- return this.request("DescribeTimingL4Data", req, cb);
351
+ async CreateConfigGroupVersion(req, cb) {
352
+ return this.request("CreateConfigGroupVersion", req, cb);
353
+ }
354
+ /**
355
+ * 修改应用代理
356
+ */
357
+ async ModifyApplicationProxy(req, cb) {
358
+ return this.request("ModifyApplicationProxy", req, cb);
359
+ }
360
+ /**
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);
367
+ }
368
+ /**
369
+ * 查询当前账户可用套餐信息列表
370
+ */
371
+ async DescribeAvailablePlans(req, cb) {
372
+ return this.request("DescribeAvailablePlans", req, cb);
373
+ }
374
+ /**
375
+ * 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
376
+ */
377
+ async DescribeRulesSetting(req, cb) {
378
+ return this.request("DescribeRulesSetting", req, cb);
343
379
  }
344
380
  /**
345
381
  * 批量修改加速域名状态
@@ -348,162 +384,186 @@ class Client extends TencentCloudCommon.AbstractClient {
348
384
  return this.request("ModifyAccelerationDomainStatuses", req, cb);
349
385
  }
350
386
  /**
351
- * 修改规则引擎规则。
387
+ * 修改安全 IP 组。
352
388
  */
353
- async ModifyRule(req, cb) {
354
- return this.request("ModifyRule", req, cb);
389
+ async ModifySecurityIPGroup(req, cb) {
390
+ return this.request("ModifySecurityIPGroup", req, cb);
355
391
  }
356
392
  /**
357
- * 本接口(DescribeTopL7AnalysisData)用于查询七层流量前topN的数据。
393
+ * 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
358
394
  */
359
- async DescribeTopL7AnalysisData(req, cb) {
360
- return this.request("DescribeTopL7AnalysisData", req, cb);
395
+ async DescribeDDoSAttackTopData(req, cb) {
396
+ return this.request("DescribeDDoSAttackTopData", req, cb);
361
397
  }
362
398
  /**
363
- * 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
399
+ * 用于开启,关闭站点。
364
400
  */
365
- async DescribeDDoSAttackData(req, cb) {
366
- return this.request("DescribeDDoSAttackData", req, cb);
401
+ async ModifyZoneStatus(req, cb) {
402
+ return this.request("ModifyZoneStatus", req, cb);
367
403
  }
368
404
  /**
369
- * 用于删除共享 CNAME,该功能白名单内测中。
405
+ * DescribePurgeTasks 用于查询提交的 URL 刷新、目录刷新记录及执行进度,通过 CreatePurgeTasks 接口提交的任务均可通过此接口进行查询。
370
406
  */
371
- async DeleteSharedCNAME(req, cb) {
372
- return this.request("DeleteSharedCNAME", req, cb);
407
+ async DescribePurgeTasks(req, cb) {
408
+ return this.request("DescribePurgeTasks", req, cb);
373
409
  }
374
410
  /**
375
- * 修改Web&Bot安全配置。
411
+ * 批量删除规则引擎规则。
376
412
  */
377
- async ModifySecurityPolicy(req, cb) {
378
- return this.request("ModifySecurityPolicy", req, cb);
413
+ async DeleteRules(req, cb) {
414
+ return this.request("DeleteRules", req, cb);
379
415
  }
380
416
  /**
381
- * 本接口(DownloadL4Logs)用于下载四层离线日志。
417
+ * 查询四层代理实例下的规则列表。
382
418
  */
383
- async DownloadL4Logs(req, cb) {
384
- return this.request("DownloadL4Logs", req, cb);
419
+ async DescribeL4ProxyRules(req, cb) {
420
+ return this.request("DescribeL4ProxyRules", req, cb);
385
421
  }
386
422
  /**
387
- * 创建预热任务
423
+ * 用于查询四层代理实例列表。
388
424
  */
389
- async CreatePrefetchTask(req, cb) {
390
- return this.request("CreatePrefetchTask", req, cb);
425
+ async DescribeL4Proxy(req, cb) {
426
+ return this.request("DescribeL4Proxy", req, cb);
391
427
  }
392
428
  /**
393
- * 删除别称域名。
429
+ * 查询规则引擎规则。
394
430
  */
395
- async DeleteAliasDomain(req, cb) {
396
- return this.request("DeleteAliasDomain", req, cb);
431
+ async DescribeRules(req, cb) {
432
+ return this.request("DescribeRules", req, cb);
397
433
  }
398
434
  /**
399
- * 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
435
+ * 创建应用代理
400
436
  */
401
- async DescribeDDoSAttackEvent(req, cb) {
402
- return this.request("DescribeDDoSAttackEvent", req, cb);
437
+ async CreateApplicationProxy(req, cb) {
438
+ return this.request("CreateApplicationProxy", req, cb);
403
439
  }
404
440
  /**
405
- * 将未绑定套餐的站点绑定到已有套餐
441
+ * 获取源站组列表
406
442
  */
407
- async BindZoneToPlan(req, cb) {
408
- return this.request("BindZoneToPlan", req, cb);
443
+ async DescribeOriginGroup(req, cb) {
444
+ return this.request("DescribeOriginGroup", req, cb);
409
445
  }
410
446
  /**
411
- * 在创建完站点之后,您可以通过本接口创建加速域名。
412
-
413
- CNAME 模式接入时,若您未完成站点归属权校验,本接口将为您返回域名归属权验证信息,您可以单独对域名进行归属权验证,详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)
447
+ * 修改别称域名。
448
+ */
449
+ async ModifyAliasDomain(req, cb) {
450
+ return this.request("ModifyAliasDomain", req, cb);
451
+ }
452
+ /**
453
+ * 修改应用代理规则
454
+ */
455
+ async ModifyApplicationProxyRule(req, cb) {
456
+ return this.request("ModifyApplicationProxyRule", req, cb);
457
+ }
458
+ /**
459
+ * 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
460
+ */
461
+ async CreateOriginGroup(req, cb) {
462
+ return this.request("CreateOriginGroup", req, cb);
463
+ }
464
+ /**
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)。
414
468
  */
415
- async CreateAccelerationDomain(req, cb) {
416
- return this.request("CreateAccelerationDomain", req, cb);
469
+ async ModifyHostsCertificate(req, cb) {
470
+ return this.request("ModifyHostsCertificate", req, cb);
417
471
  }
418
472
  /**
419
- * 查询别称域名信息列表。
473
+ * 在版本管理模式下,用于查询生产/测试环境的版本发布历史。版本管理功能内测中,当前仅白名单开放。
420
474
  */
421
- async DescribeAliasDomains(req, cb) {
422
- return this.request("DescribeAliasDomains", req, cb);
475
+ async DescribeDeployHistory(req, cb) {
476
+ return this.request("DescribeDeployHistory", req, cb);
423
477
  }
424
478
  /**
425
- * 修改别称域名。
479
+ * 在版本管理模式下,用于版本发布,可通过 EnvId 将版本发布至测试环境或生产环境。版本管理功能内测中,当前仅白名单开放。
426
480
  */
427
- async ModifyAliasDomain(req, cb) {
428
- return this.request("ModifyAliasDomain", req, cb);
481
+ async DeployConfigGroupVersion(req, cb) {
482
+ return this.request("DeployConfigGroupVersion", req, cb);
429
483
  }
430
484
  /**
431
- * 修改加速域名信息
485
+ * 用于查询域名配置信息
432
486
  */
433
- async ModifyAccelerationDomain(req, cb) {
434
- return this.request("ModifyAccelerationDomain", req, cb);
487
+ async DescribeHostsSetting(req, cb) {
488
+ return this.request("DescribeHostsSetting", req, cb);
435
489
  }
436
490
  /**
437
- * 修改安全 IP 组。
491
+ * 查询指定策略模板的绑定关系列表。
438
492
  */
439
- async ModifySecurityIPGroup(req, cb) {
440
- return this.request("ModifySecurityIPGroup", req, cb);
493
+ async DescribeSecurityTemplateBindings(req, cb) {
494
+ return this.request("DescribeSecurityTemplateBindings", req, cb);
441
495
  }
442
496
  /**
443
- * 查询规则引擎规则。
497
+ * 用于删除四层代理实例。
444
498
  */
445
- async DescribeRules(req, cb) {
446
- return this.request("DescribeRules", req, cb);
499
+ async DeleteL4Proxy(req, cb) {
500
+ return this.request("DeleteL4Proxy", req, cb);
447
501
  }
448
502
  /**
449
- * DescribePurgeTasks 用于查询提交的 URL 刷新、目录刷新记录及执行进度,通过 CreatePurgeTasks 接口提交的任务均可通过此接口进行查询。
503
+ * 用于加速域名绑定或解绑共享 CNAME,该功能白名单内测中。
450
504
  */
451
- async DescribePurgeTasks(req, cb) {
452
- return this.request("DescribePurgeTasks", req, cb);
505
+ async BindSharedCNAME(req, cb) {
506
+ return this.request("BindSharedCNAME", req, cb);
453
507
  }
454
508
  /**
455
- * 创建应用代理
509
+ * 查询源站防护信息
456
510
  */
457
- async CreateApplicationProxy(req, cb) {
458
- return this.request("CreateApplicationProxy", req, cb);
511
+ async DescribeOriginProtection(req, cb) {
512
+ return this.request("DescribeOriginProtection", req, cb);
459
513
  }
460
514
  /**
461
- * 在版本管理模式下,用于获取版本的详细信息,包括版本 ID、描述、状态、创建时间、所属配置组信息以及版本配置文件的内容。版本管理功能内测中,当前仅白名单开放。
515
+ * 用于启用/停用四层代理转发规则状态,支持单条或者批量操作。
462
516
  */
463
- async DescribeConfigGroupVersionDetail(req, cb) {
464
- return this.request("DescribeConfigGroupVersionDetail", req, cb);
517
+ async ModifyL4ProxyRulesStatus(req, cb) {
518
+ return this.request("ModifyL4ProxyRulesStatus", req, cb);
465
519
  }
466
520
  /**
467
- * 修改应用代理的状态
521
+ * 用于查询站点的所有配置信息。
468
522
  */
469
- async ModifyApplicationProxyStatus(req, cb) {
470
- return this.request("ModifyApplicationProxyStatus", req, cb);
523
+ async DescribeZoneSetting(req, cb) {
524
+ return this.request("DescribeZoneSetting", req, cb);
471
525
  }
472
526
  /**
473
- * 操作安全策略模板,支持将域名绑定或换绑到指定的策略模板,或者从指定的策略模板解绑。
527
+ * 删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
474
528
  */
475
- async BindSecurityTemplateToEntity(req, cb) {
476
- return this.request("BindSecurityTemplateToEntity", req, cb);
529
+ async DeleteSecurityIPGroup(req, cb) {
530
+ return this.request("DeleteSecurityIPGroup", req, cb);
477
531
  }
478
532
  /**
479
- * 本接口(DescribeTimingL7AnalysisData)查询七层数据分析类时序数据。
533
+ * 创建应用代理规则
480
534
  */
481
- async DescribeTimingL7AnalysisData(req, cb) {
482
- return this.request("DescribeTimingL7AnalysisData", req, cb);
535
+ async CreateApplicationProxyRule(req, cb) {
536
+ return this.request("CreateApplicationProxyRule", req, cb);
483
537
  }
484
538
  /**
485
- * 在版本管理模式下,用于版本发布,可通过 EnvId 将版本发布至测试环境或生产环境。版本管理功能内测中,当前仅白名单开放。
539
+ * 该接口用于查询您有权限的站点信息。可根据不同查询条件筛选站点。
486
540
  */
487
- async DeployConfigGroupVersion(req, cb) {
488
- return this.request("DeployConfigGroupVersion", req, cb);
541
+ async DescribeZones(req, cb) {
542
+ return this.request("DescribeZones", req, cb);
489
543
  }
490
544
  /**
491
- * 查询应用代理列表。
545
+ * 删除站点。
492
546
  */
493
- async DescribeApplicationProxies(req, cb) {
494
- return this.request("DescribeApplicationProxies", req, cb);
547
+ async DeleteZone(req, cb) {
548
+ return this.request("DeleteZone", req, cb);
495
549
  }
496
550
  /**
497
- * 修改应用代理规则的状态
551
+ * 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
498
552
  */
499
- async ModifyApplicationProxyRuleStatus(req, cb) {
500
- return this.request("ModifyApplicationProxyRuleStatus", req, cb);
553
+ async DescribeDDoSAttackData(req, cb) {
554
+ return this.request("DescribeDDoSAttackData", req, cb);
501
555
  }
502
556
  /**
503
- * 为未购买套餐的站点购买套餐
557
+ * 用于删除共享 CNAME,该功能白名单内测中。
504
558
  */
505
- async CreatePlanForZone(req, cb) {
506
- return this.request("CreatePlanForZone", req, cb);
559
+ async DeleteSharedCNAME(req, cb) {
560
+ return this.request("DeleteSharedCNAME", req, cb);
561
+ }
562
+ /**
563
+ * 查询别称域名信息列表。
564
+ */
565
+ async DescribeAliasDomains(req, cb) {
566
+ return this.request("DescribeAliasDomains", req, cb);
507
567
  }
508
568
  }
509
569
  exports.Client = Client;