tencentcloud-sdk-python 3.0.1351__py2.py3-none-any.whl → 3.0.1353__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/batch/v20170312/batch_client.py +0 -46
- tencentcloud/batch/v20170312/errorcodes.py +0 -9
- tencentcloud/batch/v20170312/models.py +21 -962
- tencentcloud/bi/v20220105/models.py +145 -0
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +0 -82
- tencentcloud/cbs/v20170312/models.py +6 -14
- tencentcloud/cdn/v20180606/models.py +0 -46
- tencentcloud/chdfs/v20201112/models.py +2 -2
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +908 -26
- tencentcloud/controlcenter/v20230110/models.py +0 -58
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/models.py +2 -6
- tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20191016/models.py +603 -10
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
- tencentcloud/dbbrain/v20210527/models.py +942 -49
- tencentcloud/dcdb/v20180411/models.py +175 -2
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +284 -0
- tencentcloud/dnspod/v20210323/models.py +0 -70
- tencentcloud/ess/v20201111/models.py +6 -6
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/facefusion/v20220927/models.py +4 -2
- tencentcloud/gs/v20191118/models.py +51 -4
- tencentcloud/hai/v20230812/models.py +2 -18
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +1 -1
- tencentcloud/iotexplorer/v20190423/models.py +141 -420
- tencentcloud/live/v20180801/models.py +4 -6
- tencentcloud/lkeap/v20240522/models.py +12 -6
- tencentcloud/mariadb/v20170312/models.py +151 -2
- tencentcloud/mps/v20190612/models.py +10 -10
- tencentcloud/mqtt/v20240516/models.py +97 -14
- tencentcloud/ocr/v20181119/errorcodes.py +0 -3
- tencentcloud/ocr/v20181119/models.py +143 -558
- tencentcloud/ocr/v20181119/ocr_client.py +0 -23
- tencentcloud/organization/v20210331/models.py +15 -0
- tencentcloud/partners/v20180321/models.py +15 -0
- tencentcloud/sqlserver/v20180328/models.py +15 -0
- tencentcloud/tcb/v20180608/models.py +20 -0
- tencentcloud/tdmq/v20200217/models.py +45 -0
- tencentcloud/teo/v20220106/teo_client.py +6 -2
- tencentcloud/teo/v20220901/models.py +85 -12
- tencentcloud/tione/v20211111/models.py +35 -3
- tencentcloud/trro/v20220325/models.py +992 -44
- tencentcloud/trro/v20220325/trro_client.py +117 -0
- tencentcloud/tse/v20201207/models.py +0 -34
- tencentcloud/vdb/v20230616/models.py +1438 -40
- tencentcloud/vdb/v20230616/vdb_client.py +184 -0
- tencentcloud/vod/v20180717/models.py +15 -0
- tencentcloud/vod/v20240718/errorcodes.py +33 -0
- tencentcloud/vod/v20240718/models.py +1839 -0
- tencentcloud/vod/v20240718/vod_client.py +146 -0
- tencentcloud/vpc/v20170312/models.py +300 -0
- tencentcloud/vpc/v20170312/vpc_client.py +26 -0
- tencentcloud/wedata/v20210820/models.py +808 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1351.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1351.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/RECORD +66 -66
- {tencentcloud_sdk_python-3.0.1351.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1351.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1351.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/top_level.txt +0 -0
@@ -212,7 +212,7 @@ class CreateDBDiagReportTaskRequest(AbstractModel):
|
|
212
212
|
:type ContactPerson: list of int
|
213
213
|
:param _ContactGroup: 接收邮件的联系组ID数组。
|
214
214
|
:type ContactGroup: list of int
|
215
|
-
:param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认值为"mysql"。
|
215
|
+
:param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis,默认值为"mysql"。
|
216
216
|
:type Product: str
|
217
217
|
"""
|
218
218
|
self._InstanceId = None
|
@@ -291,7 +291,7 @@ class CreateDBDiagReportTaskRequest(AbstractModel):
|
|
291
291
|
|
292
292
|
@property
|
293
293
|
def Product(self):
|
294
|
-
"""服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认值为"mysql"。
|
294
|
+
"""服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis,默认值为"mysql"。
|
295
295
|
:rtype: str
|
296
296
|
"""
|
297
297
|
return self._Product
|
@@ -373,7 +373,7 @@ class CreateDBDiagReportUrlRequest(AbstractModel):
|
|
373
373
|
:type InstanceId: str
|
374
374
|
:param _AsyncRequestId: 健康报告相应的任务ID,可通过DescribeDBDiagReportTasks查询。
|
375
375
|
:type AsyncRequestId: int
|
376
|
-
:param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
376
|
+
:param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
|
377
377
|
:type Product: str
|
378
378
|
"""
|
379
379
|
self._InstanceId = None
|
@@ -404,7 +404,7 @@ class CreateDBDiagReportUrlRequest(AbstractModel):
|
|
404
404
|
|
405
405
|
@property
|
406
406
|
def Product(self):
|
407
|
-
"""服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
407
|
+
"""服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
|
408
408
|
:rtype: str
|
409
409
|
"""
|
410
410
|
return self._Product
|
@@ -1225,7 +1225,7 @@ class DescribeDBDiagEventRequest(AbstractModel):
|
|
1225
1225
|
:type InstanceId: str
|
1226
1226
|
:param _EventId: 事件 ID 。通过“获取实例诊断历史DescribeDBDiagHistory”获取。
|
1227
1227
|
:type EventId: int
|
1228
|
-
:param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
1228
|
+
:param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
|
1229
1229
|
:type Product: str
|
1230
1230
|
"""
|
1231
1231
|
self._InstanceId = None
|
@@ -1256,7 +1256,7 @@ class DescribeDBDiagEventRequest(AbstractModel):
|
|
1256
1256
|
|
1257
1257
|
@property
|
1258
1258
|
def Product(self):
|
1259
|
-
"""服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
1259
|
+
"""服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
|
1260
1260
|
:rtype: str
|
1261
1261
|
"""
|
1262
1262
|
return self._Product
|
@@ -1615,7 +1615,7 @@ class DescribeDBDiagReportTasksRequest(AbstractModel):
|
|
1615
1615
|
:type EndTime: str
|
1616
1616
|
:param _InstanceIds: 实例ID数组,用于筛选指定实例的任务列表。
|
1617
1617
|
:type InstanceIds: list of str
|
1618
|
-
:param _Sources: 任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" -
|
1618
|
+
:param _Sources: 任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" - 计划任务;"MANUAL" - 手动触发。
|
1619
1619
|
:type Sources: list of str
|
1620
1620
|
:param _HealthLevels: 报告的健康等级,支持的取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK" - 危险;"HIGH_RISK" - 高危。
|
1621
1621
|
:type HealthLevels: str
|
@@ -1625,7 +1625,7 @@ class DescribeDBDiagReportTasksRequest(AbstractModel):
|
|
1625
1625
|
:type Offset: int
|
1626
1626
|
:param _Limit: 返回数量,默认20。
|
1627
1627
|
:type Limit: int
|
1628
|
-
:param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
1628
|
+
:param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL;"redis" - 云数据库 Redis,默认为"mysql"。
|
1629
1629
|
:type Product: str
|
1630
1630
|
"""
|
1631
1631
|
self._StartTime = None
|
@@ -1673,7 +1673,7 @@ class DescribeDBDiagReportTasksRequest(AbstractModel):
|
|
1673
1673
|
|
1674
1674
|
@property
|
1675
1675
|
def Sources(self):
|
1676
|
-
"""任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" -
|
1676
|
+
"""任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" - 计划任务;"MANUAL" - 手动触发。
|
1677
1677
|
:rtype: list of str
|
1678
1678
|
"""
|
1679
1679
|
return self._Sources
|
@@ -1728,7 +1728,7 @@ class DescribeDBDiagReportTasksRequest(AbstractModel):
|
|
1728
1728
|
|
1729
1729
|
@property
|
1730
1730
|
def Product(self):
|
1731
|
-
"""服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
1731
|
+
"""服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL;"redis" - 云数据库 Redis,默认为"mysql"。
|
1732
1732
|
:rtype: str
|
1733
1733
|
"""
|
1734
1734
|
return self._Product
|
@@ -2449,6 +2449,240 @@ class DescribeMailProfileResponse(AbstractModel):
|
|
2449
2449
|
self._RequestId = params.get("RequestId")
|
2450
2450
|
|
2451
2451
|
|
2452
|
+
class DescribeMySqlProcessListRequest(AbstractModel):
|
2453
|
+
"""DescribeMySqlProcessList请求参数结构体
|
2454
|
+
|
2455
|
+
"""
|
2456
|
+
|
2457
|
+
def __init__(self):
|
2458
|
+
r"""
|
2459
|
+
:param _InstanceId: 实例ID。
|
2460
|
+
:type InstanceId: str
|
2461
|
+
:param _ID: 线程的ID,用于筛选线程列表。
|
2462
|
+
:type ID: int
|
2463
|
+
:param _User: 线程的操作账号名,用于筛选线程列表。
|
2464
|
+
:type User: str
|
2465
|
+
:param _Host: 线程的操作主机地址,用于筛选线程列表。
|
2466
|
+
:type Host: str
|
2467
|
+
:param _DB: 线程的操作数据库,用于筛选线程列表。
|
2468
|
+
:type DB: str
|
2469
|
+
:param _State: 线程的操作状态,用于筛选线程列表。
|
2470
|
+
:type State: str
|
2471
|
+
:param _Command: 线程的执行类型,用于筛选线程列表。
|
2472
|
+
:type Command: str
|
2473
|
+
:param _Time: 线程的操作时长最小值,单位秒,用于筛选操作时长大于该值的线程列表。
|
2474
|
+
:type Time: int
|
2475
|
+
:param _Info: 线程的操作语句,用于筛选线程列表。
|
2476
|
+
:type Info: str
|
2477
|
+
:param _Limit: 返回数量,默认20。
|
2478
|
+
:type Limit: int
|
2479
|
+
:param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
2480
|
+
:type Product: str
|
2481
|
+
"""
|
2482
|
+
self._InstanceId = None
|
2483
|
+
self._ID = None
|
2484
|
+
self._User = None
|
2485
|
+
self._Host = None
|
2486
|
+
self._DB = None
|
2487
|
+
self._State = None
|
2488
|
+
self._Command = None
|
2489
|
+
self._Time = None
|
2490
|
+
self._Info = None
|
2491
|
+
self._Limit = None
|
2492
|
+
self._Product = None
|
2493
|
+
|
2494
|
+
@property
|
2495
|
+
def InstanceId(self):
|
2496
|
+
"""实例ID。
|
2497
|
+
:rtype: str
|
2498
|
+
"""
|
2499
|
+
return self._InstanceId
|
2500
|
+
|
2501
|
+
@InstanceId.setter
|
2502
|
+
def InstanceId(self, InstanceId):
|
2503
|
+
self._InstanceId = InstanceId
|
2504
|
+
|
2505
|
+
@property
|
2506
|
+
def ID(self):
|
2507
|
+
"""线程的ID,用于筛选线程列表。
|
2508
|
+
:rtype: int
|
2509
|
+
"""
|
2510
|
+
return self._ID
|
2511
|
+
|
2512
|
+
@ID.setter
|
2513
|
+
def ID(self, ID):
|
2514
|
+
self._ID = ID
|
2515
|
+
|
2516
|
+
@property
|
2517
|
+
def User(self):
|
2518
|
+
"""线程的操作账号名,用于筛选线程列表。
|
2519
|
+
:rtype: str
|
2520
|
+
"""
|
2521
|
+
return self._User
|
2522
|
+
|
2523
|
+
@User.setter
|
2524
|
+
def User(self, User):
|
2525
|
+
self._User = User
|
2526
|
+
|
2527
|
+
@property
|
2528
|
+
def Host(self):
|
2529
|
+
"""线程的操作主机地址,用于筛选线程列表。
|
2530
|
+
:rtype: str
|
2531
|
+
"""
|
2532
|
+
return self._Host
|
2533
|
+
|
2534
|
+
@Host.setter
|
2535
|
+
def Host(self, Host):
|
2536
|
+
self._Host = Host
|
2537
|
+
|
2538
|
+
@property
|
2539
|
+
def DB(self):
|
2540
|
+
"""线程的操作数据库,用于筛选线程列表。
|
2541
|
+
:rtype: str
|
2542
|
+
"""
|
2543
|
+
return self._DB
|
2544
|
+
|
2545
|
+
@DB.setter
|
2546
|
+
def DB(self, DB):
|
2547
|
+
self._DB = DB
|
2548
|
+
|
2549
|
+
@property
|
2550
|
+
def State(self):
|
2551
|
+
"""线程的操作状态,用于筛选线程列表。
|
2552
|
+
:rtype: str
|
2553
|
+
"""
|
2554
|
+
return self._State
|
2555
|
+
|
2556
|
+
@State.setter
|
2557
|
+
def State(self, State):
|
2558
|
+
self._State = State
|
2559
|
+
|
2560
|
+
@property
|
2561
|
+
def Command(self):
|
2562
|
+
"""线程的执行类型,用于筛选线程列表。
|
2563
|
+
:rtype: str
|
2564
|
+
"""
|
2565
|
+
return self._Command
|
2566
|
+
|
2567
|
+
@Command.setter
|
2568
|
+
def Command(self, Command):
|
2569
|
+
self._Command = Command
|
2570
|
+
|
2571
|
+
@property
|
2572
|
+
def Time(self):
|
2573
|
+
"""线程的操作时长最小值,单位秒,用于筛选操作时长大于该值的线程列表。
|
2574
|
+
:rtype: int
|
2575
|
+
"""
|
2576
|
+
return self._Time
|
2577
|
+
|
2578
|
+
@Time.setter
|
2579
|
+
def Time(self, Time):
|
2580
|
+
self._Time = Time
|
2581
|
+
|
2582
|
+
@property
|
2583
|
+
def Info(self):
|
2584
|
+
"""线程的操作语句,用于筛选线程列表。
|
2585
|
+
:rtype: str
|
2586
|
+
"""
|
2587
|
+
return self._Info
|
2588
|
+
|
2589
|
+
@Info.setter
|
2590
|
+
def Info(self, Info):
|
2591
|
+
self._Info = Info
|
2592
|
+
|
2593
|
+
@property
|
2594
|
+
def Limit(self):
|
2595
|
+
"""返回数量,默认20。
|
2596
|
+
:rtype: int
|
2597
|
+
"""
|
2598
|
+
return self._Limit
|
2599
|
+
|
2600
|
+
@Limit.setter
|
2601
|
+
def Limit(self, Limit):
|
2602
|
+
self._Limit = Limit
|
2603
|
+
|
2604
|
+
@property
|
2605
|
+
def Product(self):
|
2606
|
+
"""服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
2607
|
+
:rtype: str
|
2608
|
+
"""
|
2609
|
+
return self._Product
|
2610
|
+
|
2611
|
+
@Product.setter
|
2612
|
+
def Product(self, Product):
|
2613
|
+
self._Product = Product
|
2614
|
+
|
2615
|
+
|
2616
|
+
def _deserialize(self, params):
|
2617
|
+
self._InstanceId = params.get("InstanceId")
|
2618
|
+
self._ID = params.get("ID")
|
2619
|
+
self._User = params.get("User")
|
2620
|
+
self._Host = params.get("Host")
|
2621
|
+
self._DB = params.get("DB")
|
2622
|
+
self._State = params.get("State")
|
2623
|
+
self._Command = params.get("Command")
|
2624
|
+
self._Time = params.get("Time")
|
2625
|
+
self._Info = params.get("Info")
|
2626
|
+
self._Limit = params.get("Limit")
|
2627
|
+
self._Product = params.get("Product")
|
2628
|
+
memeber_set = set(params.keys())
|
2629
|
+
for name, value in vars(self).items():
|
2630
|
+
property_name = name[1:]
|
2631
|
+
if property_name in memeber_set:
|
2632
|
+
memeber_set.remove(property_name)
|
2633
|
+
if len(memeber_set) > 0:
|
2634
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2635
|
+
|
2636
|
+
|
2637
|
+
|
2638
|
+
class DescribeMySqlProcessListResponse(AbstractModel):
|
2639
|
+
"""DescribeMySqlProcessList返回参数结构体
|
2640
|
+
|
2641
|
+
"""
|
2642
|
+
|
2643
|
+
def __init__(self):
|
2644
|
+
r"""
|
2645
|
+
:param _ProcessList: 实时线程列表。
|
2646
|
+
:type ProcessList: list of MySqlProcess
|
2647
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2648
|
+
:type RequestId: str
|
2649
|
+
"""
|
2650
|
+
self._ProcessList = None
|
2651
|
+
self._RequestId = None
|
2652
|
+
|
2653
|
+
@property
|
2654
|
+
def ProcessList(self):
|
2655
|
+
"""实时线程列表。
|
2656
|
+
:rtype: list of MySqlProcess
|
2657
|
+
"""
|
2658
|
+
return self._ProcessList
|
2659
|
+
|
2660
|
+
@ProcessList.setter
|
2661
|
+
def ProcessList(self, ProcessList):
|
2662
|
+
self._ProcessList = ProcessList
|
2663
|
+
|
2664
|
+
@property
|
2665
|
+
def RequestId(self):
|
2666
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2667
|
+
:rtype: str
|
2668
|
+
"""
|
2669
|
+
return self._RequestId
|
2670
|
+
|
2671
|
+
@RequestId.setter
|
2672
|
+
def RequestId(self, RequestId):
|
2673
|
+
self._RequestId = RequestId
|
2674
|
+
|
2675
|
+
|
2676
|
+
def _deserialize(self, params):
|
2677
|
+
if params.get("ProcessList") is not None:
|
2678
|
+
self._ProcessList = []
|
2679
|
+
for item in params.get("ProcessList"):
|
2680
|
+
obj = MySqlProcess()
|
2681
|
+
obj._deserialize(item)
|
2682
|
+
self._ProcessList.append(obj)
|
2683
|
+
self._RequestId = params.get("RequestId")
|
2684
|
+
|
2685
|
+
|
2452
2686
|
class DescribeSecurityAuditLogDownloadUrlsRequest(AbstractModel):
|
2453
2687
|
"""DescribeSecurityAuditLogDownloadUrls请求参数结构体
|
2454
2688
|
|
@@ -4725,11 +4959,14 @@ class HealthStatus(AbstractModel):
|
|
4725
4959
|
:type ScoreLost: int
|
4726
4960
|
:param _ScoreDetails: 扣分详情。
|
4727
4961
|
:type ScoreDetails: list of ScoreDetail
|
4962
|
+
:param _HealthLevelVersion: 健康等级版本,默认为V1
|
4963
|
+
:type HealthLevelVersion: str
|
4728
4964
|
"""
|
4729
4965
|
self._HealthScore = None
|
4730
4966
|
self._HealthLevel = None
|
4731
4967
|
self._ScoreLost = None
|
4732
4968
|
self._ScoreDetails = None
|
4969
|
+
self._HealthLevelVersion = None
|
4733
4970
|
|
4734
4971
|
@property
|
4735
4972
|
def HealthScore(self):
|
@@ -4775,6 +5012,17 @@ class HealthStatus(AbstractModel):
|
|
4775
5012
|
def ScoreDetails(self, ScoreDetails):
|
4776
5013
|
self._ScoreDetails = ScoreDetails
|
4777
5014
|
|
5015
|
+
@property
|
5016
|
+
def HealthLevelVersion(self):
|
5017
|
+
"""健康等级版本,默认为V1
|
5018
|
+
:rtype: str
|
5019
|
+
"""
|
5020
|
+
return self._HealthLevelVersion
|
5021
|
+
|
5022
|
+
@HealthLevelVersion.setter
|
5023
|
+
def HealthLevelVersion(self, HealthLevelVersion):
|
5024
|
+
self._HealthLevelVersion = HealthLevelVersion
|
5025
|
+
|
4778
5026
|
|
4779
5027
|
def _deserialize(self, params):
|
4780
5028
|
self._HealthScore = params.get("HealthScore")
|
@@ -4786,6 +5034,7 @@ class HealthStatus(AbstractModel):
|
|
4786
5034
|
obj = ScoreDetail()
|
4787
5035
|
obj._deserialize(item)
|
4788
5036
|
self._ScoreDetails.append(obj)
|
5037
|
+
self._HealthLevelVersion = params.get("HealthLevelVersion")
|
4789
5038
|
memeber_set = set(params.keys())
|
4790
5039
|
for name, value in vars(self).items():
|
4791
5040
|
property_name = name[1:]
|
@@ -4815,6 +5064,24 @@ class InstanceBasicInfo(AbstractModel):
|
|
4815
5064
|
:type Product: str
|
4816
5065
|
:param _EngineVersion: 实例引擎版本。
|
4817
5066
|
:type EngineVersion: str
|
5067
|
+
:param _Cpu: CPU数量,对于Redis为0。
|
5068
|
+
:type Cpu: int
|
5069
|
+
:param _DeployMode: 实例部署模式。
|
5070
|
+
:type DeployMode: str
|
5071
|
+
:param _InstanceConf: 实例内存配置。
|
5072
|
+
:type InstanceConf: :class:`tencentcloud.dbbrain.v20191016.models.RedisInstanceConf`
|
5073
|
+
:param _IsSupported: DBbrain是否支持该实例。
|
5074
|
+
:type IsSupported: bool
|
5075
|
+
:param _Memory: 实例内存,单位MB。
|
5076
|
+
:type Memory: int
|
5077
|
+
:param _Region: 实例地域。
|
5078
|
+
:type Region: str
|
5079
|
+
:param _UniqSubnetId: 实例子网统一ID,对于redis为空字符串。
|
5080
|
+
:type UniqSubnetId: str
|
5081
|
+
:param _UniqVpcId: 实例私有网络统一ID,对于redis为空字符串。
|
5082
|
+
:type UniqVpcId: str
|
5083
|
+
:param _Volume: 实例磁盘容量,对于Redis为0。
|
5084
|
+
:type Volume: int
|
4818
5085
|
"""
|
4819
5086
|
self._InstanceId = None
|
4820
5087
|
self._InstanceName = None
|
@@ -4822,6 +5089,15 @@ class InstanceBasicInfo(AbstractModel):
|
|
4822
5089
|
self._Vport = None
|
4823
5090
|
self._Product = None
|
4824
5091
|
self._EngineVersion = None
|
5092
|
+
self._Cpu = None
|
5093
|
+
self._DeployMode = None
|
5094
|
+
self._InstanceConf = None
|
5095
|
+
self._IsSupported = None
|
5096
|
+
self._Memory = None
|
5097
|
+
self._Region = None
|
5098
|
+
self._UniqSubnetId = None
|
5099
|
+
self._UniqVpcId = None
|
5100
|
+
self._Volume = None
|
4825
5101
|
|
4826
5102
|
@property
|
4827
5103
|
def InstanceId(self):
|
@@ -4889,6 +5165,105 @@ class InstanceBasicInfo(AbstractModel):
|
|
4889
5165
|
def EngineVersion(self, EngineVersion):
|
4890
5166
|
self._EngineVersion = EngineVersion
|
4891
5167
|
|
5168
|
+
@property
|
5169
|
+
def Cpu(self):
|
5170
|
+
"""CPU数量,对于Redis为0。
|
5171
|
+
:rtype: int
|
5172
|
+
"""
|
5173
|
+
return self._Cpu
|
5174
|
+
|
5175
|
+
@Cpu.setter
|
5176
|
+
def Cpu(self, Cpu):
|
5177
|
+
self._Cpu = Cpu
|
5178
|
+
|
5179
|
+
@property
|
5180
|
+
def DeployMode(self):
|
5181
|
+
"""实例部署模式。
|
5182
|
+
:rtype: str
|
5183
|
+
"""
|
5184
|
+
return self._DeployMode
|
5185
|
+
|
5186
|
+
@DeployMode.setter
|
5187
|
+
def DeployMode(self, DeployMode):
|
5188
|
+
self._DeployMode = DeployMode
|
5189
|
+
|
5190
|
+
@property
|
5191
|
+
def InstanceConf(self):
|
5192
|
+
"""实例内存配置。
|
5193
|
+
:rtype: :class:`tencentcloud.dbbrain.v20191016.models.RedisInstanceConf`
|
5194
|
+
"""
|
5195
|
+
return self._InstanceConf
|
5196
|
+
|
5197
|
+
@InstanceConf.setter
|
5198
|
+
def InstanceConf(self, InstanceConf):
|
5199
|
+
self._InstanceConf = InstanceConf
|
5200
|
+
|
5201
|
+
@property
|
5202
|
+
def IsSupported(self):
|
5203
|
+
"""DBbrain是否支持该实例。
|
5204
|
+
:rtype: bool
|
5205
|
+
"""
|
5206
|
+
return self._IsSupported
|
5207
|
+
|
5208
|
+
@IsSupported.setter
|
5209
|
+
def IsSupported(self, IsSupported):
|
5210
|
+
self._IsSupported = IsSupported
|
5211
|
+
|
5212
|
+
@property
|
5213
|
+
def Memory(self):
|
5214
|
+
"""实例内存,单位MB。
|
5215
|
+
:rtype: int
|
5216
|
+
"""
|
5217
|
+
return self._Memory
|
5218
|
+
|
5219
|
+
@Memory.setter
|
5220
|
+
def Memory(self, Memory):
|
5221
|
+
self._Memory = Memory
|
5222
|
+
|
5223
|
+
@property
|
5224
|
+
def Region(self):
|
5225
|
+
"""实例地域。
|
5226
|
+
:rtype: str
|
5227
|
+
"""
|
5228
|
+
return self._Region
|
5229
|
+
|
5230
|
+
@Region.setter
|
5231
|
+
def Region(self, Region):
|
5232
|
+
self._Region = Region
|
5233
|
+
|
5234
|
+
@property
|
5235
|
+
def UniqSubnetId(self):
|
5236
|
+
"""实例子网统一ID,对于redis为空字符串。
|
5237
|
+
:rtype: str
|
5238
|
+
"""
|
5239
|
+
return self._UniqSubnetId
|
5240
|
+
|
5241
|
+
@UniqSubnetId.setter
|
5242
|
+
def UniqSubnetId(self, UniqSubnetId):
|
5243
|
+
self._UniqSubnetId = UniqSubnetId
|
5244
|
+
|
5245
|
+
@property
|
5246
|
+
def UniqVpcId(self):
|
5247
|
+
"""实例私有网络统一ID,对于redis为空字符串。
|
5248
|
+
:rtype: str
|
5249
|
+
"""
|
5250
|
+
return self._UniqVpcId
|
5251
|
+
|
5252
|
+
@UniqVpcId.setter
|
5253
|
+
def UniqVpcId(self, UniqVpcId):
|
5254
|
+
self._UniqVpcId = UniqVpcId
|
5255
|
+
|
5256
|
+
@property
|
5257
|
+
def Volume(self):
|
5258
|
+
"""实例磁盘容量,对于Redis为0。
|
5259
|
+
:rtype: int
|
5260
|
+
"""
|
5261
|
+
return self._Volume
|
5262
|
+
|
5263
|
+
@Volume.setter
|
5264
|
+
def Volume(self, Volume):
|
5265
|
+
self._Volume = Volume
|
5266
|
+
|
4892
5267
|
|
4893
5268
|
def _deserialize(self, params):
|
4894
5269
|
self._InstanceId = params.get("InstanceId")
|
@@ -4897,6 +5272,17 @@ class InstanceBasicInfo(AbstractModel):
|
|
4897
5272
|
self._Vport = params.get("Vport")
|
4898
5273
|
self._Product = params.get("Product")
|
4899
5274
|
self._EngineVersion = params.get("EngineVersion")
|
5275
|
+
self._Cpu = params.get("Cpu")
|
5276
|
+
self._DeployMode = params.get("DeployMode")
|
5277
|
+
if params.get("InstanceConf") is not None:
|
5278
|
+
self._InstanceConf = RedisInstanceConf()
|
5279
|
+
self._InstanceConf._deserialize(params.get("InstanceConf"))
|
5280
|
+
self._IsSupported = params.get("IsSupported")
|
5281
|
+
self._Memory = params.get("Memory")
|
5282
|
+
self._Region = params.get("Region")
|
5283
|
+
self._UniqSubnetId = params.get("UniqSubnetId")
|
5284
|
+
self._UniqVpcId = params.get("UniqVpcId")
|
5285
|
+
self._Volume = params.get("Volume")
|
4900
5286
|
memeber_set = set(params.keys())
|
4901
5287
|
for name, value in vars(self).items():
|
4902
5288
|
property_name = name[1:]
|
@@ -6013,6 +6399,147 @@ class MonitorMetricSeriesData(AbstractModel):
|
|
6013
6399
|
|
6014
6400
|
|
6015
6401
|
|
6402
|
+
class MySqlProcess(AbstractModel):
|
6403
|
+
"""关系型数据库线程
|
6404
|
+
|
6405
|
+
"""
|
6406
|
+
|
6407
|
+
def __init__(self):
|
6408
|
+
r"""
|
6409
|
+
:param _ID: 线程ID。
|
6410
|
+
:type ID: str
|
6411
|
+
:param _User: 线程的操作账号名。
|
6412
|
+
:type User: str
|
6413
|
+
:param _Host: 线程的操作主机地址。
|
6414
|
+
:type Host: str
|
6415
|
+
:param _DB: 线程的操作数据库。
|
6416
|
+
:type DB: str
|
6417
|
+
:param _State: 线程的操作状态。
|
6418
|
+
:type State: str
|
6419
|
+
:param _Command: 线程的执行类型。
|
6420
|
+
:type Command: str
|
6421
|
+
:param _Time: 线程的操作时长,单位秒。
|
6422
|
+
:type Time: str
|
6423
|
+
:param _Info: 线程的操作语句。
|
6424
|
+
:type Info: str
|
6425
|
+
"""
|
6426
|
+
self._ID = None
|
6427
|
+
self._User = None
|
6428
|
+
self._Host = None
|
6429
|
+
self._DB = None
|
6430
|
+
self._State = None
|
6431
|
+
self._Command = None
|
6432
|
+
self._Time = None
|
6433
|
+
self._Info = None
|
6434
|
+
|
6435
|
+
@property
|
6436
|
+
def ID(self):
|
6437
|
+
"""线程ID。
|
6438
|
+
:rtype: str
|
6439
|
+
"""
|
6440
|
+
return self._ID
|
6441
|
+
|
6442
|
+
@ID.setter
|
6443
|
+
def ID(self, ID):
|
6444
|
+
self._ID = ID
|
6445
|
+
|
6446
|
+
@property
|
6447
|
+
def User(self):
|
6448
|
+
"""线程的操作账号名。
|
6449
|
+
:rtype: str
|
6450
|
+
"""
|
6451
|
+
return self._User
|
6452
|
+
|
6453
|
+
@User.setter
|
6454
|
+
def User(self, User):
|
6455
|
+
self._User = User
|
6456
|
+
|
6457
|
+
@property
|
6458
|
+
def Host(self):
|
6459
|
+
"""线程的操作主机地址。
|
6460
|
+
:rtype: str
|
6461
|
+
"""
|
6462
|
+
return self._Host
|
6463
|
+
|
6464
|
+
@Host.setter
|
6465
|
+
def Host(self, Host):
|
6466
|
+
self._Host = Host
|
6467
|
+
|
6468
|
+
@property
|
6469
|
+
def DB(self):
|
6470
|
+
"""线程的操作数据库。
|
6471
|
+
:rtype: str
|
6472
|
+
"""
|
6473
|
+
return self._DB
|
6474
|
+
|
6475
|
+
@DB.setter
|
6476
|
+
def DB(self, DB):
|
6477
|
+
self._DB = DB
|
6478
|
+
|
6479
|
+
@property
|
6480
|
+
def State(self):
|
6481
|
+
"""线程的操作状态。
|
6482
|
+
:rtype: str
|
6483
|
+
"""
|
6484
|
+
return self._State
|
6485
|
+
|
6486
|
+
@State.setter
|
6487
|
+
def State(self, State):
|
6488
|
+
self._State = State
|
6489
|
+
|
6490
|
+
@property
|
6491
|
+
def Command(self):
|
6492
|
+
"""线程的执行类型。
|
6493
|
+
:rtype: str
|
6494
|
+
"""
|
6495
|
+
return self._Command
|
6496
|
+
|
6497
|
+
@Command.setter
|
6498
|
+
def Command(self, Command):
|
6499
|
+
self._Command = Command
|
6500
|
+
|
6501
|
+
@property
|
6502
|
+
def Time(self):
|
6503
|
+
"""线程的操作时长,单位秒。
|
6504
|
+
:rtype: str
|
6505
|
+
"""
|
6506
|
+
return self._Time
|
6507
|
+
|
6508
|
+
@Time.setter
|
6509
|
+
def Time(self, Time):
|
6510
|
+
self._Time = Time
|
6511
|
+
|
6512
|
+
@property
|
6513
|
+
def Info(self):
|
6514
|
+
"""线程的操作语句。
|
6515
|
+
:rtype: str
|
6516
|
+
"""
|
6517
|
+
return self._Info
|
6518
|
+
|
6519
|
+
@Info.setter
|
6520
|
+
def Info(self, Info):
|
6521
|
+
self._Info = Info
|
6522
|
+
|
6523
|
+
|
6524
|
+
def _deserialize(self, params):
|
6525
|
+
self._ID = params.get("ID")
|
6526
|
+
self._User = params.get("User")
|
6527
|
+
self._Host = params.get("Host")
|
6528
|
+
self._DB = params.get("DB")
|
6529
|
+
self._State = params.get("State")
|
6530
|
+
self._Command = params.get("Command")
|
6531
|
+
self._Time = params.get("Time")
|
6532
|
+
self._Info = params.get("Info")
|
6533
|
+
memeber_set = set(params.keys())
|
6534
|
+
for name, value in vars(self).items():
|
6535
|
+
property_name = name[1:]
|
6536
|
+
if property_name in memeber_set:
|
6537
|
+
memeber_set.remove(property_name)
|
6538
|
+
if len(memeber_set) > 0:
|
6539
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6540
|
+
|
6541
|
+
|
6542
|
+
|
6016
6543
|
class ProfileInfo(AbstractModel):
|
6017
6544
|
"""用户配置的信息
|
6018
6545
|
|
@@ -6066,6 +6593,72 @@ class ProfileInfo(AbstractModel):
|
|
6066
6593
|
|
6067
6594
|
|
6068
6595
|
|
6596
|
+
class RedisInstanceConf(AbstractModel):
|
6597
|
+
"""Redis实例内存配置参数
|
6598
|
+
|
6599
|
+
"""
|
6600
|
+
|
6601
|
+
def __init__(self):
|
6602
|
+
r"""
|
6603
|
+
:param _ReplicasNum: 副本数量
|
6604
|
+
:type ReplicasNum: str
|
6605
|
+
:param _ShardNum: 分片数量
|
6606
|
+
:type ShardNum: str
|
6607
|
+
:param _ShardSize: 分片内存大小,单位MB
|
6608
|
+
:type ShardSize: str
|
6609
|
+
"""
|
6610
|
+
self._ReplicasNum = None
|
6611
|
+
self._ShardNum = None
|
6612
|
+
self._ShardSize = None
|
6613
|
+
|
6614
|
+
@property
|
6615
|
+
def ReplicasNum(self):
|
6616
|
+
"""副本数量
|
6617
|
+
:rtype: str
|
6618
|
+
"""
|
6619
|
+
return self._ReplicasNum
|
6620
|
+
|
6621
|
+
@ReplicasNum.setter
|
6622
|
+
def ReplicasNum(self, ReplicasNum):
|
6623
|
+
self._ReplicasNum = ReplicasNum
|
6624
|
+
|
6625
|
+
@property
|
6626
|
+
def ShardNum(self):
|
6627
|
+
"""分片数量
|
6628
|
+
:rtype: str
|
6629
|
+
"""
|
6630
|
+
return self._ShardNum
|
6631
|
+
|
6632
|
+
@ShardNum.setter
|
6633
|
+
def ShardNum(self, ShardNum):
|
6634
|
+
self._ShardNum = ShardNum
|
6635
|
+
|
6636
|
+
@property
|
6637
|
+
def ShardSize(self):
|
6638
|
+
"""分片内存大小,单位MB
|
6639
|
+
:rtype: str
|
6640
|
+
"""
|
6641
|
+
return self._ShardSize
|
6642
|
+
|
6643
|
+
@ShardSize.setter
|
6644
|
+
def ShardSize(self, ShardSize):
|
6645
|
+
self._ShardSize = ShardSize
|
6646
|
+
|
6647
|
+
|
6648
|
+
def _deserialize(self, params):
|
6649
|
+
self._ReplicasNum = params.get("ReplicasNum")
|
6650
|
+
self._ShardNum = params.get("ShardNum")
|
6651
|
+
self._ShardSize = params.get("ShardSize")
|
6652
|
+
memeber_set = set(params.keys())
|
6653
|
+
for name, value in vars(self).items():
|
6654
|
+
property_name = name[1:]
|
6655
|
+
if property_name in memeber_set:
|
6656
|
+
memeber_set.remove(property_name)
|
6657
|
+
if len(memeber_set) > 0:
|
6658
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6659
|
+
|
6660
|
+
|
6661
|
+
|
6069
6662
|
class SchemaItem(AbstractModel):
|
6070
6663
|
"""SchemaItem数组
|
6071
6664
|
|