tencentcloud-sdk-nodejs-mongodb 4.0.902 → 4.0.903
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 +1 -1
- package/products.md +15 -15
- package/src/services/mongodb/v20190725/mongodb_client.ts +71 -4
- package/src/services/mongodb/v20190725/mongodb_models.ts +276 -29
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +26 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +35 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +264 -29
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
| bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2024-06-19 01:13:52 |
|
|
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-07-
|
|
37
|
+
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2024-07-24 01:13:41 |
|
|
38
38
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-06-19 01:14:46 |
|
|
39
39
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 |
|
|
40
40
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-06-14 01:17:35 |
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-07-17 01:09:51 |
|
|
45
45
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-10 01:10:02 |
|
|
46
46
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-18 01:18:51 |
|
|
47
|
-
| cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-
|
|
48
|
-
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-
|
|
47
|
+
| cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-07-24 01:18:03 |
|
|
48
|
+
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-07-24 01:18:18 |
|
|
49
49
|
| cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
|
|
50
50
|
| cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-07-15 09:37:14 |
|
|
51
51
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-07-19 01:20:33 |
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-07-22 01:24:41 |
|
|
75
75
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-07-12 01:12:13 |
|
|
76
76
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
77
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-07-
|
|
77
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-07-24 01:28:48 |
|
|
78
78
|
| dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-07-16 01:13:41 |
|
|
79
79
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
80
80
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
|
|
90
90
|
| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-07-18 01:10:11 |
|
|
91
91
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
92
|
-
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-07-
|
|
92
|
+
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-07-24 01:36:02 |
|
|
93
93
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-06-07 01:44:56 |
|
|
94
94
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2024-03-20 01:15:51 |
|
|
95
95
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2024-03-20 01:15:52 |
|
|
@@ -147,9 +147,9 @@
|
|
|
147
147
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
148
148
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-07-02 01:19:41 |
|
|
149
149
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-07-22 01:55:24 |
|
|
150
|
-
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-07-
|
|
151
|
-
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-07-
|
|
152
|
-
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-07-
|
|
150
|
+
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-07-24 01:54:54 |
|
|
151
|
+
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-07-24 01:55:24 |
|
|
152
|
+
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-07-24 01:56:46 |
|
|
153
153
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-06-14 02:16:42 |
|
|
154
154
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-06-05 02:02:03 |
|
|
155
155
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
|
|
@@ -207,9 +207,9 @@
|
|
|
207
207
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 |
|
|
208
208
|
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-07-17 01:25:48 |
|
|
209
209
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-04-22 01:26:50 |
|
|
210
|
-
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-
|
|
210
|
+
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-07-24 02:14:59 |
|
|
211
211
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-07-03 19:33:55 |
|
|
212
|
-
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-07-
|
|
212
|
+
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-07-24 02:16:49 |
|
|
213
213
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
214
214
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
215
215
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2024-07-05 01:19:00 |
|
|
219
219
|
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-06-07 02:37:51 |
|
|
220
220
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2024-03-20 01:27:28 |
|
|
221
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-
|
|
221
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-07-24 02:19:34 |
|
|
222
222
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
223
223
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-04-29 01:26:41 |
|
|
224
224
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-07-19 02:32:30 |
|
|
@@ -235,17 +235,17 @@
|
|
|
235
235
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-07-08 01:25:23 |
|
|
236
236
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
|
|
237
237
|
| vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-06-06 02:47:17 |
|
|
238
|
-
| vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-
|
|
238
|
+
| vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-07-24 02:24:15 |
|
|
239
239
|
| vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-07-09 01:25:36 |
|
|
240
240
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-06-06 02:47:30 |
|
|
241
241
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
|
|
242
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-07-
|
|
243
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-
|
|
242
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-07-23 11:34:10 |
|
|
243
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-24 02:26:47 |
|
|
244
244
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 |
|
|
245
245
|
| vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-06-07 02:52:58 |
|
|
246
246
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-23 02:21:00 |
|
|
247
247
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
|
|
248
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-07-02
|
|
248
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-07-24 02:30:53 |
|
|
249
249
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-05-15 01:38:36 |
|
|
250
250
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
251
251
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 |
|
|
@@ -19,17 +19,19 @@ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
|
19
19
|
import {
|
|
20
20
|
DescribeSpecInfoRequest,
|
|
21
21
|
CreateDBInstanceRequest,
|
|
22
|
-
|
|
22
|
+
CreateDBInstanceParamTplResponse,
|
|
23
23
|
DescribeAccountUsersRequest,
|
|
24
|
-
|
|
24
|
+
DescribeDBInstanceParamTplRequest,
|
|
25
25
|
CreateBackupDBInstanceResponse,
|
|
26
|
-
|
|
26
|
+
DBInstancePrice,
|
|
27
27
|
KillOpsRequest,
|
|
28
28
|
InquirePriceRenewDBInstancesRequest,
|
|
29
29
|
DescribeSlowLogsRequest,
|
|
30
30
|
FlushInstanceRouterConfigResponse,
|
|
31
|
+
DescribeCurrentOpResponse,
|
|
31
32
|
InstanceMultiParam,
|
|
32
33
|
ModifyInstanceParamsResponse,
|
|
34
|
+
SetInstanceMaintenanceResponse,
|
|
33
35
|
DescribeBackupRulesResponse,
|
|
34
36
|
SlowLogPattern,
|
|
35
37
|
AssignProjectResponse,
|
|
@@ -37,21 +39,25 @@ import {
|
|
|
37
39
|
ModifyMongoDBParamType,
|
|
38
40
|
OfflineIsolatedDBInstanceResponse,
|
|
39
41
|
IsolateDBInstanceResponse,
|
|
42
|
+
CreateDBInstanceParamTplRequest,
|
|
40
43
|
DescribeSecurityGroupRequest,
|
|
41
44
|
RenameInstanceRequest,
|
|
42
45
|
DescribeBackupRulesRequest,
|
|
43
46
|
DescribeBackupDownloadTaskResponse,
|
|
44
47
|
AddNodeList,
|
|
45
|
-
|
|
48
|
+
FlushInstanceRouterConfigRequest,
|
|
46
49
|
DBInstanceInfo,
|
|
50
|
+
ParamType,
|
|
47
51
|
SetAccountUserPrivilegeResponse,
|
|
48
52
|
FlashbackDatabase,
|
|
49
53
|
ModifyDBInstanceNetworkAddressRequest,
|
|
50
54
|
CreateDBInstanceHourResponse,
|
|
55
|
+
DropDBInstanceParamTplResponse,
|
|
51
56
|
EnableTransparentDataEncryptionRequest,
|
|
52
57
|
DeleteAccountUserRequest,
|
|
53
58
|
SpecItem,
|
|
54
59
|
ModifyDBInstanceNetworkAddressResponse,
|
|
60
|
+
DropDBInstanceParamTplRequest,
|
|
55
61
|
CreateAccountUserResponse,
|
|
56
62
|
DescribeSlowLogPatternsResponse,
|
|
57
63
|
BackupDownloadTaskStatus,
|
|
@@ -76,6 +82,7 @@ import {
|
|
|
76
82
|
DescribeBackupDownloadTaskRequest,
|
|
77
83
|
Operation,
|
|
78
84
|
DescribeClientConnectionsResponse,
|
|
85
|
+
ModifyDBInstanceParamTplResponse,
|
|
79
86
|
TerminateDBInstancesRequest,
|
|
80
87
|
DescribeDBBackupsResponse,
|
|
81
88
|
ModifyDBInstanceSecurityGroupResponse,
|
|
@@ -93,9 +100,12 @@ import {
|
|
|
93
100
|
DescribeAsyncRequestInfoRequest,
|
|
94
101
|
FBKeyValue,
|
|
95
102
|
CreateBackupDownloadTaskRequest,
|
|
103
|
+
ParamTpl,
|
|
96
104
|
InquirePriceModifyDBInstanceSpecResponse,
|
|
97
105
|
SecurityGroupBound,
|
|
98
106
|
DescribeDBInstanceNodePropertyResponse,
|
|
107
|
+
DescribeDBInstanceParamTplDetailResponse,
|
|
108
|
+
ModifyDBInstanceParamTplRequest,
|
|
99
109
|
DescribeCurrentOpRequest,
|
|
100
110
|
BackupDownloadTask,
|
|
101
111
|
DescribeDBBackupsRequest,
|
|
@@ -131,9 +141,11 @@ import {
|
|
|
131
141
|
KMSInfoDetail,
|
|
132
142
|
InquirePriceCreateDBInstancesRequest,
|
|
133
143
|
DescribeInstanceParamsResponse,
|
|
144
|
+
DescribeDBInstanceParamTplResponse,
|
|
134
145
|
DescribeTransparentDataEncryptionStatusRequest,
|
|
135
146
|
RemoveNodeList,
|
|
136
147
|
SetInstanceMaintenanceRequest,
|
|
148
|
+
DescribeDBInstanceParamTplDetailRequest,
|
|
137
149
|
InstanceDetail,
|
|
138
150
|
ModifyDBInstanceSpecResponse,
|
|
139
151
|
InstanceChargePrepaid,
|
|
@@ -169,6 +181,17 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
169
181
|
return this.request("DescribeDBInstanceNodeProperty", req, cb)
|
|
170
182
|
}
|
|
171
183
|
|
|
184
|
+
/**
|
|
185
|
+
* 本接口(DescribeDBInstanceParamTpl )用于查询当前账号下所有MongoDB数据库参数模板
|
|
186
|
+
**说明:DescribeDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
187
|
+
*/
|
|
188
|
+
async DescribeDBInstanceParamTpl(
|
|
189
|
+
req: DescribeDBInstanceParamTplRequest,
|
|
190
|
+
cb?: (error: string, rep: DescribeDBInstanceParamTplResponse) => void
|
|
191
|
+
): Promise<DescribeDBInstanceParamTplResponse> {
|
|
192
|
+
return this.request("DescribeDBInstanceParamTpl", req, cb)
|
|
193
|
+
}
|
|
194
|
+
|
|
172
195
|
/**
|
|
173
196
|
* 本接口(DescribeDBInstanceDeal)用于获取MongoDB购买、续费及变配订单详细。
|
|
174
197
|
*/
|
|
@@ -319,6 +342,17 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
319
342
|
return this.request("CreateAccountUser", req, cb)
|
|
320
343
|
}
|
|
321
344
|
|
|
345
|
+
/**
|
|
346
|
+
* 本接口(ModifyDBInstanceParamTpl )用于修改MongoDB云数据库实例的参数模板。
|
|
347
|
+
**说明:ModifyDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
348
|
+
*/
|
|
349
|
+
async ModifyDBInstanceParamTpl(
|
|
350
|
+
req: ModifyDBInstanceParamTplRequest,
|
|
351
|
+
cb?: (error: string, rep: ModifyDBInstanceParamTplResponse) => void
|
|
352
|
+
): Promise<ModifyDBInstanceParamTplResponse> {
|
|
353
|
+
return this.request("ModifyDBInstanceParamTpl", req, cb)
|
|
354
|
+
}
|
|
355
|
+
|
|
322
356
|
/**
|
|
323
357
|
* 本接口(CreateDBInstanceHour)用于创建按量计费的MongoDB云数据库实例。
|
|
324
358
|
*/
|
|
@@ -329,6 +363,28 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
329
363
|
return this.request("CreateDBInstanceHour", req, cb)
|
|
330
364
|
}
|
|
331
365
|
|
|
366
|
+
/**
|
|
367
|
+
* 本接口(CreateDBInstanceParamTpl)用于创建云数据库MongoDB实例的参数模板
|
|
368
|
+
**说明:CreateDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
369
|
+
*/
|
|
370
|
+
async CreateDBInstanceParamTpl(
|
|
371
|
+
req: CreateDBInstanceParamTplRequest,
|
|
372
|
+
cb?: (error: string, rep: CreateDBInstanceParamTplResponse) => void
|
|
373
|
+
): Promise<CreateDBInstanceParamTplResponse> {
|
|
374
|
+
return this.request("CreateDBInstanceParamTpl", req, cb)
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* 本接口(DropDBInstanceParamTpl )用于删除云数据库MongoDB实例的参数模板
|
|
379
|
+
**说明:DropDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
380
|
+
*/
|
|
381
|
+
async DropDBInstanceParamTpl(
|
|
382
|
+
req: DropDBInstanceParamTplRequest,
|
|
383
|
+
cb?: (error: string, rep: DropDBInstanceParamTplResponse) => void
|
|
384
|
+
): Promise<DropDBInstanceParamTplResponse> {
|
|
385
|
+
return this.request("DropDBInstanceParamTpl", req, cb)
|
|
386
|
+
}
|
|
387
|
+
|
|
332
388
|
/**
|
|
333
389
|
* 本接口(RenewDBInstance)用于续费云数据库实例,仅支持付费模式为包年包月的实例。按量计费实例不需要续费。
|
|
334
390
|
*/
|
|
@@ -521,6 +577,17 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
521
577
|
return this.request("ModifyInstanceParams", req, cb)
|
|
522
578
|
}
|
|
523
579
|
|
|
580
|
+
/**
|
|
581
|
+
* 本接口(DescribeDBInstanceParamTplDetail )用于查询MongoDB云数据库实例的参数模板详情。
|
|
582
|
+
**说明:DescribeDBInstanceParamTplDetail API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
583
|
+
*/
|
|
584
|
+
async DescribeDBInstanceParamTplDetail(
|
|
585
|
+
req: DescribeDBInstanceParamTplDetailRequest,
|
|
586
|
+
cb?: (error: string, rep: DescribeDBInstanceParamTplDetailResponse) => void
|
|
587
|
+
): Promise<DescribeDBInstanceParamTplDetailResponse> {
|
|
588
|
+
return this.request("DescribeDBInstanceParamTplDetail", req, cb)
|
|
589
|
+
}
|
|
590
|
+
|
|
524
591
|
/**
|
|
525
592
|
* 本接口(KillOps)用于终止MongoDB云数据库实例上执行的特定操作。
|
|
526
593
|
*/
|
|
@@ -177,17 +177,13 @@ export interface CreateDBInstanceRequest {
|
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
|
-
*
|
|
180
|
+
* CreateDBInstanceParamTpl返回参数结构体
|
|
181
181
|
*/
|
|
182
|
-
export interface
|
|
182
|
+
export interface CreateDBInstanceParamTplResponse {
|
|
183
183
|
/**
|
|
184
|
-
*
|
|
185
|
-
*/
|
|
186
|
-
TotalCount: number
|
|
187
|
-
/**
|
|
188
|
-
* 当前操作列表
|
|
184
|
+
* 模板ID
|
|
189
185
|
*/
|
|
190
|
-
|
|
186
|
+
TplId?: string
|
|
191
187
|
/**
|
|
192
188
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
193
189
|
*/
|
|
@@ -205,13 +201,25 @@ export interface DescribeAccountUsersRequest {
|
|
|
205
201
|
}
|
|
206
202
|
|
|
207
203
|
/**
|
|
208
|
-
*
|
|
204
|
+
* DescribeDBInstanceParamTpl请求参数结构体
|
|
209
205
|
*/
|
|
210
|
-
export interface
|
|
206
|
+
export interface DescribeDBInstanceParamTplRequest {
|
|
211
207
|
/**
|
|
212
|
-
*
|
|
208
|
+
* 参数模板 ID 查询条件。
|
|
213
209
|
*/
|
|
214
|
-
|
|
210
|
+
TplIds?: Array<string>
|
|
211
|
+
/**
|
|
212
|
+
* 模板名称,查询条件。
|
|
213
|
+
*/
|
|
214
|
+
TplNames?: Array<string>
|
|
215
|
+
/**
|
|
216
|
+
* 根据版本号插叙参数模板,具体支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是:MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
|
|
217
|
+
*/
|
|
218
|
+
MongoVersion?: Array<string>
|
|
219
|
+
/**
|
|
220
|
+
* 根据模板类型查询参数模板,支持DEFAULT(默认模板)和CUSTOMIZE(自定义模板)两种。
|
|
221
|
+
*/
|
|
222
|
+
TplType?: string
|
|
215
223
|
}
|
|
216
224
|
|
|
217
225
|
/**
|
|
@@ -229,13 +237,22 @@ export interface CreateBackupDBInstanceResponse {
|
|
|
229
237
|
}
|
|
230
238
|
|
|
231
239
|
/**
|
|
232
|
-
*
|
|
240
|
+
* 数据库实例价格
|
|
233
241
|
*/
|
|
234
|
-
export interface
|
|
242
|
+
export interface DBInstancePrice {
|
|
235
243
|
/**
|
|
236
|
-
*
|
|
244
|
+
* 单价
|
|
245
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
237
246
|
*/
|
|
238
|
-
|
|
247
|
+
UnitPrice: number
|
|
248
|
+
/**
|
|
249
|
+
* 原价
|
|
250
|
+
*/
|
|
251
|
+
OriginalPrice: number
|
|
252
|
+
/**
|
|
253
|
+
* 折扣价
|
|
254
|
+
*/
|
|
255
|
+
DiscountPrice: number
|
|
239
256
|
}
|
|
240
257
|
|
|
241
258
|
/**
|
|
@@ -310,6 +327,24 @@ export interface FlushInstanceRouterConfigResponse {
|
|
|
310
327
|
RequestId?: string
|
|
311
328
|
}
|
|
312
329
|
|
|
330
|
+
/**
|
|
331
|
+
* DescribeCurrentOp返回参数结构体
|
|
332
|
+
*/
|
|
333
|
+
export interface DescribeCurrentOpResponse {
|
|
334
|
+
/**
|
|
335
|
+
* 符合查询条件的操作总数
|
|
336
|
+
*/
|
|
337
|
+
TotalCount: number
|
|
338
|
+
/**
|
|
339
|
+
* 当前操作列表
|
|
340
|
+
*/
|
|
341
|
+
CurrentOps: Array<CurrentOp>
|
|
342
|
+
/**
|
|
343
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
344
|
+
*/
|
|
345
|
+
RequestId?: string
|
|
346
|
+
}
|
|
347
|
+
|
|
313
348
|
/**
|
|
314
349
|
* 实例可修改参数Multi类型集合。
|
|
315
350
|
*/
|
|
@@ -373,6 +408,16 @@ export interface ModifyInstanceParamsResponse {
|
|
|
373
408
|
RequestId?: string
|
|
374
409
|
}
|
|
375
410
|
|
|
411
|
+
/**
|
|
412
|
+
* SetInstanceMaintenance返回参数结构体
|
|
413
|
+
*/
|
|
414
|
+
export interface SetInstanceMaintenanceResponse {
|
|
415
|
+
/**
|
|
416
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
417
|
+
*/
|
|
418
|
+
RequestId?: string
|
|
419
|
+
}
|
|
420
|
+
|
|
376
421
|
/**
|
|
377
422
|
* DescribeBackupRules返回参数结构体
|
|
378
423
|
*/
|
|
@@ -505,6 +550,37 @@ export interface IsolateDBInstanceResponse {
|
|
|
505
550
|
RequestId?: string
|
|
506
551
|
}
|
|
507
552
|
|
|
553
|
+
/**
|
|
554
|
+
* CreateDBInstanceParamTpl请求参数结构体
|
|
555
|
+
*/
|
|
556
|
+
export interface CreateDBInstanceParamTplRequest {
|
|
557
|
+
/**
|
|
558
|
+
* 参数模板名称。
|
|
559
|
+
*/
|
|
560
|
+
TplName: string
|
|
561
|
+
/**
|
|
562
|
+
* 版本号,该参数模板支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是:MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。当MirrorTplId为空时,该字段必填。
|
|
563
|
+
*/
|
|
564
|
+
MongoVersion?: string
|
|
565
|
+
/**
|
|
566
|
+
* 实例类型,REPLSET-副本集,SHARD-分片集群,STANDALONE-单节点
|
|
567
|
+
当MirrorTplId为空时,该字段必填。
|
|
568
|
+
*/
|
|
569
|
+
ClusterType?: string
|
|
570
|
+
/**
|
|
571
|
+
* 模板描述信息。
|
|
572
|
+
*/
|
|
573
|
+
TplDesc?: string
|
|
574
|
+
/**
|
|
575
|
+
* 模板参数,若为空,则以系统默认模板作为新版本参数。
|
|
576
|
+
*/
|
|
577
|
+
Params?: Array<ParamType>
|
|
578
|
+
/**
|
|
579
|
+
* 镜像模板ID,若该字段不为空,则以该模板为镜像,克隆出一个新的模板。注意:MirrorTplId不为空时,MongoVersion及ClusterType将以MirrorTpl模板的版本及实例类型为准。
|
|
580
|
+
*/
|
|
581
|
+
MirrorTplId?: string
|
|
582
|
+
}
|
|
583
|
+
|
|
508
584
|
/**
|
|
509
585
|
* DescribeSecurityGroup请求参数结构体
|
|
510
586
|
*/
|
|
@@ -577,22 +653,13 @@ export interface AddNodeList {
|
|
|
577
653
|
}
|
|
578
654
|
|
|
579
655
|
/**
|
|
580
|
-
*
|
|
656
|
+
* FlushInstanceRouterConfig请求参数结构体
|
|
581
657
|
*/
|
|
582
|
-
export interface
|
|
583
|
-
/**
|
|
584
|
-
* 单价
|
|
585
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
586
|
-
*/
|
|
587
|
-
UnitPrice: number
|
|
588
|
-
/**
|
|
589
|
-
* 原价
|
|
590
|
-
*/
|
|
591
|
-
OriginalPrice: number
|
|
658
|
+
export interface FlushInstanceRouterConfigRequest {
|
|
592
659
|
/**
|
|
593
|
-
*
|
|
660
|
+
* 实例ID
|
|
594
661
|
*/
|
|
595
|
-
|
|
662
|
+
InstanceId: string
|
|
596
663
|
}
|
|
597
664
|
|
|
598
665
|
/**
|
|
@@ -609,6 +676,20 @@ export interface DBInstanceInfo {
|
|
|
609
676
|
Region: string
|
|
610
677
|
}
|
|
611
678
|
|
|
679
|
+
/**
|
|
680
|
+
* 数据库参数
|
|
681
|
+
*/
|
|
682
|
+
export interface ParamType {
|
|
683
|
+
/**
|
|
684
|
+
* 参数
|
|
685
|
+
*/
|
|
686
|
+
Key: string
|
|
687
|
+
/**
|
|
688
|
+
* 参数值
|
|
689
|
+
*/
|
|
690
|
+
Value: string
|
|
691
|
+
}
|
|
692
|
+
|
|
612
693
|
/**
|
|
613
694
|
* SetAccountUserPrivilege返回参数结构体
|
|
614
695
|
*/
|
|
@@ -685,6 +766,16 @@ export interface CreateDBInstanceHourResponse {
|
|
|
685
766
|
RequestId?: string
|
|
686
767
|
}
|
|
687
768
|
|
|
769
|
+
/**
|
|
770
|
+
* DropDBInstanceParamTpl返回参数结构体
|
|
771
|
+
*/
|
|
772
|
+
export interface DropDBInstanceParamTplResponse {
|
|
773
|
+
/**
|
|
774
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
775
|
+
*/
|
|
776
|
+
RequestId?: string
|
|
777
|
+
}
|
|
778
|
+
|
|
688
779
|
/**
|
|
689
780
|
* EnableTransparentDataEncryption请求参数结构体
|
|
690
781
|
*/
|
|
@@ -826,6 +917,16 @@ export interface ModifyDBInstanceNetworkAddressResponse {
|
|
|
826
917
|
RequestId?: string
|
|
827
918
|
}
|
|
828
919
|
|
|
920
|
+
/**
|
|
921
|
+
* DropDBInstanceParamTpl请求参数结构体
|
|
922
|
+
*/
|
|
923
|
+
export interface DropDBInstanceParamTplRequest {
|
|
924
|
+
/**
|
|
925
|
+
* 参数模板 ID。
|
|
926
|
+
*/
|
|
927
|
+
TplId: string
|
|
928
|
+
}
|
|
929
|
+
|
|
829
930
|
/**
|
|
830
931
|
* CreateAccountUser返回参数结构体
|
|
831
932
|
*/
|
|
@@ -1484,6 +1585,16 @@ export interface DescribeClientConnectionsResponse {
|
|
|
1484
1585
|
RequestId?: string
|
|
1485
1586
|
}
|
|
1486
1587
|
|
|
1588
|
+
/**
|
|
1589
|
+
* ModifyDBInstanceParamTpl返回参数结构体
|
|
1590
|
+
*/
|
|
1591
|
+
export interface ModifyDBInstanceParamTplResponse {
|
|
1592
|
+
/**
|
|
1593
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1594
|
+
*/
|
|
1595
|
+
RequestId?: string
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1487
1598
|
/**
|
|
1488
1599
|
* TerminateDBInstances请求参数结构体
|
|
1489
1600
|
*/
|
|
@@ -1743,6 +1854,36 @@ export interface CreateBackupDownloadTaskRequest {
|
|
|
1743
1854
|
BackupSets: Array<ReplicaSetInfo>
|
|
1744
1855
|
}
|
|
1745
1856
|
|
|
1857
|
+
/**
|
|
1858
|
+
* 数据库参数模板
|
|
1859
|
+
*/
|
|
1860
|
+
export interface ParamTpl {
|
|
1861
|
+
/**
|
|
1862
|
+
* 参数模板名称
|
|
1863
|
+
*/
|
|
1864
|
+
TplName: string
|
|
1865
|
+
/**
|
|
1866
|
+
* 参数模板ID
|
|
1867
|
+
*/
|
|
1868
|
+
TplId: string
|
|
1869
|
+
/**
|
|
1870
|
+
* 适用数据库版本
|
|
1871
|
+
*/
|
|
1872
|
+
MongoVersion: string
|
|
1873
|
+
/**
|
|
1874
|
+
* 适用数据库类型
|
|
1875
|
+
*/
|
|
1876
|
+
ClusterType: string
|
|
1877
|
+
/**
|
|
1878
|
+
* 参数模板描述
|
|
1879
|
+
*/
|
|
1880
|
+
TplDesc: string
|
|
1881
|
+
/**
|
|
1882
|
+
* 模板类型,包括DEFAULT(默认模板)及CUSTOMIZE(定制模板)两种类型
|
|
1883
|
+
*/
|
|
1884
|
+
TplType: string
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1746
1887
|
/**
|
|
1747
1888
|
* InquirePriceModifyDBInstanceSpec返回参数结构体
|
|
1748
1889
|
*/
|
|
@@ -1814,6 +1955,78 @@ export interface DescribeDBInstanceNodePropertyResponse {
|
|
|
1814
1955
|
RequestId?: string
|
|
1815
1956
|
}
|
|
1816
1957
|
|
|
1958
|
+
/**
|
|
1959
|
+
* DescribeDBInstanceParamTplDetail返回参数结构体
|
|
1960
|
+
*/
|
|
1961
|
+
export interface DescribeDBInstanceParamTplDetailResponse {
|
|
1962
|
+
/**
|
|
1963
|
+
* 枚举类参数详情列表。
|
|
1964
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1965
|
+
*/
|
|
1966
|
+
InstanceEnumParams?: Array<InstanceEnumParam>
|
|
1967
|
+
/**
|
|
1968
|
+
* 整形参数详情列表。
|
|
1969
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1970
|
+
*/
|
|
1971
|
+
InstanceIntegerParams?: Array<InstanceIntegerParam>
|
|
1972
|
+
/**
|
|
1973
|
+
* 文本参数详情列表。
|
|
1974
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1975
|
+
*/
|
|
1976
|
+
InstanceTextParams?: Array<InstanceTextParam>
|
|
1977
|
+
/**
|
|
1978
|
+
* 多值参数详情列表。
|
|
1979
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1980
|
+
*/
|
|
1981
|
+
InstanceMultiParams?: Array<InstanceMultiParam>
|
|
1982
|
+
/**
|
|
1983
|
+
* 参数总个数。
|
|
1984
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1985
|
+
*/
|
|
1986
|
+
TotalCount?: number
|
|
1987
|
+
/**
|
|
1988
|
+
* 模板适配实例版本。
|
|
1989
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1990
|
+
*/
|
|
1991
|
+
MongoVersion?: string
|
|
1992
|
+
/**
|
|
1993
|
+
* 模板适配集群类型,副本集或分片。。
|
|
1994
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1995
|
+
*/
|
|
1996
|
+
ClusterType?: string
|
|
1997
|
+
/**
|
|
1998
|
+
* 参数模板名称。
|
|
1999
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2000
|
+
*/
|
|
2001
|
+
TplName?: string
|
|
2002
|
+
/**
|
|
2003
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2004
|
+
*/
|
|
2005
|
+
RequestId?: string
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
/**
|
|
2009
|
+
* ModifyDBInstanceParamTpl请求参数结构体
|
|
2010
|
+
*/
|
|
2011
|
+
export interface ModifyDBInstanceParamTplRequest {
|
|
2012
|
+
/**
|
|
2013
|
+
* 待修改的参数模板 ID,示例:tpl-jglr91vew。
|
|
2014
|
+
*/
|
|
2015
|
+
TplId: string
|
|
2016
|
+
/**
|
|
2017
|
+
* 待修改参数模板名称,为空时,保持原有名称。
|
|
2018
|
+
*/
|
|
2019
|
+
TplName?: string
|
|
2020
|
+
/**
|
|
2021
|
+
* 待修改参数模板描述,为空时,保持原有描述。
|
|
2022
|
+
*/
|
|
2023
|
+
TplDesc?: string
|
|
2024
|
+
/**
|
|
2025
|
+
* 待修改参数名及参数值,为空时,各参数保持原有值,支持单条或批量修改。
|
|
2026
|
+
*/
|
|
2027
|
+
Params?: Array<ParamType>
|
|
2028
|
+
}
|
|
2029
|
+
|
|
1817
2030
|
/**
|
|
1818
2031
|
* DescribeCurrentOp请求参数结构体
|
|
1819
2032
|
*/
|
|
@@ -2805,6 +3018,26 @@ export interface DescribeInstanceParamsResponse {
|
|
|
2805
3018
|
RequestId?: string
|
|
2806
3019
|
}
|
|
2807
3020
|
|
|
3021
|
+
/**
|
|
3022
|
+
* DescribeDBInstanceParamTpl返回参数结构体
|
|
3023
|
+
*/
|
|
3024
|
+
export interface DescribeDBInstanceParamTplResponse {
|
|
3025
|
+
/**
|
|
3026
|
+
* 参数模板列表信息。
|
|
3027
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3028
|
+
*/
|
|
3029
|
+
ParamTpls?: Array<ParamTpl>
|
|
3030
|
+
/**
|
|
3031
|
+
* 参数模板总数。
|
|
3032
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3033
|
+
*/
|
|
3034
|
+
TotalCount?: number
|
|
3035
|
+
/**
|
|
3036
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3037
|
+
*/
|
|
3038
|
+
RequestId?: string
|
|
3039
|
+
}
|
|
3040
|
+
|
|
2808
3041
|
/**
|
|
2809
3042
|
* DescribeTransparentDataEncryptionStatus请求参数结构体
|
|
2810
3043
|
*/
|
|
@@ -2862,6 +3095,20 @@ export interface SetInstanceMaintenanceRequest {
|
|
|
2862
3095
|
MaintenanceEnd: string
|
|
2863
3096
|
}
|
|
2864
3097
|
|
|
3098
|
+
/**
|
|
3099
|
+
* DescribeDBInstanceParamTplDetail请求参数结构体
|
|
3100
|
+
*/
|
|
3101
|
+
export interface DescribeDBInstanceParamTplDetailRequest {
|
|
3102
|
+
/**
|
|
3103
|
+
* 参数模板 ID。
|
|
3104
|
+
*/
|
|
3105
|
+
TplId: string
|
|
3106
|
+
/**
|
|
3107
|
+
* 参数名称,传入该值,则只会获取该字段的参数详情。为空时,返回全部参数。
|
|
3108
|
+
*/
|
|
3109
|
+
ParamName?: string
|
|
3110
|
+
}
|
|
3111
|
+
|
|
2865
3112
|
/**
|
|
2866
3113
|
* 实例详情
|
|
2867
3114
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeSpecInfoRequest, CreateDBInstanceRequest,
|
|
2
|
+
import { DescribeSpecInfoRequest, CreateDBInstanceRequest, CreateDBInstanceParamTplResponse, DescribeAccountUsersRequest, DescribeDBInstanceParamTplRequest, CreateBackupDBInstanceResponse, KillOpsRequest, InquirePriceRenewDBInstancesRequest, DescribeSlowLogsRequest, FlushInstanceRouterConfigResponse, DescribeCurrentOpResponse, ModifyInstanceParamsResponse, SetInstanceMaintenanceResponse, DescribeBackupRulesResponse, AssignProjectResponse, DescribeDBInstanceDealResponse, OfflineIsolatedDBInstanceResponse, IsolateDBInstanceResponse, CreateDBInstanceParamTplRequest, DescribeSecurityGroupRequest, RenameInstanceRequest, DescribeBackupRulesRequest, DescribeBackupDownloadTaskResponse, FlushInstanceRouterConfigRequest, SetAccountUserPrivilegeResponse, ModifyDBInstanceNetworkAddressRequest, CreateDBInstanceHourResponse, DropDBInstanceParamTplResponse, EnableTransparentDataEncryptionRequest, DeleteAccountUserRequest, ModifyDBInstanceNetworkAddressResponse, DropDBInstanceParamTplRequest, CreateAccountUserResponse, DescribeSlowLogPatternsResponse, DescribeSlowLogsResponse, InquirePriceModifyDBInstanceSpecRequest, DescribeDBInstancesRequest, ModifyDBInstanceSpecRequest, FlashBackDBInstanceRequest, TerminateDBInstancesResponse, ResetDBInstancePasswordRequest, DescribeAsyncRequestInfoResponse, CreateDBInstanceResponse, CreateAccountUserRequest, ModifyDBInstanceSecurityGroupRequest, DescribeAccountUsersResponse, DescribeBackupDownloadTaskRequest, DescribeClientConnectionsResponse, ModifyDBInstanceParamTplResponse, TerminateDBInstancesRequest, DescribeDBBackupsResponse, ModifyDBInstanceSecurityGroupResponse, DescribeInstanceParamsRequest, InquirePriceCreateDBInstancesResponse, DescribeSecurityGroupResponse, ResetDBInstancePasswordResponse, DescribeDBInstanceDealRequest, DescribeAsyncRequestInfoRequest, CreateBackupDownloadTaskRequest, InquirePriceModifyDBInstanceSpecResponse, DescribeDBInstanceNodePropertyResponse, DescribeDBInstanceParamTplDetailResponse, ModifyDBInstanceParamTplRequest, DescribeCurrentOpRequest, DescribeDBBackupsRequest, DescribeClientConnectionsRequest, SetBackupRulesResponse, DescribeDBInstanceNodePropertyRequest, RenewDBInstancesResponse, FlashBackDBInstanceResponse, RenameInstanceResponse, DescribeTransparentDataEncryptionStatusResponse, CreateBackupDBInstanceRequest, SetAccountUserPrivilegeRequest, KillOpsResponse, IsolateDBInstanceRequest, CreateDBInstanceHourRequest, EnableTransparentDataEncryptionResponse, SetBackupRulesRequest, AssignProjectRequest, ModifyInstanceParamsRequest, CreateBackupDownloadTaskResponse, DescribeSlowLogPatternsRequest, DescribeSpecInfoResponse, InquirePriceRenewDBInstancesResponse, DeleteAccountUserResponse, DescribeDBInstancesResponse, OfflineIsolatedDBInstanceRequest, InquirePriceCreateDBInstancesRequest, DescribeInstanceParamsResponse, DescribeDBInstanceParamTplResponse, DescribeTransparentDataEncryptionStatusRequest, SetInstanceMaintenanceRequest, DescribeDBInstanceParamTplDetailRequest, ModifyDBInstanceSpecResponse, RenewDBInstancesRequest } from "./mongodb_models";
|
|
3
3
|
/**
|
|
4
4
|
* mongodb client
|
|
5
5
|
* @class
|
|
@@ -14,6 +14,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
14
14
|
* 本接口用于查询节点的属性,包括节点所在可用区、节点名称、地址、角色、状态、主从延迟、优先级、投票权、标签等属性。
|
|
15
15
|
*/
|
|
16
16
|
DescribeDBInstanceNodeProperty(req: DescribeDBInstanceNodePropertyRequest, cb?: (error: string, rep: DescribeDBInstanceNodePropertyResponse) => void): Promise<DescribeDBInstanceNodePropertyResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* 本接口(DescribeDBInstanceParamTpl )用于查询当前账号下所有MongoDB数据库参数模板
|
|
19
|
+
**说明:DescribeDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
20
|
+
*/
|
|
21
|
+
DescribeDBInstanceParamTpl(req: DescribeDBInstanceParamTplRequest, cb?: (error: string, rep: DescribeDBInstanceParamTplResponse) => void): Promise<DescribeDBInstanceParamTplResponse>;
|
|
17
22
|
/**
|
|
18
23
|
* 本接口(DescribeDBInstanceDeal)用于获取MongoDB购买、续费及变配订单详细。
|
|
19
24
|
*/
|
|
@@ -74,10 +79,25 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
74
79
|
* 本接口(CreateAccountUser)用于自定义实例访问账号。
|
|
75
80
|
*/
|
|
76
81
|
CreateAccountUser(req: CreateAccountUserRequest, cb?: (error: string, rep: CreateAccountUserResponse) => void): Promise<CreateAccountUserResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* 本接口(ModifyDBInstanceParamTpl )用于修改MongoDB云数据库实例的参数模板。
|
|
84
|
+
**说明:ModifyDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
85
|
+
*/
|
|
86
|
+
ModifyDBInstanceParamTpl(req: ModifyDBInstanceParamTplRequest, cb?: (error: string, rep: ModifyDBInstanceParamTplResponse) => void): Promise<ModifyDBInstanceParamTplResponse>;
|
|
77
87
|
/**
|
|
78
88
|
* 本接口(CreateDBInstanceHour)用于创建按量计费的MongoDB云数据库实例。
|
|
79
89
|
*/
|
|
80
90
|
CreateDBInstanceHour(req: CreateDBInstanceHourRequest, cb?: (error: string, rep: CreateDBInstanceHourResponse) => void): Promise<CreateDBInstanceHourResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* 本接口(CreateDBInstanceParamTpl)用于创建云数据库MongoDB实例的参数模板
|
|
93
|
+
**说明:CreateDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
94
|
+
*/
|
|
95
|
+
CreateDBInstanceParamTpl(req: CreateDBInstanceParamTplRequest, cb?: (error: string, rep: CreateDBInstanceParamTplResponse) => void): Promise<CreateDBInstanceParamTplResponse>;
|
|
96
|
+
/**
|
|
97
|
+
* 本接口(DropDBInstanceParamTpl )用于删除云数据库MongoDB实例的参数模板
|
|
98
|
+
**说明:DropDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
99
|
+
*/
|
|
100
|
+
DropDBInstanceParamTpl(req: DropDBInstanceParamTplRequest, cb?: (error: string, rep: DropDBInstanceParamTplResponse) => void): Promise<DropDBInstanceParamTplResponse>;
|
|
81
101
|
/**
|
|
82
102
|
* 本接口(RenewDBInstance)用于续费云数据库实例,仅支持付费模式为包年包月的实例。按量计费实例不需要续费。
|
|
83
103
|
*/
|
|
@@ -156,6 +176,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
156
176
|
* 本接口(ModifyInstanceParams)用于修改mongoDB实例的参数配置。
|
|
157
177
|
*/
|
|
158
178
|
ModifyInstanceParams(req: ModifyInstanceParamsRequest, cb?: (error: string, rep: ModifyInstanceParamsResponse) => void): Promise<ModifyInstanceParamsResponse>;
|
|
179
|
+
/**
|
|
180
|
+
* 本接口(DescribeDBInstanceParamTplDetail )用于查询MongoDB云数据库实例的参数模板详情。
|
|
181
|
+
**说明:DescribeDBInstanceParamTplDetail API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
182
|
+
*/
|
|
183
|
+
DescribeDBInstanceParamTplDetail(req: DescribeDBInstanceParamTplDetailRequest, cb?: (error: string, rep: DescribeDBInstanceParamTplDetailResponse) => void): Promise<DescribeDBInstanceParamTplDetailResponse>;
|
|
159
184
|
/**
|
|
160
185
|
* 本接口(KillOps)用于终止MongoDB云数据库实例上执行的特定操作。
|
|
161
186
|
*/
|
|
@@ -39,6 +39,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
39
39
|
async DescribeDBInstanceNodeProperty(req, cb) {
|
|
40
40
|
return this.request("DescribeDBInstanceNodeProperty", req, cb);
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* 本接口(DescribeDBInstanceParamTpl )用于查询当前账号下所有MongoDB数据库参数模板
|
|
44
|
+
**说明:DescribeDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
45
|
+
*/
|
|
46
|
+
async DescribeDBInstanceParamTpl(req, cb) {
|
|
47
|
+
return this.request("DescribeDBInstanceParamTpl", req, cb);
|
|
48
|
+
}
|
|
42
49
|
/**
|
|
43
50
|
* 本接口(DescribeDBInstanceDeal)用于获取MongoDB购买、续费及变配订单详细。
|
|
44
51
|
*/
|
|
@@ -129,12 +136,33 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
129
136
|
async CreateAccountUser(req, cb) {
|
|
130
137
|
return this.request("CreateAccountUser", req, cb);
|
|
131
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* 本接口(ModifyDBInstanceParamTpl )用于修改MongoDB云数据库实例的参数模板。
|
|
141
|
+
**说明:ModifyDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
142
|
+
*/
|
|
143
|
+
async ModifyDBInstanceParamTpl(req, cb) {
|
|
144
|
+
return this.request("ModifyDBInstanceParamTpl", req, cb);
|
|
145
|
+
}
|
|
132
146
|
/**
|
|
133
147
|
* 本接口(CreateDBInstanceHour)用于创建按量计费的MongoDB云数据库实例。
|
|
134
148
|
*/
|
|
135
149
|
async CreateDBInstanceHour(req, cb) {
|
|
136
150
|
return this.request("CreateDBInstanceHour", req, cb);
|
|
137
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* 本接口(CreateDBInstanceParamTpl)用于创建云数据库MongoDB实例的参数模板
|
|
154
|
+
**说明:CreateDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
155
|
+
*/
|
|
156
|
+
async CreateDBInstanceParamTpl(req, cb) {
|
|
157
|
+
return this.request("CreateDBInstanceParamTpl", req, cb);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* 本接口(DropDBInstanceParamTpl )用于删除云数据库MongoDB实例的参数模板
|
|
161
|
+
**说明:DropDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
162
|
+
*/
|
|
163
|
+
async DropDBInstanceParamTpl(req, cb) {
|
|
164
|
+
return this.request("DropDBInstanceParamTpl", req, cb);
|
|
165
|
+
}
|
|
138
166
|
/**
|
|
139
167
|
* 本接口(RenewDBInstance)用于续费云数据库实例,仅支持付费模式为包年包月的实例。按量计费实例不需要续费。
|
|
140
168
|
*/
|
|
@@ -251,6 +279,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
251
279
|
async ModifyInstanceParams(req, cb) {
|
|
252
280
|
return this.request("ModifyInstanceParams", req, cb);
|
|
253
281
|
}
|
|
282
|
+
/**
|
|
283
|
+
* 本接口(DescribeDBInstanceParamTplDetail )用于查询MongoDB云数据库实例的参数模板详情。
|
|
284
|
+
**说明:DescribeDBInstanceParamTplDetail API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
285
|
+
*/
|
|
286
|
+
async DescribeDBInstanceParamTplDetail(req, cb) {
|
|
287
|
+
return this.request("DescribeDBInstanceParamTplDetail", req, cb);
|
|
288
|
+
}
|
|
254
289
|
/**
|
|
255
290
|
* 本接口(KillOps)用于终止MongoDB云数据库实例上执行的特定操作。
|
|
256
291
|
*/
|
|
@@ -158,17 +158,13 @@ export interface CreateDBInstanceRequest {
|
|
|
158
158
|
HiddenZone?: string;
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
161
|
+
* CreateDBInstanceParamTpl返回参数结构体
|
|
162
162
|
*/
|
|
163
|
-
export interface
|
|
163
|
+
export interface CreateDBInstanceParamTplResponse {
|
|
164
164
|
/**
|
|
165
|
-
*
|
|
165
|
+
* 模板ID
|
|
166
166
|
*/
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* 当前操作列表
|
|
170
|
-
*/
|
|
171
|
-
CurrentOps: Array<CurrentOp>;
|
|
167
|
+
TplId?: string;
|
|
172
168
|
/**
|
|
173
169
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
174
170
|
*/
|
|
@@ -184,13 +180,25 @@ export interface DescribeAccountUsersRequest {
|
|
|
184
180
|
InstanceId: string;
|
|
185
181
|
}
|
|
186
182
|
/**
|
|
187
|
-
*
|
|
183
|
+
* DescribeDBInstanceParamTpl请求参数结构体
|
|
188
184
|
*/
|
|
189
|
-
export interface
|
|
185
|
+
export interface DescribeDBInstanceParamTplRequest {
|
|
190
186
|
/**
|
|
191
|
-
*
|
|
187
|
+
* 参数模板 ID 查询条件。
|
|
192
188
|
*/
|
|
193
|
-
|
|
189
|
+
TplIds?: Array<string>;
|
|
190
|
+
/**
|
|
191
|
+
* 模板名称,查询条件。
|
|
192
|
+
*/
|
|
193
|
+
TplNames?: Array<string>;
|
|
194
|
+
/**
|
|
195
|
+
* 根据版本号插叙参数模板,具体支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是:MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
|
|
196
|
+
*/
|
|
197
|
+
MongoVersion?: Array<string>;
|
|
198
|
+
/**
|
|
199
|
+
* 根据模板类型查询参数模板,支持DEFAULT(默认模板)和CUSTOMIZE(自定义模板)两种。
|
|
200
|
+
*/
|
|
201
|
+
TplType?: string;
|
|
194
202
|
}
|
|
195
203
|
/**
|
|
196
204
|
* CreateBackupDBInstance返回参数结构体
|
|
@@ -206,13 +214,22 @@ export interface CreateBackupDBInstanceResponse {
|
|
|
206
214
|
RequestId?: string;
|
|
207
215
|
}
|
|
208
216
|
/**
|
|
209
|
-
*
|
|
217
|
+
* 数据库实例价格
|
|
210
218
|
*/
|
|
211
|
-
export interface
|
|
219
|
+
export interface DBInstancePrice {
|
|
212
220
|
/**
|
|
213
|
-
*
|
|
221
|
+
* 单价
|
|
222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
214
223
|
*/
|
|
215
|
-
|
|
224
|
+
UnitPrice: number;
|
|
225
|
+
/**
|
|
226
|
+
* 原价
|
|
227
|
+
*/
|
|
228
|
+
OriginalPrice: number;
|
|
229
|
+
/**
|
|
230
|
+
* 折扣价
|
|
231
|
+
*/
|
|
232
|
+
DiscountPrice: number;
|
|
216
233
|
}
|
|
217
234
|
/**
|
|
218
235
|
* KillOps请求参数结构体
|
|
@@ -282,6 +299,23 @@ export interface FlushInstanceRouterConfigResponse {
|
|
|
282
299
|
*/
|
|
283
300
|
RequestId?: string;
|
|
284
301
|
}
|
|
302
|
+
/**
|
|
303
|
+
* DescribeCurrentOp返回参数结构体
|
|
304
|
+
*/
|
|
305
|
+
export interface DescribeCurrentOpResponse {
|
|
306
|
+
/**
|
|
307
|
+
* 符合查询条件的操作总数
|
|
308
|
+
*/
|
|
309
|
+
TotalCount: number;
|
|
310
|
+
/**
|
|
311
|
+
* 当前操作列表
|
|
312
|
+
*/
|
|
313
|
+
CurrentOps: Array<CurrentOp>;
|
|
314
|
+
/**
|
|
315
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
316
|
+
*/
|
|
317
|
+
RequestId?: string;
|
|
318
|
+
}
|
|
285
319
|
/**
|
|
286
320
|
* 实例可修改参数Multi类型集合。
|
|
287
321
|
*/
|
|
@@ -343,6 +377,15 @@ export interface ModifyInstanceParamsResponse {
|
|
|
343
377
|
*/
|
|
344
378
|
RequestId?: string;
|
|
345
379
|
}
|
|
380
|
+
/**
|
|
381
|
+
* SetInstanceMaintenance返回参数结构体
|
|
382
|
+
*/
|
|
383
|
+
export interface SetInstanceMaintenanceResponse {
|
|
384
|
+
/**
|
|
385
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
386
|
+
*/
|
|
387
|
+
RequestId?: string;
|
|
388
|
+
}
|
|
346
389
|
/**
|
|
347
390
|
* DescribeBackupRules返回参数结构体
|
|
348
391
|
*/
|
|
@@ -468,6 +511,36 @@ export interface IsolateDBInstanceResponse {
|
|
|
468
511
|
*/
|
|
469
512
|
RequestId?: string;
|
|
470
513
|
}
|
|
514
|
+
/**
|
|
515
|
+
* CreateDBInstanceParamTpl请求参数结构体
|
|
516
|
+
*/
|
|
517
|
+
export interface CreateDBInstanceParamTplRequest {
|
|
518
|
+
/**
|
|
519
|
+
* 参数模板名称。
|
|
520
|
+
*/
|
|
521
|
+
TplName: string;
|
|
522
|
+
/**
|
|
523
|
+
* 版本号,该参数模板支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是:MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。当MirrorTplId为空时,该字段必填。
|
|
524
|
+
*/
|
|
525
|
+
MongoVersion?: string;
|
|
526
|
+
/**
|
|
527
|
+
* 实例类型,REPLSET-副本集,SHARD-分片集群,STANDALONE-单节点
|
|
528
|
+
当MirrorTplId为空时,该字段必填。
|
|
529
|
+
*/
|
|
530
|
+
ClusterType?: string;
|
|
531
|
+
/**
|
|
532
|
+
* 模板描述信息。
|
|
533
|
+
*/
|
|
534
|
+
TplDesc?: string;
|
|
535
|
+
/**
|
|
536
|
+
* 模板参数,若为空,则以系统默认模板作为新版本参数。
|
|
537
|
+
*/
|
|
538
|
+
Params?: Array<ParamType>;
|
|
539
|
+
/**
|
|
540
|
+
* 镜像模板ID,若该字段不为空,则以该模板为镜像,克隆出一个新的模板。注意:MirrorTplId不为空时,MongoVersion及ClusterType将以MirrorTpl模板的版本及实例类型为准。
|
|
541
|
+
*/
|
|
542
|
+
MirrorTplId?: string;
|
|
543
|
+
}
|
|
471
544
|
/**
|
|
472
545
|
* DescribeSecurityGroup请求参数结构体
|
|
473
546
|
*/
|
|
@@ -535,22 +608,13 @@ export interface AddNodeList {
|
|
|
535
608
|
Zone: string;
|
|
536
609
|
}
|
|
537
610
|
/**
|
|
538
|
-
*
|
|
611
|
+
* FlushInstanceRouterConfig请求参数结构体
|
|
539
612
|
*/
|
|
540
|
-
export interface
|
|
541
|
-
/**
|
|
542
|
-
* 单价
|
|
543
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
544
|
-
*/
|
|
545
|
-
UnitPrice: number;
|
|
546
|
-
/**
|
|
547
|
-
* 原价
|
|
548
|
-
*/
|
|
549
|
-
OriginalPrice: number;
|
|
613
|
+
export interface FlushInstanceRouterConfigRequest {
|
|
550
614
|
/**
|
|
551
|
-
*
|
|
615
|
+
* 实例ID
|
|
552
616
|
*/
|
|
553
|
-
|
|
617
|
+
InstanceId: string;
|
|
554
618
|
}
|
|
555
619
|
/**
|
|
556
620
|
* 实例信息
|
|
@@ -565,6 +629,19 @@ export interface DBInstanceInfo {
|
|
|
565
629
|
*/
|
|
566
630
|
Region: string;
|
|
567
631
|
}
|
|
632
|
+
/**
|
|
633
|
+
* 数据库参数
|
|
634
|
+
*/
|
|
635
|
+
export interface ParamType {
|
|
636
|
+
/**
|
|
637
|
+
* 参数
|
|
638
|
+
*/
|
|
639
|
+
Key: string;
|
|
640
|
+
/**
|
|
641
|
+
* 参数值
|
|
642
|
+
*/
|
|
643
|
+
Value: string;
|
|
644
|
+
}
|
|
568
645
|
/**
|
|
569
646
|
* SetAccountUserPrivilege返回参数结构体
|
|
570
647
|
*/
|
|
@@ -637,6 +714,15 @@ export interface CreateDBInstanceHourResponse {
|
|
|
637
714
|
*/
|
|
638
715
|
RequestId?: string;
|
|
639
716
|
}
|
|
717
|
+
/**
|
|
718
|
+
* DropDBInstanceParamTpl返回参数结构体
|
|
719
|
+
*/
|
|
720
|
+
export interface DropDBInstanceParamTplResponse {
|
|
721
|
+
/**
|
|
722
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
723
|
+
*/
|
|
724
|
+
RequestId?: string;
|
|
725
|
+
}
|
|
640
726
|
/**
|
|
641
727
|
* EnableTransparentDataEncryption请求参数结构体
|
|
642
728
|
*/
|
|
@@ -774,6 +860,15 @@ export interface ModifyDBInstanceNetworkAddressResponse {
|
|
|
774
860
|
*/
|
|
775
861
|
RequestId?: string;
|
|
776
862
|
}
|
|
863
|
+
/**
|
|
864
|
+
* DropDBInstanceParamTpl请求参数结构体
|
|
865
|
+
*/
|
|
866
|
+
export interface DropDBInstanceParamTplRequest {
|
|
867
|
+
/**
|
|
868
|
+
* 参数模板 ID。
|
|
869
|
+
*/
|
|
870
|
+
TplId: string;
|
|
871
|
+
}
|
|
777
872
|
/**
|
|
778
873
|
* CreateAccountUser返回参数结构体
|
|
779
874
|
*/
|
|
@@ -1408,6 +1503,15 @@ export interface DescribeClientConnectionsResponse {
|
|
|
1408
1503
|
*/
|
|
1409
1504
|
RequestId?: string;
|
|
1410
1505
|
}
|
|
1506
|
+
/**
|
|
1507
|
+
* ModifyDBInstanceParamTpl返回参数结构体
|
|
1508
|
+
*/
|
|
1509
|
+
export interface ModifyDBInstanceParamTplResponse {
|
|
1510
|
+
/**
|
|
1511
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1512
|
+
*/
|
|
1513
|
+
RequestId?: string;
|
|
1514
|
+
}
|
|
1411
1515
|
/**
|
|
1412
1516
|
* TerminateDBInstances请求参数结构体
|
|
1413
1517
|
*/
|
|
@@ -1650,6 +1754,35 @@ export interface CreateBackupDownloadTaskRequest {
|
|
|
1650
1754
|
*/
|
|
1651
1755
|
BackupSets: Array<ReplicaSetInfo>;
|
|
1652
1756
|
}
|
|
1757
|
+
/**
|
|
1758
|
+
* 数据库参数模板
|
|
1759
|
+
*/
|
|
1760
|
+
export interface ParamTpl {
|
|
1761
|
+
/**
|
|
1762
|
+
* 参数模板名称
|
|
1763
|
+
*/
|
|
1764
|
+
TplName: string;
|
|
1765
|
+
/**
|
|
1766
|
+
* 参数模板ID
|
|
1767
|
+
*/
|
|
1768
|
+
TplId: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* 适用数据库版本
|
|
1771
|
+
*/
|
|
1772
|
+
MongoVersion: string;
|
|
1773
|
+
/**
|
|
1774
|
+
* 适用数据库类型
|
|
1775
|
+
*/
|
|
1776
|
+
ClusterType: string;
|
|
1777
|
+
/**
|
|
1778
|
+
* 参数模板描述
|
|
1779
|
+
*/
|
|
1780
|
+
TplDesc: string;
|
|
1781
|
+
/**
|
|
1782
|
+
* 模板类型,包括DEFAULT(默认模板)及CUSTOMIZE(定制模板)两种类型
|
|
1783
|
+
*/
|
|
1784
|
+
TplType: string;
|
|
1785
|
+
}
|
|
1653
1786
|
/**
|
|
1654
1787
|
* InquirePriceModifyDBInstanceSpec返回参数结构体
|
|
1655
1788
|
*/
|
|
@@ -1718,6 +1851,76 @@ export interface DescribeDBInstanceNodePropertyResponse {
|
|
|
1718
1851
|
*/
|
|
1719
1852
|
RequestId?: string;
|
|
1720
1853
|
}
|
|
1854
|
+
/**
|
|
1855
|
+
* DescribeDBInstanceParamTplDetail返回参数结构体
|
|
1856
|
+
*/
|
|
1857
|
+
export interface DescribeDBInstanceParamTplDetailResponse {
|
|
1858
|
+
/**
|
|
1859
|
+
* 枚举类参数详情列表。
|
|
1860
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1861
|
+
*/
|
|
1862
|
+
InstanceEnumParams?: Array<InstanceEnumParam>;
|
|
1863
|
+
/**
|
|
1864
|
+
* 整形参数详情列表。
|
|
1865
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1866
|
+
*/
|
|
1867
|
+
InstanceIntegerParams?: Array<InstanceIntegerParam>;
|
|
1868
|
+
/**
|
|
1869
|
+
* 文本参数详情列表。
|
|
1870
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1871
|
+
*/
|
|
1872
|
+
InstanceTextParams?: Array<InstanceTextParam>;
|
|
1873
|
+
/**
|
|
1874
|
+
* 多值参数详情列表。
|
|
1875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1876
|
+
*/
|
|
1877
|
+
InstanceMultiParams?: Array<InstanceMultiParam>;
|
|
1878
|
+
/**
|
|
1879
|
+
* 参数总个数。
|
|
1880
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1881
|
+
*/
|
|
1882
|
+
TotalCount?: number;
|
|
1883
|
+
/**
|
|
1884
|
+
* 模板适配实例版本。
|
|
1885
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1886
|
+
*/
|
|
1887
|
+
MongoVersion?: string;
|
|
1888
|
+
/**
|
|
1889
|
+
* 模板适配集群类型,副本集或分片。。
|
|
1890
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1891
|
+
*/
|
|
1892
|
+
ClusterType?: string;
|
|
1893
|
+
/**
|
|
1894
|
+
* 参数模板名称。
|
|
1895
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1896
|
+
*/
|
|
1897
|
+
TplName?: string;
|
|
1898
|
+
/**
|
|
1899
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1900
|
+
*/
|
|
1901
|
+
RequestId?: string;
|
|
1902
|
+
}
|
|
1903
|
+
/**
|
|
1904
|
+
* ModifyDBInstanceParamTpl请求参数结构体
|
|
1905
|
+
*/
|
|
1906
|
+
export interface ModifyDBInstanceParamTplRequest {
|
|
1907
|
+
/**
|
|
1908
|
+
* 待修改的参数模板 ID,示例:tpl-jglr91vew。
|
|
1909
|
+
*/
|
|
1910
|
+
TplId: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* 待修改参数模板名称,为空时,保持原有名称。
|
|
1913
|
+
*/
|
|
1914
|
+
TplName?: string;
|
|
1915
|
+
/**
|
|
1916
|
+
* 待修改参数模板描述,为空时,保持原有描述。
|
|
1917
|
+
*/
|
|
1918
|
+
TplDesc?: string;
|
|
1919
|
+
/**
|
|
1920
|
+
* 待修改参数名及参数值,为空时,各参数保持原有值,支持单条或批量修改。
|
|
1921
|
+
*/
|
|
1922
|
+
Params?: Array<ParamType>;
|
|
1923
|
+
}
|
|
1721
1924
|
/**
|
|
1722
1925
|
* DescribeCurrentOp请求参数结构体
|
|
1723
1926
|
*/
|
|
@@ -2674,6 +2877,25 @@ export interface DescribeInstanceParamsResponse {
|
|
|
2674
2877
|
*/
|
|
2675
2878
|
RequestId?: string;
|
|
2676
2879
|
}
|
|
2880
|
+
/**
|
|
2881
|
+
* DescribeDBInstanceParamTpl返回参数结构体
|
|
2882
|
+
*/
|
|
2883
|
+
export interface DescribeDBInstanceParamTplResponse {
|
|
2884
|
+
/**
|
|
2885
|
+
* 参数模板列表信息。
|
|
2886
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2887
|
+
*/
|
|
2888
|
+
ParamTpls?: Array<ParamTpl>;
|
|
2889
|
+
/**
|
|
2890
|
+
* 参数模板总数。
|
|
2891
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2892
|
+
*/
|
|
2893
|
+
TotalCount?: number;
|
|
2894
|
+
/**
|
|
2895
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2896
|
+
*/
|
|
2897
|
+
RequestId?: string;
|
|
2898
|
+
}
|
|
2677
2899
|
/**
|
|
2678
2900
|
* DescribeTransparentDataEncryptionStatus请求参数结构体
|
|
2679
2901
|
*/
|
|
@@ -2728,6 +2950,19 @@ export interface SetInstanceMaintenanceRequest {
|
|
|
2728
2950
|
*/
|
|
2729
2951
|
MaintenanceEnd: string;
|
|
2730
2952
|
}
|
|
2953
|
+
/**
|
|
2954
|
+
* DescribeDBInstanceParamTplDetail请求参数结构体
|
|
2955
|
+
*/
|
|
2956
|
+
export interface DescribeDBInstanceParamTplDetailRequest {
|
|
2957
|
+
/**
|
|
2958
|
+
* 参数模板 ID。
|
|
2959
|
+
*/
|
|
2960
|
+
TplId: string;
|
|
2961
|
+
/**
|
|
2962
|
+
* 参数名称,传入该值,则只会获取该字段的参数详情。为空时,返回全部参数。
|
|
2963
|
+
*/
|
|
2964
|
+
ParamName?: string;
|
|
2965
|
+
}
|
|
2731
2966
|
/**
|
|
2732
2967
|
* 实例详情
|
|
2733
2968
|
*/
|