tencentcloud-sdk-nodejs-cynosdb 4.1.230 → 4.1.233

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cynosdb",
3
- "version": "4.1.230",
3
+ "version": "4.1.233",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -379,7 +379,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
379
379
  */
380
380
  ModifyLibraDBClusterAccountDescription(req: ModifyLibraDBClusterAccountDescriptionRequest, cb?: (error: string, rep: ModifyLibraDBClusterAccountDescriptionResponse) => void): Promise<ModifyLibraDBClusterAccountDescriptionResponse>;
381
381
  /**
382
- * 此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。
382
+ * 此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。受到平台返回大小限制,当返回结果过大时,可能会对超过限制的内容进行截断。
383
383
  */
384
384
  DescribeInstanceSlowQueries(req: DescribeInstanceSlowQueriesRequest, cb?: (error: string, rep: DescribeInstanceSlowQueriesResponse) => void): Promise<DescribeInstanceSlowQueriesResponse>;
385
385
  /**
@@ -587,7 +587,7 @@ class Client extends TencentCloudCommon.AbstractClient {
587
587
  return this.request("ModifyLibraDBClusterAccountDescription", req, cb);
588
588
  }
589
589
  /**
590
- * 此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。
590
+ * 此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。受到平台返回大小限制,当返回结果过大时,可能会对超过限制的内容进行截断。
591
591
  */
