tencentcloud-sdk-nodejs-dbbrain 4.0.575 → 4.0.577

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.
@@ -135,6 +135,59 @@ export interface TableSpaceTimeSeries {
135
135
  */
136
136
  SeriesData: MonitorFloatMetricSeriesData;
137
137
  }
138
+ /**
139
+ * DescribeSlowLogs请求参数结构体
140
+ */
141
+ export interface DescribeSlowLogsRequest {
142
+ /**
143
+ * 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
144
+ */
145
+ Product: string;
146
+ /**
147
+ * 实例id。
148
+ */
149
+ InstanceId: string;
150
+ /**
151
+ * sql模版的md5值
152
+ */
153
+ Md5: string;
154
+ /**
155
+ * 开始时间,如“2019-09-10 12:13:14”。
156
+ */
157
+ StartTime: string;
158
+ /**
159
+ * 截止时间,如“2019-09-11 10:13:14”,截止时间与开始时间的间隔小于7天。
160
+ */
161
+ EndTime: string;
162
+ /**
163
+ * 分页参数
164
+ */
165
+ Offset: number;
166
+ /**
167
+ * 分页参数
168
+ */
169
+ Limit: number;
170
+ /**
171
+ * 数据库列表
172
+ */
173
+ DB?: Array<string>;
174
+ /**
175
+ * 关键字
176
+ */
177
+ Key?: Array<string>;
178
+ /**
179
+ * 用户
180
+ */
181
+ User?: Array<string>;
182
+ /**
183
+ * ip
184
+ */
185
+ Ip?: Array<string>;
186
+ /**
187
+ * 耗时区间,耗时区间的左右边界分别对应数组的第0个元素和第一个元素
188
+ */
189
+ Time?: Array<number>;
190
+ }
138
191
  /**
139
192
  * DescribeTopSpaceTables请求参数结构体
140
193
  */
@@ -803,6 +856,24 @@ export interface TimeSlice {
803
856
  */
804
857
  Timestamp: number;
805
858
  }
859
+ /**
860
+ * DeleteDBDiagReportTasks请求参数结构体
861
+ */
862
+ export interface DeleteDBDiagReportTasksRequest {
863
+ /**
864
+ * 需要删除的任务id列表
865
+ */
866
+ AsyncRequestIds: Array<number>;
867
+ /**
868
+ * 实例ID
869
+ */
870
+ InstanceId: string;
871
+ /**
872
+ * 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL, "mongodb" - 云数据库 CynosDB for MySQL,
873
+ 默认值为"mysql"。
874
+ */
875
+ Product: string;
876
+ }
806
877
  /**
807
878
  * ModifyDiagDBInstanceConf请求参数结构体
808
879
  */
@@ -824,6 +895,23 @@ export interface ModifyDiagDBInstanceConfRequest {
824
895
  */
825
896
  InstanceIds?: Array<string>;
826
897
  }
898
+ /**
899
+ * DescribeSlowLogs返回参数结构体
900
+ */
901
+ export interface DescribeSlowLogsResponse {
902
+ /**
903
+ * 符合条件的记录总数。
904
+ */
905
+ TotalCount?: number;
906
+ /**
907
+ * 慢日志明细
908
+ */
909
+ Rows?: Array<SlowLogInfoItem>;
910
+ /**
911
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
912
+ */
913
+ RequestId?: string;
914
+ }
827
915
  /**
828
916
  * DescribeSecurityAuditLogDownloadUrls请求参数结构体
829
917
  */
@@ -1082,6 +1170,19 @@ export interface CreateKillTaskRequest {
1082
1170
  */
1083
1171
  Product?: string;
1084
1172
  }
1173
+ /**
1174
+ * DeleteDBDiagReportTasks返回参数结构体
1175
+ */
1176
+ export interface DeleteDBDiagReportTasksResponse {
1177
+ /**
1178
+ * 任务删除状态, 0-删除成功
1179
+ */
1180
+ Status?: number;
1181
+ /**
1182
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1183
+ */
1184
+ RequestId?: string;
1185
+ }
1085
1186
  /**
1086
1187
  * DescribeProxyProcessStatistics返回参数结构体
1087
1188
  */
@@ -2683,6 +2784,52 @@ export interface MonitorMetricSeriesData {
2683
2784
  */
2684
2785
  Timestamp: Array<number>;
2685
2786
  }
2787
+ /**
2788
+ * 慢日志详细信息
2789
+ */
2790
+ export interface SlowLogInfoItem {
2791
+ /**
2792
+ * 慢日志开始时间
2793
+ */
2794
+ Timestamp?: string;
2795
+ /**
2796
+ * sql语句
2797
+ */
2798
+ SqlText?: string;
2799
+ /**
2800
+ * 数据库
2801
+ */
2802
+ Database?: string;
2803
+ /**
2804
+ * User来源
2805
+ 注意:此字段可能返回 null,表示取不到有效值。
2806
+ */
2807
+ UserName?: string;
2808
+ /**
2809
+ * IP来源
2810
+ 注意:此字段可能返回 null,表示取不到有效值。
2811
+ */
2812
+ UserHost?: string;
2813
+ /**
2814
+ * 执行时间,单位秒
2815
+ */
2816
+ QueryTime?: number;
2817
+ /**
2818
+ * 锁时间,单位秒
2819
+ 注意:此字段可能返回 null,表示取不到有效值。
2820
+ */
2821
+ LockTime?: number;
2822
+ /**
2823
+ * 扫描行数
2824
+ 注意:此字段可能返回 null,表示取不到有效值。
2825
+ */
2826
+ RowsExamined?: number;
2827
+ /**
2828
+ * 返回行数
2829
+ 注意:此字段可能返回 null,表示取不到有效值。
2830
+ */
2831
+ RowsSent?: number;
2832
+ }
2686
2833
  /**
2687
2834
  * 安全审计日志导出任务信息
2688
2835
  */
@@ -2797,11 +2944,11 @@ export interface DescribeSlowLogTopSqlsResponse {
2797
2944
  /**
2798
2945
  * 符合条件的记录总数。
2799
2946
  */
2800
- TotalCount: number;
2947
+ TotalCount?: number;
2801
2948
  /**
2802
2949
  * 慢日志 top sql 列表
2803
2950
  */
2804
- Rows: Array<SlowLogTopSqlItem>;
2951
+ Rows?: Array<SlowLogTopSqlItem>;
2805
2952
  /**
2806
2953
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2807
2954
  */