tencentcloud-sdk-nodejs-teo 4.0.723 → 4.0.725

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.
@@ -40,7 +40,7 @@ class Client extends TencentCloudCommon.AbstractClient {
40
40
  return this.request("DeleteOriginGroup", req, cb);
41
41
  }
42
42
  /**
43
- * 创建共享 CNAME
43
+ * 用于创建共享 CNAME,该功能白名单内测中。
44
44
  */
45
45
  async CreateSharedCNAME(req, cb) {
46
46
  return this.request("CreateSharedCNAME", req, cb);
@@ -165,12 +165,24 @@ class Client extends TencentCloudCommon.AbstractClient {
165
165
  async DescribeAvailablePlans(req, cb) {
166
166
  return this.request("DescribeAvailablePlans", req, cb);
167
167
  }
168
+ /**
169
+ * 用于加速域名绑定或解绑共享 CNAME,该功能白名单内测中。
170
+ */
171
+ async BindSharedCNAME(req, cb) {
172
+ return this.request("BindSharedCNAME", req, cb);
173
+ }
168
174
  /**
169
175
  * 用于验证站点所有权。
170
176
  */
171
177
  async IdentifyZone(req, cb) {
172
178
  return this.request("IdentifyZone", req, cb);
173
179
  }
180
+ /**
181
+ * 修改别称域名状态。
182
+ */
183
+ async ModifyAliasDomainStatus(req, cb) {
184
+ return this.request("ModifyAliasDomainStatus", req, cb);
185
+ }
174
186
  /**
175
187
  * 查询源站防护信息
176
188
  */
@@ -270,10 +282,10 @@ class Client extends TencentCloudCommon.AbstractClient {
270
282
  return this.request("ModifyZoneStatus", req, cb);
271
283
  }
272
284
  /**
273
- * 修改别称域名状态。
285
+ * 获取源站组列表
274
286
  */
275
- async ModifyAliasDomainStatus(req, cb) {
276
- return this.request("ModifyAliasDomainStatus", req, cb);
287
+ async DescribeOriginGroup(req, cb) {
288
+ return this.request("DescribeOriginGroup", req, cb);
277
289
  }
278
290
  /**
279
291
  * 本接口(DownloadL7Logs)下载七层离线日志。
@@ -330,10 +342,10 @@ class Client extends TencentCloudCommon.AbstractClient {
330
342
  return this.request("DescribeDDoSAttackData", req, cb);
331
343
  }
332
344
  /**
333
- * 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
345
+ * 用于删除共享 CNAME,该功能白名单内测中。
334
346
  */
335
- async DescribeDDoSAttackEvent(req, cb) {
336
- return this.request("DescribeDDoSAttackEvent", req, cb);
347
+ async DeleteSharedCNAME(req, cb) {
348
+ return this.request("DeleteSharedCNAME", req, cb);
337
349
  }
338
350
  /**
339
351
  * 修改Web&Bot安全配置。
@@ -410,10 +422,10 @@ class Client extends TencentCloudCommon.AbstractClient {
410
422
  return this.request("CreateApplicationProxy", req, cb);
411
423
  }
412
424
  /**
413
- * 获取源站组列表
425
+ * 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
414
426
  */
415
- async DescribeOriginGroup(req, cb) {
416
- return this.request("DescribeOriginGroup", req, cb);
427
+ async DescribeDDoSAttackEvent(req, cb) {
428
+ return this.request("DescribeDDoSAttackEvent", req, cb);
417
429
  }
418
430
  /**
419
431
  * 修改应用代理的状态
@@ -972,6 +972,23 @@ export interface DeleteAccelerationDomainsRequest {
972
972
  */
973
973
  Force?: boolean;
974
974
  }
975
+ /**
976
+ * DescribeApplicationProxies返回参数结构体
977
+ */
978
+ export interface DescribeApplicationProxiesResponse {
979
+ /**
980
+ * 应用代理列表。
981
+ */
982
+ ApplicationProxies?: Array<ApplicationProxy>;
983
+ /**
984
+ * 记录总数。
985
+ */
986
+ TotalCount?: number;
987
+ /**
988
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
989
+ */
990
+ RequestId?: string;
991
+ }
975
992
  /**
976
993
  * 例外规则的生效范围。
977
994
  */
@@ -1991,6 +2008,19 @@ export interface RuleExtraParameter {
1991
2008
  */
1992
2009
  Choices: Array<string>;
1993
2010
  }
2011
+ /**
2012
+ * 共享 CNAME 和接入域名的绑定关系
2013
+ */
2014
+ export interface BindSharedCNAMEMap {
2015
+ /**
2016
+ * 需要绑定或解绑的共享 CNAME。
2017
+ */
2018
+ SharedCNAME: string;
2019
+ /**
2020
+ * 加速域名,可传递多个,最多20个。
2021
+ */
2022
+ DomainNames: Array<string>;
2023
+ }
1994
2024
  /**
1995
2025
  * 规则引擎可应用于匹配请求的设置列表及其详细信息
1996
2026
  */
@@ -2184,6 +2214,21 @@ export interface Ipv6 {
2184
2214
  */
2185
2215
  Switch: string;
2186
2216
  }
2217
+ /**
2218
+ * WebSocket配置
2219
+ */
2220
+ export interface WebSocket {
2221
+ /**
2222
+ * WebSocket 超时时间配置开关,取值有:
2223
+ <li>on:使用Timeout作为WebSocket超时时间;</li>
2224
+ <li>off:平台仍支持WebSocket连接,此时使用系统默认的15秒为超时时间。</li>
2225
+ */
2226
+ Switch: string;
2227
+ /**
2228
+ * 超时时间,单位为秒,最大超时时间120秒。
2229
+ */
2230
+ Timeout?: number;
2231
+ }
2187
2232
  /**
2188
2233
  * ModifyAccelerationDomain请求参数结构体
2189
2234
  */
@@ -2720,17 +2765,9 @@ export interface DeleteApplicationProxyRuleRequest {
2720
2765
  RuleId: string;
2721
2766
  }
2722
2767
  /**
2723
- * DescribeApplicationProxies返回参数结构体
2768
+ * BindSharedCNAME返回参数结构体
2724
2769
  */
2725
- export interface DescribeApplicationProxiesResponse {
2726
- /**
2727
- * 应用代理列表。
2728
- */
2729
- ApplicationProxies?: Array<ApplicationProxy>;
2730
- /**
2731
- * 记录总数。
2732
- */
2733
- TotalCount?: number;
2770
+ export interface BindSharedCNAMEResponse {
2734
2771
  /**
2735
2772
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2736
2773
  */
@@ -2846,6 +2883,19 @@ export interface FileAscriptionInfo {
2846
2883
  */
2847
2884
  IdentifyContent: string;
2848
2885
  }
2886
+ /**
2887
+ * DeleteSharedCNAME请求参数结构体
2888
+ */
2889
+ export interface DeleteSharedCNAMERequest {
2890
+ /**
2891
+ * 共享 CNAME 所属站点 ID。
2892
+ */
2893
+ ZoneId: string;
2894
+ /**
2895
+ * 需要删除的共享 CNAME。
2896
+ */
2897
+ SharedCNAME: string;
2898
+ }
2849
2899
  /**
2850
2900
  * DescribeAccelerationDomains返回参数结构体
2851
2901
  */
@@ -3094,19 +3144,13 @@ export interface IdentifyZoneResponse {
3094
3144
  RequestId?: string;
3095
3145
  }
3096
3146
  /**
3097
- * WebSocket配置
3147
+ * DeleteSharedCNAME返回参数结构体
3098
3148
  */
3099
- export interface WebSocket {
3100
- /**
3101
- * WebSocket 超时时间配置开关,取值有:
3102
- <li>on:使用Timeout作为WebSocket超时时间;</li>
3103
- <li>off:平台仍支持WebSocket连接,此时使用系统默认的15秒为超时时间。</li>
3104
- */
3105
- Switch: string;
3149
+ export interface DeleteSharedCNAMEResponse {
3106
3150
  /**
3107
- * 超时时间,单位为秒,最大超时时间120秒。
3151
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3108
3152
  */
3109
- Timeout?: number;
3153
+ RequestId?: string;
3110
3154
  }
3111
3155
  /**
3112
3156
  * DDoS封禁解封信息
@@ -5433,6 +5477,25 @@ export interface DescribeTimingL7CacheDataResponse {
5433
5477
  */
5434
5478
  RequestId?: string;
5435
5479
  }
5480
+ /**
5481
+ * BindSharedCNAME请求参数结构体
5482
+ */
5483
+ export interface BindSharedCNAMERequest {
5484
+ /**
5485
+ * 加速域名所属站点 ID。
5486
+ */
5487
+ ZoneId: string;
5488
+ /**
5489
+ * 绑定类型,取值有:
5490
+ <li>bind:绑定;</li>
5491
+ <li>unbind:解绑。</li>
5492
+ */
5493
+ BindType: string;
5494
+ /**
5495
+ * 接入域名与共享 CNAME 的绑定关系。
5496
+ */
5497
+ BindSharedCNAMEMaps: Array<BindSharedCNAMEMap>;
5498
+ }
5436
5499
  /**
5437
5500
  * 智能客户端过滤
5438
5501
  */
@@ -6618,7 +6681,7 @@ export interface CreateSecurityIPGroupResponse {
6618
6681
  */
6619
6682
  export interface CreateSharedCNAMEResponse {
6620
6683
  /**
6621
- * 共享 CNAME。格式为:<自定义前缀>+<ZoneId中的12位随机字符串>+"share.eo.dnse[0-5].com"
6684
+ * 共享 CNAME。格式为:<自定义前缀>+<ZoneId中的12位随机字符串>+"share.dnse[0-5].com"
6622
6685
  */
6623
6686
  SharedCNAME?: string;
6624
6687
  /**
@@ -6940,9 +7003,9 @@ export interface CreateSharedCNAMERequest {
6940
7003
  /**
6941
7004
  * 共享 CNAME 前缀。请输入合法的域名前缀,例如"test-api"、"test-api.com",限制输入 50 个字符。
6942
7005
 
6943
- 共享 CNAME 完整格式为:<自定义前缀>+<zoneid中的12位随机字符串>+"share.eo.dnse[0-5].com"。
7006
+ 共享 CNAME 完整格式为:<自定义前缀>+<zoneid中的12位随机字符串>+"share.dnse[0-5].com"。
6944
7007
 
6945
- 例如前缀传入 example.com,EO 会为您创建共享 CNAME:example.com.sai2ig51kaa5.share.eo.dnse2.com
7008
+ 例如前缀传入 example.com,EO 会为您创建共享 CNAME:example.com.sai2ig51kaa5.share.dnse2.com
6946
7009
  */
6947
7010
  SharedCNAMEPrefix: string;
6948
7011
  /**