tencentcloud-sdk-python-dbbrain 3.1.101__tar.gz → 3.1.116__tar.gz

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 (22) hide show
  1. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/dbbrain/v20191016/models.py +4 -4
  5. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
  6. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +36 -0
  7. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/dbbrain/v20210527/errorcodes.py +3 -0
  8. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/dbbrain/v20210527/models.py +338 -86
  9. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud_sdk_python_dbbrain.egg-info/PKG-INFO +2 -2
  10. tencentcloud_sdk_python_dbbrain-3.1.116/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +1 -0
  11. tencentcloud_sdk_python_dbbrain-3.1.101/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +0 -1
  12. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/README.rst +0 -0
  13. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/setup.cfg +0 -0
  14. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/dbbrain/__init__.py +0 -0
  15. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/dbbrain/v20191016/__init__.py +0 -0
  16. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/dbbrain/v20191016/dbbrain_client.py +0 -0
  17. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/dbbrain/v20191016/dbbrain_client_async.py +0 -0
  18. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/dbbrain/v20191016/errorcodes.py +0 -0
  19. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud/dbbrain/v20210527/__init__.py +0 -0
  20. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud_sdk_python_dbbrain.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud_sdk_python_dbbrain.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_dbbrain-3.1.101 → tencentcloud_sdk_python_dbbrain-3.1.116}/tencentcloud_sdk_python_dbbrain.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dbbrain
3
- Version: 3.1.101
3
+ Version: 3.1.116
4
4
  Summary: Tencent Cloud Dbbrain SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.101
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.116
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-dbbrain',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.101,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.116,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Dbbrain SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.101'
17
+ __version__ = '3.1.116'
@@ -4548,9 +4548,9 @@ class EventInfo(AbstractModel):
4548
4548
  :type EventId: int
4549
4549
  :param _DiagType: 诊断类型。
4550
4550
  :type DiagType: str
4551
- :param _StartTime: 开始时间。
4551
+ :param _StartTime: 开始时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
4552
4552
  :type StartTime: str
4553
- :param _EndTime: 结束时间。
4553
+ :param _EndTime: 结束时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
4554
4554
  :type EndTime: str
4555
4555
  :param _Outline: 概要。
4556
4556
  :type Outline: str
@@ -4597,7 +4597,7 @@ class EventInfo(AbstractModel):
4597
4597
 
4598
4598
  @property
4599
4599
  def StartTime(self):
4600
- r"""开始时间。
4600
+ r"""开始时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
4601
4601
  :rtype: str
4602
4602
  """
4603
4603
  return self._StartTime
@@ -4608,7 +4608,7 @@ class EventInfo(AbstractModel):
4608
4608
 
4609
4609
  @property
4610
4610
  def EndTime(self):
4611
- r"""结束时间。
4611
+ r"""结束时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
4612
4612
  :rtype: str
4613
4613
  """
4614
4614
  return self._EndTime
@@ -900,6 +900,29 @@ class DbbrainClient(AbstractClient):
900
900
  raise TencentCloudSDKException(type(e).__name__, str(e))
901
901
 
902
902
 
903
+ def DescribeDatabaseAutonomyStatus(self, request):
904
+ r"""查询数据库自治功能的开关状态。当前支持 MongoDB 的索引推荐(AutoIndexAdvice)功能状态查询。
905
+
906
+ :param request: Request instance for DescribeDatabaseAutonomyStatus.
907
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDatabaseAutonomyStatusRequest`
908
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDatabaseAutonomyStatusResponse`
909
+
910
+ """
911
+ try:
912
+ params = request._serialize()
913
+ headers = request.headers
914
+ body = self.call("DescribeDatabaseAutonomyStatus", params, headers=headers)
915
+ response = json.loads(body)
916
+ model = models.DescribeDatabaseAutonomyStatusResponse()
917
+ model._deserialize(response["Response"])
918
+ return model
919
+ except Exception as e:
920
+ if isinstance(e, TencentCloudSDKException):
921
+ raise
922
+ else:
923
+ raise TencentCloudSDKException(type(e).__name__, str(e))
924
+
925
+
903
926
  def DescribeDiagDBInstances(self, request):
904
927
  r"""获取实例信息列表。Region统一选择广州。
905
928
 
@@ -1958,6 +1981,29 @@ class DbbrainClient(AbstractClient):
1958
1981
  raise TencentCloudSDKException(type(e).__name__, str(e))
1959
1982
 
1960
1983
 
1984
+ def UpdateDatabaseAutonomyStatus(self, request):
1985
+ r"""设置数据库自治功能的开关状态。当前支持 MongoDB 的索引推荐(AutoIndexAdvice)功能的开启或关闭。
1986
+
1987
+ :param request: Request instance for UpdateDatabaseAutonomyStatus.
1988
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.UpdateDatabaseAutonomyStatusRequest`
1989
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.UpdateDatabaseAutonomyStatusResponse`
1990
+
1991
+ """
1992
+ try:
1993
+ params = request._serialize()
1994
+ headers = request.headers
1995
+ body = self.call("UpdateDatabaseAutonomyStatus", params, headers=headers)
1996
+ response = json.loads(body)
1997
+ model = models.UpdateDatabaseAutonomyStatusResponse()
1998
+ model._deserialize(response["Response"])
1999
+ return model
2000
+ except Exception as e:
2001
+ if isinstance(e, TencentCloudSDKException):
2002
+ raise
2003
+ else:
2004
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2005
+
2006
+
1961
2007
  def UpdateMonitorSwitch(self, request):
1962
2008
  r"""更新Agent实例状态(停止或重连实例)
1963
2009
 
@@ -709,6 +709,24 @@ class DbbrainClient(AbstractClient):
709
709
 
710
710
  return await self.call_and_deserialize(**kwargs)
711
711
 
