tencentcloud-sdk-nodejs-mongodb 4.0.871 → 4.0.873

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-mongodb",
3
- "version": "4.0.871",
3
+ "version": "4.0.873",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -23,7 +23,7 @@
23
23
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-05-22 01:10:06 |
24
24
  | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-03-20 01:08:23 |
25
25
  | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-05-31 01:10:46 |
26
- | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-05-13 01:09:20 |
26
+ | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-06-12 01:12:04 |
27
27
  | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
28
28
  | bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2024-03-20 01:08:40 |
29
29
  | bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2024-04-24 01:05:22 |
@@ -34,16 +34,16 @@
34
34
  | bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2024-04-22 01:09:00 |
35
35
  | bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2024-04-16 01:05:23 |
36
36
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2024-03-20 01:09:12 |
37
- | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2024-05-17 01:11:17 |
37
+ | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2024-06-11 11:13:54 |
38
38
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-05-09 01:09:01 |
39
39
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-05-23 01:14:17 |
40
- | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-05-28 01:14:36 |
40
+ | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-06-12 01:16:37 |
41
41
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-03-21 01:09:20 |
42
42
  | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-06-06 01:17:16 |
43
43
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-06-06 01:17:58 |
44
44
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-03-20 01:10:04 |
45
45
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-05-21 01:17:01 |
46
- | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-04-22 01:10:25 |
46
+ | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-12 01:21:04 |
47
47
  | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2024-04-26 01:10:21 |
48
48
  | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-05-27 01:18:10 |
49
49
  | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
@@ -60,7 +60,7 @@
60
60
  | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
61
61
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
62
62
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-05-29 01:21:54 |
63
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-06-07 01:26:05 |
63
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-06-12 01:26:26 |
64
64
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-03-20 01:12:05 |
65
65
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-03-20 01:12:14 |
66
66
  | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-04-22 01:12:28 |
@@ -80,9 +80,9 @@
80
80
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-03-20 01:14:24 |
81
81
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-03-20 01:14:27 |
82
82
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-04-26 01:13:59 |
83
- | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-06-07 01:39:09 |
83
+ | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-06-12 01:39:26 |
84
84
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-05-30 01:33:24 |
85
- | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-06-05 01:36:05 |
85
+ | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-06-10 01:40:58 |
86
86
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-04-22 01:15:04 |
87
87
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
88
88
  | dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-05-27 01:34:38 |
@@ -94,10 +94,10 @@
94
94
  | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-03-20 01:15:56 |
95
95
  | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-03-20 01:16:13 |
96
96
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
97
- | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-05-17 01:39:38 |
97
+ | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-06-10 01:46:51 |
98
98
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-05-14 01:51:30 |
99
99
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-06-07 01:48:47 |
100
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-06-07 01:49:57 |
100
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-06-12 01:49:59 |
101
101
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-06-05 10:32:35 |
102
102
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-06-04 01:43:35 |
103
103
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-05-09 01:15:52 |
@@ -123,12 +123,12 @@
123
123
  | ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-04-03 11:20:41 |
124
124
  | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
125
125
  | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 |
126
- | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-06-06 01:57:24 |
126
+ | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-06-12 01:56:37 |
127
127
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
128
128
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-05-14 02:02:07 |
129
129
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 |
130
130
  | irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2024-03-20 01:19:05 |
131
- | iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-05-09 01:17:57 |
131
+ | iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-06-10 02:00:36 |
132
132
  | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-03-20 01:19:17 |
133
133
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 |
134
134
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 |
@@ -145,8 +145,8 @@
145
145
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
146
146
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-03-20 01:20:23 |
147
147
  | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-05-28 01:54:57 |
148
- | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-06-07 02:09:02 |
149
- | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-06-07 02:09:31 |
148
+ | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-06-12 02:08:47 |
149
+ | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-06-10 02:09:00 |
150
150
  | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-06-06 02:11:55 |
151
151
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-05-13 01:23:45 |
152
152
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-06-05 02:02:03 |
@@ -155,16 +155,16 @@
155
155
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 |
156
156
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
157
157
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-06-05 02:02:33 |
158
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-06-07 02:14:22 |
158
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-06-10 02:13:49 |
159
159
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-04-22 01:22:30 |
160
160
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-05-08 01:23:38 |
161
161
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-03-20 01:22:23 |
162
162
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
163
- | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-06-07 02:17:01 |
163
+ | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-06-10 02:16:23 |
164
164
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-03-20 01:22:42 |
165
165
  | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-06-06 02:18:50 |
166
166
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-05-20 02:02:25 |
167
- | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-06-05 02:06:41 |
167
+ | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-06-10 02:18:13 |
168
168
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-04-22 01:23:34 |
169
169
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
170
170
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
@@ -184,7 +184,7 @@
184
184
  | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-05-21 02:06:48 |
185
185
  | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-03-20 01:24:08 |
