tencentcloud-sdk-nodejs-intl-en 3.0.357 → 3.0.358
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -198,19 +198,33 @@ class DescribeFileSystemResponse extends AbstractModel {
|
|
|
198
198
|
this.FileSystem = null;
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
|
-
* Used capacity
|
|
202
|
-
Note: this field may return `null`, indicating that no valid
|
|
201
|
+
* Used capacity of the file system, in bytes
|
|
202
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
203
203
|
* @type {number || null}
|
|
204
204
|
*/
|
|
205
205
|
this.CapacityUsed = null;
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
|
-
* Used ARCHIVE
|
|
208
|
+
* Used ARCHIVE capacity of COS, in bytes
|
|
209
209
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
210
210
|
* @type {number || null}
|
|
211
211
|
*/
|
|
212
212
|
this.ArchiveCapacityUsed = null;
|
|
213
213
|
|
|
214
|
+
/**
|
|
215
|
+
* Used STANDARD capacity of COS, in bytes
|
|
216
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
217
|
+
* @type {number || null}
|
|
218
|
+
*/
|
|
219
|
+
this.StandardCapacityUsed = null;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Used STANDARD_IA capacity of COS, in bytes
|
|
223
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
224
|
+
* @type {number || null}
|
|
225
|
+
*/
|
|
226
|
+
this.DegradeCapacityUsed = null;
|
|
227
|
+
|
|
214
228
|
/**
|
|
215
229
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
216
230
|
* @type {string || null}
|
|
@@ -234,6 +248,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
234
248
|
}
|
|
235
249
|
this.CapacityUsed = 'CapacityUsed' in params ? params.CapacityUsed : null;
|
|
236
250
|
this.ArchiveCapacityUsed = 'ArchiveCapacityUsed' in params ? params.ArchiveCapacityUsed : null;
|
|
251
|
+
this.StandardCapacityUsed = 'StandardCapacityUsed' in params ? params.StandardCapacityUsed : null;
|
|
252
|
+
this.DegradeCapacityUsed = 'DegradeCapacityUsed' in params ? params.DegradeCapacityUsed : null;
|
|
237
253
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
238
254
|
|
|
239
255
|
}
|
|
@@ -375,6 +391,18 @@ Note: the file system capacity after change cannot be smaller than the currently
|
|
|
375
391
|
*/
|
|
376
392
|
this.PosixAcl = null;
|
|
377
393
|
|
|
394
|
+
/**
|
|
395
|
+
* Whether to enable verification of Ranger service addresses
|
|
396
|
+
* @type {boolean || null}
|
|
397
|
+
*/
|
|
398
|
+
this.EnableRanger = null;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* List of Ranger service addresses, which can be an empty array
|
|
402
|
+
* @type {Array.<string> || null}
|
|
403
|
+
*/
|
|
404
|
+
this.RangerServiceAddresses = null;
|
|
405
|
+
|
|
378
406
|
}
|
|
379
407
|
|
|
380
408
|
/**
|
|
@@ -390,6 +418,8 @@ Note: the file system capacity after change cannot be smaller than the currently
|
|
|
390
418
|
this.CapacityQuota = 'CapacityQuota' in params ? params.CapacityQuota : null;
|
|
391
419
|
this.SuperUsers = 'SuperUsers' in params ? params.SuperUsers : null;
|
|
392
420
|
this.PosixAcl = 'PosixAcl' in params ? params.PosixAcl : null;
|
|
421
|
+
this.EnableRanger = 'EnableRanger' in params ? params.EnableRanger : null;
|
|
422
|
+
this.RangerServiceAddresses = 'RangerServiceAddresses' in params ? params.RangerServiceAddresses : null;
|
|
393
423
|
|
|
394
424
|
}
|
|
395
425
|
}
|
|
@@ -1013,6 +1043,18 @@ class CreateFileSystemRequest extends AbstractModel {
|
|
|
1013
1043
|
*/
|
|
1014
1044
|
this.RootInodeGroup = null;
|
|
1015
1045
|
|
|
1046
|
+
/**
|
|
1047
|
+
* Whether to enable verification of Ranger service addresses
|
|
1048
|
+
* @type {boolean || null}
|
|
1049
|
+
*/
|
|
1050
|
+
this.EnableRanger = null;
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* List of Ranger service addresses (empty array by default)
|
|
1054
|
+
* @type {Array.<string> || null}
|
|
1055
|
+
*/
|
|
1056
|
+
this.RangerServiceAddresses = null;
|
|
1057
|
+
|
|
1016
1058
|
}
|
|
1017
1059
|
|
|
1018
1060
|
/**
|
|
@@ -1029,6 +1071,8 @@ class CreateFileSystemRequest extends AbstractModel {
|
|
|
1029
1071
|
this.SuperUsers = 'SuperUsers' in params ? params.SuperUsers : null;
|
|
1030
1072
|
this.RootInodeUser = 'RootInodeUser' in params ? params.RootInodeUser : null;
|
|
1031
1073
|
this.RootInodeGroup = 'RootInodeGroup' in params ? params.RootInodeGroup : null;
|
|
1074
|
+
this.EnableRanger = 'EnableRanger' in params ? params.EnableRanger : null;
|
|
1075
|
+
this.RangerServiceAddresses = 'RangerServiceAddresses' in params ? params.RangerServiceAddresses : null;
|
|
1032
1076
|
|
|
1033
1077
|
}
|
|
1034
1078
|
}
|
|
@@ -1383,6 +1427,20 @@ class FileSystem extends AbstractModel {
|
|
|
1383
1427
|
*/
|
|
1384
1428
|
this.PosixAcl = null;
|
|
1385
1429
|
|
|
1430
|
+
/**
|
|
1431
|
+
* Whether to enable verification of Ranger service addresses
|
|
1432
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
1433
|
+
* @type {boolean || null}
|
|
1434
|
+
*/
|
|
1435
|
+
this.EnableRanger = null;
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* List of Ranger service addresses
|
|
1439
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
1440
|
+
* @type {Array.<string> || null}
|
|
1441
|
+
*/
|
|
1442
|
+
this.RangerServiceAddresses = null;
|
|
1443
|
+
|
|
1386
1444
|
}
|
|
1387
1445
|
|
|
1388
1446
|
/**
|
|
@@ -1403,6 +1461,8 @@ class FileSystem extends AbstractModel {
|
|
|
1403
1461
|
this.Status = 'Status' in params ? params.Status : null;
|
|
1404
1462
|
this.SuperUsers = 'SuperUsers' in params ? params.SuperUsers : null;
|
|
1405
1463
|
this.PosixAcl = 'PosixAcl' in params ? params.PosixAcl : null;
|
|
1464
|
+
this.EnableRanger = 'EnableRanger' in params ? params.EnableRanger : null;
|
|
1465
|
+
this.RangerServiceAddresses = 'RangerServiceAddresses' in params ? params.RangerServiceAddresses : null;
|
|
1406
1466
|
|
|
1407
1467
|
}
|
|
1408
1468
|
}
|
|
@@ -1428,7 +1488,7 @@ class RestoreTask extends AbstractModel {
|
|
|
1428
1488
|
this.FilePath = null;
|
|
1429
1489
|
|
|
1430
1490
|
/**
|
|
1431
|
-
* Restoration task type (1
|
|
1491
|
+
* Restoration task type (`1`: standard; `2`: expedited; `3`: bulk, with only the expedited type available currently)
|
|
1432
1492
|
* @type {number || null}
|
|
1433
1493
|
*/
|
|
1434
1494
|
this.Type = null;
|
|
@@ -1641,7 +1701,7 @@ class Transition extends AbstractModel {
|
|
|
1641
1701
|
this.Days = null;
|
|
1642
1702
|
|
|
1643
1703
|
/**
|
|
1644
|
-
* Transition type (1
|
|
1704
|
+
* Transition type (`1`: transition to ARCHIVE; `2`: delete; `3`: transition to STANDARD_IA)
|
|
1645
1705
|
* @type {number || null}
|
|
1646
1706
|
*/
|
|
1647
1707
|
this.Type = null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.358";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -25,6 +25,7 @@ const ScoreItem = models.ScoreItem;
|
|
|
25
25
|
const InstanceConfs = models.InstanceConfs;
|
|
26
26
|
const CreateSecurityAuditLogExportTaskRequest = models.CreateSecurityAuditLogExportTaskRequest;
|
|
27
27
|
const DescribeDBDiagEventResponse = models.DescribeDBDiagEventResponse;
|
|
28
|
+
const DescribeDBDiagEventsResponse = models.DescribeDBDiagEventsResponse;
|
|
28
29
|
const DescribeDBDiagReportTasksResponse = models.DescribeDBDiagReportTasksResponse;
|
|
29
30
|
const AddUserContactResponse = models.AddUserContactResponse;
|
|
30
31
|
const ModifyDiagDBInstanceConfResponse = models.ModifyDiagDBInstanceConfResponse;
|
|
@@ -40,12 +41,12 @@ const DescribeDBSpaceStatusRequest = models.DescribeDBSpaceStatusRequest;
|
|
|
40
41
|
const TimeSlice = models.TimeSlice;
|
|
41
42
|
const ModifyDiagDBInstanceConfRequest = models.ModifyDiagDBInstanceConfRequest;
|
|
42
43
|
const DescribeSecurityAuditLogDownloadUrlsRequest = models.DescribeSecurityAuditLogDownloadUrlsRequest;
|
|
43
|
-
const
|
|
44
|
+
const MySqlProcess = models.MySqlProcess;
|
|
44
45
|
const CreateMailProfileResponse = models.CreateMailProfileResponse;
|
|
45
46
|
const DescribeSlowLogTimeSeriesStatsRequest = models.DescribeSlowLogTimeSeriesStatsRequest;
|
|
46
47
|
const CreateDBDiagReportUrlResponse = models.CreateDBDiagReportUrlResponse;
|
|
47
48
|
const DescribeDBDiagHistoryRequest = models.DescribeDBDiagHistoryRequest;
|
|
48
|
-
const
|
|
49
|
+
const CreateDBDiagReportTaskResponse = models.CreateDBDiagReportTaskResponse;
|
|
49
50
|
const DiagHistoryEventItem = models.DiagHistoryEventItem;
|
|
50
51
|
const SlowLogHost = models.SlowLogHost;
|
|
51
52
|
const CreateMailProfileRequest = models.CreateMailProfileRequest;
|
|
@@ -92,6 +93,7 @@ const MonitorFloatMetric = models.MonitorFloatMetric;
|
|
|
92
93
|
const DescribeAllUserGroupResponse = models.DescribeAllUserGroupResponse;
|
|
93
94
|
const DescribeUserSqlAdviceResponse = models.DescribeUserSqlAdviceResponse;
|
|
94
95
|
const DescribeDBSpaceStatusResponse = models.DescribeDBSpaceStatusResponse;
|
|
96
|
+
const DescribeDBDiagEventsRequest = models.DescribeDBDiagEventsRequest;
|
|
95
97
|
const GroupItem = models.GroupItem;
|
|
96
98
|
const DescribeTopSpaceTableTimeSeriesRequest = models.DescribeTopSpaceTableTimeSeriesRequest;
|
|
97
99
|
const DescribeDBDiagReportTasksRequest = models.DescribeDBDiagReportTasksRequest;
|
|
@@ -193,6 +195,17 @@ class DbbrainClient extends AbstractClient {
|
|
|
193
195
|
this.request("DescribeAllUserGroup", req, resp, cb);
|
|
194
196
|
}
|
|
195
197
|
|
|
198
|
+
/**
|
|
199
|
+
* This API is used to obtain the diagnosis event list in a specified time period by risk level, instance ID, etc.
|
|
200
|
+
* @param {DescribeDBDiagEventsRequest} req
|
|
201
|
+
* @param {function(string, DescribeDBDiagEventsResponse):void} cb
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
DescribeDBDiagEvents(req, cb) {
|
|
205
|
+
let resp = new DescribeDBDiagEventsResponse();
|
|
206
|
+
this.request("DescribeDBDiagEvents", req, resp, cb);
|
|
207
|
+
}
|
|
208
|
+
|
|
196
209
|
/**
|
|
197
210
|
* This API is used to get the slow log statistics histogram.
|
|
198
211
|
* @param {DescribeSlowLogTimeSeriesStatsRequest} req
|
|
@@ -569,6 +569,56 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
|
|
572
|
+
/**
|
|
573
|
+
* DescribeDBDiagEvents response structure.
|
|
574
|
+
* @class
|
|
575
|
+
*/
|
|
576
|
+
class DescribeDBDiagEventsResponse extends AbstractModel {
|
|
577
|
+
constructor(){
|
|
578
|
+
super();
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Total number of diagnosis events.
|
|
582
|
+
* @type {number || null}
|
|
583
|
+
*/
|
|
584
|
+
this.TotalCount = null;
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Diagnosis event list.
|
|
588
|
+
* @type {Array.<DiagHistoryEventItem> || null}
|
|
589
|
+
*/
|
|
590
|
+
this.Items = null;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
594
|
+
* @type {string || null}
|
|
595
|
+
*/
|
|
596
|
+
this.RequestId = null;
|
|
597
|
+
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* @private
|
|
602
|
+
*/
|
|
603
|
+
deserialize(params) {
|
|
604
|
+
if (!params) {
|
|
605
|
+
return;
|
|
606
|
+
}
|
|
607
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
608
|
+
|
|
609
|
+
if (params.Items) {
|
|
610
|
+
this.Items = new Array();
|
|
611
|
+
for (let z in params.Items) {
|
|
612
|
+
let obj = new DiagHistoryEventItem();
|
|
613
|
+
obj.deserialize(params.Items[z]);
|
|
614
|
+
this.Items.push(obj);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
618
|
+
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
572
622
|
/**
|
|
573
623
|
* DescribeDBDiagReportTasks response structure.
|
|
574
624
|
* @class
|
|
@@ -1392,25 +1442,60 @@ class DescribeSecurityAuditLogDownloadUrlsRequest extends AbstractModel {
|
|
|
1392
1442
|
}
|
|
1393
1443
|
|
|
1394
1444
|
/**
|
|
1395
|
-
*
|
|
1445
|
+
* Relational database thread
|
|
1396
1446
|
* @class
|
|
1397
1447
|
*/
|
|
1398
|
-
class
|
|
1448
|
+
class MySqlProcess extends AbstractModel {
|
|
1399
1449
|
constructor(){
|
|
1400
1450
|
super();
|
|
1401
1451
|
|
|
1402
1452
|
/**
|
|
1403
|
-
*
|
|
1404
|
-
|
|
1405
|
-
* @type {number || null}
|
|
1453
|
+
* Thread ID.
|
|
1454
|
+
* @type {string || null}
|
|
1406
1455
|
*/
|
|
1407
|
-
this.
|
|
1456
|
+
this.ID = null;
|
|
1408
1457
|
|
|
1409
1458
|
/**
|
|
1410
|
-
*
|
|
1459
|
+
* Thread operation account name.
|
|
1411
1460
|
* @type {string || null}
|
|
1412
1461
|
*/
|
|
1413
|
-
this.
|
|
1462
|
+
this.User = null;
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* Thread operation host address.
|
|
1466
|
+
* @type {string || null}
|
|
1467
|
+
*/
|
|
1468
|
+
this.Host = null;
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* Thread operation database.
|
|
1472
|
+
* @type {string || null}
|
|
1473
|
+
*/
|
|
1474
|
+
this.DB = null;
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* Thread operation status.
|
|
1478
|
+
* @type {string || null}
|
|
1479
|
+
*/
|
|
1480
|
+
this.State = null;
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* Thread execution type.
|
|
1484
|
+
* @type {string || null}
|
|
1485
|
+
*/
|
|
1486
|
+
this.Command = null;
|
|
1487
|
+
|
|
1488
|
+
/**
|
|
1489
|
+
* Thread operation duration in seconds.
|
|
1490
|
+
* @type {string || null}
|
|
1491
|
+
*/
|
|
1492
|
+
this.Time = null;
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* Thread operation statement.
|
|
1496
|
+
* @type {string || null}
|
|
1497
|
+
*/
|
|
1498
|
+
this.Info = null;
|
|
1414
1499
|
|
|
1415
1500
|
}
|
|
1416
1501
|
|
|
@@ -1421,8 +1506,14 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1421
1506
|
if (!params) {
|
|
1422
1507
|
return;
|
|
1423
1508
|
}
|
|
1424
|
-
this.
|
|
1425
|
-
this.
|
|
1509
|
+
this.ID = 'ID' in params ? params.ID : null;
|
|
1510
|
+
this.User = 'User' in params ? params.User : null;
|
|
1511
|
+
this.Host = 'Host' in params ? params.Host : null;
|
|
1512
|
+
this.DB = 'DB' in params ? params.DB : null;
|
|
1513
|
+
this.State = 'State' in params ? params.State : null;
|
|
1514
|
+
this.Command = 'Command' in params ? params.Command : null;
|
|
1515
|
+
this.Time = 'Time' in params ? params.Time : null;
|
|
1516
|
+
this.Info = 'Info' in params ? params.Info : null;
|
|
1426
1517
|
|
|
1427
1518
|
}
|
|
1428
1519
|
}
|
|
@@ -1596,60 +1687,25 @@ class DescribeDBDiagHistoryRequest extends AbstractModel {
|
|
|
1596
1687
|
}
|
|
1597
1688
|
|
|
1598
1689
|
/**
|
|
1599
|
-
*
|
|
1690
|
+
* CreateDBDiagReportTask response structure.
|
|
1600
1691
|
* @class
|
|
1601
1692
|
*/
|
|
1602
|
-
class
|
|
1693
|
+
class CreateDBDiagReportTaskResponse extends AbstractModel {
|
|
1603
1694
|
constructor(){
|
|
1604
1695
|
super();
|
|
1605
1696
|
|
|
1606
1697
|
/**
|
|
1607
|
-
*
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
this.ID = null;
|
|
1611
|
-
|
|
1612
|
-
/**
|
|
1613
|
-
* Thread operation account name.
|
|
1614
|
-
* @type {string || null}
|
|
1615
|
-
*/
|
|
1616
|
-
this.User = null;
|
|
1617
|
-
|
|
1618
|
-
/**
|
|
1619
|
-
* Thread operation host address.
|
|
1620
|
-
* @type {string || null}
|
|
1621
|
-
*/
|
|
1622
|
-
this.Host = null;
|
|
1623
|
-
|
|
1624
|
-
/**
|
|
1625
|
-
* Thread operation database.
|
|
1626
|
-
* @type {string || null}
|
|
1627
|
-
*/
|
|
1628
|
-
this.DB = null;
|
|
1629
|
-
|
|
1630
|
-
/**
|
|
1631
|
-
* Thread operation status.
|
|
1632
|
-
* @type {string || null}
|
|
1633
|
-
*/
|
|
1634
|
-
this.State = null;
|
|
1635
|
-
|
|
1636
|
-
/**
|
|
1637
|
-
* Thread execution type.
|
|
1638
|
-
* @type {string || null}
|
|
1639
|
-
*/
|
|
1640
|
-
this.Command = null;
|
|
1641
|
-
|
|
1642
|
-
/**
|
|
1643
|
-
* Thread operation duration in seconds.
|
|
1644
|
-
* @type {string || null}
|
|
1698
|
+
* Async task request ID, which can be used to query the execution result of an async task.
|
|
1699
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1700
|
+
* @type {number || null}
|
|
1645
1701
|
*/
|
|
1646
|
-
this.
|
|
1702
|
+
this.AsyncRequestId = null;
|
|
1647
1703
|
|
|
1648
1704
|
/**
|
|
1649
|
-
*
|
|
1705
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1650
1706
|
* @type {string || null}
|
|
1651
1707
|
*/
|
|
1652
|
-
this.
|
|
1708
|
+
this.RequestId = null;
|
|
1653
1709
|
|
|
1654
1710
|
}
|
|
1655
1711
|
|
|
@@ -1660,14 +1716,8 @@ class MySqlProcess extends AbstractModel {
|
|
|
1660
1716
|
if (!params) {
|
|
1661
1717
|
return;
|
|
1662
1718
|
}
|
|
1663
|
-
this.
|
|
1664
|
-
this.
|
|
1665
|
-
this.Host = 'Host' in params ? params.Host : null;
|
|
1666
|
-
this.DB = 'DB' in params ? params.DB : null;
|
|
1667
|
-
this.State = 'State' in params ? params.State : null;
|
|
1668
|
-
this.Command = 'Command' in params ? params.Command : null;
|
|
1669
|
-
this.Time = 'Time' in params ? params.Time : null;
|
|
1670
|
-
this.Info = 'Info' in params ? params.Info : null;
|
|
1719
|
+
this.AsyncRequestId = 'AsyncRequestId' in params ? params.AsyncRequestId : null;
|
|
1720
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1671
1721
|
|
|
1672
1722
|
}
|
|
1673
1723
|
}
|
|
@@ -3542,7 +3592,7 @@ class DescribeSlowLogTopSqlsRequest extends AbstractModel {
|
|
|
3542
3592
|
this.StartTime = null;
|
|
3543
3593
|
|
|
3544
3594
|
/**
|
|
3545
|
-
* End time
|
|
3595
|
+
* End time in the format of "2019-09-11 10:13:14". The interval between the end time and the start time can be up to 7 days.
|
|
3546
3596
|
* @type {string || null}
|
|
3547
3597
|
*/
|
|
3548
3598
|
this.EndTime = null;
|
|
@@ -4307,6 +4357,69 @@ class DescribeDBSpaceStatusResponse extends AbstractModel {
|
|
|
4307
4357
|
}
|
|
4308
4358
|
}
|
|
4309
4359
|
|
|
4360
|
+
/**
|
|
4361
|
+
* DescribeDBDiagEvents request structure.
|
|
4362
|
+
* @class
|
|
4363
|
+
*/
|
|
4364
|
+
class DescribeDBDiagEventsRequest extends AbstractModel {
|
|
4365
|
+
constructor(){
|
|
4366
|
+
super();
|
|
4367
|
+
|
|
4368
|
+
/**
|
|
4369
|
+
* Start time in the format of “2021-05-27 00:00:00”. The earliest time that can be queried is 30 days before the current time.
|
|
4370
|
+
* @type {string || null}
|
|
4371
|
+
*/
|
|
4372
|
+
this.StartTime = null;
|
|
4373
|
+
|
|
4374
|
+
/**
|
|
4375
|
+
* End time in the format of "2021-05-27 01:00:00". The interval between the end time and the start time can be up to 7 days.
|
|
4376
|
+
* @type {string || null}
|
|
4377
|
+
*/
|
|
4378
|
+
this.EndTime = null;
|
|
4379
|
+
|
|
4380
|
+
/**
|
|
4381
|
+
* Risk level list. Valid values in descending order of severity: `1` (critical), `2` (serious), `3` (alarm), `4` (warning), `5` (healthy).
|
|
4382
|
+
* @type {Array.<number> || null}
|
|
4383
|
+
*/
|
|
4384
|
+
this.Severities = null;
|
|
4385
|
+
|
|
4386
|
+
/**
|
|
4387
|
+
* Instance ID list.
|
|
4388
|
+
* @type {Array.<string> || null}
|
|
4389
|
+
*/
|
|
4390
|
+
this.InstanceIds = null;
|
|
4391
|
+
|
|
4392
|
+
/**
|
|
4393
|
+
* Offset. Default value: 0.
|
|
4394
|
+
* @type {number || null}
|
|
4395
|
+
*/
|
|
4396
|
+
this.Offset = null;
|
|
4397
|
+
|
|
4398
|
+
/**
|
|
4399
|
+
* Number of returned results. Default value: 20. Maximum value: 50.
|
|
4400
|
+
* @type {number || null}
|
|
4401
|
+
*/
|
|
4402
|
+
this.Limit = null;
|
|
4403
|
+
|
|
4404
|
+
}
|
|
4405
|
+
|
|
4406
|
+
/**
|
|
4407
|
+
* @private
|
|
4408
|
+
*/
|
|
4409
|
+
deserialize(params) {
|
|
4410
|
+
if (!params) {
|
|
4411
|
+
return;
|
|
4412
|
+
}
|
|
4413
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
4414
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
4415
|
+
this.Severities = 'Severities' in params ? params.Severities : null;
|
|
4416
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
4417
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4418
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4419
|
+
|
|
4420
|
+
}
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4310
4423
|
/**
|
|
4311
4424
|
* Describes the group information.
|
|
4312
4425
|
* @class
|
|
@@ -5010,6 +5123,7 @@ module.exports = {
|
|
|
5010
5123
|
InstanceConfs: InstanceConfs,
|
|
5011
5124
|
CreateSecurityAuditLogExportTaskRequest: CreateSecurityAuditLogExportTaskRequest,
|
|
5012
5125
|
DescribeDBDiagEventResponse: DescribeDBDiagEventResponse,
|
|
5126
|
+
DescribeDBDiagEventsResponse: DescribeDBDiagEventsResponse,
|
|
5013
5127
|
DescribeDBDiagReportTasksResponse: DescribeDBDiagReportTasksResponse,
|
|
5014
5128
|
AddUserContactResponse: AddUserContactResponse,
|
|
5015
5129
|
ModifyDiagDBInstanceConfResponse: ModifyDiagDBInstanceConfResponse,
|
|
@@ -5025,12 +5139,12 @@ module.exports = {
|
|
|
5025
5139
|
TimeSlice: TimeSlice,
|
|
5026
5140
|
ModifyDiagDBInstanceConfRequest: ModifyDiagDBInstanceConfRequest,
|
|
5027
5141
|
DescribeSecurityAuditLogDownloadUrlsRequest: DescribeSecurityAuditLogDownloadUrlsRequest,
|
|
5028
|
-
|
|
5142
|
+
MySqlProcess: MySqlProcess,
|
|
5029
5143
|
CreateMailProfileResponse: CreateMailProfileResponse,
|
|
5030
5144
|
DescribeSlowLogTimeSeriesStatsRequest: DescribeSlowLogTimeSeriesStatsRequest,
|
|
5031
5145
|
CreateDBDiagReportUrlResponse: CreateDBDiagReportUrlResponse,
|
|
5032
5146
|
DescribeDBDiagHistoryRequest: DescribeDBDiagHistoryRequest,
|
|
5033
|
-
|
|
5147
|
+
CreateDBDiagReportTaskResponse: CreateDBDiagReportTaskResponse,
|
|
5034
5148
|
DiagHistoryEventItem: DiagHistoryEventItem,
|
|
5035
5149
|
SlowLogHost: SlowLogHost,
|
|
5036
5150
|
CreateMailProfileRequest: CreateMailProfileRequest,
|
|
@@ -5077,6 +5191,7 @@ module.exports = {
|
|
|
5077
5191
|
DescribeAllUserGroupResponse: DescribeAllUserGroupResponse,
|
|
5078
5192
|
DescribeUserSqlAdviceResponse: DescribeUserSqlAdviceResponse,
|
|
5079
5193
|
DescribeDBSpaceStatusResponse: DescribeDBSpaceStatusResponse,
|
|
5194
|
+
DescribeDBDiagEventsRequest: DescribeDBDiagEventsRequest,
|
|
5080
5195
|
GroupItem: GroupItem,
|
|
5081
5196
|
DescribeTopSpaceTableTimeSeriesRequest: DescribeTopSpaceTableTimeSeriesRequest,
|
|
5082
5197
|
DescribeDBDiagReportTasksRequest: DescribeDBDiagReportTasksRequest,
|