tencentcloud-sdk-nodejs-intl-en 3.0.1453 → 3.0.1455
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/cfw/v20190904/cfw_client.js +28 -79
- package/tencentcloud/cfw/v20190904/models.js +423 -672
- package/tencentcloud/ciam/index.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/config/v20220802/config_client.js +838 -27
- package/tencentcloud/config/v20220802/models.js +7708 -722
- package/tencentcloud/csip/v20221121/csip_client.js +902 -243
- package/tencentcloud/csip/v20221121/models.js +9490 -2605
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +25 -8
- package/tencentcloud/cynosdb/v20190107/models.js +853 -288
- package/tencentcloud/dbbrain/index.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +18 -2
- package/tencentcloud/dbbrain/v20210527/models.js +859 -35
- package/tencentcloud/dts/index.js +1 -1
- package/tencentcloud/es/index.js +1 -1
- package/tencentcloud/faceid/v20180301/models.js +2 -3
- package/tencentcloud/mna/v20210119/mna_client.js +32 -18
- package/tencentcloud/mna/v20210119/models.js +137 -0
- package/tencentcloud/redis/v20180412/models.js +564 -173
- package/tencentcloud/redis/v20180412/redis_client.js +89 -24
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/teo/index.js +1 -1
- package/tencentcloud/vod/index.js +1 -1
- package/tencentcloud/vod/v20180717/models.js +3 -3
- package/tencentcloud/wedata/index.js +1 -1
|
@@ -1272,6 +1272,265 @@ class SlowLogTopSqlItem extends AbstractModel {
|
|
|
1272
1272
|
}
|
|
1273
1273
|
}
|
|
1274
1274
|
|
|
1275
|
+
/**
|
|
1276
|
+
* A single audit log detail at the proxy layer. The fields are output by DruidCommonUtil#changeLogsTdsqlProxy and BusinessCodeUtils.
|
|
1277
|
+
* @class
|
|
1278
|
+
*/
|
|
1279
|
+
class AuditProxyLogItem extends AbstractModel {
|
|
1280
|
+
constructor(){
|
|
1281
|
+
super();
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* <p>Time point of SQL execution (format string, yyyy-MM-dd HH:mm:ss).</p>
|
|
1285
|
+
* @type {string || null}
|
|
1286
|
+
*/
|
|
1287
|
+
this.Timestamp = null;
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* <p>Cluster ID (dcdb/mariadb cluster identifier, same as InstanceId).</p>
|
|
1291
|
+
* @type {string || null}
|
|
1292
|
+
*/
|
|
1293
|
+
this.ClusterId = null;
|
|
1294
|
+
|
|
1295
|
+
/**
|
|
1296
|
+
* <p>Number of affected rows.</p>
|
|
1297
|
+
* @type {number || null}
|
|
1298
|
+
*/
|
|
1299
|
+
this.AffectRows = null;
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* <p>Whether to autocommit. 1 means enabling, and 0 means disabling.</p>
|
|
1303
|
+
* @type {string || null}
|
|
1304
|
+
*/
|
|
1305
|
+
this.Autocommit = null;
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* <p>MySQL network protocol command types (such as COM_QUERY and COM_CONNECT).</p>
|
|
1309
|
+
* @type {string || null}
|
|
1310
|
+
*/
|
|
1311
|
+
this.ComType = null;
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* <p>Duration of creating a connection.</p>
|
|
1315
|
+
* @type {number || null}
|
|
1316
|
+
*/
|
|
1317
|
+
this.ConnTc = null;
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* <p>Backend DB instance address (multiple entries are separated by commas).</p>
|
|
1321
|
+
* @type {string || null}
|
|
1322
|
+
*/
|
|
1323
|
+
this.DBHost = null;
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* <p>Database name where the SQL is executed.</p>
|
|
1327
|
+
* @type {string || null}
|
|
1328
|
+
*/
|
|
1329
|
+
this.DBName = null;
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* <p>Error code returned by SQL execution. 0 indicates success.</p>
|
|
1333
|
+
* @type {string || null}
|
|
1334
|
+
*/
|
|
1335
|
+
this.ErrCode = null;
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* <p>Error message.</p>
|
|
1339
|
+
* @type {string || null}
|
|
1340
|
+
*/
|
|
1341
|
+
this.ErrInfo = null;
|
|
1342
|
+
|
|
1343
|
+
/**
|
|
1344
|
+
* <p>SQL execution time (µs).</p>
|
|
1345
|
+
* @type {number || null}
|
|
1346
|
+
*/
|
|
1347
|
+
this.ExecTime = null;
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* <p>Number of connections still occupied after request ends (typically 0 for non-transaction requests).</p>
|
|
1351
|
+
* @type {string || null}
|
|
1352
|
+
*/
|
|
1353
|
+
this.HoldConns = null;
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* <p>Client source IP.</p>
|
|
1357
|
+
* @type {string || null}
|
|
1358
|
+
*/
|
|
1359
|
+
this.Host = null;
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* <p>Whether to enable global consistency read (0: no, 1: yes).</p>
|
|
1363
|
+
* @type {string || null}
|
|
1364
|
+
*/
|
|
1365
|
+
this.Mc = null;
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* <p>SQL start time (microsecond portion in microsecond precision).</p>
|
|
1369
|
+
* @type {number || null}
|
|
1370
|
+
*/
|
|
1371
|
+
this.SqlStartTimeUs = null;
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* <p>Number of connections created in the current request.</p>
|
|
1375
|
+
* @type {number || null}
|
|
1376
|
+
*/
|
|
1377
|
+
this.NewConnNum = null;
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* <p>Proxy node address.</p>
|
|
1381
|
+
* @type {string || null}
|
|
1382
|
+
*/
|
|
1383
|
+
this.ProxyHost = null;
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* <p>Proxy ID.</p>
|
|
1387
|
+
* @type {string || null}
|
|
1388
|
+
*/
|
|
1389
|
+
this.ProxyId = null;
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* <p>Query ID (used for join queries).</p>
|
|
1393
|
+
* @type {string || null}
|
|
1394
|
+
*/
|
|
1395
|
+
this.QueryId = null;
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* <p>Number of rows returned (rows in the scanning result set).</p>
|
|
1399
|
+
* @type {number || null}
|
|
1400
|
+
*/
|
|
1401
|
+
this.SentRows = null;
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* <p>Whether it is a query rewritten by Proxy: 0 original query, 1 rewritten query.</p>
|
|
1405
|
+
* @type {number || null}
|
|
1406
|
+
*/
|
|
1407
|
+
this.Splited = null;
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* <p>Original executed SQL statement.</p>
|
|
1411
|
+
* @type {string || null}
|
|
1412
|
+
*/
|
|
1413
|
+
this.Sql = null;
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* <p>SQL template.</p>
|
|
1417
|
+
* @type {string || null}
|
|
1418
|
+
*/
|
|
1419
|
+
this.SqlTemplate = null;
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* <p>SQL Template ID.</p>
|
|
1423
|
+
* @type {string || null}
|
|
1424
|
+
*/
|
|
1425
|
+
this.SqlTemplateId = null;
|
|
1426
|
+
|
|
1427
|
+
/**
|
|
1428
|
+
* <p>SQL type (for example, Select, Insert, Create, Login, Set).</p>
|
|
1429
|
+
* @type {string || null}
|
|
1430
|
+
*/
|
|
1431
|
+
this.SqlType = null;
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* <p>Tables involved (separated by commas for multiple tables).</p>
|
|
1435
|
+
* @type {string || null}
|
|
1436
|
+
*/
|
|
1437
|
+
this.Tables = null;
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* <p>Thread ID.</p>
|
|
1441
|
+
* @type {string || null}
|
|
1442
|
+
*/
|
|
1443
|
+
this.ThreadId = null;
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* <p>SQL start time (millisecond-level timestamp).</p>
|
|
1447
|
+
* @type {number || null}
|
|
1448
|
+
*/
|
|
1449
|
+
this.SqlStartTime = null;
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* <p>Database username that executes the SQL.</p>
|
|
1453
|
+
* @type {string || null}
|
|
1454
|
+
*/
|
|
1455
|
+
this.User = null;
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* <p>HostPort of the client connection.</p>
|
|
1459
|
+
* @type {string || null}
|
|
1460
|
+
*/
|
|
1461
|
+
this.HostPort = null;
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* <p>Proxy Node processing thread ID.</p>
|
|
1465
|
+
* @type {string || null}
|
|
1466
|
+
*/
|
|
1467
|
+
this.ProxyThread = null;
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* <p>Number of backend DB hosts.</p>
|
|
1471
|
+
* @type {string || null}
|
|
1472
|
+
*/
|
|
1473
|
+
this.DbHostNum = null;
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* <p>Business code (extracted from i/o/p and other KV in business-side SQL annotations).</p>
|
|
1477
|
+
* @type {string || null}
|
|
1478
|
+
*/
|
|
1479
|
+
this.BusinessCode = null;
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* <p>Business tag (completed post based on the business code).</p>
|
|
1483
|
+
* @type {string || null}
|
|
1484
|
+
*/
|
|
1485
|
+
this.BusinessTag = null;
|
|
1486
|
+
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* @private
|
|
1491
|
+
*/
|
|
1492
|
+
deserialize(params) {
|
|
1493
|
+
if (!params) {
|
|
1494
|
+
return;
|
|
1495
|
+
}
|
|
1496
|
+
this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
|
|
1497
|
+
this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
|
|
1498
|
+
this.AffectRows = 'AffectRows' in params ? params.AffectRows : null;
|
|
1499
|
+
this.Autocommit = 'Autocommit' in params ? params.Autocommit : null;
|
|
1500
|
+
this.ComType = 'ComType' in params ? params.ComType : null;
|
|
1501
|
+
this.ConnTc = 'ConnTc' in params ? params.ConnTc : null;
|
|
1502
|
+
this.DBHost = 'DBHost' in params ? params.DBHost : null;
|
|
1503
|
+
this.DBName = 'DBName' in params ? params.DBName : null;
|
|
1504
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
1505
|
+
this.ErrInfo = 'ErrInfo' in params ? params.ErrInfo : null;
|
|
1506
|
+
this.ExecTime = 'ExecTime' in params ? params.ExecTime : null;
|
|
1507
|
+
this.HoldConns = 'HoldConns' in params ? params.HoldConns : null;
|
|
1508
|
+
this.Host = 'Host' in params ? params.Host : null;
|
|
1509
|
+
this.Mc = 'Mc' in params ? params.Mc : null;
|
|
1510
|
+
this.SqlStartTimeUs = 'SqlStartTimeUs' in params ? params.SqlStartTimeUs : null;
|
|
1511
|
+
this.NewConnNum = 'NewConnNum' in params ? params.NewConnNum : null;
|
|
1512
|
+
this.ProxyHost = 'ProxyHost' in params ? params.ProxyHost : null;
|
|
1513
|
+
this.ProxyId = 'ProxyId' in params ? params.ProxyId : null;
|
|
1514
|
+
this.QueryId = 'QueryId' in params ? params.QueryId : null;
|
|
1515
|
+
this.SentRows = 'SentRows' in params ? params.SentRows : null;
|
|
1516
|
+
this.Splited = 'Splited' in params ? params.Splited : null;
|
|
1517
|
+
this.Sql = 'Sql' in params ? params.Sql : null;
|
|
1518
|
+
this.SqlTemplate = 'SqlTemplate' in params ? params.SqlTemplate : null;
|
|
1519
|
+
this.SqlTemplateId = 'SqlTemplateId' in params ? params.SqlTemplateId : null;
|
|
1520
|
+
this.SqlType = 'SqlType' in params ? params.SqlType : null;
|
|
1521
|
+
this.Tables = 'Tables' in params ? params.Tables : null;
|
|
1522
|
+
this.ThreadId = 'ThreadId' in params ? params.ThreadId : null;
|
|
1523
|
+
this.SqlStartTime = 'SqlStartTime' in params ? params.SqlStartTime : null;
|
|
1524
|
+
this.User = 'User' in params ? params.User : null;
|
|
1525
|
+
this.HostPort = 'HostPort' in params ? params.HostPort : null;
|
|
1526
|
+
this.ProxyThread = 'ProxyThread' in params ? params.ProxyThread : null;
|
|
1527
|
+
this.DbHostNum = 'DbHostNum' in params ? params.DbHostNum : null;
|
|
1528
|
+
this.BusinessCode = 'BusinessCode' in params ? params.BusinessCode : null;
|
|
1529
|
+
this.BusinessTag = 'BusinessTag' in params ? params.BusinessTag : null;
|
|
1530
|
+
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1275
1534
|
/**
|
|
1276
1535
|
* DescribeAuditInstanceList response structure.
|
|
1277
1536
|
* @class
|
|
@@ -1558,6 +1817,116 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1558
1817
|
}
|
|
1559
1818
|
}
|
|
1560
1819
|
|
|
1820
|
+
/**
|
|
1821
|
+
* DescribeDBAuditLogs request structure.
|
|
1822
|
+
* @class
|
|
1823
|
+
*/
|
|
1824
|
+
class DescribeDBAuditLogsRequest extends AbstractModel {
|
|
1825
|
+
constructor(){
|
|
1826
|
+
super();
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* <p>Service product type. Currently, Cloud API only supports: dcdb, mariadb (cdb and cynosdb have been migrated to the central platform).</p>
|
|
1830
|
+
* @type {string || null}
|
|
1831
|
+
*/
|
|
1832
|
+
this.Product = null;
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* <p>Start time, format yyyy-MM-dd HH:mm:ss.</p>
|
|
1836
|
+
* @type {string || null}
|
|
1837
|
+
*/
|
|
1838
|
+
this.StartTime = null;
|
|
1839
|
+
|
|
1840
|
+
/**
|
|
1841
|
+
* <p>End time, format: yyyy-MM-dd HH:mm:ss.</p>
|
|
1842
|
+
* @type {string || null}
|
|
1843
|
+
*/
|
|
1844
|
+
this.EndTime = null;
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* <p>Instance ID, required. In dcdb and mariadb scenarios, query audit logs by instance dimension.</p>
|
|
1848
|
+
* @type {string || null}
|
|
1849
|
+
*/
|
|
1850
|
+
this.InstanceId = null;
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* <p>Log type: Proxy log, DB database log, All.</p>
|
|
1854
|
+
* @type {string || null}
|
|
1855
|
+
*/
|
|
1856
|
+
this.LogType = null;
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* <p>Sorting field. Default: Timestamp.</p>
|
|
1860
|
+
* @type {string || null}
|
|
1861
|
+
*/
|
|
1862
|
+
this.SortBy = null;
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* <p>Sorting method: ASC for ascending order, DESC for descending order. Default: DESC.</p>
|
|
1866
|
+
* @type {string || null}
|
|
1867
|
+
*/
|
|
1868
|
+
this.OrderBy = null;
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* <p>Offset. Default value: 0.</p>
|
|
1872
|
+
* @type {number || null}
|
|
1873
|
+
*/
|
|
1874
|
+
this.Offset = null;
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* <p>Number of returned results. Default: 20. Maximum: 100.</p>
|
|
1878
|
+
* @type {number || null}
|
|
1879
|
+
*/
|
|
1880
|
+
this.Limit = null;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* <p>SQL start time (millisecond-level timestamp), used when performing a join query by QueryId.</p>
|
|
1884
|
+
* @type {number || null}
|
|
1885
|
+
*/
|
|
1886
|
+
this.SqlStartTime = null;
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* <p>A collection of query filter criteria for audit logs.</p>
|
|
1890
|
+
* @type {AuditLogQueryFilter || null}
|
|
1891
|
+
*/
|
|
1892
|
+
this.Filter = null;
|
|
1893
|
+
|
|
1894
|
+
/**
|
|
1895
|
+
* <p>Cluster ID. Query audit logs for the dcdb product at the cluster level</p>
|
|
1896
|
+
* @type {string || null}
|
|
1897
|
+
*/
|
|
1898
|
+
this.ClusterId = null;
|
|
1899
|
+
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* @private
|
|
1904
|
+
*/
|
|
1905
|
+
deserialize(params) {
|
|
1906
|
+
if (!params) {
|
|
1907
|
+
return;
|
|
1908
|
+
}
|
|
1909
|
+
this.Product = 'Product' in params ? params.Product : null;
|
|
1910
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1911
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1912
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1913
|
+
this.LogType = 'LogType' in params ? params.LogType : null;
|
|
1914
|
+
this.SortBy = 'SortBy' in params ? params.SortBy : null;
|
|
1915
|
+
this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
|
|
1916
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1917
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1918
|
+
this.SqlStartTime = 'SqlStartTime' in params ? params.SqlStartTime : null;
|
|
1919
|
+
|
|
1920
|
+
if (params.Filter) {
|
|
1921
|
+
let obj = new AuditLogQueryFilter();
|
|
1922
|
+
obj.deserialize(params.Filter)
|
|
1923
|
+
this.Filter = obj;
|
|
1924
|
+
}
|
|
1925
|
+
this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
|
|
1926
|
+
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1561
1930
|
/**
|
|
1562
1931
|
* DescribeTopSpaceTables response structure.
|
|
1563
1932
|
* @class
|
|
@@ -2076,30 +2445,126 @@ class DescribeSlowLogsResponse extends AbstractModel {
|
|
|
2076
2445
|
}
|
|
2077
2446
|
|
|
2078
2447
|
/**
|
|
2079
|
-
*
|
|
2448
|
+
* Collection of query filter criteria for audit logs. All fields are selectable. Note: MultiSql and ExcludeMultiSql carry a two-dimensional array as a JSON string (the cloud API platform does not support two-dimensional arrays). For example, [[a,b]] means (a OR b).
|
|
2080
2449
|
* @class
|
|
2081
2450
|
*/
|
|
2082
|
-
class
|
|
2451
|
+
class AuditLogQueryFilter extends AbstractModel {
|
|
2083
2452
|
constructor(){
|
|
2084
2453
|
super();
|
|
2085
2454
|
|
|
2086
2455
|
/**
|
|
2087
|
-
*
|
|
2456
|
+
* <p>SQL type list, with values such as SELECT, INSERT, UPDATE, and DELETE.</p>
|
|
2457
|
+
* @type {Array.<string> || null}
|
|
2458
|
+
*/
|
|
2459
|
+
this.SqlType = null;
|
|
2460
|
+
|
|
2461
|
+
/**
|
|
2462
|
+
* <p>Execution duration range (ms), an array of length 2: [minimum value, maximum value].</p>
|
|
2463
|
+
* @type {Array.<number> || null}
|
|
2464
|
+
*/
|
|
2465
|
+
this.ExecTime = null;
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* <p>IO waiting duration range (ms), an array with a length of 2.</p>
|
|
2469
|
+
* @type {Array.<number> || null}
|
|
2470
|
+
*/
|
|
2471
|
+
this.IoWaitTime = null;
|
|
2472
|
+
|
|
2473
|
+
/**
|
|
2474
|
+
* <p>CPU duration range (ms), an array of length 2.</p>
|
|
2475
|
+
* @type {Array.<number> || null}
|
|
2476
|
+
*/
|
|
2477
|
+
this.CpuTime = null;
|
|
2478
|
+
|
|
2479
|
+
/**
|
|
2480
|
+
* <p>Lock wait time range (ms), an array with a length of 2.</p>
|
|
2481
|
+
* @type {Array.<number> || null}
|
|
2482
|
+
*/
|
|
2483
|
+
this.LockWaitTime = null;
|
|
2484
|
+
|
|
2485
|
+
/**
|
|
2486
|
+
* <p>SQL execution error code. For example, 0 indicates success.</p>
|
|
2088
2487
|
* @type {string || null}
|
|
2089
2488
|
*/
|
|
2090
|
-
this.
|
|
2489
|
+
this.ErrCode = null;
|
|
2091
2490
|
|
|
2092
2491
|
/**
|
|
2093
|
-
*
|
|
2094
|
-
* @type {
|
|
2492
|
+
* <p>Error message.</p>
|
|
2493
|
+
* @type {string || null}
|
|
2095
2494
|
*/
|
|
2096
|
-
this.
|
|
2495
|
+
this.ErrInfo = null;
|
|
2097
2496
|
|
|
2098
2497
|
/**
|
|
2099
|
-
*
|
|
2498
|
+
* <p>Database name list.</p>
|
|
2499
|
+
* @type {Array.<string> || null}
|
|
2500
|
+
*/
|
|
2501
|
+
this.DBName = null;
|
|
2502
|
+
|
|
2503
|
+
/**
|
|
2504
|
+
* <p>Username list.</p>
|
|
2505
|
+
* @type {Array.<string> || null}
|
|
2506
|
+
*/
|
|
2507
|
+
this.User = null;
|
|
2508
|
+
|
|
2509
|
+
/**
|
|
2510
|
+
* <p>Source IP list.</p>
|
|
2511
|
+
* @type {Array.<string> || null}
|
|
2512
|
+
*/
|
|
2513
|
+
this.Host = null;
|
|
2514
|
+
|
|
2515
|
+
/**
|
|
2516
|
+
* <p>List of thread IDs.</p>
|
|
2517
|
+
* @type {Array.<string> || null}
|
|
2518
|
+
*/
|
|
2519
|
+
this.ThreadId = null;
|
|
2520
|
+
|
|
2521
|
+
/**
|
|
2522
|
+
* <p>List of proxy node hosts.</p>
|
|
2523
|
+
* @type {Array.<string> || null}
|
|
2524
|
+
*/
|
|
2525
|
+
this.ProxyHostList = null;
|
|
2526
|
+
|
|
2527
|
+
/**
|
|
2528
|
+
* <p>Backend Set Host list.</p>
|
|
2529
|
+
* @type {Array.<string> || null}
|
|
2530
|
+
*/
|
|
2531
|
+
this.SetHostList = null;
|
|
2532
|
+
|
|
2533
|
+
/**
|
|
2534
|
+
* <p>Backend Set ID list.</p>
|
|
2535
|
+
* @type {Array.<string> || null}
|
|
2536
|
+
*/
|
|
2537
|
+
this.SetIdList = null;
|
|
2538
|
+
|
|
2539
|
+
/**
|
|
2540
|
+
* <p>Multiple SQL keyword conditions, JSON string, internally a two-dimensional array: level 1 is AND, the second level is OR. Note that the cloud API platform does not support two-dimensional arrays. Here, a string is used to carry it, and the server automatically parses it.</p>
|
|
2100
2541
|
* @type {string || null}
|
|
2101
2542
|
*/
|
|
2102
|
-
this.
|
|
2543
|
+
this.MultiSql = null;
|
|
2544
|
+
|
|
2545
|
+
/**
|
|
2546
|
+
* <p>Excluded multiple SQL keyword conditions, JSON string, with the same structure as MultiSql.</p>
|
|
2547
|
+
* @type {string || null}
|
|
2548
|
+
*/
|
|
2549
|
+
this.ExcludeMultiSql = null;
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
* <p>SQL Template ID.</p>
|
|
2553
|
+
* @type {string || null}
|
|
2554
|
+
*/
|
|
2555
|
+
this.SqlTemplateId = null;
|
|
2556
|
+
|
|
2557
|
+
/**
|
|
2558
|
+
* <p>SQL start time, for example: 2026-10-10 11:05:06.002211</p><p>Parameter format: YYYY-MM-DD hh:mm:ss.SSSSSS</p>
|
|
2559
|
+
* @type {string || null}
|
|
2560
|
+
*/
|
|
2561
|
+
this.SqlStartTime = null;
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* <p>Query ID, used for join queries (required when LogType=All).</p>
|
|
2565
|
+
* @type {string || null}
|
|
2566
|
+
*/
|
|
2567
|
+
this.QueryId = null;
|
|
2103
2568
|
|
|
2104
2569
|
}
|
|
2105
2570
|
|
|
@@ -2110,9 +2575,25 @@ class DescribeSecurityAuditLogDownloadUrlsRequest extends AbstractModel {
|
|
|
2110
2575
|
if (!params) {
|
|
2111
2576
|
return;
|
|
2112
2577
|
}
|
|
2113
|
-
this.
|
|
2114
|
-
this.
|
|
2115
|
-
this.
|
|
2578
|
+
this.SqlType = 'SqlType' in params ? params.SqlType : null;
|
|
2579
|
+
this.ExecTime = 'ExecTime' in params ? params.ExecTime : null;
|
|
2580
|
+
this.IoWaitTime = 'IoWaitTime' in params ? params.IoWaitTime : null;
|
|
2581
|
+
this.CpuTime = 'CpuTime' in params ? params.CpuTime : null;
|
|
2582
|
+
this.LockWaitTime = 'LockWaitTime' in params ? params.LockWaitTime : null;
|
|
2583
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
2584
|
+
this.ErrInfo = 'ErrInfo' in params ? params.ErrInfo : null;
|
|
2585
|
+
this.DBName = 'DBName' in params ? params.DBName : null;
|
|
2586
|
+
this.User = 'User' in params ? params.User : null;
|
|
2587
|
+
this.Host = 'Host' in params ? params.Host : null;
|
|
2588
|
+
this.ThreadId = 'ThreadId' in params ? params.ThreadId : null;
|
|
2589
|
+
this.ProxyHostList = 'ProxyHostList' in params ? params.ProxyHostList : null;
|
|
2590
|
+
this.SetHostList = 'SetHostList' in params ? params.SetHostList : null;
|
|
2591
|
+
this.SetIdList = 'SetIdList' in params ? params.SetIdList : null;
|
|
2592
|
+
this.MultiSql = 'MultiSql' in params ? params.MultiSql : null;
|
|
2593
|
+
this.ExcludeMultiSql = 'ExcludeMultiSql' in params ? params.ExcludeMultiSql : null;
|
|
2594
|
+
this.SqlTemplateId = 'SqlTemplateId' in params ? params.SqlTemplateId : null;
|
|
2595
|
+
this.SqlStartTime = 'SqlStartTime' in params ? params.SqlStartTime : null;
|
|
2596
|
+
this.QueryId = 'QueryId' in params ? params.QueryId : null;
|
|
2116
2597
|
|
|
2117
2598
|
}
|
|
2118
2599
|
}
|
|
@@ -2197,25 +2678,65 @@ class ProcessStatistic extends AbstractModel {
|
|
|
2197
2678
|
this.Items.push(obj);
|
|
2198
2679
|
}
|
|
2199
2680
|
}
|
|
2200
|
-
this.AllConnSum = 'AllConnSum' in params ? params.AllConnSum : null;
|
|
2201
|
-
this.ActiveConnSum = 'ActiveConnSum' in params ? params.ActiveConnSum : null;
|
|
2681
|
+
this.AllConnSum = 'AllConnSum' in params ? params.AllConnSum : null;
|
|
2682
|
+
this.ActiveConnSum = 'ActiveConnSum' in params ? params.ActiveConnSum : null;
|
|
2683
|
+
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
/**
|
|
2688
|
+
* CreateMailProfile response structure.
|
|
2689
|
+
* @class
|
|
2690
|
+
*/
|
|
2691
|
+
class CreateMailProfileResponse extends AbstractModel {
|
|
2692
|
+
constructor(){
|
|
2693
|
+
super();
|
|
2694
|
+
|
|
2695
|
+
/**
|
|
2696
|
+
* 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.
|
|
2697
|
+
* @type {string || null}
|
|
2698
|
+
*/
|
|
2699
|
+
this.RequestId = null;
|
|
2700
|
+
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
/**
|
|
2704
|
+
* @private
|
|
2705
|
+
*/
|
|
2706
|
+
deserialize(params) {
|
|
2707
|
+
if (!params) {
|
|
2708
|
+
return;
|
|
2709
|
+
}
|
|
2710
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2202
2711
|
|
|
2203
2712
|
}
|
|
2204
2713
|
}
|
|
2205
2714
|
|
|
2206
2715
|
/**
|
|
2207
|
-
*
|
|
2716
|
+
* Describes the group information.
|
|
2208
2717
|
* @class
|
|
2209
2718
|
*/
|
|
2210
|
-
class
|
|
2719
|
+
class GroupItem extends AbstractModel {
|
|
2211
2720
|
constructor(){
|
|
2212
2721
|
super();
|
|
2213
2722
|
|
|
2214
2723
|
/**
|
|
2215
|
-
*
|
|
2724
|
+
* Group ID.
|
|
2725
|
+
* @type {number || null}
|
|
2726
|
+
*/
|
|
2727
|
+
this.Id = null;
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* Group name.
|
|
2216
2731
|
* @type {string || null}
|
|
2217
2732
|
*/
|
|
2218
|
-
this.
|
|
2733
|
+
this.Name = null;
|
|
2734
|
+
|
|
2735
|
+
/**
|
|
2736
|
+
* Number of group members.
|
|
2737
|
+
* @type {number || null}
|
|
2738
|
+
*/
|
|
2739
|
+
this.MemberCount = null;
|
|
2219
2740
|
|
|
2220
2741
|
}
|
|
2221
2742
|
|
|
@@ -2226,7 +2747,9 @@ class CreateMailProfileResponse extends AbstractModel {
|
|
|
2226
2747
|
if (!params) {
|
|
2227
2748
|
return;
|
|
2228
2749
|
}
|
|
2229
|
-
this.
|
|
2750
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
2751
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
2752
|
+
this.MemberCount = 'MemberCount' in params ? params.MemberCount : null;
|
|
2230
2753
|
|
|
2231
2754
|
}
|
|
2232
2755
|
}
|
|
@@ -4332,6 +4855,78 @@ class InstanceBasicInfo extends AbstractModel {
|
|
|
4332
4855
|
}
|
|
4333
4856
|
}
|
|
4334
4857
|
|
|
4858
|
+
/**
|
|
4859
|
+
* DescribeDBAuditLogs response structure.
|
|
4860
|
+
* @class
|
|
4861
|
+
*/
|
|
4862
|
+
class DescribeDBAuditLogsResponse extends AbstractModel {
|
|
4863
|
+
constructor(){
|
|
4864
|
+
super();
|
|
4865
|
+
|
|
4866
|
+
/**
|
|
4867
|
+
* <p>Total number of eligible entries.</p>
|
|
4868
|
+
* @type {number || null}
|
|
4869
|
+
*/
|
|
4870
|
+
this.TotalCount = null;
|
|
4871
|
+
|
|
4872
|
+
/**
|
|
4873
|
+
* <p>Number of records after filtering.</p>
|
|
4874
|
+
* @type {number || null}
|
|
4875
|
+
*/
|
|
4876
|
+
this.FilteredRecords = null;
|
|
4877
|
+
|
|
4878
|
+
/**
|
|
4879
|
+
* <p>Proxy layer audit log list. Returned when LogType=Proxy or All. For field structure, see AuditProxyLogItem.</p>
|
|
4880
|
+
* @type {Array.<AuditProxyLogItem> || null}
|
|
4881
|
+
*/
|
|
4882
|
+
this.ProxyLogs = null;
|
|
4883
|
+
|
|
4884
|
+
/**
|
|
4885
|
+
* <p>DB layer audit log list. Returned when LogType is DB or All. For the field structure, see AuditDBLogItem.</p>
|
|
4886
|
+
* @type {Array.<AuditDBLogItem> || null}
|
|
4887
|
+
*/
|
|
4888
|
+
this.DBLogs = null;
|
|
4889
|
+
|
|
4890
|
+
/**
|
|
4891
|
+
* 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.
|
|
4892
|
+
* @type {string || null}
|
|
4893
|
+
*/
|
|
4894
|
+
this.RequestId = null;
|
|
4895
|
+
|
|
4896
|
+
}
|
|
4897
|
+
|
|
4898
|
+
/**
|
|
4899
|
+
* @private
|
|
4900
|
+
*/
|
|
4901
|
+
deserialize(params) {
|
|
4902
|
+
if (!params) {
|
|
4903
|
+
return;
|
|
4904
|
+
}
|
|
4905
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
4906
|
+
this.FilteredRecords = 'FilteredRecords' in params ? params.FilteredRecords : null;
|
|
4907
|
+
|
|
4908
|
+
if (params.ProxyLogs) {
|
|
4909
|
+
this.ProxyLogs = new Array();
|
|
4910
|
+
for (let z in params.ProxyLogs) {
|
|
4911
|
+
let obj = new AuditProxyLogItem();
|
|
4912
|
+
obj.deserialize(params.ProxyLogs[z]);
|
|
4913
|
+
this.ProxyLogs.push(obj);
|
|
4914
|
+
}
|
|
4915
|
+
}
|
|
4916
|
+
|
|
4917
|
+
if (params.DBLogs) {
|
|
4918
|
+
this.DBLogs = new Array();
|
|
4919
|
+
for (let z in params.DBLogs) {
|
|
4920
|
+
let obj = new AuditDBLogItem();
|
|
4921
|
+
obj.deserialize(params.DBLogs[z]);
|
|
4922
|
+
this.DBLogs.push(obj);
|
|
4923
|
+
}
|
|
4924
|
+
}
|
|
4925
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4926
|
+
|
|
4927
|
+
}
|
|
4928
|
+
}
|
|
4929
|
+
|
|
4335
4930
|
/**
|
|
4336
4931
|
* Database space statistics.
|
|
4337
4932
|
* @class
|
|
@@ -5659,6 +6254,230 @@ class CreateProxySessionKillTaskResponse extends AbstractModel {
|
|
|
5659
6254
|
}
|
|
5660
6255
|
}
|
|
5661
6256
|
|
|
6257
|
+
/**
|
|
6258
|
+
* A single audit log detail at the DB layer. The fields are output by DruidCommonUtil#changeLogsTdsqlDB and BusinessCodeUtils. When LogType=All, FlowTime is added.
|
|
6259
|
+
* @class
|
|
6260
|
+
*/
|
|
6261
|
+
class AuditDBLogItem extends AbstractModel {
|
|
6262
|
+
constructor(){
|
|
6263
|
+
super();
|
|
6264
|
+
|
|
6265
|
+
/**
|
|
6266
|
+
* <p>Time point of SQL execution (format string, yyyy-MM-dd HH:mm:ss).</p>
|
|
6267
|
+
* @type {string || null}
|
|
6268
|
+
*/
|
|
6269
|
+
this.Timestamp = null;
|
|
6270
|
+
|
|
6271
|
+
/**
|
|
6272
|
+
* <p>Cluster ID.</p>
|
|
6273
|
+
* @type {string || null}
|
|
6274
|
+
*/
|
|
6275
|
+
this.ClusterId = null;
|
|
6276
|
+
|
|
6277
|
+
/**
|
|
6278
|
+
* <p>Number of affected rows.</p>
|
|
6279
|
+
* @type {number || null}
|
|
6280
|
+
*/
|
|
6281
|
+
this.AffectRows = null;
|
|
6282
|
+
|
|
6283
|
+
/**
|
|
6284
|
+
* <p>Number of scanned rows.</p>
|
|
6285
|
+
* @type {number || null}
|
|
6286
|
+
*/
|
|
6287
|
+
this.CheckRows = null;
|
|
6288
|
+
|
|
6289
|
+
/**
|
|
6290
|
+
* <p>CPU time (µs).</p>
|
|
6291
|
+
* @type {number || null}
|
|
6292
|
+
*/
|
|
6293
|
+
this.CpuTime = null;
|
|
6294
|
+
|
|
6295
|
+
/**
|
|
6296
|
+
* <p>Backend Set Host (source field dbHost).</p>
|
|
6297
|
+
* @type {string || null}
|
|
6298
|
+
*/
|
|
6299
|
+
this.SetHost = null;
|
|
6300
|
+
|
|
6301
|
+
/**
|
|
6302
|
+
* <p>Database name where the SQL is executed.</p>
|
|
6303
|
+
* @type {string || null}
|
|
6304
|
+
*/
|
|
6305
|
+
this.DBName = null;
|
|
6306
|
+
|
|
6307
|
+
/**
|
|
6308
|
+
* <p>Error code returned by SQL execution. 0 indicates success.</p>
|
|
6309
|
+
* @type {string || null}
|
|
6310
|
+
*/
|
|
6311
|
+
this.ErrCode = null;
|
|
6312
|
+
|
|
6313
|
+
/**
|
|
6314
|
+
* <p>SQL execution time (µs).</p>
|
|
6315
|
+
* @type {number || null}
|
|
6316
|
+
*/
|
|
6317
|
+
this.ExecTime = null;
|
|
6318
|
+
|
|
6319
|
+
/**
|
|
6320
|
+
* <p>Client source IP.</p>
|
|
6321
|
+
* @type {string || null}
|
|
6322
|
+
*/
|
|
6323
|
+
this.Host = null;
|
|
6324
|
+
|
|
6325
|
+
/**
|
|
6326
|
+
* <p>Set Name (source field instanceId).</p>
|
|
6327
|
+
* @type {string || null}
|
|
6328
|
+
*/
|
|
6329
|
+
this.SetName = null;
|
|
6330
|
+
|
|
6331
|
+
/**
|
|
6332
|
+
* <p>IO wait time (µs).</p>
|
|
6333
|
+
* @type {number || null}
|
|
6334
|
+
*/
|
|
6335
|
+
this.IoWaitTime = null;
|
|
6336
|
+
|
|
6337
|
+
/**
|
|
6338
|
+
* <p>Lock waiting time (µs).</p>
|
|
6339
|
+
* @type {number || null}
|
|
6340
|
+
*/
|
|
6341
|
+
this.LockWaitTime = null;
|
|
6342
|
+
|
|
6343
|
+
/**
|
|
6344
|
+
* <p>SQL start time (nanosecond timestamp).</p>
|
|
6345
|
+
* @type {number || null}
|
|
6346
|
+
*/
|
|
6347
|
+
this.SqlStartTimeNs = null;
|
|
6348
|
+
|
|
6349
|
+
/**
|
|
6350
|
+
* <p>Query ID (used for join queries).</p>
|
|
6351
|
+
* @type {string || null}
|
|
6352
|
+
*/
|
|
6353
|
+
this.QueryId = null;
|
|
6354
|
+
|
|
6355
|
+
/**
|
|
6356
|
+
* <p>Serial number for queries (serial number of SQL in the same transaction).</p>
|
|
6357
|
+
* @type {number || null}
|
|
6358
|
+
*/
|
|
6359
|
+
this.QueryNo = null;
|
|
6360
|
+
|
|
6361
|
+
/**
|
|
6362
|
+
* <p>Number of rows returned (rows in the scanning result set).</p>
|
|
6363
|
+
* @type {number || null}
|
|
6364
|
+
*/
|
|
6365
|
+
this.SentRows = null;
|
|
6366
|
+
|
|
6367
|
+
/**
|
|
6368
|
+
* <p>Original executed SQL statement.</p>
|
|
6369
|
+
* @type {string || null}
|
|
6370
|
+
*/
|
|
6371
|
+
this.Sql = null;
|
|
6372
|
+
|
|
6373
|
+
/**
|
|
6374
|
+
* <p>SQL Template ID.</p>
|
|
6375
|
+
* @type {string || null}
|
|
6376
|
+
*/
|
|
6377
|
+
this.SqlTemplateId = null;
|
|
6378
|
+
|
|
6379
|
+
/**
|
|
6380
|
+
* <p>SQL type (for example, Select, Insert, Update, Delete).</p>
|
|
6381
|
+
* @type {string || null}
|
|
6382
|
+
*/
|
|
6383
|
+
this.SqlType = null;
|
|
6384
|
+
|
|
6385
|
+
/**
|
|
6386
|
+
* <p>Tables involved.</p>
|
|
6387
|
+
* @type {string || null}
|
|
6388
|
+
*/
|
|
6389
|
+
this.Tables = null;
|
|
6390
|
+
|
|
6391
|
+
/**
|
|
6392
|
+
* <p>Thread ID.</p>
|
|
6393
|
+
* @type {string || null}
|
|
6394
|
+
*/
|
|
6395
|
+
this.ThreadId = null;
|
|
6396
|
+
|
|
6397
|
+
/**
|
|
6398
|
+
* <p>SQL start time (millisecond-level timestamp).</p>
|
|
6399
|
+
* @type {number || null}
|
|
6400
|
+
*/
|
|
6401
|
+
this.SqlStartTime = null;
|
|
6402
|
+
|
|
6403
|
+
/**
|
|
6404
|
+
* <p>Transaction time to live (µs).</p>
|
|
6405
|
+
* @type {number || null}
|
|
6406
|
+
*/
|
|
6407
|
+
this.TrxLivingTime = null;
|
|
6408
|
+
|
|
6409
|
+
/**
|
|
6410
|
+
* <p>Database username that executes the SQL.</p>
|
|
6411
|
+
* @type {string || null}
|
|
6412
|
+
*/
|
|
6413
|
+
this.User = null;
|
|
6414
|
+
|
|
6415
|
+
/**
|
|
6416
|
+
* <p>Transaction ID.</p>
|
|
6417
|
+
* @type {string || null}
|
|
6418
|
+
*/
|
|
6419
|
+
this.TrxId = null;
|
|
6420
|
+
|
|
6421
|
+
/**
|
|
6422
|
+
* <p>Internal XID.</p>
|
|
6423
|
+
* @type {string || null}
|
|
6424
|
+
*/
|
|
6425
|
+
this.InternalXId = null;
|
|
6426
|
+
|
|
6427
|
+
/**
|
|
6428
|
+
* <p>Business code (extracted from i/o/p and other KV in business-side SQL annotations).</p>
|
|
6429
|
+
* @type {string || null}
|
|
6430
|
+
*/
|
|
6431
|
+
this.BusinessCode = null;
|
|
6432
|
+
|
|
6433
|
+
/**
|
|
6434
|
+
* <p>Gateway circulation duration (ms). It is returned only when LogType=All after gateway log association. When LogType=DB, this field is not delivered.</p>
|
|
6435
|
+
* @type {number || null}
|
|
6436
|
+
*/
|
|
6437
|
+
this.FlowTime = null;
|
|
6438
|
+
|
|
6439
|
+
}
|
|
6440
|
+
|
|
6441
|
+
/**
|
|
6442
|
+
* @private
|
|
6443
|
+
*/
|
|
6444
|
+
deserialize(params) {
|
|
6445
|
+
if (!params) {
|
|
6446
|
+
return;
|
|
6447
|
+
}
|
|
6448
|
+
this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
|
|
6449
|
+
this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
|
|
6450
|
+
this.AffectRows = 'AffectRows' in params ? params.AffectRows : null;
|
|
6451
|
+
this.CheckRows = 'CheckRows' in params ? params.CheckRows : null;
|
|
6452
|
+
this.CpuTime = 'CpuTime' in params ? params.CpuTime : null;
|
|
6453
|
+
this.SetHost = 'SetHost' in params ? params.SetHost : null;
|
|
6454
|
+
this.DBName = 'DBName' in params ? params.DBName : null;
|
|
6455
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
6456
|
+
this.ExecTime = 'ExecTime' in params ? params.ExecTime : null;
|
|
6457
|
+
this.Host = 'Host' in params ? params.Host : null;
|
|
6458
|
+
this.SetName = 'SetName' in params ? params.SetName : null;
|
|
6459
|
+
this.IoWaitTime = 'IoWaitTime' in params ? params.IoWaitTime : null;
|
|
6460
|
+
this.LockWaitTime = 'LockWaitTime' in params ? params.LockWaitTime : null;
|
|
6461
|
+
this.SqlStartTimeNs = 'SqlStartTimeNs' in params ? params.SqlStartTimeNs : null;
|
|
6462
|
+
this.QueryId = 'QueryId' in params ? params.QueryId : null;
|
|
6463
|
+
this.QueryNo = 'QueryNo' in params ? params.QueryNo : null;
|
|
6464
|
+
this.SentRows = 'SentRows' in params ? params.SentRows : null;
|
|
6465
|
+
this.Sql = 'Sql' in params ? params.Sql : null;
|
|
6466
|
+
this.SqlTemplateId = 'SqlTemplateId' in params ? params.SqlTemplateId : null;
|
|
6467
|
+
this.SqlType = 'SqlType' in params ? params.SqlType : null;
|
|
6468
|
+
this.Tables = 'Tables' in params ? params.Tables : null;
|
|
6469
|
+
this.ThreadId = 'ThreadId' in params ? params.ThreadId : null;
|
|
6470
|
+
this.SqlStartTime = 'SqlStartTime' in params ? params.SqlStartTime : null;
|
|
6471
|
+
this.TrxLivingTime = 'TrxLivingTime' in params ? params.TrxLivingTime : null;
|
|
6472
|
+
this.User = 'User' in params ? params.User : null;
|
|
6473
|
+
this.TrxId = 'TrxId' in params ? params.TrxId : null;
|
|
6474
|
+
this.InternalXId = 'InternalXId' in params ? params.InternalXId : null;
|
|
6475
|
+
this.BusinessCode = 'BusinessCode' in params ? params.BusinessCode : null;
|
|
6476
|
+
this.FlowTime = 'FlowTime' in params ? params.FlowTime : null;
|
|
6477
|
+
|
|
6478
|
+
}
|
|
6479
|
+
}
|
|
6480
|
+
|
|
5662
6481
|
/**
|
|
5663
6482
|
* DescribeSlowLogTimeSeriesStats response structure.
|
|
5664
6483
|
* @class
|
|
@@ -6069,30 +6888,30 @@ class DescribeDBSpaceStatusResponse extends AbstractModel {
|
|
|
6069
6888
|
}
|
|
6070
6889
|
|
|
6071
6890
|
/**
|
|
6072
|
-
*
|
|
6891
|
+
* DescribeSecurityAuditLogDownloadUrls request structure.
|
|
6073
6892
|
* @class
|
|
6074
6893
|
*/
|
|
6075
|
-
class
|
|
6894
|
+
class DescribeSecurityAuditLogDownloadUrlsRequest extends AbstractModel {
|
|
6076
6895
|
constructor(){
|
|
6077
6896
|
super();
|
|
6078
6897
|
|
|
6079
6898
|
/**
|
|
6080
|
-
*
|
|
6081
|
-
* @type {
|
|
6899
|
+
* Security audit group ID.
|
|
6900
|
+
* @type {string || null}
|
|
6082
6901
|
*/
|
|
6083
|
-
this.
|
|
6902
|
+
this.SecAuditGroupId = null;
|
|
6084
6903
|
|
|
6085
6904
|
/**
|
|
6086
|
-
*
|
|
6087
|
-
* @type {
|
|
6905
|
+
* Async task Id.
|
|
6906
|
+
* @type {number || null}
|
|
6088
6907
|
*/
|
|
6089
|
-
this.
|
|
6908
|
+
this.AsyncRequestId = null;
|
|
6090
6909
|
|
|
6091
6910
|
/**
|
|
6092
|
-
*
|
|
6093
|
-
* @type {
|
|
6911
|
+
* Service type. Valid value: `mysql` (TencentDB for MySQL).
|
|
6912
|
+
* @type {string || null}
|
|
6094
6913
|
*/
|
|
6095
|
-
this.
|
|
6914
|
+
this.Product = null;
|
|
6096
6915
|
|
|
6097
6916
|
}
|
|
6098
6917
|
|
|
@@ -6103,9 +6922,9 @@ class GroupItem extends AbstractModel {
|
|
|
6103
6922
|
if (!params) {
|
|
6104
6923
|
return;
|
|
6105
6924
|
}
|
|
6106
|
-
this.
|
|
6107
|
-
this.
|
|
6108
|
-
this.
|
|
6925
|
+
this.SecAuditGroupId = 'SecAuditGroupId' in params ? params.SecAuditGroupId : null;
|
|
6926
|
+
this.AsyncRequestId = 'AsyncRequestId' in params ? params.AsyncRequestId : null;
|
|
6927
|
+
this.Product = 'Product' in params ? params.Product : null;
|
|
6109
6928
|
|
|
6110
6929
|
}
|
|
6111
6930
|
}
|
|
@@ -7011,12 +7830,14 @@ module.exports = {
|
|
|
7011
7830
|
ModifyDiagDBInstanceConfResponse: ModifyDiagDBInstanceConfResponse,
|
|
7012
7831
|
DescribeTopSpaceSchemaTimeSeriesResponse: DescribeTopSpaceSchemaTimeSeriesResponse,
|
|
7013
7832
|
SlowLogTopSqlItem: SlowLogTopSqlItem,
|
|
7833
|
+
AuditProxyLogItem: AuditProxyLogItem,
|
|
7014
7834
|
DescribeAuditInstanceListResponse: DescribeAuditInstanceListResponse,
|
|
7015
7835
|
DescribeProxySessionKillTasksRequest: DescribeProxySessionKillTasksRequest,
|
|
7016
7836
|
CreateRedisBigKeyAnalysisTaskRequest: CreateRedisBigKeyAnalysisTaskRequest,
|
|
7017
7837
|
DescribeMySqlProcessListResponse: DescribeMySqlProcessListResponse,
|
|
7018
7838
|
SessionItem: SessionItem,
|
|
7019
7839
|
HealthStatus: HealthStatus,
|
|
7840
|
+
DescribeDBAuditLogsRequest: DescribeDBAuditLogsRequest,
|
|
7020
7841
|
DescribeTopSpaceTablesResponse: DescribeTopSpaceTablesResponse,
|
|
7021
7842
|
TaskInfo: TaskInfo,
|
|
7022
7843
|
KillMySqlThreadsResponse: KillMySqlThreadsResponse,
|
|
@@ -7027,10 +7848,11 @@ module.exports = {
|
|
|
7027
7848
|
DeleteDBDiagReportTasksRequest: DeleteDBDiagReportTasksRequest,
|
|
7028
7849
|
ModifyDiagDBInstanceConfRequest: ModifyDiagDBInstanceConfRequest,
|
|
7029
7850
|
DescribeSlowLogsResponse: DescribeSlowLogsResponse,
|
|
7030
|
-
|
|
7851
|
+
AuditLogQueryFilter: AuditLogQueryFilter,
|
|
7031
7852
|
CreateDBDiagReportTaskResponse: CreateDBDiagReportTaskResponse,
|
|
7032
7853
|
ProcessStatistic: ProcessStatistic,
|
|
7033
7854
|
CreateMailProfileResponse: CreateMailProfileResponse,
|
|
7855
|
+
GroupItem: GroupItem,
|
|
7034
7856
|
DescribeSlowLogTimeSeriesStatsRequest: DescribeSlowLogTimeSeriesStatsRequest,
|
|
7035
7857
|
DiagHistoryEventItem: DiagHistoryEventItem,
|
|
7036
7858
|
MySqlProcess: MySqlProcess,
|
|
@@ -7069,6 +7891,7 @@ module.exports = {
|
|
|
7069
7891
|
UserProfile: UserProfile,
|
|
7070
7892
|
AddUserContactRequest: AddUserContactRequest,
|
|
7071
7893
|
InstanceBasicInfo: InstanceBasicInfo,
|
|
7894
|
+
DescribeDBAuditLogsResponse: DescribeDBAuditLogsResponse,
|
|
7072
7895
|
SchemaSpaceData: SchemaSpaceData,
|
|
7073
7896
|
DescribeAllUserContactRequest: DescribeAllUserContactRequest,
|
|
7074
7897
|
DescribeDiagDBInstancesRequest: DescribeDiagDBInstancesRequest,
|
|
@@ -7091,6 +7914,7 @@ module.exports = {
|
|
|
7091
7914
|
DescribeSlowLogUserHostStatsRequest: DescribeSlowLogUserHostStatsRequest,
|
|
7092
7915
|
DescribeTopSpaceSchemasResponse: DescribeTopSpaceSchemasResponse,
|
|
7093
7916
|
CreateProxySessionKillTaskResponse: CreateProxySessionKillTaskResponse,
|
|
7917
|
+
AuditDBLogItem: AuditDBLogItem,
|
|
7094
7918
|
DescribeSlowLogTimeSeriesStatsResponse: DescribeSlowLogTimeSeriesStatsResponse,
|
|
7095
7919
|
DescribeProxyProcessStatisticsRequest: DescribeProxyProcessStatisticsRequest,
|
|
7096
7920
|
MonitorFloatMetric: MonitorFloatMetric,
|
|
@@ -7098,7 +7922,7 @@ module.exports = {
|
|
|
7098
7922
|
DescribeAllUserGroupResponse: DescribeAllUserGroupResponse,
|
|
7099
7923
|
DescribeUserSqlAdviceResponse: DescribeUserSqlAdviceResponse,
|
|
7100
7924
|
DescribeDBSpaceStatusResponse: DescribeDBSpaceStatusResponse,
|
|
7101
|
-
|
|
7925
|
+
DescribeSecurityAuditLogDownloadUrlsRequest: DescribeSecurityAuditLogDownloadUrlsRequest,
|
|
7102
7926
|
RedisPreKeySpaceData: RedisPreKeySpaceData,
|
|
7103
7927
|
DescribeTopSpaceTableTimeSeriesRequest: DescribeTopSpaceTableTimeSeriesRequest,
|
|
7104
7928
|
DescribeDBDiagReportTasksRequest: DescribeDBDiagReportTasksRequest,
|