tencentcloud-sdk-nodejs-cynosdb 4.0.594 → 4.0.596

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.
@@ -778,6 +778,64 @@ export interface DescribeFlowResponse {
778
778
  */
779
779
  RequestId?: string;
780
780
  }
781
+ /**
782
+ * SetRenewFlag返回参数结构体
783
+ */
784
+ export interface SetRenewFlagResponse {
785
+ /**
786
+ * 操作成功实例数
787
+ */
788
+ Count: number;
789
+ /**
790
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
791
+ */
792
+ RequestId?: string;
793
+ }
794
+ /**
795
+ * ExportInstanceErrorLogs请求参数结构体
796
+ */
797
+ export interface ExportInstanceErrorLogsRequest {
798
+ /**
799
+ * 实例ID
800
+ */
801
+ InstanceId: string;
802
+ /**
803
+ * 日志最早时间
804
+ */
805
+ StartTime?: string;
806
+ /**
807
+ * 日志最晚时间
808
+ */
809
+ EndTime?: string;
810
+ /**
811
+ * 限制条数
812
+ */
813
+ Limit?: number;
814
+ /**
815
+ * 偏移量
816
+ */
817
+ Offset?: number;
818
+ /**
819
+ * 日志等级
820
+ */
821
+ LogLevels?: Array<string>;
822
+ /**
823
+ * 关键字
824
+ */
825
+ KeyWords?: Array<string>;
826
+ /**
827
+ * 文件类型,可选值:csv, original
828
+ */
829
+ FileType?: string;
830
+ /**
831
+ * 可选值Timestamp
832
+ */
833
+ OrderBy?: string;
834
+ /**
835
+ * ASC或DESC
836
+ */
837
+ OrderByType?: string;
838
+ }
781
839
  /**
782
840
  * RevokeAccountPrivileges返回参数结构体
783
841
  */
@@ -1016,6 +1074,26 @@ export interface AddClusterSlaveZoneRequest {
1016
1074
  */
1017
1075
  SlaveZone: string;
1018
1076
  }
1077
+ /**
1078
+ * 实例错误日志返回类型
1079
+ */
1080
+ export interface CynosdbErrorLogItem {
1081
+ /**
1082
+ * 日志时间戳
1083
+ 注意:此字段可能返回 null,表示取不到有效值。
1084
+ */
1085
+ Timestamp?: number;
1086
+ /**
1087
+ * 日志等级
1088
+ 注意:此字段可能返回 null,表示取不到有效值。
1089
+ */
1090
+ Level?: string;
1091
+ /**
1092
+ * 日志内容
1093
+ 注意:此字段可能返回 null,表示取不到有效值。
1094
+ */
1095
+ Content?: string;
1096
+ }
1019
1097
  /**
1020
1098
  * DescribeAccountAllGrantPrivileges返回参数结构体
1021
1099
  */
@@ -2066,6 +2144,20 @@ export interface DescribeAuditRuleWithInstanceIdsRequest {
2066
2144
  */
2067
2145
  InstanceIds: Array<string>;
2068
2146
  }
2147
+ /**
2148
+ * ExportInstanceErrorLogs返回参数结构体
2149
+ */
2150
+ export interface ExportInstanceErrorLogsResponse {
2151
+ /**
2152
+ * 错误日志导出内容
2153
+ 注意:此字段可能返回 null,表示取不到有效值。
2154
+ */
2155
+ ErrorLogItems?: Array<ErrorLogItemExport>;
2156
+ /**
2157
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2158
+ */
2159
+ RequestId?: string;
2160
+ }
2069
2161
  /**
2070
2162
  * 数据库表
2071
2163
  */
@@ -2721,6 +2813,20 @@ export interface DescribeBackupDownloadUrlRequest {
2721
2813
  */
2722
2814
  BackupId: number;
2723
2815
  }
2816
+ /**
2817
+ * SearchClusterDatabases返回参数结构体
2818
+ */
2819
+ export interface SearchClusterDatabasesResponse {
2820
+ /**
2821
+ * 数据库列表
2822
+ 注意:此字段可能返回 null,表示取不到有效值。
2823
+ */
2824
+ Databases: Array<string>;
2825
+ /**
2826
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2827
+ */
2828
+ RequestId?: string;
2829
+ }
2724
2830
  /**
2725
2831
  * 可回档的时间范围
2726
2832
  */
@@ -3157,6 +3263,15 @@ export interface CreateAuditRuleTemplateRequest {
3157
3263
  */
3158
3264
  Description?: string;
3159
3265
  }
3266
+ /**
3267
+ * GrantAccountPrivileges返回参数结构体
3268
+ */
3269
+ export interface GrantAccountPrivilegesResponse {
3270
+ /**
3271
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3272
+ */
3273
+ RequestId?: string;
3274
+ }
3160
3275
  /**
3161
3276
  * ModifyBackupConfig返回参数结构体
3162
3277
  */
@@ -3773,17 +3888,33 @@ export interface AuditLogFile {
3773
3888
  ErrMsg: string;
3774
3889
  }
3775
3890
  /**
3776
- * SetRenewFlag返回参数结构体
3891
+ * OpenReadOnlyInstanceExclusiveAccess请求参数结构体
3777
3892
  */
