tencentcloud-sdk-nodejs-cynosdb 4.0.906 → 4.0.922

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.
@@ -651,6 +651,20 @@ export interface CreateParamTemplateRequest {
651
651
  */
652
652
  ParamList?: Array<ParamItem>;
653
653
  }
654
+ /**
655
+ * SearchClusterTables返回参数结构体
656
+ */
657
+ export interface SearchClusterTablesResponse {
658
+ /**
659
+ * 数据表列表
660
+ 注意:此字段可能返回 null,表示取不到有效值。
661
+ */
662
+ Tables?: Array<DatabaseTables>;
663
+ /**
664
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
665
+ */
666
+ RequestId?: string;
667
+ }
654
668
  /**
655
669
  * DescribeClusterDetail请求参数结构体
656
670
  */
@@ -1770,18 +1784,25 @@ export interface DescribeZonesResponse {
1770
1784
  RequestId?: string;
1771
1785
  }
1772
1786
  /**
1773
- * SearchClusterTables返回参数结构体
1787
+ * GrantAccountPrivileges请求参数结构体
1774
1788
  */
1775
- export interface SearchClusterTablesResponse {
1789
+ export interface GrantAccountPrivilegesRequest {
1776
1790
  /**
1777
- * 数据表列表
1778
- 注意:此字段可能返回 null,表示取不到有效值。
1791
+ * 集群id
1779
1792
  */
1780
- Tables?: Array<DatabaseTables>;
1793
+ ClusterId: string;
1781
1794
  /**
1782
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1795
+ * 账号信息
1783
1796
  */
1784
- RequestId?: string;
1797
+ Account: InputAccount;
1798
+ /**
1799
+ * 数据库表权限码数组
1800
+ */
1801
+ DbTablePrivileges: Array<string>;
1802
+ /**
1803
+ * 数据库表信息
1804
+ */
1805
+ DbTables: Array<DbTable>;
1785
1806
  }
1786
1807
  /**
1787
1808
  * ModifyParamTemplate请求参数结构体
@@ -3452,6 +3473,19 @@ export interface CreateResourcePackageResponse {
3452
3473
  */
3453
3474
  RequestId?: string;
3454
3475
  }
3476
+ /**
3477
+ * ModifyBinlogConfig请求参数结构体
3478
+ */
3479
+ export interface ModifyBinlogConfigRequest {
3480
+ /**
3481
+ * 集群ID
3482
+ */
3483
+ ClusterId: string;
3484
+ /**
3485
+ * Binlog配置信息
3486
+ */
3487
+ BinlogConfig: BinlogConfigInfo;
3488
+ }
3455
3489
  /**
3456
3490
  * SetRenewFlag返回参数结构体
3457
3491
  */
@@ -4873,45 +4907,43 @@ export interface BizTaskModifyParamsData {
4873
4907
  ModifyInstanceParams?: Array<BizTaskModifyInstanceParam>;
4874
4908
  }
4875
4909
  /**
4876
- * 实例初始化配置信息
4910
+ * RollBackCluster请求参数结构体
4877
4911
  */
