tencentcloud-sdk-nodejs 4.0.844 → 4.0.846

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/SERVICE_CHANGELOG.md +77 -232
  3. package/package.json +1 -1
  4. package/products.md +6 -6
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_models.ts +5 -42
  7. package/src/services/cls/v20201016/cls_client.ts +98 -35
  8. package/src/services/cls/v20201016/cls_models.ts +319 -136
  9. package/src/services/ims/v20201229/ims_client.ts +1 -1
  10. package/src/services/rum/v20210622/rum_models.ts +1 -1
  11. package/src/services/teo/v20220901/teo_client.ts +104 -17
  12. package/src/services/teo/v20220901/teo_models.ts +257 -45
  13. package/src/services/tione/v20191022/tione_models.ts +1 -1
  14. package/src/services/tke/v20180525/tke_client.ts +3 -3
  15. package/src/services/tke/v20180525/tke_models.ts +18 -61
  16. package/tencentcloud/common/sdk_version.d.ts +1 -1
  17. package/tencentcloud/common/sdk_version.js +1 -1
  18. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +5 -42
  19. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +31 -11
  20. package/tencentcloud/services/cls/v20201016/cls_client.js +45 -15
  21. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +306 -136
  22. package/tencentcloud/services/ims/v20201229/ims_client.d.ts +1 -1
  23. package/tencentcloud/services/ims/v20201229/ims_client.js +1 -1
  24. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
  25. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +42 -5
  26. package/tencentcloud/services/teo/v20220901/teo_client.js +55 -6
  27. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +241 -43
  28. package/tencentcloud/services/tione/v20191022/tione_models.d.ts +1 -1
  29. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +3 -3
  30. package/tencentcloud/services/tke/v20180525/tke_client.js +3 -3
  31. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +18 -61
  32. package/test/cls.v20201016.test.js +66 -16
  33. package/test/teo.v20220901.test.js +64 -4
@@ -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
  */
