tencentcloud-sdk-nodejs-dbbrain 4.0.1054 → 4.1.1
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/README.md +18 -4
- package/es/index.js +1 -0
- package/es/services/dbbrain/index.js +6 -0
- package/es/services/dbbrain/v20191016/dbbrain_client.js +87 -0
- package/es/services/dbbrain/v20191016/dbbrain_models.js +0 -0
- package/es/services/dbbrain/v20191016/index.js +6 -0
- package/es/services/dbbrain/v20210527/dbbrain_client.js +219 -0
- package/es/services/dbbrain/v20210527/dbbrain_models.js +0 -0
- package/es/services/dbbrain/v20210527/index.js +6 -0
- package/es/services/index.js +1 -0
- package/package.json +16 -5
- package/tencentcloud/services/dbbrain/v20191016/dbbrain_client.js +2 -1
- package/tencentcloud/services/dbbrain/v20191016/dbbrain_models.d.ts +14 -32
- package/tencentcloud/services/dbbrain/v20191016/index.js +2 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +2 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +17 -70
- package/tencentcloud/services/dbbrain/v20210527/index.js +2 -1
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/dbbrain/index.ts +0 -7
- package/src/services/dbbrain/v20191016/dbbrain_client.ts +0 -384
- package/src/services/dbbrain/v20191016/dbbrain_models.ts +0 -2108
- package/src/services/dbbrain/v20191016/index.ts +0 -6
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +0 -946
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +0 -5092
- package/src/services/dbbrain/v20210527/index.ts +0 -6
- package/src/services/index.ts +0 -1
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
package/README.md
CHANGED
|
@@ -52,10 +52,24 @@ npm install tencentcloud-sdk-nodejs --save
|
|
|
52
52
|
|
|
53
53
|
## 通过源码包安装
|
|
54
54
|
|
|
55
|
-
1.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
1. clone 代码到本地:
|
|
56
|
+
```
|
|
57
|
+
git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
58
|
+
# 或者
|
|
59
|
+
git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
60
|
+
```
|
|
61
|
+
2. 在项目根目录执行以下命令完成构建:
|
|
62
|
+
```
|
|
63
|
+
npm install && npm run build
|
|
64
|
+
```
|
|
65
|
+
3. 打包 NPM 压缩文件,例如 `tencentcloud-sdk-nodejs-4.0.0.tgz`
|
|
66
|
+
```
|
|
67
|
+
npm pack
|
|
68
|
+
```
|
|
69
|
+
4. 安装包到你的项目里:
|
|
70
|
+
```
|
|
71
|
+
npm install /path/to/tencentcloud-sdk-nodejs/tencentcloud-sdk-nodejs-4.0.0.tgz
|
|
72
|
+
```
|
|
59
73
|
|
|
60
74
|
# 示例
|
|
61
75
|
|
package/es/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./services";
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
+
export class Client extends TencentCloudCommon.AbstractClient {
|
|
3
|
+
constructor(clientConfig) {
|
|
4
|
+
super("dbbrain.tencentcloudapi.com", "2019-10-16", clientConfig);
|
|
5
|
+
}
|
|
6
|
+
async DescribeSecurityAuditLogDownloadUrls(req, cb) {
|
|
7
|
+
return this.request("DescribeSecurityAuditLogDownloadUrls", req, cb);
|
|
8
|
+
}
|
|
9
|
+
async DescribeMailProfile(req, cb) {
|
|
10
|
+
return this.request("DescribeMailProfile", req, cb);
|
|
11
|
+
}
|
|
12
|
+
async CreateSchedulerMailProfile(req, cb) {
|
|
13
|
+
return this.request("CreateSchedulerMailProfile", req, cb);
|
|
14
|
+
}
|
|
15
|
+
async DescribeTopSpaceSchemas(req, cb) {
|
|
16
|
+
return this.request("DescribeTopSpaceSchemas", req, cb);
|
|
17
|
+
}
|
|
18
|
+
async DescribeDBDiagReportTasks(req, cb) {
|
|
19
|
+
return this.request("DescribeDBDiagReportTasks", req, cb);
|
|
20
|
+
}
|
|
21
|
+
async DescribeAllUserGroup(req, cb) {
|
|
22
|
+
return this.request("DescribeAllUserGroup", req, cb);
|
|
23
|
+
}
|
|
24
|
+
async DescribeSlowLogTimeSeriesStats(req, cb) {
|
|
25
|
+
return this.request("DescribeSlowLogTimeSeriesStats", req, cb);
|
|
26
|
+
}
|
|
27
|
+
async DescribeSlowLogUserHostStats(req, cb) {
|
|
28
|
+
return this.request("DescribeSlowLogUserHostStats", req, cb);
|
|
29
|
+
}
|
|
30
|
+
async DescribeTopSpaceTables(req, cb) {
|
|
31
|
+
return this.request("DescribeTopSpaceTables", req, cb);
|
|
32
|
+
}
|
|
33
|
+
async DescribeDBSpaceStatus(req, cb) {
|
|
34
|
+
return this.request("DescribeDBSpaceStatus", req, cb);
|
|
35
|
+
}
|
|
36
|
+
async CreateMailProfile(req, cb) {
|
|
37
|
+
return this.request("CreateMailProfile", req, cb);
|
|
38
|
+
}
|
|
39
|
+
async DescribeHealthScore(req, cb) {
|
|
40
|
+
return this.request("DescribeHealthScore", req, cb);
|
|
41
|
+
}
|
|
42
|
+
async CreateSecurityAuditLogExportTask(req, cb) {
|
|
43
|
+
return this.request("CreateSecurityAuditLogExportTask", req, cb);
|
|
44
|
+
}
|
|
45
|
+
async DeleteSecurityAuditLogExportTasks(req, cb) {
|
|
46
|
+
return this.request("DeleteSecurityAuditLogExportTasks", req, cb);
|
|
47
|
+
}
|
|
48
|
+
async DescribeSlowLogTopSqls(req, cb) {
|
|
49
|
+
return this.request("DescribeSlowLogTopSqls", req, cb);
|
|
50
|
+
}
|
|
51
|
+
async DescribeSecurityAuditLogExportTasks(req, cb) {
|
|
52
|
+
return this.request("DescribeSecurityAuditLogExportTasks", req, cb);
|
|
53
|
+
}
|
|
54
|
+
async DescribeAllUserContact(req, cb) {
|
|
55
|
+
return this.request("DescribeAllUserContact", req, cb);
|
|
56
|
+
}
|
|
57
|
+
async DescribeDBDiagEvent(req, cb) {
|
|
58
|
+
return this.request("DescribeDBDiagEvent", req, cb);
|
|
59
|
+
}
|
|
60
|
+
async DescribeDBDiagHistory(req, cb) {
|
|
61
|
+
return this.request("DescribeDBDiagHistory", req, cb);
|
|
62
|
+
}
|
|
63
|
+
async CreateDBDiagReportTask(req, cb) {
|
|
64
|
+
return this.request("CreateDBDiagReportTask", req, cb);
|
|
65
|
+
}
|
|
66
|
+
async DescribeDiagDBInstances(req, cb) {
|
|
67
|
+
return this.request("DescribeDiagDBInstances", req, cb);
|
|
68
|
+
}
|
|
69
|
+
async AddUserContact(req, cb) {
|
|
70
|
+
return this.request("AddUserContact", req, cb);
|
|
71
|
+
}
|
|
72
|
+
async DescribeTopSpaceSchemaTimeSeries(req, cb) {
|
|
73
|
+
return this.request("DescribeTopSpaceSchemaTimeSeries", req, cb);
|
|
74
|
+
}
|
|
75
|
+
async DescribeUserSqlAdvice(req, cb) {
|
|
76
|
+
return this.request("DescribeUserSqlAdvice", req, cb);
|
|
77
|
+
}
|
|
78
|
+
async DescribeTopSpaceTableTimeSeries(req, cb) {
|
|
79
|
+
return this.request("DescribeTopSpaceTableTimeSeries", req, cb);
|
|
80
|
+
}
|
|
81
|
+
async ModifyDiagDBInstanceConf(req, cb) {
|
|
82
|
+
return this.request("ModifyDiagDBInstanceConf", req, cb);
|
|
83
|
+
}
|
|
84
|
+
async CreateDBDiagReportUrl(req, cb) {
|
|
85
|
+
return this.request("CreateDBDiagReportUrl", req, cb);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
+
export class Client extends TencentCloudCommon.AbstractClient {
|
|
3
|
+
constructor(clientConfig) {
|
|
4
|
+
super("dbbrain.tencentcloudapi.com", "2021-05-27", clientConfig);
|
|
5
|
+
}
|
|
6
|
+
async DescribeDBAutonomyEvents(req, cb) {
|
|
7
|
+
return this.request("DescribeDBAutonomyEvents", req, cb);
|
|
8
|
+
}
|
|
9
|
+
async DescribeTopSpaceTableTimeSeries(req, cb) {
|
|
10
|
+
return this.request("DescribeTopSpaceTableTimeSeries", req, cb);
|
|
11
|
+
}
|
|
12
|
+
async DescribeSecurityAuditLogDownloadUrls(req, cb) {
|
|
13
|
+
return this.request("DescribeSecurityAuditLogDownloadUrls", req, cb);
|
|
14
|
+
}
|
|
15
|
+
async DeleteDBDiagReportTasks(req, cb) {
|
|
16
|
+
return this.request("DeleteDBDiagReportTasks", req, cb);
|
|
17
|
+
}
|
|
18
|
+
async DescribeMailProfile(req, cb) {
|
|
19
|
+
return this.request("DescribeMailProfile", req, cb);
|
|
20
|
+
}
|
|
21
|
+
async CreateSchedulerMailProfile(req, cb) {
|
|
22
|
+
return this.request("CreateSchedulerMailProfile", req, cb);
|
|
23
|
+
}
|
|
24
|
+
async DescribeSqlTemplate(req, cb) {
|
|
25
|
+
return this.request("DescribeSqlTemplate", req, cb);
|
|
26
|
+
}
|
|
27
|
+
async DescribeTopSpaceSchemas(req, cb) {
|
|
28
|
+
return this.request("DescribeTopSpaceSchemas", req, cb);
|
|
29
|
+
}
|
|
30
|
+
async DescribeMySqlProcessList(req, cb) {
|
|
31
|
+
return this.request("DescribeMySqlProcessList", req, cb);
|
|
32
|
+
}
|
|
33
|
+
async CreateMailProfile(req, cb) {
|
|
34
|
+
return this.request("CreateMailProfile", req, cb);
|
|
35
|
+
}
|
|
36
|
+
async DescribeDBDiagReportTasks(req, cb) {
|
|
37
|
+
return this.request("DescribeDBDiagReportTasks", req, cb);
|
|
38
|
+
}
|
|
39
|
+
async DescribeRedisTopHotKeys(req, cb) {
|
|
40
|
+
return this.request("DescribeRedisTopHotKeys", req, cb);
|
|
41
|
+
}
|
|
42
|
+
async UpdateMonitorSwitch(req, cb) {
|
|
43
|
+
return this.request("UpdateMonitorSwitch", req, cb);
|
|
44
|
+
}
|
|
45
|
+
async ModifyDiagDBInstanceConf(req, cb) {
|
|
46
|
+
return this.request("ModifyDiagDBInstanceConf", req, cb);
|
|
47
|
+
}
|
|
48
|
+
async CreateRedisBigKeyAnalysisTask(req, cb) {
|
|
49
|
+
return this.request("CreateRedisBigKeyAnalysisTask", req, cb);
|
|
50
|
+
}
|
|
51
|
+
async DeleteAuditLogFile(req, cb) {
|
|
52
|
+
return this.request("DeleteAuditLogFile", req, cb);
|
|
53
|
+
}
|
|
54
|
+
async DescribeAllUserGroup(req, cb) {
|
|
55
|
+
return this.request("DescribeAllUserGroup", req, cb);
|
|
56
|
+
}
|
|
57
|
+
async DescribeDBDiagEvents(req, cb) {
|
|
58
|
+
return this.request("DescribeDBDiagEvents", req, cb);
|
|
59
|
+
}
|
|
60
|
+
async DescribeAuditInstanceList(req, cb) {
|
|
61
|
+
return this.request("DescribeAuditInstanceList", req, cb);
|
|
62
|
+
}
|
|
63
|
+
async DeleteRedisBigKeyAnalysisTasks(req, cb) {
|
|
64
|
+
return this.request("DeleteRedisBigKeyAnalysisTasks", req, cb);
|
|
65
|
+
}
|
|
66
|
+
async DescribeTopSpaceSchemaTimeSeries(req, cb) {
|
|
67
|
+
return this.request("DescribeTopSpaceSchemaTimeSeries", req, cb);
|
|
68
|
+
}
|
|
69
|
+
async DescribeSlowLogTimeSeriesStats(req, cb) {
|
|
70
|
+
return this.request("DescribeSlowLogTimeSeriesStats", req, cb);
|
|
71
|
+
}
|
|
72
|
+
async DescribeRedisProcessList(req, cb) {
|
|
73
|
+
return this.request("DescribeRedisProcessList", req, cb);
|
|
74
|
+
}
|
|
75
|
+
async DescribeSlowLogUserHostStats(req, cb) {
|
|
76
|
+
return this.request("DescribeSlowLogUserHostStats", req, cb);
|
|
77
|
+
}
|
|
78
|
+
async DescribeSlowLogTopSqls(req, cb) {
|
|
79
|
+
return this.request("DescribeSlowLogTopSqls", req, cb);
|
|
80
|
+
}
|
|
81
|
+
async CreateSqlFilter(req, cb) {
|
|
82
|
+
return this.request("CreateSqlFilter", req, cb);
|
|
83
|
+
}
|
|
84
|
+
async DescribeDBSpaceStatus(req, cb) {
|
|
85
|
+
return this.request("DescribeDBSpaceStatus", req, cb);
|
|
86
|
+
}
|
|
87
|
+
async CreateProxySessionKillTask(req, cb) {
|
|
88
|
+
return this.request("CreateProxySessionKillTask", req, cb);
|
|
89
|
+
}
|
|
90
|
+
async DescribeHealthScore(req, cb) {
|
|
91
|
+
return this.request("DescribeHealthScore", req, cb);
|
|
92
|
+
}
|
|
93
|
+
async CancelKillTask(req, cb) {
|
|
94
|
+
return this.request("CancelKillTask", req, cb);
|
|
95
|
+
}
|
|
96
|
+
async CreateSecurityAuditLogExportTask(req, cb) {
|
|
97
|
+
return this.request("CreateSecurityAuditLogExportTask", req, cb);
|
|
98
|
+
}
|
|
99
|
+
async CloseAuditService(req, cb) {
|
|
100
|
+
return this.request("CloseAuditService", req, cb);
|
|
101
|
+
}
|
|
102
|
+
async DescribeUserSqlAdvice(req, cb) {
|
|
103
|
+
return this.request("DescribeUserSqlAdvice", req, cb);
|
|
104
|
+
}
|
|
105
|
+
async CancelRedisBigKeyAnalysisTasks(req, cb) {
|
|
106
|
+
return this.request("CancelRedisBigKeyAnalysisTasks", req, cb);
|
|
107
|
+
}
|
|
108
|
+
async DeleteSecurityAuditLogExportTasks(req, cb) {
|
|
109
|
+
return this.request("DeleteSecurityAuditLogExportTasks", req, cb);
|
|
110
|
+
}
|
|
111
|
+
async DescribeDBAutonomyActions(req, cb) {
|
|
112
|
+
return this.request("DescribeDBAutonomyActions", req, cb);
|
|
113
|
+
}
|
|
114
|
+
async DescribeRedisBigKeyAnalysisTasks(req, cb) {
|
|
115
|
+
return this.request("DescribeRedisBigKeyAnalysisTasks", req, cb);
|
|
116
|
+
}
|
|
117
|
+
async CreateAuditLogFile(req, cb) {
|
|
118
|
+
return this.request("CreateAuditLogFile", req, cb);
|
|
119
|
+
}
|
|
120
|
+
async DescribeRedisTopBigKeys(req, cb) {
|
|
121
|
+
return this.request("DescribeRedisTopBigKeys", req, cb);
|
|
122
|
+
}
|
|
123
|
+
async DescribeSecurityAuditLogExportTasks(req, cb) {
|
|
124
|
+
return this.request("DescribeSecurityAuditLogExportTasks", req, cb);
|
|
125
|
+
}
|
|
126
|
+
async DescribeAllUserContact(req, cb) {
|
|
127
|
+
return this.request("DescribeAllUserContact", req, cb);
|
|
128
|
+
}
|
|
129
|
+
async DescribeRedisTopKeyPrefixList(req, cb) {
|
|
130
|
+
return this.request("DescribeRedisTopKeyPrefixList", req, cb);
|
|
131
|
+
}
|
|
132
|
+
async DescribeSlowLogs(req, cb) {
|
|
133
|
+
return this.request("DescribeSlowLogs", req, cb);
|
|
134
|
+
}
|
|
135
|
+
async DescribeUserAutonomyProfile(req, cb) {
|
|
136
|
+
return this.request("DescribeUserAutonomyProfile", req, cb);
|
|
137
|
+
}
|
|
138
|
+
async DescribeDBDiagEvent(req, cb) {
|
|
139
|
+
return this.request("DescribeDBDiagEvent", req, cb);
|
|
140
|
+
}
|
|
141
|
+
async DescribeDBDiagHistory(req, cb) {
|
|
142
|
+
return this.request("DescribeDBDiagHistory", req, cb);
|
|
143
|
+
}
|
|
144
|
+
async DescribeProxyProcessStatistics(req, cb) {
|
|
145
|
+
return this.request("DescribeProxyProcessStatistics", req, cb);
|
|
146
|
+
}
|
|
147
|
+
async CreateDBDiagReportTask(req, cb) {
|
|
148
|
+
return this.request("CreateDBDiagReportTask", req, cb);
|
|
149
|
+
}
|
|
150
|
+
async DescribeDiagDBInstances(req, cb) {
|
|
151
|
+
return this.request("DescribeDiagDBInstances", req, cb);
|
|
152
|
+
}
|
|
153
|
+
async DeleteSqlFilters(req, cb) {
|
|
154
|
+
return this.request("DeleteSqlFilters", req, cb);
|
|
155
|
+
}
|
|
156
|
+
async ModifyAlarmPolicy(req, cb) {
|
|
157
|
+
return this.request("ModifyAlarmPolicy", req, cb);
|
|
158
|
+
}
|
|
159
|
+
async CreateUserAutonomyProfile(req, cb) {
|
|
160
|
+
return this.request("CreateUserAutonomyProfile", req, cb);
|
|
161
|
+
}
|
|
162
|
+
async OpenAuditService(req, cb) {
|
|
163
|
+
return this.request("OpenAuditService", req, cb);
|
|
164
|
+
}
|
|
165
|
+
async AddUserContact(req, cb) {
|
|
166
|
+
return this.request("AddUserContact", req, cb);
|
|
167
|
+
}
|
|
168
|
+
async DescribeIndexRecommendInfo(req, cb) {
|
|
169
|
+
return this.request("DescribeIndexRecommendInfo", req, cb);
|
|
170
|
+
}
|
|
171
|
+
async ModifyAuditService(req, cb) {
|
|
172
|
+
return this.request("ModifyAuditService", req, cb);
|
|
173
|
+
}
|
|
174
|
+
async DescribeIndexRecommendAggregationSlowLogs(req, cb) {
|
|
175
|
+
return this.request("DescribeIndexRecommendAggregationSlowLogs", req, cb);
|
|
176
|
+
}
|
|
177
|
+
async CancelDBAutonomyAction(req, cb) {
|
|
178
|
+
return this.request("CancelDBAutonomyAction", req, cb);
|
|
179
|
+
}
|
|
180
|
+
async CreateKillTask(req, cb) {
|
|
181
|
+
return this.request("CreateKillTask", req, cb);
|
|
182
|
+
}
|
|
183
|
+
async UpdateAgentSwitch(req, cb) {
|
|
184
|
+
return this.request("UpdateAgentSwitch", req, cb);
|
|
185
|
+
}
|
|
186
|
+
async DescribeNoPrimaryKeyTables(req, cb) {
|
|
187
|
+
return this.request("DescribeNoPrimaryKeyTables", req, cb);
|
|
188
|
+
}
|
|
189
|
+
async DescribeTopSpaceTables(req, cb) {
|
|
190
|
+
return this.request("DescribeTopSpaceTables", req, cb);
|
|
191
|
+
}
|
|
192
|
+
async DescribeSqlFilters(req, cb) {
|
|
193
|
+
return this.request("DescribeSqlFilters", req, cb);
|
|
194
|
+
}
|
|
195
|
+
async DescribeAlarmTemplate(req, cb) {
|
|
196
|
+
return this.request("DescribeAlarmTemplate", req, cb);
|
|
197
|
+
}
|
|
198
|
+
async DescribeAuditLogFiles(req, cb) {
|
|
199
|
+
return this.request("DescribeAuditLogFiles", req, cb);
|
|
200
|
+
}
|
|
201
|
+
async KillMySqlThreads(req, cb) {
|
|
202
|
+
return this.request("KillMySqlThreads", req, cb);
|
|
203
|
+
}
|
|
204
|
+
async CreateDBDiagReportUrl(req, cb) {
|
|
205
|
+
return this.request("CreateDBDiagReportUrl", req, cb);
|
|
206
|
+
}
|
|
207
|
+
async VerifyUserAccount(req, cb) {
|
|
208
|
+
return this.request("VerifyUserAccount", req, cb);
|
|
209
|
+
}
|
|
210
|
+
async ModifySqlFilters(req, cb) {
|
|
211
|
+
return this.request("ModifySqlFilters", req, cb);
|
|
212
|
+
}
|
|
213
|
+
async DescribeProxySessionKillTasks(req, cb) {
|
|
214
|
+
return this.request("DescribeProxySessionKillTasks", req, cb);
|
|
215
|
+
}
|
|
216
|
+
async ModifyUserAutonomyProfile(req, cb) {
|
|
217
|
+
return this.request("ModifyUserAutonomyProfile", req, cb);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { dbbrain } from "./dbbrain";
|
package/package.json
CHANGED
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-dbbrain",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "腾讯云 API NODEJS SDK",
|
|
5
|
-
"main": "tencentcloud/index.js",
|
|
5
|
+
"main": "./tencentcloud/index.js",
|
|
6
|
+
"module": "./es/index.js",
|
|
7
|
+
"types": "./tencentcloud/index.d.ts",
|
|
6
8
|
"scripts": {
|
|
7
9
|
"test": "mocha -t 10000",
|
|
8
|
-
"build": "
|
|
9
|
-
"
|
|
10
|
+
"build": "concurrently 'npm:build:cjs' 'npm:build:es'",
|
|
11
|
+
"build:cjs": "tsc -p tsconfig.json",
|
|
12
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
13
|
+
"prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
|
|
14
|
+
"clean": "rimraf tencentcloud es"
|
|
10
15
|
},
|
|
11
16
|
"engines": {
|
|
12
17
|
"node": ">=10"
|
|
13
18
|
},
|
|
19
|
+
"files": [
|
|
20
|
+
"tencentcloud",
|
|
21
|
+
"es"
|
|
22
|
+
],
|
|
14
23
|
"keywords": [
|
|
15
24
|
"tencentcloudapi",
|
|
16
25
|
"tencentcloud",
|
|
@@ -43,10 +52,12 @@
|
|
|
43
52
|
"@typescript-eslint/parser": "^2.34.0",
|
|
44
53
|
"babel-eslint": "^10.0.2",
|
|
45
54
|
"chai": "^4.2.0",
|
|
55
|
+
"concurrently": "^6.5.1",
|
|
46
56
|
"eslint": "^6.8.0",
|
|
47
57
|
"eslint-plugin-react": "^7.17.0",
|
|
48
|
-
"mocha": "^8.
|
|
58
|
+
"mocha": "^8.4.0",
|
|
49
59
|
"prettier": "^2.3.0",
|
|
60
|
+
"rimraf": "^5.0.10",
|
|
50
61
|
"ts-node": "^8.10.2",
|
|
51
62
|
"typescript": "^3.9.7"
|
|
52
63
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Client = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
6
|
/*
|
|
6
7
|
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
@@ -18,7 +19,7 @@ exports.Client = void 0;
|
|
|
18
19
|
* specific language governing permissions and limitations
|
|
19
20
|
* under the License.
|
|
20
21
|
*/
|
|
21
|
-
const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
|
|
22
|
+
const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
|
|
22
23
|
/**
|
|
23
24
|
* dbbrain client
|
|
24
25
|
* @class
|
|
@@ -387,7 +387,6 @@ export interface MonitorMetric {
|
|
|
387
387
|
Unit?: string;
|
|
388
388
|
/**
|
|
389
389
|
* 指标值。
|
|
390
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
391
390
|
*/
|
|
392
391
|
Values?: Array<number | bigint>;
|
|
393
392
|
}
|
|
@@ -438,7 +437,6 @@ export interface MonitorFloatMetric {
|
|
|
438
437
|
Unit?: string;
|
|
439
438
|
/**
|
|
440
439
|
* 指标值。
|
|
441
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
442
440
|
*/
|
|
443
441
|
Values?: Array<number>;
|
|
444
442
|
}
|
|
@@ -713,17 +711,14 @@ export interface DiagHistoryEventItem {
|
|
|
713
711
|
DiagItem?: string;
|
|
714
712
|
/**
|
|
715
713
|
* 实例 ID 。
|
|
716
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
717
714
|
*/
|
|
718
715
|
InstanceId?: string;
|
|
719
716
|
/**
|
|
720
717
|
* 保留字段
|
|
721
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
722
718
|
*/
|
|
723
719
|
Metric?: string;
|
|
724
720
|
/**
|
|
725
721
|
* 地域
|
|
726
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
727
722
|
*/
|
|
728
723
|
Region?: string;
|
|
729
724
|
}
|
|
@@ -1168,20 +1163,19 @@ export interface ScoreDetail {
|
|
|
1168
1163
|
/**
|
|
1169
1164
|
* 扣分项分类,取值包括:可用性、可维护性、性能及可靠性。
|
|
1170
1165
|
*/
|
|
1171
|
-
IssueType
|
|
1166
|
+
IssueType?: string;
|
|
1172
1167
|
/**
|
|
1173
1168
|
* 扣分总分。
|
|
1174
1169
|
*/
|
|
1175
|
-
ScoreLost
|
|
1170
|
+
ScoreLost?: number;
|
|
1176
1171
|
/**
|
|
1177
1172
|
* 扣分总分上限。
|
|
1178
1173
|
*/
|
|
1179
|
-
ScoreLostMax
|
|
1174
|
+
ScoreLostMax?: number;
|
|
1180
1175
|
/**
|
|
1181
1176
|
* 扣分项列表。
|
|
1182
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1183
1177
|
*/
|
|
1184
|
-
Items
|
|
1178
|
+
Items?: Array<ScoreItem>;
|
|
1185
1179
|
}
|
|
1186
1180
|
/**
|
|
1187
1181
|
* DescribeTopSpaceSchemaTimeSeries返回参数结构体
|
|
@@ -1368,49 +1362,43 @@ export interface SecLogExportTaskInfo {
|
|
|
1368
1362
|
/**
|
|
1369
1363
|
* 异步任务Id。
|
|
1370
1364
|
*/
|
|
1371
|
-
AsyncRequestId
|
|
1365
|
+
AsyncRequestId?: number;
|
|
1372
1366
|
/**
|
|
1373
1367
|
* 任务开始时间。
|
|
1374
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1375
1368
|
*/
|
|
1376
|
-
StartTime
|
|
1369
|
+
StartTime?: string;
|
|
1377
1370
|
/**
|
|
1378
1371
|
* 任务结束时间。
|
|
1379
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1380
1372
|
*/
|
|
1381
|
-
EndTime
|
|
1373
|
+
EndTime?: string;
|
|
1382
1374
|
/**
|
|
1383
1375
|
* 任务创建时间。
|
|
1384
1376
|
*/
|
|
1385
|
-
CreateTime
|
|
1377
|
+
CreateTime?: string;
|
|
1386
1378
|
/**
|
|
1387
1379
|
* 任务状态。
|
|
1388
1380
|
*/
|
|
1389
|
-
Status
|
|
1381
|
+
Status?: string;
|
|
1390
1382
|
/**
|
|
1391
1383
|
* 任务执行进度。
|
|
1392
1384
|
*/
|
|
1393
|
-
Progress
|
|
1385
|
+
Progress?: number;
|
|
1394
1386
|
/**
|
|
1395
1387
|
* 导出日志开始时间。
|
|
1396
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1397
1388
|
*/
|
|
1398
|
-
LogStartTime
|
|
1389
|
+
LogStartTime?: string;
|
|
1399
1390
|
/**
|
|
1400
1391
|
* 导出日志结束时间。
|
|
1401
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1402
1392
|
*/
|
|
1403
|
-
LogEndTime
|
|
1393
|
+
LogEndTime?: string;
|
|
1404
1394
|
/**
|
|
1405
1395
|
* 日志文件总大小,单位KB。
|
|
1406
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1407
1396
|
*/
|
|
1408
|
-
TotalSize
|
|
1397
|
+
TotalSize?: number;
|
|
1409
1398
|
/**
|
|
1410
1399
|
* 风险等级列表。0 无风险;1 低风险;2 中风险;3 高风险。
|
|
1411
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1412
1400
|
*/
|
|
1413
|
-
DangerLevels
|
|
1401
|
+
DangerLevels?: Array<number | bigint>;
|
|
1414
1402
|
}
|
|
1415
1403
|
/**
|
|
1416
1404
|
* CreateMailProfile请求参数结构体
|
|
@@ -1778,7 +1766,6 @@ export interface InstanceConfs {
|
|
|
1778
1766
|
OverviewDisplay?: string;
|
|
1779
1767
|
/**
|
|
1780
1768
|
* redis大key分析的自定义分割符,仅redis使用
|
|
1781
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1782
1769
|
*/
|
|
1783
1770
|
KeyDelimiters?: Array<string>;
|
|
1784
1771
|
}
|
|
@@ -1928,22 +1915,18 @@ export interface CreateSecurityAuditLogExportTaskResponse {
|
|
|
1928
1915
|
export interface UserProfile {
|
|
1929
1916
|
/**
|
|
1930
1917
|
* 配置的id。
|
|
1931
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1932
1918
|
*/
|
|
1933
1919
|
ProfileId?: string;
|
|
1934
1920
|
/**
|
|
1935
1921
|
* 配置类型。
|
|
1936
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1937
1922
|
*/
|
|
1938
1923
|
ProfileType?: string;
|
|
1939
1924
|
/**
|
|
1940
1925
|
* 配置级别,"User"或"Instance"。
|
|
1941
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1942
1926
|
*/
|
|
1943
1927
|
ProfileLevel?: string;
|
|
1944
1928
|
/**
|
|
1945
1929
|
* 配置名称。
|
|
1946
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1947
1930
|
*/
|
|
1948
1931
|
ProfileName?: string;
|
|
1949
1932
|
/**
|
|
@@ -1985,7 +1968,6 @@ export interface SchemaSpaceData {
|
|
|
1985
1968
|
TableRows?: number;
|
|
1986
1969
|
/**
|
|
1987
1970
|
* 库中所有表对应的独立物理文件大小加和(MB)。
|
|
1988
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1989
1971
|
*/
|
|
1990
1972
|
PhysicalFileSize?: number;
|
|
1991
1973
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.v20191016 = void 0;
|
|
4
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const Models = tslib_1.__importStar(require("./dbbrain_models"));
|
|
5
6
|
const dbbrain_client_1 = require("./dbbrain_client");
|
|
6
7
|
exports.v20191016 = {
|
|
7
8
|
Client: dbbrain_client_1.Client,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Client = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
6
|
/*
|
|
6
7
|
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
@@ -18,7 +19,7 @@ exports.Client = void 0;
|
|
|
18
19
|
* specific language governing permissions and limitations
|
|
19
20
|
* under the License.
|
|
20
21
|
*/
|
|
21
|
-
const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
|
|
22
|
+
const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
|
|
22
23
|
/**
|
|
23
24
|
* dbbrain client
|
|
24
25
|
* @class
|