4878
- export interface InstanceInitInfo {
4879
- /**
4880
- * 实例cpu
4881
- */
4882
- Cpu: number;
4912
+ export interface RollBackClusterRequest {
4883
4913
  /**
4884
- * 实例内存
4914
+ * 集群ID
4885
4915
  */
4886
- Memory: number;
4916
+ ClusterId: string;
4887
4917
  /**
4888
- * 实例类型 rw/ro
4918
+ * 回档策略 timeRollback-按时间点回档 snapRollback-按备份文件回档
4889
4919
  */
4890
- InstanceType: string;
4920
+ RollbackStrategy: string;
4891
4921
  /**
4892
- * 实例个数,范围[1,15]
4922
+ * 备份文件ID。
4923
+ 回档策略为按备份文件回档时必填。
4893
4924
  */
4894
- InstanceCount: number;
4925
+ RollbackId: number;
4895
4926
  /**
4896
- * Serverless实例个数最小值,范围[1,15]
4927
+ * 期望回档时间。
4928
+ 回档策略为timeRollback按时间点回档时必填。
4897
4929
  */
4898
- MinRoCount?: number;
4930
+ ExpectTime?: string;
4899
4931
  /**
4900
- * Serverless实例个数最大值,范围[1,15]
4932
+ * 期望阈值(已废弃)
4901
4933
  */
4902
- MaxRoCount?: number;
4934
+ ExpectTimeThresh?: number;
4903
4935
  /**
4904
- * Serverless实例最小规格
4936
+ * 回档数据库列表
4905
4937
  */
4906
- MinRoCpu?: number;
4938
+ RollbackDatabases?: Array<RollbackDatabase>;
4907
4939
  /**
4908
- * Serverless实例最大规格
4940
+ * 回档数据库表列表
4909
4941
  */
4910
- MaxRoCpu?: number;
4942
+ RollbackTables?: Array<RollbackTable>;
4911
4943
  /**
4912
- * 实例机器类型
4944
+ * 按时间点回档模式,full: 普通; db: 快速; table: 极速 (默认是普通)
4913
4945
  */
4914
- DeviceType?: string;
4946
+ RollbackMode?: string;
4915
4947
  }
4916
4948
  /**
4917
4949
  * 系统支持的模块
@@ -6011,43 +6043,45 @@ export interface Ability {
6011
6043
  NoSupportTransparentDataEncryptionReason?: string;
6012
6044
  }
6013
6045
  /**
6014
- * RollBackCluster请求参数结构体
6046
+ * 实例初始化配置信息
6015
6047
  */
6016
- export interface RollBackClusterRequest {
6048
+ export interface InstanceInitInfo {
6017
6049
  /**
6018
- * 集群ID
6050
+ * 实例cpu
6019
6051
  */
6020
- ClusterId: string;
6052
+ Cpu: number;
6021
6053
  /**
6022
- * 回档策略 timeRollback-按时间点回档 snapRollback-按备份文件回档
6054
+ * 实例内存
6023
6055
  */
6024
- RollbackStrategy: string;
6056
+ Memory: number;
6025
6057
  /**
6026
- * 备份文件ID。
6027
- 回档策略为按备份文件回档时必填。
6058
+ * 实例类型 rw/ro
6028
6059
  */
6029
- RollbackId: number;
6060
+ InstanceType: string;
6030
6061
  /**
6031
- * 期望回档时间。
6032
- 回档策略为timeRollback按时间点回档时必填。
6062
+ * 实例个数,范围[1,15]
6033
6063
  */
6034
- ExpectTime?: string;
6064
+ InstanceCount: number;
6035
6065
  /**
6036
- * 期望阈值(已废弃)
6066
+ * Serverless实例个数最小值,范围[1,15]
6037
6067
  */
6038
- ExpectTimeThresh?: number;
6068
+ MinRoCount?: number;
6039
6069
  /**
6040
- * 回档数据库列表
6070
+ * Serverless实例个数最大值,范围[1,15]
6041
6071
  */
6042
- RollbackDatabases?: Array<RollbackDatabase>;
6072
+ MaxRoCount?: number;
6043
6073
  /**
6044
- * 回档数据库表列表
6074
+ * Serverless实例最小规格
6045
6075
  */
6046
- RollbackTables?: Array<RollbackTable>;
6076
+ MinRoCpu?: number;
6047
6077
  /**
6048
- * 按时间点回档模式,full: 普通; db: 快速; table: 极速 (默认是普通)
6078
+ * Serverless实例最大规格
6049
6079
  */
6050
- RollbackMode?: string;
6080
+ MaxRoCpu?: number;
6081
+ /**
6082
+ * 实例机器类型
6083
+ */
6084
+ DeviceType?: string;
6051
6085
  }
6052
6086
  /**
6053
6087
  * ModifyResourcePackagesDeductionPriority请求参数结构体
@@ -6742,6 +6776,15 @@ export interface TradePrice {
6742
6776
  */
6743
6777
  ChargeUnit: string;
6744
6778
  }
6779
+ /**
6780
+ * DescribeBinlogConfig请求参数结构体
6781
+ */
6782
+ export interface DescribeBinlogConfigRequest {
6783
+ /**
6784
+ * 集群ID
6785
+ */
6786
+ ClusterId: string;
6787
+ }
6745
6788
  /**
6746
6789
  * CreateAuditRuleTemplate请求参数结构体
6747
6790
  */
@@ -7624,6 +7667,26 @@ export interface PackageDetail {
7624
7667
  */
7625
7668
  ExtendInfo?: string;
7626
7669
  }
7670
+ /**
7671
+ * binlog配置信息
7672
+ */
7673
+ export interface BinlogConfigInfo {
7674
+ /**
7675
+ * binlog保留时间
7676
+ 注意:此字段可能返回 null,表示取不到有效值。
7677
+ */
7678
+ BinlogSaveDays: number;
7679
+ /**
7680
+ * binlog异地地域备份是否开启
7681
+ 注意:此字段可能返回 null,表示取不到有效值。
7682
+ */
7683
+ BinlogCrossRegionsEnable: string;
7684
+ /**
7685
+ * binlog异地地域
7686
+ 注意:此字段可能返回 null,表示取不到有效值。
7687
+ */
7688
+ BinlogCrossRegions?: Array<string>;
7689
+ }
7627
7690
  /**
7628
7691
  * DescribeAccountPrivileges请求参数结构体
7629
7692
  */
@@ -8171,6 +8234,98 @@ export interface PackagePriority {
8171
8234
  */
8172
8235
  DeductionPriority?: number;
8173
8236
  }
8237
+ /**
8238
+ * 实例组信息
8239
+ */
8240
+ export interface CynosdbInstanceGroup {
8241
+ /**
8242
+ * 用户appId
8243
+ */
8244
+ AppId?: number;
8245
+ /**
8246
+ * 集群ID
8247
+ */
8248
+ ClusterId?: string;
8249
+ /**
8250
+ * 创建时间
8251
+ */
8252
+ CreatedTime?: string;
8253
+ /**
8254
+ * 删除时间
8255
+ */
8256
+ DeletedTime?: string;
8257
+ /**
8258
+ * 实例组ID
8259
+ */
8260
+ InstanceGroupId?: string;
8261
+ /**
8262
+ * 状态
8263
+ */
8264
+ Status?: string;
8265
+ /**
8266
+ * 实例组类型。ha-ha组;ro-只读组
8267
+ */
8268
+ Type?: string;
8269
+ /**
8270
+ * 更新时间
8271
+ */
8272
+ UpdatedTime?: string;
8273
+ /**
8274
+ * 内网IP
8275
+ */
8276
+ Vip?: string;
8277
+ /**
8278
+ * 内网端口
8279
+ */
8280
+ Vport?: number;
8281
+ /**
8282
+ * 外网域名
8283
+ */
8284
+ WanDomain?: string;
8285
+ /**
8286
+ * 外网ip
8287
+ */
8288
+ WanIP?: string;
8289
+ /**
8290
+ * 外网端口
8291
+ */
8292
+ WanPort?: number;
8293
+ /**
8294
+ * 外网状态
8295
+ */
8296
+ WanStatus?: string;
8297
+ /**
8298
+ * 实例组包含实例信息
8299
+ */
8300
+ InstanceSet?: Array<CynosdbInstance>;
8301
+ /**
8302
+ * VPC的ID
8303
+ 注意:此字段可能返回 null,表示取不到有效值。
8304
+ */
8305
+ UniqVpcId?: string;
8306
+ /**
8307
+ * 子网ID
8308
+ 注意:此字段可能返回 null,表示取不到有效值。
8309
+ */
8310
+ UniqSubnetId?: string;
8311
+ /**
8312
+ * 正在回收IP信息
8313
+ 注意:此字段可能返回 null,表示取不到有效值。
8314
+ */
8315
+ OldAddrInfo?: OldAddrInfo;
8316
+ /**
8317
+ * 正在进行的任务
8318
+ */
8319
+ ProcessingTasks?: Array<string>;
8320
+ /**
8321
+ * 任务列表
8322
+ */
8323
+ Tasks?: Array<ObjectTask>;
8324
+ /**
8325
+ * biz_net_service表id
8326
+ */
8327
+ NetServiceId?: number;
8328
+ }
8174
8329
  /**
8175
8330
  * ModifyAccountDescription返回参数结构体
8176
8331
  */
@@ -8767,25 +8922,17 @@ export interface ParamItemDetail {
8767
8922
  FuncPattern?: string;
8768
8923
  }
8769
8924
  /**
8770
- * GrantAccountPrivileges请求参数结构体
8925
+ * DescribeBinlogSaveDays返回参数结构体
8771
8926
  */
8772
- export interface GrantAccountPrivilegesRequest {
8773
- /**
8774
- * 集群id
8775
- */
8776
- ClusterId: string;
8777
- /**
8778
- * 账号信息
8779
- */
8780
- Account: InputAccount;
8927
+ export interface DescribeBinlogSaveDaysResponse {
8781
8928
  /**
8782
- * 数据库表权限码数组
8929
+ * Binlog保留天数
8783
8930
  */
8784
- DbTablePrivileges: Array<string>;
8931
+ BinlogSaveDays: number;
8785
8932
  /**
8786
- * 数据库表信息
8933
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8787
8934
  */
8788
- DbTables: Array<DbTable>;
8935
+ RequestId?: string;
8789
8936
  }
8790
8937
  /**
8791
8938
  * IsolateCluster返回参数结构体
@@ -9273,19 +9420,6 @@ export interface ResourcePackage {
9273
9420
  */
9274
9421
  DeductionPriority?: number;
9275
9422
  }
9276
- /**
9277
- * DescribeBinlogSaveDays返回参数结构体
9278
- */
9279
- export interface DescribeBinlogSaveDaysResponse {
9280
- /**
9281
- * Binlog保留天数
9282
- */
9283
- BinlogSaveDays: number;
9284
- /**
9285
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9286
- */
9287
- RequestId?: string;
9288
- }
9289
9423
  /**
9290
9424
  * 计费资源信息
9291
9425
  */
@@ -9581,6 +9715,25 @@ export interface IsolateInstanceRequest {
9581
9715
  */
9582
9716
  IsolateReason?: string;
9583
9717
  }
9718
+ /**
9719
+ * DescribeBinlogConfig返回参数结构体
9720
+ */
9721
+ export interface DescribeBinlogConfigResponse {
9722
+ /**
9723
+ * Binlog跨地域配置更新时间
9724
+ 注意:此字段可能返回 null,表示取不到有效值。
9725
+ */
9726
+ BinlogCrossRegionsConfigUpdateTime?: string;
9727
+ /**
9728
+ * Binlog配置信息
9729
+ 注意:此字段可能返回 null,表示取不到有效值。
9730
+ */
9731
+ BinlogConfig?: BinlogConfigInfo;
9732
+ /**
9733
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9734
+ */
9735
+ RequestId?: string;
9736
+ }
9584
9737
  /**
9585
9738
  * DescribeAuditLogFiles请求参数结构体
9586
9739
  */
@@ -9691,96 +9844,13 @@ export interface ClusterParamModifyLog {
9691
9844
  InstanceId: string;
9692
9845
  }
9693
9846
  /**
9694
- * 实例组信息
9847
+ * ModifyBinlogConfig返回参数结构体
9695
9848
  */
9696
- export interface CynosdbInstanceGroup {
9697
- /**
9698
- * 用户appId
9699
- */
9700
- AppId?: number;
9701
- /**
9702
- * 集群ID
9703
- */
9704
- ClusterId?: string;
9705
- /**
9706
- * 创建时间
9707
- */
9708
- CreatedTime?: string;
9849
+ export interface ModifyBinlogConfigResponse {
9709
9850
  /**
9710
- * 删除时间
9711
- */
9712
- DeletedTime?: string;
9713
- /**
9714
- * 实例组ID
9715
- */
9716
- InstanceGroupId?: string;
9717
- /**
9718
- * 状态
9719
- */
9720
- Status?: string;
9721
- /**
9722
- * 实例组类型。ha-ha组;ro-只读组
9723
- */
9724
- Type?: string;
9725
- /**
9726
- * 更新时间
9727
- */
9728
- UpdatedTime?: string;
9729
- /**
9730
- * 内网IP
9731
- */
9732
- Vip?: string;
9733
- /**
9734
- * 内网端口
9735
- */
9736
- Vport?: number;
9737
- /**
9738
- * 外网域名
9739
- */
9740
- WanDomain?: string;
9741
- /**
9742
- * 外网ip
9743
- */
9744
- WanIP?: string;
9745
- /**
9746
- * 外网端口
9747
- */
9748
- WanPort?: number;
9749
- /**
9750
- * 外网状态
9751
- */
9752
- WanStatus?: string;
9753
- /**
9754
- * 实例组包含实例信息
9755
- */
9756
- InstanceSet?: Array<CynosdbInstance>;
9757
- /**
9758
- * VPC的ID
9759
- 注意:此字段可能返回 null,表示取不到有效值。
9760
- */
9761
- UniqVpcId?: string;
9762
- /**
9763
- * 子网ID
9764
- 注意:此字段可能返回 null,表示取不到有效值。
9765
- */
9766
- UniqSubnetId?: string;
9767
- /**
9768
- * 正在回收IP信息
9769
- 注意:此字段可能返回 null,表示取不到有效值。
9770
- */
9771
- OldAddrInfo?: OldAddrInfo;
9772
- /**
9773
- * 正在进行的任务
9774
- */
9775
- ProcessingTasks?: Array<string>;
9776
- /**
9777
- * 任务列表
9778
- */
9779
- Tasks?: Array<ObjectTask>;
9780
- /**
9781
- * biz_net_service表id
9851
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9782
9852
  */
9783
- NetServiceId?: number;
9853
+ RequestId?: string;
9784
9854
  }
9785
9855
  /**
9786
9856
  * ResetAccountPassword请求参数结构体