tencentcloud-sdk-nodejs-intl-en 3.0.1286 → 3.0.1287
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/tencentcloud/as/v20180419/models.js +29 -5
- package/tencentcloud/clb/v20180317/clb_client.js +665 -554
- package/tencentcloud/clb/v20180317/models.js +2243 -1253
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/index.js +1 -1
- package/tencentcloud/dts/index.js +1 -1
- package/tencentcloud/faceid/v20180301/models.js +9 -0
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/mongodb/v20190725/models.js +1002 -54
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +107 -1
- package/tencentcloud/ocr/v20181119/models.js +1 -0
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/sms/index.js +1 -1
- package/tencentcloud/tdmq/v20200217/models.js +14304 -6362
- package/tencentcloud/tdmq/v20200217/tdmq_client.js +776 -249
- package/tencentcloud/teo/index.js +1 -1
- package/tencentcloud/teo/v20220901/models.js +109 -9
- package/tencentcloud/teo/v20220901/teo_client.js +2 -0
- package/tencentcloud/tke/index.js +1 -1
- package/tencentcloud/trocket/index.js +3 -0
- package/tencentcloud/trocket/v20230308/index.js +4 -0
- package/tencentcloud/trocket/v20230308/models.js +7015 -0
- package/tencentcloud/trocket/v20230308/trocket_client.js +678 -0
|
@@ -405,6 +405,41 @@ class DBInstancePrice extends AbstractModel {
|
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
+
/**
|
|
409
|
+
* DeleteLogDownloadTask response structure.
|
|
410
|
+
* @class
|
|
411
|
+
*/
|
|
412
|
+
class DeleteLogDownloadTaskResponse extends AbstractModel {
|
|
413
|
+
constructor(){
|
|
414
|
+
super();
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Task status. 0: successful.
|
|
418
|
+
* @type {number || null}
|
|
419
|
+
*/
|
|
420
|
+
this.Status = null;
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
424
|
+
* @type {string || null}
|
|
425
|
+
*/
|
|
426
|
+
this.RequestId = null;
|
|
427
|
+
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* @private
|
|
432
|
+
*/
|
|
433
|
+
deserialize(params) {
|
|
434
|
+
if (!params) {
|
|
435
|
+
return;
|
|
436
|
+
}
|
|
437
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
438
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
439
|
+
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
408
443
|
/**
|
|
409
444
|
* DescribeDBInstanceNamespace response structure.
|
|
410
445
|
* @class
|
|
@@ -611,6 +646,34 @@ class DescribeSecurityGroupRequest extends AbstractModel {
|
|
|
611
646
|
}
|
|
612
647
|
}
|
|
613
648
|
|
|
649
|
+
/**
|
|
650
|
+
* DescribeInstanceSSL request structure.
|
|
651
|
+
* @class
|
|
652
|
+
*/
|
|
653
|
+
class DescribeInstanceSSLRequest extends AbstractModel {
|
|
654
|
+
constructor(){
|
|
655
|
+
super();
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Instance ID, in the format of cmgo-p8vnipr5. It is the same as the format of the instance ID displayed on the TencentDB for MongoDB console page.
|
|
659
|
+
* @type {string || null}
|
|
660
|
+
*/
|
|
661
|
+
this.InstanceId = null;
|
|
662
|
+
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* @private
|
|
667
|
+
*/
|
|
668
|
+
deserialize(params) {
|
|
669
|
+
if (!params) {
|
|
670
|
+
return;
|
|
671
|
+
}
|
|
672
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
673
|
+
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
|
|
614
677
|
/**
|
|
615
678
|
* Slow log statistics of MongoDB database
|
|
616
679
|
* @class
|
|
@@ -667,6 +730,89 @@ class SlowLogPattern extends AbstractModel {
|
|
|
667
730
|
}
|
|
668
731
|
}
|
|
669
732
|
|
|
733
|
+
/**
|
|
734
|
+
* Log download task description.
|
|
735
|
+
* @class
|
|
736
|
+
*/
|
|
737
|
+
class Task extends AbstractModel {
|
|
738
|
+
constructor(){
|
|
739
|
+
super();
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* Download task type. 0: slow log; 1: error log.
|
|
743
|
+
* @type {number || null}
|
|
744
|
+
*/
|
|
745
|
+
this.TaskType = null;
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* Task ID.
|
|
749
|
+
* @type {string || null}
|
|
750
|
+
*/
|
|
751
|
+
this.TaskId = null;
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* Creation time.
|
|
755
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
756
|
+
* @type {string || null}
|
|
757
|
+
*/
|
|
758
|
+
this.CreateTime = null;
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Update time.
|
|
762
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
763
|
+
* @type {string || null}
|
|
764
|
+
*/
|
|
765
|
+
this.UpdateTime = null;
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* File size.
|
|
769
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
770
|
+
* @type {number || null}
|
|
771
|
+
*/
|
|
772
|
+
this.FileSize = null;
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* Task status. 0: initialized; 1: running; 2: successful; 3: failed.
|
|
776
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
777
|
+
* @type {number || null}
|
|
778
|
+
*/
|
|
779
|
+
this.Status = null;
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Percentage.
|
|
783
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
784
|
+
* @type {number || null}
|
|
785
|
+
*/
|
|
786
|
+
this.Percent = null;
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Download URL.
|
|
790
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
791
|
+
* @type {string || null}
|
|
792
|
+
*/
|
|
793
|
+
this.Url = null;
|
|
794
|
+
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* @private
|
|
799
|
+
*/
|
|
800
|
+
deserialize(params) {
|
|
801
|
+
if (!params) {
|
|
802
|
+
return;
|
|
803
|
+
}
|
|
804
|
+
this.TaskType = 'TaskType' in params ? params.TaskType : null;
|
|
805
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
806
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
807
|
+
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
808
|
+
this.FileSize = 'FileSize' in params ? params.FileSize : null;
|
|
809
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
810
|
+
this.Percent = 'Percent' in params ? params.Percent : null;
|
|
811
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
812
|
+
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
670
816
|
/**
|
|
671
817
|
* AssignProject response structure.
|
|
672
818
|
* @class
|
|
@@ -1082,6 +1228,48 @@ class DBInstanceInfo extends AbstractModel {
|
|
|
1082
1228
|
}
|
|
1083
1229
|
}
|
|
1084
1230
|
|
|
1231
|
+
/**
|
|
1232
|
+
* UpgradeDbInstanceVersion request structure.
|
|
1233
|
+
* @class
|
|
1234
|
+
*/
|
|
1235
|
+
class UpgradeDbInstanceVersionRequest extends AbstractModel {
|
|
1236
|
+
constructor(){
|
|
1237
|
+
super();
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* List of instance IDs, which are in the format of cmgo-p8vnipr5. It is the same as the format of the instance ID displayed on the TencentDB for MongoDB console page.
|
|
1241
|
+
* @type {string || null}
|
|
1242
|
+
*/
|
|
1243
|
+
this.InstanceId = null;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* Newly upgraded database version. Currently, it only supports MONGO_40_WT (version of the MongoDB 4.0 WiredTiger storage engine) and MONGO_42_WT (version of the MongoDB 4.2 WiredTiger storage engine).
|
|
1247
|
+
* @type {string || null}
|
|
1248
|
+
*/
|
|
1249
|
+
this.MongoVersion = null;
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* Whether to perform the upgrade during the maintenance period. 0 - upgrade now; 1 - upgrade during the maintenance period.
|
|
1253
|
+
* @type {number || null}
|
|
1254
|
+
*/
|
|
1255
|
+
this.InMaintenance = null;
|
|
1256
|
+
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* @private
|
|
1261
|
+
*/
|
|
1262
|
+
deserialize(params) {
|
|
1263
|
+
if (!params) {
|
|
1264
|
+
return;
|
|
1265
|
+
}
|
|
1266
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1267
|
+
this.MongoVersion = 'MongoVersion' in params ? params.MongoVersion : null;
|
|
1268
|
+
this.InMaintenance = 'InMaintenance' in params ? params.InMaintenance : null;
|
|
1269
|
+
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1085
1273
|
/**
|
|
1086
1274
|
* ModifyDBInstanceNetworkAddress request structure.
|
|
1087
1275
|
* @class
|
|
@@ -1192,6 +1380,43 @@ class CreateDBInstanceHourResponse extends AbstractModel {
|
|
|
1192
1380
|
}
|
|
1193
1381
|
}
|
|
1194
1382
|
|
|
1383
|
+
/**
|
|
1384
|
+
* InstanceEnableSSL request structure.
|
|
1385
|
+
* @class
|
|
1386
|
+
*/
|
|
1387
|
+
class InstanceEnableSSLRequest extends AbstractModel {
|
|
1388
|
+
constructor(){
|
|
1389
|
+
super();
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* Instance ID.
|
|
1393
|
+
* @type {string || null}
|
|
1394
|
+
*/
|
|
1395
|
+
this.InstanceId = null;
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* Configures whether to enable SSL for access.
|
|
1399
|
+
- true: enabled.
|
|
1400
|
+
- false: disabled.
|
|
1401
|
+
* @type {boolean || null}
|
|
1402
|
+
*/
|
|
1403
|
+
this.Enable = null;
|
|
1404
|
+
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* @private
|
|
1409
|
+
*/
|
|
1410
|
+
deserialize(params) {
|
|
1411
|
+
if (!params) {
|
|
1412
|
+
return;
|
|
1413
|
+
}
|
|
1414
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1415
|
+
this.Enable = 'Enable' in params ? params.Enable : null;
|
|
1416
|
+
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1195
1420
|
/**
|
|
1196
1421
|
* DescribeDBInstanceNamespace request structure.
|
|
1197
1422
|
* @class
|
|
@@ -1310,6 +1535,75 @@ class DescribeDBInstanceNodePropertyRequest extends AbstractModel {
|
|
|
1310
1535
|
}
|
|
1311
1536
|
}
|
|
1312
1537
|
|
|
1538
|
+
/**
|
|
1539
|
+
* Log details.
|
|
1540
|
+
* @class
|
|
1541
|
+
*/
|
|
1542
|
+
class LogInfo extends AbstractModel {
|
|
1543
|
+
constructor(){
|
|
1544
|
+
super();
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* Log category.
|
|
1548
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1549
|
+
* @type {string || null}
|
|
1550
|
+
*/
|
|
1551
|
+
this.LogComponent = null;
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* Log level.
|
|
1555
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1556
|
+
* @type {string || null}
|
|
1557
|
+
*/
|
|
1558
|
+
this.LogLevel = null;
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Log generation time.
|
|
1562
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1563
|
+
* @type {string || null}
|
|
1564
|
+
*/
|
|
1565
|
+
this.LogTime = null;
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* Log details.
|
|
1569
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1570
|
+
* @type {string || null}
|
|
1571
|
+
*/
|
|
1572
|
+
this.LogDetail = null;
|
|
1573
|
+
|
|
1574
|
+
/**
|
|
1575
|
+
* Log connection information.
|
|
1576
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1577
|
+
* @type {string || null}
|
|
1578
|
+
*/
|
|
1579
|
+
this.LogConnection = null;
|
|
1580
|
+
|
|
1581
|
+
/**
|
|
1582
|
+
* Log ID.
|
|
1583
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1584
|
+
* @type {string || null}
|
|
1585
|
+
*/
|
|
1586
|
+
this.LogId = null;
|
|
1587
|
+
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* @private
|
|
1592
|
+
*/
|
|
1593
|
+
deserialize(params) {
|
|
1594
|
+
if (!params) {
|
|
1595
|
+
return;
|
|
1596
|
+
}
|
|
1597
|
+
this.LogComponent = 'LogComponent' in params ? params.LogComponent : null;
|
|
1598
|
+
this.LogLevel = 'LogLevel' in params ? params.LogLevel : null;
|
|
1599
|
+
this.LogTime = 'LogTime' in params ? params.LogTime : null;
|
|
1600
|
+
this.LogDetail = 'LogDetail' in params ? params.LogDetail : null;
|
|
1601
|
+
this.LogConnection = 'LogConnection' in params ? params.LogConnection : null;
|
|
1602
|
+
this.LogId = 'LogId' in params ? params.LogId : null;
|
|
1603
|
+
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1313
1607
|
/**
|
|
1314
1608
|
* TencentDB for MongoDB instance sales specification.
|
|
1315
1609
|
* @class
|
|
@@ -2100,6 +2394,67 @@ class DescribeDBInstancesRequest extends AbstractModel {
|
|
|
2100
2394
|
}
|
|
2101
2395
|
}
|
|
2102
2396
|
|
|
2397
|
+
/**
|
|
2398
|
+
* InstanceEnableSSL response structure.
|
|
2399
|
+
* @class
|
|
2400
|
+
*/
|
|
2401
|
+
class InstanceEnableSSLResponse extends AbstractModel {
|
|
2402
|
+
constructor(){
|
|
2403
|
+
super();
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* SSL enabling status.
|
|
2407
|
+
- 0: disabled.
|
|
2408
|
+
- 1: enabled.
|
|
2409
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2410
|
+
* @type {number || null}
|
|
2411
|
+
*/
|
|
2412
|
+
this.Status = null;
|
|
2413
|
+
|
|
2414
|
+
/**
|
|
2415
|
+
* Certificate file expiration time, in the format of 2023-05-01 12:00:00.
|
|
2416
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2417
|
+
* @type {string || null}
|
|
2418
|
+
*/
|
|
2419
|
+
this.ExpiredTime = null;
|
|
2420
|
+
|
|
2421
|
+
/**
|
|
2422
|
+
* Download URL of the certificate file.
|
|
2423
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2424
|
+
* @type {string || null}
|
|
2425
|
+
*/
|
|
2426
|
+
this.CertUrl = null;
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* Process ID.
|
|
2430
|
+
* @type {number || null}
|
|
2431
|
+
*/
|
|
2432
|
+
this.FlowId = null;
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2436
|
+
* @type {string || null}
|
|
2437
|
+
*/
|
|
2438
|
+
this.RequestId = null;
|
|
2439
|
+
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
/**
|
|
2443
|
+
* @private
|
|
2444
|
+
*/
|
|
2445
|
+
deserialize(params) {
|
|
2446
|
+
if (!params) {
|
|
2447
|
+
return;
|
|
2448
|
+
}
|
|
2449
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2450
|
+
this.ExpiredTime = 'ExpiredTime' in params ? params.ExpiredTime : null;
|
|
2451
|
+
this.CertUrl = 'CertUrl' in params ? params.CertUrl : null;
|
|
2452
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
2453
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2454
|
+
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2103
2458
|
/**
|
|
2104
2459
|
* ModifyDBInstanceSpec request structure.
|
|
2105
2460
|
* @class
|
|
@@ -2163,26 +2518,103 @@ Oplog size after instance configuration modification.
|
|
|
2163
2518
|
**Note**: Adjusting the number of nodes and shards is unsupported <b>within the maintenance window</b>.
|
|
2164
2519
|
* @type {number || null}
|
|
2165
2520
|
*/
|
|
2166
|
-
this.InMaintenance = null;
|
|
2521
|
+
this.InMaintenance = null;
|
|
2522
|
+
|
|
2523
|
+
/**
|
|
2524
|
+
* Memory size of the Mongos node after sharded cluster instance configuration changes, in GB. For the specifications supported by the instance, see [Product Specifications](https://www.tencentcloud.comom/document/product/240/64125?from_cn_redirect=1).
|
|
2525
|
+
* @type {string || null}
|
|
2526
|
+
*/
|
|
2527
|
+
this.MongosMemory = null;
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* List of nodes to be added, containing the node type and AZ information.
|
|
2531
|
+
* @type {Array.<AddNodeList> || null}
|
|
2532
|
+
*/
|
|
2533
|
+
this.AddNodeList = null;
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* Deletes the node list.
|
|
2537
|
+
**Note**: According to the consistency principle for nodes of each shard on a sharded cluster instance, specify the nodes on shard 0 for node deletion from the sharded cluster instance. For example, cmgo-9nl1czif_0-node-readonly0 will delete the first read-only node of each shard.
|
|
2538
|
+
* @type {Array.<RemoveNodeList> || null}
|
|
2539
|
+
*/
|
|
2540
|
+
this.RemoveNodeList = null;
|
|
2541
|
+
|
|
2542
|
+
}
|
|
2543
|
+
|
|
2544
|
+
/**
|
|
2545
|
+
* @private
|
|
2546
|
+
*/
|
|
2547
|
+
deserialize(params) {
|
|
2548
|
+
if (!params) {
|
|
2549
|
+
return;
|
|
2550
|
+
}
|
|
2551
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2552
|
+
this.Memory = 'Memory' in params ? params.Memory : null;
|
|
2553
|
+
this.Volume = 'Volume' in params ? params.Volume : null;
|
|
2554
|
+
this.OplogSize = 'OplogSize' in params ? params.OplogSize : null;
|
|
2555
|
+
this.NodeNum = 'NodeNum' in params ? params.NodeNum : null;
|
|
2556
|
+
this.ReplicateSetNum = 'ReplicateSetNum' in params ? params.ReplicateSetNum : null;
|
|
2557
|
+
this.InMaintenance = 'InMaintenance' in params ? params.InMaintenance : null;
|
|
2558
|
+
this.MongosMemory = 'MongosMemory' in params ? params.MongosMemory : null;
|
|
2559
|
+
|
|
2560
|
+
if (params.AddNodeList) {
|
|
2561
|
+
this.AddNodeList = new Array();
|
|
2562
|
+
for (let z in params.AddNodeList) {
|
|
2563
|
+
let obj = new AddNodeList();
|
|
2564
|
+
obj.deserialize(params.AddNodeList[z]);
|
|
2565
|
+
this.AddNodeList.push(obj);
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
if (params.RemoveNodeList) {
|
|
2570
|
+
this.RemoveNodeList = new Array();
|
|
2571
|
+
for (let z in params.RemoveNodeList) {
|
|
2572
|
+
let obj = new RemoveNodeList();
|
|
2573
|
+
obj.deserialize(params.RemoveNodeList[z]);
|
|
2574
|
+
this.RemoveNodeList.push(obj);
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
* DescribeLogDownloadTasks request structure.
|
|
2583
|
+
* @class
|
|
2584
|
+
*/
|
|
2585
|
+
class DescribeLogDownloadTasksRequest extends AbstractModel {
|
|
2586
|
+
constructor(){
|
|
2587
|
+
super();
|
|
2588
|
+
|
|
2589
|
+
/**
|
|
2590
|
+
* Instance ID.
|
|
2591
|
+
* @type {string || null}
|
|
2592
|
+
*/
|
|
2593
|
+
this.InstanceId = null;
|
|
2594
|
+
|
|
2595
|
+
/**
|
|
2596
|
+
* Number of queries.
|
|
2597
|
+
* @type {number || null}
|
|
2598
|
+
*/
|
|
2599
|
+
this.Limit = null;
|
|
2167
2600
|
|
|
2168
2601
|
/**
|
|
2169
|
-
*
|
|
2170
|
-
* @type {
|
|
2602
|
+
* Page number.
|
|
2603
|
+
* @type {number || null}
|
|
2171
2604
|
*/
|
|
2172
|
-
this.
|
|
2605
|
+
this.Offset = null;
|
|
2173
2606
|
|
|
2174
2607
|
/**
|
|
2175
|
-
*
|
|
2176
|
-
* @type {
|
|
2608
|
+
* Start time of the download task.
|
|
2609
|
+
* @type {string || null}
|
|
2177
2610
|
*/
|
|
2178
|
-
this.
|
|
2611
|
+
this.StartTime = null;
|
|
2179
2612
|
|
|
2180
2613
|
/**
|
|
2181
|
-
*
|
|
2182
|
-
|
|
2183
|
-
* @type {Array.<RemoveNodeList> || null}
|
|
2614
|
+
* End time of the download task.
|
|
2615
|
+
* @type {string || null}
|
|
2184
2616
|
*/
|
|
2185
|
-
this.
|
|
2617
|
+
this.EndTime = null;
|
|
2186
2618
|
|
|
2187
2619
|
}
|
|
2188
2620
|
|
|
@@ -2194,31 +2626,10 @@ Oplog size after instance configuration modification.
|
|
|
2194
2626
|
return;
|
|
2195
2627
|
}
|
|
2196
2628
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2197
|
-
this.
|
|
2198
|
-
this.
|
|
2199
|
-
this.
|
|
2200
|
-
this.
|
|
2201
|
-
this.ReplicateSetNum = 'ReplicateSetNum' in params ? params.ReplicateSetNum : null;
|
|
2202
|
-
this.InMaintenance = 'InMaintenance' in params ? params.InMaintenance : null;
|
|
2203
|
-
this.MongosMemory = 'MongosMemory' in params ? params.MongosMemory : null;
|
|
2204
|
-
|
|
2205
|
-
if (params.AddNodeList) {
|
|
2206
|
-
this.AddNodeList = new Array();
|
|
2207
|
-
for (let z in params.AddNodeList) {
|
|
2208
|
-
let obj = new AddNodeList();
|
|
2209
|
-
obj.deserialize(params.AddNodeList[z]);
|
|
2210
|
-
this.AddNodeList.push(obj);
|
|
2211
|
-
}
|
|
2212
|
-
}
|
|
2213
|
-
|
|
2214
|
-
if (params.RemoveNodeList) {
|
|
2215
|
-
this.RemoveNodeList = new Array();
|
|
2216
|
-
for (let z in params.RemoveNodeList) {
|
|
2217
|
-
let obj = new RemoveNodeList();
|
|
2218
|
-
obj.deserialize(params.RemoveNodeList[z]);
|
|
2219
|
-
this.RemoveNodeList.push(obj);
|
|
2220
|
-
}
|
|
2221
|
-
}
|
|
2629
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2630
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2631
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
2632
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
2222
2633
|
|
|
2223
2634
|
}
|
|
2224
2635
|
}
|
|
@@ -2488,6 +2899,90 @@ class CreateDBInstanceResponse extends AbstractModel {
|
|
|
2488
2899
|
}
|
|
2489
2900
|
}
|
|
2490
2901
|
|
|
2902
|
+
/**
|
|
2903
|
+
* CreateLogDownloadTask request structure.
|
|
2904
|
+
* @class
|
|
2905
|
+
*/
|
|
2906
|
+
class CreateLogDownloadTaskRequest extends AbstractModel {
|
|
2907
|
+
constructor(){
|
|
2908
|
+
super();
|
|
2909
|
+
|
|
2910
|
+
/**
|
|
2911
|
+
* Instance ID.
|
|
2912
|
+
* @type {string || null}
|
|
2913
|
+
*/
|
|
2914
|
+
this.InstanceId = null;
|
|
2915
|
+
|
|
2916
|
+
/**
|
|
2917
|
+
* Start time.
|
|
2918
|
+
* @type {string || null}
|
|
2919
|
+
*/
|
|
2920
|
+
this.StartTime = null;
|
|
2921
|
+
|
|
2922
|
+
/**
|
|
2923
|
+
* End time.
|
|
2924
|
+
* @type {string || null}
|
|
2925
|
+
*/
|
|
2926
|
+
this.EndTime = null;
|
|
2927
|
+
|
|
2928
|
+
/**
|
|
2929
|
+
* Node name.
|
|
2930
|
+
* @type {Array.<string> || null}
|
|
2931
|
+
*/
|
|
2932
|
+
this.NodeNames = null;
|
|
2933
|
+
|
|
2934
|
+
/**
|
|
2935
|
+
* Log category.
|
|
2936
|
+
* @type {Array.<string> || null}
|
|
2937
|
+
*/
|
|
2938
|
+
this.LogComponents = null;
|
|
2939
|
+
|
|
2940
|
+
/**
|
|
2941
|
+
* Log level.
|
|
2942
|
+
* @type {Array.<string> || null}
|
|
2943
|
+
*/
|
|
2944
|
+
this.LogLevels = null;
|
|
2945
|
+
|
|
2946
|
+
/**
|
|
2947
|
+
* Log ID.
|
|
2948
|
+
* @type {Array.<string> || null}
|
|
2949
|
+
*/
|
|
2950
|
+
this.LogIds = null;
|
|
2951
|
+
|
|
2952
|
+
/**
|
|
2953
|
+
* Log connection information.
|
|
2954
|
+
* @type {Array.<string> || null}
|
|
2955
|
+
*/
|
|
2956
|
+
this.LogConnections = null;
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* Filtering fields for log details.
|
|
2960
|
+
* @type {Array.<string> || null}
|
|
2961
|
+
*/
|
|
2962
|
+
this.LogDetailParams = null;
|
|
2963
|
+
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2966
|
+
/**
|
|
2967
|
+
* @private
|
|
2968
|
+
*/
|
|
2969
|
+
deserialize(params) {
|
|
2970
|
+
if (!params) {
|
|
2971
|
+
return;
|
|
2972
|
+
}
|
|
2973
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2974
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
2975
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
2976
|
+
this.NodeNames = 'NodeNames' in params ? params.NodeNames : null;
|
|
2977
|
+
this.LogComponents = 'LogComponents' in params ? params.LogComponents : null;
|
|
2978
|
+
this.LogLevels = 'LogLevels' in params ? params.LogLevels : null;
|
|
2979
|
+
this.LogIds = 'LogIds' in params ? params.LogIds : null;
|
|
2980
|
+
this.LogConnections = 'LogConnections' in params ? params.LogConnections : null;
|
|
2981
|
+
this.LogDetailParams = 'LogDetailParams' in params ? params.LogDetailParams : null;
|
|
2982
|
+
|
|
2983
|
+
}
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2491
2986
|
/**
|
|
2492
2987
|
* Collection of modifiable instance parameters whose values are of the Text type.
|
|
2493
2988
|
* @class
|
|
@@ -3316,6 +3811,41 @@ class DescribeDBInstanceDealRequest extends AbstractModel {
|
|
|
3316
3811
|
}
|
|
3317
3812
|
}
|
|
3318
3813
|
|
|
3814
|
+
/**
|
|
3815
|
+
* UpgradeDBInstanceKernelVersion response structure.
|
|
3816
|
+
* @class
|
|
3817
|
+
*/
|
|
3818
|
+
class UpgradeDBInstanceKernelVersionResponse extends AbstractModel {
|
|
3819
|
+
constructor(){
|
|
3820
|
+
super();
|
|
3821
|
+
|
|
3822
|
+
/**
|
|
3823
|
+
* Asynchronous process task ID.
|
|
3824
|
+
* @type {number || null}
|
|
3825
|
+
*/
|
|
3826
|
+
this.FlowId = null;
|
|
3827
|
+
|
|
3828
|
+
/**
|
|
3829
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3830
|
+
* @type {string || null}
|
|
3831
|
+
*/
|
|
3832
|
+
this.RequestId = null;
|
|
3833
|
+
|
|
3834
|
+
}
|
|
3835
|
+
|
|
3836
|
+
/**
|
|
3837
|
+
* @private
|
|
3838
|
+
*/
|
|
3839
|
+
deserialize(params) {
|
|
3840
|
+
if (!params) {
|
|
3841
|
+
return;
|
|
3842
|
+
}
|
|
3843
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
3844
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3845
|
+
|
|
3846
|
+
}
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3319
3849
|
/**
|
|
3320
3850
|
* DescribeAsyncRequestInfo request structure.
|
|
3321
3851
|
* @class
|
|
@@ -3573,6 +4103,109 @@ class DescribeDBInstanceNodePropertyResponse extends AbstractModel {
|
|
|
3573
4103
|
}
|
|
3574
4104
|
}
|
|
3575
4105
|
|
|
4106
|
+
/**
|
|
4107
|
+
* DescribeMongodbLogs response structure.
|
|
4108
|
+
* @class
|
|
4109
|
+
*/
|
|
4110
|
+
class DescribeMongodbLogsResponse extends AbstractModel {
|
|
4111
|
+
constructor(){
|
|
4112
|
+
super();
|
|
4113
|
+
|
|
4114
|
+
/**
|
|
4115
|
+
* Total number of logs.
|
|
4116
|
+
* @type {number || null}
|
|
4117
|
+
*/
|
|
4118
|
+
this.TotalCount = null;
|
|
4119
|
+
|
|
4120
|
+
/**
|
|
4121
|
+
* List of log details.
|
|
4122
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4123
|
+
* @type {Array.<LogInfo> || null}
|
|
4124
|
+
*/
|
|
4125
|
+
this.LogList = null;
|
|
4126
|
+
|
|
4127
|
+
/**
|
|
4128
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4129
|
+
* @type {string || null}
|
|
4130
|
+
*/
|
|
4131
|
+
this.RequestId = null;
|
|
4132
|
+
|
|
4133
|
+
}
|
|
4134
|
+
|
|
4135
|
+
/**
|
|
4136
|
+
* @private
|
|
4137
|
+
*/
|
|
4138
|
+
deserialize(params) {
|
|
4139
|
+
if (!params) {
|
|
4140
|
+
return;
|
|
4141
|
+
}
|
|
4142
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
4143
|
+
|
|
4144
|
+
if (params.LogList) {
|
|
4145
|
+
this.LogList = new Array();
|
|
4146
|
+
for (let z in params.LogList) {
|
|
4147
|
+
let obj = new LogInfo();
|
|
4148
|
+
obj.deserialize(params.LogList[z]);
|
|
4149
|
+
this.LogList.push(obj);
|
|
4150
|
+
}
|
|
4151
|
+
}
|
|
4152
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4153
|
+
|
|
4154
|
+
}
|
|
4155
|
+
}
|
|
4156
|
+
|
|
4157
|
+
/**
|
|
4158
|
+
* DescribeInstanceSSL response structure.
|
|
4159
|
+
* @class
|
|
4160
|
+
*/
|
|
4161
|
+
class DescribeInstanceSSLResponse extends AbstractModel {
|
|
4162
|
+
constructor(){
|
|
4163
|
+
super();
|
|
4164
|
+
|
|
4165
|
+
/**
|
|
4166
|
+
* SSL enabling status. 0 indicates disabled; 1 indicates enabled.
|
|
4167
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4168
|
+
* @type {number || null}
|
|
4169
|
+
*/
|
|
4170
|
+
this.Status = null;
|
|
4171
|
+
|
|
4172
|
+
/**
|
|
4173
|
+
* Certificate expiration time, in the format of 2023-05-01 12:00:00.
|
|
4174
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4175
|
+
* @type {string || null}
|
|
4176
|
+
*/
|
|
4177
|
+
this.ExpiredTime = null;
|
|
4178
|
+
|
|
4179
|
+
/**
|
|
4180
|
+
* Certificate download URL.
|
|
4181
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4182
|
+
* @type {string || null}
|
|
4183
|
+
*/
|
|
4184
|
+
this.CertUrl = null;
|
|
4185
|
+
|
|
4186
|
+
/**
|
|
4187
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4188
|
+
* @type {string || null}
|
|
4189
|
+
*/
|
|
4190
|
+
this.RequestId = null;
|
|
4191
|
+
|
|
4192
|
+
}
|
|
4193
|
+
|
|
4194
|
+
/**
|
|
4195
|
+
* @private
|
|
4196
|
+
*/
|
|
4197
|
+
deserialize(params) {
|
|
4198
|
+
if (!params) {
|
|
4199
|
+
return;
|
|
4200
|
+
}
|
|
4201
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
4202
|
+
this.ExpiredTime = 'ExpiredTime' in params ? params.ExpiredTime : null;
|
|
4203
|
+
this.CertUrl = 'CertUrl' in params ? params.CertUrl : null;
|
|
4204
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4205
|
+
|
|
4206
|
+
}
|
|
4207
|
+
}
|
|
4208
|
+
|
|
3576
4209
|
/**
|
|
3577
4210
|
* Backup download task information
|
|
3578
4211
|
* @class
|
|
@@ -4166,13 +4799,49 @@ class CreateBackupDBInstanceRequest extends AbstractModel {
|
|
|
4166
4799
|
2. Physical backup is not supported when storage encryption is enabled for the instance.
|
|
4167
4800
|
* @type {number || null}
|
|
4168
4801
|
*/
|
|
4169
|
-
this.BackupMethod = null;
|
|
4802
|
+
this.BackupMethod = null;
|
|
4803
|
+
|
|
4804
|
+
/**
|
|
4805
|
+
* Backup remarks information.
|
|
4806
|
+
* @type {string || null}
|
|
4807
|
+
*/
|
|
4808
|
+
this.BackupRemark = null;
|
|
4809
|
+
|
|
4810
|
+
}
|
|
4811
|
+
|
|
4812
|
+
/**
|
|
4813
|
+
* @private
|
|
4814
|
+
*/
|
|
4815
|
+
deserialize(params) {
|
|
4816
|
+
if (!params) {
|
|
4817
|
+
return;
|
|
4818
|
+
}
|
|
4819
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4820
|
+
this.BackupMethod = 'BackupMethod' in params ? params.BackupMethod : null;
|
|
4821
|
+
this.BackupRemark = 'BackupRemark' in params ? params.BackupRemark : null;
|
|
4822
|
+
|
|
4823
|
+
}
|
|
4824
|
+
}
|
|
4825
|
+
|
|
4826
|
+
/**
|
|
4827
|
+
* UpgradeDbInstanceVersion response structure.
|
|
4828
|
+
* @class
|
|
4829
|
+
*/
|
|
4830
|
+
class UpgradeDbInstanceVersionResponse extends AbstractModel {
|
|
4831
|
+
constructor(){
|
|
4832
|
+
super();
|
|
4833
|
+
|
|
4834
|
+
/**
|
|
4835
|
+
* Asynchronous process task ID.
|
|
4836
|
+
* @type {number || null}
|
|
4837
|
+
*/
|
|
4838
|
+
this.FlowId = null;
|
|
4170
4839
|
|
|
4171
4840
|
/**
|
|
4172
|
-
*
|
|
4841
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4173
4842
|
* @type {string || null}
|
|
4174
4843
|
*/
|
|
4175
|
-
this.
|
|
4844
|
+
this.RequestId = null;
|
|
4176
4845
|
|
|
4177
4846
|
}
|
|
4178
4847
|
|
|
@@ -4183,9 +4852,8 @@ class CreateBackupDBInstanceRequest extends AbstractModel {
|
|
|
4183
4852
|
if (!params) {
|
|
4184
4853
|
return;
|
|
4185
4854
|
}
|
|
4186
|
-
this.
|
|
4187
|
-
this.
|
|
4188
|
-
this.BackupRemark = 'BackupRemark' in params ? params.BackupRemark : null;
|
|
4855
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
4856
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4189
4857
|
|
|
4190
4858
|
}
|
|
4191
4859
|
}
|
|
@@ -4644,6 +5312,112 @@ class AssignProjectRequest extends AbstractModel {
|
|
|
4644
5312
|
}
|
|
4645
5313
|
}
|
|
4646
5314
|
|
|
5315
|
+
/**
|
|
5316
|
+
* DescribeMongodbLogs request structure.
|
|
5317
|
+
* @class
|
|
5318
|
+
*/
|
|
5319
|
+
class DescribeMongodbLogsRequest extends AbstractModel {
|
|
5320
|
+
constructor(){
|
|
5321
|
+
super();
|
|
5322
|
+
|
|
5323
|
+
/**
|
|
5324
|
+
* Instance ID. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb#/), and copy the instance ID from the instance list.
|
|
5325
|
+
* @type {string || null}
|
|
5326
|
+
*/
|
|
5327
|
+
this.InstanceId = null;
|
|
5328
|
+
|
|
5329
|
+
/**
|
|
5330
|
+
* Start time for querying logs.
|
|
5331
|
+
- Format: yyyy-mm-dd hh:mm:ss. For example, 2019-06-01 10:00:00.
|
|
5332
|
+
- Query time range: Only log data within the last 7 days can be queried.
|
|
5333
|
+
* @type {string || null}
|
|
5334
|
+
*/
|
|
5335
|
+
this.StartTime = null;
|
|
5336
|
+
|
|
5337
|
+
/**
|
|
5338
|
+
* End time for querying logs.
|
|
5339
|
+
- Format: yyyy-mm-dd hh:mm:ss. For example, 2019-06-01 10:00:00.
|
|
5340
|
+
- Query time range: Only log data within the last 7 days can be queried.
|
|
5341
|
+
* @type {string || null}
|
|
5342
|
+
*/
|
|
5343
|
+
this.EndTime = null;
|
|
5344
|
+
|
|
5345
|
+
/**
|
|
5346
|
+
* Node ID. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), and go to the **Node Management** page to obtain the ID of the node to be queried.
|
|
5347
|
+
* @type {Array.<string> || null}
|
|
5348
|
+
*/
|
|
5349
|
+
this.NodeNames = null;
|
|
5350
|
+
|
|
5351
|
+
/**
|
|
5352
|
+
* Log category.
|
|
5353
|
+
- Log categories include but are not limited to COMMAND, ACCESS, CONTROL, FTDC, INDEX, NETWORK, QUERY, REPL, SHARDING, STORAGE, RECOVERY, JOURNAL, and WRITE. The specific supported categories may vary depending on the MongoDB version. For details, see Log Messages (https://www.mongodb.com/zh-cn/docs/v5.0/reference/log-messages/#log-message-examples).
|
|
5354
|
+
- Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), and view the **log category** on the **Error Log** tab of the **Log Management** page.
|
|
5355
|
+
* @type {Array.<string> || null}
|
|
5356
|
+
*/
|
|
5357
|
+
this.LogComponents = null;
|
|
5358
|
+
|
|
5359
|
+
/**
|
|
5360
|
+
* Log level.
|
|
5361
|
+
- The log levels are ranked by severity from high to low: FATAL, ERROR, and WARNING.
|
|
5362
|
+
-Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), and view the **log level** on the **Error Log** tab of the **Log Management** page.
|
|
5363
|
+
* @type {Array.<string> || null}
|
|
5364
|
+
*/
|
|
5365
|
+
this.LogLevels = null;
|
|
5366
|
+
|
|
5367
|
+
/**
|
|
5368
|
+
* Log ID. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), and view the **log ID** on the **Error Log** tab of the **Log Management** page.
|
|
5369
|
+
* @type {Array.<string> || null}
|
|
5370
|
+
*/
|
|
5371
|
+
this.LogIds = null;
|
|
5372
|
+
|
|
5373
|
+
/**
|
|
5374
|
+
* Log connection information. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), and view the **log connection information** on the **Error Log** tab of the **Log Management** page.
|
|
5375
|
+
* @type {Array.<string> || null}
|
|
5376
|
+
*/
|
|
5377
|
+
this.LogConnections = null;
|
|
5378
|
+
|
|
5379
|
+
/**
|
|
5380
|
+
* Specifies the field for filtering the logs.
|
|
5381
|
+
* @type {Array.<string> || null}
|
|
5382
|
+
*/
|
|
5383
|
+
this.LogDetailParams = null;
|
|
5384
|
+
|
|
5385
|
+
/**
|
|
5386
|
+
* Offset. The minimum value is 0, and the maximum value is 10000. The default value is 0.
|
|
5387
|
+
* @type {number || null}
|
|
5388
|
+
*/
|
|
5389
|
+
this.Offset = null;
|
|
5390
|
+
|
|
5391
|
+
/**
|
|
5392
|
+
* Pagination size. The minimum value is 1, and the maximum value is 100. The default value is 20.
|
|
5393
|
+
* @type {number || null}
|
|
5394
|
+
*/
|
|
5395
|
+
this.Limit = null;
|
|
5396
|
+
|
|
5397
|
+
}
|
|
5398
|
+
|
|
5399
|
+
/**
|
|
5400
|
+
* @private
|
|
5401
|
+
*/
|
|
5402
|
+
deserialize(params) {
|
|
5403
|
+
if (!params) {
|
|
5404
|
+
return;
|
|
5405
|
+
}
|
|
5406
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
5407
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
5408
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
5409
|
+
this.NodeNames = 'NodeNames' in params ? params.NodeNames : null;
|
|
5410
|
+
this.LogComponents = 'LogComponents' in params ? params.LogComponents : null;
|
|
5411
|
+
this.LogLevels = 'LogLevels' in params ? params.LogLevels : null;
|
|
5412
|
+
this.LogIds = 'LogIds' in params ? params.LogIds : null;
|
|
5413
|
+
this.LogConnections = 'LogConnections' in params ? params.LogConnections : null;
|
|
5414
|
+
this.LogDetailParams = 'LogDetailParams' in params ? params.LogDetailParams : null;
|
|
5415
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
5416
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
5417
|
+
|
|
5418
|
+
}
|
|
5419
|
+
}
|
|
5420
|
+
|
|
4647
5421
|
/**
|
|
4648
5422
|
* CreateBackupDownloadTask response structure.
|
|
4649
5423
|
* @class
|
|
@@ -4688,30 +5462,59 @@ class CreateBackupDownloadTaskResponse extends AbstractModel {
|
|
|
4688
5462
|
}
|
|
4689
5463
|
|
|
4690
5464
|
/**
|
|
4691
|
-
*
|
|
5465
|
+
* CreateLogDownloadTask response structure.
|
|
4692
5466
|
* @class
|
|
4693
5467
|
*/
|
|
4694
|
-
class
|
|
5468
|
+
class CreateLogDownloadTaskResponse extends AbstractModel {
|
|
4695
5469
|
constructor(){
|
|
4696
5470
|
super();
|
|
4697
5471
|
|
|
4698
5472
|
/**
|
|
4699
|
-
*
|
|
5473
|
+
* Task status.
|
|
5474
|
+
* @type {number || null}
|
|
5475
|
+
*/
|
|
5476
|
+
this.Status = null;
|
|
5477
|
+
|
|
5478
|
+
/**
|
|
5479
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4700
5480
|
* @type {string || null}
|
|
4701
5481
|
*/
|
|
4702
|
-
this.
|
|
5482
|
+
this.RequestId = null;
|
|
5483
|
+
|
|
5484
|
+
}
|
|
5485
|
+
|
|
5486
|
+
/**
|
|
5487
|
+
* @private
|
|
5488
|
+
*/
|
|
5489
|
+
deserialize(params) {
|
|
5490
|
+
if (!params) {
|
|
5491
|
+
return;
|
|
5492
|
+
}
|
|
5493
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
5494
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5495
|
+
|
|
5496
|
+
}
|
|
5497
|
+
}
|
|
5498
|
+
|
|
5499
|
+
/**
|
|
5500
|
+
* DeleteLogDownloadTask request structure.
|
|
5501
|
+
* @class
|
|
5502
|
+
*/
|
|
5503
|
+
class DeleteLogDownloadTaskRequest extends AbstractModel {
|
|
5504
|
+
constructor(){
|
|
5505
|
+
super();
|
|
4703
5506
|
|
|
4704
5507
|
/**
|
|
4705
|
-
*
|
|
5508
|
+
* Instance ID.
|
|
4706
5509
|
* @type {string || null}
|
|
4707
5510
|
*/
|
|
4708
|
-
this.
|
|
5511
|
+
this.InstanceId = null;
|
|
4709
5512
|
|
|
4710
5513
|
/**
|
|
4711
|
-
*
|
|
5514
|
+
* Task ID.
|
|
4712
5515
|
* @type {string || null}
|
|
4713
5516
|
*/
|
|
4714
|
-
this.
|
|
5517
|
+
this.TaskId = null;
|
|
4715
5518
|
|
|
4716
5519
|
}
|
|
4717
5520
|
|
|
@@ -4722,9 +5525,8 @@ class SlowLogItem extends AbstractModel {
|
|
|
4722
5525
|
if (!params) {
|
|
4723
5526
|
return;
|
|
4724
5527
|
}
|
|
4725
|
-
this.
|
|
4726
|
-
this.
|
|
4727
|
-
this.QueryHash = 'QueryHash' in params ? params.QueryHash : null;
|
|
5528
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
5529
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
4728
5530
|
|
|
4729
5531
|
}
|
|
4730
5532
|
}
|
|
@@ -5342,6 +6144,99 @@ class DescribeInstanceParamsRequest extends AbstractModel {
|
|
|
5342
6144
|
}
|
|
5343
6145
|
}
|
|
5344
6146
|
|
|
6147
|
+
/**
|
|
6148
|
+
* DescribeLogDownloadTasks response structure.
|
|
6149
|
+
* @class
|
|
6150
|
+
*/
|
|
6151
|
+
class DescribeLogDownloadTasksResponse extends AbstractModel {
|
|
6152
|
+
constructor(){
|
|
6153
|
+
super();
|
|
6154
|
+
|
|
6155
|
+
/**
|
|
6156
|
+
* Quantity.
|
|
6157
|
+
* @type {number || null}
|
|
6158
|
+
*/
|
|
6159
|
+
this.TotalCount = null;
|
|
6160
|
+
|
|
6161
|
+
/**
|
|
6162
|
+
* Task list.
|
|
6163
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6164
|
+
* @type {Array.<Task> || null}
|
|
6165
|
+
*/
|
|
6166
|
+
this.Tasks = null;
|
|
6167
|
+
|
|
6168
|
+
/**
|
|
6169
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
6170
|
+
* @type {string || null}
|
|
6171
|
+
*/
|
|
6172
|
+
this.RequestId = null;
|
|
6173
|
+
|
|
6174
|
+
}
|
|
6175
|
+
|
|
6176
|
+
/**
|
|
6177
|
+
* @private
|
|
6178
|
+
*/
|
|
6179
|
+
deserialize(params) {
|
|
6180
|
+
if (!params) {
|
|
6181
|
+
return;
|
|
6182
|
+
}
|
|
6183
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
6184
|
+
|
|
6185
|
+
if (params.Tasks) {
|
|
6186
|
+
this.Tasks = new Array();
|
|
6187
|
+
for (let z in params.Tasks) {
|
|
6188
|
+
let obj = new Task();
|
|
6189
|
+
obj.deserialize(params.Tasks[z]);
|
|
6190
|
+
this.Tasks.push(obj);
|
|
6191
|
+
}
|
|
6192
|
+
}
|
|
6193
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6194
|
+
|
|
6195
|
+
}
|
|
6196
|
+
}
|
|
6197
|
+
|
|
6198
|
+
/**
|
|
6199
|
+
* Slow log details.
|
|
6200
|
+
* @class
|
|
6201
|
+
*/
|
|
6202
|
+
class SlowLogItem extends AbstractModel {
|
|
6203
|
+
constructor(){
|
|
6204
|
+
super();
|
|
6205
|
+
|
|
6206
|
+
/**
|
|
6207
|
+
* Slow log details.
|
|
6208
|
+
* @type {string || null}
|
|
6209
|
+
*/
|
|
6210
|
+
this.Log = null;
|
|
6211
|
+
|
|
6212
|
+
/**
|
|
6213
|
+
* Node name.
|
|
6214
|
+
* @type {string || null}
|
|
6215
|
+
*/
|
|
6216
|
+
this.NodeName = null;
|
|
6217
|
+
|
|
6218
|
+
/**
|
|
6219
|
+
* Queries the hash value.
|
|
6220
|
+
* @type {string || null}
|
|
6221
|
+
*/
|
|
6222
|
+
this.QueryHash = null;
|
|
6223
|
+
|
|
6224
|
+
}
|
|
6225
|
+
|
|
6226
|
+
/**
|
|
6227
|
+
* @private
|
|
6228
|
+
*/
|
|
6229
|
+
deserialize(params) {
|
|
6230
|
+
if (!params) {
|
|
6231
|
+
return;
|
|
6232
|
+
}
|
|
6233
|
+
this.Log = 'Log' in params ? params.Log : null;
|
|
6234
|
+
this.NodeName = 'NodeName' in params ? params.NodeName : null;
|
|
6235
|
+
this.QueryHash = 'QueryHash' in params ? params.QueryHash : null;
|
|
6236
|
+
|
|
6237
|
+
}
|
|
6238
|
+
}
|
|
6239
|
+
|
|
5345
6240
|
/**
|
|
5346
6241
|
* Instance details.
|
|
5347
6242
|
* @class
|
|
@@ -5871,17 +6766,55 @@ class RenewDBInstancesRequest extends AbstractModel {
|
|
|
5871
6766
|
}
|
|
5872
6767
|
}
|
|
5873
6768
|
|
|
6769
|
+
/**
|
|
6770
|
+
* UpgradeDBInstanceKernelVersion request structure.
|
|
6771
|
+
* @class
|
|
6772
|
+
*/
|
|
6773
|
+
class UpgradeDBInstanceKernelVersionRequest extends AbstractModel {
|
|
6774
|
+
constructor(){
|
|
6775
|
+
super();
|
|
6776
|
+
|
|
6777
|
+
/**
|
|
6778
|
+
* List of instance IDs, which are in the format of cmgo-p8vnipr5. It is the same as the format of the instance ID displayed on the TencentDB for MongoDB console page.
|
|
6779
|
+
* @type {string || null}
|
|
6780
|
+
*/
|
|
6781
|
+
this.InstanceId = null;
|
|
6782
|
+
|
|
6783
|
+
/**
|
|
6784
|
+
* Whether to perform the upgrade during the maintenance period. 0 - no; 1 - yes.
|
|
6785
|
+
* @type {number || null}
|
|
6786
|
+
*/
|
|
6787
|
+
this.InMaintenance = null;
|
|
6788
|
+
|
|
6789
|
+
}
|
|
6790
|
+
|
|
6791
|
+
/**
|
|
6792
|
+
* @private
|
|
6793
|
+
*/
|
|
6794
|
+
deserialize(params) {
|
|
6795
|
+
if (!params) {
|
|
6796
|
+
return;
|
|
6797
|
+
}
|
|
6798
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
6799
|
+
this.InMaintenance = 'InMaintenance' in params ? params.InMaintenance : null;
|
|
6800
|
+
|
|
6801
|
+
}
|
|
6802
|
+
}
|
|
6803
|
+
|
|
5874
6804
|
module.exports = {
|
|
5875
6805
|
DescribeSpecInfoRequest: DescribeSpecInfoRequest,
|
|
5876
6806
|
CreateDBInstanceRequest: CreateDBInstanceRequest,
|
|
5877
6807
|
CreateBackupDBInstanceResponse: CreateBackupDBInstanceResponse,
|
|
5878
6808
|
DBInstancePrice: DBInstancePrice,
|
|
6809
|
+
DeleteLogDownloadTaskResponse: DeleteLogDownloadTaskResponse,
|
|
5879
6810
|
DescribeDBInstanceNamespaceResponse: DescribeDBInstanceNamespaceResponse,
|
|
5880
6811
|
DescribeSlowLogsRequest: DescribeSlowLogsRequest,
|
|
5881
6812
|
FlushInstanceRouterConfigResponse: FlushInstanceRouterConfigResponse,
|
|
5882
6813
|
SetDBInstanceDeletionProtectionRequest: SetDBInstanceDeletionProtectionRequest,
|
|
5883
6814
|
DescribeSecurityGroupRequest: DescribeSecurityGroupRequest,
|
|
6815
|
+
DescribeInstanceSSLRequest: DescribeInstanceSSLRequest,
|
|
5884
6816
|
SlowLogPattern: SlowLogPattern,
|
|
6817
|
+
Task: Task,
|
|
5885
6818
|
AssignProjectResponse: AssignProjectResponse,
|
|
5886
6819
|
DescribeDBInstanceDealResponse: DescribeDBInstanceDealResponse,
|
|
5887
6820
|
OfflineIsolatedDBInstanceResponse: OfflineIsolatedDBInstanceResponse,
|
|
@@ -5891,10 +6824,13 @@ module.exports = {
|
|
|
5891
6824
|
AddNodeList: AddNodeList,
|
|
5892
6825
|
FlushInstanceRouterConfigRequest: FlushInstanceRouterConfigRequest,
|
|
5893
6826
|
DBInstanceInfo: DBInstanceInfo,
|
|
6827
|
+
UpgradeDbInstanceVersionRequest: UpgradeDbInstanceVersionRequest,
|
|
5894
6828
|
ModifyDBInstanceNetworkAddressRequest: ModifyDBInstanceNetworkAddressRequest,
|
|
5895
6829
|
CreateDBInstanceHourResponse: CreateDBInstanceHourResponse,
|
|
6830
|
+
InstanceEnableSSLRequest: InstanceEnableSSLRequest,
|
|
5896
6831
|
DescribeDBInstanceNamespaceRequest: DescribeDBInstanceNamespaceRequest,
|
|
5897
6832
|
DescribeDBInstanceNodePropertyRequest: DescribeDBInstanceNodePropertyRequest,
|
|
6833
|
+
LogInfo: LogInfo,
|
|
5898
6834
|
SpecItem: SpecItem,
|
|
5899
6835
|
DescribeDetailedSlowLogsRequest: DescribeDetailedSlowLogsRequest,
|
|
5900
6836
|
ModifyDBInstanceNetworkAddressResponse: ModifyDBInstanceNetworkAddressResponse,
|
|
@@ -5904,12 +6840,15 @@ module.exports = {
|
|
|
5904
6840
|
InquirePriceModifyDBInstanceSpecRequest: InquirePriceModifyDBInstanceSpecRequest,
|
|
5905
6841
|
BackupInfo: BackupInfo,
|
|
5906
6842
|
DescribeDBInstancesRequest: DescribeDBInstancesRequest,
|
|
6843
|
+
InstanceEnableSSLResponse: InstanceEnableSSLResponse,
|
|
5907
6844
|
ModifyDBInstanceSpecRequest: ModifyDBInstanceSpecRequest,
|
|
6845
|
+
DescribeLogDownloadTasksRequest: DescribeLogDownloadTasksRequest,
|
|
5908
6846
|
ResetDBInstancePasswordRequest: ResetDBInstancePasswordRequest,
|
|
5909
6847
|
InstanceIntegerParam: InstanceIntegerParam,
|
|
5910
6848
|
ModifyNetworkAddress: ModifyNetworkAddress,
|
|
5911
6849
|
DescribeAsyncRequestInfoResponse: DescribeAsyncRequestInfoResponse,
|
|
5912
6850
|
CreateDBInstanceResponse: CreateDBInstanceResponse,
|
|
6851
|
+
CreateLogDownloadTaskRequest: CreateLogDownloadTaskRequest,
|
|
5913
6852
|
InstanceTextParam: InstanceTextParam,
|
|
5914
6853
|
ModifyDBInstanceSecurityGroupRequest: ModifyDBInstanceSecurityGroupRequest,
|
|
5915
6854
|
InquirePriceRenewDBInstancesRequest: InquirePriceRenewDBInstancesRequest,
|
|
@@ -5928,11 +6867,14 @@ module.exports = {
|
|
|
5928
6867
|
ClientConnection: ClientConnection,
|
|
5929
6868
|
ReplicateSetInfo: ReplicateSetInfo,
|
|
5930
6869
|
DescribeDBInstanceDealRequest: DescribeDBInstanceDealRequest,
|
|
6870
|
+
UpgradeDBInstanceKernelVersionResponse: UpgradeDBInstanceKernelVersionResponse,
|
|
5931
6871
|
DescribeAsyncRequestInfoRequest: DescribeAsyncRequestInfoRequest,
|
|
5932
6872
|
CreateBackupDownloadTaskRequest: CreateBackupDownloadTaskRequest,
|
|
5933
6873
|
InquirePriceModifyDBInstanceSpecResponse: InquirePriceModifyDBInstanceSpecResponse,
|
|
5934
6874
|
SecurityGroupBound: SecurityGroupBound,
|
|
5935
6875
|
DescribeDBInstanceNodePropertyResponse: DescribeDBInstanceNodePropertyResponse,
|
|
6876
|
+
DescribeMongodbLogsResponse: DescribeMongodbLogsResponse,
|
|
6877
|
+
DescribeInstanceSSLResponse: DescribeInstanceSSLResponse,
|
|
5936
6878
|
BackupDownloadTask: BackupDownloadTask,
|
|
5937
6879
|
DescribeDBBackupsRequest: DescribeDBBackupsRequest,
|
|
5938
6880
|
DescribeClientConnectionsRequest: DescribeClientConnectionsRequest,
|
|
@@ -5945,12 +6887,15 @@ module.exports = {
|
|
|
5945
6887
|
InstanceEnumParam: InstanceEnumParam,
|
|
5946
6888
|
RenameInstanceResponse: RenameInstanceResponse,
|
|
5947
6889
|
CreateBackupDBInstanceRequest: CreateBackupDBInstanceRequest,
|
|
6890
|
+
UpgradeDbInstanceVersionResponse: UpgradeDbInstanceVersionResponse,
|
|
5948
6891
|
NodeProperty: NodeProperty,
|
|
5949
6892
|
IsolateDBInstanceRequest: IsolateDBInstanceRequest,
|
|
5950
6893
|
CreateDBInstanceHourRequest: CreateDBInstanceHourRequest,
|
|
5951
6894
|
AssignProjectRequest: AssignProjectRequest,
|
|
6895
|
+
DescribeMongodbLogsRequest: DescribeMongodbLogsRequest,
|
|
5952
6896
|
CreateBackupDownloadTaskResponse: CreateBackupDownloadTaskResponse,
|
|
5953
|
-
|
|
6897
|
+
CreateLogDownloadTaskResponse: CreateLogDownloadTaskResponse,
|
|
6898
|
+
DeleteLogDownloadTaskRequest: DeleteLogDownloadTaskRequest,
|
|
5954
6899
|
SpecificationInfo: SpecificationInfo,
|
|
5955
6900
|
DescribeSlowLogPatternsRequest: DescribeSlowLogPatternsRequest,
|
|
5956
6901
|
DescribeSpecInfoResponse: DescribeSpecInfoResponse,
|
|
@@ -5961,9 +6906,12 @@ module.exports = {
|
|
|
5961
6906
|
InquirePriceCreateDBInstancesRequest: InquirePriceCreateDBInstancesRequest,
|
|
5962
6907
|
DescribeInstanceParamsResponse: DescribeInstanceParamsResponse,
|
|
5963
6908
|
DescribeInstanceParamsRequest: DescribeInstanceParamsRequest,
|
|
6909
|
+
DescribeLogDownloadTasksResponse: DescribeLogDownloadTasksResponse,
|
|
6910
|
+
SlowLogItem: SlowLogItem,
|
|
5964
6911
|
InstanceDetail: InstanceDetail,
|
|
5965
6912
|
ModifyDBInstanceSpecResponse: ModifyDBInstanceSpecResponse,
|
|
5966
6913
|
InstanceChargePrepaid: InstanceChargePrepaid,
|
|
5967
6914
|
RenewDBInstancesRequest: RenewDBInstancesRequest,
|
|
6915
|
+
UpgradeDBInstanceKernelVersionRequest: UpgradeDBInstanceKernelVersionRequest,
|
|
5968
6916
|
|
|
5969
6917
|
}
|