712
+ async def DescribeDatabaseAutonomyStatus(
713
+ self,
714
+ request: models.DescribeDatabaseAutonomyStatusRequest,
715
+ opts: Dict = None,
716
+ ) -> models.DescribeDatabaseAutonomyStatusResponse:
717
+ """
718
+ 查询数据库自治功能的开关状态。当前支持 MongoDB 的索引推荐(AutoIndexAdvice)功能状态查询。
719
+ """
720
+
721
+ kwargs = {}
722
+ kwargs["action"] = "DescribeDatabaseAutonomyStatus"
723
+ kwargs["params"] = request._serialize()
724
+ kwargs["resp_cls"] = models.DescribeDatabaseAutonomyStatusResponse
725
+ kwargs["headers"] = request.headers
726
+ kwargs["opts"] = opts or {}
727
+
728
+ return await self.call_and_deserialize(**kwargs)
729
+
712
730
  async def DescribeDiagDBInstances(
713
731
  self,
714
732
  request: models.DescribeDiagDBInstancesRequest,
@@ -1537,6 +1555,24 @@ class DbbrainClient(AbstractClient):
1537
1555
 
1538
1556
  return await self.call_and_deserialize(**kwargs)
1539
1557
 
1558
+ async def UpdateDatabaseAutonomyStatus(
1559
+ self,
1560
+ request: models.UpdateDatabaseAutonomyStatusRequest,
1561
+ opts: Dict = None,
1562
+ ) -> models.UpdateDatabaseAutonomyStatusResponse:
1563
+ """
1564
+ 设置数据库自治功能的开关状态。当前支持 MongoDB 的索引推荐(AutoIndexAdvice)功能的开启或关闭。
1565
+ """
1566
+
1567
+ kwargs = {}
1568
+ kwargs["action"] = "UpdateDatabaseAutonomyStatus"
1569
+ kwargs["params"] = request._serialize()
1570
+ kwargs["resp_cls"] = models.UpdateDatabaseAutonomyStatusResponse
1571
+ kwargs["headers"] = request.headers
1572
+ kwargs["opts"] = opts or {}
1573
+
1574
+ return await self.call_and_deserialize(**kwargs)
1575
+
1540
1576
  async def UpdateMonitorSwitch(
1541
1577
  self,
1542
1578
  request: models.UpdateMonitorSwitchRequest,
@@ -56,6 +56,9 @@ OPERATIONDENIED = 'OperationDenied'
56
56
  # CAM鉴权错误。
57
57
  OPERATIONDENIED_USERHASNOSTRATEGY = 'OperationDenied.UserHasNoStrategy'
58
58
 
59
+ # 地域错误
60
+ REGIONERROR = 'RegionError'
61
+
59
62
  # 请求的次数超过了频率限制。
60
63
  REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
61
64
 
@@ -6242,20 +6242,19 @@ class DescribeDBDiagEventsRequest(AbstractModel):
6242
6242
 
6243
6243
  def __init__(self):
6244
6244
  r"""
6245
- :param _StartTime: 开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。
6245
+ :param _StartTime: <p>开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。</p>
6246
6246
  :type StartTime: str
6247
- :param _EndTime: 结束时间,如“2021-05-27 01:00:00”,支持的最早查询时间为当前时间的前30天。
6247
+ :param _EndTime: <p>结束时间,如“2021-05-27 01:00:00”,支持的最早查询时间为当前时间的前30天。</p>
6248
6248
  :type EndTime: str
6249
- :param _Severities: 风险等级列表,取值按影响程度从高至低分别为:1 - 致命、2 -严重、3 - 告警、4 - 提示、5 -健康。
6249
+ :param _Severities: <p>风险等级列表,取值按影响程度从高至低分别为:1 - 致命、2 -严重、3 - 告警、4 - 提示、5 -健康。</p>
6250
6250
  :type Severities: list of int
6251
- :param _InstanceIds: 实例ID列表。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
6252
- 查询TDSQL MySQL分布式实例:Instanceld:填写集群ID&Shard实例ID,如:dcdbt-157xxxk&shard-qxxxx
6251
+ :param _InstanceIds: <p>实例ID列表。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。<br>查询TDSQL MySQL分布式实例:Instanceld:填写集群ID&amp;Shard实例ID,如:dcdbt-157xxxk&amp;shard-qxxxx</p>
6253
6252
  :type InstanceIds: list of str
6254
- :param _Product: 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mariadb"-数据库mariadb 默认为"mysql"。
6253
+ :param _Product: <p>服务产品类型,支持值包括:&quot;mysql&quot; - 云数据库 MySQL,&quot;mongodb&quot;- 云数据库MongoDB, &quot;postgres&quot;-云数据库postgres,云数据库&quot;redis&quot; - 云数据库 Redis,&quot;mariadb&quot;-数据库mariadb,&quot;cynosdb&quot;-数据库 TDSQL-C, &quot;dcdb&quot;-数据库TDSQL MySQL 默认为&quot;mysql&quot;。</p>
6255
6254
  :type Product: str
6256
- :param _Offset: 偏移量,默认0
6255
+ :param _Offset: <p>偏移量,默认0。</p>
6257
6256
  :type Offset: int
6258
- :param _Limit: 返回数量,默认20,最大值为50
6257
+ :param _Limit: <p>返回数量,默认20,最大值为50。</p>
6259
6258
  :type Limit: int
6260
6259
  """
6261
6260
  self._StartTime = None
@@ -6268,7 +6267,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
6268
6267
 
6269
6268
  @property
6270
6269
  def StartTime(self):
6271
- r"""开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。
6270
+ r"""<p>开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。</p>
6272
6271
  :rtype: str
6273
6272
  """
6274
6273
  return self._StartTime
@@ -6279,7 +6278,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
6279
6278
 
6280
6279
  @property
6281
6280
  def EndTime(self):
6282
- r"""结束时间,如“2021-05-27 01:00:00”,支持的最早查询时间为当前时间的前30天。
6281
+ r"""<p>结束时间,如“2021-05-27 01:00:00”,支持的最早查询时间为当前时间的前30天。</p>
6283
6282
  :rtype: str
6284
6283
  """
6285
6284
  return self._EndTime
@@ -6290,7 +6289,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
6290
6289
 
6291
6290
  @property
6292
6291
  def Severities(self):
6293
- r"""风险等级列表,取值按影响程度从高至低分别为:1 - 致命、2 -严重、3 - 告警、4 - 提示、5 -健康。
6292
+ r"""<p>风险等级列表,取值按影响程度从高至低分别为:1 - 致命、2 -严重、3 - 告警、4 - 提示、5 -健康。</p>
6294
6293
  :rtype: list of int
6295
6294
  """
6296
6295
  return self._Severities
@@ -6301,8 +6300,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
6301
6300
 
6302
6301
  @property
6303
6302
  def InstanceIds(self):
6304
- r"""实例ID列表。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
6305
- 查询TDSQL MySQL分布式实例:Instanceld:填写集群ID&Shard实例ID,如:dcdbt-157xxxk&shard-qxxxx
6303
+ r"""<p>实例ID列表。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。<br>查询TDSQL MySQL分布式实例:Instanceld:填写集群ID&amp;Shard实例ID,如:dcdbt-157xxxk&amp;shard-qxxxx</p>
6306
6304
  :rtype: list of str
6307
6305
  """
6308
6306
  return self._InstanceIds
@@ -6313,7 +6311,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
6313
6311
 
6314
6312
  @property
6315
6313
  def Product(self):
6316
- r"""服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mariadb"-数据库mariadb 默认为"mysql"。
6314
+ r"""<p>服务产品类型,支持值包括:&quot;mysql&quot; - 云数据库 MySQL,&quot;mongodb&quot;- 云数据库MongoDB, &quot;postgres&quot;-云数据库postgres,云数据库&quot;redis&quot; - 云数据库 Redis,&quot;mariadb&quot;-数据库mariadb,&quot;cynosdb&quot;-数据库 TDSQL-C, &quot;dcdb&quot;-数据库TDSQL MySQL 默认为&quot;mysql&quot;。</p>
6317
6315
  :rtype: str
6318
6316
  """
6319
6317
  return self._Product
@@ -6324,7 +6322,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
6324
6322
 
6325
6323
  @property
6326
6324
  def Offset(self):
6327
- r"""偏移量,默认0
6325
+ r"""<p>偏移量,默认0。</p>
6328
6326
  :rtype: int
6329
6327
  """
6330
6328
  return self._Offset
@@ -6335,7 +6333,7 @@ class DescribeDBDiagEventsRequest(AbstractModel):
6335
6333
 
6336
6334
  @property
6337
6335
  def Limit(self):
6338
- r"""返回数量,默认20,最大值为50
6336
+ r"""<p>返回数量,默认20,最大值为50。</p>
6339
6337
  :rtype: int
6340
6338
  """
6341
6339
  return self._Limit
@@ -6370,9 +6368,9 @@ class DescribeDBDiagEventsResponse(AbstractModel):
6370
6368
 
6371
6369
  def __init__(self):
6372
6370
  r"""
6373
- :param _TotalCount: 诊断事件的总数目。
6371
+ :param _TotalCount: <p>诊断事件的总数目。</p>
6374
6372
  :type TotalCount: int
6375
- :param _Items: 诊断事件的列表。
6373
+ :param _Items: <p>诊断事件的列表。</p>
6376
6374
  :type Items: list of DiagHistoryEventItem
6377
6375
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6378
6376
  :type RequestId: str
@@ -6383,7 +6381,7 @@ class DescribeDBDiagEventsResponse(AbstractModel):
6383
6381
 
6384
6382
  @property
6385
6383
  def TotalCount(self):
6386
- r"""诊断事件的总数目。
6384
+ r"""<p>诊断事件的总数目。</p>
6387
6385
  :rtype: int
6388
6386
  """
6389
6387
  return self._TotalCount
@@ -6394,7 +6392,7 @@ class DescribeDBDiagEventsResponse(AbstractModel):
6394
6392
 
6395
6393
  @property
6396
6394
  def Items(self):
6397
- r"""诊断事件的列表。
6395
+ r"""<p>诊断事件的列表。</p>
6398
6396
  :rtype: list of DiagHistoryEventItem
6399
6397
  """
6400
6398
  return self._Items
@@ -7110,11 +7108,11 @@ class DescribeDBSpaceStatusRequest(AbstractModel):
7110
7108
 
7111
7109
  def __init__(self):
7112
7110
  r"""
7113
- :param _InstanceId: 实例 ID
7111
+ :param _InstanceId: <p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。(备注,dcdb的InstanceId 要求使用 <code>ClusterId&amp;InstanceId</code>代替)</p>
7114
7112
  :type InstanceId: str
7115
- :param _RangeDays: 时间段天数,截止日期为当日,默认为7天。
7113
+ :param _RangeDays: <p>时间段天数,截止日期为当日,默认为7天。</p>
7116
7114
  :type RangeDays: int
7117
- :param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"mongodb" - 云数据库 MongoDB,默认为"mysql"。
7115
+ :param _Product: <p>服务产品类型,支持值包括: &quot;mysql&quot; - 云数据库 MySQL, &quot;cynosdb&quot; - 云数据库 CynosDB for MySQL,&quot;mongodb&quot; - 云数据库 MongoDB,&quot;dcdb&quot; -(TDSQL MySQL 版)、&quot;mariadb&quot; -(TDSQL MariaDB 版)默认为&quot;mysql&quot;。</p>
7118
7116
  :type Product: str
7119
7117
  """
7120
7118
  self._InstanceId = None
@@ -7123,7 +7121,7 @@ class DescribeDBSpaceStatusRequest(AbstractModel):
7123
7121
 
7124
7122
  @property
7125
7123
  def InstanceId(self):
7126
- r"""实例 ID
7124
+ r"""<p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。(备注,dcdb的InstanceId 要求使用 <code>ClusterId&amp;InstanceId</code>代替)</p>
7127
7125
  :rtype: str
7128
7126
  """
7129
7127
  return self._InstanceId
@@ -7134,7 +7132,7 @@ class DescribeDBSpaceStatusRequest(AbstractModel):
7134
7132
 
7135
7133
  @property
7136
7134
  def RangeDays(self):
7137
- r"""时间段天数,截止日期为当日,默认为7天。
7135
+ r"""<p>时间段天数,截止日期为当日,默认为7天。</p>
7138
7136
  :rtype: int
7139
7137
  """
7140
7138
  return self._RangeDays
@@ -7145,7 +7143,7 @@ class DescribeDBSpaceStatusRequest(AbstractModel):
7145
7143
 
7146
7144
  @property
7147
7145
  def Product(self):
7148
- r"""服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"mongodb" - 云数据库 MongoDB,默认为"mysql"。
7146
+ r"""<p>服务产品类型,支持值包括: &quot;mysql&quot; - 云数据库 MySQL, &quot;cynosdb&quot; - 云数据库 CynosDB for MySQL,&quot;mongodb&quot; - 云数据库 MongoDB,&quot;dcdb&quot; -(TDSQL MySQL 版)、&quot;mariadb&quot; -(TDSQL MariaDB 版)默认为&quot;mysql&quot;。</p>
7149
7147
  :rtype: str
7150
7148
  """
7151
7149
  return self._Product
@@ -7176,13 +7174,13 @@ class DescribeDBSpaceStatusResponse(AbstractModel):
7176
7174
 
7177
7175
  def __init__(self):
7178
7176
  r"""
7179
- :param _Growth: 磁盘增长量(MB)
7177
+ :param _Growth: <p>磁盘增长量(MB)。</p>
7180
7178
  :type Growth: int
7181
- :param _Remain: 磁盘剩余(MB)
7179
+ :param _Remain: <p>磁盘剩余(MB)。</p>
7182
7180
  :type Remain: int
7183
- :param _Total: 磁盘总量(MB)
7181
+ :param _Total: <p>磁盘总量(MB)。</p>
7184
7182
  :type Total: int
7185
- :param _AvailableDays: 预计可用天数。
7183
+ :param _AvailableDays: <p>预计可用天数。</p>
7186
7184
  :type AvailableDays: int
7187
7185
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7188
7186
  :type RequestId: str
@@ -7195,7 +7193,7 @@ class DescribeDBSpaceStatusResponse(AbstractModel):
7195
7193
 
7196
7194
  @property
7197
7195
  def Growth(self):
7198
- r"""磁盘增长量(MB)
7196
+ r"""<p>磁盘增长量(MB)。</p>
7199
7197
  :rtype: int
7200
7198
  """
7201
7199
  return self._Growth
@@ -7206,7 +7204,7 @@ class DescribeDBSpaceStatusResponse(AbstractModel):
7206
7204
 
7207
7205
  @property
7208
7206
  def Remain(self):
7209
- r"""磁盘剩余(MB)
7207
+ r"""<p>磁盘剩余(MB)。</p>
7210
7208
  :rtype: int
7211
7209
  """
7212
7210
  return self._Remain
@@ -7217,7 +7215,7 @@ class DescribeDBSpaceStatusResponse(AbstractModel):
7217
7215
 
7218
7216
  @property
7219
7217
  def Total(self):
7220
- r"""磁盘总量(MB)
7218
+ r"""<p>磁盘总量(MB)。</p>
7221
7219
  :rtype: int
7222
7220
  """
7223
7221
  return self._Total
@@ -7228,7 +7226,7 @@ class DescribeDBSpaceStatusResponse(AbstractModel):
7228
7226
 
7229
7227
  @property
7230
7228
  def AvailableDays(self):
7231
- r"""预计可用天数。
7229
+ r"""<p>预计可用天数。</p>
7232
7230
  :rtype: int
7233
7231
  """
7234
7232
  return self._AvailableDays
@@ -7257,6 +7255,115 @@ class DescribeDBSpaceStatusResponse(AbstractModel):
7257
7255
  self._RequestId = params.get("RequestId")
7258
7256
 
7259
7257
 
7258
+ class DescribeDatabaseAutonomyStatusRequest(AbstractModel):
7259
+ r"""DescribeDatabaseAutonomyStatus请求参数结构体
7260
+
7261
+ """
7262
+
7263
+ def __init__(self):
7264
+ r"""
7265
+ :param _InstanceId: <p>实例 ID。</p>
7266
+ :type InstanceId: str
7267
+ :param _Product: <p>服务产品类型。取值:mongodb(云数据库 MongoDB)。</p>
7268
+ :type Product: str
7269
+ :param _Type: <p>自治功能类型。取值:AutoIndexAdvice(索引推荐)。</p>
7270
+ :type Type: str
7271
+ """
7272
+ self._InstanceId = None
7273
+ self._Product = None
7274
+ self._Type = None
7275
+
7276
+ @property
7277
+ def InstanceId(self):
7278
+ r"""<p>实例 ID。</p>
7279
+ :rtype: str
7280
+ """
7281
+ return self._InstanceId
7282
+
7283
+ @InstanceId.setter
7284
+ def InstanceId(self, InstanceId):
7285
+ self._InstanceId = InstanceId
7286
+
7287
+ @property
7288
+ def Product(self):
7289
+ r"""<p>服务产品类型。取值:mongodb(云数据库 MongoDB)。</p>
7290
+ :rtype: str
7291
+ """
7292
+ return self._Product
7293
+
7294
+ @Product.setter
7295
+ def Product(self, Product):
7296
+ self._Product = Product
7297
+
7298
+ @property
7299
+ def Type(self):
7300
+ r"""<p>自治功能类型。取值:AutoIndexAdvice(索引推荐)。</p>
7301
+ :rtype: str
7302
+ """
7303
+ return self._Type
7304
+
7305
+ @Type.setter
7306
+ def Type(self, Type):
7307
+ self._Type = Type
7308
+
7309
+
7310
+ def _deserialize(self, params):
7311
+ self._InstanceId = params.get("InstanceId")
7312
+ self._Product = params.get("Product")
7313
+ self._Type = params.get("Type")
7314
+ memeber_set = set(params.keys())
7315
+ for name, value in vars(self).items():
7316
+ property_name = name[1:]
7317
+ if property_name in memeber_set:
7318
+ memeber_set.remove(property_name)
7319
+ if len(memeber_set) > 0:
7320
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7321
+
7322
+
7323
+
7324
+ class DescribeDatabaseAutonomyStatusResponse(AbstractModel):
7325
+ r"""DescribeDatabaseAutonomyStatus返回参数结构体
7326
+
7327
+ """
7328
+
7329
+ def __init__(self):
7330
+ r"""
7331
+ :param _Status: <p>自治功能开关状态。取值:0(关闭)、1(开启)。</p>
7332
+ :type Status: int
7333
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7334
+ :type RequestId: str
7335
+ """
7336
+ self._Status = None
7337
+ self._RequestId = None
7338
+
7339
+ @property
7340
+ def Status(self):
7341
+ r"""<p>自治功能开关状态。取值:0(关闭)、1(开启)。</p>
7342
+ :rtype: int
7343
+ """
7344
+ return self._Status
7345
+
7346
+ @Status.setter
7347
+ def Status(self, Status):
7348
+ self._Status = Status
7349
+
7350
+ @property
7351
+ def RequestId(self):
7352
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7353
+ :rtype: str
7354
+ """
7355
+ return self._RequestId
7356
+
7357
+ @RequestId.setter
7358
+ def RequestId(self, RequestId):
7359
+ self._RequestId = RequestId
7360
+
7361
+
7362
+ def _deserialize(self, params):
7363
+ self._Status = params.get("Status")
7364
+ self._RequestId = params.get("RequestId")
7365
+
7366
+
7260
7367
  class DescribeDiagDBInstancesRequest(AbstractModel):
7261
7368
  r"""DescribeDiagDBInstances请求参数结构体
7262
7369
 
@@ -7468,11 +7575,11 @@ class DescribeHealthScoreRequest(AbstractModel):
7468
7575
 
7469
7576
  def __init__(self):
7470
7577
  r"""
7471
- :param _InstanceId: 需要获取健康得分的实例ID
7578
+ :param _InstanceId: <p>需要获取健康得分的实例ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。如果是dcdb(TDSQL MySQL),请使用 <code>{ClusterId}&amp;{InstanceId}</code> 拼接结果代替入参</p>
7472
7579
  :type InstanceId: str
7473
- :param _Time: 获取健康得分的时间,时间格式如:2019-09-10 12:13:14
7580
+ :param _Time: <p>获取健康得分的时间,时间格式如:2019-09-10 12:13:14。</p>
7474
7581
  :type Time: str
7475
- :param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
7582
+ :param _Product: <p>服务产品类型,支持值包括: &quot;mysql&quot; - 云数据库 MySQL, &quot;cynosdb&quot; - 云数据库 TDSQL-C for MySQL,&quot;redis&quot; - 云数据库 Redis,默认为&quot;mysql&quot;。</p>
7476
7583
  :type Product: str
7477
7584
  """
7478
7585
  self._InstanceId = None
@@ -7481,7 +7588,7 @@ class DescribeHealthScoreRequest(AbstractModel):
7481
7588
 
7482
7589
  @property
7483
7590
  def InstanceId(self):
7484
- r"""需要获取健康得分的实例ID
7591
+ r"""<p>需要获取健康得分的实例ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。如果是dcdb(TDSQL MySQL),请使用 <code>{ClusterId}&amp;{InstanceId}</code> 拼接结果代替入参</p>
7485
7592
  :rtype: str
7486
7593
  """
7487
7594
  return self._InstanceId
@@ -7492,7 +7599,7 @@ class DescribeHealthScoreRequest(AbstractModel):
7492
7599
 
7493
7600
  @property
7494
7601
  def Time(self):
7495
- r"""获取健康得分的时间,时间格式如:2019-09-10 12:13:14
7602
+ r"""<p>获取健康得分的时间,时间格式如:2019-09-10 12:13:14。</p>
7496
7603
  :rtype: str
7497
7604
  """
7498
7605
  return self._Time
@@ -7503,7 +7610,7 @@ class DescribeHealthScoreRequest(AbstractModel):
7503
7610
 
7504
7611
  @property
7505
7612
  def Product(self):
7506
- r"""服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
7613
+ r"""<p>服务产品类型,支持值包括: &quot;mysql&quot; - 云数据库 MySQL, &quot;cynosdb&quot; - 云数据库 TDSQL-C for MySQL,&quot;redis&quot; - 云数据库 Redis,默认为&quot;mysql&quot;。</p>
7507
7614
  :rtype: str
7508
7615
  """
7509
7616
  return self._Product
@@ -7534,7 +7641,7 @@ class DescribeHealthScoreResponse(AbstractModel):
7534
7641
 
7535
7642
  def __init__(self):
7536
7643
  r"""
7537
- :param _Data: 健康得分以及异常扣分项。
7644
+ :param _Data: <p>健康得分以及异常扣分项。</p>
7538
7645
  :type Data: :class:`tencentcloud.dbbrain.v20210527.models.HealthScoreInfo`
7539
7646
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7540
7647
  :type RequestId: str
@@ -7544,7 +7651,7 @@ class DescribeHealthScoreResponse(AbstractModel):
7544
7651
 
7545
7652
  @property
7546
7653
  def Data(self):
7547
- r"""健康得分以及异常扣分项。
7654
+ r"""<p>健康得分以及异常扣分项。</p>
7548
7655
  :rtype: :class:`tencentcloud.dbbrain.v20210527.models.HealthScoreInfo`
7549
7656
  """
7550
7657
  return self._Data
@@ -8526,31 +8633,29 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8526
8633
 
8527
8634
  def __init__(self):
8528
8635
  r"""
8529
- :param _InstanceId: 实例 ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
8636
+ :param _InstanceId: <p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。<strong>其中 dcdb(即TDSQL MySQL) 的查询入参InstanceId特殊,需要使用 ClusterId + &amp; + InstanceId 来组合代替, 如:<code>tdsqlshard-s1230&amp;shard-abcd</code></strong></p>
8530
8637
  :type InstanceId: str
8531
- :param _ID: 线程的ID,用于筛选线程列表。
8638
+ :param _ID: <p>线程的ID,用于筛选线程列表。</p>
8532
8639
  :type ID: int
8533
- :param _User: 线程的操作账号名,用于筛选线程列表。
8640
+ :param _User: <p>线程的操作账号名,用于筛选线程列表。</p>
8534
8641
  :type User: str
8535
- :param _Host: 线程的操作主机地址,用于筛选线程列表。
8642
+ :param _Host: <p>线程的操作主机地址,用于筛选线程列表。</p>
8536
8643
  :type Host: str
8537
- :param _DB: 线程的操作数据库,用于筛选线程列表。
8644
+ :param _DB: <p>线程的操作数据库,用于筛选线程列表。</p>
8538
8645
  :type DB: str
8539
- :param _State: 线程的操作状态。包含以下枚举值:Sending data​-线程正在处理查询结果, ​Sorting result​-线程正在对查询结果进行排序​,Creating tmp table​-线程正在创建临时表,Altering table​-线程正在执行表结构变更,Updating-线程执行更新中。
8646
+ :param _State: <p>线程的操作状态。包含以下枚举值:Sending data​-线程正在处理查询结果, ​Sorting result​-线程正在对查询结果进行排序​,Creating tmp table​-线程正在创建临时表,Altering table​-线程正在执行表结构变更,Updating-线程执行更新中。</p>
8540
8647
  :type State: str
8541
- :param _Command: 线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。
8648
+ :param _Command: <p>线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。</p>
8542
8649
  :type Command: str
8543
- :param _Time: 线程的操作时长最小值,单位秒,用于筛选操作时长大于该值的线程列表。
8650
+ :param _Time: <p>线程的操作时长最小值,单位秒,用于筛选操作时长大于该值的线程列表。</p>
8544
8651
  :type Time: int
8545
- :param _Info: 线程的操作语句,用于筛选线程列表。
8652
+ :param _Info: <p>线程的操作语句,用于筛选线程列表。</p>
8546
8653
  :type Info: str
8547
- :param _Limit: 返回数量,默认20
8654
+ :param _Limit: <p>返回数量,默认20。</p>
8548
8655
  :type Limit: int
8549
- :param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"mariadb"-mariadb;"cynosdb"-TDSQL-C for MySQL ;"dcdb"-TDSQL MySQL 默认为"mysql"。
8550
-
8551
-
8656
+ :param _Product: <p>服务产品类型,支持值:&quot;mysql&quot; - 云数据库 MySQL;&quot;mariadb&quot;-mariadb;&quot;cynosdb&quot;-TDSQL-C for MySQL ;&quot;dcdb&quot;-TDSQL MySQL 默认为&quot;mysql&quot;。</p>
8552
8657
  :type Product: str
8553
- :param _StatDimensions: 会话统计的维度信息,可以多个维度。
8658
+ :param _StatDimensions: <p>会话统计的维度信息,可以多个维度。</p>
8554
8659
  :type StatDimensions: list of StatDimension
8555
8660
  """
8556
8661
  self._InstanceId = None
@@ -8568,7 +8673,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8568
8673
 
8569
8674
  @property
8570
8675
  def InstanceId(self):
8571
- r"""实例 ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
8676
+ r"""<p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/api/1130/57798">DescribeDiagDBInstances</a> 接口获取。<strong>其中 dcdb(即TDSQL MySQL) 的查询入参InstanceId特殊,需要使用 ClusterId + &amp; + InstanceId 来组合代替, 如:<code>tdsqlshard-s1230&amp;shard-abcd</code></strong></p>
8572
8677
  :rtype: str
8573
8678
  """
8574
8679
  return self._InstanceId
@@ -8579,7 +8684,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8579
8684
 
8580
8685
  @property
8581
8686
  def ID(self):
8582
- r"""线程的ID,用于筛选线程列表。
8687
+ r"""<p>线程的ID,用于筛选线程列表。</p>
8583
8688
  :rtype: int
8584
8689
  """
8585
8690
  return self._ID
@@ -8590,7 +8695,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8590
8695
 
8591
8696
  @property
8592
8697
  def User(self):
8593
- r"""线程的操作账号名,用于筛选线程列表。
8698
+ r"""<p>线程的操作账号名,用于筛选线程列表。</p>
8594
8699
  :rtype: str
8595
8700
  """
8596
8701
  return self._User
@@ -8601,7 +8706,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8601
8706
 
8602
8707
  @property
8603
8708
  def Host(self):
8604
- r"""线程的操作主机地址,用于筛选线程列表。
8709
+ r"""<p>线程的操作主机地址,用于筛选线程列表。</p>
8605
8710
  :rtype: str
8606
8711
  """
8607
8712
  return self._Host
@@ -8612,7 +8717,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8612
8717
 
8613
8718
  @property
8614
8719
  def DB(self):
8615
- r"""线程的操作数据库,用于筛选线程列表。
8720
+ r"""<p>线程的操作数据库,用于筛选线程列表。</p>
8616
8721
  :rtype: str
8617
8722
  """
8618
8723
  return self._DB
@@ -8623,7 +8728,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8623
8728
 
8624
8729
  @property
8625
8730
  def State(self):
8626
- r"""线程的操作状态。包含以下枚举值:Sending data​-线程正在处理查询结果, ​Sorting result​-线程正在对查询结果进行排序​,Creating tmp table​-线程正在创建临时表,Altering table​-线程正在执行表结构变更,Updating-线程执行更新中。
8731
+ r"""<p>线程的操作状态。包含以下枚举值:Sending data​-线程正在处理查询结果, ​Sorting result​-线程正在对查询结果进行排序​,Creating tmp table​-线程正在创建临时表,Altering table​-线程正在执行表结构变更,Updating-线程执行更新中。</p>
8627
8732
  :rtype: str
8628
8733
  """
8629
8734
  return self._State
@@ -8634,7 +8739,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8634
8739
 
8635
8740
  @property
8636
8741
  def Command(self):
8637
- r"""线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。
8742
+ r"""<p>线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。</p>
8638
8743
  :rtype: str
8639
8744
  """
8640
8745
  return self._Command
@@ -8645,7 +8750,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8645
8750
 
8646
8751
  @property
8647
8752
  def Time(self):
8648
- r"""线程的操作时长最小值,单位秒,用于筛选操作时长大于该值的线程列表。
8753
+ r"""<p>线程的操作时长最小值,单位秒,用于筛选操作时长大于该值的线程列表。</p>
8649
8754
  :rtype: int
8650
8755
  """
8651
8756
  return self._Time
@@ -8656,7 +8761,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8656
8761
 
8657
8762
  @property
8658
8763
  def Info(self):
8659
- r"""线程的操作语句,用于筛选线程列表。
8764
+ r"""<p>线程的操作语句,用于筛选线程列表。</p>
8660
8765
  :rtype: str
8661
8766
  """
8662
8767
  return self._Info
@@ -8667,7 +8772,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8667
8772
 
8668
8773
  @property
8669
8774
  def Limit(self):
8670
- r"""返回数量,默认20
8775
+ r"""<p>返回数量,默认20。</p>
8671
8776
  :rtype: int
8672
8777
  """
8673
8778
  return self._Limit
@@ -8678,9 +8783,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8678
8783
 
8679
8784
  @property
8680
8785
  def Product(self):
8681
- r"""服务产品类型,支持值:"mysql" - 云数据库 MySQL;"mariadb"-mariadb;"cynosdb"-TDSQL-C for MySQL ;"dcdb"-TDSQL MySQL 默认为"mysql"。
8682
-
8683
-
8786
+ r"""<p>服务产品类型,支持值:&quot;mysql&quot; - 云数据库 MySQL;&quot;mariadb&quot;-mariadb;&quot;cynosdb&quot;-TDSQL-C for MySQL ;&quot;dcdb&quot;-TDSQL MySQL 默认为&quot;mysql&quot;。</p>
8684
8787
  :rtype: str
8685
8788
  """
8686
8789
  return self._Product
@@ -8691,7 +8794,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
8691
8794
 
8692
8795
  @property
8693
8796
  def StatDimensions(self):
8694
- r"""会话统计的维度信息,可以多个维度。
8797
+ r"""<p>会话统计的维度信息,可以多个维度。</p>
8695
8798
  :rtype: list of StatDimension
8696
8799
  """
8697
8800
  return self._StatDimensions
@@ -8736,9 +8839,9 @@ class DescribeMySqlProcessListResponse(AbstractModel):
8736
8839
 
8737
8840
  def __init__(self):
8738
8841
  r"""
8739
- :param _ProcessList: 实时线程列表。
8842
+ :param _ProcessList: <p>实时线程列表。</p>
8740
8843
  :type ProcessList: list of MySqlProcess
8741
- :param _Statistics: sql会话统计信息。如果请求参数中包含StatDimensions,该参数则可能返回,否则不返回。
8844
+ :param _Statistics: <p>sql会话统计信息。如果请求参数中包含StatDimensions,该参数则可能返回,否则不返回。</p>
8742
8845
  :type Statistics: list of StatisticInfo
8743
8846
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8744
8847
  :type RequestId: str
@@ -8749,7 +8852,7 @@ class DescribeMySqlProcessListResponse(AbstractModel):
8749
8852
 
8750
8853
  @property
8751
8854
  def ProcessList(self):
8752
- r"""实时线程列表。
8855
+ r"""<p>实时线程列表。</p>
8753
8856
  :rtype: list of MySqlProcess
8754
8857
  """
8755
8858
  return self._ProcessList
@@ -8760,7 +8863,7 @@ class DescribeMySqlProcessListResponse(AbstractModel):
8760
8863
 
8761
8864
  @property
8762
8865
  def Statistics(self):
8763
- r"""sql会话统计信息。如果请求参数中包含StatDimensions,该参数则可能返回,否则不返回。
8866
+ r"""<p>sql会话统计信息。如果请求参数中包含StatDimensions,该参数则可能返回,否则不返回。</p>
8764
8867
  :rtype: list of StatisticInfo
8765
8868
  """
8766
8869
  return self._Statistics
@@ -14066,11 +14169,11 @@ class EventInfo(AbstractModel):
14066
14169
  r"""
14067
14170
  :param _EventId: 事件 ID 。
14068
14171
  :type EventId: int
14069
- :param _DiagType: 诊断类型。
14172
+ :param _DiagType: 诊断类型。包含以下值:内存利用率,CPU利用率,磁盘空间利用率,复制,复制IO线程中断。
14070
14173
  :type DiagType: str
14071
- :param _StartTime: 开始时间。
14174
+ :param _StartTime: 开始时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
14072
14175
  :type StartTime: str
14073
- :param _EndTime: 结束时间。
14176
+ :param _EndTime: 结束时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
14074
14177
  :type EndTime: str
14075
14178
  :param _Outline: 概要。
14076
14179
  :type Outline: str
@@ -14106,7 +14209,7 @@ class EventInfo(AbstractModel):
14106
14209
 
14107
14210
  @property
14108
14211
  def DiagType(self):
14109
- r"""诊断类型。
14212
+ r"""诊断类型。包含以下值:内存利用率,CPU利用率,磁盘空间利用率,复制,复制IO线程中断。
14110
14213
  :rtype: str
14111
14214
  """
14112
14215
  return self._DiagType
@@ -14117,7 +14220,7 @@ class EventInfo(AbstractModel):
14117
14220
 
14118
14221
  @property
14119
14222
  def StartTime(self):
14120
- r"""开始时间。
14223
+ r"""开始时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
14121
14224
  :rtype: str
14122
14225
  """
14123
14226
  return self._StartTime
@@ -14128,7 +14231,7 @@ class EventInfo(AbstractModel):
14128
14231
 
14129
14232
  @property
14130
14233
  def EndTime(self):
14131
- r"""结束时间。
14234
+ r"""结束时间。格式: "yyyy-MM-dd'T'HH:mm:ssXXX"
14132
14235
  :rtype: str
14133
14236
  """
14134
14237
  return self._EndTime
@@ -14438,6 +14541,11 @@ class HealthScoreInfo(AbstractModel):
14438
14541
  :param _HealthScore: 健康得分。
14439
14542
  :type HealthScore: int
14440
14543
  :param _HealthLevel: 健康等级, 如:"HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK"。
14544
+ 其中:
14545
+ HEALTH - 健康
14546
+ SUB_HEALTH - 亚健康
14547
+ RISK - 危险
14548
+ HIGH_RISK - 高危
14441
14549
  :type HealthLevel: str
14442
14550
  """
14443
14551
  self._IssueTypes = None
@@ -14481,6 +14589,11 @@ class HealthScoreInfo(AbstractModel):
14481
14589
  @property
14482
14590
  def HealthLevel(self):
14483
14591
  r"""健康等级, 如:"HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK"。
14592
+ 其中:
14593
+ HEALTH - 健康
14594
+ SUB_HEALTH - 亚健康
14595
+ RISK - 危险
14596
+ HIGH_RISK - 高危
14484
14597
  :rtype: str
14485
14598
  """
14486
14599
  return self._HealthLevel
@@ -19950,20 +20063,23 @@ class SessionItem(AbstractModel):
19950
20063
 
19951
20064
  def __init__(self):
19952
20065
  r"""
19953
- :param _Ip: 访问来源。
20066
+ :param _Ip: <p>访问来源。</p>
19954
20067
  :type Ip: str
19955
- :param _ActiveConn: 当前访问来源活跃连接数
20068
+ :param _ActiveConn: <p>当前访问来源活跃连接数</p>
19956
20069
  :type ActiveConn: str
19957
- :param _AllConn: 当前访问来源总连接数
20070
+ :param _AllConn: <p>当前访问来源总连接数</p>
19958
20071
  :type AllConn: int
20072
+ :param _IsInternalIp: <p>是否为内网ip</p>
20073
+ :type IsInternalIp: bool
19959
20074
  """
19960
20075
  self._Ip = None
19961
20076
  self._ActiveConn = None
19962
20077
  self._AllConn = None
20078
+ self._IsInternalIp = None
19963
20079
 
19964
20080
  @property
19965
20081
  def Ip(self):
19966
- r"""访问来源。
20082
+ r"""<p>访问来源。</p>
19967
20083
  :rtype: str
19968
20084
  """
19969
20085
  return self._Ip
@@ -19974,7 +20090,7 @@ class SessionItem(AbstractModel):
19974
20090
 
19975
20091
  @property
19976
20092
  def ActiveConn(self):
19977
- r"""当前访问来源活跃连接数
20093
+ r"""<p>当前访问来源活跃连接数</p>
19978
20094
  :rtype: str
19979
20095
  """
19980
20096
  return self._ActiveConn
@@ -19985,7 +20101,7 @@ class SessionItem(AbstractModel):
19985
20101
 
19986
20102
  @property
19987
20103
  def AllConn(self):
19988
- r"""当前访问来源总连接数
20104
+ r"""<p>当前访问来源总连接数</p>
19989
20105
  :rtype: int
19990
20106
  """
19991
20107
  return self._AllConn
@@ -19994,11 +20110,23 @@ class SessionItem(AbstractModel):
19994
20110
  def AllConn(self, AllConn):
19995
20111
  self._AllConn = AllConn
19996
20112
 
20113
+ @property
20114
+ def IsInternalIp(self):
20115
+ r"""<p>是否为内网ip</p>
20116
+ :rtype: bool
20117
+ """
20118
+ return self._IsInternalIp
20119
+
20120
+ @IsInternalIp.setter
20121
+ def IsInternalIp(self, IsInternalIp):
20122
+ self._IsInternalIp = IsInternalIp
20123
+
19997
20124
 
19998
20125
  def _deserialize(self, params):
19999
20126
  self._Ip = params.get("Ip")
20000
20127
  self._ActiveConn = params.get("ActiveConn")
20001
20128
  self._AllConn = params.get("AllConn")
20129
+ self._IsInternalIp = params.get("IsInternalIp")
20002
20130
  memeber_set = set(params.keys())
20003
20131
  for name, value in vars(self).items():
20004
20132
  property_name = name[1:]
@@ -21941,6 +22069,130 @@ class UpdateAgentSwitchResponse(AbstractModel):
21941
22069
  self._RequestId = params.get("RequestId")
21942
22070
 
21943
22071
 
22072
+ class UpdateDatabaseAutonomyStatusRequest(AbstractModel):
22073
+ r"""UpdateDatabaseAutonomyStatus请求参数结构体
22074
+
22075
+ """
22076
+
22077
+ def __init__(self):
22078
+ r"""
22079
+ :param _InstanceId: <p>实例 ID。</p>
22080
+ :type InstanceId: str
22081
+ :param _Product: <p>服务产品类型。取值:mongodb(云数据库 MongoDB)。</p>
22082
+ :type Product: str
22083
+ :param _Type: <p>自治功能类型。取值:AutoIndexAdvice(索引推荐)。</p>
22084
+ :type Type: str
22085
+ :param _Status: <p>开关状态。取值:0(关闭)、1(开启)。</p>
22086
+ :type Status: int
22087
+ """
22088
+ self._InstanceId = None
22089
+ self._Product = None
22090
+ self._Type = None
22091
+ self._Status = None
22092
+
22093
+ @property
22094
+ def InstanceId(self):
22095
+ r"""<p>实例 ID。</p>
22096
+ :rtype: str
22097
+ """
22098
+ return self._InstanceId
22099
+
22100
+ @InstanceId.setter
22101
+ def InstanceId(self, InstanceId):
22102
+ self._InstanceId = InstanceId
22103
+
22104
+ @property
22105
+ def Product(self):
22106
+ r"""<p>服务产品类型。取值:mongodb(云数据库 MongoDB)。</p>
22107
+ :rtype: str
22108
+ """
22109
+ return self._Product
22110
+
22111
+ @Product.setter
22112
+ def Product(self, Product):
22113
+ self._Product = Product
22114
+
22115
+ @property
22116
+ def Type(self):
22117
+ r"""<p>自治功能类型。取值:AutoIndexAdvice(索引推荐)。</p>
22118
+ :rtype: str
22119
+ """
22120
+ return self._Type
22121
+
22122
+ @Type.setter
22123
+ def Type(self, Type):
22124
+ self._Type = Type
22125
+
22126
+ @property
22127
+ def Status(self):
22128
+ r"""<p>开关状态。取值:0(关闭)、1(开启)。</p>
22129
+ :rtype: int
22130
+ """
22131
+ return self._Status
22132
+
22133
+ @Status.setter
22134
+ def Status(self, Status):
22135
+ self._Status = Status
22136
+
22137
+
22138
+ def _deserialize(self, params):
22139
+ self._InstanceId = params.get("InstanceId")
22140
+ self._Product = params.get("Product")
22141
+ self._Type = params.get("Type")
22142
+ self._Status = params.get("Status")
22143
+ memeber_set = set(params.keys())
22144
+ for name, value in vars(self).items():
22145
+ property_name = name[1:]
22146
+ if property_name in memeber_set:
22147
+ memeber_set.remove(property_name)
22148
+ if len(memeber_set) > 0:
22149
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
22150
+
22151
+
22152
+
22153
+ class UpdateDatabaseAutonomyStatusResponse(AbstractModel):
22154
+ r"""UpdateDatabaseAutonomyStatus返回参数结构体
22155
+
22156
+ """
22157
+
22158
+ def __init__(self):
22159
+ r"""
22160
+ :param _Status: <p>操作结果状态。取值:1(操作成功)。</p>
22161
+ :type Status: int
22162
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22163
+ :type RequestId: str
22164
+ """
22165
+ self._Status = None
22166
+ self._RequestId = None
22167
+
22168
+ @property
22169
+ def Status(self):
22170
+ r"""<p>操作结果状态。取值:1(操作成功)。</p>
22171
+ :rtype: int
22172
+ """
22173
+ return self._Status
22174
+
22175
+ @Status.setter
22176
+ def Status(self, Status):
22177
+ self._Status = Status
22178
+
22179
+ @property
22180
+ def RequestId(self):
22181
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22182
+ :rtype: str
22183
+ """
22184
+ return self._RequestId
22185
+
22186
+ @RequestId.setter
22187
+ def RequestId(self, RequestId):
22188
+ self._RequestId = RequestId
22189
+
22190
+
22191
+ def _deserialize(self, params):
22192
+ self._Status = params.get("Status")
22193
+ self._RequestId = params.get("RequestId")
22194
+
22195
+
21944
22196
  class UpdateMonitorSwitchRequest(AbstractModel):
21945
22197
  r"""UpdateMonitorSwitch请求参数结构体
21946
22198
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dbbrain
3
- Version: 3.1.101
3
+ Version: 3.1.116
4
4
  Summary: Tencent Cloud Dbbrain SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.101
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.116
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.116
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.101