tencentcloud-sdk-nodejs-mongodb 4.0.250 → 4.0.256
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 +1193 -58
- package/package.json +1 -1
- package/products.md +47 -46
- package/src/services/mongodb/v20190725/mongodb_client.ts +19 -3
- package/src/services/mongodb/v20190725/mongodb_models.ts +302 -62
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +253 -55
|
@@ -211,6 +211,43 @@ export interface CreateBackupDBInstanceResponse {
|
|
|
211
211
|
*/
|
|
212
212
|
RequestId?: string;
|
|
213
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* 实例分片详情
|
|
216
|
+
*/
|
|
217
|
+
export interface ShardInfo {
|
|
218
|
+
/**
|
|
219
|
+
* 分片已使用容量
|
|
220
|
+
*/
|
|
221
|
+
UsedVolume: number;
|
|
222
|
+
/**
|
|
223
|
+
* 分片ID
|
|
224
|
+
*/
|
|
225
|
+
ReplicaSetId: string;
|
|
226
|
+
/**
|
|
227
|
+
* 分片名
|
|
228
|
+
*/
|
|
229
|
+
ReplicaSetName: string;
|
|
230
|
+
/**
|
|
231
|
+
* 分片内存规格,单位为MB
|
|
232
|
+
*/
|
|
233
|
+
Memory: number;
|
|
234
|
+
/**
|
|
235
|
+
* 分片磁盘规格,单位为MB
|
|
236
|
+
*/
|
|
237
|
+
Volume: number;
|
|
238
|
+
/**
|
|
239
|
+
* 分片Oplog大小,单位为MB
|
|
240
|
+
*/
|
|
241
|
+
OplogSize: number;
|
|
242
|
+
/**
|
|
243
|
+
* 分片从节点数
|
|
244
|
+
*/
|
|
245
|
+
SecondaryNum: number;
|
|
246
|
+
/**
|
|
247
|
+
* 分片物理id
|
|
248
|
+
*/
|
|
249
|
+
RealReplicaSetId: string;
|
|
250
|
+
}
|
|
214
251
|
/**
|
|
215
252
|
* 数据库实例价格
|
|
216
253
|
*/
|
|
@@ -502,6 +539,10 @@ export interface ClientConnection {
|
|
|
502
539
|
* 对应客户端IP的连接数
|
|
503
540
|
*/
|
|
504
541
|
Count: number;
|
|
542
|
+
/**
|
|
543
|
+
* 是否为内部ip
|
|
544
|
+
*/
|
|
545
|
+
InternalService: boolean;
|
|
505
546
|
}
|
|
506
547
|
/**
|
|
507
548
|
* InquirePriceModifyDBInstanceSpec请求参数结构体
|
|
@@ -565,6 +606,39 @@ export interface BackupInfo {
|
|
|
565
606
|
*/
|
|
566
607
|
BackupMethod: number;
|
|
567
608
|
}
|
|
609
|
+
/**
|
|
610
|
+
* 安全组信息
|
|
611
|
+
*/
|
|
612
|
+
export interface SecurityGroup {
|
|
613
|
+
/**
|
|
614
|
+
* 所属项目id
|
|
615
|
+
*/
|
|
616
|
+
ProjectId: number;
|
|
617
|
+
/**
|
|
618
|
+
* 创建时间
|
|
619
|
+
*/
|
|
620
|
+
CreateTime: string;
|
|
621
|
+
/**
|
|
622
|
+
* 入站规则
|
|
623
|
+
*/
|
|
624
|
+
Inbound: Array<SecurityGroupBound>;
|
|
625
|
+
/**
|
|
626
|
+
* 出站规则
|
|
627
|
+
*/
|
|
628
|
+
Outbound: Array<SecurityGroupBound>;
|
|
629
|
+
/**
|
|
630
|
+
* 安全组id
|
|
631
|
+
*/
|
|
632
|
+
SecurityGroupId: string;
|
|
633
|
+
/**
|
|
634
|
+
* 安全组名称
|
|
635
|
+
*/
|
|
636
|
+
SecurityGroupName: string;
|
|
637
|
+
/**
|
|
638
|
+
* 安全组备注
|
|
639
|
+
*/
|
|
640
|
+
SecurityGroupRemark: string;
|
|
641
|
+
}
|
|
568
642
|
/**
|
|
569
643
|
* InquirePriceRenewDBInstances请求参数结构体
|
|
570
644
|
*/
|
|
@@ -874,6 +948,51 @@ export interface OfflineIsolatedDBInstanceRequest {
|
|
|
874
948
|
*/
|
|
875
949
|
InstanceId: string;
|
|
876
950
|
}
|
|
951
|
+
/**
|
|
952
|
+
* 实例可修改参数integer类型集合。
|
|
953
|
+
*/
|
|
954
|
+
export interface InstanceIntegerParam {
|
|
955
|
+
/**
|
|
956
|
+
* 当前值
|
|
957
|
+
*/
|
|
958
|
+
CurrentValue: string;
|
|
959
|
+
/**
|
|
960
|
+
* 默认值
|
|
961
|
+
*/
|
|
962
|
+
DefaultValue: string;
|
|
963
|
+
/**
|
|
964
|
+
* 最大值
|
|
965
|
+
*/
|
|
966
|
+
Max: string;
|
|
967
|
+
/**
|
|
968
|
+
* 最小值
|
|
969
|
+
*/
|
|
970
|
+
Min: string;
|
|
971
|
+
/**
|
|
972
|
+
* 是否徐亚哦重启后生效 1:需要重启;0:无需重启
|
|
973
|
+
*/
|
|
974
|
+
NeedRestart: string;
|
|
975
|
+
/**
|
|
976
|
+
* 参数名称
|
|
977
|
+
*/
|
|
978
|
+
ParamName: string;
|
|
979
|
+
/**
|
|
980
|
+
* 参数说明
|
|
981
|
+
*/
|
|
982
|
+
Tips: Array<string>;
|
|
983
|
+
/**
|
|
984
|
+
* 参数类型
|
|
985
|
+
*/
|
|
986
|
+
ValueType: string;
|
|
987
|
+
/**
|
|
988
|
+
* 是否正常获取到,1:未正常获取;0:正常获取,仅对前端有实际意义;
|
|
989
|
+
*/
|
|
990
|
+
Status: number;
|
|
991
|
+
/**
|
|
992
|
+
* 暂时未用到,前端使用redis侧代码,为了兼容,保留该参数
|
|
993
|
+
*/
|
|
994
|
+
Unit: string;
|
|
995
|
+
}
|
|
877
996
|
/**
|
|
878
997
|
* DescribeCurrentOp请求参数结构体
|
|
879
998
|
*/
|
|
@@ -1020,6 +1139,35 @@ export interface CreateDBInstanceResponse {
|
|
|
1020
1139
|
*/
|
|
1021
1140
|
RequestId?: string;
|
|
1022
1141
|
}
|
|
1142
|
+
/**
|
|
1143
|
+
* DescribeInstanceParams返回参数结构体
|
|
1144
|
+
*/
|
|
1145
|
+
export interface DescribeInstanceParamsResponse {
|
|
1146
|
+
/**
|
|
1147
|
+
* 值为枚举类型参数集合
|
|
1148
|
+
*/
|
|
1149
|
+
InstanceEnumParam: Array<InstanceEnumParam>;
|
|
1150
|
+
/**
|
|
1151
|
+
* 值为integer类型参数集合
|
|
1152
|
+
*/
|
|
1153
|
+
InstanceIntegerParam: Array<InstanceIntegerParam>;
|
|
1154
|
+
/**
|
|
1155
|
+
* 值为text类型的参数集合
|
|
1156
|
+
*/
|
|
1157
|
+
InstanceTextParam: Array<InstanceTextParam>;
|
|
1158
|
+
/**
|
|
1159
|
+
* 值为混合类型的参数集合
|
|
1160
|
+
*/
|
|
1161
|
+
InstanceMultiParam: Array<InstanceMultiParam>;
|
|
1162
|
+
/**
|
|
1163
|
+
* 当前实例支持修改的参数个数统计 如0
|
|
1164
|
+
*/
|
|
1165
|
+
TotalCount: number;
|
|
1166
|
+
/**
|
|
1167
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1168
|
+
*/
|
|
1169
|
+
RequestId?: string;
|
|
1170
|
+
}
|
|
1023
1171
|
/**
|
|
1024
1172
|
* DescribeSlowLogs请求参数结构体
|
|
1025
1173
|
*/
|
|
@@ -1124,6 +1272,43 @@ export interface DescribeDBBackupsRequest {
|
|
|
1124
1272
|
*/
|
|
1125
1273
|
Offset?: number;
|
|
1126
1274
|
}
|
|
1275
|
+
/**
|
|
1276
|
+
* 实例可修改参数Multi类型集合。
|
|
1277
|
+
*/
|
|
1278
|
+
export interface InstanceMultiParam {
|
|
1279
|
+
/**
|
|
1280
|
+
* 当前值
|
|
1281
|
+
*/
|
|
1282
|
+
CurrentValue: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* 默认值
|
|
1285
|
+
*/
|
|
1286
|
+
DefaultValue: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* 指导值范围
|
|
1289
|
+
*/
|
|
1290
|
+
EnumValue: Array<string>;
|
|
1291
|
+
/**
|
|
1292
|
+
* 是否需要重启
|
|
1293
|
+
*/
|
|
1294
|
+
NeedRestart: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* 参数名称
|
|
1297
|
+
*/
|
|
1298
|
+
ParamName: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* 状态值
|
|
1301
|
+
*/
|
|
1302
|
+
Status: number;
|
|
1303
|
+
/**
|
|
1304
|
+
* 参数说明
|
|
1305
|
+
*/
|
|
1306
|
+
Tips: Array<string>;
|
|
1307
|
+
/**
|
|
1308
|
+
* 值类型,multi混合类型
|
|
1309
|
+
*/
|
|
1310
|
+
ValueType: string;
|
|
1311
|
+
}
|
|
1127
1312
|
/**
|
|
1128
1313
|
* DescribeClientConnections请求参数结构体
|
|
1129
1314
|
*/
|
|
@@ -1180,37 +1365,41 @@ export interface ModifyDBInstanceSpecResponse {
|
|
|
1180
1365
|
RequestId?: string;
|
|
1181
1366
|
}
|
|
1182
1367
|
/**
|
|
1183
|
-
*
|
|
1368
|
+
* 实例可修改参数text类型集合。
|
|
1184
1369
|
*/
|
|
1185
|
-
export interface
|
|
1370
|
+
export interface InstanceTextParam {
|
|
1186
1371
|
/**
|
|
1187
|
-
*
|
|
1372
|
+
* 当前值(暂未使用)
|
|
1188
1373
|
*/
|
|
1189
|
-
|
|
1374
|
+
CurrentValue: string;
|
|
1190
1375
|
/**
|
|
1191
|
-
*
|
|
1376
|
+
* 默认值(暂未使用)
|
|
1192
1377
|
*/
|
|
1193
|
-
|
|
1378
|
+
DefaultValue: string;
|
|
1194
1379
|
/**
|
|
1195
|
-
*
|
|
1380
|
+
* 是否需要重启(暂未使用)
|
|
1196
1381
|
*/
|
|
1197
|
-
|
|
1382
|
+
NeedRestart: string;
|
|
1198
1383
|
/**
|
|
1199
|
-
*
|
|
1384
|
+
* 参数名称(暂未使用)
|
|
1200
1385
|
*/
|
|
1201
|
-
|
|
1386
|
+
ParamName: string;
|
|
1202
1387
|
/**
|
|
1203
|
-
*
|
|
1388
|
+
* text类型值(暂未使用)
|
|
1204
1389
|
*/
|
|
1205
|
-
|
|
1390
|
+
TextValue: string;
|
|
1206
1391
|
/**
|
|
1207
|
-
*
|
|
1392
|
+
* 说明(暂未使用)
|
|
1208
1393
|
*/
|
|
1209
|
-
|
|
1394
|
+
Tips: Array<string>;
|
|
1210
1395
|
/**
|
|
1211
|
-
*
|
|
1396
|
+
* 值类型(暂未使用)
|
|
1212
1397
|
*/
|
|
1213
|
-
|
|
1398
|
+
ValueType: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* 值获取状态(暂未使用)
|
|
1401
|
+
*/
|
|
1402
|
+
Status: string;
|
|
1214
1403
|
}
|
|
1215
1404
|
/**
|
|
1216
1405
|
* OfflineIsolatedDBInstance返回参数结构体
|
|
@@ -1310,6 +1499,43 @@ export interface RenewDBInstancesResponse {
|
|
|
1310
1499
|
*/
|
|
1311
1500
|
RequestId?: string;
|
|
1312
1501
|
}
|
|
1502
|
+
/**
|
|
1503
|
+
* 实例可修改参数枚举类型集合。
|
|
1504
|
+
*/
|
|
1505
|
+
export interface InstanceEnumParam {
|
|
1506
|
+
/**
|
|
1507
|
+
* 参数当前值
|
|
1508
|
+
*/
|
|
1509
|
+
CurrentValue: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* 默认值
|
|
1512
|
+
*/
|
|
1513
|
+
DefaultValue: string;
|
|
1514
|
+
/**
|
|
1515
|
+
* 枚举值,所有支持的值
|
|
1516
|
+
*/
|
|
1517
|
+
EnumValue: Array<string>;
|
|
1518
|
+
/**
|
|
1519
|
+
* 是否需要重启后生效,"1"需要,"0"无需重启
|
|
1520
|
+
*/
|
|
1521
|
+
NeedRestart: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* 参数名称
|
|
1524
|
+
*/
|
|
1525
|
+
ParamName: string;
|
|
1526
|
+
/**
|
|
1527
|
+
* 中英文说明
|
|
1528
|
+
*/
|
|
1529
|
+
Tips: Array<string>;
|
|
1530
|
+
/**
|
|
1531
|
+
* 参数值类型说明
|
|
1532
|
+
*/
|
|
1533
|
+
ValueType: string;
|
|
1534
|
+
/**
|
|
1535
|
+
* 是否获取到参数,1为获取,前端正常显示,0:前段显示loading
|
|
1536
|
+
*/
|
|
1537
|
+
Status: number;
|
|
1538
|
+
}
|
|
1313
1539
|
/**
|
|
1314
1540
|
* DescribeBackupDownloadTask返回参数结构体
|
|
1315
1541
|
*/
|
|
@@ -1699,21 +1925,13 @@ export interface CreateBackupDBInstanceRequest {
|
|
|
1699
1925
|
BackupRemark?: string;
|
|
1700
1926
|
}
|
|
1701
1927
|
/**
|
|
1702
|
-
*
|
|
1928
|
+
* DescribeInstanceParams请求参数结构体
|
|
1703
1929
|
*/
|
|
1704
|
-
export interface
|
|
1705
|
-
/**
|
|
1706
|
-
* 操作所在的分片名
|
|
1707
|
-
*/
|
|
1708
|
-
ReplicaSetName: string;
|
|
1709
|
-
/**
|
|
1710
|
-
* 操作所在的节点名
|
|
1711
|
-
*/
|
|
1712
|
-
NodeName: string;
|
|
1930
|
+
export interface DescribeInstanceParamsRequest {
|
|
1713
1931
|
/**
|
|
1714
|
-
*
|
|
1932
|
+
* 实例ID
|
|
1715
1933
|
*/
|
|
1716
|
-
|
|
1934
|
+
InstanceId: string;
|
|
1717
1935
|
}
|
|
1718
1936
|
/**
|
|
1719
1937
|
* 描述了实例的计费模式
|
|
@@ -1762,39 +1980,19 @@ export interface RenewDBInstancesRequest {
|
|
|
1762
1980
|
InstanceChargePrepaid: InstanceChargePrepaid;
|
|
1763
1981
|
}
|
|
1764
1982
|
/**
|
|
1765
|
-
*
|
|
1983
|
+
* 需要终止的操作
|
|
1766
1984
|
*/
|
|
1767
|
-
export interface
|
|
1768
|
-
/**
|
|
1769
|
-
* 分片已使用容量
|
|
1770
|
-
*/
|
|
1771
|
-
UsedVolume: number;
|
|
1772
|
-
/**
|
|
1773
|
-
* 分片ID
|
|
1774
|
-
*/
|
|
1775
|
-
ReplicaSetId: string;
|
|
1985
|
+
export interface Operation {
|
|
1776
1986
|
/**
|
|
1777
|
-
*
|
|
1987
|
+
* 操作所在的分片名
|
|
1778
1988
|
*/
|
|
1779
1989
|
ReplicaSetName: string;
|
|
1780
1990
|
/**
|
|
1781
|
-
*
|
|
1782
|
-
*/
|
|
1783
|
-
Memory: number;
|
|
1784
|
-
/**
|
|
1785
|
-
* 分片磁盘规格,单位为MB
|
|
1786
|
-
*/
|
|
1787
|
-
Volume: number;
|
|
1788
|
-
/**
|
|
1789
|
-
* 分片Oplog大小,单位为MB
|
|
1790
|
-
*/
|
|
1791
|
-
OplogSize: number;
|
|
1792
|
-
/**
|
|
1793
|
-
* 分片从节点数
|
|
1991
|
+
* 操作所在的节点名
|
|
1794
1992
|
*/
|
|
1795
|
-
|
|
1993
|
+
NodeName: string;
|
|
1796
1994
|
/**
|
|
1797
|
-
*
|
|
1995
|
+
* 操作序号
|
|
1798
1996
|
*/
|
|
1799
|
-
|
|
1997
|
+
OpId: number;
|
|
1800
1998
|
}
|