tencentcloud-sdk-python 3.0.1341__py2.py3-none-any.whl → 3.0.1343__py2.py3-none-any.whl

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.
Files changed (64) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/bi/v20220105/models.py +68 -0
  3. tencentcloud/billing/v20180709/billing_client.py +3 -1
  4. tencentcloud/billing/v20180709/models.py +90 -456
  5. tencentcloud/captcha/v20190722/models.py +6 -24
  6. tencentcloud/cdc/v20201214/models.py +0 -12
  7. tencentcloud/cdwpg/v20201230/models.py +4 -4
  8. tencentcloud/cdz/v20221123/models.py +0 -4
  9. tencentcloud/cfg/v20210820/models.py +0 -192
  10. tencentcloud/cfs/v20190719/errorcodes.py +3 -0
  11. tencentcloud/clb/v20180317/clb_client.py +2 -2
  12. tencentcloud/cvm/v20170312/cvm_client.py +23 -0
  13. tencentcloud/cvm/v20170312/models.py +211 -4
  14. tencentcloud/cwp/v20180228/models.py +160 -42
  15. tencentcloud/dbbrain/v20210527/dbbrain_client.py +161 -0
  16. tencentcloud/dbbrain/v20210527/models.py +1743 -387
  17. tencentcloud/domain/v20180808/models.py +30 -26
  18. tencentcloud/dts/v20180330/models.py +0 -6
  19. tencentcloud/dts/v20211206/models.py +2 -210
  20. tencentcloud/ess/v20201111/models.py +136 -4
  21. tencentcloud/essbasic/v20210526/models.py +128 -6
  22. tencentcloud/hunyuan/v20230901/models.py +97 -21
  23. tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
  24. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +69 -0
  25. tencentcloud/iotexplorer/v20190423/models.py +995 -65
  26. tencentcloud/iotvideo/v20211125/iotvideo_client.py +46 -0
  27. tencentcloud/iotvideo/v20211125/models.py +188 -0
  28. tencentcloud/lcic/v20220817/errorcodes.py +1 -1
  29. tencentcloud/lighthouse/v20200324/errorcodes.py +12 -9
  30. tencentcloud/lighthouse/v20200324/lighthouse_client.py +24 -17
  31. tencentcloud/lighthouse/v20200324/models.py +68 -36
  32. tencentcloud/lke/v20231130/lke_client.py +1 -1
  33. tencentcloud/lke/v20231130/models.py +2 -2
  34. tencentcloud/lkeap/v20240522/models.py +4 -8
  35. tencentcloud/mariadb/v20170312/models.py +0 -24
  36. tencentcloud/mongodb/v20190725/models.py +6 -6
  37. tencentcloud/mps/v20190612/models.py +170 -0
  38. tencentcloud/mqtt/v20240516/errorcodes.py +9 -0
  39. tencentcloud/organization/v20210331/errorcodes.py +3 -0
  40. tencentcloud/organization/v20210331/models.py +0 -82
  41. tencentcloud/redis/v20180412/models.py +8 -8
  42. tencentcloud/ses/v20201002/models.py +2 -4
  43. tencentcloud/tat/v20201028/models.py +10 -8
  44. tencentcloud/tcb/v20180608/models.py +0 -234
  45. tencentcloud/tdmq/v20200217/models.py +17 -198
  46. tencentcloud/teo/v20220901/models.py +1182 -21
  47. tencentcloud/teo/v20220901/teo_client.py +8 -4
  48. tencentcloud/tione/v20211111/models.py +90 -0
  49. tencentcloud/trocket/v20230308/models.py +109 -0
  50. tencentcloud/trocket/v20230308/trocket_client.py +23 -0
  51. tencentcloud/trro/v20220325/models.py +140 -0
  52. tencentcloud/trro/v20220325/trro_client.py +25 -0
  53. tencentcloud/vdb/v20230616/models.py +45 -0
  54. tencentcloud/vdb/v20230616/vdb_client.py +1 -1
  55. tencentcloud/vpc/v20170312/errorcodes.py +9 -0
  56. tencentcloud/vrs/v20200824/models.py +32 -0
  57. tencentcloud/waf/v20180125/models.py +398 -0
  58. tencentcloud/waf/v20180125/waf_client.py +69 -0
  59. tencentcloud/wedata/v20210820/models.py +77 -0
  60. {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/METADATA +1 -1
  61. {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/RECORD +64 -64
  62. {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/LICENSE +0 -0
  63. {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/WHEEL +0 -0
  64. {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/top_level.txt +0 -0
@@ -1256,6 +1256,525 @@ class AuditLogFilter(AbstractModel):
1256
1256
 
1257
1257
 
1258
1258
 
1259
+ class AutonomyActionVo(AbstractModel):
1260
+ """redis自治事件任务详情
1261
+
1262
+ """
1263
+
1264
+ def __init__(self):
1265
+ r"""
1266
+ :param _ActionId: 自治任务ID。
1267
+ :type ActionId: int
1268
+ :param _EventId: 自治事件ID。
1269
+ :type EventId: int
1270
+ :param _Type: 类型:支持RedisAutoScaleUp
1271
+ :type Type: str
1272
+ :param _TriggerTime: 自治任务触发时间。
1273
+ :type TriggerTime: str
1274
+ :param _CreateTime: 自治任务创建时间。
1275
+ :type CreateTime: str
1276
+ :param _UpdateTime: 自治任务更新时间
1277
+ :type UpdateTime: str
1278
+ :param _FinishTime: 自治任务完成时间。
1279
+ :type FinishTime: str
1280
+ :param _ExpireTime: 剩余时间,单位:秒。
1281
+ :type ExpireTime: int
1282
+ :param _Reason: 触发原因。
1283
+ :type Reason: str
1284
+ :param _Status: 自治任务状态:支持 RUNNING,FINISHED,TERMINATED,CANCELLED
1285
+ :type Status: str
1286
+ """
1287
+ self._ActionId = None
1288
+ self._EventId = None
1289
+ self._Type = None
1290
+ self._TriggerTime = None
1291
+ self._CreateTime = None
1292
+ self._UpdateTime = None
1293
+ self._FinishTime = None
1294
+ self._ExpireTime = None
1295
+ self._Reason = None
1296
+ self._Status = None
1297
+
1298
+ @property
1299
+ def ActionId(self):
1300
+ """自治任务ID。
1301
+ :rtype: int
1302
+ """
1303
+ return self._ActionId
1304
+
1305
+ @ActionId.setter
1306
+ def ActionId(self, ActionId):
1307
+ self._ActionId = ActionId
1308
+
1309
+ @property
1310
+ def EventId(self):
1311
+ """自治事件ID。
1312
+ :rtype: int
1313
+ """
1314
+ return self._EventId
1315
+
1316
+ @EventId.setter
1317
+ def EventId(self, EventId):
1318
+ self._EventId = EventId
1319
+
1320
+ @property
1321
+ def Type(self):
1322
+ """类型:支持RedisAutoScaleUp
1323
+ :rtype: str
1324
+ """
1325
+ return self._Type
1326
+
1327
+ @Type.setter
1328
+ def Type(self, Type):
1329
+ self._Type = Type
1330
+
1331
+ @property
1332
+ def TriggerTime(self):
1333
+ """自治任务触发时间。
1334
+ :rtype: str
1335
+ """
1336
+ return self._TriggerTime
1337
+
1338
+ @TriggerTime.setter
1339
+ def TriggerTime(self, TriggerTime):
1340
+ self._TriggerTime = TriggerTime
1341
+
1342
+ @property
1343
+ def CreateTime(self):
1344
+ """自治任务创建时间。
1345
+ :rtype: str
1346
+ """
1347
+ return self._CreateTime
1348
+
1349
+ @CreateTime.setter
1350
+ def CreateTime(self, CreateTime):
1351
+ self._CreateTime = CreateTime
1352
+
1353
+ @property
1354
+ def UpdateTime(self):
1355
+ """自治任务更新时间
1356
+ :rtype: str
1357
+ """
1358
+ return self._UpdateTime
1359
+
1360
+ @UpdateTime.setter
1361
+ def UpdateTime(self, UpdateTime):
1362
+ self._UpdateTime = UpdateTime
1363
+
1364
+ @property
1365
+ def FinishTime(self):
1366
+ """自治任务完成时间。
1367
+ :rtype: str
1368
+ """
1369
+ return self._FinishTime
1370
+
1371
+ @FinishTime.setter
1372
+ def FinishTime(self, FinishTime):
1373
+ self._FinishTime = FinishTime
1374
+
1375
+ @property
1376
+ def ExpireTime(self):
1377
+ """剩余时间,单位:秒。
1378
+ :rtype: int
1379
+ """
1380
+ return self._ExpireTime
1381
+
1382
+ @ExpireTime.setter
1383
+ def ExpireTime(self, ExpireTime):
1384
+ self._ExpireTime = ExpireTime
1385
+
1386
+ @property
1387
+ def Reason(self):
1388
+ """触发原因。
1389
+ :rtype: str
1390
+ """
1391
+ return self._Reason
1392
+
1393
+ @Reason.setter
1394
+ def Reason(self, Reason):
1395
+ self._Reason = Reason
1396
+
1397
+ @property
1398
+ def Status(self):
1399
+ """自治任务状态:支持 RUNNING,FINISHED,TERMINATED,CANCELLED
1400
+ :rtype: str
1401
+ """
1402
+ return self._Status
1403
+
1404
+ @Status.setter
1405
+ def Status(self, Status):
1406
+ self._Status = Status
1407
+
1408
+
1409
+ def _deserialize(self, params):
1410
+ self._ActionId = params.get("ActionId")
1411
+ self._EventId = params.get("EventId")
1412
+ self._Type = params.get("Type")
1413
+ self._TriggerTime = params.get("TriggerTime")
1414
+ self._CreateTime = params.get("CreateTime")
1415
+ self._UpdateTime = params.get("UpdateTime")
1416
+ self._FinishTime = params.get("FinishTime")
1417
+ self._ExpireTime = params.get("ExpireTime")
1418
+ self._Reason = params.get("Reason")
1419
+ self._Status = params.get("Status")
1420
+ memeber_set = set(params.keys())
1421
+ for name, value in vars(self).items():
1422
+ property_name = name[1:]
1423
+ if property_name in memeber_set:
1424
+ memeber_set.remove(property_name)
1425
+ if len(memeber_set) > 0:
1426
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1427
+
1428
+
1429
+
1430
+ class AutonomyEventVo(AbstractModel):
1431
+ """自治事件详情
1432
+
1433
+ """
1434
+
1435
+ def __init__(self):
1436
+ r"""
1437
+ :param _EventId: 自治事件ID。
1438
+ :type EventId: int
1439
+ :param _Type: 自治事件类型:支持RunningAutoRecovery,RedisAutoScale
1440
+ :type Type: str
1441
+ :param _Status: 自治事件状态:支持 RUNNING,FINISHED,TERMINATED
1442
+ :type Status: str
1443
+ :param _Reason: 触发原因。
1444
+ :type Reason: str
1445
+ :param _TriggerTime: 自治任务触发时间。
1446
+ :type TriggerTime: int
1447
+ :param _LastTriggerTime: 自治任务最后触发时间。
1448
+ :type LastTriggerTime: int
1449
+ :param _CreateTime: 自治任务创建时间。
1450
+ :type CreateTime: int
1451
+ :param _UpdateTime: 自治任务更新时间。
1452
+ :type UpdateTime: int
1453
+ :param _FinishTime: 自治任务完成时间;非结束状态的时候,该值无意义。
1454
+ :type FinishTime: int
1455
+ """
1456
+ self._EventId = None
1457
+ self._Type = None
1458
+ self._Status = None
1459
+ self._Reason = None
1460
+ self._TriggerTime = None
1461
+ self._LastTriggerTime = None
1462
+ self._CreateTime = None
1463
+ self._UpdateTime = None
1464
+ self._FinishTime = None
1465
+
1466
+ @property
1467
+ def EventId(self):
1468
+ """自治事件ID。
1469
+ :rtype: int
1470
+ """
1471
+ return self._EventId
1472
+
1473
+ @EventId.setter
1474
+ def EventId(self, EventId):
1475
+ self._EventId = EventId
1476
+
1477
+ @property
1478
+ def Type(self):
1479
+ """自治事件类型:支持RunningAutoRecovery,RedisAutoScale
1480
+ :rtype: str
1481
+ """
1482
+ return self._Type
1483
+
1484
+ @Type.setter
1485
+ def Type(self, Type):
1486
+ self._Type = Type
1487
+
1488
+ @property
1489
+ def Status(self):
1490
+ """自治事件状态:支持 RUNNING,FINISHED,TERMINATED
1491
+ :rtype: str
1492
+ """
1493
+ return self._Status
1494
+
1495
+ @Status.setter
1496
+ def Status(self, Status):
1497
+ self._Status = Status
1498
+
1499
+ @property
1500
+ def Reason(self):
1501
+ """触发原因。
1502
+ :rtype: str
1503
+ """
1504
+ return self._Reason
1505
+
1506
+ @Reason.setter
1507
+ def Reason(self, Reason):
1508
+ self._Reason = Reason
1509
+
1510
+ @property
1511
+ def TriggerTime(self):
1512
+ """自治任务触发时间。
1513
+ :rtype: int
1514
+ """
1515
+ return self._TriggerTime
1516
+
1517
+ @TriggerTime.setter
1518
+ def TriggerTime(self, TriggerTime):
1519
+ self._TriggerTime = TriggerTime
1520
+
1521
+ @property
1522
+ def LastTriggerTime(self):
1523
+ """自治任务最后触发时间。
1524
+ :rtype: int
1525
+ """
1526
+ return self._LastTriggerTime
1527
+
1528
+ @LastTriggerTime.setter
1529
+ def LastTriggerTime(self, LastTriggerTime):
1530
+ self._LastTriggerTime = LastTriggerTime
1531
+
1532
+ @property
1533
+ def CreateTime(self):
1534
+ """自治任务创建时间。
1535
+ :rtype: int
1536
+ """
1537
+ return self._CreateTime
1538
+
1539
+ @CreateTime.setter
1540
+ def CreateTime(self, CreateTime):
1541
+ self._CreateTime = CreateTime
1542
+
1543
+ @property
1544
+ def UpdateTime(self):
1545
+ """自治任务更新时间。
1546
+ :rtype: int
1547
+ """
1548
+ return self._UpdateTime
1549
+
1550
+ @UpdateTime.setter
1551
+ def UpdateTime(self, UpdateTime):
1552
+ self._UpdateTime = UpdateTime
1553
+
1554
+ @property
1555
+ def FinishTime(self):
1556
+ """自治任务完成时间;非结束状态的时候,该值无意义。
1557
+ :rtype: int
1558
+ """
1559
+ return self._FinishTime
1560
+
1561
+ @FinishTime.setter
1562
+ def FinishTime(self, FinishTime):
1563
+ self._FinishTime = FinishTime
1564
+
1565
+
1566
+ def _deserialize(self, params):
1567
+ self._EventId = params.get("EventId")
1568
+ self._Type = params.get("Type")
1569
+ self._Status = params.get("Status")
1570
+ self._Reason = params.get("Reason")
1571
+ self._TriggerTime = params.get("TriggerTime")
1572
+ self._LastTriggerTime = params.get("LastTriggerTime")
1573
+ self._CreateTime = params.get("CreateTime")
1574
+ self._UpdateTime = params.get("UpdateTime")
1575
+ self._FinishTime = params.get("FinishTime")
1576
+ memeber_set = set(params.keys())
1577
+ for name, value in vars(self).items():
1578
+ property_name = name[1:]
1579
+ if property_name in memeber_set:
1580
+ memeber_set.remove(property_name)
1581
+ if len(memeber_set) > 0:
1582
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1583
+
1584
+
1585
+
1586
+ class AutonomyUserProfileInfo(AbstractModel):
1587
+ """自治用户配置详情
1588
+
1589
+ """
1590
+
1591
+ def __init__(self):
1592
+ r"""
1593
+ :param _Enabled: 是否开启自治。
1594
+ :type Enabled: bool
1595
+ :param _Uin: 用户Uin。
1596
+ :type Uin: str
1597
+ :param _MemoryUpperLimit: 内存上限。
1598
+ :type MemoryUpperLimit: int
1599
+ :param _ThresholdRule: 指标阈值规则。
1600
+ :type ThresholdRule: :class:`tencentcloud.dbbrain.v20210527.models.MetricThreshold`
1601
+ :param _EnabledItems: 自治功能类型。
1602
+ :type EnabledItems: list of str
1603
+ """
1604
+ self._Enabled = None
1605
+ self._Uin = None
1606
+ self._MemoryUpperLimit = None
1607
+ self._ThresholdRule = None
1608
+ self._EnabledItems = None
1609
+
1610
+ @property
1611
+ def Enabled(self):
1612
+ """是否开启自治。
1613
+ :rtype: bool
1614
+ """
1615
+ return self._Enabled
1616
+
1617
+ @Enabled.setter
1618
+ def Enabled(self, Enabled):
1619
+ self._Enabled = Enabled
1620
+
1621
+ @property
1622
+ def Uin(self):
1623
+ """用户Uin。
1624
+ :rtype: str
1625
+ """
1626
+ return self._Uin
1627
+
1628
+ @Uin.setter
1629
+ def Uin(self, Uin):
1630
+ self._Uin = Uin
1631
+
1632
+ @property
1633
+ def MemoryUpperLimit(self):
1634
+ """内存上限。
1635
+ :rtype: int
1636
+ """
1637
+ return self._MemoryUpperLimit
1638
+
1639
+ @MemoryUpperLimit.setter
1640
+ def MemoryUpperLimit(self, MemoryUpperLimit):
1641
+ self._MemoryUpperLimit = MemoryUpperLimit
1642
+
1643
+ @property
1644
+ def ThresholdRule(self):
1645
+ """指标阈值规则。
1646
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.MetricThreshold`
1647
+ """
1648
+ return self._ThresholdRule
1649
+
1650
+ @ThresholdRule.setter
1651
+ def ThresholdRule(self, ThresholdRule):
1652
+ self._ThresholdRule = ThresholdRule
1653
+
1654
+ @property
1655
+ def EnabledItems(self):
1656
+ """自治功能类型。
1657
+ :rtype: list of str
1658
+ """
1659
+ return self._EnabledItems
1660
+
1661
+ @EnabledItems.setter
1662
+ def EnabledItems(self, EnabledItems):
1663
+ self._EnabledItems = EnabledItems
1664
+
1665
+
1666
+ def _deserialize(self, params):
1667
+ self._Enabled = params.get("Enabled")
1668
+ self._Uin = params.get("Uin")
1669
+ self._MemoryUpperLimit = params.get("MemoryUpperLimit")
1670
+ if params.get("ThresholdRule") is not None:
1671
+ self._ThresholdRule = MetricThreshold()
1672
+ self._ThresholdRule._deserialize(params.get("ThresholdRule"))
1673
+ self._EnabledItems = params.get("EnabledItems")
1674
+ memeber_set = set(params.keys())
1675
+ for name, value in vars(self).items():
1676
+ property_name = name[1:]
1677
+ if property_name in memeber_set:
1678
+ memeber_set.remove(property_name)
1679
+ if len(memeber_set) > 0:
1680
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1681
+
1682
+
1683
+
1684
+ class CancelDBAutonomyActionRequest(AbstractModel):
1685
+ """CancelDBAutonomyAction请求参数结构体
1686
+
1687
+ """
1688
+
1689
+ def __init__(self):
1690
+ r"""
1691
+ :param _ActionId: 自治任务ID。
1692
+ :type ActionId: int
1693
+ :param _InstanceId: 实列ID。
1694
+ :type InstanceId: str
1695
+ :param _Product: 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
1696
+ :type Product: str
1697
+ """
1698
+ self._ActionId = None
1699
+ self._InstanceId = None
1700
+ self._Product = None
1701
+
1702
+ @property
1703
+ def ActionId(self):
1704
+ """自治任务ID。
1705
+ :rtype: int
1706
+ """
1707
+ return self._ActionId
1708
+
1709
+ @ActionId.setter
1710
+ def ActionId(self, ActionId):
1711
+ self._ActionId = ActionId
1712
+
1713
+ @property
1714
+ def InstanceId(self):
1715
+ """实列ID。
1716
+ :rtype: str
1717
+ """
1718
+ return self._InstanceId
1719
+
1720
+ @InstanceId.setter
1721
+ def InstanceId(self, InstanceId):
1722
+ self._InstanceId = InstanceId
1723
+
1724
+ @property
1725
+ def Product(self):
1726
+ """服务产品类型,支持值包括: "redis" - 云数据库 Redis。
1727
+ :rtype: str
1728
+ """
1729
+ return self._Product
1730
+
1731
+ @Product.setter
1732
+ def Product(self, Product):
1733
+ self._Product = Product
1734
+
1735
+
1736
+ def _deserialize(self, params):
1737
+ self._ActionId = params.get("ActionId")
1738
+ self._InstanceId = params.get("InstanceId")
1739
+ self._Product = params.get("Product")
1740
+ memeber_set = set(params.keys())
1741
+ for name, value in vars(self).items():
1742
+ property_name = name[1:]
1743
+ if property_name in memeber_set:
1744
+ memeber_set.remove(property_name)
1745
+ if len(memeber_set) > 0:
1746
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1747
+
1748
+
1749
+
1750
+ class CancelDBAutonomyActionResponse(AbstractModel):
1751
+ """CancelDBAutonomyAction返回参数结构体
1752
+
1753
+ """
1754
+
1755
+ def __init__(self):
1756
+ r"""
1757
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1758
+ :type RequestId: str
1759
+ """
1760
+ self._RequestId = None
1761
+
1762
+ @property
1763
+ def RequestId(self):
1764
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1765
+ :rtype: str
1766
+ """
1767
+ return self._RequestId
1768
+
1769
+ @RequestId.setter
1770
+ def RequestId(self, RequestId):
1771
+ self._RequestId = RequestId
1772
+
1773
+
1774
+ def _deserialize(self, params):
1775
+ self._RequestId = params.get("RequestId")
1776
+
1777
+
1259
1778
  class CancelKillTaskRequest(AbstractModel):
1260
1779
  """CancelKillTask请求参数结构体
1261
1780
 
@@ -1350,6 +1869,115 @@ class CancelKillTaskResponse(AbstractModel):
1350
1869
  self._RequestId = params.get("RequestId")
1351
1870
 
1352
1871
 
1872
+ class CancelRedisBigKeyAnalysisTasksRequest(AbstractModel):
1873
+ """CancelRedisBigKeyAnalysisTasks请求参数结构体
1874
+
1875
+ """
1876
+
1877
+ def __init__(self):
1878
+ r"""
1879
+ :param _AsyncRequestIds: 自治任务ID。
1880
+ :type AsyncRequestIds: list of int
1881
+ :param _InstanceId: 实列ID。
1882
+ :type InstanceId: str
1883
+ :param _Product: 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
1884
+ :type Product: str
1885
+ """
1886
+ self._AsyncRequestIds = None
1887
+ self._InstanceId = None
1888
+ self._Product = None
1889
+
1890
+ @property
1891
+ def AsyncRequestIds(self):
1892
+ """自治任务ID。
1893
+ :rtype: list of int
1894
+ """
1895
+ return self._AsyncRequestIds
1896
+
1897
+ @AsyncRequestIds.setter
1898
+ def AsyncRequestIds(self, AsyncRequestIds):
1899
+ self._AsyncRequestIds = AsyncRequestIds
1900
+
1901
+ @property
1902
+ def InstanceId(self):
1903
+ """实列ID。
1904
+ :rtype: str
1905
+ """
1906
+ return self._InstanceId
1907
+
1908
+ @InstanceId.setter
1909
+ def InstanceId(self, InstanceId):
1910
+ self._InstanceId = InstanceId
1911
+
1912
+ @property
1913
+ def Product(self):
1914
+ """服务产品类型,支持值包括: "redis" - 云数据库 Redis。
1915
+ :rtype: str
1916
+ """
1917
+ return self._Product
1918
+
1919
+ @Product.setter
1920
+ def Product(self, Product):
1921
+ self._Product = Product
1922
+
1923
+
1924
+ def _deserialize(self, params):
1925
+ self._AsyncRequestIds = params.get("AsyncRequestIds")
1926
+ self._InstanceId = params.get("InstanceId")
1927
+ self._Product = params.get("Product")
1928
+ memeber_set = set(params.keys())
1929
+ for name, value in vars(self).items():
1930
+ property_name = name[1:]
1931
+ if property_name in memeber_set:
1932
+ memeber_set.remove(property_name)
1933
+ if len(memeber_set) > 0:
1934
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1935
+
1936
+
1937
+
1938
+ class CancelRedisBigKeyAnalysisTasksResponse(AbstractModel):
1939
+ """CancelRedisBigKeyAnalysisTasks返回参数结构体
1940
+
1941
+ """
1942
+
1943
+ def __init__(self):
1944
+ r"""
1945
+ :param _Status: 终止大Key任务结果;0-成功。
1946
+ :type Status: int
1947
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1948
+ :type RequestId: str
1949
+ """
1950
+ self._Status = None
1951
+ self._RequestId = None
1952
+
1953
+ @property
1954
+ def Status(self):
1955
+ """终止大Key任务结果;0-成功。
1956
+ :rtype: int
1957
+ """
1958
+ return self._Status
1959
+
1960
+ @Status.setter
1961
+ def Status(self, Status):
1962
+ self._Status = Status
1963
+
1964
+ @property
1965
+ def RequestId(self):
1966
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1967
+ :rtype: str
1968
+ """
1969
+ return self._RequestId
1970
+
1971
+ @RequestId.setter
1972
+ def RequestId(self, RequestId):
1973
+ self._RequestId = RequestId
1974
+
1975
+
1976
+ def _deserialize(self, params):
1977
+ self._Status = params.get("Status")
1978
+ self._RequestId = params.get("RequestId")
1979
+
1980
+
1353
1981
  class CloseAuditServiceRequest(AbstractModel):
1354
1982
  """CloseAuditService请求参数结构体
1355
1983
 
@@ -2917,19 +3545,143 @@ class CreateSqlFilterRequest(AbstractModel):
2917
3545
  """
2918
3546
  return self._Product
2919
3547
 
2920
- @Product.setter
2921
- def Product(self, Product):
2922
- self._Product = Product
3548
+ @Product.setter
3549
+ def Product(self, Product):
3550
+ self._Product = Product
3551
+
3552
+
3553
+ def _deserialize(self, params):
3554
+ self._InstanceId = params.get("InstanceId")
3555
+ self._SqlType = params.get("SqlType")
3556
+ self._FilterKey = params.get("FilterKey")
3557
+ self._MaxConcurrency = params.get("MaxConcurrency")
3558
+ self._Duration = params.get("Duration")
3559
+ self._SessionToken = params.get("SessionToken")
3560
+ self._Product = params.get("Product")
3561
+ memeber_set = set(params.keys())
3562
+ for name, value in vars(self).items():
3563
+ property_name = name[1:]
3564
+ if property_name in memeber_set:
3565
+ memeber_set.remove(property_name)
3566
+ if len(memeber_set) > 0:
3567
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3568
+
3569
+
3570
+
3571
+ class CreateSqlFilterResponse(AbstractModel):
3572
+ """CreateSqlFilter返回参数结构体
3573
+
3574
+ """
3575
+
3576
+ def __init__(self):
3577
+ r"""
3578
+ :param _FilterId: 限流任务ID。
3579
+ :type FilterId: int
3580
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3581
+ :type RequestId: str
3582
+ """
3583
+ self._FilterId = None
3584
+ self._RequestId = None
3585
+
3586
+ @property
3587
+ def FilterId(self):
3588
+ """限流任务ID。
3589
+ :rtype: int
3590
+ """
3591
+ return self._FilterId
3592
+
3593
+ @FilterId.setter
3594
+ def FilterId(self, FilterId):
3595
+ self._FilterId = FilterId
3596
+
3597
+ @property
3598
+ def RequestId(self):
3599
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3600
+ :rtype: str
3601
+ """
3602
+ return self._RequestId
3603
+
3604
+ @RequestId.setter
3605
+ def RequestId(self, RequestId):
3606
+ self._RequestId = RequestId
3607
+
3608
+
3609
+ def _deserialize(self, params):
3610
+ self._FilterId = params.get("FilterId")
3611
+ self._RequestId = params.get("RequestId")
3612
+
3613
+
3614
+ class CreateUserAutonomyProfileRequest(AbstractModel):
3615
+ """CreateUserAutonomyProfile请求参数结构体
3616
+
3617
+ """
3618
+
3619
+ def __init__(self):
3620
+ r"""
3621
+ :param _ProfileType: 配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)
3622
+ :type ProfileType: str
3623
+ :param _InstanceId: 实列ID。
3624
+ :type InstanceId: str
3625
+ :param _Product: 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
3626
+ :type Product: str
3627
+ :param _ProfileInfo: 自治功能相关配置,标准JSON字符串格式。
3628
+ :type ProfileInfo: str
3629
+ """
3630
+ self._ProfileType = None
3631
+ self._InstanceId = None
3632
+ self._Product = None
3633
+ self._ProfileInfo = None
3634
+
3635
+ @property
3636
+ def ProfileType(self):
3637
+ """配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)
3638
+ :rtype: str
3639
+ """
3640
+ return self._ProfileType
3641
+
3642
+ @ProfileType.setter
3643
+ def ProfileType(self, ProfileType):
3644
+ self._ProfileType = ProfileType
3645
+
3646
+ @property
3647
+ def InstanceId(self):
3648
+ """实列ID。
3649
+ :rtype: str
3650
+ """
3651
+ return self._InstanceId
3652
+
3653
+ @InstanceId.setter
3654
+ def InstanceId(self, InstanceId):
3655
+ self._InstanceId = InstanceId
3656
+
3657
+ @property
3658
+ def Product(self):
3659
+ """服务产品类型,支持值包括: "redis" - 云数据库 Redis。
3660
+ :rtype: str
3661
+ """
3662
+ return self._Product
3663
+
3664
+ @Product.setter
3665
+ def Product(self, Product):
3666
+ self._Product = Product
3667
+
3668
+ @property
3669
+ def ProfileInfo(self):
3670
+ """自治功能相关配置,标准JSON字符串格式。
3671
+ :rtype: str
3672
+ """
3673
+ return self._ProfileInfo
3674
+
3675
+ @ProfileInfo.setter
3676
+ def ProfileInfo(self, ProfileInfo):
3677
+ self._ProfileInfo = ProfileInfo
2923
3678
 
2924
3679
 
2925
3680
  def _deserialize(self, params):
3681
+ self._ProfileType = params.get("ProfileType")
2926
3682
  self._InstanceId = params.get("InstanceId")
2927
- self._SqlType = params.get("SqlType")
2928
- self._FilterKey = params.get("FilterKey")
2929
- self._MaxConcurrency = params.get("MaxConcurrency")
2930
- self._Duration = params.get("Duration")
2931
- self._SessionToken = params.get("SessionToken")
2932
3683
  self._Product = params.get("Product")
3684
+ self._ProfileInfo = params.get("ProfileInfo")
2933
3685
  memeber_set = set(params.keys())
2934
3686
  for name, value in vars(self).items():
2935
3687
  property_name = name[1:]
@@ -2940,32 +3692,18 @@ class CreateSqlFilterRequest(AbstractModel):
2940
3692
 
2941
3693
 
2942
3694
 
2943
- class CreateSqlFilterResponse(AbstractModel):
2944
- """CreateSqlFilter返回参数结构体
3695
+ class CreateUserAutonomyProfileResponse(AbstractModel):
3696
+ """CreateUserAutonomyProfile返回参数结构体
2945
3697
 
2946
3698
  """
2947
3699
 
2948
3700
  def __init__(self):
2949
3701
  r"""
2950
- :param _FilterId: 限流任务ID。
2951
- :type FilterId: int
2952
3702
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2953
3703
  :type RequestId: str
2954
3704
  """
2955
- self._FilterId = None
2956
3705
  self._RequestId = None
2957
3706
 
2958
- @property
2959
- def FilterId(self):
2960
- """限流任务ID。
2961
- :rtype: int
2962
- """
2963
- return self._FilterId
2964
-
2965
- @FilterId.setter
2966
- def FilterId(self, FilterId):
2967
- self._FilterId = FilterId
2968
-
2969
3707
  @property
2970
3708
  def RequestId(self):
2971
3709
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -2979,7 +3717,6 @@ class CreateSqlFilterResponse(AbstractModel):
2979
3717
 
2980
3718
 
2981
3719
  def _deserialize(self, params):
2982
- self._FilterId = params.get("FilterId")
2983
3720
  self._RequestId = params.get("RequestId")
2984
3721
 
2985
3722
 
@@ -3513,65 +4250,284 @@ class DeleteSqlFiltersResponse(AbstractModel):
3513
4250
  self._RequestId = params.get("RequestId")
3514
4251
 
3515
4252
 
3516
- class DescribeAlarmTemplateRequest(AbstractModel):
3517
- """DescribeAlarmTemplate请求参数结构体
4253
+ class DescribeAlarmTemplateRequest(AbstractModel):
4254
+ """DescribeAlarmTemplate请求参数结构体
4255
+
4256
+ """
4257
+
4258
+ def __init__(self):
4259
+ r"""
4260
+ :param _TemplateNameRegexp: 搜索字段
4261
+ :type TemplateNameRegexp: str
4262
+ :param _Limit: 返回限制长度
4263
+ :type Limit: int
4264
+ :param _Offset: 偏置
4265
+ :type Offset: int
4266
+ :param _Product: mysql - mysql
4267
+ cynosdb - tdsql-c
4268
+ :type Product: str
4269
+ """
4270
+ self._TemplateNameRegexp = None
4271
+ self._Limit = None
4272
+ self._Offset = None
4273
+ self._Product = None
4274
+
4275
+ @property
4276
+ def TemplateNameRegexp(self):
4277
+ """搜索字段
4278
+ :rtype: str
4279
+ """
4280
+ return self._TemplateNameRegexp
4281
+
4282
+ @TemplateNameRegexp.setter
4283
+ def TemplateNameRegexp(self, TemplateNameRegexp):
4284
+ self._TemplateNameRegexp = TemplateNameRegexp
4285
+
4286
+ @property
4287
+ def Limit(self):
4288
+ """返回限制长度
4289
+ :rtype: int
4290
+ """
4291
+ return self._Limit
4292
+
4293
+ @Limit.setter
4294
+ def Limit(self, Limit):
4295
+ self._Limit = Limit
4296
+
4297
+ @property
4298
+ def Offset(self):
4299
+ """偏置
4300
+ :rtype: int
4301
+ """
4302
+ return self._Offset
4303
+
4304
+ @Offset.setter
4305
+ def Offset(self, Offset):
4306
+ self._Offset = Offset
4307
+
4308
+ @property
4309
+ def Product(self):
4310
+ """mysql - mysql
4311
+ cynosdb - tdsql-c
4312
+ :rtype: str
4313
+ """
4314
+ return self._Product
4315
+
4316
+ @Product.setter
4317
+ def Product(self, Product):
4318
+ self._Product = Product
4319
+
4320
+
4321
+ def _deserialize(self, params):
4322
+ self._TemplateNameRegexp = params.get("TemplateNameRegexp")
4323
+ self._Limit = params.get("Limit")
4324
+ self._Offset = params.get("Offset")
4325
+ self._Product = params.get("Product")
4326
+ memeber_set = set(params.keys())
4327
+ for name, value in vars(self).items():
4328
+ property_name = name[1:]
4329
+ if property_name in memeber_set:
4330
+ memeber_set.remove(property_name)
4331
+ if len(memeber_set) > 0:
4332
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4333
+
4334
+
4335
+
4336
+ class DescribeAlarmTemplateResponse(AbstractModel):
4337
+ """DescribeAlarmTemplate返回参数结构体
4338
+
4339
+ """
4340
+
4341
+ def __init__(self):
4342
+ r"""
4343
+ :param _ProfileList: 模板列表
4344
+ :type ProfileList: list of AlarmProfileList
4345
+ :param _TotalCount: 模板总数
4346
+ :type TotalCount: int
4347
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4348
+ :type RequestId: str
4349
+ """
4350
+ self._ProfileList = None
4351
+ self._TotalCount = None
4352
+ self._RequestId = None
4353
+
4354
+ @property
4355
+ def ProfileList(self):
4356
+ """模板列表
4357
+ :rtype: list of AlarmProfileList
4358
+ """
4359
+ return self._ProfileList
4360
+
4361
+ @ProfileList.setter
4362
+ def ProfileList(self, ProfileList):
4363
+ self._ProfileList = ProfileList
4364
+
4365
+ @property
4366
+ def TotalCount(self):
4367
+ """模板总数
4368
+ :rtype: int
4369
+ """
4370
+ return self._TotalCount
4371
+
4372
+ @TotalCount.setter
4373
+ def TotalCount(self, TotalCount):
4374
+ self._TotalCount = TotalCount
4375
+
4376
+ @property
4377
+ def RequestId(self):
4378
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4379
+ :rtype: str
4380
+ """
4381
+ return self._RequestId
4382
+
4383
+ @RequestId.setter
4384
+ def RequestId(self, RequestId):
4385
+ self._RequestId = RequestId
4386
+
4387
+
4388
+ def _deserialize(self, params):
4389
+ if params.get("ProfileList") is not None:
4390
+ self._ProfileList = []
4391
+ for item in params.get("ProfileList"):
4392
+ obj = AlarmProfileList()
4393
+ obj._deserialize(item)
4394
+ self._ProfileList.append(obj)
4395
+ self._TotalCount = params.get("TotalCount")
4396
+ self._RequestId = params.get("RequestId")
4397
+
4398
+
4399
+ class DescribeAllUserContactRequest(AbstractModel):
4400
+ """DescribeAllUserContact请求参数结构体
4401
+
4402
+ """
4403
+
4404
+ def __init__(self):
4405
+ r"""
4406
+ :param _Product: 服务产品类型,固定值:mysql。
4407
+ :type Product: str
4408
+ :param _Names: 联系人名数组,支持模糊搜索。
4409
+ :type Names: list of str
4410
+ """
4411
+ self._Product = None
4412
+ self._Names = None
4413
+
4414
+ @property
4415
+ def Product(self):
4416
+ """服务产品类型,固定值:mysql。
4417
+ :rtype: str
4418
+ """
4419
+ return self._Product
4420
+
4421
+ @Product.setter
4422
+ def Product(self, Product):
4423
+ self._Product = Product
4424
+
4425
+ @property
4426
+ def Names(self):
4427
+ """联系人名数组,支持模糊搜索。
4428
+ :rtype: list of str
4429
+ """
4430
+ return self._Names
4431
+
4432
+ @Names.setter
4433
+ def Names(self, Names):
4434
+ self._Names = Names
4435
+
4436
+
4437
+ def _deserialize(self, params):
4438
+ self._Product = params.get("Product")
4439
+ self._Names = params.get("Names")
4440
+ memeber_set = set(params.keys())
4441
+ for name, value in vars(self).items():
4442
+ property_name = name[1:]
4443
+ if property_name in memeber_set:
4444
+ memeber_set.remove(property_name)
4445
+ if len(memeber_set) > 0:
4446
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4447
+
4448
+
4449
+
4450
+ class DescribeAllUserContactResponse(AbstractModel):
4451
+ """DescribeAllUserContact返回参数结构体
4452
+
4453
+ """
4454
+
4455
+ def __init__(self):
4456
+ r"""
4457
+ :param _TotalCount: 联系人的总数量。
4458
+ :type TotalCount: int
4459
+ :param _Contacts: 联系人的信息。
4460
+ :type Contacts: list of ContactItem
4461
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4462
+ :type RequestId: str
4463
+ """
4464
+ self._TotalCount = None
4465
+ self._Contacts = None
4466
+ self._RequestId = None
4467
+
4468
+ @property
4469
+ def TotalCount(self):
4470
+ """联系人的总数量。
4471
+ :rtype: int
4472
+ """
4473
+ return self._TotalCount
4474
+
4475
+ @TotalCount.setter
4476
+ def TotalCount(self, TotalCount):
4477
+ self._TotalCount = TotalCount
4478
+
4479
+ @property
4480
+ def Contacts(self):
4481
+ """联系人的信息。
4482
+ :rtype: list of ContactItem
4483
+ """
4484
+ return self._Contacts
4485
+
4486
+ @Contacts.setter
4487
+ def Contacts(self, Contacts):
4488
+ self._Contacts = Contacts
4489
+
4490
+ @property
4491
+ def RequestId(self):
4492
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4493
+ :rtype: str
4494
+ """
4495
+ return self._RequestId
4496
+
4497
+ @RequestId.setter
4498
+ def RequestId(self, RequestId):
4499
+ self._RequestId = RequestId
4500
+
4501
+
4502
+ def _deserialize(self, params):
4503
+ self._TotalCount = params.get("TotalCount")
4504
+ if params.get("Contacts") is not None:
4505
+ self._Contacts = []
4506
+ for item in params.get("Contacts"):
4507
+ obj = ContactItem()
4508
+ obj._deserialize(item)
4509
+ self._Contacts.append(obj)
4510
+ self._RequestId = params.get("RequestId")
4511
+
4512
+
4513
+ class DescribeAllUserGroupRequest(AbstractModel):
4514
+ """DescribeAllUserGroup请求参数结构体
3518
4515
 
3519
4516
  """
3520
4517
 
3521
4518
  def __init__(self):
3522
4519
  r"""
3523
- :param _TemplateNameRegexp: 搜索字段
3524
- :type TemplateNameRegexp: str
3525
- :param _Limit: 返回限制长度
3526
- :type Limit: int
3527
- :param _Offset: 偏置
3528
- :type Offset: int
3529
- :param _Product: mysql - mysql
3530
- cynosdb - tdsql-c
4520
+ :param _Product: 服务产品类型,固定值:mysql。
3531
4521
  :type Product: str
4522
+ :param _Names: 联系组名称数组,支持模糊搜索。
4523
+ :type Names: list of str
3532
4524
  """
3533
- self._TemplateNameRegexp = None
3534
- self._Limit = None
3535
- self._Offset = None
3536
4525
  self._Product = None
3537
-
3538
- @property
3539
- def TemplateNameRegexp(self):
3540
- """搜索字段
3541
- :rtype: str
3542
- """
3543
- return self._TemplateNameRegexp
3544
-
3545
- @TemplateNameRegexp.setter
3546
- def TemplateNameRegexp(self, TemplateNameRegexp):
3547
- self._TemplateNameRegexp = TemplateNameRegexp
3548
-
3549
- @property
3550
- def Limit(self):
3551
- """返回限制长度
3552
- :rtype: int
3553
- """
3554
- return self._Limit
3555
-
3556
- @Limit.setter
3557
- def Limit(self, Limit):
3558
- self._Limit = Limit
3559
-
3560
- @property
3561
- def Offset(self):
3562
- """偏置
3563
- :rtype: int
3564
- """
3565
- return self._Offset
3566
-
3567
- @Offset.setter
3568
- def Offset(self, Offset):
3569
- self._Offset = Offset
4526
+ self._Names = None
3570
4527
 
3571
4528
  @property
3572
4529
  def Product(self):
3573
- """mysql - mysql
3574
- cynosdb - tdsql-c
4530
+ """服务产品类型,固定值:mysql
3575
4531
  :rtype: str
3576
4532
  """
3577
4533
  return self._Product
@@ -3580,12 +4536,21 @@ cynosdb - tdsql-c
3580
4536
  def Product(self, Product):
3581
4537
  self._Product = Product
3582
4538
 
4539
+ @property
4540
+ def Names(self):
4541
+ """联系组名称数组,支持模糊搜索。
4542
+ :rtype: list of str
4543
+ """
4544
+ return self._Names
4545
+
4546
+ @Names.setter
4547
+ def Names(self, Names):
4548
+ self._Names = Names
4549
+
3583
4550
 
3584
4551
  def _deserialize(self, params):
3585
- self._TemplateNameRegexp = params.get("TemplateNameRegexp")
3586
- self._Limit = params.get("Limit")
3587
- self._Offset = params.get("Offset")
3588
4552
  self._Product = params.get("Product")
4553
+ self._Names = params.get("Names")
3589
4554
  memeber_set = set(params.keys())
3590
4555
  for name, value in vars(self).items():
3591
4556
  property_name = name[1:]
@@ -3596,38 +4561,27 @@ cynosdb - tdsql-c
3596
4561
 
3597
4562
 
3598
4563
 
3599
- class DescribeAlarmTemplateResponse(AbstractModel):
3600
- """DescribeAlarmTemplate返回参数结构体
4564
+ class DescribeAllUserGroupResponse(AbstractModel):
4565
+ """DescribeAllUserGroup返回参数结构体
3601
4566
 
3602
4567
  """
3603
4568
 
3604
4569
  def __init__(self):
3605
4570
  r"""
3606
- :param _ProfileList: 模板列表
3607
- :type ProfileList: list of AlarmProfileList
3608
- :param _TotalCount: 模板总数
4571
+ :param _TotalCount: 组总数。
3609
4572
  :type TotalCount: int
4573
+ :param _Groups: 组信息。
4574
+ :type Groups: list of GroupItem
3610
4575
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3611
4576
  :type RequestId: str
3612
4577
  """
3613
- self._ProfileList = None
3614
4578
  self._TotalCount = None
4579
+ self._Groups = None
3615
4580
  self._RequestId = None
3616
4581
 
3617
- @property
3618
- def ProfileList(self):
3619
- """模板列表
3620
- :rtype: list of AlarmProfileList
3621
- """
3622
- return self._ProfileList
3623
-
3624
- @ProfileList.setter
3625
- def ProfileList(self, ProfileList):
3626
- self._ProfileList = ProfileList
3627
-
3628
4582
  @property
3629
4583
  def TotalCount(self):
3630
- """模板总数
4584
+ """组总数。
3631
4585
  :rtype: int
3632
4586
  """
3633
4587
  return self._TotalCount
@@ -3636,6 +4590,17 @@ class DescribeAlarmTemplateResponse(AbstractModel):
3636
4590
  def TotalCount(self, TotalCount):
3637
4591
  self._TotalCount = TotalCount
3638
4592
 
4593
+ @property
4594
+ def Groups(self):
4595
+ """组信息。
4596
+ :rtype: list of GroupItem
4597
+ """
4598
+ return self._Groups
4599
+
4600
+ @Groups.setter
4601
+ def Groups(self, Groups):
4602
+ self._Groups = Groups
4603
+
3639
4604
  @property
3640
4605
  def RequestId(self):
3641
4606
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -3649,34 +4614,46 @@ class DescribeAlarmTemplateResponse(AbstractModel):
3649
4614
 
3650
4615
 
3651
4616
  def _deserialize(self, params):
3652
- if params.get("ProfileList") is not None:
3653
- self._ProfileList = []
3654
- for item in params.get("ProfileList"):
3655
- obj = AlarmProfileList()
3656
- obj._deserialize(item)
3657
- self._ProfileList.append(obj)
3658
4617
  self._TotalCount = params.get("TotalCount")
4618
+ if params.get("Groups") is not None:
4619
+ self._Groups = []
4620
+ for item in params.get("Groups"):
4621
+ obj = GroupItem()
4622
+ obj._deserialize(item)
4623
+ self._Groups.append(obj)
3659
4624
  self._RequestId = params.get("RequestId")
3660
4625
 
3661
4626
 
3662
- class DescribeAllUserContactRequest(AbstractModel):
3663
- """DescribeAllUserContact请求参数结构体
4627
+ class DescribeAuditInstanceListRequest(AbstractModel):
4628
+ """DescribeAuditInstanceList请求参数结构体
3664
4629
 
3665
4630
  """
3666
4631
 
3667
4632
  def __init__(self):
3668
4633
  r"""
3669
- :param _Product: 服务产品类型,固定值:mysql
4634
+ :param _Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB
3670
4635
  :type Product: str
3671
- :param _Names: 联系人名数组,支持模糊搜索。
3672
- :type Names: list of str
4636
+ :param _NodeRequestType: 与Product保持一致。如:"dcdb" ,"mariadb"。
4637
+ :type NodeRequestType: str
4638
+ :param _AuditSwitch: 审计状态标识,0-未开通审计;1-已开通审计,默认为0。
4639
+ :type AuditSwitch: int
4640
+ :param _Offset: 偏移量,默认为0。
4641
+ :type Offset: int
4642
+ :param _Limit: 查询数目,默认为20,最大为100。
4643
+ :type Limit: int
4644
+ :param _Filters: 查询实例的搜索条件。
4645
+ :type Filters: list of AuditInstanceFilter
3673
4646
  """
3674
4647
  self._Product = None
3675
- self._Names = None
4648
+ self._NodeRequestType = None
4649
+ self._AuditSwitch = None
4650
+ self._Offset = None
4651
+ self._Limit = None
4652
+ self._Filters = None
3676
4653
 
3677
4654
  @property
3678
4655
  def Product(self):
3679
- """服务产品类型,固定值:mysql
4656
+ """服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB
3680
4657
  :rtype: str
3681
4658
  """
3682
4659
  return self._Product
@@ -3686,20 +4663,73 @@ class DescribeAllUserContactRequest(AbstractModel):
3686
4663
  self._Product = Product
3687
4664
 
3688
4665
  @property
3689
- def Names(self):
3690
- """联系人名数组,支持模糊搜索。
3691
- :rtype: list of str
4666
+ def NodeRequestType(self):
4667
+ """与Product保持一致。如:"dcdb" ,"mariadb"。
4668
+ :rtype: str
3692
4669
  """
3693
- return self._Names
4670
+ return self._NodeRequestType
3694
4671
 
3695
- @Names.setter
3696
- def Names(self, Names):
3697
- self._Names = Names
4672
+ @NodeRequestType.setter
4673
+ def NodeRequestType(self, NodeRequestType):
4674
+ self._NodeRequestType = NodeRequestType
4675
+
4676
+ @property
4677
+ def AuditSwitch(self):
4678
+ """审计状态标识,0-未开通审计;1-已开通审计,默认为0。
4679
+ :rtype: int
4680
+ """
4681
+ return self._AuditSwitch
4682
+
4683
+ @AuditSwitch.setter
4684
+ def AuditSwitch(self, AuditSwitch):
4685
+ self._AuditSwitch = AuditSwitch
4686
+
4687
+ @property
4688
+ def Offset(self):
4689
+ """偏移量,默认为0。
4690
+ :rtype: int
4691
+ """
4692
+ return self._Offset
4693
+
4694
+ @Offset.setter
4695
+ def Offset(self, Offset):
4696
+ self._Offset = Offset
4697
+
4698
+ @property
4699
+ def Limit(self):
4700
+ """查询数目,默认为20,最大为100。
4701
+ :rtype: int
4702
+ """
4703
+ return self._Limit
4704
+
4705
+ @Limit.setter
4706
+ def Limit(self, Limit):
4707
+ self._Limit = Limit
4708
+
4709
+ @property
4710
+ def Filters(self):
4711
+ """查询实例的搜索条件。
4712
+ :rtype: list of AuditInstanceFilter
4713
+ """
4714
+ return self._Filters
4715
+
4716
+ @Filters.setter
4717
+ def Filters(self, Filters):
4718
+ self._Filters = Filters
3698
4719
 
3699
4720
 
3700
4721
  def _deserialize(self, params):
3701
4722
  self._Product = params.get("Product")
3702
- self._Names = params.get("Names")
4723
+ self._NodeRequestType = params.get("NodeRequestType")
4724
+ self._AuditSwitch = params.get("AuditSwitch")
4725
+ self._Offset = params.get("Offset")
4726
+ self._Limit = params.get("Limit")
4727
+ if params.get("Filters") is not None:
4728
+ self._Filters = []
4729
+ for item in params.get("Filters"):
4730
+ obj = AuditInstanceFilter()
4731
+ obj._deserialize(item)
4732
+ self._Filters.append(obj)
3703
4733
  memeber_set = set(params.keys())
3704
4734
  for name, value in vars(self).items():
3705
4735
  property_name = name[1:]
@@ -3710,27 +4740,27 @@ class DescribeAllUserContactRequest(AbstractModel):
3710
4740
 
3711
4741
 
3712
4742
 
3713
- class DescribeAllUserContactResponse(AbstractModel):
3714
- """DescribeAllUserContact返回参数结构体
4743
+ class DescribeAuditInstanceListResponse(AbstractModel):
4744
+ """DescribeAuditInstanceList返回参数结构体
3715
4745
 
3716
4746
  """
3717
4747
 
3718
4748
  def __init__(self):
3719
4749
  r"""
3720
- :param _TotalCount: 联系人的总数量。
3721
- :type TotalCount: int
3722
- :param _Contacts: 联系人的信息。
3723
- :type Contacts: list of ContactItem
4750
+ :param _TotalCount: 符合条件的实例个数。
4751
+ :type TotalCount: int
4752
+ :param _Items: 实例详情。
4753
+ :type Items: list of AuditInstance
3724
4754
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3725
4755
  :type RequestId: str
3726
4756
  """
3727
4757
  self._TotalCount = None
3728
- self._Contacts = None
4758
+ self._Items = None
3729
4759
  self._RequestId = None
3730
4760
 
3731
4761
  @property
3732
4762
  def TotalCount(self):
3733
- """联系人的总数量。
4763
+ """符合条件的实例个数。
3734
4764
  :rtype: int
3735
4765
  """
3736
4766
  return self._TotalCount
@@ -3740,15 +4770,15 @@ class DescribeAllUserContactResponse(AbstractModel):
3740
4770
  self._TotalCount = TotalCount
3741
4771
 
3742
4772
  @property
3743
- def Contacts(self):
3744
- """联系人的信息。
3745
- :rtype: list of ContactItem
4773
+ def Items(self):
4774
+ """实例详情。
4775
+ :rtype: list of AuditInstance
3746
4776
  """
3747
- return self._Contacts
4777
+ return self._Items
3748
4778
 
3749
- @Contacts.setter
3750
- def Contacts(self, Contacts):
3751
- self._Contacts = Contacts
4779
+ @Items.setter
4780
+ def Items(self, Items):
4781
+ self._Items = Items
3752
4782
 
3753
4783
  @property
3754
4784
  def RequestId(self):
@@ -3764,33 +4794,42 @@ class DescribeAllUserContactResponse(AbstractModel):
3764
4794
 
3765
4795
  def _deserialize(self, params):
3766
4796
  self._TotalCount = params.get("TotalCount")
3767
- if params.get("Contacts") is not None:
3768
- self._Contacts = []
3769
- for item in params.get("Contacts"):
3770
- obj = ContactItem()
4797
+ if params.get("Items") is not None:
4798
+ self._Items = []
4799
+ for item in params.get("Items"):
4800
+ obj = AuditInstance()
3771
4801
  obj._deserialize(item)
3772
- self._Contacts.append(obj)
4802
+ self._Items.append(obj)
3773
4803
  self._RequestId = params.get("RequestId")
3774
4804
 
3775
4805
 
3776
- class DescribeAllUserGroupRequest(AbstractModel):
3777
- """DescribeAllUserGroup请求参数结构体
4806
+ class DescribeAuditLogFilesRequest(AbstractModel):
4807
+ """DescribeAuditLogFiles请求参数结构体
3778
4808
 
3779
4809
  """
3780
4810
 
3781
4811
  def __init__(self):
3782
4812
  r"""
3783
- :param _Product: 服务产品类型,固定值:mysql
4813
+ :param _Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB for MariaDB, "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL, "postgres" - 云数据库 PostgreSQL
3784
4814
  :type Product: str
3785
- :param _Names: 联系组名称数组,支持模糊搜索。
3786
- :type Names: list of str
4815
+ :param _NodeRequestType: 该字段规则如下: 当product为"dcdb"则输入"dcdb", 当product为"mariadb"则输入"mariadb", 当product为"mysql"则输入"mysql", 当product为"cynosdb"则输入"mysql", 当product为"postgres"则输入"postgres"。
4816
+ :type NodeRequestType: str
4817
+ :param _InstanceId: 实例 ID 。
4818
+ :type InstanceId: str
4819
+ :param _Offset: 偏移量,默认为0。
4820
+ :type Offset: int
4821
+ :param _Limit: 查询数目,默认为20,最大为100。
4822
+ :type Limit: int
3787
4823
  """
3788
4824
  self._Product = None
3789
- self._Names = None
4825
+ self._NodeRequestType = None
4826
+ self._InstanceId = None
4827
+ self._Offset = None
4828
+ self._Limit = None
3790
4829
 
3791
4830
  @property
3792
4831
  def Product(self):
3793
- """服务产品类型,固定值:mysql
4832
+ """服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB for MariaDB, "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL, "postgres" - 云数据库 PostgreSQL
3794
4833
  :rtype: str
3795
4834
  """
3796
4835
  return self._Product
@@ -3800,20 +4839,56 @@ class DescribeAllUserGroupRequest(AbstractModel):
3800
4839
  self._Product = Product
3801
4840
 
3802
4841
  @property
3803
- def Names(self):
3804
- """联系组名称数组,支持模糊搜索。
3805
- :rtype: list of str
4842
+ def NodeRequestType(self):
4843
+ """该字段规则如下: 当product为"dcdb"则输入"dcdb", 当product为"mariadb"则输入"mariadb", 当product为"mysql"则输入"mysql", 当product为"cynosdb"则输入"mysql", 当product为"postgres"则输入"postgres"。
4844
+ :rtype: str
3806
4845
  """
3807
- return self._Names
4846
+ return self._NodeRequestType
3808
4847
 
3809
- @Names.setter
3810
- def Names(self, Names):
3811
- self._Names = Names
4848
+ @NodeRequestType.setter
4849
+ def NodeRequestType(self, NodeRequestType):
4850
+ self._NodeRequestType = NodeRequestType
4851
+
4852
+ @property
4853
+ def InstanceId(self):
4854
+ """实例 ID 。
4855
+ :rtype: str
4856
+ """
4857
+ return self._InstanceId
4858
+
4859
+ @InstanceId.setter
4860
+ def InstanceId(self, InstanceId):
4861
+ self._InstanceId = InstanceId
4862
+
4863
+ @property
4864
+ def Offset(self):
4865
+ """偏移量,默认为0。
4866
+ :rtype: int
4867
+ """
4868
+ return self._Offset
4869
+
4870
+ @Offset.setter
4871
+ def Offset(self, Offset):
4872
+ self._Offset = Offset
4873
+
4874
+ @property
4875
+ def Limit(self):
4876
+ """查询数目,默认为20,最大为100。
4877
+ :rtype: int
4878
+ """
4879
+ return self._Limit
4880
+
4881
+ @Limit.setter
4882
+ def Limit(self, Limit):
4883
+ self._Limit = Limit
3812
4884
 
3813
4885
 
3814
4886
  def _deserialize(self, params):
3815
4887
  self._Product = params.get("Product")
3816
- self._Names = params.get("Names")
4888
+ self._NodeRequestType = params.get("NodeRequestType")
4889
+ self._InstanceId = params.get("InstanceId")
4890
+ self._Offset = params.get("Offset")
4891
+ self._Limit = params.get("Limit")
3817
4892
  memeber_set = set(params.keys())
3818
4893
  for name, value in vars(self).items():
3819
4894
  property_name = name[1:]
@@ -3824,27 +4899,30 @@ class DescribeAllUserGroupRequest(AbstractModel):
3824
4899
 
3825
4900
 
3826
4901
 
3827
- class DescribeAllUserGroupResponse(AbstractModel):
3828
- """DescribeAllUserGroup返回参数结构体
4902
+ class DescribeAuditLogFilesResponse(AbstractModel):
4903
+ """DescribeAuditLogFiles返回参数结构体
3829
4904
 
3830
4905
  """
3831
4906
 
3832
4907
  def __init__(self):
3833
4908
  r"""
3834
- :param _TotalCount: 组总数。
4909
+ :param _TotalCount: 符合条件的审计日志文件个数。
4910
+ 注意:此字段可能返回 null,表示取不到有效值。
3835
4911
  :type TotalCount: int
3836
- :param _Groups: 组信息。
3837
- :type Groups: list of GroupItem
4912
+ :param _Items: 审计日志文件详情。
4913
+ 注意:此字段可能返回 null,表示取不到有效值。
4914
+ :type Items: list of AuditLogFile
3838
4915
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3839
4916
  :type RequestId: str
3840
4917
  """
3841
4918
  self._TotalCount = None
3842
- self._Groups = None
4919
+ self._Items = None
3843
4920
  self._RequestId = None
3844
4921
 
3845
4922
  @property
3846
4923
  def TotalCount(self):
3847
- """组总数。
4924
+ """符合条件的审计日志文件个数。
4925
+ 注意:此字段可能返回 null,表示取不到有效值。
3848
4926
  :rtype: int
3849
4927
  """
3850
4928
  return self._TotalCount
@@ -3854,15 +4932,16 @@ class DescribeAllUserGroupResponse(AbstractModel):
3854
4932
  self._TotalCount = TotalCount
3855
4933
 
3856
4934
  @property
3857
- def Groups(self):
3858
- """组信息。
3859
- :rtype: list of GroupItem
4935
+ def Items(self):
4936
+ """审计日志文件详情。
4937
+ 注意:此字段可能返回 null,表示取不到有效值。
4938
+ :rtype: list of AuditLogFile
3860
4939
  """
3861
- return self._Groups
4940
+ return self._Items
3862
4941
 
3863
- @Groups.setter
3864
- def Groups(self, Groups):
3865
- self._Groups = Groups
4942
+ @Items.setter
4943
+ def Items(self, Items):
4944
+ self._Items = Items
3866
4945
 
3867
4946
  @property
3868
4947
  def RequestId(self):
@@ -3878,121 +4957,71 @@ class DescribeAllUserGroupResponse(AbstractModel):
3878
4957
 
3879
4958
  def _deserialize(self, params):
3880
4959
  self._TotalCount = params.get("TotalCount")
3881
- if params.get("Groups") is not None:
3882
- self._Groups = []
3883
- for item in params.get("Groups"):
3884
- obj = GroupItem()
4960
+ if params.get("Items") is not None:
4961
+ self._Items = []
4962
+ for item in params.get("Items"):
4963
+ obj = AuditLogFile()
3885
4964
  obj._deserialize(item)
3886
- self._Groups.append(obj)
4965
+ self._Items.append(obj)
3887
4966
  self._RequestId = params.get("RequestId")
3888
4967
 
3889
4968
 
3890
- class DescribeAuditInstanceListRequest(AbstractModel):
3891
- """DescribeAuditInstanceList请求参数结构体
4969
+ class DescribeDBAutonomyActionsRequest(AbstractModel):
4970
+ """DescribeDBAutonomyActions请求参数结构体
3892
4971
 
3893
4972
  """
3894
4973
 
3895
4974
  def __init__(self):
3896
4975
  r"""
3897
- :param _Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB
4976
+ :param _EventId: 事件ID
4977
+ :type EventId: int
4978
+ :param _InstanceId: 实列ID。
4979
+ :type InstanceId: str
4980
+ :param _Product: 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
3898
4981
  :type Product: str
3899
- :param _NodeRequestType: 与Product保持一致。如:"dcdb" ,"mariadb"。
3900
- :type NodeRequestType: str
3901
- :param _AuditSwitch: 审计状态标识,0-未开通审计;1-已开通审计,默认为0。
3902
- :type AuditSwitch: int
3903
- :param _Offset: 偏移量,默认为0。
3904
- :type Offset: int
3905
- :param _Limit: 查询数目,默认为20,最大为100。
3906
- :type Limit: int
3907
- :param _Filters: 查询实例的搜索条件。
3908
- :type Filters: list of AuditInstanceFilter
3909
4982
  """
4983
+ self._EventId = None
4984
+ self._InstanceId = None
3910
4985
  self._Product = None
3911
- self._NodeRequestType = None
3912
- self._AuditSwitch = None
3913
- self._Offset = None
3914
- self._Limit = None
3915
- self._Filters = None
3916
-
3917
- @property
3918
- def Product(self):
3919
- """服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB。
3920
- :rtype: str
3921
- """
3922
- return self._Product
3923
-
3924
- @Product.setter
3925
- def Product(self, Product):
3926
- self._Product = Product
3927
-
3928
- @property
3929
- def NodeRequestType(self):
3930
- """与Product保持一致。如:"dcdb" ,"mariadb"。
3931
- :rtype: str
3932
- """
3933
- return self._NodeRequestType
3934
-
3935
- @NodeRequestType.setter
3936
- def NodeRequestType(self, NodeRequestType):
3937
- self._NodeRequestType = NodeRequestType
3938
-
3939
- @property
3940
- def AuditSwitch(self):
3941
- """审计状态标识,0-未开通审计;1-已开通审计,默认为0。
3942
- :rtype: int
3943
- """
3944
- return self._AuditSwitch
3945
-
3946
- @AuditSwitch.setter
3947
- def AuditSwitch(self, AuditSwitch):
3948
- self._AuditSwitch = AuditSwitch
3949
4986
 
3950
4987
  @property
3951
- def Offset(self):
3952
- """偏移量,默认为0
4988
+ def EventId(self):
4989
+ """事件ID
3953
4990
  :rtype: int
3954
4991
  """
3955
- return self._Offset
4992
+ return self._EventId
3956
4993
 
3957
- @Offset.setter
3958
- def Offset(self, Offset):
3959
- self._Offset = Offset
4994
+ @EventId.setter
4995
+ def EventId(self, EventId):
4996
+ self._EventId = EventId
3960
4997
 
3961
4998
  @property
3962
- def Limit(self):
3963
- """查询数目,默认为20,最大为100
3964
- :rtype: int
4999
+ def InstanceId(self):
5000
+ """实列ID
5001
+ :rtype: str
3965
5002
  """
3966
- return self._Limit
5003
+ return self._InstanceId
3967
5004
 
3968
- @Limit.setter
3969
- def Limit(self, Limit):
3970
- self._Limit = Limit
5005
+ @InstanceId.setter
5006
+ def InstanceId(self, InstanceId):
5007
+ self._InstanceId = InstanceId
3971
5008
 
3972
5009
  @property
3973
- def Filters(self):
3974
- """查询实例的搜索条件。
3975
- :rtype: list of AuditInstanceFilter
5010
+ def Product(self):
5011
+ """服务产品类型,支持值包括: "redis" - 云数据库 Redis。
5012
+ :rtype: str
3976
5013
  """
3977
- return self._Filters
3978
-
3979
- @Filters.setter
3980
- def Filters(self, Filters):
3981
- self._Filters = Filters
3982
-
5014
+ return self._Product
3983
5015
 
3984
- def _deserialize(self, params):
3985
- self._Product = params.get("Product")
3986
- self._NodeRequestType = params.get("NodeRequestType")
3987
- self._AuditSwitch = params.get("AuditSwitch")
3988
- self._Offset = params.get("Offset")
3989
- self._Limit = params.get("Limit")
3990
- if params.get("Filters") is not None:
3991
- self._Filters = []
3992
- for item in params.get("Filters"):
3993
- obj = AuditInstanceFilter()
3994
- obj._deserialize(item)
3995
- self._Filters.append(obj)
5016
+ @Product.setter
5017
+ def Product(self, Product):
5018
+ self._Product = Product
5019
+
5020
+
5021
+ def _deserialize(self, params):
5022
+ self._EventId = params.get("EventId")
5023
+ self._InstanceId = params.get("InstanceId")
5024
+ self._Product = params.get("Product")
3996
5025
  memeber_set = set(params.keys())
3997
5026
  for name, value in vars(self).items():
3998
5027
  property_name = name[1:]
@@ -4003,27 +5032,27 @@ class DescribeAuditInstanceListRequest(AbstractModel):
4003
5032
 
4004
5033
 
4005
5034
 
4006
- class DescribeAuditInstanceListResponse(AbstractModel):
4007
- """DescribeAuditInstanceList返回参数结构体
5035
+ class DescribeDBAutonomyActionsResponse(AbstractModel):
5036
+ """DescribeDBAutonomyActions返回参数结构体
4008
5037
 
4009
5038
  """
4010
5039
 
4011
5040
  def __init__(self):
4012
5041
  r"""
4013
- :param _TotalCount: 符合条件的实例个数。
5042
+ :param _TotalCount: 自治事件总数。
4014
5043
  :type TotalCount: int
4015
- :param _Items: 实例详情。
4016
- :type Items: list of AuditInstance
5044
+ :param _Actions: 自治事件列表。
5045
+ :type Actions: list of AutonomyActionVo
4017
5046
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4018
5047
  :type RequestId: str
4019
5048
  """
4020
5049
  self._TotalCount = None
4021
- self._Items = None
5050
+ self._Actions = None
4022
5051
  self._RequestId = None
4023
5052
 
4024
5053
  @property
4025
5054
  def TotalCount(self):
4026
- """符合条件的实例个数。
5055
+ """自治事件总数。
4027
5056
  :rtype: int
4028
5057
  """
4029
5058
  return self._TotalCount
@@ -4033,15 +5062,15 @@ class DescribeAuditInstanceListResponse(AbstractModel):
4033
5062
  self._TotalCount = TotalCount
4034
5063
 
4035
5064
  @property
4036
- def Items(self):
4037
- """实例详情。
4038
- :rtype: list of AuditInstance
5065
+ def Actions(self):
5066
+ """自治事件列表。
5067
+ :rtype: list of AutonomyActionVo
4039
5068
  """
4040
- return self._Items
5069
+ return self._Actions
4041
5070
 
4042
- @Items.setter
4043
- def Items(self, Items):
4044
- self._Items = Items
5071
+ @Actions.setter
5072
+ def Actions(self, Actions):
5073
+ self._Actions = Actions
4045
5074
 
4046
5075
  @property
4047
5076
  def RequestId(self):
@@ -4057,42 +5086,45 @@ class DescribeAuditInstanceListResponse(AbstractModel):
4057
5086
 
4058
5087
  def _deserialize(self, params):
4059
5088
  self._TotalCount = params.get("TotalCount")
4060
- if params.get("Items") is not None:
4061
- self._Items = []
4062
- for item in params.get("Items"):
4063
- obj = AuditInstance()
5089
+ if params.get("Actions") is not None:
5090
+ self._Actions = []
5091
+ for item in params.get("Actions"):
5092
+ obj = AutonomyActionVo()
4064
5093
  obj._deserialize(item)
4065
- self._Items.append(obj)
5094
+ self._Actions.append(obj)
4066
5095
  self._RequestId = params.get("RequestId")
4067
5096
 
4068
5097
 
4069
- class DescribeAuditLogFilesRequest(AbstractModel):
4070
- """DescribeAuditLogFiles请求参数结构体
5098
+ class DescribeDBAutonomyEventsRequest(AbstractModel):
5099
+ """DescribeDBAutonomyEvents请求参数结构体
4071
5100
 
4072
5101
  """
4073
5102
 
4074
5103
  def __init__(self):
4075
5104
  r"""
4076
- :param _Product: 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB for MariaDB, "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL, "postgres" - 云数据库 PostgreSQL
5105
+ :param _Product: 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
4077
5106
  :type Product: str
4078
- :param _NodeRequestType: 该字段规则如下: 当product为"dcdb"则输入"dcdb", 当product为"mariadb"则输入"mariadb", 当product为"mysql"则输入"mysql", 当product为"cynosdb"则输入"mysql", 当product为"postgres"则输入"postgres"
4079
- :type NodeRequestType: str
4080
- :param _InstanceId: 实例 ID 。
5107
+ :param _InstanceId: 实列ID
4081
5108
  :type InstanceId: str
4082
- :param _Offset: 偏移量,默认为0。
5109
+ :param _StartTime: 开始时间。
5110
+ :type StartTime: str
5111
+ :param _EndTime: 结束时间。
5112
+ :type EndTime: str
5113
+ :param _Offset: 分页参数,默认值为0。
4083
5114
  :type Offset: int
4084
- :param _Limit: 查询数目,默认为20,最大为100
5115
+ :param _Limit: 分页参数,默认值为20。
4085
5116
  :type Limit: int
4086
5117
  """
4087
5118
  self._Product = None
4088
- self._NodeRequestType = None
4089
5119
  self._InstanceId = None
5120
+ self._StartTime = None
5121
+ self._EndTime = None
4090
5122
  self._Offset = None
4091
5123
  self._Limit = None
4092
5124
 
4093
5125
  @property
4094
5126
  def Product(self):
4095
- """服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB for MariaDB, "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL, "postgres" - 云数据库 PostgreSQL
5127
+ """服务产品类型,支持值包括: "redis" - 云数据库 Redis。
4096
5128
  :rtype: str
4097
5129
  """
4098
5130
  return self._Product
@@ -4101,20 +5133,9 @@ class DescribeAuditLogFilesRequest(AbstractModel):
4101
5133
  def Product(self, Product):
4102
5134
  self._Product = Product
4103
5135
 
4104
- @property
4105
- def NodeRequestType(self):
4106
- """该字段规则如下: 当product为"dcdb"则输入"dcdb", 当product为"mariadb"则输入"mariadb", 当product为"mysql"则输入"mysql", 当product为"cynosdb"则输入"mysql", 当product为"postgres"则输入"postgres"。
4107
- :rtype: str
4108
- """
4109
- return self._NodeRequestType
4110
-
4111
- @NodeRequestType.setter
4112
- def NodeRequestType(self, NodeRequestType):
4113
- self._NodeRequestType = NodeRequestType
4114
-
4115
5136
  @property
4116
5137
  def InstanceId(self):
4117
- """实例 ID
5138
+ """实列ID。
4118
5139
  :rtype: str
4119
5140
  """
4120
5141
  return self._InstanceId
@@ -4123,9 +5144,31 @@ class DescribeAuditLogFilesRequest(AbstractModel):
4123
5144
  def InstanceId(self, InstanceId):
4124
5145
  self._InstanceId = InstanceId
4125
5146
 
5147
+ @property
5148
+ def StartTime(self):
5149
+ """开始时间。
5150
+ :rtype: str
5151
+ """
5152
+ return self._StartTime
5153
+
5154
+ @StartTime.setter
5155
+ def StartTime(self, StartTime):
5156
+ self._StartTime = StartTime
5157
+
5158
+ @property
5159
+ def EndTime(self):
5160
+ """结束时间。
5161
+ :rtype: str
5162
+ """
5163
+ return self._EndTime
5164
+
5165
+ @EndTime.setter
5166
+ def EndTime(self, EndTime):
5167
+ self._EndTime = EndTime
5168
+
4126
5169
  @property
4127
5170
  def Offset(self):
4128
- """偏移量,默认为0。
5171
+ """分页参数,默认值为0。
4129
5172
  :rtype: int
4130
5173
  """
4131
5174
  return self._Offset
@@ -4136,7 +5179,7 @@ class DescribeAuditLogFilesRequest(AbstractModel):
4136
5179
 
4137
5180
  @property
4138
5181
  def Limit(self):
4139
- """查询数目,默认为20,最大为100
5182
+ """分页参数,默认值为20。
4140
5183
  :rtype: int
4141
5184
  """
4142
5185
  return self._Limit
@@ -4148,8 +5191,9 @@ class DescribeAuditLogFilesRequest(AbstractModel):
4148
5191
 
4149
5192
  def _deserialize(self, params):
4150
5193
  self._Product = params.get("Product")
4151
- self._NodeRequestType = params.get("NodeRequestType")
4152
5194
  self._InstanceId = params.get("InstanceId")
5195
+ self._StartTime = params.get("StartTime")
5196
+ self._EndTime = params.get("EndTime")
4153
5197
  self._Offset = params.get("Offset")
4154
5198
  self._Limit = params.get("Limit")
4155
5199
  memeber_set = set(params.keys())
@@ -4162,30 +5206,27 @@ class DescribeAuditLogFilesRequest(AbstractModel):
4162
5206
 
4163
5207
 
4164
5208
 
4165
- class DescribeAuditLogFilesResponse(AbstractModel):
4166
- """DescribeAuditLogFiles返回参数结构体
5209
+ class DescribeDBAutonomyEventsResponse(AbstractModel):
5210
+ """DescribeDBAutonomyEvents返回参数结构体
4167
5211
 
4168
5212
  """
4169
5213
 
4170
5214
  def __init__(self):
4171
5215
  r"""
4172
- :param _TotalCount: 符合条件的审计日志文件个数。
4173
- 注意:此字段可能返回 null,表示取不到有效值。
5216
+ :param _TotalCount: 自治事件列表总数。
4174
5217
  :type TotalCount: int
4175
- :param _Items: 审计日志文件详情。
4176
- 注意:此字段可能返回 null,表示取不到有效值。
4177
- :type Items: list of AuditLogFile
5218
+ :param _Events: 自治事件列表。
5219
+ :type Events: list of AutonomyEventVo
4178
5220
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4179
5221
  :type RequestId: str
4180
5222
  """
4181
5223
  self._TotalCount = None
4182
- self._Items = None
5224
+ self._Events = None
4183
5225
  self._RequestId = None
4184
5226
 
4185
5227
  @property
4186
5228
  def TotalCount(self):
4187
- """符合条件的审计日志文件个数。
4188
- 注意:此字段可能返回 null,表示取不到有效值。
5229
+ """自治事件列表总数。
4189
5230
  :rtype: int
4190
5231
  """
4191
5232
  return self._TotalCount
@@ -4195,16 +5236,15 @@ class DescribeAuditLogFilesResponse(AbstractModel):
4195
5236
  self._TotalCount = TotalCount
4196
5237
 
4197
5238
  @property
4198
- def Items(self):
4199
- """审计日志文件详情。
4200
- 注意:此字段可能返回 null,表示取不到有效值。
4201
- :rtype: list of AuditLogFile
5239
+ def Events(self):
5240
+ """自治事件列表。
5241
+ :rtype: list of AutonomyEventVo
4202
5242
  """
4203
- return self._Items
5243
+ return self._Events
4204
5244
 
4205
- @Items.setter
4206
- def Items(self, Items):
4207
- self._Items = Items
5245
+ @Events.setter
5246
+ def Events(self, Events):
5247
+ self._Events = Events
4208
5248
 
4209
5249
  @property
4210
5250
  def RequestId(self):
@@ -4220,12 +5260,12 @@ class DescribeAuditLogFilesResponse(AbstractModel):
4220
5260
 
4221
5261
  def _deserialize(self, params):
4222
5262
  self._TotalCount = params.get("TotalCount")
4223
- if params.get("Items") is not None:
4224
- self._Items = []
4225
- for item in params.get("Items"):
4226
- obj = AuditLogFile()
5263
+ if params.get("Events") is not None:
5264
+ self._Events = []
5265
+ for item in params.get("Events"):
5266
+ obj = AutonomyEventVo()
4227
5267
  obj._deserialize(item)
4228
- self._Items.append(obj)
5268
+ self._Events.append(obj)
4229
5269
  self._RequestId = params.get("RequestId")
4230
5270
 
4231
5271
 
@@ -9502,67 +10542,197 @@ class DescribeTopSpaceTableTimeSeriesResponse(AbstractModel):
9502
10542
  for item in params.get("TopSpaceTableTimeSeries"):
9503
10543
  obj = TableSpaceTimeSeries()
9504
10544
  obj._deserialize(item)
9505
- self._TopSpaceTableTimeSeries.append(obj)
10545
+ self._TopSpaceTableTimeSeries.append(obj)
10546
+ self._RequestId = params.get("RequestId")
10547
+
10548
+
10549
+ class DescribeTopSpaceTablesRequest(AbstractModel):
10550
+ """DescribeTopSpaceTables请求参数结构体
10551
+
10552
+ """
10553
+
10554
+ def __init__(self):
10555
+ r"""
10556
+ :param _InstanceId: 实例 ID 。
10557
+ :type InstanceId: str
10558
+ :param _Limit: 返回的Top表数量,最大值为100,默认为20。
10559
+ :type Limit: int
10560
+ :param _SortBy: 筛选Top表所用的排序字段,可选字段包含DataLength、IndexLength、TotalLength、DataFree、FragRatio、TableRows、PhysicalFileSize(仅云数据库 MySQL实例支持),云数据库 MySQL实例默认为 PhysicalFileSize,其他产品实例默认为TotalLength。
10561
+ :type SortBy: str
10562
+ :param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
10563
+ :type Product: str
10564
+ """
10565
+ self._InstanceId = None
10566
+ self._Limit = None
10567
+ self._SortBy = None
10568
+ self._Product = None
10569
+
10570
+ @property
10571
+ def InstanceId(self):
10572
+ """实例 ID 。
10573
+ :rtype: str
10574
+ """
10575
+ return self._InstanceId
10576
+
10577
+ @InstanceId.setter
10578
+ def InstanceId(self, InstanceId):
10579
+ self._InstanceId = InstanceId
10580
+
10581
+ @property
10582
+ def Limit(self):
10583
+ """返回的Top表数量,最大值为100,默认为20。
10584
+ :rtype: int
10585
+ """
10586
+ return self._Limit
10587
+
10588
+ @Limit.setter
10589
+ def Limit(self, Limit):
10590
+ self._Limit = Limit
10591
+
10592
+ @property
10593
+ def SortBy(self):
10594
+ """筛选Top表所用的排序字段,可选字段包含DataLength、IndexLength、TotalLength、DataFree、FragRatio、TableRows、PhysicalFileSize(仅云数据库 MySQL实例支持),云数据库 MySQL实例默认为 PhysicalFileSize,其他产品实例默认为TotalLength。
10595
+ :rtype: str
10596
+ """
10597
+ return self._SortBy
10598
+
10599
+ @SortBy.setter
10600
+ def SortBy(self, SortBy):
10601
+ self._SortBy = SortBy
10602
+
10603
+ @property
10604
+ def Product(self):
10605
+ """服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
10606
+ :rtype: str
10607
+ """
10608
+ return self._Product
10609
+
10610
+ @Product.setter
10611
+ def Product(self, Product):
10612
+ self._Product = Product
10613
+
10614
+
10615
+ def _deserialize(self, params):
10616
+ self._InstanceId = params.get("InstanceId")
10617
+ self._Limit = params.get("Limit")
10618
+ self._SortBy = params.get("SortBy")
10619
+ self._Product = params.get("Product")
10620
+ memeber_set = set(params.keys())
10621
+ for name, value in vars(self).items():
10622
+ property_name = name[1:]
10623
+ if property_name in memeber_set:
10624
+ memeber_set.remove(property_name)
10625
+ if len(memeber_set) > 0:
10626
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10627
+
10628
+
10629
+
10630
+ class DescribeTopSpaceTablesResponse(AbstractModel):
10631
+ """DescribeTopSpaceTables返回参数结构体
10632
+
10633
+ """
10634
+
10635
+ def __init__(self):
10636
+ r"""
10637
+ :param _TopSpaceTables: 返回的Top表空间统计信息列表。
10638
+ :type TopSpaceTables: list of TableSpaceData
10639
+ :param _Timestamp: 采集表空间数据的时间戳(秒)。
10640
+ :type Timestamp: int
10641
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10642
+ :type RequestId: str
10643
+ """
10644
+ self._TopSpaceTables = None
10645
+ self._Timestamp = None
10646
+ self._RequestId = None
10647
+
10648
+ @property
10649
+ def TopSpaceTables(self):
10650
+ """返回的Top表空间统计信息列表。
10651
+ :rtype: list of TableSpaceData
10652
+ """
10653
+ return self._TopSpaceTables
10654
+
10655
+ @TopSpaceTables.setter
10656
+ def TopSpaceTables(self, TopSpaceTables):
10657
+ self._TopSpaceTables = TopSpaceTables
10658
+
10659
+ @property
10660
+ def Timestamp(self):
10661
+ """采集表空间数据的时间戳(秒)。
10662
+ :rtype: int
10663
+ """
10664
+ return self._Timestamp
10665
+
10666
+ @Timestamp.setter
10667
+ def Timestamp(self, Timestamp):
10668
+ self._Timestamp = Timestamp
10669
+
10670
+ @property
10671
+ def RequestId(self):
10672
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10673
+ :rtype: str
10674
+ """
10675
+ return self._RequestId
10676
+
10677
+ @RequestId.setter
10678
+ def RequestId(self, RequestId):
10679
+ self._RequestId = RequestId
10680
+
10681
+
10682
+ def _deserialize(self, params):
10683
+ if params.get("TopSpaceTables") is not None:
10684
+ self._TopSpaceTables = []
10685
+ for item in params.get("TopSpaceTables"):
10686
+ obj = TableSpaceData()
10687
+ obj._deserialize(item)
10688
+ self._TopSpaceTables.append(obj)
10689
+ self._Timestamp = params.get("Timestamp")
9506
10690
  self._RequestId = params.get("RequestId")
9507
10691
 
9508
10692
 
9509
- class DescribeTopSpaceTablesRequest(AbstractModel):
9510
- """DescribeTopSpaceTables请求参数结构体
10693
+ class DescribeUserAutonomyProfileRequest(AbstractModel):
10694
+ """DescribeUserAutonomyProfile请求参数结构体
9511
10695
 
9512
10696
  """
9513
10697
 
9514
10698
  def __init__(self):
9515
10699
  r"""
9516
- :param _InstanceId: 实例 ID 。
10700
+ :param _ProfileType: 配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)。
10701
+ :type ProfileType: str
10702
+ :param _InstanceId: 实列ID。
9517
10703
  :type InstanceId: str
9518
- :param _Limit: 返回的Top表数量,最大值为100,默认为20
9519
- :type Limit: int
9520
- :param _SortBy: 筛选Top表所用的排序字段,可选字段包含DataLength、IndexLength、TotalLength、DataFree、FragRatio、TableRows、PhysicalFileSize(仅云数据库 MySQL实例支持),云数据库 MySQL实例默认为 PhysicalFileSize,其他产品实例默认为TotalLength。
9521
- :type SortBy: str
9522
- :param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
10704
+ :param _Product: 服务产品类型,支持值包括: "redis" - 云数据库 Redis
9523
10705
  :type Product: str
9524
10706
  """
10707
+ self._ProfileType = None
9525
10708
  self._InstanceId = None
9526
- self._Limit = None
9527
- self._SortBy = None
9528
10709
  self._Product = None
9529
10710
 
9530
10711
  @property
9531
- def InstanceId(self):
9532
- """实例 ID 。
10712
+ def ProfileType(self):
10713
+ """配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)。
9533
10714
  :rtype: str
9534
10715
  """
9535
- return self._InstanceId
9536
-
9537
- @InstanceId.setter
9538
- def InstanceId(self, InstanceId):
9539
- self._InstanceId = InstanceId
9540
-
9541
- @property
9542
- def Limit(self):
9543
- """返回的Top表数量,最大值为100,默认为20。
9544
- :rtype: int
9545
- """
9546
- return self._Limit
10716
+ return self._ProfileType
9547
10717
 
9548
- @Limit.setter
9549
- def Limit(self, Limit):
9550
- self._Limit = Limit
10718
+ @ProfileType.setter
10719
+ def ProfileType(self, ProfileType):
10720
+ self._ProfileType = ProfileType
9551
10721
 
9552
10722
  @property
9553
- def SortBy(self):
9554
- """筛选Top表所用的排序字段,可选字段包含DataLength、IndexLength、TotalLength、DataFree、FragRatio、TableRows、PhysicalFileSize(仅云数据库 MySQL实例支持),云数据库 MySQL实例默认为 PhysicalFileSize,其他产品实例默认为TotalLength
10723
+ def InstanceId(self):
10724
+ """实列ID
9555
10725
  :rtype: str
9556
10726
  """
9557
- return self._SortBy
10727
+ return self._InstanceId
9558
10728
 
9559
- @SortBy.setter
9560
- def SortBy(self, SortBy):
9561
- self._SortBy = SortBy
10729
+ @InstanceId.setter
10730
+ def InstanceId(self, InstanceId):
10731
+ self._InstanceId = InstanceId
9562
10732
 
9563
10733
  @property
9564
10734
  def Product(self):
9565
- """服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"
10735
+ """服务产品类型,支持值包括: "redis" - 云数据库 Redis
9566
10736
  :rtype: str
9567
10737
  """
9568
10738
  return self._Product
@@ -9573,9 +10743,8 @@ class DescribeTopSpaceTablesRequest(AbstractModel):
9573
10743
 
9574
10744
 
9575
10745
  def _deserialize(self, params):
10746
+ self._ProfileType = params.get("ProfileType")
9576
10747
  self._InstanceId = params.get("InstanceId")
9577
- self._Limit = params.get("Limit")
9578
- self._SortBy = params.get("SortBy")
9579
10748
  self._Product = params.get("Product")
9580
10749
  memeber_set = set(params.keys())
9581
10750
  for name, value in vars(self).items():
@@ -9587,45 +10756,59 @@ class DescribeTopSpaceTablesRequest(AbstractModel):
9587
10756
 
9588
10757
 
9589
10758
 
9590
- class DescribeTopSpaceTablesResponse(AbstractModel):
9591
- """DescribeTopSpaceTables返回参数结构体
10759
+ class DescribeUserAutonomyProfileResponse(AbstractModel):
10760
+ """DescribeUserAutonomyProfile返回参数结构体
9592
10761
 
9593
10762
  """
9594
10763
 
9595
10764
  def __init__(self):
9596
10765
  r"""
9597
- :param _TopSpaceTables: 返回的Top表空间统计信息列表。
9598
- :type TopSpaceTables: list of TableSpaceData
9599
- :param _Timestamp: 采集表空间数据的时间戳(秒)。
9600
- :type Timestamp: int
10766
+ :param _ProfileType: 配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)。
10767
+ :type ProfileType: str
10768
+ :param _UpdateTime: 更新时间。
10769
+ :type UpdateTime: str
10770
+ :param _ProfileInfo: 自治用户配置。
10771
+ :type ProfileInfo: :class:`tencentcloud.dbbrain.v20210527.models.AutonomyUserProfileInfo`
9601
10772
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9602
10773
  :type RequestId: str
9603
10774
  """
9604
- self._TopSpaceTables = None
9605
- self._Timestamp = None
10775
+ self._ProfileType = None
10776
+ self._UpdateTime = None
10777
+ self._ProfileInfo = None
9606
10778
  self._RequestId = None
9607
10779
 
9608
10780
  @property
9609
- def TopSpaceTables(self):
9610
- """返回的Top表空间统计信息列表。
9611
- :rtype: list of TableSpaceData
10781
+ def ProfileType(self):
10782
+ """配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)。
10783
+ :rtype: str
9612
10784
  """
9613
- return self._TopSpaceTables
10785
+ return self._ProfileType
9614
10786
 
9615
- @TopSpaceTables.setter
9616
- def TopSpaceTables(self, TopSpaceTables):
9617
- self._TopSpaceTables = TopSpaceTables
10787
+ @ProfileType.setter
10788
+ def ProfileType(self, ProfileType):
10789
+ self._ProfileType = ProfileType
9618
10790
 
9619
10791
  @property
9620
- def Timestamp(self):
9621
- """采集表空间数据的时间戳(秒)。
9622
- :rtype: int
10792
+ def UpdateTime(self):
10793
+ """更新时间。
10794
+ :rtype: str
9623
10795
  """
9624
- return self._Timestamp
10796
+ return self._UpdateTime
9625
10797
 
9626
- @Timestamp.setter
9627
- def Timestamp(self, Timestamp):
9628
- self._Timestamp = Timestamp
10798
+ @UpdateTime.setter
10799
+ def UpdateTime(self, UpdateTime):
10800
+ self._UpdateTime = UpdateTime
10801
+
10802
+ @property
10803
+ def ProfileInfo(self):
10804
+ """自治用户配置。
10805
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.AutonomyUserProfileInfo`
10806
+ """
10807
+ return self._ProfileInfo
10808
+
10809
+ @ProfileInfo.setter
10810
+ def ProfileInfo(self, ProfileInfo):
10811
+ self._ProfileInfo = ProfileInfo
9629
10812
 
9630
10813
  @property
9631
10814
  def RequestId(self):
@@ -9640,13 +10823,11 @@ class DescribeTopSpaceTablesResponse(AbstractModel):
9640
10823
 
9641
10824
 
9642
10825
  def _deserialize(self, params):
9643
- if params.get("TopSpaceTables") is not None:
9644
- self._TopSpaceTables = []
9645
- for item in params.get("TopSpaceTables"):
9646
- obj = TableSpaceData()
9647
- obj._deserialize(item)
9648
- self._TopSpaceTables.append(obj)
9649
- self._Timestamp = params.get("Timestamp")
10826
+ self._ProfileType = params.get("ProfileType")
10827
+ self._UpdateTime = params.get("UpdateTime")
10828
+ if params.get("ProfileInfo") is not None:
10829
+ self._ProfileInfo = AutonomyUserProfileInfo()
10830
+ self._ProfileInfo._deserialize(params.get("ProfileInfo"))
9650
10831
  self._RequestId = params.get("RequestId")
9651
10832
 
9652
10833
 
@@ -11931,6 +13112,72 @@ class MailConfiguration(AbstractModel):
11931
13112
 
11932
13113
 
11933
13114
 
13115
+ class MetricThreshold(AbstractModel):
13116
+ """自治指标阈值
13117
+
13118
+ """
13119
+
13120
+ def __init__(self):
13121
+ r"""
13122
+ :param _Metric: 指标。
13123
+ :type Metric: str
13124
+ :param _Threshold: 阈值。
13125
+ :type Threshold: int
13126
+ :param _Duration: 时间间隔。
13127
+ :type Duration: int
13128
+ """
13129
+ self._Metric = None
13130
+ self._Threshold = None
13131
+ self._Duration = None
13132
+
13133
+ @property
13134
+ def Metric(self):
13135
+ """指标。
13136
+ :rtype: str
13137
+ """
13138
+ return self._Metric
13139
+
13140
+ @Metric.setter
13141
+ def Metric(self, Metric):
13142
+ self._Metric = Metric
13143
+
13144
+ @property
13145
+ def Threshold(self):
13146
+ """阈值。
13147
+ :rtype: int
13148
+ """
13149
+ return self._Threshold
13150
+
13151
+ @Threshold.setter
13152
+ def Threshold(self, Threshold):
13153
+ self._Threshold = Threshold
13154
+
13155
+ @property
13156
+ def Duration(self):
13157
+ """时间间隔。
13158
+ :rtype: int
13159
+ """
13160
+ return self._Duration
13161
+
13162
+ @Duration.setter
13163
+ def Duration(self, Duration):
13164
+ self._Duration = Duration
13165
+
13166
+
13167
+ def _deserialize(self, params):
13168
+ self._Metric = params.get("Metric")
13169
+ self._Threshold = params.get("Threshold")
13170
+ self._Duration = params.get("Duration")
13171
+ memeber_set = set(params.keys())
13172
+ for name, value in vars(self).items():
13173
+ property_name = name[1:]
13174
+ if property_name in memeber_set:
13175
+ memeber_set.remove(property_name)
13176
+ if len(memeber_set) > 0:
13177
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13178
+
13179
+
13180
+
11934
13181
  class ModifyAlarmPolicyRequest(AbstractModel):
11935
13182
  """ModifyAlarmPolicy请求参数结构体
11936
13183
 
@@ -12555,6 +13802,115 @@ class ModifySqlFiltersResponse(AbstractModel):
12555
13802
  self._RequestId = params.get("RequestId")
12556
13803
 
12557
13804
 
13805
+ class ModifyUserAutonomyProfileRequest(AbstractModel):
13806
+ """ModifyUserAutonomyProfile请求参数结构体
13807
+
13808
+ """
13809
+
13810
+ def __init__(self):
13811
+ r"""
13812
+ :param _ProfileType: 配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)
13813
+ :type ProfileType: str
13814
+ :param _InstanceId: 实列ID。
13815
+ :type InstanceId: str
13816
+ :param _Product: 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
13817
+ :type Product: str
13818
+ :param _NewProfileInfo: 自治功能相关配置,标准JSON字符串格式。
13819
+ :type NewProfileInfo: str
13820
+ """
13821
+ self._ProfileType = None
13822
+ self._InstanceId = None
13823
+ self._Product = None
13824
+ self._NewProfileInfo = None
13825
+
13826
+ @property
13827
+ def ProfileType(self):
13828
+ """配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)
13829
+ :rtype: str
13830
+ """
13831
+ return self._ProfileType
13832
+
13833
+ @ProfileType.setter
13834
+ def ProfileType(self, ProfileType):
13835
+ self._ProfileType = ProfileType
13836
+
13837
+ @property
13838
+ def InstanceId(self):
13839
+ """实列ID。
13840
+ :rtype: str
13841
+ """
13842
+ return self._InstanceId
13843
+
13844
+ @InstanceId.setter
13845
+ def InstanceId(self, InstanceId):
13846
+ self._InstanceId = InstanceId
13847
+
13848
+ @property
13849
+ def Product(self):
13850
+ """服务产品类型,支持值包括: "redis" - 云数据库 Redis。
13851
+ :rtype: str
13852
+ """
13853
+ return self._Product
13854
+
13855
+ @Product.setter
13856
+ def Product(self, Product):
13857
+ self._Product = Product
13858
+
13859
+ @property
13860
+ def NewProfileInfo(self):
13861
+ """自治功能相关配置,标准JSON字符串格式。
13862
+ :rtype: str
13863
+ """
13864
+ return self._NewProfileInfo
13865
+
13866
+ @NewProfileInfo.setter
13867
+ def NewProfileInfo(self, NewProfileInfo):
13868
+ self._NewProfileInfo = NewProfileInfo
13869
+
13870
+
13871
+ def _deserialize(self, params):
13872
+ self._ProfileType = params.get("ProfileType")
13873
+ self._InstanceId = params.get("InstanceId")
13874
+ self._Product = params.get("Product")
13875
+ self._NewProfileInfo = params.get("NewProfileInfo")
13876
+ memeber_set = set(params.keys())
13877
+ for name, value in vars(self).items():
13878
+ property_name = name[1:]
13879
+ if property_name in memeber_set:
13880
+ memeber_set.remove(property_name)
13881
+ if len(memeber_set) > 0:
13882
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13883
+
13884
+
13885
+
13886
+ class ModifyUserAutonomyProfileResponse(AbstractModel):
13887
+ """ModifyUserAutonomyProfile返回参数结构体
13888
+
13889
+ """
13890
+
13891
+ def __init__(self):
13892
+ r"""
13893
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13894
+ :type RequestId: str
13895
+ """
13896
+ self._RequestId = None
13897
+
13898
+ @property
13899
+ def RequestId(self):
13900
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13901
+ :rtype: str
13902
+ """
13903
+ return self._RequestId
13904
+
13905
+ @RequestId.setter
13906
+ def RequestId(self, RequestId):
13907
+ self._RequestId = RequestId
13908
+
13909
+
13910
+ def _deserialize(self, params):
13911
+ self._RequestId = params.get("RequestId")
13912
+
13913
+
12558
13914
  class MongoDBIndex(AbstractModel):
12559
13915
  """Mongodb索引项
12560
13916