592
592
  async DescribeInstanceSlowQueries(req, cb) {
593
593
  return this.request("DescribeInstanceSlowQueries", req, cb);
@@ -1477,7 +1477,7 @@ export interface CynosdbInstance {
1477
1477
  */
1478
1478
  Storage?: number;
1479
1479
  /**
1480
- * <p>实例类型</p>
1480
+ * <p>实例类型</p><p>枚举值:</p><ul><li>rw: 读写实例</li><li>ro: 只读实例</li></ul>
1481
1481
  */
1482
1482
  InstanceType?: string;
1483
1483
  /**
@@ -9656,128 +9656,119 @@ export interface ModifyClusterSlaveZoneResponse {
9656
9656
  */
9657
9657
  export interface RollbackToNewClusterRequest {
9658
9658
  /**
9659
- * 可用区
9659
+ * <p>可用区</p>
9660
9660
  */
9661
9661
  Zone: string;
9662
9662
  /**
9663
- * 回档时,传入源集群ID,用于查找源poolId
9663
+ * <p>回档时,传入源集群ID,用于查找源poolId</p>
9664
9664
  */
9665
9665
  OriginalClusterId: string;
9666
9666
  /**
9667
- * 所属VPC网络ID
9667
+ * <p>所属VPC网络ID</p>
9668
9668
  */
9669
9669
  UniqVpcId?: string;
9670
9670
  /**
9671
- * 所属子网ID
9671
+ * <p>所属子网ID</p>
9672
9672
  */
9673
9673
  UniqSubnetId?: string;
9674
9674
  /**
9675
- * 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')
9675
+ * <p>集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号(&#39;-&#39;,&#39;_&#39;,&#39;.&#39;)</p>
9676
9676
  */
9677
9677
  ClusterName?: string;
9678
9678
  /**
9679
- * 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效
9679
+ * <p>快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效</p>
9680
9680
  */
9681
9681
  RollbackId?: number;
9682
9682
  /**
9683
- * 时间点回档,指定时间;快照回档,快照时间
9683
+ * <p>时间点回档,指定时间;快照回档,快照时间</p>
9684
9684
  */
9685
9685
  ExpectTime?: string;
9686
9686
  /**
9687
- * 是否自动选择代金券 1是 0否 默认为0
9687
+ * <p>是否自动选择代金券 1是 0否 默认为0</p>
9688
9688
  */
9689
9689
  AutoVoucher?: number;
9690
9690
  /**
9691
- * 集群创建需要绑定的tag数组信息
9691
+ * <p>集群创建需要绑定的tag数组信息</p>
9692
9692
  */
9693
9693
  ResourceTags?: Array<Tag>;
9694
9694
  /**
9695
- * Db类型
9696
- 当DbType为MYSQL时可选(默认NORMAL):
9697
- <li>NORMAL</li>
9698
- <li>SERVERLESS</li>
9695
+ * <p>Db类型<br>当DbType为MYSQL时可选(默认NORMAL):</p><li>NORMAL</li><li>SERVERLESS</li>
9699
9696
  */
9700
9697
  DbMode?: string;
9701
9698
  /**
9702
- * DbMode为SEVERLESS时必填
9703
- cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
9699
+ * <p>当DbMode为SEVERLESS时必填<br>cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回</p>
9704
9700
  */
9705
9701
  MinCpu?: number;
9706
9702
  /**
9707
- * DbMode为SEVERLESS时必填:
9708
- cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
9703
+ * <p>当DbMode为SEVERLESS时必填:<br>cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回</p>
9709
9704
  */
9710
9705
  MaxCpu?: number;
9711
9706
  /**
9712
- * DbMode为SEVERLESS时,指定集群是否自动暂停,可选范围
9713
- <li>yes</li>
9714
- <li>no</li>
9715
- 默认值:yes
9707
+ * <p>当DbMode为SEVERLESS时,指定集群是否自动暂停,可选范围</p><li>yes</li><li>no</li>默认值:yes
9716
9708
  */
9717
9709
  AutoPause?: string;
9718
9710
  /**
9719
- * DbMode为SEVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200]
9720
- 默认值:600
9711
+ * <p>当DbMode为SEVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200]<br>默认值:600</p>
9721
9712
  */
9722
9713
  AutoPauseDelay?: number;
9723
9714
  /**
9724
- * 安全组id数组
9715
+ * <p>安全组id数组</p>
9725
9716
  */
9726
9717
  SecurityGroupIds?: Array<string>;
9727
9718
  /**
9728
- * 告警策略Id数组
9719
+ * <p>告警策略Id数组</p>
9729
9720
  */
9730
9721
  AlarmPolicyIds?: Array<string>;
9731
9722
  /**
9732
- * 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感
9723
+ * <p>参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感</p>
9733
9724
  */
9734
9725
  ClusterParams?: Array<ParamItem>;
9735
9726
  /**
9736
- * 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID
9727
+ * <p>参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID</p>
9737
9728
  */
9738
9729
  ParamTemplateId?: number;
9739
9730
  /**
9740
- * 实例初始化配置信息,主要用于购买集群时选不同规格实例
9731
+ * <p>实例初始化配置信息,主要用于购买集群时选不同规格实例</p>
9741
9732
  */
9742
9733
  InstanceInitInfos?: Array<InstanceInitInfo>;
9743
9734
  /**
9744
- * 0-下单并支付 1-下单
9735
+ * <p>0-下单并支付 1-下单</p>
9745
9736
  */
9746
9737
  DealMode?: number;
9747
9738
  /**
9748
- * 计算节点付费模式:0-按量计费,1-预付费
9739
+ * <p>计算节点付费模式:0-按量计费,1-预付费</p>
9749
9740
  */
9750
9741
  PayMode?: number;
9751
9742
  /**
9752
- * 时间
9743
+ * <p>时间</p>
9753
9744
  */
9754
9745
  TimeSpan?: number;
9755
9746
  /**
9756
- * 单位
9747
+ * <p>单位</p>
9757
9748
  */
9758
9749
  TimeUnit?: string;
9759
9750
  /**
9760
- * 回档库信息
9751
+ * <p>回档库信息</p>
9761
9752
  */
9762
9753
  RollbackDatabases?: Array<RollbackDatabase>;
9763
9754
  /**
9764
- * 回档表信息
9755
+ * <p>回档表信息</p>
9765
9756
  */
9766
9757
  RollbackTables?: Array<RollbackTable>;
9767
9758
  /**
9768
- * ro实例信息
9759
+ * <p>原ro实例信息</p>
9769
9760
  */
9770
9761
  OriginalROInstanceList?: Array<string>;
9771
9762
  /**
9772
- * 项目id
9763
+ * <p>项目id</p>
9773
9764
  */
9774
9765
  ProjectId?: number;
9775
9766
  /**
9776
- * 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
9767
+ * <p>是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes</p>
9777
9768
  */
9778
9769
  AutoArchive?: string;
9779
9770
  /**
9780
- * 是否从保存备份中恢复
9771
+ * <p>是否从保存备份中恢复</p>
9781
9772
  */
9782
9773
  FromSaveBackup?: boolean;
9783
9774
  }
@@ -10258,11 +10249,11 @@ export interface DescribeAuditInstanceListRequest {
10258
10249
  */
10259
10250
  export interface DescribeInstanceSlowQueriesResponse {
10260
10251
  /**
10261
- * 总条数
10252
+ * <p>总条数</p>
10262
10253
  */
10263
10254
  TotalCount?: number;
10264
10255
  /**
10265
- * 慢查询记录
10256
+ * <p>慢查询记录</p>
10266
10257
  */
10267
10258
  SlowQueries?: Array<SlowQueriesItem>;
10268
10259
  /**
@@ -11789,47 +11780,47 @@ export interface DescribeClusterDetailResponse {
11789
11780
  */
11790
11781
  export interface DescribeInstanceSlowQueriesRequest {
11791
11782
  /**
11792
- * 实例ID
11783
+ * <p>实例ID</p>
11793
11784
  */
11794
11785
  InstanceId: string;
11795
11786
  /**
11796
- * 事务开始最早时间
11787
+ * <p>事务开始最早时间</p>
11797
11788
  */
11798
11789
  StartTime?: string;
11799
11790
  /**
11800
- * 事务开始最晚时间
11791
+ * <p>事务开始最晚时间</p>
11801
11792
  */
11802
11793
  EndTime?: string;
11803
11794
  /**
11804
- * 限制条数
11795
+ * <p>限制条数</p><p>建议控制 limit 大小,当 limit 过大时,由于平台返回结果大小限制,可能会造成截断</p>
11805
11796
  */
11806
11797
  Limit?: number;
11807
11798
  /**
11808
- * 偏移量
11799
+ * <p>偏移量</p>
11809
11800
  */
11810
11801
  Offset?: number;
11811
11802
  /**
11812
- * 用户名
11803
+ * <p>用户名</p>
11813
11804
  */
11814
11805
  Username?: string;
11815
11806
  /**
11816
- * 客户端host
11807
+ * <p>客户端host</p>
11817
11808
  */
11818
11809
  Host?: string;
11819
11810
  /**
11820
- * 数据库名
11811
+ * <p>数据库名</p>
11821
11812
  */
11822
11813
  Database?: string;
11823
11814
  /**
11824
- * 排序字段,可选值:QueryTime,LockTime,RowsExamined,RowsSent
11815
+ * <p>排序字段</p><p>枚举值:</p><ul><li>QueryTime: 按照 SQL 语句的总执行时长排序</li><li>LockTime: 按照 SQL 语句在等待锁(如表锁、行锁)上消耗的时间排序</li><li>RowsExamined: 按照 SQL 语句在执行过程中扫描的行数排序</li><li>RowsSent: 按照 SQL 语句最终返回给客户端的结果行数排序</li><li>Timestamp: 按照慢查询语句发生的时间戳排序</li></ul>
11825
11816
  */
11826
11817
  OrderBy?: string;
11827
11818
  /**
11828
- * 排序类型,可选值:asc,desc
11819
+ * <p>排序类型,可选值:asc,desc</p>
11829
11820
  */
11830
11821
  OrderByType?: string;
11831
11822
  /**
11832
- * sql语句
11823
+ * <p>sql语句</p>
11833
11824
  */
11834
11825
  SqlText?: string;
11835
11826
  }
@@ -14077,23 +14068,23 @@ export interface DescribeInstancesWithinSameClusterResponse {
14077
14068
  */
14078
14069
  export interface RollbackToNewClusterResponse {
14079
14070
  /**
14080
- * 冻结流水ID
14071
+ * <p>冻结流水ID</p>
14081
14072
  */
14082
14073
  TranId?: string;
14083
14074
  /**
14084
- * 订单号
14075
+ * <p>订单号</p>
14085
14076
  */
14086
14077
  DealNames?: Array<string>;
14087
14078
  /**
14088
- * 资源ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取资源ID
14079
+ * <p>资源ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取资源ID)</p>
14089
14080
  */
14090
14081
  ResourceIds?: Array<string>;
14091
14082
  /**
14092
- * 集群ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取集群ID
14083
+ * <p>集群ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取集群ID)</p>
14093
14084
  */
14094
14085
  ClusterIds?: Array<string>;
14095
14086
  /**
14096
- * 大订单号
14087
+ * <p>大订单号</p>
14097
14088
  注意:此字段可能返回 null,表示取不到有效值。
14098
14089
  */
14099
14090
  BigDealIds?: Array<string>;