186
186
  | svp | [节省计划](https://cloud.tencent.com/document/product/1761) | 2024-05-23 17:09:13 |
187
- | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2024-03-21 01:24:01 |
187
+ | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2024-06-12 02:24:32 |
188
188
  | tag | [标签](https://cloud.tencent.com/document/product/651) | 2024-03-22 01:21:43 |
189
189
  | tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2024-03-20 01:24:15 |
190
190
  | tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2024-06-05 02:12:06 |
@@ -206,7 +206,7 @@
206
206
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-05-29 02:13:49 |
207
207
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-04-22 01:26:50 |
208
208
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-03-20 01:26:14 |
209
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-06-07 02:35:40 |
209
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-06-07 12:08:08 |
210
210
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-03-20 01:27:05 |
211
211
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
212
212
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
@@ -219,14 +219,14 @@
219
219
  | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-05-15 01:34:42 |
220
220
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
221
221
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-04-29 01:26:41 |
222
- | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-05-28 02:20:13 |
222
+ | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-06-12 02:40:31 |
223
223
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2024-03-20 01:28:59 |
224
224
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
225
225
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-06-03 02:23:52 |
226
226
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-06-06 02:42:14 |
227
227
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-06-07 02:42:38 |
228
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-06-03 02:25:00 |
229
- | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-06-04 02:26:13 |
228
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-06-12 02:42:04 |
229
+ | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-06-10 02:42:22 |
230
230
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-06-04 02:27:15 |
231
231
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 |
232
232
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-04-24 01:23:54 |
@@ -241,7 +241,7 @@
241
241
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-06-07 02:52:58 |
242
242
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-06-06 02:53:14 |
243
243
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
244
- | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-06-07 02:54:55 |
244
+ | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-06-12 02:53:58 |
245
245
  | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-05-15 01:38:36 |
246
246
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
247
247
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 |
@@ -29,12 +29,15 @@ import {
29
29
  DescribeSlowLogsRequest,
30
30
  FlushInstanceRouterConfigResponse,
31
31
  InstanceMultiParam,
32
+ DescribeBackupRulesResponse,
32
33
  SlowLogPattern,
33
34
  AssignProjectResponse,
34
35
  DescribeDBInstanceDealResponse,
35
36
  OfflineIsolatedDBInstanceResponse,
36
37
  IsolateDBInstanceResponse,
37
38
  DescribeSecurityGroupRequest,
39
+ RenameInstanceRequest,
40
+ DescribeBackupRulesRequest,
38
41
  DescribeBackupDownloadTaskResponse,
39
42
  AddNodeList,
40
43
  DBInstancePrice,
@@ -43,7 +46,7 @@ import {
43
46
  FlashbackDatabase,
44
47
  ModifyDBInstanceNetworkAddressRequest,
45
48
  CreateDBInstanceHourResponse,
46
- DescribeDBInstanceNodePropertyRequest,
49
+ EnableTransparentDataEncryptionRequest,
47
50
  DeleteAccountUserRequest,
48
51
  SpecItem,
49
52
  ModifyDBInstanceNetworkAddressResponse,
@@ -58,6 +61,7 @@ import {
58
61
  ModifyDBInstanceSpecRequest,
59
62
  Auth,
60
63
  FlashBackDBInstanceRequest,
64
+ TerminateDBInstancesResponse,
61
65
  ResetDBInstancePasswordRequest,
62
66
  InstanceIntegerParam,
63
67
  ModifyNetworkAddress,
@@ -95,18 +99,21 @@ import {
95
99
  DescribeDBBackupsRequest,
96
100
  DescribeClientConnectionsRequest,
97
101
  ShardInfo,
98
- TerminateDBInstancesResponse,
99
- RenameInstanceRequest,
102
+ SetBackupRulesResponse,
103
+ DescribeDBInstanceNodePropertyRequest,
100
104
  RenewDBInstancesResponse,
101
105
  InstanceEnumParam,
102
106
  FlashBackDBInstanceResponse,
103
107
  RenameInstanceResponse,
108
+ DescribeTransparentDataEncryptionStatusResponse,
104
109
  CreateBackupDBInstanceRequest,
105
110
  SetAccountUserPrivilegeRequest,
106
111
  NodeProperty,
107
112
  KillOpsResponse,
108
113
  IsolateDBInstanceRequest,
109
114
  CreateDBInstanceHourRequest,
115
+ EnableTransparentDataEncryptionResponse,
116
+ SetBackupRulesRequest,
110
117
  AssignProjectRequest,
111
118
  CreateBackupDownloadTaskResponse,
112
119
  SpecificationInfo,
@@ -118,8 +125,10 @@ import {
118
125
  DeleteAccountUserResponse,
119
126
  DescribeDBInstancesResponse,
120
127
  OfflineIsolatedDBInstanceRequest,
128
+ KMSInfoDetail,
121
129
  InquirePriceCreateDBInstancesRequest,
122
130
  DescribeInstanceParamsResponse,
131
+ DescribeTransparentDataEncryptionStatusRequest,
123
132
  RemoveNodeList,
124
133
  SetInstanceMaintenanceRequest,
125
134
  InstanceDetail,
@@ -247,6 +256,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
247
256
  return this.request("IsolateDBInstance", req, cb)
248
257
  }
249
258
 
259
+ /**
260
+ * 本接口(SetBackupRules)用于设置 MongoDB 云数据库的自动备份规则。
261
+ */
262
+ async SetBackupRules(
263
+ req: SetBackupRulesRequest,
264
+ cb?: (error: string, rep: SetBackupRulesResponse) => void
265
+ ): Promise<SetBackupRulesResponse> {
266
+ return this.request("SetBackupRules", req, cb)
267
+ }
268
+
250
269
  /**
251
270
  * 本接口 (InquirePriceModifyDBInstanceSpec) 用于查询实例配置变更后的价格。
252
271
  */
@@ -257,6 +276,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
257
276
  return this.request("InquirePriceModifyDBInstanceSpec", req, cb)
258
277
  }
259
278
 
279
+ /**
280
+ * 本接口(DescribeBackupRules)用于获取实例自动备份配置信息。
281
+ */
282
+ async DescribeBackupRules(
283
+ req: DescribeBackupRulesRequest,
284
+ cb?: (error: string, rep: DescribeBackupRulesResponse) => void
285
+ ): Promise<DescribeBackupRulesResponse> {
286
+ return this.request("DescribeBackupRules", req, cb)
287
+ }
288
+
260
289
  /**
261
290
  * 查询异步任务状态接口
262
291
  */
@@ -439,6 +468,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
439
468
  return this.request("AssignProject", req, cb)
440
469
  }
441
470
 
471
+ /**
472
+ * 获取实例透明加密的开启状态
473
+ */
474
+ async DescribeTransparentDataEncryptionStatus(
475
+ req: DescribeTransparentDataEncryptionStatusRequest,
476
+ cb?: (error: string, rep: DescribeTransparentDataEncryptionStatusResponse) => void
477
+ ): Promise<DescribeTransparentDataEncryptionStatusResponse> {
478
+ return this.request("DescribeTransparentDataEncryptionStatus", req, cb)
479
+ }
480
+
442
481
  /**
443
482
  * 本接口(DescribeAccountUsers)用于获取当前实例的全部账号。
444
483
  */
@@ -479,6 +518,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
479
518
  return this.request("KillOps", req, cb)
480
519
  }
481
520
 
521
+ /**
522
+ * 本接口(EnableTransparentDataEncryption)用于开启云数据库 MongoDB 的透明加密能力。
523
+ */
524
+ async EnableTransparentDataEncryption(
525
+ req: EnableTransparentDataEncryptionRequest,
526
+ cb?: (error: string, rep: EnableTransparentDataEncryptionResponse) => void
527
+ ): Promise<EnableTransparentDataEncryptionResponse> {
528
+ return this.request("EnableTransparentDataEncryption", req, cb)
529
+ }
530
+
482
531
  /**
483
532
  * 本接口(CreateBackupDBInstance)用于备份实例。
484
533
  */
@@ -348,6 +348,30 @@ export interface InstanceMultiParam {
348
348
  ValueType: string
349
349
  }
350
350
 
351
+ /**
352
+ * DescribeBackupRules返回参数结构体
353
+ */
354
+ export interface DescribeBackupRulesResponse {
355
+ /**
356
+ * 备份数据保留期限。单位为:天。
357
+ */
358
+ BackupSaveTime?: number
359
+ /**
360
+ * 自动备份开始时间。
361
+ */
362
+ BackupTime?: number
363
+ /**
364
+ * 备份方式。
365
+ - 0:逻辑备份。
366
+ - 1:物理备份。
367
+ */
368
+ BackupMethod?: number
369
+ /**
370
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
371
+ */
372
+ RequestId?: string
373
+ }
374
+
351
375
  /**
352
376
  * 用于描述MongoDB数据库慢日志统计信息
353
377
  */
@@ -452,6 +476,30 @@ export interface DescribeSecurityGroupRequest {
452
476
  InstanceId: string
453
477
  }
454
478
 
479
+ /**
480
+ * RenameInstance请求参数结构体
481
+ */
482
+ export interface RenameInstanceRequest {
483
+ /**
484
+ * 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
485
+ */
486
+ InstanceId: string
487
+ /**
488
+ * 自定义实例名称,名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符 -
489
+ */
490
+ NewName: string
491
+ }
492
+
493
+ /**
494
+ * DescribeBackupRules请求参数结构体
495
+ */
496
+ export interface DescribeBackupRulesRequest {
497
+ /**
498
+ * 指定实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
499
+ */
500
+ InstanceId: string
501
+ }
502
+
455
503
  /**
456
504
  * DescribeBackupDownloadTask返回参数结构体
457
505
  */
@@ -599,39 +647,21 @@ export interface CreateDBInstanceHourResponse {
599
647
  }
600
648
 
601
649
  /**
602
- * DescribeDBInstanceNodeProperty请求参数结构体
650
+ * EnableTransparentDataEncryption请求参数结构体
603
651
  */
604
- export interface DescribeDBInstanceNodePropertyRequest {
652
+ export interface EnableTransparentDataEncryptionRequest {
605
653
  /**
606
- * 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同。
654
+ * 实例 ID,例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。目前支持通用版本包含:4.4、5.0,云盘版暂不支持。
607
655
  */
608
656
  InstanceId: string
609
657
  /**
610
- * 节点ID
611
- */
612
- NodeIds?: Array<string>
613
- /**
614
- * 节点角色。可选值包括:
615
- <ul><li>PRIMARY:主节点。</li><li>SECONDARY:从节点。</li><li>READONLY:只读节点。</li><li>ARBITER:仲裁节点。</li></ul>
616
- */
617
- Roles?: Array<string>
618
- /**
619
- * 该参数指定节点是否为Hidden节点,默认为false。
658
+ * [密钥管理系统(Key Management Service,KMS)](https://cloud.tencent.com/document/product/573/18809)服务所在地域,例如 ap-shanghai
620
659
  */
621
- OnlyHidden?: boolean
660
+ KmsRegion: string
622
661
  /**
623
- * 该参数指定选举新主节点的优先级。其取值范围为[0,100],数值越高,优先级越高。
662
+ * 密钥 ID。若不设置该参数,不指定具体的密钥 ID,由腾讯云自动生成密钥。
624
663
  */
625
- Priority?: number
626
- /**
627
- * 该参数指定节点投票权。
628
- <ul><li>1:具有投票权。</li><li>0:无投票权。</li></ul>
629
- */
630
- Votes?: number
631
- /**
632
- * 节点标签。
633
- */
634
- Tags?: Array<NodeTag>
664
+ KeyId?: string
635
665
  }
636
666
 
637
667
  /**
@@ -1099,6 +1129,16 @@ export interface FlashBackDBInstanceRequest {
1099
1129
  TargetInstanceId?: string
1100
1130
  }
1101
1131
 
1132
+ /**
1133
+ * TerminateDBInstances返回参数结构体
1134
+ */
1135
+ export interface TerminateDBInstancesResponse {
1136
+ /**
1137
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1138
+ */
1139
+ RequestId?: string
1140
+ }
1141
+
1102
1142
  /**
1103
1143
  * ResetDBInstancePassword请求参数结构体
1104
1144
  */
@@ -1893,9 +1933,9 @@ export interface ShardInfo {
1893
1933
  }
1894
1934
 
1895
1935
  /**
1896
- * TerminateDBInstances返回参数结构体
1936
+ * SetBackupRules返回参数结构体
1897
1937
  */
1898
- export interface TerminateDBInstancesResponse {
1938
+ export interface SetBackupRulesResponse {
1899
1939
  /**
1900
1940
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1901
1941
  */
@@ -1903,17 +1943,39 @@ export interface TerminateDBInstancesResponse {
1903
1943
  }
1904
1944
 
1905
1945
  /**
1906
- * RenameInstance请求参数结构体
1946
+ * DescribeDBInstanceNodeProperty请求参数结构体
1907
1947
  */
1908
- export interface RenameInstanceRequest {
1948
+ export interface DescribeDBInstanceNodePropertyRequest {
1909
1949
  /**
1910
- * 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
1950
+ * 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同。
1911
1951
  */
1912
1952
  InstanceId: string
1913
1953
  /**
1914
- * 自定义实例名称,名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符 -
1954
+ * 节点ID。
1915
1955
  */
1916
- NewName: string
1956
+ NodeIds?: Array<string>
1957
+ /**
1958
+ * 节点角色。可选值包括:
1959
+ <ul><li>PRIMARY:主节点。</li><li>SECONDARY:从节点。</li><li>READONLY:只读节点。</li><li>ARBITER:仲裁节点。</li></ul>
1960
+ */
1961
+ Roles?: Array<string>
1962
+ /**
1963
+ * 该参数指定节点是否为Hidden节点,默认为false。
1964
+ */
1965
+ OnlyHidden?: boolean
1966
+ /**
1967
+ * 该参数指定选举新主节点的优先级。其取值范围为[0,100],数值越高,优先级越高。
1968
+ */
1969
+ Priority?: number
1970
+ /**
1971
+ * 该参数指定节点投票权。
1972
+ <ul><li>1:具有投票权。</li><li>0:无投票权。</li></ul>
1973
+ */
1974
+ Votes?: number
1975
+ /**
1976
+ * 节点标签。
1977
+ */
1978
+ Tags?: Array<NodeTag>
1917
1979
  }
1918
1980
 
1919
1981
  /**
@@ -1993,6 +2055,27 @@ export interface RenameInstanceResponse {
1993
2055
  RequestId?: string
1994
2056
  }
1995
2057
 
2058
+ /**
2059
+ * DescribeTransparentDataEncryptionStatus返回参数结构体
2060
+ */
2061
+ export interface DescribeTransparentDataEncryptionStatusResponse {
2062
+ /**
2063
+ * 表示是否开启了透明加密。
2064
+ - close:未开启。
2065
+ - open:已开启。
2066
+ */
2067
+ TransparentDataEncryptionStatus?: string
2068
+ /**
2069
+ * 已绑定的密钥列表,如未绑定,返回null。
2070
+ 注意:此字段可能返回 null,表示取不到有效值。
2071
+ */
2072
+ KeyInfoList?: Array<KMSInfoDetail>
2073
+ /**
2074
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2075
+ */
2076
+ RequestId?: string
2077
+ }
2078
+
1996
2079
  /**
1997
2080
  * CreateBackupDBInstance请求参数结构体
1998
2081
  */
@@ -2248,6 +2331,48 @@ export interface CreateDBInstanceHourRequest {
2248
2331
  HiddenZone?: string
2249
2332
  }
2250
2333
 
2334
+ /**
2335
+ * EnableTransparentDataEncryption返回参数结构体
2336
+ */
2337
+ export interface EnableTransparentDataEncryptionResponse {
2338
+ /**
2339
+ * 开启透明加密的异步流程id,用于查询流程状态。
2340
+ */
2341
+ FlowId?: number
2342
+ /**
2343
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2344
+ */
2345
+ RequestId?: string
2346
+ }
2347
+
2348
+ /**
2349
+ * SetBackupRules请求参数结构体
2350
+ */
2351
+ export interface SetBackupRulesRequest {
2352
+ /**
2353
+ * 实例 ID,例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
2354
+ */
2355
+ InstanceId: string
2356
+ /**
2357
+ * 设置自动备份方式。- 0:逻辑备份。- 1:物理备份。-3:快照备份(仅云盘版支持)。
2358
+ */
2359
+ BackupMethod: number
2360
+ /**
2361
+ * 设置自动备份开始时间。取值范围为:[0,23],例如:该参数设置为2,表示02:00开始备份。
2362
+ */
2363
+ BackupTime: number
2364
+ /**
2365
+ * 设置自动备份发生错误时,是否发送失败告警。
2366
+ - true:发送。
2367
+ - false:不发送。
2368
+ */
2369
+ Notify?: boolean
2370
+ /**
2371
+ * 指定备份数据保存天数。默认为 7 天,支持设置为7、30、90、180、365。
2372
+ */
2373
+ BackupRetentionPeriod?: number
2374
+ }
2375
+
2251
2376
  /**
2252
2377
  * AssignProject请求参数结构体
2253
2378
  */
@@ -2438,6 +2563,42 @@ export interface OfflineIsolatedDBInstanceRequest {
2438
2563
  InstanceId: string
2439
2564
  }
2440
2565
 
2566
+ /**
2567
+ * KMS密钥信息
2568
+ */
2569
+ export interface KMSInfoDetail {
2570
+ /**
2571
+ * 主密钥 ID。
2572
+ 注意:此字段可能返回 null,表示取不到有效值。
2573
+ */
2574
+ KeyId?: string
2575
+ /**
2576
+ * 主密钥名称。
2577
+ 注意:此字段可能返回 null,表示取不到有效值。
2578
+ */
2579
+ KeyName?: string
2580
+ /**
2581
+ * 实例与密钥绑定时间。
2582
+ 注意:此字段可能返回 null,表示取不到有效值。
2583
+ */
2584
+ CreateTime?: string
2585
+ /**
2586
+ * 密钥状态。
2587
+ 注意:此字段可能返回 null,表示取不到有效值。
2588
+ */
2589
+ Status?: string
2590
+ /**
2591
+ * 密钥用途。
2592
+ 注意:此字段可能返回 null,表示取不到有效值。
2593
+ */
2594
+ KeyUsage?: string
2595
+ /**
2596
+ * 密钥来源。
2597
+ 注意:此字段可能返回 null,表示取不到有效值。
2598
+ */
2599
+ KeyOrigin?: string
2600
+ }
2601
+
2441
2602
  /**
2442
2603
  * InquirePriceCreateDBInstances请求参数结构体
2443
2604
  */
@@ -2565,6 +2726,16 @@ export interface DescribeInstanceParamsResponse {
2565
2726
  RequestId?: string
2566
2727
  }
2567
2728
 
2729
+ /**
2730
+ * DescribeTransparentDataEncryptionStatus请求参数结构体
2731
+ */
2732
+ export interface DescribeTransparentDataEncryptionStatusRequest {
2733
+ /**
2734
+ * 指定实例 ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
2735
+ */
2736
+ InstanceId: string
2737
+ }
2738
+
2568
2739
  /**
2569
2740
  * 修改实例节点详情
2570
2741
  */
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DescribeSpecInfoRequest, CreateDBInstanceRequest, DescribeCurrentOpResponse, DescribeAccountUsersRequest, SetInstanceMaintenanceResponse, CreateBackupDBInstanceResponse, FlushInstanceRouterConfigRequest, KillOpsRequest, InquirePriceRenewDBInstancesRequest, DescribeSlowLogsRequest, FlushInstanceRouterConfigResponse, AssignProjectResponse, DescribeDBInstanceDealResponse, OfflineIsolatedDBInstanceResponse, IsolateDBInstanceResponse, DescribeSecurityGroupRequest, DescribeBackupDownloadTaskResponse, SetAccountUserPrivilegeResponse, ModifyDBInstanceNetworkAddressRequest, CreateDBInstanceHourResponse, DescribeDBInstanceNodePropertyRequest, DeleteAccountUserRequest, ModifyDBInstanceNetworkAddressResponse, CreateAccountUserResponse, DescribeSlowLogPatternsResponse, DescribeSlowLogsResponse, InquirePriceModifyDBInstanceSpecRequest, DescribeDBInstancesRequest, ModifyDBInstanceSpecRequest, FlashBackDBInstanceRequest, ResetDBInstancePasswordRequest, DescribeAsyncRequestInfoResponse, CreateDBInstanceResponse, CreateAccountUserRequest, ModifyDBInstanceSecurityGroupRequest, DescribeAccountUsersResponse, DescribeBackupDownloadTaskRequest, DescribeClientConnectionsResponse, TerminateDBInstancesRequest, DescribeDBBackupsResponse, ModifyDBInstanceSecurityGroupResponse, DescribeInstanceParamsRequest, InquirePriceCreateDBInstancesResponse, DescribeSecurityGroupResponse, ResetDBInstancePasswordResponse, DescribeDBInstanceDealRequest, DescribeAsyncRequestInfoRequest, CreateBackupDownloadTaskRequest, InquirePriceModifyDBInstanceSpecResponse, DescribeDBInstanceNodePropertyResponse, DescribeCurrentOpRequest, DescribeDBBackupsRequest, DescribeClientConnectionsRequest, TerminateDBInstancesResponse, RenameInstanceRequest, RenewDBInstancesResponse, FlashBackDBInstanceResponse, RenameInstanceResponse, CreateBackupDBInstanceRequest, SetAccountUserPrivilegeRequest, KillOpsResponse, IsolateDBInstanceRequest, CreateDBInstanceHourRequest, AssignProjectRequest, CreateBackupDownloadTaskResponse, DescribeSlowLogPatternsRequest, DescribeSpecInfoResponse, InquirePriceRenewDBInstancesResponse, DeleteAccountUserResponse, DescribeDBInstancesResponse, OfflineIsolatedDBInstanceRequest, InquirePriceCreateDBInstancesRequest, DescribeInstanceParamsResponse, SetInstanceMaintenanceRequest, ModifyDBInstanceSpecResponse, RenewDBInstancesRequest } from "./mongodb_models";
2
+ import { DescribeSpecInfoRequest, CreateDBInstanceRequest, DescribeCurrentOpResponse, DescribeAccountUsersRequest, SetInstanceMaintenanceResponse, CreateBackupDBInstanceResponse, FlushInstanceRouterConfigRequest, KillOpsRequest, InquirePriceRenewDBInstancesRequest, DescribeSlowLogsRequest, FlushInstanceRouterConfigResponse, DescribeBackupRulesResponse, AssignProjectResponse, DescribeDBInstanceDealResponse, OfflineIsolatedDBInstanceResponse, IsolateDBInstanceResponse, DescribeSecurityGroupRequest, RenameInstanceRequest, DescribeBackupRulesRequest, DescribeBackupDownloadTaskResponse, SetAccountUserPrivilegeResponse, ModifyDBInstanceNetworkAddressRequest, CreateDBInstanceHourResponse, EnableTransparentDataEncryptionRequest, DeleteAccountUserRequest, ModifyDBInstanceNetworkAddressResponse, CreateAccountUserResponse, DescribeSlowLogPatternsResponse, DescribeSlowLogsResponse, InquirePriceModifyDBInstanceSpecRequest, DescribeDBInstancesRequest, ModifyDBInstanceSpecRequest, FlashBackDBInstanceRequest, TerminateDBInstancesResponse, ResetDBInstancePasswordRequest, DescribeAsyncRequestInfoResponse, CreateDBInstanceResponse, CreateAccountUserRequest, ModifyDBInstanceSecurityGroupRequest, DescribeAccountUsersResponse, DescribeBackupDownloadTaskRequest, DescribeClientConnectionsResponse, TerminateDBInstancesRequest, DescribeDBBackupsResponse, ModifyDBInstanceSecurityGroupResponse, DescribeInstanceParamsRequest, InquirePriceCreateDBInstancesResponse, DescribeSecurityGroupResponse, ResetDBInstancePasswordResponse, DescribeDBInstanceDealRequest, DescribeAsyncRequestInfoRequest, CreateBackupDownloadTaskRequest, InquirePriceModifyDBInstanceSpecResponse, DescribeDBInstanceNodePropertyResponse, DescribeCurrentOpRequest, DescribeDBBackupsRequest, DescribeClientConnectionsRequest, SetBackupRulesResponse, DescribeDBInstanceNodePropertyRequest, RenewDBInstancesResponse, FlashBackDBInstanceResponse, RenameInstanceResponse, DescribeTransparentDataEncryptionStatusResponse, CreateBackupDBInstanceRequest, SetAccountUserPrivilegeRequest, KillOpsResponse, IsolateDBInstanceRequest, CreateDBInstanceHourRequest, EnableTransparentDataEncryptionResponse, SetBackupRulesRequest, AssignProjectRequest, CreateBackupDownloadTaskResponse, DescribeSlowLogPatternsRequest, DescribeSpecInfoResponse, InquirePriceRenewDBInstancesResponse, DeleteAccountUserResponse, DescribeDBInstancesResponse, OfflineIsolatedDBInstanceRequest, InquirePriceCreateDBInstancesRequest, DescribeInstanceParamsResponse, DescribeTransparentDataEncryptionStatusRequest, SetInstanceMaintenanceRequest, ModifyDBInstanceSpecResponse, RenewDBInstancesRequest } from "./mongodb_models";
3
3
  /**
4
4
  * mongodb client
5
5
  * @class
@@ -50,10 +50,18 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
50
50
  * 本接口(IsolateDBInstance)用于隔离MongoDB云数据库按量计费实例。隔离后实例保留在回收站中,不能再写入数据。隔离一定时间后,实例会彻底删除,回收站保存时间请参考按量计费的服务条款。在隔离中的按量计费实例无法恢复,请谨慎操作。
51
51
  */
52
52
  IsolateDBInstance(req: IsolateDBInstanceRequest, cb?: (error: string, rep: IsolateDBInstanceResponse) => void): Promise<IsolateDBInstanceResponse>;
53
+ /**
54
+ * 本接口(SetBackupRules)用于设置 MongoDB 云数据库的自动备份规则。
55
+ */
56
+ SetBackupRules(req: SetBackupRulesRequest, cb?: (error: string, rep: SetBackupRulesResponse) => void): Promise<SetBackupRulesResponse>;
53
57
  /**
54
58
  * 本接口 (InquirePriceModifyDBInstanceSpec) 用于查询实例配置变更后的价格。
55
59
  */
56
60
  InquirePriceModifyDBInstanceSpec(req: InquirePriceModifyDBInstanceSpecRequest, cb?: (error: string, rep: InquirePriceModifyDBInstanceSpecResponse) => void): Promise<InquirePriceModifyDBInstanceSpecResponse>;
61
+ /**
62
+ * 本接口(DescribeBackupRules)用于获取实例自动备份配置信息。
63
+ */
64
+ DescribeBackupRules(req: DescribeBackupRulesRequest, cb?: (error: string, rep: DescribeBackupRulesResponse) => void): Promise<DescribeBackupRulesResponse>;
57
65
  /**
58
66
  * 查询异步任务状态接口
59
67
  */
@@ -128,6 +136,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
128
136
 
129
137
  */
130
138
  AssignProject(req: AssignProjectRequest, cb?: (error: string, rep: AssignProjectResponse) => void): Promise<AssignProjectResponse>;
139
+ /**
140
+ * 获取实例透明加密的开启状态
141
+ */
142
+ DescribeTransparentDataEncryptionStatus(req: DescribeTransparentDataEncryptionStatusRequest, cb?: (error: string, rep: DescribeTransparentDataEncryptionStatusResponse) => void): Promise<DescribeTransparentDataEncryptionStatusResponse>;
131
143
  /**
132
144
  * 本接口(DescribeAccountUsers)用于获取当前实例的全部账号。
133
145
  */
@@ -144,6 +156,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
144
156
  * 本接口(KillOps)用于终止MongoDB云数据库实例上执行的特定操作。
145
157
  */
146
158
  KillOps(req: KillOpsRequest, cb?: (error: string, rep: KillOpsResponse) => void): Promise<KillOpsResponse>;
159
+ /**
160
+ * 本接口(EnableTransparentDataEncryption)用于开启云数据库 MongoDB 的透明加密能力。
161
+ */
162
+ EnableTransparentDataEncryption(req: EnableTransparentDataEncryptionRequest, cb?: (error: string, rep: EnableTransparentDataEncryptionResponse) => void): Promise<EnableTransparentDataEncryptionResponse>;
147
163
  /**
148
164
  * 本接口(CreateBackupDBInstance)用于备份实例。
149
165
  */
@@ -93,12 +93,24 @@ class Client extends TencentCloudCommon.AbstractClient {
93
93
  async IsolateDBInstance(req, cb) {
94
94
  return this.request("IsolateDBInstance", req, cb);
95
95
  }
96
+ /**
97
+ * 本接口(SetBackupRules)用于设置 MongoDB 云数据库的自动备份规则。
98
+ */
99
+ async SetBackupRules(req, cb) {
100
+ return this.request("SetBackupRules", req, cb);
101
+ }
96
102
  /**
97
103
  * 本接口 (InquirePriceModifyDBInstanceSpec) 用于查询实例配置变更后的价格。
98
104
  */
99
105
  async InquirePriceModifyDBInstanceSpec(req, cb) {
100
106
  return this.request("InquirePriceModifyDBInstanceSpec", req, cb);
101
107
  }
108
+ /**
109
+ * 本接口(DescribeBackupRules)用于获取实例自动备份配置信息。
110
+ */
111
+ async DescribeBackupRules(req, cb) {
112
+ return this.request("DescribeBackupRules", req, cb);
113
+ }
102
114
  /**
103
115
  * 查询异步任务状态接口
104
116
  */
@@ -209,6 +221,12 @@ class Client extends TencentCloudCommon.AbstractClient {
209
221
  async AssignProject(req, cb) {
210
222
  return this.request("AssignProject", req, cb);
211
223
  }
224
+ /**
225
+ * 获取实例透明加密的开启状态
226
+ */
227
+ async DescribeTransparentDataEncryptionStatus(req, cb) {
228
+ return this.request("DescribeTransparentDataEncryptionStatus", req, cb);
229
+ }
212
230
  /**
213
231
  * 本接口(DescribeAccountUsers)用于获取当前实例的全部账号。
214
232
  */
@@ -233,6 +251,12 @@ class Client extends TencentCloudCommon.AbstractClient {
233
251
  async KillOps(req, cb) {
234
252
  return this.request("KillOps", req, cb);
235
253
  }
254
+ /**
255
+ * 本接口(EnableTransparentDataEncryption)用于开启云数据库 MongoDB 的透明加密能力。
256
+ */
257
+ async EnableTransparentDataEncryption(req, cb) {
258
+ return this.request("EnableTransparentDataEncryption", req, cb);
259
+ }
236
260
  /**
237
261
  * 本接口(CreateBackupDBInstance)用于备份实例。
238
262
  */
@@ -319,6 +319,29 @@ export interface InstanceMultiParam {
319
319
  */
320
320
  ValueType: string;
321
321
  }
322
+ /**
323
+ * DescribeBackupRules返回参数结构体
324
+ */
325
+ export interface DescribeBackupRulesResponse {
326
+ /**
327
+ * 备份数据保留期限。单位为:天。
328
+ */
329
+ BackupSaveTime?: number;
330
+ /**
331
+ * 自动备份开始时间。
332
+ */
333
+ BackupTime?: number;
334
+ /**
335
+ * 备份方式。
336
+ - 0:逻辑备份。
337
+ - 1:物理备份。
338
+ */
339
+ BackupMethod?: number;
340
+ /**
341
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
342
+ */
343
+ RequestId?: string;
344
+ }
322
345
  /**
323
346
  * 用于描述MongoDB数据库慢日志统计信息
324
347
  */
@@ -417,6 +440,28 @@ export interface DescribeSecurityGroupRequest {
417
440
  */
418
441
  InstanceId: string;
419
442
  }
443
+ /**
444
+ * RenameInstance请求参数结构体
445
+ */
446
+ export interface RenameInstanceRequest {
447
+ /**
448
+ * 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
449
+ */
450
+ InstanceId: string;
451
+ /**
452
+ * 自定义实例名称,名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符 -
453
+ */
454
+ NewName: string;
455
+ }
456
+ /**
457
+ * DescribeBackupRules请求参数结构体
458
+ */
459
+ export interface DescribeBackupRulesRequest {
460
+ /**
461
+ * 指定实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
462
+ */
463
+ InstanceId: string;
464
+ }
420
465
  /**
421
466
  * DescribeBackupDownloadTask返回参数结构体
422
467
  */
@@ -556,39 +601,21 @@ export interface CreateDBInstanceHourResponse {
556
601
  RequestId?: string;
557
602
  }
558
603
  /**
559
- * DescribeDBInstanceNodeProperty请求参数结构体
604
+ * EnableTransparentDataEncryption请求参数结构体
560
605
  */
561
- export interface DescribeDBInstanceNodePropertyRequest {
606
+ export interface EnableTransparentDataEncryptionRequest {
562
607
  /**
563
- * 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同。
608
+ * 实例 ID,例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。目前支持通用版本包含:4.4、5.0,云盘版暂不支持。
564
609
  */
565
610
  InstanceId: string;
566
611
  /**
567
- * 节点ID
612
+ * [密钥管理系统(Key Management Service,KMS)](https://cloud.tencent.com/document/product/573/18809)服务所在地域,例如 ap-shanghai
568
613
  */
569
- NodeIds?: Array<string>;
614
+ KmsRegion: string;
570
615
  /**
571
- * 节点角色。可选值包括:
572
- <ul><li>PRIMARY:主节点。</li><li>SECONDARY:从节点。</li><li>READONLY:只读节点。</li><li>ARBITER:仲裁节点。</li></ul>
616
+ * 密钥 ID。若不设置该参数,不指定具体的密钥 ID,由腾讯云自动生成密钥。
573
617
  */
574
- Roles?: Array<string>;
575
- /**
576
- * 该参数指定节点是否为Hidden节点,默认为false。
577
- */
578
- OnlyHidden?: boolean;
579
- /**
580
- * 该参数指定选举新主节点的优先级。其取值范围为[0,100],数值越高,优先级越高。
581
- */
582
- Priority?: number;
583
- /**
584
- * 该参数指定节点投票权。
585
- <ul><li>1:具有投票权。</li><li>0:无投票权。</li></ul>
586
- */
587
- Votes?: number;
588
- /**
589
- * 节点标签。
590
- */
591
- Tags?: Array<NodeTag>;
618
+ KeyId?: string;
592
619
  }
593
620
  /**
594
621
  * DeleteAccountUser请求参数结构体
@@ -1041,6 +1068,15 @@ export interface FlashBackDBInstanceRequest {
1041
1068
  */
1042
1069
  TargetInstanceId?: string;
1043
1070
  }
1071
+ /**
1072
+ * TerminateDBInstances返回参数结构体
1073
+ */
1074
+ export interface TerminateDBInstancesResponse {
1075
+ /**
1076
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1077
+ */
1078
+ RequestId?: string;
1079
+ }
1044
1080
  /**
1045
1081
  * ResetDBInstancePassword请求参数结构体
1046
1082
  */
@@ -1798,26 +1834,48 @@ export interface ShardInfo {
1798
1834
  RealReplicaSetId: string;
1799
1835
  }
1800
1836
  /**
1801
- * TerminateDBInstances返回参数结构体
1837
+ * SetBackupRules返回参数结构体
1802
1838
  */
1803
- export interface TerminateDBInstancesResponse {
1839
+ export interface SetBackupRulesResponse {
1804
1840
  /**
1805
1841
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1806
1842
  */
1807
1843
  RequestId?: string;
1808
1844
  }
1809
1845
  /**
1810
- * RenameInstance请求参数结构体
1846
+ * DescribeDBInstanceNodeProperty请求参数结构体
1811
1847
  */
1812
- export interface RenameInstanceRequest {
1848
+ export interface DescribeDBInstanceNodePropertyRequest {
1813
1849
  /**
1814
- * 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
1850
+ * 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同。
1815
1851
  */
1816
1852
  InstanceId: string;
1817
1853
  /**
1818
- * 自定义实例名称,名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符 -
1854
+ * 节点ID。
1819
1855
  */
1820
- NewName: string;
1856
+ NodeIds?: Array<string>;
1857
+ /**
1858
+ * 节点角色。可选值包括:
1859
+ <ul><li>PRIMARY:主节点。</li><li>SECONDARY:从节点。</li><li>READONLY:只读节点。</li><li>ARBITER:仲裁节点。</li></ul>
1860
+ */
1861
+ Roles?: Array<string>;
1862
+ /**
1863
+ * 该参数指定节点是否为Hidden节点,默认为false。
1864
+ */
1865
+ OnlyHidden?: boolean;
1866
+ /**
1867
+ * 该参数指定选举新主节点的优先级。其取值范围为[0,100],数值越高,优先级越高。
1868
+ */
1869
+ Priority?: number;
1870
+ /**
1871
+ * 该参数指定节点投票权。
1872
+ <ul><li>1:具有投票权。</li><li>0:无投票权。</li></ul>
1873
+ */
1874
+ Votes?: number;
1875
+ /**
1876
+ * 节点标签。
1877
+ */
1878
+ Tags?: Array<NodeTag>;
1821
1879
  }
1822
1880
  /**
1823
1881
  * RenewDBInstances返回参数结构体
@@ -1892,6 +1950,26 @@ export interface RenameInstanceResponse {
1892
1950
  */
1893
1951
  RequestId?: string;
1894
1952
  }
1953
+ /**
1954
+ * DescribeTransparentDataEncryptionStatus返回参数结构体
1955
+ */
1956
+ export interface DescribeTransparentDataEncryptionStatusResponse {
1957
+ /**
1958
+ * 表示是否开启了透明加密。
1959
+ - close:未开启。
1960
+ - open:已开启。
1961
+ */
1962
+ TransparentDataEncryptionStatus?: string;
1963
+ /**
1964
+ * 已绑定的密钥列表,如未绑定,返回null。
1965
+ 注意:此字段可能返回 null,表示取不到有效值。
1966
+ */
1967
+ KeyInfoList?: Array<KMSInfoDetail>;
1968
+ /**
1969
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1970
+ */
1971
+ RequestId?: string;
1972
+ }
1895
1973
  /**
1896
1974
  * CreateBackupDBInstance请求参数结构体
1897
1975
  */
@@ -2141,6 +2219,46 @@ export interface CreateDBInstanceHourRequest {
2141
2219
  */
2142
2220
  HiddenZone?: string;
2143
2221
  }
2222
+ /**
2223
+ * EnableTransparentDataEncryption返回参数结构体
2224
+ */
2225
+ export interface EnableTransparentDataEncryptionResponse {
2226
+ /**
2227
+ * 开启透明加密的异步流程id,用于查询流程状态。
2228
+ */
2229
+ FlowId?: number;
2230
+ /**
2231
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2232
+ */
2233
+ RequestId?: string;
2234
+ }
2235
+ /**
2236
+ * SetBackupRules请求参数结构体
2237
+ */
2238
+ export interface SetBackupRulesRequest {
2239
+ /**
2240
+ * 实例 ID,例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
2241
+ */
2242
+ InstanceId: string;
2243
+ /**
2244
+ * 设置自动备份方式。- 0:逻辑备份。- 1:物理备份。-3:快照备份(仅云盘版支持)。
2245
+ */
2246
+ BackupMethod: number;
2247
+ /**
2248
+ * 设置自动备份开始时间。取值范围为:[0,23],例如:该参数设置为2,表示02:00开始备份。
2249
+ */
2250
+ BackupTime: number;
2251
+ /**
2252
+ * 设置自动备份发生错误时,是否发送失败告警。
2253
+ - true:发送。
2254
+ - false:不发送。
2255
+ */
2256
+ Notify?: boolean;
2257
+ /**
2258
+ * 指定备份数据保存天数。默认为 7 天,支持设置为7、30、90、180、365。
2259
+ */
2260
+ BackupRetentionPeriod?: number;
2261
+ }
2144
2262
  /**
2145
2263
  * AssignProject请求参数结构体
2146
2264
  */
@@ -2320,6 +2438,41 @@ export interface OfflineIsolatedDBInstanceRequest {
2320
2438
  */
2321
2439
  InstanceId: string;
2322
2440
  }
2441
+ /**
2442
+ * KMS密钥信息
2443
+ */
2444
+ export interface KMSInfoDetail {
2445
+ /**
2446
+ * 主密钥 ID。
2447
+ 注意:此字段可能返回 null,表示取不到有效值。
2448
+ */
2449
+ KeyId?: string;
2450
+ /**
2451
+ * 主密钥名称。
2452
+ 注意:此字段可能返回 null,表示取不到有效值。
2453
+ */
2454
+ KeyName?: string;
2455
+ /**
2456
+ * 实例与密钥绑定时间。
2457
+ 注意:此字段可能返回 null,表示取不到有效值。
2458
+ */
2459
+ CreateTime?: string;
2460
+ /**
2461
+ * 密钥状态。
2462
+ 注意:此字段可能返回 null,表示取不到有效值。
2463
+ */
2464
+ Status?: string;
2465
+ /**
2466
+ * 密钥用途。
2467
+ 注意:此字段可能返回 null,表示取不到有效值。
2468
+ */
2469
+ KeyUsage?: string;
2470
+ /**
2471
+ * 密钥来源。
2472
+ 注意:此字段可能返回 null,表示取不到有效值。
2473
+ */
2474
+ KeyOrigin?: string;
2475
+ }
2323
2476
  /**
2324
2477
  * InquirePriceCreateDBInstances请求参数结构体
2325
2478
  */
@@ -2445,6 +2598,15 @@ export interface DescribeInstanceParamsResponse {
2445
2598
  */
2446
2599
  RequestId?: string;
2447
2600
  }
2601
+ /**
2602
+ * DescribeTransparentDataEncryptionStatus请求参数结构体
2603
+ */
2604
+ export interface DescribeTransparentDataEncryptionStatusRequest {
2605
+ /**
2606
+ * 指定实例 ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
2607
+ */
2608
+ InstanceId: string;
2609
+ }
2448
2610
  /**
2449
2611
  * 修改实例节点详情
2450
2612
  */