tencentcloud-sdk-nodejs-dbbrain 4.0.679 → 4.0.680
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/CHANGELOG.md +331 -0
- package/SERVICE_CHANGELOG.md +623 -76
- package/package.json +1 -1
- package/products.md +17 -17
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +24 -0
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +60 -4
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +56 -4
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-08-17 01:37:50 |
|
|
46
46
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-08-21 01:07:44 |
|
|
47
47
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-08-17 01:43:06 |
|
|
48
|
-
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-
|
|
48
|
+
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-09-01 01:09:03 |
|
|
49
49
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-08-23 01:12:18 |
|
|
50
|
-
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-
|
|
50
|
+
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-09-01 01:09:12 |
|
|
51
51
|
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-08-31 01:09:25 |
|
|
52
52
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-08-17 01:47:49 |
|
|
53
53
|
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2023-07-06 01:13:25 |
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
| cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2023-08-24 01:10:10 |
|
|
66
66
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-08-17 02:03:56 |
|
|
67
67
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
68
|
-
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-
|
|
68
|
+
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-09-01 01:11:09 |
|
|
69
69
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
|
|
70
70
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-08-31 01:12:23 |
|
|
71
71
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-08-31 01:12:44 |
|
|
@@ -74,28 +74,28 @@
|
|
|
74
74
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-08-17 02:45:26 |
|
|
75
75
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
76
76
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
|
77
|
-
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2023-
|
|
77
|
+
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2023-09-01 01:12:36 |
|
|
78
78
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-08-22 01:11:33 |
|
|
79
79
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-08-17 02:50:46 |
|
|
80
80
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-08-29 01:12:46 |
|
|
81
|
-
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-
|
|
81
|
+
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-09-01 01:13:07 |
|
|
82
82
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-08-30 01:13:12 |
|
|
83
83
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-08-17 02:58:55 |
|
|
84
84
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-08-17 02:59:36 |
|
|
85
85
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-08-17 02:59:40 |
|
|
86
86
|
| dsgc | [数据安全中心](https://cloud.tencent.com/document/product/1087) | 2023-08-31 01:14:45 |
|
|
87
87
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
88
|
-
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2023-
|
|
88
|
+
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2023-09-01 01:13:57 |
|
|
89
89
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2023-08-22 01:12:28 |
|
|
90
90
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2023-08-17 03:03:01 |
|
|
91
91
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2023-08-17 03:03:04 |
|
|
92
|
-
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-
|
|
92
|
+
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-09-01 01:14:14 |
|
|
93
93
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-05-18 01:25:40 |
|
|
94
94
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
95
95
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-08-17 03:08:06 |
|
|
96
96
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-08-29 01:14:45 |
|
|
97
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-
|
|
98
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-
|
|
97
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-09-01 01:14:51 |
|
|
98
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-09-01 01:15:02 |
|
|
99
99
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-07-27 01:13:31 |
|
|
100
100
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-08-31 01:16:46 |
|
|
101
101
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
| ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2023-08-17 03:20:18 |
|
|
116
116
|
| iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2023-05-18 01:30:55 |
|
|
117
117
|
| iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2022-04-04 06:48:05 |
|
|
118
|
-
| ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2023-
|
|
118
|
+
| ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2023-09-01 01:16:08 |
|
|
119
119
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
|
|
120
120
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2023-08-09 01:29:39 |
|
|
121
121
|
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2023-08-22 01:14:25 |
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-08-30 01:19:09 |
|
|
142
142
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-08-25 01:55:53 |
|
|
143
143
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-08-17 04:10:02 |
|
|
144
|
-
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-
|
|
144
|
+
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-09-01 01:18:55 |
|
|
145
145
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-05-18 01:42:01 |
|
|
146
146
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-08-30 01:19:55 |
|
|
147
147
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2023-08-17 04:18:22 |
|
|
@@ -206,9 +206,9 @@
|
|
|
206
206
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
207
207
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2023-08-17 05:26:12 |
|
|
208
208
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
|
|
209
|
-
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-
|
|
210
|
-
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-
|
|
211
|
-
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-
|
|
209
|
+
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-09-01 01:23:47 |
|
|
210
|
+
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-09-01 01:23:56 |
|
|
211
|
+
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-09-01 01:24:40 |
|
|
212
212
|
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-08-17 05:31:16 |
|
|
213
213
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
214
214
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-05-18 02:01:07 |
|
|
@@ -219,15 +219,15 @@
|
|
|
219
219
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-08-15 01:44:16 |
|
|
220
220
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
|
|
221
221
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-08-31 01:26:49 |
|
|
222
|
-
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-
|
|
222
|
+
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-09-01 01:25:13 |
|
|
223
223
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-08-31 01:27:03 |
|
|
224
224
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
|
|
225
225
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-08-22 01:22:20 |
|
|
226
226
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-08-17 05:50:27 |
|
|
227
227
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-05-18 02:04:19 |
|
|
228
228
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-08-17 05:50:56 |
|
|
229
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-
|
|
230
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-
|
|
229
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-09-01 01:25:57 |
|
|
230
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-09-01 01:26:26 |
|
|
231
231
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-07-18 01:58:58 |
|
|
232
232
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-08-31 10:55:43 |
|
|
233
233
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-07-18 01:59:28 |
|
|
@@ -48,6 +48,7 @@ import {
|
|
|
48
48
|
DescribeProxySessionKillTasksRequest,
|
|
49
49
|
CreateRedisBigKeyAnalysisTaskRequest,
|
|
50
50
|
DescribeMySqlProcessListResponse,
|
|
51
|
+
UpdateMonitorSwitchRequest,
|
|
51
52
|
SessionItem,
|
|
52
53
|
HealthStatus,
|
|
53
54
|
DescribeTopSpaceTablesResponse,
|
|
@@ -62,6 +63,7 @@ import {
|
|
|
62
63
|
DeleteDBDiagReportTasksRequest,
|
|
63
64
|
ModifyDiagDBInstanceConfRequest,
|
|
64
65
|
DescribeSlowLogsResponse,
|
|
66
|
+
UpdateAgentSwitchRequest,
|
|
65
67
|
DescribeSecurityAuditLogDownloadUrlsRequest,
|
|
66
68
|
CreateDBDiagReportTaskResponse,
|
|
67
69
|
ProcessStatistic,
|
|
@@ -84,6 +86,7 @@ import {
|
|
|
84
86
|
CreateMailProfileRequest,
|
|
85
87
|
MonitorFloatMetricSeriesData,
|
|
86
88
|
MailConfiguration,
|
|
89
|
+
UpdateAgentSwitchResponse,
|
|
87
90
|
VerifyUserAccountRequest,
|
|
88
91
|
DescribeSlowLogUserHostStatsResponse,
|
|
89
92
|
TableSpaceData,
|
|
@@ -144,6 +147,7 @@ import {
|
|
|
144
147
|
MonitorFloatMetric,
|
|
145
148
|
DescribeRedisTopKeyPrefixListResponse,
|
|
146
149
|
DescribeAllUserGroupResponse,
|
|
150
|
+
UpdateMonitorSwitchResponse,
|
|
147
151
|
CreateAuditLogFileRequest,
|
|
148
152
|
DeleteAuditLogFileRequest,
|
|
149
153
|
ModifyDiagDBInstanceConfResponse,
|
|
@@ -270,6 +274,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
270
274
|
return this.request("DescribeDBDiagReportTasks", req, cb)
|
|
271
275
|
}
|
|
272
276
|
|
|
277
|
+
/**
|
|
278
|
+
* 更新Agent实例状态(停止或重连实例)
|
|
279
|
+
*/
|
|
280
|
+
async UpdateMonitorSwitch(
|
|
281
|
+
req: UpdateMonitorSwitchRequest,
|
|
282
|
+
cb?: (error: string, rep: UpdateMonitorSwitchResponse) => void
|
|
283
|
+
): Promise<UpdateMonitorSwitchResponse> {
|
|
284
|
+
return this.request("UpdateMonitorSwitch", req, cb)
|
|
285
|
+
}
|
|
286
|
+
|
|
273
287
|
/**
|
|
274
288
|
* 修改实例巡检开关。
|
|
275
289
|
*/
|
|
@@ -630,6 +644,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
630
644
|
return this.request("CreateKillTask", req, cb)
|
|
631
645
|
}
|
|
632
646
|
|
|
647
|
+
/**
|
|
648
|
+
* 更新agent状态(停止或重连Agent)
|
|
649
|
+
*/
|
|
650
|
+
async UpdateAgentSwitch(
|
|
651
|
+
req: UpdateAgentSwitchRequest,
|
|
652
|
+
cb?: (error: string, rep: UpdateAgentSwitchResponse) => void
|
|
653
|
+
): Promise<UpdateAgentSwitchResponse> {
|
|
654
|
+
return this.request("UpdateAgentSwitch", req, cb)
|
|
655
|
+
}
|
|
656
|
+
|
|
633
657
|
/**
|
|
634
658
|
* 查询实例无主键表。
|
|
635
659
|
*/
|
|
@@ -860,6 +860,24 @@ export interface DescribeMySqlProcessListResponse {
|
|
|
860
860
|
RequestId?: string
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
+
/**
|
|
864
|
+
* UpdateMonitorSwitch请求参数结构体
|
|
865
|
+
*/
|
|
866
|
+
export interface UpdateMonitorSwitchRequest {
|
|
867
|
+
/**
|
|
868
|
+
* 停止或重连Agent实例,支持值包括:"on" - 重连实例, "off" - 停止实例。
|
|
869
|
+
*/
|
|
870
|
+
Switch: string
|
|
871
|
+
/**
|
|
872
|
+
* 实例ID。
|
|
873
|
+
*/
|
|
874
|
+
InstanceId: string
|
|
875
|
+
/**
|
|
876
|
+
* 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。
|
|
877
|
+
*/
|
|
878
|
+
Product: string
|
|
879
|
+
}
|
|
880
|
+
|
|
863
881
|
/**
|
|
864
882
|
* 实时会话访问来源详情。
|
|
865
883
|
*/
|
|
@@ -1142,6 +1160,24 @@ export interface DescribeSlowLogsResponse {
|
|
|
1142
1160
|
RequestId?: string
|
|
1143
1161
|
}
|
|
1144
1162
|
|
|
1163
|
+
/**
|
|
1164
|
+
* UpdateAgentSwitch请求参数结构体
|
|
1165
|
+
*/
|
|
1166
|
+
export interface UpdateAgentSwitchRequest {
|
|
1167
|
+
/**
|
|
1168
|
+
* Agent标识。
|
|
1169
|
+
*/
|
|
1170
|
+
AgentId: string
|
|
1171
|
+
/**
|
|
1172
|
+
* 停止或重连Agent,支持值包括:"on" - 重连Agent, "off" - 停止Agent。
|
|
1173
|
+
*/
|
|
1174
|
+
Switch: string
|
|
1175
|
+
/**
|
|
1176
|
+
* 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。
|
|
1177
|
+
*/
|
|
1178
|
+
Product: string
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1145
1181
|
/**
|
|
1146
1182
|
* DescribeSecurityAuditLogDownloadUrls请求参数结构体
|
|
1147
1183
|
*/
|
|
@@ -1600,6 +1636,16 @@ export interface MailConfiguration {
|
|
|
1600
1636
|
ContactGroup?: Array<number | bigint>
|
|
1601
1637
|
}
|
|
1602
1638
|
|
|
1639
|
+
/**
|
|
1640
|
+
* UpdateAgentSwitch返回参数结构体
|
|
1641
|
+
*/
|
|
1642
|
+
export interface UpdateAgentSwitchResponse {
|
|
1643
|
+
/**
|
|
1644
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1645
|
+
*/
|
|
1646
|
+
RequestId?: string
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1603
1649
|
/**
|
|
1604
1650
|
* VerifyUserAccount请求参数结构体
|
|
1605
1651
|
*/
|
|
@@ -2257,7 +2303,7 @@ export interface DescribeDiagDBInstancesRequest {
|
|
|
2257
2303
|
*/
|
|
2258
2304
|
IsSupported: boolean
|
|
2259
2305
|
/**
|
|
2260
|
-
* 服务产品类型,支持值包括:
|
|
2306
|
+
* 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"cynosdb" - 云数据库 TDSQL-C for MySQL,"dbbrain-mysql" - 自建 MySQL,默认为"mysql"。
|
|
2261
2307
|
*/
|
|
2262
2308
|
Product: string
|
|
2263
2309
|
/**
|
|
@@ -2791,15 +2837,15 @@ export interface DescribeDiagDBInstancesResponse {
|
|
|
2791
2837
|
/**
|
|
2792
2838
|
* 实例总数。
|
|
2793
2839
|
*/
|
|
2794
|
-
TotalCount
|
|
2840
|
+
TotalCount?: number
|
|
2795
2841
|
/**
|
|
2796
2842
|
* 全实例巡检状态:0:开启全实例巡检;1:未开启全实例巡检。
|
|
2797
2843
|
*/
|
|
2798
|
-
DbScanStatus
|
|
2844
|
+
DbScanStatus?: number
|
|
2799
2845
|
/**
|
|
2800
2846
|
* 实例相关信息。
|
|
2801
2847
|
*/
|
|
2802
|
-
Items
|
|
2848
|
+
Items?: Array<InstanceInfo>
|
|
2803
2849
|
/**
|
|
2804
2850
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2805
2851
|
*/
|
|
@@ -3118,6 +3164,16 @@ export interface DescribeAllUserGroupResponse {
|
|
|
3118
3164
|
RequestId?: string
|
|
3119
3165
|
}
|
|
3120
3166
|
|
|
3167
|
+
/**
|
|
3168
|
+
* UpdateMonitorSwitch返回参数结构体
|
|
3169
|
+
*/
|
|
3170
|
+
export interface UpdateMonitorSwitchResponse {
|
|
3171
|
+
/**
|
|
3172
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3173
|
+
*/
|
|
3174
|
+
RequestId?: string
|
|
3175
|
+
}
|
|
3176
|
+
|
|
3121
3177
|
/**
|
|
3122
3178
|
* CreateAuditLogFile请求参数结构体
|
|
3123
3179
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeRedisTopKeyPrefixListRequest, OpenAuditServiceResponse, CreateDBDiagReportTaskRequest, DescribeAuditLogFilesResponse, DescribeSlowLogsRequest, DescribeTopSpaceTablesRequest, CreateRedisBigKeyAnalysisTaskResponse, CreateSecurityAuditLogExportTaskRequest, DescribeDBDiagEventResponse, DescribeDBDiagEventsResponse, DescribeDBDiagReportTasksResponse, AddUserContactResponse, CancelKillTaskResponse, DescribeRedisTopBigKeysResponse, DescribeSqlTemplateRequest, DescribeTopSpaceSchemaTimeSeriesResponse, CreateKillTaskResponse, DescribeAuditInstanceListResponse, DescribeProxySessionKillTasksRequest, CreateRedisBigKeyAnalysisTaskRequest, DescribeMySqlProcessListResponse, DescribeTopSpaceTablesResponse, ModifySqlFiltersResponse, KillMySqlThreadsResponse, CreateSchedulerMailProfileRequest, DeleteAuditLogFileResponse, DescribeDBSpaceStatusRequest, DeleteDBDiagReportTasksRequest, ModifyDiagDBInstanceConfRequest, DescribeSlowLogsResponse, DescribeSecurityAuditLogDownloadUrlsRequest, CreateDBDiagReportTaskResponse, CreateMailProfileResponse, DescribeSlowLogTimeSeriesStatsRequest, CancelKillTaskRequest, DescribeDBDiagHistoryRequest, CreateAuditLogFileResponse, DeleteSqlFiltersResponse, DescribeDBDiagEventsRequest, CreateDBDiagReportUrlResponse, OpenAuditServiceRequest, CreateProxySessionKillTaskRequest, DeleteDBDiagReportTasksResponse, DescribeProxyProcessStatisticsResponse, CreateMailProfileRequest, VerifyUserAccountRequest, DescribeSlowLogUserHostStatsResponse, DescribeMailProfileRequest, DeleteSecurityAuditLogExportTasksResponse, KillMySqlThreadsRequest, DescribeSqlFiltersResponse, CreateDBDiagReportUrlRequest, DescribeSecurityAuditLogExportTasksResponse, CloseAuditServiceRequest, DescribeSqlTemplateResponse, DescribeTopSpaceTableTimeSeriesResponse, DescribeDBDiagHistoryResponse, DescribeDBDiagEventRequest, ModifySqlFiltersRequest, DescribeAllUserContactResponse, AddUserContactRequest, CreateSqlFilterRequest, DescribeAllUserContactRequest, DescribeDiagDBInstancesRequest, DescribeNoPrimaryKeyTablesRequest, DescribeAuditInstanceListRequest, VerifyUserAccountResponse, DescribeSqlFiltersRequest, DescribeSecurityAuditLogExportTasksRequest, DeleteSecurityAuditLogExportTasksRequest, CreateSchedulerMailProfileResponse, DescribeTopSpaceSchemaTimeSeriesRequest, ModifyAuditServiceRequest, DescribeSlowLogTopSqlsRequest, DescribeMailProfileResponse, DescribeRedisTopBigKeysRequest, ModifyAuditServiceResponse, DescribeHealthScoreRequest, DescribeDiagDBInstancesResponse, DescribeAllUserGroupRequest, CreateKillTaskRequest, CreateSecurityAuditLogExportTaskResponse, CreateSqlFilterResponse, DescribeSlowLogUserHostStatsRequest, DescribeTopSpaceSchemasResponse, CreateProxySessionKillTaskResponse, DescribeSlowLogTimeSeriesStatsResponse, DescribeProxyProcessStatisticsRequest, DescribeRedisTopKeyPrefixListResponse, DescribeAllUserGroupResponse, CreateAuditLogFileRequest, DeleteAuditLogFileRequest, ModifyDiagDBInstanceConfResponse, DescribeUserSqlAdviceResponse, DescribeDBSpaceStatusResponse, DescribeTopSpaceTableTimeSeriesRequest, DescribeDBDiagReportTasksRequest, DescribeHealthScoreResponse, CloseAuditServiceResponse, DescribeTopSpaceSchemasRequest, DescribeSlowLogTopSqlsResponse, DescribeNoPrimaryKeyTablesResponse, DescribeAuditLogFilesRequest, DeleteSqlFiltersRequest, DescribeUserSqlAdviceRequest, DescribeMySqlProcessListRequest, DescribeSecurityAuditLogDownloadUrlsResponse, DescribeProxySessionKillTasksResponse } from "./dbbrain_models";
|
|
2
|
+
import { DescribeRedisTopKeyPrefixListRequest, OpenAuditServiceResponse, CreateDBDiagReportTaskRequest, DescribeAuditLogFilesResponse, DescribeSlowLogsRequest, DescribeTopSpaceTablesRequest, CreateRedisBigKeyAnalysisTaskResponse, CreateSecurityAuditLogExportTaskRequest, DescribeDBDiagEventResponse, DescribeDBDiagEventsResponse, DescribeDBDiagReportTasksResponse, AddUserContactResponse, CancelKillTaskResponse, DescribeRedisTopBigKeysResponse, DescribeSqlTemplateRequest, DescribeTopSpaceSchemaTimeSeriesResponse, CreateKillTaskResponse, DescribeAuditInstanceListResponse, DescribeProxySessionKillTasksRequest, CreateRedisBigKeyAnalysisTaskRequest, DescribeMySqlProcessListResponse, UpdateMonitorSwitchRequest, DescribeTopSpaceTablesResponse, ModifySqlFiltersResponse, KillMySqlThreadsResponse, CreateSchedulerMailProfileRequest, DeleteAuditLogFileResponse, DescribeDBSpaceStatusRequest, DeleteDBDiagReportTasksRequest, ModifyDiagDBInstanceConfRequest, DescribeSlowLogsResponse, UpdateAgentSwitchRequest, DescribeSecurityAuditLogDownloadUrlsRequest, CreateDBDiagReportTaskResponse, CreateMailProfileResponse, DescribeSlowLogTimeSeriesStatsRequest, CancelKillTaskRequest, DescribeDBDiagHistoryRequest, CreateAuditLogFileResponse, DeleteSqlFiltersResponse, DescribeDBDiagEventsRequest, CreateDBDiagReportUrlResponse, OpenAuditServiceRequest, CreateProxySessionKillTaskRequest, DeleteDBDiagReportTasksResponse, DescribeProxyProcessStatisticsResponse, CreateMailProfileRequest, UpdateAgentSwitchResponse, VerifyUserAccountRequest, DescribeSlowLogUserHostStatsResponse, DescribeMailProfileRequest, DeleteSecurityAuditLogExportTasksResponse, KillMySqlThreadsRequest, DescribeSqlFiltersResponse, CreateDBDiagReportUrlRequest, DescribeSecurityAuditLogExportTasksResponse, CloseAuditServiceRequest, DescribeSqlTemplateResponse, DescribeTopSpaceTableTimeSeriesResponse, DescribeDBDiagHistoryResponse, DescribeDBDiagEventRequest, ModifySqlFiltersRequest, DescribeAllUserContactResponse, AddUserContactRequest, CreateSqlFilterRequest, DescribeAllUserContactRequest, DescribeDiagDBInstancesRequest, DescribeNoPrimaryKeyTablesRequest, DescribeAuditInstanceListRequest, VerifyUserAccountResponse, DescribeSqlFiltersRequest, DescribeSecurityAuditLogExportTasksRequest, DeleteSecurityAuditLogExportTasksRequest, CreateSchedulerMailProfileResponse, DescribeTopSpaceSchemaTimeSeriesRequest, ModifyAuditServiceRequest, DescribeSlowLogTopSqlsRequest, DescribeMailProfileResponse, DescribeRedisTopBigKeysRequest, ModifyAuditServiceResponse, DescribeHealthScoreRequest, DescribeDiagDBInstancesResponse, DescribeAllUserGroupRequest, CreateKillTaskRequest, CreateSecurityAuditLogExportTaskResponse, CreateSqlFilterResponse, DescribeSlowLogUserHostStatsRequest, DescribeTopSpaceSchemasResponse, CreateProxySessionKillTaskResponse, DescribeSlowLogTimeSeriesStatsResponse, DescribeProxyProcessStatisticsRequest, DescribeRedisTopKeyPrefixListResponse, DescribeAllUserGroupResponse, UpdateMonitorSwitchResponse, CreateAuditLogFileRequest, DeleteAuditLogFileRequest, ModifyDiagDBInstanceConfResponse, DescribeUserSqlAdviceResponse, DescribeDBSpaceStatusResponse, DescribeTopSpaceTableTimeSeriesRequest, DescribeDBDiagReportTasksRequest, DescribeHealthScoreResponse, CloseAuditServiceResponse, DescribeTopSpaceSchemasRequest, DescribeSlowLogTopSqlsResponse, DescribeNoPrimaryKeyTablesResponse, DescribeAuditLogFilesRequest, DeleteSqlFiltersRequest, DescribeUserSqlAdviceRequest, DescribeMySqlProcessListRequest, DescribeSecurityAuditLogDownloadUrlsResponse, DescribeProxySessionKillTasksResponse } from "./dbbrain_models";
|
|
3
3
|
/**
|
|
4
4
|
* dbbrain client
|
|
5
5
|
* @class
|
|
@@ -42,6 +42,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
42
42
|
* 查询健康报告生成任务列表。
|
|
43
43
|
*/
|
|
44
44
|
DescribeDBDiagReportTasks(req: DescribeDBDiagReportTasksRequest, cb?: (error: string, rep: DescribeDBDiagReportTasksResponse) => void): Promise<DescribeDBDiagReportTasksResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* 更新Agent实例状态(停止或重连实例)
|
|
47
|
+
*/
|
|
48
|
+
UpdateMonitorSwitch(req: UpdateMonitorSwitchRequest, cb?: (error: string, rep: UpdateMonitorSwitchResponse) => void): Promise<UpdateMonitorSwitchResponse>;
|
|
45
49
|
/**
|
|
46
50
|
* 修改实例巡检开关。
|
|
47
51
|
*/
|
|
@@ -186,6 +190,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
186
190
|
* 创建中断会话的任务。
|
|
187
191
|
*/
|
|
188
192
|
CreateKillTask(req: CreateKillTaskRequest, cb?: (error: string, rep: CreateKillTaskResponse) => void): Promise<CreateKillTaskResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* 更新agent状态(停止或重连Agent)
|
|
195
|
+
*/
|
|
196
|
+
UpdateAgentSwitch(req: UpdateAgentSwitchRequest, cb?: (error: string, rep: UpdateAgentSwitchResponse) => void): Promise<UpdateAgentSwitchResponse>;
|
|
189
197
|
/**
|
|
190
198
|
* 查询实例无主键表。
|
|
191
199
|
*/
|
|
@@ -81,6 +81,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
81
81
|
async DescribeDBDiagReportTasks(req, cb) {
|
|
82
82
|
return this.request("DescribeDBDiagReportTasks", req, cb);
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* 更新Agent实例状态(停止或重连实例)
|
|
86
|
+
*/
|
|
87
|
+
async UpdateMonitorSwitch(req, cb) {
|
|
88
|
+
return this.request("UpdateMonitorSwitch", req, cb);
|
|
89
|
+
}
|
|
84
90
|
/**
|
|
85
91
|
* 修改实例巡检开关。
|
|
86
92
|
*/
|
|
@@ -297,6 +303,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
297
303
|
async CreateKillTask(req, cb) {
|
|
298
304
|
return this.request("CreateKillTask", req, cb);
|
|
299
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* 更新agent状态(停止或重连Agent)
|
|
308
|
+
*/
|
|
309
|
+
async UpdateAgentSwitch(req, cb) {
|
|
310
|
+
return this.request("UpdateAgentSwitch", req, cb);
|
|
311
|
+
}
|
|
300
312
|
/**
|
|
301
313
|
* 查询实例无主键表。
|
|
302
314
|
*/
|
|
@@ -812,6 +812,23 @@ export interface DescribeMySqlProcessListResponse {
|
|
|
812
812
|
*/
|
|
813
813
|
RequestId?: string;
|
|
814
814
|
}
|
|
815
|
+
/**
|
|
816
|
+
* UpdateMonitorSwitch请求参数结构体
|
|
817
|
+
*/
|
|
818
|
+
export interface UpdateMonitorSwitchRequest {
|
|
819
|
+
/**
|
|
820
|
+
* 停止或重连Agent实例,支持值包括:"on" - 重连实例, "off" - 停止实例。
|
|
821
|
+
*/
|
|
822
|
+
Switch: string;
|
|
823
|
+
/**
|
|
824
|
+
* 实例ID。
|
|
825
|
+
*/
|
|
826
|
+
InstanceId: string;
|
|
827
|
+
/**
|
|
828
|
+
* 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。
|
|
829
|
+
*/
|
|
830
|
+
Product: string;
|
|
831
|
+
}
|
|
815
832
|
/**
|
|
816
833
|
* 实时会话访问来源详情。
|
|
817
834
|
*/
|
|
@@ -1080,6 +1097,23 @@ export interface DescribeSlowLogsResponse {
|
|
|
1080
1097
|
*/
|
|
1081
1098
|
RequestId?: string;
|
|
1082
1099
|
}
|
|
1100
|
+
/**
|
|
1101
|
+
* UpdateAgentSwitch请求参数结构体
|
|
1102
|
+
*/
|
|
1103
|
+
export interface UpdateAgentSwitchRequest {
|
|
1104
|
+
/**
|
|
1105
|
+
* Agent标识。
|
|
1106
|
+
*/
|
|
1107
|
+
AgentId: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* 停止或重连Agent,支持值包括:"on" - 重连Agent, "off" - 停止Agent。
|
|
1110
|
+
*/
|
|
1111
|
+
Switch: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。
|
|
1114
|
+
*/
|
|
1115
|
+
Product: string;
|
|
1116
|
+
}
|
|
1083
1117
|
/**
|
|
1084
1118
|
* DescribeSecurityAuditLogDownloadUrls请求参数结构体
|
|
1085
1119
|
*/
|
|
@@ -1516,6 +1550,15 @@ export interface MailConfiguration {
|
|
|
1516
1550
|
*/
|
|
1517
1551
|
ContactGroup?: Array<number | bigint>;
|
|
1518
1552
|
}
|
|
1553
|
+
/**
|
|
1554
|
+
* UpdateAgentSwitch返回参数结构体
|
|
1555
|
+
*/
|
|
1556
|
+
export interface UpdateAgentSwitchResponse {
|
|
1557
|
+
/**
|
|
1558
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1559
|
+
*/
|
|
1560
|
+
RequestId?: string;
|
|
1561
|
+
}
|
|
1519
1562
|
/**
|
|
1520
1563
|
* VerifyUserAccount请求参数结构体
|
|
1521
1564
|
*/
|
|
@@ -2145,7 +2188,7 @@ export interface DescribeDiagDBInstancesRequest {
|
|
|
2145
2188
|
*/
|
|
2146
2189
|
IsSupported: boolean;
|
|
2147
2190
|
/**
|
|
2148
|
-
* 服务产品类型,支持值包括:
|
|
2191
|
+
* 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"cynosdb" - 云数据库 TDSQL-C for MySQL,"dbbrain-mysql" - 自建 MySQL,默认为"mysql"。
|
|
2149
2192
|
*/
|
|
2150
2193
|
Product: string;
|
|
2151
2194
|
/**
|
|
@@ -2662,15 +2705,15 @@ export interface DescribeDiagDBInstancesResponse {
|
|
|
2662
2705
|
/**
|
|
2663
2706
|
* 实例总数。
|
|
2664
2707
|
*/
|
|
2665
|
-
TotalCount
|
|
2708
|
+
TotalCount?: number;
|
|
2666
2709
|
/**
|
|
2667
2710
|
* 全实例巡检状态:0:开启全实例巡检;1:未开启全实例巡检。
|
|
2668
2711
|
*/
|
|
2669
|
-
DbScanStatus
|
|
2712
|
+
DbScanStatus?: number;
|
|
2670
2713
|
/**
|
|
2671
2714
|
* 实例相关信息。
|
|
2672
2715
|
*/
|
|
2673
|
-
Items
|
|
2716
|
+
Items?: Array<InstanceInfo>;
|
|
2674
2717
|
/**
|
|
2675
2718
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2676
2719
|
*/
|
|
@@ -2974,6 +3017,15 @@ export interface DescribeAllUserGroupResponse {
|
|
|
2974
3017
|
*/
|
|
2975
3018
|
RequestId?: string;
|
|
2976
3019
|
}
|
|
3020
|
+
/**
|
|
3021
|
+
* UpdateMonitorSwitch返回参数结构体
|
|
3022
|
+
*/
|
|
3023
|
+
export interface UpdateMonitorSwitchResponse {
|
|
3024
|
+
/**
|
|
3025
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3026
|
+
*/
|
|
3027
|
+
RequestId?: string;
|
|
3028
|
+
}
|
|
2977
3029
|
/**
|
|
2978
3030
|
* CreateAuditLogFile请求参数结构体
|
|
2979
3031
|
*/
|