tencentcloud-sdk-nodejs 4.0.513 → 4.0.515
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 +421 -0
- package/SERVICE_CHANGELOG.md +478 -48
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +5 -4
- package/src/services/cwp/v20180228/cwp_models.ts +2 -2
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +140 -38
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +567 -103
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +128 -110
- package/src/services/mongodb/v20190725/mongodb_client.ts +18 -6
- package/src/services/mongodb/v20190725/mongodb_models.ts +50 -0
- package/src/services/monitor/v20180724/monitor_client.ts +1 -0
- package/src/services/monitor/v20180724/monitor_models.ts +80 -0
- package/src/services/tcr/v20190924/tcr_client.ts +2 -14
- package/src/services/tcr/v20190924/tcr_models.ts +9 -44
- package/src/services/tdid/v20210519/tdid_client.ts +8 -4
- package/src/services/tdmq/v20200217/tdmq_models.ts +10 -0
- package/src/services/teo/v20220901/teo_client.ts +27 -0
- package/src/services/teo/v20220901/teo_models.ts +157 -0
- package/src/services/tione/v20211111/tione_models.ts +15 -4
- package/src/services/vod/v20180717/vod_client.ts +27 -18
- package/src/services/vod/v20180717/vod_models.ts +153 -84
- package/src/services/wedata/v20210820/wedata_client.ts +1 -0
- package/src/services/wedata/v20210820/wedata_models.ts +41 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +5 -4
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +2 -2
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +45 -13
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +65 -17
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +490 -94
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +94 -76
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +7 -3
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +9 -3
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +42 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +65 -0
- package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +1 -5
- package/tencentcloud/services/tcr/v20190924/tcr_client.js +0 -6
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +8 -38
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +6 -2
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +6 -2
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +8 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +9 -1
- package/tencentcloud/services/teo/v20220901/teo_client.js +12 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +135 -0
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +13 -4
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +15 -7
- package/tencentcloud/services/vod/v20180717/vod_client.js +15 -7
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +138 -80
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +35 -1
- package/test/cynosdb.v20190107.test.js +90 -10
- package/test/mongodb.v20190725.test.js +12 -2
- package/test/tcr.v20190924.test.js +0 -10
- package/test/teo.v20220901.test.js +20 -0
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -58,16 +58,16 @@
|
|
|
58
58
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-11-24 06:19:10 |
|
|
59
59
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-12-14 01:17:29 |
|
|
60
60
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2022-10-31 06:18:55 |
|
|
61
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-12-
|
|
61
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-12-30 01:14:12 |
|
|
62
62
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-12-05 06:32:09 |
|
|
63
63
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-11-16 06:15:44 |
|
|
64
64
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
65
65
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-12-28 11:40:24 |
|
|
66
66
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
67
67
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-12-28 01:05:55 |
|
|
68
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-12-
|
|
68
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-12-30 01:17:15 |
|
|
69
69
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
70
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) |
|
|
70
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-01-02 01:17:01 |
|
|
71
71
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2022-11-04 06:19:07 |
|
|
72
72
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
73
73
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-07-29 06:07:15 |
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-12-13 10:29:37 |
|
|
92
92
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-12-12 01:25:49 |
|
|
93
93
|
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2022-12-28 13:01:07 |
|
|
94
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) |
|
|
94
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-01-02 01:23:18 |
|
|
95
95
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
|
|
96
96
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-12-07 06:39:49 |
|
|
97
97
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-12-13 10:37:12 |
|
|
122
122
|
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2022-12-28 13:56:24 |
|
|
123
123
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-12-23 01:40:27 |
|
|
124
|
-
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2022-12-
|
|
124
|
+
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2022-12-30 01:32:32 |
|
|
125
125
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
126
126
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
127
127
|
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-11-23 06:38:36 |
|
|
@@ -130,8 +130,8 @@
|
|
|
130
130
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
131
131
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-08-25 06:38:57 |
|
|
132
132
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-11-17 11:16:37 |
|
|
133
|
-
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) |
|
|
134
|
-
| monitor | [云监控](https://cloud.tencent.com/document/product/248) |
|
|
133
|
+
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-01-02 01:31:42 |
|
|
134
|
+
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2023-01-02 01:32:07 |
|
|
135
135
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2022-12-16 01:33:15 |
|
|
136
136
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-12-08 01:38:36 |
|
|
137
137
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2022-12-09 15:05:58 |
|
|
@@ -180,14 +180,14 @@
|
|
|
180
180
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
|
|
181
181
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
182
182
|
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-11-30 06:59:59 |
|
|
183
|
-
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-12-
|
|
183
|
+
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-12-30 01:44:00 |
|
|
184
184
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-12-15 01:46:24 |
|
|
185
185
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-10-21 06:47:14 |
|
|
186
|
-
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-
|
|
187
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2022-12-
|
|
186
|
+
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-12-30 17:21:31 |
|
|
187
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2022-12-30 01:47:00 |
|
|
188
188
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-12-06 07:10:10 |
|
|
189
189
|
| tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2022-12-27 02:10:16 |
|
|
190
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-12-
|
|
190
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-12-30 01:48:06 |
|
|
191
191
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-12-21 02:09:45 |
|
|
192
192
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
193
193
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2022-10-31 06:55:14 |
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
|
|
196
196
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
|
|
197
197
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-12-15 01:51:46 |
|
|
198
|
-
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) |
|
|
198
|
+
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2023-01-02 01:47:18 |
|
|
199
199
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-12-13 10:56:59 |
|
|
200
200
|
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-12-14 01:52:28 |
|
|
201
201
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
@@ -211,11 +211,11 @@
|
|
|
211
211
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
212
212
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-11-16 06:46:30 |
|
|
213
213
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
214
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) |
|
|
214
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-01-02 01:51:21 |
|
|
215
215
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-12-29 11:09:38 |
|
|
216
216
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-12-21 02:20:11 |
|
|
217
217
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-10-12 07:10:28 |
|
|
218
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-12-
|
|
218
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-12-30 01:58:31 |
|
|
219
219
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
220
220
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2022-12-27 02:26:58 |
|
|
221
221
|
| youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.515"
|
|
@@ -1207,22 +1207,23 @@ export interface ModifyMachineGroupResponse {
|
|
|
1207
1207
|
|
|
1208
1208
|
/**
|
|
1209
1209
|
* 索引规则,FullText、KeyValue、Tag参数必须输入一个有效参数
|
|
1210
|
+
|
|
1210
1211
|
*/
|
|
1211
1212
|
export interface RuleInfo {
|
|
1212
1213
|
/**
|
|
1213
|
-
*
|
|
1214
|
+
* 全文索引配置, 如果为空时代表未开启全文索引
|
|
1214
1215
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1215
1216
|
*/
|
|
1216
1217
|
FullText?: FullTextInfo
|
|
1217
1218
|
|
|
1218
1219
|
/**
|
|
1219
|
-
*
|
|
1220
|
+
* 键值索引配置,如果为空时代表未开启键值索引
|
|
1220
1221
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1221
1222
|
*/
|
|
1222
1223
|
KeyValue?: RuleKeyValueInfo
|
|
1223
1224
|
|
|
1224
1225
|
/**
|
|
1225
|
-
*
|
|
1226
|
+
* 元字段索引配置,如果为空时代表未开启元字段索引
|
|
1226
1227
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1227
1228
|
*/
|
|
1228
1229
|
Tag?: RuleTagInfo
|
|
@@ -3709,7 +3710,7 @@ export interface ShipperInfo {
|
|
|
3709
3710
|
*/
|
|
3710
3711
|
export interface KeyValueInfo {
|
|
3711
3712
|
/**
|
|
3712
|
-
*
|
|
3713
|
+
* 需要配置键值或者元字段索引的字段名称,仅支持字母、数字、下划线和-./@,且不能以下划线开头
|
|
3713
3714
|
|
|
3714
3715
|
注意:
|
|
3715
3716
|
1,元字段(tag)的Key无需额外添加`__TAG__.`前缀,与上传日志时对应的字段Key一致即可,腾讯云控制台展示时将自动添加`__TAG__.`前缀
|
|
@@ -2523,7 +2523,7 @@ export interface DescribeTagsRequest {
|
|
|
2523
2523
|
<li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版)</li>
|
|
2524
2524
|
<li>Risk - String 是否必填: 否 - 风险主机( yes ) </li>
|
|
2525
2525
|
<li>Os -String 是否必填: 否 - 操作系统( DescribeMachineOsList 接口 值 )
|
|
2526
|
-
|
|
2526
|
+
每个过滤条件只支持一个值,暂不支持多个值“或”关系查询</li>
|
|
2527
2527
|
*/
|
|
2528
2528
|
Filters?: Array<Filters>
|
|
2529
2529
|
}
|
|
@@ -14014,7 +14014,7 @@ export interface DescribeScanStateRequest {
|
|
|
14014
14014
|
|
|
14015
14015
|
/**
|
|
14016
14016
|
* 过滤参数;
|
|
14017
|
-
<li>StrategyId 基线策略ID ,仅ModuleType 为 Baseline
|
|
14017
|
+
<li>StrategyId 基线策略ID ,仅ModuleType 为 Baseline 时需要</li>
|
|
14018
14018
|
*/
|
|
14019
14019
|
Filters?: Array<Filters>
|
|
14020
14020
|
}
|
|
@@ -22,16 +22,20 @@ import {
|
|
|
22
22
|
ModifyClusterNameRequest,
|
|
23
23
|
DescribeRollbackTimeRangeRequest,
|
|
24
24
|
InquirePriceRenewRequest,
|
|
25
|
+
InstanceAuditRule,
|
|
25
26
|
DescribeAuditLogsRequest,
|
|
26
27
|
DescribeBackupConfigRequest,
|
|
28
|
+
ModifyAuditRuleTemplatesRequest,
|
|
27
29
|
DescribeAccountsRequest,
|
|
28
30
|
ModifyMaintainPeriodConfigRequest,
|
|
29
31
|
DescribeRollbackTimeRangeResponse,
|
|
32
|
+
BillingResourceInfo,
|
|
30
33
|
ModifyBackupNameResponse,
|
|
31
34
|
ModifyClusterStorageRequest,
|
|
32
35
|
RollBackClusterRequest,
|
|
33
36
|
DescribeAuditLogFilesResponse,
|
|
34
37
|
SwitchClusterZoneResponse,
|
|
38
|
+
ModifyParamItem,
|
|
35
39
|
AssociateSecurityGroupsRequest,
|
|
36
40
|
DescribeBinlogDownloadUrlRequest,
|
|
37
41
|
CreateAccountsResponse,
|
|
@@ -43,6 +47,7 @@ import {
|
|
|
43
47
|
DescribeInstancesResponse,
|
|
44
48
|
ClusterInstanceDetail,
|
|
45
49
|
AddClusterSlaveZoneResponse,
|
|
50
|
+
OldAddrInfo,
|
|
46
51
|
ModifyClusterNameResponse,
|
|
47
52
|
DescribeClusterParamsResponse,
|
|
48
53
|
IsolateInstanceResponse,
|
|
@@ -73,13 +78,14 @@ import {
|
|
|
73
78
|
DescribeResourcesByDealNameResponse,
|
|
74
79
|
ResumeServerlessResponse,
|
|
75
80
|
CreateAccountsRequest,
|
|
76
|
-
|
|
77
|
-
|
|
81
|
+
DeleteAuditRuleTemplatesRequest,
|
|
82
|
+
DescribeAuditRuleTemplatesResponse,
|
|
78
83
|
SwitchClusterZoneRequest,
|
|
79
84
|
Ability,
|
|
80
85
|
InstanceInitInfo,
|
|
81
86
|
UpgradeInstanceRequest,
|
|
82
87
|
RollbackTable,
|
|
88
|
+
IsolateInstanceRequest,
|
|
83
89
|
DescribeClusterDetailRequest,
|
|
84
90
|
DeleteBackupResponse,
|
|
85
91
|
Tag,
|
|
@@ -93,13 +99,17 @@ import {
|
|
|
93
99
|
BackupFileInfo,
|
|
94
100
|
TablePrivileges,
|
|
95
101
|
DescribeBinlogDownloadUrlResponse,
|
|
102
|
+
DescribeAuditRuleWithInstanceIdsResponse,
|
|
103
|
+
UpgradeInstanceResponse,
|
|
96
104
|
DescribeBackupListRequest,
|
|
97
105
|
SearchClusterDatabasesRequest,
|
|
98
106
|
CynosdbInstance,
|
|
107
|
+
DescribeAuditRuleWithInstanceIdsRequest,
|
|
99
108
|
DbTable,
|
|
100
109
|
ModifyClusterSlaveZoneResponse,
|
|
101
110
|
GrantAccountPrivilegesRequest,
|
|
102
111
|
BinlogItem,
|
|
112
|
+
ModifyAuditServiceRequest,
|
|
103
113
|
CreateClustersRequest,
|
|
104
114
|
RollbackTableInfo,
|
|
105
115
|
DescribeClustersResponse,
|
|
@@ -107,6 +117,7 @@ import {
|
|
|
107
117
|
DescribeBackupConfigResponse,
|
|
108
118
|
ModifyDBInstanceSecurityGroupsRequest,
|
|
109
119
|
DescribeParamTemplatesResponse,
|
|
120
|
+
CloseAuditServiceRequest,
|
|
110
121
|
AddInstancesResponse,
|
|
111
122
|
Addr,
|
|
112
123
|
ParamTemplateListInfo,
|
|
@@ -117,33 +128,39 @@ import {
|
|
|
117
128
|
DescribeBackupDownloadUrlRequest,
|
|
118
129
|
RollbackTimeRange,
|
|
119
130
|
OfflineInstanceRequest,
|
|
131
|
+
OpenAuditServiceRequest,
|
|
120
132
|
NetAddr,
|
|
121
133
|
TemplateParamInfo,
|
|
122
134
|
AssociateSecurityGroupsResponse,
|
|
123
135
|
DescribeResourcesByDealNameRequest,
|
|
136
|
+
CloseAuditServiceResponse,
|
|
124
137
|
CreateBackupResponse,
|
|
125
138
|
DescribeRollbackTimeValidityResponse,
|
|
139
|
+
AuditRuleTemplateInfo,
|
|
126
140
|
DescribeInstanceSlowQueriesResponse,
|
|
127
141
|
DescribeInstancesRequest,
|
|
128
142
|
DescribeBackupDownloadUrlResponse,
|
|
129
143
|
ResumeServerlessRequest,
|
|
130
144
|
InquirePriceCreateRequest,
|
|
131
|
-
|
|
145
|
+
CreateAuditRuleTemplateRequest,
|
|
132
146
|
ModifyBackupConfigResponse,
|
|
133
147
|
DescribeInstanceSpecsRequest,
|
|
134
148
|
ExportInstanceSlowQueriesRequest,
|
|
135
|
-
|
|
149
|
+
ParamItem,
|
|
136
150
|
ModifyAccountParamsRequest,
|
|
137
151
|
CynosdbCluster,
|
|
152
|
+
CreateAuditRuleTemplateResponse,
|
|
138
153
|
IsolateClusterResponse,
|
|
139
154
|
SearchClusterDatabasesResponse,
|
|
140
155
|
ObjectTask,
|
|
156
|
+
OpenAuditServiceResponse,
|
|
141
157
|
OfflineClusterResponse,
|
|
142
158
|
SwitchProxyVpcResponse,
|
|
143
159
|
RevokeAccountPrivilegesRequest,
|
|
160
|
+
DescribeAuditRuleTemplatesRequest,
|
|
144
161
|
InstanceSpec,
|
|
145
162
|
InquirePriceCreateResponse,
|
|
146
|
-
|
|
163
|
+
AuditLogFile,
|
|
147
164
|
SetRenewFlagResponse,
|
|
148
165
|
Account,
|
|
149
166
|
CreateBackupRequest,
|
|
@@ -166,6 +183,8 @@ import {
|
|
|
166
183
|
ClusterParamModifyLog,
|
|
167
184
|
DescribeInstanceSlowQueriesRequest,
|
|
168
185
|
CynosdbInstanceDetail,
|
|
186
|
+
RuleFilters,
|
|
187
|
+
ExportInstanceSlowQueriesResponse,
|
|
169
188
|
CynosdbClusterDetail,
|
|
170
189
|
ResetAccountPasswordRequest,
|
|
171
190
|
DescribeInstanceDetailRequest,
|
|
@@ -173,6 +192,7 @@ import {
|
|
|
173
192
|
DisassociateSecurityGroupsRequest,
|
|
174
193
|
ModifyBackupNameRequest,
|
|
175
194
|
ModifyInstanceNameResponse,
|
|
195
|
+
AuditRuleFilters,
|
|
176
196
|
DescribeBinlogSaveDaysResponse,
|
|
177
197
|
ModifyClusterParamRequest,
|
|
178
198
|
DescribeAccountsResponse,
|
|
@@ -185,8 +205,9 @@ import {
|
|
|
185
205
|
DescribeDBSecurityGroupsRequest,
|
|
186
206
|
DescribeAccountAllGrantPrivilegesRequest,
|
|
187
207
|
OfflineInstanceResponse,
|
|
188
|
-
|
|
208
|
+
ModifyAuditServiceResponse,
|
|
189
209
|
IsolateClusterRequest,
|
|
210
|
+
DeleteAuditRuleTemplatesResponse,
|
|
190
211
|
DescribeAuditLogFilesRequest,
|
|
191
212
|
DescribeClusterDetailResponse,
|
|
192
213
|
DescribeClusterInstanceGrpsResponse,
|
|
@@ -195,6 +216,7 @@ import {
|
|
|
195
216
|
DisassociateSecurityGroupsResponse,
|
|
196
217
|
ZoneStockInfo,
|
|
197
218
|
InquirePriceRenewResponse,
|
|
219
|
+
ModifyAuditRuleTemplatesResponse,
|
|
198
220
|
} from "./cynosdb_models"
|
|
199
221
|
|
|
200
222
|
/**
|
|
@@ -207,13 +229,23 @@ export class Client extends AbstractClient {
|
|
|
207
229
|
}
|
|
208
230
|
|
|
209
231
|
/**
|
|
210
|
-
*
|
|
232
|
+
* 本接口(ModifyAuditService)用于修改云数据库审计日志保存时长、审计规则等服务配置。
|
|
211
233
|
*/
|
|
212
|
-
async
|
|
213
|
-
req:
|
|
214
|
-
cb?: (error: string, rep:
|
|
215
|
-
): Promise<
|
|
216
|
-
return this.request("
|
|
234
|
+
async ModifyAuditService(
|
|
235
|
+
req: ModifyAuditServiceRequest,
|
|
236
|
+
cb?: (error: string, rep: ModifyAuditServiceResponse) => void
|
|
237
|
+
): Promise<ModifyAuditServiceResponse> {
|
|
238
|
+
return this.request("ModifyAuditService", req, cb)
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* 下线实例
|
|
243
|
+
*/
|
|
244
|
+
async OfflineInstance(
|
|
245
|
+
req: OfflineInstanceRequest,
|
|
246
|
+
cb?: (error: string, rep: OfflineInstanceResponse) => void
|
|
247
|
+
): Promise<OfflineInstanceResponse> {
|
|
248
|
+
return this.request("OfflineInstance", req, cb)
|
|
217
249
|
}
|
|
218
250
|
|
|
219
251
|
/**
|
|
@@ -307,7 +339,7 @@ export class Client extends AbstractClient {
|
|
|
307
339
|
}
|
|
308
340
|
|
|
309
341
|
/**
|
|
310
|
-
* 本接口(DescribeClusterInstanceGrps
|
|
342
|
+
* 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。
|
|
311
343
|
*/
|
|
312
344
|
async DescribeClusterInstanceGrps(
|
|
313
345
|
req: DescribeClusterInstanceGrpsRequest,
|
|
@@ -327,13 +359,23 @@ export class Client extends AbstractClient {
|
|
|
327
359
|
}
|
|
328
360
|
|
|
329
361
|
/**
|
|
330
|
-
*
|
|
362
|
+
* TDSQL-C for MySQL实例开通审计服务
|
|
331
363
|
*/
|
|
332
|
-
async
|
|
333
|
-
req:
|
|
334
|
-
cb?: (error: string, rep:
|
|
335
|
-
): Promise<
|
|
336
|
-
return this.request("
|
|
364
|
+
async OpenAuditService(
|
|
365
|
+
req: OpenAuditServiceRequest,
|
|
366
|
+
cb?: (error: string, rep: OpenAuditServiceResponse) => void
|
|
367
|
+
): Promise<OpenAuditServiceResponse> {
|
|
368
|
+
return this.request("OpenAuditService", req, cb)
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* 创建审计规则模版
|
|
373
|
+
*/
|
|
374
|
+
async CreateAuditRuleTemplate(
|
|
375
|
+
req: CreateAuditRuleTemplateRequest,
|
|
376
|
+
cb?: (error: string, rep: CreateAuditRuleTemplateResponse) => void
|
|
377
|
+
): Promise<CreateAuditRuleTemplateResponse> {
|
|
378
|
+
return this.request("CreateAuditRuleTemplate", req, cb)
|
|
337
379
|
}
|
|
338
380
|
|
|
339
381
|
/**
|
|
@@ -376,6 +418,16 @@ export class Client extends AbstractClient {
|
|
|
376
418
|
return this.request("DescribeInstanceDetail", req, cb)
|
|
377
419
|
}
|
|
378
420
|
|
|
421
|
+
/**
|
|
422
|
+
* 查询审计规则模版信息
|
|
423
|
+
*/
|
|
424
|
+
async DescribeAuditRuleTemplates(
|
|
425
|
+
req: DescribeAuditRuleTemplatesRequest,
|
|
426
|
+
cb?: (error: string, rep: DescribeAuditRuleTemplatesResponse) => void
|
|
427
|
+
): Promise<DescribeAuditRuleTemplatesResponse> {
|
|
428
|
+
return this.request("DescribeAuditRuleTemplates", req, cb)
|
|
429
|
+
}
|
|
430
|
+
|
|
379
431
|
/**
|
|
380
432
|
* 查询指定集群有效回滚时间范围
|
|
381
433
|
*/
|
|
@@ -407,13 +459,13 @@ export class Client extends AbstractClient {
|
|
|
407
459
|
}
|
|
408
460
|
|
|
409
461
|
/**
|
|
410
|
-
*
|
|
462
|
+
* 删除审计规则模版
|
|
411
463
|
*/
|
|
412
|
-
async
|
|
413
|
-
req:
|
|
414
|
-
cb?: (error: string, rep:
|
|
415
|
-
): Promise<
|
|
416
|
-
return this.request("
|
|
464
|
+
async DeleteAuditRuleTemplates(
|
|
465
|
+
req: DeleteAuditRuleTemplatesRequest,
|
|
466
|
+
cb?: (error: string, rep: DeleteAuditRuleTemplatesResponse) => void
|
|
467
|
+
): Promise<DeleteAuditRuleTemplatesResponse> {
|
|
468
|
+
return this.request("DeleteAuditRuleTemplates", req, cb)
|
|
417
469
|
}
|
|
418
470
|
|
|
419
471
|
/**
|
|
@@ -487,13 +539,13 @@ export class Client extends AbstractClient {
|
|
|
487
539
|
}
|
|
488
540
|
|
|
489
541
|
/**
|
|
490
|
-
*
|
|
542
|
+
* TDSQL-C for MySQL实例关闭审计服务
|
|
491
543
|
*/
|
|
492
|
-
async
|
|
493
|
-
req:
|
|
494
|
-
cb?: (error: string, rep:
|
|
495
|
-
): Promise<
|
|
496
|
-
return this.request("
|
|
544
|
+
async CloseAuditService(
|
|
545
|
+
req: CloseAuditServiceRequest,
|
|
546
|
+
cb?: (error: string, rep: CloseAuditServiceResponse) => void
|
|
547
|
+
): Promise<CloseAuditServiceResponse> {
|
|
548
|
+
return this.request("CloseAuditService", req, cb)
|
|
497
549
|
}
|
|
498
550
|
|
|
499
551
|
/**
|
|
@@ -516,6 +568,16 @@ export class Client extends AbstractClient {
|
|
|
516
568
|
return this.request("DescribeMaintainPeriod", req, cb)
|
|
517
569
|
}
|
|
518
570
|
|
|
571
|
+
/**
|
|
572
|
+
* 恢复serverless集群
|
|
573
|
+
*/
|
|
574
|
+
async ResumeServerless(
|
|
575
|
+
req: ResumeServerlessRequest,
|
|
576
|
+
cb?: (error: string, rep: ResumeServerlessResponse) => void
|
|
577
|
+
): Promise<ResumeServerlessResponse> {
|
|
578
|
+
return this.request("ResumeServerless", req, cb)
|
|
579
|
+
}
|
|
580
|
+
|
|
519
581
|
/**
|
|
520
582
|
* 本接口(SwitchProxyVpc)更换数据库代理vpc
|
|
521
583
|
*/
|
|
@@ -607,7 +669,7 @@ export class Client extends AbstractClient {
|
|
|
607
669
|
}
|
|
608
670
|
|
|
609
671
|
/**
|
|
610
|
-
*
|
|
672
|
+
* 该接口(DescribeClusterDetail)显示集群详情
|
|
611
673
|
*/
|
|
612
674
|
async DescribeClusterDetail(
|
|
613
675
|
req: DescribeClusterDetailRequest,
|
|
@@ -617,13 +679,13 @@ export class Client extends AbstractClient {
|
|
|
617
679
|
}
|
|
618
680
|
|
|
619
681
|
/**
|
|
620
|
-
*
|
|
682
|
+
* 获取实例的审计规则
|
|
621
683
|
*/
|
|
622
|
-
async
|
|
623
|
-
req:
|
|
624
|
-
cb?: (error: string, rep:
|
|
625
|
-
): Promise<
|
|
626
|
-
return this.request("
|
|
684
|
+
async DescribeAuditRuleWithInstanceIds(
|
|
685
|
+
req: DescribeAuditRuleWithInstanceIdsRequest,
|
|
686
|
+
cb?: (error: string, rep: DescribeAuditRuleWithInstanceIdsResponse) => void
|
|
687
|
+
): Promise<DescribeAuditRuleWithInstanceIdsResponse> {
|
|
688
|
+
return this.request("DescribeAuditRuleWithInstanceIds", req, cb)
|
|
627
689
|
}
|
|
628
690
|
|
|
629
691
|
/**
|
|
@@ -696,6 +758,16 @@ export class Client extends AbstractClient {
|
|
|
696
758
|
return this.request("DescribeResourcesByDealName", req, cb)
|
|
697
759
|
}
|
|
698
760
|
|
|
761
|
+
/**
|
|
762
|
+
* 批量授权账号权限
|
|
763
|
+
*/
|
|
764
|
+
async GrantAccountPrivileges(
|
|
765
|
+
req: GrantAccountPrivilegesRequest,
|
|
766
|
+
cb?: (error: string, rep: GrantAccountPrivilegesResponse) => void
|
|
767
|
+
): Promise<GrantAccountPrivilegesResponse> {
|
|
768
|
+
return this.request("GrantAccountPrivileges", req, cb)
|
|
769
|
+
}
|
|
770
|
+
|
|
699
771
|
/**
|
|
700
772
|
* 暂停serverless集群
|
|
701
773
|
*/
|
|
@@ -816,6 +888,26 @@ export class Client extends AbstractClient {
|
|
|
816
888
|
return this.request("SetRenewFlag", req, cb)
|
|
817
889
|
}
|
|
818
890
|
|
|
891
|
+
/**
|
|
892
|
+
* 本接口(SearchClusterDatabases)搜索集群database列表
|
|
893
|
+
*/
|
|
894
|
+
async SearchClusterDatabases(
|
|
895
|
+
req: SearchClusterDatabasesRequest,
|
|
896
|
+
cb?: (error: string, rep: SearchClusterDatabasesResponse) => void
|
|
897
|
+
): Promise<SearchClusterDatabasesResponse> {
|
|
898
|
+
return this.request("SearchClusterDatabases", req, cb)
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* 修改审计规则模版
|
|
903
|
+
*/
|
|
904
|
+
async ModifyAuditRuleTemplates(
|
|
905
|
+
req: ModifyAuditRuleTemplatesRequest,
|
|
906
|
+
cb?: (error: string, rep: ModifyAuditRuleTemplatesResponse) => void
|
|
907
|
+
): Promise<ModifyAuditRuleTemplatesResponse> {
|
|
908
|
+
return this.request("ModifyAuditRuleTemplates", req, cb)
|
|
909
|
+
}
|
|
910
|
+
|
|
819
911
|
/**
|
|
820
912
|
* 本接口(SearchClusterTables)搜索集群数据表列表
|
|
821
913
|
*/
|
|
@@ -866,6 +958,16 @@ export class Client extends AbstractClient {
|
|
|
866
958
|
return this.request("DescribeRollbackTimeValidity", req, cb)
|
|
867
959
|
}
|
|
868
960
|
|
|
961
|
+
/**
|
|
962
|
+
* 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。
|
|
963
|
+
*/
|
|
964
|
+
async ModifyDBInstanceSecurityGroups(
|
|
965
|
+
req: ModifyDBInstanceSecurityGroupsRequest,
|
|
966
|
+
cb?: (error: string, rep: ModifyDBInstanceSecurityGroupsResponse) => void
|
|
967
|
+
): Promise<ModifyDBInstanceSecurityGroupsResponse> {
|
|
968
|
+
return this.request("ModifyDBInstanceSecurityGroups", req, cb)
|
|
969
|
+
}
|
|
970
|
+
|
|
869
971
|
/**
|
|
870
972
|
* 本接口(AddInstances)用于集群添加实例
|
|
871
973
|
*/
|