tencentcloud-sdk-nodejs-mongodb 4.0.575 → 4.0.577
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +577 -0
- package/SERVICE_CHANGELOG.md +654 -124
- package/package.json +1 -1
- package/products.md +34 -32
- package/src/services/mongodb/v20190725/mongodb_client.ts +21 -9
- package/src/services/mongodb/v20190725/mongodb_models.ts +171 -118
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +11 -7
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +12 -6
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +159 -111
|
@@ -200,7 +200,7 @@ export interface DescribeCurrentOpResponse {
|
|
|
200
200
|
*/
|
|
201
201
|
export interface DescribeAccountUsersRequest {
|
|
202
202
|
/**
|
|
203
|
-
*
|
|
203
|
+
* 指定待获取账号的实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
204
204
|
*/
|
|
205
205
|
InstanceId: string
|
|
206
206
|
}
|
|
@@ -210,9 +210,9 @@ export interface DescribeAccountUsersRequest {
|
|
|
210
210
|
*/
|
|
211
211
|
export interface CreateBackupDBInstanceResponse {
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
213
|
+
* 查询备份流程的状态。
|
|
214
214
|
*/
|
|
215
|
-
AsyncRequestId
|
|
215
|
+
AsyncRequestId?: string
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
218
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -322,13 +322,52 @@ export interface FlushInstanceRouterConfigResponse {
|
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
/**
|
|
325
|
-
*
|
|
325
|
+
* 实例可修改参数Multi类型集合。
|
|
326
326
|
*/
|
|
327
|
-
export interface
|
|
327
|
+
export interface InstanceMultiParam {
|
|
328
328
|
/**
|
|
329
|
-
*
|
|
329
|
+
* 参数当前值。
|
|
330
330
|
*/
|
|
331
|
-
|
|
331
|
+
CurrentValue: string
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* 参数默认值。
|
|
335
|
+
*/
|
|
336
|
+
DefaultValue: string
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* 参考值范围。
|
|
340
|
+
*/
|
|
341
|
+
EnumValue: Array<string>
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* 参数修改后是否需要重启才会生效。
|
|
345
|
+
- 1:需要重启后生效。
|
|
346
|
+
- 0:无需重启,设置成功即可生效。
|
|
347
|
+
*/
|
|
348
|
+
NeedRestart: string
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* 参数名称。
|
|
352
|
+
*/
|
|
353
|
+
ParamName: string
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* 是否为运行中参数值。
|
|
357
|
+
- 1:运行中参数值。
|
|
358
|
+
- 0:非运行中参数值。
|
|
359
|
+
*/
|
|
360
|
+
Status: number
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* 参数说明。
|
|
364
|
+
*/
|
|
365
|
+
Tips: Array<string>
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* 当前值的类型描述,默认为multi。
|
|
369
|
+
*/
|
|
370
|
+
ValueType: string
|
|
332
371
|
}
|
|
333
372
|
|
|
334
373
|
/**
|
|
@@ -432,48 +471,13 @@ export interface IsolateDBInstanceResponse {
|
|
|
432
471
|
}
|
|
433
472
|
|
|
434
473
|
/**
|
|
435
|
-
*
|
|
474
|
+
* DescribeSecurityGroup请求参数结构体
|
|
436
475
|
*/
|
|
437
|
-
export interface
|
|
438
|
-
/**
|
|
439
|
-
* 当前值
|
|
440
|
-
*/
|
|
441
|
-
CurrentValue: string
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* 默认值
|
|
445
|
-
*/
|
|
446
|
-
DefaultValue: string
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* 指导值范围
|
|
450
|
-
*/
|
|
451
|
-
EnumValue: Array<string>
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* 是否需要重启生效 1:需要重启后生效;0:无需重启,设置成功即可生效;
|
|
455
|
-
*/
|
|
456
|
-
NeedRestart: string
|
|
457
|
-
|
|
458
|
-
/**
|
|
459
|
-
* 参数名称
|
|
460
|
-
*/
|
|
461
|
-
ParamName: string
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* 是否为运行中参数值 1:运行中参数值;0:非运行中参数值;
|
|
465
|
-
*/
|
|
466
|
-
Status: number
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* 参数说明
|
|
470
|
-
*/
|
|
471
|
-
Tips: Array<string>
|
|
472
|
-
|
|
476
|
+
export interface DescribeSecurityGroupRequest {
|
|
473
477
|
/**
|
|
474
|
-
*
|
|
478
|
+
* 实例 ID。例如:cmgo-p8vn****。
|
|
475
479
|
*/
|
|
476
|
-
|
|
480
|
+
InstanceId: string
|
|
477
481
|
}
|
|
478
482
|
|
|
479
483
|
/**
|
|
@@ -526,9 +530,9 @@ export interface DBInstanceInfo {
|
|
|
526
530
|
*/
|
|
527
531
|
export interface SetAccountUserPrivilegeResponse {
|
|
528
532
|
/**
|
|
529
|
-
*
|
|
533
|
+
* 任务ID。
|
|
530
534
|
*/
|
|
531
|
-
FlowId
|
|
535
|
+
FlowId?: number
|
|
532
536
|
|
|
533
537
|
/**
|
|
534
538
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -629,23 +633,24 @@ export interface DescribeDBInstanceNodePropertyRequest {
|
|
|
629
633
|
}
|
|
630
634
|
|
|
631
635
|
/**
|
|
632
|
-
*
|
|
636
|
+
* DeleteAccountUser请求参数结构体
|
|
633
637
|
*/
|
|
634
|
-
export interface
|
|
638
|
+
export interface DeleteAccountUserRequest {
|
|
635
639
|
/**
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
640
|
+
* 指定待删除账号的实例 ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
641
|
+
|
|
642
|
+
*/
|
|
643
|
+
InstanceId: string
|
|
639
644
|
|
|
640
645
|
/**
|
|
641
|
-
*
|
|
646
|
+
* 配置待删除的账号名。
|
|
642
647
|
*/
|
|
643
|
-
|
|
648
|
+
UserName: string
|
|
644
649
|
|
|
645
650
|
/**
|
|
646
|
-
*
|
|
651
|
+
* 配置 mongouser 对应的密码。mongouser为系统默认账号,输入其对应的密码。
|
|
647
652
|
*/
|
|
648
|
-
|
|
653
|
+
MongoUserPassword: string
|
|
649
654
|
}
|
|
650
655
|
|
|
651
656
|
/**
|
|
@@ -775,7 +780,7 @@ export interface CreateAccountUserResponse {
|
|
|
775
780
|
/**
|
|
776
781
|
* 创建任务ID。
|
|
777
782
|
*/
|
|
778
|
-
FlowId
|
|
783
|
+
FlowId?: number
|
|
779
784
|
|
|
780
785
|
/**
|
|
781
786
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -928,7 +933,7 @@ export interface BackupInfo {
|
|
|
928
933
|
*/
|
|
929
934
|
export interface DescribeDBInstancesRequest {
|
|
930
935
|
/**
|
|
931
|
-
* 实例ID列表。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
936
|
+
* 实例 ID 列表。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
932
937
|
*/
|
|
933
938
|
InstanceIds?: Array<string>
|
|
934
939
|
|
|
@@ -1138,56 +1143,60 @@ export interface ResetDBInstancePasswordRequest {
|
|
|
1138
1143
|
}
|
|
1139
1144
|
|
|
1140
1145
|
/**
|
|
1141
|
-
* 实例可修改参数
|
|
1146
|
+
* 实例可修改参数 Integer 类型集合。
|
|
1142
1147
|
*/
|
|
1143
1148
|
export interface InstanceIntegerParam {
|
|
1144
1149
|
/**
|
|
1145
|
-
*
|
|
1150
|
+
* 参数当前值。
|
|
1146
1151
|
*/
|
|
1147
1152
|
CurrentValue: string
|
|
1148
1153
|
|
|
1149
1154
|
/**
|
|
1150
|
-
*
|
|
1155
|
+
* 参数默认值。
|
|
1151
1156
|
*/
|
|
1152
1157
|
DefaultValue: string
|
|
1153
1158
|
|
|
1154
1159
|
/**
|
|
1155
|
-
*
|
|
1160
|
+
* 参数最大值。
|
|
1156
1161
|
*/
|
|
1157
1162
|
Max: string
|
|
1158
1163
|
|
|
1159
1164
|
/**
|
|
1160
|
-
*
|
|
1165
|
+
* 最小值。
|
|
1161
1166
|
*/
|
|
1162
1167
|
Min: string
|
|
1163
1168
|
|
|
1164
1169
|
/**
|
|
1165
|
-
|
|
1166
|
-
|
|
1170
|
+
* 参数修改之后是否需要重启生效。
|
|
1171
|
+
- 1:需要重启后生效。
|
|
1172
|
+
- 0:无需重启,设置成功即可生效。
|
|
1173
|
+
*/
|
|
1167
1174
|
NeedRestart: string
|
|
1168
1175
|
|
|
1169
1176
|
/**
|
|
1170
|
-
*
|
|
1177
|
+
* 参数名称。
|
|
1171
1178
|
*/
|
|
1172
1179
|
ParamName: string
|
|
1173
1180
|
|
|
1174
1181
|
/**
|
|
1175
|
-
*
|
|
1182
|
+
* 参数说明。
|
|
1176
1183
|
*/
|
|
1177
1184
|
Tips: Array<string>
|
|
1178
1185
|
|
|
1179
1186
|
/**
|
|
1180
|
-
*
|
|
1187
|
+
* 参数类型。
|
|
1181
1188
|
*/
|
|
1182
1189
|
ValueType: string
|
|
1183
1190
|
|
|
1184
1191
|
/**
|
|
1185
|
-
|
|
1186
|
-
|
|
1192
|
+
* 是否为运行中参数值。
|
|
1193
|
+
- 1:运行中参数值。
|
|
1194
|
+
- 0:非运行中参数值。
|
|
1195
|
+
*/
|
|
1187
1196
|
Status: number
|
|
1188
1197
|
|
|
1189
1198
|
/**
|
|
1190
|
-
*
|
|
1199
|
+
* 冗余字段,可忽略。
|
|
1191
1200
|
*/
|
|
1192
1201
|
Unit: string
|
|
1193
1202
|
}
|
|
@@ -1247,7 +1256,7 @@ export interface CreateDBInstanceResponse {
|
|
|
1247
1256
|
*/
|
|
1248
1257
|
export interface CreateAccountUserRequest {
|
|
1249
1258
|
/**
|
|
1250
|
-
* 实例 ID。
|
|
1259
|
+
* 实例 ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
1251
1260
|
*/
|
|
1252
1261
|
InstanceId: string
|
|
1253
1262
|
|
|
@@ -1278,47 +1287,49 @@ export interface CreateAccountUserRequest {
|
|
|
1278
1287
|
}
|
|
1279
1288
|
|
|
1280
1289
|
/**
|
|
1281
|
-
*
|
|
1290
|
+
* 实例可修改参数为 Text 类型的参数集合。
|
|
1282
1291
|
*/
|
|
1283
1292
|
export interface InstanceTextParam {
|
|
1284
1293
|
/**
|
|
1285
|
-
*
|
|
1294
|
+
* 参数当前值。
|
|
1286
1295
|
*/
|
|
1287
1296
|
CurrentValue: string
|
|
1288
1297
|
|
|
1289
1298
|
/**
|
|
1290
|
-
*
|
|
1299
|
+
* 参数默认值。
|
|
1291
1300
|
*/
|
|
1292
1301
|
DefaultValue: string
|
|
1293
1302
|
|
|
1294
1303
|
/**
|
|
1295
|
-
*
|
|
1304
|
+
* 修改参数值之后是否需要重启。
|
|
1296
1305
|
*/
|
|
1297
1306
|
NeedRestart: string
|
|
1298
1307
|
|
|
1299
1308
|
/**
|
|
1300
|
-
*
|
|
1309
|
+
* 参数名称。
|
|
1301
1310
|
*/
|
|
1302
1311
|
ParamName: string
|
|
1303
1312
|
|
|
1304
1313
|
/**
|
|
1305
|
-
*
|
|
1314
|
+
* Text 类型参数对应的值。
|
|
1306
1315
|
*/
|
|
1307
1316
|
TextValue: string
|
|
1308
1317
|
|
|
1309
1318
|
/**
|
|
1310
|
-
*
|
|
1319
|
+
* 参数说明。
|
|
1311
1320
|
*/
|
|
1312
1321
|
Tips: Array<string>
|
|
1313
1322
|
|
|
1314
1323
|
/**
|
|
1315
|
-
*
|
|
1324
|
+
* 参数值类型说明。
|
|
1316
1325
|
*/
|
|
1317
1326
|
ValueType: string
|
|
1318
1327
|
|
|
1319
1328
|
/**
|
|
1320
|
-
|
|
1321
|
-
|
|
1329
|
+
* 是否为运行中的参数值。
|
|
1330
|
+
- 1:运行中参数值。
|
|
1331
|
+
- 0:非运行中参数值。
|
|
1332
|
+
*/
|
|
1322
1333
|
Status: string
|
|
1323
1334
|
}
|
|
1324
1335
|
|
|
@@ -1344,7 +1355,7 @@ export interface DescribeAccountUsersResponse {
|
|
|
1344
1355
|
/**
|
|
1345
1356
|
* 实例账号列表。
|
|
1346
1357
|
*/
|
|
1347
|
-
Users
|
|
1358
|
+
Users?: Array<UserInfo>
|
|
1348
1359
|
|
|
1349
1360
|
/**
|
|
1350
1361
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1402,19 +1413,39 @@ export interface DescribeBackupDownloadTaskRequest {
|
|
|
1402
1413
|
Status?: Array<number>
|
|
1403
1414
|
}
|
|
1404
1415
|
|
|
1416
|
+
/**
|
|
1417
|
+
* 需要终止的操作
|
|
1418
|
+
*/
|
|
1419
|
+
export interface Operation {
|
|
1420
|
+
/**
|
|
1421
|
+
* 操作所在的分片名
|
|
1422
|
+
*/
|
|
1423
|
+
ReplicaSetName: string
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* 操作所在的节点名
|
|
1427
|
+
*/
|
|
1428
|
+
NodeName: string
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* 操作序号
|
|
1432
|
+
*/
|
|
1433
|
+
OpId: number
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1405
1436
|
/**
|
|
1406
1437
|
* DescribeClientConnections返回参数结构体
|
|
1407
1438
|
*/
|
|
1408
1439
|
export interface DescribeClientConnectionsResponse {
|
|
1409
1440
|
/**
|
|
1410
|
-
* 客户端连接信息,包括客户端IP和对应IP的连接数量。
|
|
1441
|
+
* 客户端连接信息,包括客户端 IP 和对应 IP 的连接数量。
|
|
1411
1442
|
*/
|
|
1412
|
-
Clients
|
|
1443
|
+
Clients?: Array<ClientConnection>
|
|
1413
1444
|
|
|
1414
1445
|
/**
|
|
1415
1446
|
* 满足条件的记录总条数,可用于分页查询。
|
|
1416
1447
|
*/
|
|
1417
|
-
TotalCount
|
|
1448
|
+
TotalCount?: number
|
|
1418
1449
|
|
|
1419
1450
|
/**
|
|
1420
1451
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1497,7 +1528,7 @@ export interface UserInfo {
|
|
|
1497
1528
|
*/
|
|
1498
1529
|
export interface DescribeInstanceParamsRequest {
|
|
1499
1530
|
/**
|
|
1500
|
-
*
|
|
1531
|
+
* 指定待查询参数列表的实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
1501
1532
|
*/
|
|
1502
1533
|
InstanceId: string
|
|
1503
1534
|
}
|
|
@@ -1910,17 +1941,18 @@ export interface DescribeDBBackupsRequest {
|
|
|
1910
1941
|
*/
|
|
1911
1942
|
export interface DescribeClientConnectionsRequest {
|
|
1912
1943
|
/**
|
|
1913
|
-
|
|
1914
|
-
|
|
1944
|
+
* 指定待查询的实例ID,例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
1945
|
+
|
|
1946
|
+
*/
|
|
1915
1947
|
InstanceId: string
|
|
1916
1948
|
|
|
1917
1949
|
/**
|
|
1918
|
-
*
|
|
1950
|
+
* 单次请求返回的数量。最小值为1,最大值为1000,默认值为1000。
|
|
1919
1951
|
*/
|
|
1920
1952
|
Limit?: number
|
|
1921
1953
|
|
|
1922
1954
|
/**
|
|
1923
|
-
* 偏移量,默认值为0。
|
|
1955
|
+
* 偏移量,默认值为0。Offset=Limit*(页码-1)。
|
|
1924
1956
|
*/
|
|
1925
1957
|
Offset?: number
|
|
1926
1958
|
}
|
|
@@ -2010,43 +2042,47 @@ export interface RenewDBInstancesResponse {
|
|
|
2010
2042
|
*/
|
|
2011
2043
|
export interface InstanceEnumParam {
|
|
2012
2044
|
/**
|
|
2013
|
-
*
|
|
2045
|
+
* 参数当前值。
|
|
2014
2046
|
*/
|
|
2015
2047
|
CurrentValue: string
|
|
2016
2048
|
|
|
2017
2049
|
/**
|
|
2018
|
-
*
|
|
2050
|
+
* 参数默认值。
|
|
2019
2051
|
*/
|
|
2020
2052
|
DefaultValue: string
|
|
2021
2053
|
|
|
2022
2054
|
/**
|
|
2023
|
-
*
|
|
2055
|
+
* 枚举值,所有支持的值。
|
|
2024
2056
|
*/
|
|
2025
2057
|
EnumValue: Array<string>
|
|
2026
2058
|
|
|
2027
2059
|
/**
|
|
2028
|
-
|
|
2029
|
-
|
|
2060
|
+
* 参数修改之后是否需要重启生效。
|
|
2061
|
+
- 1:需要重启后生效。
|
|
2062
|
+
- 0:无需重启,设置成功即可生效。
|
|
2063
|
+
*/
|
|
2030
2064
|
NeedRestart: string
|
|
2031
2065
|
|
|
2032
2066
|
/**
|
|
2033
|
-
*
|
|
2067
|
+
* 参数名称。
|
|
2034
2068
|
*/
|
|
2035
2069
|
ParamName: string
|
|
2036
2070
|
|
|
2037
2071
|
/**
|
|
2038
|
-
*
|
|
2072
|
+
* 参数说明。
|
|
2039
2073
|
*/
|
|
2040
2074
|
Tips: Array<string>
|
|
2041
2075
|
|
|
2042
2076
|
/**
|
|
2043
|
-
*
|
|
2077
|
+
* 参数值类型说明。
|
|
2044
2078
|
*/
|
|
2045
2079
|
ValueType: string
|
|
2046
2080
|
|
|
2047
2081
|
/**
|
|
2048
|
-
|
|
2049
|
-
|
|
2082
|
+
* 是否为运行中参数值。
|
|
2083
|
+
- 1:运行中参数值。
|
|
2084
|
+
- 0:非运行中参数值。
|
|
2085
|
+
*/
|
|
2050
2086
|
Status: number
|
|
2051
2087
|
}
|
|
2052
2088
|
|
|
@@ -2065,17 +2101,19 @@ export interface RenameInstanceResponse {
|
|
|
2065
2101
|
*/
|
|
2066
2102
|
export interface CreateBackupDBInstanceRequest {
|
|
2067
2103
|
/**
|
|
2068
|
-
* 实例
|
|
2104
|
+
* 实例 ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
2069
2105
|
*/
|
|
2070
2106
|
InstanceId: string
|
|
2071
2107
|
|
|
2072
2108
|
/**
|
|
2073
|
-
|
|
2074
|
-
|
|
2109
|
+
* 设置备份方式。
|
|
2110
|
+
- 0:逻辑备份。
|
|
2111
|
+
- 1:物理备份。
|
|
2112
|
+
*/
|
|
2075
2113
|
BackupMethod: number
|
|
2076
2114
|
|
|
2077
2115
|
/**
|
|
2078
|
-
*
|
|
2116
|
+
* 备份备注信息。
|
|
2079
2117
|
*/
|
|
2080
2118
|
BackupRemark?: string
|
|
2081
2119
|
}
|
|
@@ -2085,17 +2123,17 @@ export interface CreateBackupDBInstanceRequest {
|
|
|
2085
2123
|
*/
|
|
2086
2124
|
export interface SetAccountUserPrivilegeRequest {
|
|
2087
2125
|
/**
|
|
2088
|
-
*
|
|
2126
|
+
* 指定待设置账号的实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
2089
2127
|
*/
|
|
2090
2128
|
InstanceId: string
|
|
2091
2129
|
|
|
2092
2130
|
/**
|
|
2093
|
-
*
|
|
2131
|
+
* 设置账号名称。
|
|
2094
2132
|
*/
|
|
2095
2133
|
UserName: string
|
|
2096
2134
|
|
|
2097
2135
|
/**
|
|
2098
|
-
*
|
|
2136
|
+
* 设置权限信息。
|
|
2099
2137
|
*/
|
|
2100
2138
|
AuthRole: Array<Auth>
|
|
2101
2139
|
}
|
|
@@ -2495,6 +2533,21 @@ export interface TagInfo {
|
|
|
2495
2533
|
TagValue: string
|
|
2496
2534
|
}
|
|
2497
2535
|
|
|
2536
|
+
/**
|
|
2537
|
+
* DeleteAccountUser返回参数结构体
|
|
2538
|
+
*/
|
|
2539
|
+
export interface DeleteAccountUserResponse {
|
|
2540
|
+
/**
|
|
2541
|
+
* 账户删除任务ID。
|
|
2542
|
+
*/
|
|
2543
|
+
FlowId?: number
|
|
2544
|
+
|
|
2545
|
+
/**
|
|
2546
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2547
|
+
*/
|
|
2548
|
+
RequestId?: string
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2498
2551
|
/**
|
|
2499
2552
|
* DescribeDBInstances返回参数结构体
|
|
2500
2553
|
*/
|
|
@@ -2620,29 +2673,29 @@ export interface InquirePriceCreateDBInstancesRequest {
|
|
|
2620
2673
|
*/
|
|
2621
2674
|
export interface DescribeInstanceParamsResponse {
|
|
2622
2675
|
/**
|
|
2623
|
-
*
|
|
2676
|
+
* 参数值为枚举类型参数集合。
|
|
2624
2677
|
*/
|
|
2625
|
-
InstanceEnumParam
|
|
2678
|
+
InstanceEnumParam?: Array<InstanceEnumParam>
|
|
2626
2679
|
|
|
2627
2680
|
/**
|
|
2628
|
-
*
|
|
2681
|
+
* 参数值为 Integer 类型参数集合。
|
|
2629
2682
|
*/
|
|
2630
|
-
InstanceIntegerParam
|
|
2683
|
+
InstanceIntegerParam?: Array<InstanceIntegerParam>
|
|
2631
2684
|
|
|
2632
2685
|
/**
|
|
2633
|
-
*
|
|
2686
|
+
* 参数值为 Text 类型的参数集合。
|
|
2634
2687
|
*/
|
|
2635
|
-
InstanceTextParam
|
|
2688
|
+
InstanceTextParam?: Array<InstanceTextParam>
|
|
2636
2689
|
|
|
2637
2690
|
/**
|
|
2638
|
-
*
|
|
2691
|
+
* 参数值为混合类型的参数集合。
|
|
2639
2692
|
*/
|
|
2640
|
-
InstanceMultiParam
|
|
2693
|
+
InstanceMultiParam?: Array<InstanceMultiParam>
|
|
2641
2694
|
|
|
2642
2695
|
/**
|
|
2643
2696
|
* 当前实例支持修改的参数个数统计 如0
|
|
2644
2697
|
*/
|
|
2645
|
-
TotalCount
|
|
2698
|
+
TotalCount?: number
|
|
2646
2699
|
|
|
2647
2700
|
/**
|
|
2648
2701
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeSpecInfoRequest, CreateDBInstanceRequest, DescribeCurrentOpResponse, DescribeAccountUsersRequest, CreateBackupDBInstanceResponse, KillOpsRequest, InquirePriceRenewDBInstancesRequest, DescribeSlowLogsRequest, FlushInstanceRouterConfigResponse,
|
|
2
|
+
import { DescribeSpecInfoRequest, CreateDBInstanceRequest, DescribeCurrentOpResponse, DescribeAccountUsersRequest, CreateBackupDBInstanceResponse, KillOpsRequest, InquirePriceRenewDBInstancesRequest, DescribeSlowLogsRequest, FlushInstanceRouterConfigResponse, AssignProjectResponse, DescribeDBInstanceDealResponse, OfflineIsolatedDBInstanceResponse, IsolateDBInstanceResponse, DescribeSecurityGroupRequest, DescribeBackupDownloadTaskResponse, FlushInstanceRouterConfigRequest, SetAccountUserPrivilegeResponse, ModifyDBInstanceNetworkAddressRequest, CreateDBInstanceHourResponse, DescribeDBInstanceNodePropertyRequest, DeleteAccountUserRequest, ModifyDBInstanceNetworkAddressResponse, CreateAccountUserResponse, DescribeSlowLogPatternsResponse, DescribeSlowLogsResponse, InquirePriceModifyDBInstanceSpecRequest, DescribeDBInstancesRequest, ModifyDBInstanceSpecRequest, 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, RenameInstanceResponse, CreateBackupDBInstanceRequest, SetAccountUserPrivilegeRequest, KillOpsResponse, IsolateDBInstanceRequest, CreateDBInstanceHourRequest, AssignProjectRequest, CreateBackupDownloadTaskResponse, DescribeSlowLogPatternsRequest, DescribeSpecInfoResponse, InquirePriceRenewDBInstancesResponse, DeleteAccountUserResponse, DescribeDBInstancesResponse, OfflineIsolatedDBInstanceRequest, InquirePriceCreateDBInstancesRequest, DescribeInstanceParamsResponse, ModifyDBInstanceSpecResponse, RenewDBInstancesRequest } from "./mongodb_models";
|
|
3
3
|
/**
|
|
4
4
|
* mongodb client
|
|
5
5
|
* @class
|
|
@@ -23,7 +23,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
23
23
|
*/
|
|
24
24
|
DescribeCurrentOp(req: DescribeCurrentOpRequest, cb?: (error: string, rep: DescribeCurrentOpResponse) => void): Promise<DescribeCurrentOpResponse>;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* 本接口(DescribeClientConnections)用于查询实例客户端连接信息,包括连接 IP 和连接数量。
|
|
27
27
|
*/
|
|
28
28
|
DescribeClientConnections(req: DescribeClientConnectionsRequest, cb?: (error: string, rep: DescribeClientConnectionsResponse) => void): Promise<DescribeClientConnectionsResponse>;
|
|
29
29
|
/**
|
|
@@ -35,7 +35,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
35
35
|
*/
|
|
36
36
|
DescribeSecurityGroup(req: DescribeSecurityGroupRequest, cb?: (error: string, rep: DescribeSecurityGroupResponse) => void): Promise<DescribeSecurityGroupResponse>;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* 本接口(SetAccountUserPrivilege)用于设置实例的账号权限。
|
|
39
39
|
*/
|
|
40
40
|
SetAccountUserPrivilege(req: SetAccountUserPrivilegeRequest, cb?: (error: string, rep: SetAccountUserPrivilegeResponse) => void): Promise<SetAccountUserPrivilegeResponse>;
|
|
41
41
|
/**
|
|
@@ -59,7 +59,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
59
59
|
*/
|
|
60
60
|
DescribeAsyncRequestInfo(req: DescribeAsyncRequestInfoRequest, cb?: (error: string, rep: DescribeAsyncRequestInfoResponse) => void): Promise<DescribeAsyncRequestInfoResponse>;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* 本接口(CreateAccountUser)用于自定义实例访问账号。
|
|
63
63
|
*/
|
|
64
64
|
CreateAccountUser(req: CreateAccountUserRequest, cb?: (error: string, rep: CreateAccountUserResponse) => void): Promise<CreateAccountUserResponse>;
|
|
65
65
|
/**
|
|
@@ -103,7 +103,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
103
103
|
*/
|
|
104
104
|
ModifyDBInstanceSpec(req: ModifyDBInstanceSpecRequest, cb?: (error: string, rep: ModifyDBInstanceSpecResponse) => void): Promise<ModifyDBInstanceSpecResponse>;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* 本接口(DescribeInstanceParams)用于查询当前实例可修改的参数列表。
|
|
107
107
|
*/
|
|
108
108
|
DescribeInstanceParams(req: DescribeInstanceParamsRequest, cb?: (error: string, rep: DescribeInstanceParamsResponse) => void): Promise<DescribeInstanceParamsResponse>;
|
|
109
109
|
/**
|
|
@@ -124,7 +124,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
124
124
|
*/
|
|
125
125
|
AssignProject(req: AssignProjectRequest, cb?: (error: string, rep: AssignProjectResponse) => void): Promise<AssignProjectResponse>;
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* 本接口(DescribeAccountUsers)用于获取当前实例的全部账号。
|
|
128
128
|
*/
|
|
129
129
|
DescribeAccountUsers(req: DescribeAccountUsersRequest, cb?: (error: string, rep: DescribeAccountUsersResponse) => void): Promise<DescribeAccountUsersResponse>;
|
|
130
130
|
/**
|
|
@@ -136,13 +136,17 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
136
136
|
*/
|
|
137
137
|
KillOps(req: KillOpsRequest, cb?: (error: string, rep: KillOpsResponse) => void): Promise<KillOpsResponse>;
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
139
|
+
* 本接口(CreateBackupDBInstance)用于备份实例。
|
|
140
140
|
*/
|
|
141
141
|
CreateBackupDBInstance(req: CreateBackupDBInstanceRequest, cb?: (error: string, rep: CreateBackupDBInstanceResponse) => void): Promise<CreateBackupDBInstanceResponse>;
|
|
142
142
|
/**
|
|
143
143
|
* 本接口 (InquiryPriceRenewDBInstances) 用于续费包年包月实例询价。
|
|
144
144
|
*/
|
|
145
145
|
InquirePriceRenewDBInstances(req: InquirePriceRenewDBInstancesRequest, cb?: (error: string, rep: InquirePriceRenewDBInstancesResponse) => void): Promise<InquirePriceRenewDBInstancesResponse>;
|
|
146
|
+
/**
|
|
147
|
+
* 本接口(DeleteAccountUser)用于删除实例的自定义账号。
|
|
148
|
+
*/
|
|
149
|
+
DeleteAccountUser(req: DeleteAccountUserRequest, cb?: (error: string, rep: DeleteAccountUserResponse) => void): Promise<DeleteAccountUserResponse>;
|
|
146
150
|
/**
|
|
147
151
|
* 本接口(ModifyDBInstanceSecurityGroup)用于修改实例绑定的安全组
|
|
148
152
|
*/
|