tencentcloud-sdk-nodejs-teo 4.0.844 → 4.0.845

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.
@@ -27,6 +27,19 @@ class Client extends TencentCloudCommon.AbstractClient {
27
27
  constructor(clientConfig) {
28
28
  super("teo.tencentcloudapi.com", "2022-09-01", clientConfig);
29
29
  }
30
+ /**
31
+ * 当您需要停止 Edgeone 套餐的计费,可以通过该接口销毁计费套餐。
32
+ > 销毁计费套餐需要满足以下条件:
33
+ 1.套餐已过期(企业版套餐除外);
34
+ 2.套餐下所有站点均已关闭或删除。
35
+
36
+ > 站点状态可以通过 [查询站点列表](https://cloud.tencent.com/document/product/1552/80713) 接口进行查询
37
+ 停用站点可以通过 [切换站点状态](https://cloud.tencent.com/document/product/1552/80707) 接口将站点切换至关闭状态
38
+ 删除站点可以通过 [删除站点](https://cloud.tencent.com/document/product/1552/80717) 接口将站点删除
39
+ */
40
+ async DestroyPlan(req, cb) {
41
+ return this.request("DestroyPlan", req, cb);
42
+ }
30
43
  /**
31
44
  * 当源站资源更新,但节点缓存 TTL 未过期时,用户仍会访问到旧的资源,此时可以通过该接口实现节点资源更新。触发更新的方法有以下两种:<li>直接删除:不做任何校验,直接删除节点缓存,用户请求时触发回源拉取;</li><li>标记过期:将节点资源置为过期,用户请求时触发回源校验,即发送带有 If-None-Match 和 If-Modified-Since 头部的 HTTP 条件请求。若源站响应 200,则节点会回源拉取新的资源并更新缓存;若源站响应 304,则节点不会更新缓存;</li>
32
45
 
@@ -122,6 +135,13 @@ class Client extends TencentCloudCommon.AbstractClient {
122
135
  async DescribeEnvironments(req, cb) {
123
136
  return this.request("DescribeEnvironments", req, cb);
124
137
  }
138
+ /**
139
+ * 当您的套餐绑定的站点数,或配置的 Web 防护 - 自定义规则 - 精准匹配策略的规则数,或 Web 防护 - 速率限制 - 精准速率限制模块的规则数达到套餐允许的配额上限,可以通过该接口增购对应配额。
140
+ > 该接口该仅支持企业版套餐。
141
+ */
142
+ async IncreasePlanQuota(req, cb) {
143
+ return this.request("IncreasePlanQuota", req, cb);
144
+ }
125
145
  /**
126
146
  * 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [删除四层代理转发规则](https://cloud.tencent.com/document/product/1552/103414) 。
127
147
  */
@@ -229,10 +249,10 @@ class Client extends TencentCloudCommon.AbstractClient {
229
249
  return this.request("ModifyL4Proxy", req, cb);
230
250
  }
231
251
  /**
232
- * 创建别称域名。
252
+ * 用于修改四层代理转发规则,支持单条或者批量修改。
233
253
  */
234
- async CreateAliasDomain(req, cb) {
235
- return this.request("CreateAliasDomain", req, cb);
254
+ async ModifyL4ProxyRules(req, cb) {
255
+ return this.request("ModifyL4ProxyRules", req, cb);
236
256
  }
237
257
  /**
238
258
  * 本接口(DescribeTimingL7CacheData)用于查询七层缓存分析时序类流量数据。
@@ -253,10 +273,10 @@ class Client extends TencentCloudCommon.AbstractClient {
253
273
  return this.request("ModifyZoneSetting", req, cb);
254
274
  }
255
275
  /**
256
- * 用于修改四层代理转发规则,支持单条或者批量修改。
276
+ * 创建别称域名。
257
277
  */
258
- async ModifyL4ProxyRules(req, cb) {
259
- return this.request("ModifyL4ProxyRules", req, cb);
278
+ async CreateAliasDomain(req, cb) {
279
+ return this.request("CreateAliasDomain", req, cb);
260
280
  }
261
281
  /**
262
282
  * 修改别称域名状态。
@@ -300,6 +320,12 @@ class Client extends TencentCloudCommon.AbstractClient {
300
320
  async ModifySecurityPolicy(req, cb) {
301
321
  return this.request("ModifySecurityPolicy", req, cb);
302
322
  }
323
+ /**
324
+ * 修改套餐配置。目前仅支持修改预付费套餐的自动续费开关。
325
+ */
326
+ async ModifyPlan(req, cb) {
327
+ return this.request("ModifyPlan", req, cb);
328
+ }
303
329
  /**
304
330
  * 将未绑定套餐的站点绑定到已有套餐
305
331
  */
@@ -336,6 +362,13 @@ class Client extends TencentCloudCommon.AbstractClient {
336
362
  async ModifyApplicationProxyStatus(req, cb) {
337
363
  return this.request("ModifyApplicationProxyStatus", req, cb);
338
364
  }
365
+ /**
366
+ * 若您需要使用 Edgeone 产品,您需要通过此接口创建计费套餐。
367
+ > 创建套餐后,您需要通过 [CreateZone](https://cloud.tencent.com/document/product/1552/80719) 完成创建站点,绑定套餐的流程,Edgeone 才能正常提供服务。
368
+ */
369
+ async CreatePlan(req, cb) {
370
+ return this.request("CreatePlan", req, cb);
371
+ }
339
372
  /**
340
373
  * 本接口(DescribeTimingL7AnalysisData)查询七层数据分析类时序数据。
341
374
  */
@@ -447,6 +480,15 @@ class Client extends TencentCloudCommon.AbstractClient {
447
480
  async DescribeL4Proxy(req, cb) {
448
481
  return this.request("DescribeL4Proxy", req, cb);
449
482
  }
483
+ /**
484
+ * 当您需要使用高等级套餐才拥有的功能,可以通过本接口升级套餐,仅支持个人版,基础版套餐进行升级。
485
+ > 不同类型 Edgeone 计费套餐区别参考 [Edgeone计费套餐选型对比](https://cloud.tencent.com/document/product/1552/94165)
486
+ 计费套餐升级规则以及资费详情参考 [Edgeone计费套餐升配说明](https://cloud.tencent.com/document/product/1552/95291)
487
+ 如果需要将套餐升级至企业版,请 [联系我们](https://cloud.tencent.com/online-service)
488
+ */
489
+ async UpgradePlan(req, cb) {
490
+ return this.request("UpgradePlan", req, cb);
491
+ }
450
492
  /**
451
493
  * 查询规则引擎规则。
452
494
  */
@@ -552,6 +594,13 @@ class Client extends TencentCloudCommon.AbstractClient {
552
594
  async ModifyL4ProxyRulesStatus(req, cb) {
553
595
  return this.request("ModifyL4ProxyRulesStatus", req, cb);
554
596
  }
597
+ /**
598
+ * 当您的套餐需要延长有效期,可以通过该接口进行续费。套餐续费仅支持个人版,基础版,标准版套餐。
599
+ > 费用详情可参考 [套餐费用](https://cloud.tencent.com/document/product/1552/94158)
600
+ */
601
+ async RenewPlan(req, cb) {
602
+ return this.request("RenewPlan", req, cb);
603
+ }
555
604
  /**
556
605
  * 用于查询站点的所有配置信息。
557
606
  */
@@ -19,6 +19,17 @@ export interface DeployConfigGroupVersionRequest {
19
19
  */
20
20
  Description: string;
21
21
  }
22
+ /**
23
+ * 预付费套餐自动续费配置项。
24
+ */
25
+ export interface RenewFlag {
26
+ /**
27
+ * 预付费套餐的自动续费标志,取值有:
28
+ <li> on:开启自动续费;</li>
29
+ <li> off:不开启自动续费。</li>
30
+ */
31
+ Switch: string;
32
+ }
22
33
  /**
23
34
  * 智能压缩配置。
24
35
  */
@@ -199,6 +210,24 @@ export interface OriginDetail {
199
210
  */
200
211
  VodeoBucketId?: string;
201
212
  }
213
+ /**
214
+ * 预付费套餐计费参数
215
+ */
216
+ export interface PrepaidPlanParam {
217
+ /**
218
+ * 订阅预付费套餐的周期,单位:月,取值有:1,2,3,4,5,6,7,8,9,10,11,12,24,36。
219
+
220
+ 不填写使用默认值 1。
221
+ */
222
+ Period?: number;
223
+ /**
224
+ * 预付费套餐的自动续费标志,取值有:
225
+ <li> on:开启自动续费;</li>
226
+ <li> off:不开启自动续费。</li>
227
+ 不填写使用默认值 off,自动续费时,默认续费1个月。
228
+ */
229
+ RenewFlag?: string;
230
+ }
202
231
  /**
203
232
  * ModifyAccelerationDomain返回参数结构体
204
233
  */
@@ -1952,6 +1981,19 @@ export interface L4OfflineLog {
1952
1981
  */
1953
1982
  Size?: number;
1954
1983
  }
1984
+ /**
1985
+ * ModifyPlan请求参数结构体
1986
+ */
1987
+ export interface ModifyPlanRequest {
1988
+ /**
1989
+ * 套餐 ID,形如 edgeone-2unuvzjmmn2q。
1990
+ */
1991
+ PlanId: string;
1992
+ /**
1993
+ * 预付费套餐自动续费配置。若开启了自动续费,则会在套餐到期前一天自动续费,仅支持个人版,基础版,标准版套餐。不填写表示保持原有配置。
1994
+ */
1995
+ RenewFlag?: RenewFlag;
1996
+ }
1955
1997
  /**
1956
1998
  * 例外规则的生效范围。
1957
1999
  */
@@ -2566,6 +2608,23 @@ export interface ModifyRuleRequest {
2566
2608
  */
2567
2609
  Tags?: Array<string>;
2568
2610
  }
2611
+ /**
2612
+ * RenewPlan请求参数结构体
2613
+ */
2614
+ export interface RenewPlanRequest {
2615
+ /**
2616
+ * 套餐 ID,形如 edgeone-2unuvzjmmn2q。
2617
+ */
2618
+ PlanId: string;
2619
+ /**
2620
+ * 续费套餐的时长,单位:月,取值有:1,2,3,4,5,6,7,8,9,10,11,12,24,36。
2621
+ */
2622
+ Period: number;
2623
+ /**
2624
+ * 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>不填写使用默认值 false。
2625
+ */
2626
+ AutoUseVoucher?: string;
2627
+ }
2569
2628
  /**
2570
2629
  * DescribePrefetchTasks返回参数结构体
2571
2630
  */
@@ -3275,6 +3334,15 @@ export interface DescribeConfigGroupVersionDetailRequest {
3275
3334
  */
3276
3335
  VersionId: string;
3277
3336
  }
3337
+ /**
3338
+ * ModifyPlan返回参数结构体
3339
+ */
3340
+ export interface ModifyPlanResponse {
3341
+ /**
3342
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3343
+ */
3344
+ RequestId?: string;
3345
+ }
3278
3346
  /**
3279
3347
  * 拦截页面的配置信息
3280
3348
  */
@@ -3546,6 +3614,36 @@ export interface VanityNameServers {
3546
3614
  */
3547
3615
  Servers?: Array<string>;
3548
3616
  }
3617
+ /**
3618
+ * DestroyPlan请求参数结构体
3619
+ */
3620
+ export interface DestroyPlanRequest {
3621
+ /**
3622
+ * 套餐 ID,形如 edgeone-2wdo315m2y4c。
3623
+ */
3624
+ PlanId: string;
3625
+ }
3626
+ /**
3627
+ * CreatePlan请求参数结构体
3628
+ */
3629
+ export interface CreatePlanRequest {
3630
+ /**
3631
+ * 订阅的套餐类型,取值有:<li> personal:个人版套餐,预付费套餐;</li><li> basic:基础版套餐,预付费套餐;</li><li> standard:标准版套餐,预付费套餐;</li><li> enterprise:企业版套餐,后付费套餐。</li>订阅预付费套餐时,请确保账号内有足够余额,余额不足会产生一个待支付的订单。
3632
+ 计费概述参考 [Edgeone计费概述](https://cloud.tencent.com/document/product/1552/94156)
3633
+ 不同套餐区别参考 [Edgeone计费套餐选型对比](https://cloud.tencent.com/document/product/1552/94165)
3634
+ */
3635
+ PlanType: string;
3636
+ /**
3637
+ * 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>该参数仅在 PlanType 为 personal, basic, standard 时有效。
3638
+ 不填写使用默认值 false。
3639
+ */
3640
+ AutoUseVoucher?: string;
3641
+ /**
3642
+ * 订阅预付费套餐参数,PlanType 为 personal, basic, standard 时,可以选填该参数,用于传入套餐的订阅时长和是否开启自动续费。
3643
+ 不填该参数时,默认开通套餐时长为 1 个月,不开启自动续费。
3644
+ */
3645
+ PrepaidPlanParam?: PrepaidPlanParam;
3646
+ }
3549
3647
  /**
3550
3648
  * IP 网段组
3551
3649
  */
@@ -4226,19 +4324,13 @@ export interface DescribeIdentificationsRequest {
4226
4324
  Limit?: number;
4227
4325
  }
4228
4326
  /**
4229
- * 安全模板绑定域名状态
4327
+ * ModifyHostsCertificate返回参数结构体
4230
4328
  */
4231
- export interface TemplateScope {
4232
- /**
4233
- * 站点ID。
4234
- 注意:此字段可能返回 null,表示取不到有效值。
4235
- */
4236
- ZoneId?: string;
4329
+ export interface ModifyHostsCertificateResponse {
4237
4330
  /**
4238
- * 实例状态列表。
4239
- 注意:此字段可能返回 null,表示取不到有效值。
4331
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4240
4332
  */
4241
- EntityStatus?: Array<EntityStatus>;
4333
+ RequestId?: string;
4242
4334
  }
4243
4335
  /**
4244
4336
  * CreateAccelerationDomain请求参数结构体
@@ -4294,6 +4386,19 @@ export interface NormalAction {
4294
4386
  */
4295
4387
  Parameters: Array<RuleNormalActionParams>;
4296
4388
  }
4389
+ /**
4390
+ * Top数据的详细信息
4391
+ */
4392
+ export interface TopDetailData {
4393
+ /**
4394
+ * 字段名。
4395
+ */
4396
+ Key: string;
4397
+ /**
4398
+ * 字段值。
4399
+ */
4400
+ Value: number;
4401
+ }
4297
4402
  /**
4298
4403
  * DescribeZoneSetting返回参数结构体
4299
4404
  */
@@ -4372,6 +4477,19 @@ export interface CacheConfig {
4372
4477
  */
4373
4478
  FollowOrigin?: FollowOrigin;
4374
4479
  }
4480
+ /**
4481
+ * UpgradePlan返回参数结构体
4482
+ */
4483
+ export interface UpgradePlanResponse {
4484
+ /**
4485
+ * 订单号。
4486
+ */
4487
+ DealName?: string;
4488
+ /**
4489
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4490
+ */
4491
+ RequestId?: string;
4492
+ }
4375
4493
  /**
4376
4494
  * 离线缓存是否开启
4377
4495
  */
@@ -4777,6 +4895,19 @@ export interface DeleteAccelerationDomainsRequest {
4777
4895
  */
4778
4896
  Force?: boolean;
4779
4897
  }
4898
+ /**
4899
+ * RenewPlan返回参数结构体
4900
+ */
4901
+ export interface RenewPlanResponse {
4902
+ /**
4903
+ * 订单号。
4904
+ */
4905
+ DealName?: string;
4906
+ /**
4907
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4908
+ */
4909
+ RequestId?: string;
4910
+ }
4780
4911
  /**
4781
4912
  * 实时日志投递任务。
4782
4913
  */
@@ -5730,6 +5861,23 @@ export interface CreateL4ProxyRequest {
5730
5861
  */
5731
5862
  DDosProtectionConfig?: DDosProtectionConfig;
5732
5863
  }
5864
+ /**
5865
+ * CreatePlan返回参数结构体
5866
+ */
5867
+ export interface CreatePlanResponse {
5868
+ /**
5869
+ * 套餐 ID,形如 edgeone-2unuvzjmmn2q。
5870
+ */
5871
+ PlanId?: string;
5872
+ /**
5873
+ * 订单号。
5874
+ */
5875
+ DealName?: string;
5876
+ /**
5877
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5878
+ */
5879
+ RequestId?: string;
5880
+ }
5733
5881
  /**
5734
5882
  * DescribeApplicationProxies请求参数结构体
5735
5883
  */
@@ -5791,9 +5939,13 @@ export interface Hsts {
5791
5939
  Preload?: string;
5792
5940
  }
5793
5941
  /**
5794
- * ModifyHostsCertificate返回参数结构体
5942
+ * CreateOriginGroup返回参数结构体
5795
5943
  */
5796
- export interface ModifyHostsCertificateResponse {
5944
+ export interface CreateOriginGroupResponse {
5945
+ /**
5946
+ * 源站组ID。
5947
+ */
5948
+ OriginGroupId?: string;
5797
5949
  /**
5798
5950
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5799
5951
  */
@@ -6471,6 +6623,7 @@ export interface DeliveryCondition {
6471
6623
  <li>EdgeResponseStatusCode:按照 EdgeOne 节点响应返回给客户端的状态码进行过滤。<br>   支持运算符:equal、great、less、great_equal、less_equal<br>   取值范围:任意大于等于 0 的整数</li>
6472
6624
  <li>OriginResponseStatusCode:按照源站响应状态码进行过滤。<br>   支持运算符:equal、great、less、great_equal、less_equal<br>   取值范围:任意大于等于 -1 的整数</li>
6473
6625
  <li>SecurityAction:按照请求命中安全规则后的最终处置动作进行过滤。<br>   支持运算符:equal<br>   可选项如下:<br>   -:未知/未命中<br>   Monitor:观察<br>   JSChallenge:JavaScript 挑战<br>   Deny:拦截<br>   Allow:放行<br>   BlockIP:IP 封禁<br>   Redirect:重定向<br>   ReturnCustomPage:返回自定义页面<br>   ManagedChallenge:托管挑战<br>   Silence:静默<br>   LongDelay:长时间等待后响应<br>   ShortDelay:短时间等待后响应</li>
6626
+ <li>SecurityModule:按照最终处置请求的安全模块名称进行过滤。<br>   支持运算符:equal<br>   可选项如下:<br>   -:未知/未命中<br>   CustomRule:Web防护 - 自定义规则<br>   RateLimitingCustomRule:Web防护 - 速率限制规则<br>   ManagedRule:Web防护 - 托管规则<br>   L7DDoS:Web防护 - CC攻击防护<br>   BotManagement:Bot管理 - Bot基础管理<br>   BotClientReputation:Bot管理 - 客户端画像分析<br>   BotBehaviorAnalysis:Bot管理 - Bot智能分析<br>   BotCustomRule:Bot管理 - 自定义Bot规则<br>   BotActiveDetection:Bot管理 - 主动特征识别</li>
6474
6627
  */
6475
6628
  Conditions?: Array<QueryCondition>;
6476
6629
  }
@@ -6515,6 +6668,15 @@ export interface IPRegionInfo {
6515
6668
  */
6516
6669
  IsEdgeOneIP?: string;
6517
6670
  }
6671
+ /**
6672
+ * DestroyPlan返回参数结构体
6673
+ */
6674
+ export interface DestroyPlanResponse {
6675
+ /**
6676
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6677
+ */
6678
+ RequestId?: string;
6679
+ }
6518
6680
  /**
6519
6681
  * 查询条件
6520
6682
  */
@@ -7456,35 +7618,35 @@ export interface CreateApplicationProxyRuleRequest {
7456
7618
  RuleTag?: string;
7457
7619
  }
7458
7620
  /**
7459
- * DescribeIPRegion返回参数结构体
7621
+ * IncreasePlanQuota返回参数结构体
7460
7622
  */
7461
- export interface DescribeIPRegionResponse {
7623
+ export interface IncreasePlanQuotaResponse {
7462
7624
  /**
7463
- * IP 归属信息列表。
7625
+ * 订单号。
7464
7626
  */
7465
- IPRegionInfo?: Array<IPRegionInfo>;
7627
+ DealName?: string;
7466
7628
  /**
7467
7629
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7468
7630
  */
7469
7631
  RequestId?: string;
7470
7632
  }
7471
7633
  /**
7472
- * DescribeAvailablePlans请求参数结构体
7473
- */
7474
- export declare type DescribeAvailablePlansRequest = null;
7475
- /**
7476
- * CreateOriginGroup返回参数结构体
7634
+ * DescribeIPRegion返回参数结构体
7477
7635
  */
7478
- export interface CreateOriginGroupResponse {
7636
+ export interface DescribeIPRegionResponse {
7479
7637
  /**
7480
- * 源站组ID。
7638
+ * IP 归属信息列表。
7481
7639
  */
7482
- OriginGroupId?: string;
7640
+ IPRegionInfo?: Array<IPRegionInfo>;
7483
7641
  /**
7484
7642
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7485
7643
  */
7486
7644
  RequestId?: string;
7487
7645
  }
7646
+ /**
7647
+ * DescribeAvailablePlans请求参数结构体
7648
+ */
7649
+ export declare type DescribeAvailablePlansRequest = null;
7488
7650
  /**
7489
7651
  * ModifyZone返回参数结构体
7490
7652
  */
@@ -7617,19 +7779,6 @@ export interface AliasDomain {
7617
7779
  */
7618
7780
  ModifiedOn: string;
7619
7781
  }
7620
- /**
7621
- * 规则引擎HTTP请求头/响应头类型的动作
7622
- */
7623
- export interface RewriteAction {
7624
- /**
7625
- * 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
7626
- */
7627
- Action: string;
7628
- /**
7629
- * 参数。
7630
- */
7631
- Parameters: Array<RuleRewriteActionParams>;
7632
- }
7633
7782
  /**
7634
7783
  * IP黑白名单详细规则
7635
7784
  */
@@ -7684,6 +7833,23 @@ export interface IpTableRule {
7684
7833
  */
7685
7834
  MatchContent?: string;
7686
7835
  }
7836
+ /**
7837
+ * IncreasePlanQuota请求参数结构体
7838
+ */
7839
+ export interface IncreasePlanQuotaRequest {
7840
+ /**
7841
+ * 套餐 ID, 形如 edgeone-2unuvzjmmn2q。
7842
+ */
7843
+ PlanId: string;
7844
+ /**
7845
+ * 新增的套餐配额类型,取值有:<li> site:站点数;</li><li> precise_access_control_rule:Web 防护 - 自定义规则 - 精准匹配策略的规则配额;</li><li> rate_limiting_rule:Web 防护 - 速率限制 - 精准速率限制模块的规则配额。</li>
7846
+ */
7847
+ QuotaType: string;
7848
+ /**
7849
+ * 新增的配额个数。单次新增的配额个数上限为 100。
7850
+ */
7851
+ QuotaNumber: number;
7852
+ }
7687
7853
  /**
7688
7854
  * DescribeDDoSAttackTopData请求参数结构体
7689
7855
  */
@@ -7928,17 +8094,32 @@ export interface SlowRateConfig {
7928
8094
  Threshold?: number;
7929
8095
  }
7930
8096
  /**
7931
- * Top数据的详细信息
8097
+ * 规则引擎HTTP请求头/响应头类型的动作
7932
8098
  */
7933
- export interface TopDetailData {
8099
+ export interface RewriteAction {
7934
8100
  /**
7935
- * 字段名。
8101
+ * 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
7936
8102
  */
7937
- Key: string;
8103
+ Action: string;
7938
8104
  /**
7939
- * 字段值。
8105
+ * 参数。
7940
8106
  */
7941
- Value: number;
8107
+ Parameters: Array<RuleRewriteActionParams>;
8108
+ }
8109
+ /**
8110
+ * 安全模板绑定域名状态
8111
+ */
8112
+ export interface TemplateScope {
8113
+ /**
8114
+ * 站点ID。
8115
+ 注意:此字段可能返回 null,表示取不到有效值。
8116
+ */
8117
+ ZoneId?: string;
8118
+ /**
8119
+ * 实例状态列表。
8120
+ 注意:此字段可能返回 null,表示取不到有效值。
8121
+ */
8122
+ EntityStatus?: Array<EntityStatus>;
7942
8123
  }
7943
8124
  /**
7944
8125
  * DescribeOverviewL7Data请求参数结构体
@@ -8537,6 +8718,23 @@ export interface ModifyZoneStatusResponse {
8537
8718
  */
8538
8719
  RequestId?: string;
8539
8720
  }
8721
+ /**
8722
+ * UpgradePlan请求参数结构体
8723
+ */
8724
+ export interface UpgradePlanRequest {
8725
+ /**
8726
+ * 套餐 ID,形如 edgeone-2unuvzjmmn2q。
8727
+ */
8728
+ PlanId: string;
8729
+ /**
8730
+ * 需要升级到的目标套餐版本,取值有:<li> basic:基础版套餐;</li><li> standard:标准版套餐。</li>
8731
+ */
8732
+ PlanType: string;
8733
+ /**
8734
+ * 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>不填写使用默认值 false。
8735
+ */
8736
+ AutoUseVoucher?: string;
8737
+ }
8540
8738
  /**
8541
8739
  * CreatePurgeTask请求参数结构体
8542
8740
  */