3778
- export interface SetRenewFlagResponse {
3893
+ export interface OpenReadOnlyInstanceExclusiveAccessRequest {
3779
3894
  /**
3780
- * 操作成功实例数
3895
+ * 集群ID
3781
3896
  */
3782
- Count: number;
3897
+ ClusterId: string;
3783
3898
  /**
3784
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3899
+ * 需要开通独有访问的只读实例ID
3785
3900
  */
3786
- RequestId?: string;
3901
+ InstanceId: string;
3902
+ /**
3903
+ * 指定的vpc ID
3904
+ */
3905
+ VpcId: string;
3906
+ /**
3907
+ * 指定的子网ID
3908
+ */
3909
+ SubnetId: string;
3910
+ /**
3911
+ * 端口
3912
+ */
3913
+ Port: number;
3914
+ /**
3915
+ * 安全组
3916
+ */
3917
+ SecurityGroupIds?: Array<string>;
3787
3918
  }
3788
3919
  /**
3789
3920
  * 数据库账号信息
@@ -4231,9 +4362,19 @@ export interface ModifyClusterSlaveZoneRequest {
4231
4362
  NewSlaveZone: string;
4232
4363
  }
4233
4364
  /**
4234
- * GrantAccountPrivileges返回参数结构体
4365
+ * DescribeInstanceErrorLogs返回参数结构体
4235
4366
  */
4236
- export interface GrantAccountPrivilegesResponse {
4367
+ export interface DescribeInstanceErrorLogsResponse {
4368
+ /**
4369
+ * 日志条数
4370
+ 注意:此字段可能返回 null,表示取不到有效值。
4371
+ */
4372
+ TotalCount?: number;
4373
+ /**
4374
+ * 错误日志列表
4375
+ 注意:此字段可能返回 null,表示取不到有效值。
4376
+ */
4377
+ ErrorLogs?: Array<CynosdbErrorLogItem>;
4237
4378
  /**
4238
4379
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4239
4380
  */
@@ -4731,18 +4872,45 @@ export interface ResetAccountPasswordRequest {
4731
4872
  Host?: string;
4732
4873
  }
4733
4874
  /**
4734
- * SearchClusterDatabases返回参数结构体
4875
+ * DescribeInstanceErrorLogs请求参数结构体
4735
4876
  */
4736
- export interface SearchClusterDatabasesResponse {
4877
+ export interface DescribeInstanceErrorLogsRequest {
4737
4878
  /**
4738
- * 数据库列表
4739
- 注意:此字段可能返回 null,表示取不到有效值。
4740
- */
4741
- Databases: Array<string>;
4879
+ * 实例Id
4880
+ */
4881
+ InstanceId: string;
4742
4882
  /**
4743
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4883
+ * 日志条数限制
4744
4884
  */
4745
- RequestId?: string;
4885
+ Limit?: number;
4886
+ /**
4887
+ * 日志条数偏移量
4888
+ */
4889
+ Offset?: number;
4890
+ /**
4891
+ * 开始时间
4892
+ */
4893
+ StartTime?: string;
4894
+ /**
4895
+ * 结束时间
4896
+ */
4897
+ EndTime?: string;
4898
+ /**
4899
+ * 排序字段,有Timestamp枚举值
4900
+ */
4901
+ OrderBy?: string;
4902
+ /**
4903
+ * 排序类型,有ASC,DESC枚举值
4904
+ */
4905
+ OrderByType?: string;
4906
+ /**
4907
+ * 日志等级,有error、warning、note三种,支持多个等级同时搜索
4908
+ */
4909
+ LogLevels?: Array<string>;
4910
+ /**
4911
+ * 关键字,支持模糊搜索
4912
+ */
4913
+ KeyWords?: Array<string>;
4746
4914
  }
4747
4915
  /**
4748
4916
  * DescribeInstanceDetail请求参数结构体
@@ -4762,6 +4930,19 @@ export interface ModifyMaintainPeriodConfigResponse {
4762
4930
  */
4763
4931
  RequestId?: string;
4764
4932
  }
4933
+ /**
4934
+ * OpenReadOnlyInstanceExclusiveAccess返回参数结构体
4935
+ */
4936
+ export interface OpenReadOnlyInstanceExclusiveAccessResponse {
4937
+ /**
4938
+ * 开通流程ID
4939
+ */
4940
+ FlowId?: number;
4941
+ /**
4942
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4943
+ */
4944
+ RequestId?: string;
4945
+ }
4765
4946
  /**
4766
4947
  * DisassociateSecurityGroups请求参数结构体
4767
4948
  */
@@ -5017,6 +5198,26 @@ export interface DescribeDBSecurityGroupsRequest {
5017
5198
  */
5018
5199
  InstanceId: string;
5019
5200
  }
5201
+ /**
5202
+ * 错误日志导出格式
5203
+ */
5204
+ export interface ErrorLogItemExport {
5205
+ /**
5206
+ * 时间
5207
+ 注意:此字段可能返回 null,表示取不到有效值。
5208
+ */
5209
+ Timestamp?: string;
5210
+ /**
5211
+ * 日志等级,可选值note, warning,error
5212
+ 注意:此字段可能返回 null,表示取不到有效值。
5213
+ */
5214
+ Level?: string;
5215
+ /**
5216
+ * 日志内容
5217
+ 注意:此字段可能返回 null,表示取不到有效值。
5218
+ */
5219
+ Content?: string;
5220
+ }
5020
5221
  /**
5021
5222
  * DescribeAccountAllGrantPrivileges请求参数结构体
5022
5223
  */