@@ -355,7 +355,7 @@ export interface DescribeNotebookLifecycleScriptsRequest {
355
355
  */
356
356
  export interface GitSecret {
357
357
  /**
358
- * 无秘钥,默认选项
358
+ * 无密钥,默认选项
359
359
  */
360
360
  NoSecret?: boolean;
361
361
  /**
@@ -104,7 +104,7 @@ export declare class Client extends AbstractClient {
104
104
  */
105
105
  CreateClusterRouteTable(req: CreateClusterRouteTableRequest, cb?: (error: string, rep: CreateClusterRouteTableResponse) => void): Promise<CreateClusterRouteTableResponse>;
106
106
  /**
107
- * 获得节点升级当前的进度
107
+ * 获得节点升级当前的进度,若集群未处于节点升级状态,则接口会报错:任务未找到。
108
108
  */
109
109
  GetUpgradeInstanceProgress(req: GetUpgradeInstanceProgressRequest, cb?: (error: string, rep: GetUpgradeInstanceProgressResponse) => void): Promise<GetUpgradeInstanceProgressResponse>;
110
110
  /**
@@ -456,7 +456,7 @@ export declare class Client extends AbstractClient {
456
456
  */
457
457
  ListClusterInspectionResultsItems(req: ListClusterInspectionResultsItemsRequest, cb?: (error: string, rep: ListClusterInspectionResultsItemsResponse) => void): Promise<ListClusterInspectionResultsItemsResponse>;
458
458
  /**
459
- * 开启加密数据保护
459
+ * 开启加密数据保护,需要先开启KMS能力,完成KMS授权
460
460
  */
461
461
  EnableEncryptionProtection(req: EnableEncryptionProtectionRequest, cb?: (error: string, rep: EnableEncryptionProtectionResponse) => void): Promise<EnableEncryptionProtectionResponse>;
462
462
  /**
@@ -528,7 +528,7 @@ export declare class Client extends AbstractClient {
528
528
  */
529
529
  DescribePrometheusGlobalNotification(req: DescribePrometheusGlobalNotificationRequest, cb?: (error: string, rep: DescribePrometheusGlobalNotificationResponse) => void): Promise<DescribePrometheusGlobalNotificationResponse>;
530
530
  /**
531
- * 缩容独立集群master节点
531
+ * 缩容独立集群master节点,本功能为内测能力,使用之前请先提单联系我们。
532
532
  */
533
533
  ScaleInClusterMaster(req: ScaleInClusterMasterRequest, cb?: (error: string, rep: ScaleInClusterMasterResponse) => void): Promise<ScaleInClusterMasterResponse>;
534
534
  /**
@@ -172,7 +172,7 @@ class Client extends abstract_client_1.AbstractClient {
172
172
  return this.request("CreateClusterRouteTable", req, cb);
173
173
  }
174
174
  /**
175
- * 获得节点升级当前的进度
175
+ * 获得节点升级当前的进度,若集群未处于节点升级状态,则接口会报错:任务未找到。
176
176
  */
177
177
  async GetUpgradeInstanceProgress(req, cb) {
178
178
  return this.request("GetUpgradeInstanceProgress", req, cb);
@@ -700,7 +700,7 @@ class Client extends abstract_client_1.AbstractClient {
700
700
  return this.request("ListClusterInspectionResultsItems", req, cb);
701
701
  }
702
702
  /**
703
- * 开启加密数据保护
703
+ * 开启加密数据保护,需要先开启KMS能力,完成KMS授权
704
704
  */
705
705
  async EnableEncryptionProtection(req, cb) {
706
706
  return this.request("EnableEncryptionProtection", req, cb);
@@ -808,7 +808,7 @@ class Client extends abstract_client_1.AbstractClient {
808
808
  return this.request("DescribePrometheusGlobalNotification", req, cb);
809
809
  }
810
810
  /**
811
- * 缩容独立集群master节点
811
+ * 缩容独立集群master节点,本功能为内测能力,使用之前请先提单联系我们。
812
812
  */
813
813
  async ScaleInClusterMaster(req, cb) {
814
814
  return this.request("ScaleInClusterMaster", req, cb);
@@ -1006,45 +1006,7 @@ export interface DescribeClustersRequest {
1006
1006
  */
1007
1007
  Limit?: number;
1008
1008
  /**
1009
- * · ClusterName
1010
- 按照【集群名】进行过滤。
1011
- 类型:String
1012
- 必选:否
1013
-
1014
- · ClusterType
1015
- 按照【集群类型】进行过滤。
1016
- 类型:String
1017
- 必选:否
1018
-
1019
- · ClusterStatus
1020
- 按照【集群状态】进行过滤。
1021
- 类型:String
1022
- 必选:否
1023
-
1024
- · Tags
1025
- 按照【标签键值对】进行过滤。
1026
- 类型:String
1027
- 必选:否
1028
-
1029
- · vpc-id
1030
- 按照【VPC】进行过滤。
1031
- 类型:String
1032
- 必选:否
1033
-
1034
- · tag-key
1035
- 按照【标签键】进行过滤。
1036
- 类型:String
1037
- 必选:否
1038
-
1039
- · tag-value
1040
- 按照【标签值】进行过滤。
1041
- 类型:String
1042
- 必选:否
1043
-
1044
- · tag:tag-key
1045
- 按照【标签键值对】进行过滤。
1046
- 类型:String
1047
- 必选:否
1009
+ * · "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-123qajzs"] 按照【VPC】进行过滤。 类型:String 必选:否 · "Name":"tag-key","Values": ["testKey"] 按照【标签键】进行过滤。 类型:String 必选:否 · "Name":"tag-value","Values": ["testValue"] 按照【标签值】进行过滤。 类型:String 必选:否 · "Name":"Tags","Values": ["abc:1"] 按照【标签键值对】进行过滤。 类型:String 必选:否
1048
1010
  */
1049
1011
  Filters?: Array<Filter>;
1050
1012
  /**
@@ -1449,7 +1411,7 @@ export interface CheckInstancesUpgradeAbleRequest {
1449
1411
  */
1450
1412
  InstanceIds?: Array<string>;
1451
1413
  /**
1452
- * 升级类型
1414
+ * 升级类型,枚举值:reset(重装升级,支持大版本和小版本),hot(原地滚动小版本升级),major(原地滚动大版本升级)
1453
1415
  */
1454
1416
  UpgradeType?: string;
1455
1417
  /**
@@ -2707,22 +2669,17 @@ export interface DescribeClusterNodePoolsRequest {
2707
2669
  */
2708
2670
  ClusterId: string;
2709
2671
  /**
2710
- * · NodePoolsName
2672
+ * · "Name":"NodePoolsName","Values": ["test"]
2711
2673
  按照【节点池名】进行过滤。
2712
2674
  类型:String
2713
2675
  必选:否
2714
2676
 
2715
- · NodePoolsId
2677
+ · "Name":"NodePoolsId","Values": ["np-d2mb2zb"]
2716
2678
  按照【节点池id】进行过滤。
2717
2679
  类型:String
2718
2680
  必选:否
2719
2681
 
2720
- · tags
2721
- 按照【标签键值对】进行过滤。
2722
- 类型:String
2723
- 必选:否
2724
-
2725
- · tag:tag-key
2682
+ · "Name":"Tags","Values": ["abc:1"]
2726
2683
  按照【标签键值对】进行过滤。
2727
2684
  类型:String
2728
2685
  必选:否
@@ -2942,7 +2899,7 @@ export interface ExistedInstancesPara {
2942
2899
  */
2943
2900
  InstanceIds: Array<string>;
2944
2901
  /**
2945
- * 实例额外需要设置参数信息
2902
+ * 实例额外需要设置参数信息(目前后端暂不支持此字段,我们将在未来的版本中实现)
2946
2903
  */
2947
2904
  InstanceAdvancedSettings?: InstanceAdvancedSettings;
2948
2905
  /**
@@ -4590,7 +4547,7 @@ export interface ModifyNodePoolInstanceTypesRequest {
4590
4547
  */
4591
4548
  NodePoolId: string;
4592
4549
  /**
4593
- * 机型列表
4550
+ * 机型列表,主实例机型不支持修改
4594
4551
  */
4595
4552
  InstanceTypes: Array<string>;
4596
4553
  }
@@ -4759,11 +4716,11 @@ export interface DescribeClustersResponse {
4759
4716
  /**
4760
4717
  * 集群总个数
4761
4718
  */
4762
- TotalCount: number;
4719
+ TotalCount?: number;
4763
4720
  /**
4764
4721
  * 集群信息列表
4765
4722
  */
4766
- Clusters: Array<Cluster>;
4723
+ Clusters?: Array<Cluster>;
4767
4724
  /**
4768
4725
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4769
4726
  */
@@ -5061,11 +5018,11 @@ export interface ReservedInstanceScope {
5061
5018
  */
5062
5019
  export interface DescribeAvailableClusterVersionRequest {
5063
5020
  /**
5064
- * 集群 Id
5021
+ * 集群 Id。若只查询某个集群可升级的版本,需填写此项。
5065
5022
  */
5066
5023
  ClusterId?: string;
5067
5024
  /**
5068
- * 集群 Id 列表
5025
+ * 集群 Id 列表。若查询多个集群可升级的版本,需填写此项。
5069
5026
  */
5070
5027
  ClusterIds?: Array<string>;
5071
5028
  }
@@ -6487,7 +6444,7 @@ export interface InstanceUpgradeProgressItem {
6487
6444
  /**
6488
6445
  * 节点instanceID
6489
6446
  */
6490
- InstanceID: string;
6447
+ InstanceID?: string;
6491
6448
  /**
6492
6449
  * 任务生命周期
6493
6450
  process 运行中
@@ -6498,25 +6455,25 @@ export interface InstanceUpgradeProgressItem {
6498
6455
  aborted 已取消
6499
6456
  pending 还未开始
6500
6457
  */
6501
- LifeState: string;
6458
+ LifeState?: string;
6502
6459
  /**
6503
6460
  * 升级开始时间
6504
6461
  注意:此字段可能返回 null,表示取不到有效值。
6505
6462
  */
6506
- StartAt: string;
6463
+ StartAt?: string;
6507
6464
  /**
6508
6465
  * 升级结束时间
6509
6466
  注意:此字段可能返回 null,表示取不到有效值。
6510
6467
  */
6511
- EndAt: string;
6468
+ EndAt?: string;
6512
6469
  /**
6513
6470
  * 升级前检查结果
6514
6471
  */
6515
- CheckResult: InstanceUpgradePreCheckResult;
6472
+ CheckResult?: InstanceUpgradePreCheckResult;
6516
6473
  /**
6517
6474
  * 升级步骤详情
6518
6475
  */
6519
- Detail: Array<TaskStepInfo>;
6476
+ Detail?: Array<TaskStepInfo>;
6520
6477
  }
6521
6478
  /**
6522
6479
  * DescribeClusterVirtualNodePools请求参数结构体
@@ -12629,7 +12586,7 @@ export interface ScaleInMaster {
12629
12586
  */
12630
12587
  NodeRole: string;
12631
12588
  /**
12632
- * 实例的保留模式
12589
+ * 实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
12633
12590
  */
12634
12591
  InstanceDeleteMode: string;
12635
12592
  }