tencentcloud-sdk-python-dbbrain 3.0.1153__tar.gz → 3.0.1154__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-dbbrain might be problematic. Click here for more details.

Files changed (20) hide show
  1. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/setup.py +1 -1
  3. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud/dbbrain/v20210527/dbbrain_client.py +24 -1
  5. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud/dbbrain/v20210527/models.py +244 -2
  6. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud_sdk_python_dbbrain.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-dbbrain-3.0.1154/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-dbbrain-3.0.1153/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/README.rst +0 -0
  10. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud/dbbrain/__init__.py +0 -0
  12. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud/dbbrain/v20191016/__init__.py +0 -0
  13. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud/dbbrain/v20191016/dbbrain_client.py +0 -0
  14. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud/dbbrain/v20191016/errorcodes.py +0 -0
  15. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud/dbbrain/v20191016/models.py +0 -0
  16. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud/dbbrain/v20210527/__init__.py +0 -0
  17. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud/dbbrain/v20210527/errorcodes.py +0 -0
  18. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud_sdk_python_dbbrain.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud_sdk_python_dbbrain.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-dbbrain-3.0.1153 → tencentcloud-sdk-python-dbbrain-3.0.1154}/tencentcloud_sdk_python_dbbrain.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-dbbrain
3
- Version: 3.0.1153
3
+ Version: 3.0.1154
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
@@ -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.0.1153"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1154"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Dbbrain SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1153'
17
+ __version__ = '3.0.1154'
@@ -854,6 +854,29 @@ class DbbrainClient(AbstractClient):
854
854
  raise TencentCloudSDKException(type(e).__name__, str(e))
855
855
 
856
856
 
857
+ def DescribeRedisBigKeyAnalysisTasks(self, request):
858
+ """查询redis大key分析任务列表。
859
+
860
+ :param request: Request instance for DescribeRedisBigKeyAnalysisTasks.
861
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeRedisBigKeyAnalysisTasksRequest`
862
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeRedisBigKeyAnalysisTasksResponse`
863
+
864
+ """
865
+ try:
866
+ params = request._serialize()
867
+ headers = request.headers
868
+ body = self.call("DescribeRedisBigKeyAnalysisTasks", params, headers=headers)
869
+ response = json.loads(body)
870
+ model = models.DescribeRedisBigKeyAnalysisTasksResponse()
871
+ model._deserialize(response["Response"])
872
+ return model
873
+ except Exception as e:
874
+ if isinstance(e, TencentCloudSDKException):
875
+ raise
876
+ else:
877
+ raise TencentCloudSDKException(type(e).__name__, str(e))
878
+
879
+
857
880
  def DescribeRedisProcessList(self, request):
858
881
  """获取 Redis 实例所有 proxy 节点的实时会话详情列表。
859
882
 
@@ -1292,7 +1315,7 @@ class DbbrainClient(AbstractClient):
1292
1315
 
1293
1316
 
1294
1317
  def ModifyDiagDBInstanceConf(self, request):
1295
- """修改实例巡检开关。
1318
+ """修改实例的配置信息。
1296
1319
 
1297
1320
  :param request: Request instance for ModifyDiagDBInstanceConf.
1298
1321
  :type request: :class:`tencentcloud.dbbrain.v20210527.models.ModifyDiagDBInstanceConfRequest`
@@ -4264,7 +4264,7 @@ class DescribeDiagDBInstancesRequest(AbstractModel):
4264
4264
  r"""
4265
4265
  :param _IsSupported: 是否是DBbrain支持的实例,固定传 true。
4266
4266
  :type IsSupported: bool
4267
- :param _Product: 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"cynosdb" - 云数据库 TDSQL-C for MySQL,"dbbrain-mysql" - 自建 MySQL,默认为"mysql"。
4267
+ :param _Product: 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"cynosdb" - 云数据库 TDSQL-C for MySQL,"dbbrain-mysql" - 自建 MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
4268
4268
  :type Product: str
4269
4269
  :param _Offset: 分页参数,偏移量。
4270
4270
  :type Offset: int
@@ -5548,6 +5548,130 @@ class DescribeProxySessionKillTasksResponse(AbstractModel):
5548
5548
  self._RequestId = params.get("RequestId")
5549
5549
 
5550
5550
 
5551
+ class DescribeRedisBigKeyAnalysisTasksRequest(AbstractModel):
5552
+ """DescribeRedisBigKeyAnalysisTasks请求参数结构体
5553
+
5554
+ """
5555
+
5556
+ def __init__(self):
5557
+ r"""
5558
+ :param _Product: 服务产品类型,支持值包括 "redis" - 云数据库 Redis。
5559
+ :type Product: str
5560
+ :param _InstanceId: 实例ID。
5561
+ :type InstanceId: str
5562
+ :param _Limit: 查询数目,默认为20,最大值为100。
5563
+ :type Limit: int
5564
+ :param _Offset: 偏移量,默认为0。
5565
+ :type Offset: int
5566
+ """
5567
+ self._Product = None
5568
+ self._InstanceId = None
5569
+ self._Limit = None
5570
+ self._Offset = None
5571
+
5572
+ @property
5573
+ def Product(self):
5574
+ return self._Product
5575
+
5576
+ @Product.setter
5577
+ def Product(self, Product):
5578
+ self._Product = Product
5579
+
5580
+ @property
5581
+ def InstanceId(self):
5582
+ return self._InstanceId
5583
+
5584
+ @InstanceId.setter
5585
+ def InstanceId(self, InstanceId):
5586
+ self._InstanceId = InstanceId
5587
+
5588
+ @property
5589
+ def Limit(self):
5590
+ return self._Limit
5591
+
5592
+ @Limit.setter
5593
+ def Limit(self, Limit):
5594
+ self._Limit = Limit
5595
+
5596
+ @property
5597
+ def Offset(self):
5598
+ return self._Offset
5599
+
5600
+ @Offset.setter
5601
+ def Offset(self, Offset):
5602
+ self._Offset = Offset
5603
+
5604
+
5605
+ def _deserialize(self, params):
5606
+ self._Product = params.get("Product")
5607
+ self._InstanceId = params.get("InstanceId")
5608
+ self._Limit = params.get("Limit")
5609
+ self._Offset = params.get("Offset")
5610
+ memeber_set = set(params.keys())
5611
+ for name, value in vars(self).items():
5612
+ property_name = name[1:]
5613
+ if property_name in memeber_set:
5614
+ memeber_set.remove(property_name)
5615
+ if len(memeber_set) > 0:
5616
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5617
+
5618
+
5619
+
5620
+ class DescribeRedisBigKeyAnalysisTasksResponse(AbstractModel):
5621
+ """DescribeRedisBigKeyAnalysisTasks返回参数结构体
5622
+
5623
+ """
5624
+
5625
+ def __init__(self):
5626
+ r"""
5627
+ :param _TotalCount: 任务总数。
5628
+ 注意:此字段可能返回 null,表示取不到有效值。
5629
+ :type TotalCount: int
5630
+ :param _Tasks: 任务列表。
5631
+ :type Tasks: list of RedisBigKeyTask
5632
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5633
+ :type RequestId: str
5634
+ """
5635
+ self._TotalCount = None
5636
+ self._Tasks = None
5637
+ self._RequestId = None
5638
+
5639
+ @property
5640
+ def TotalCount(self):
5641
+ return self._TotalCount
5642
+
5643
+ @TotalCount.setter
5644
+ def TotalCount(self, TotalCount):
5645
+ self._TotalCount = TotalCount
5646
+
5647
+ @property
5648
+ def Tasks(self):
5649
+ return self._Tasks
5650
+
5651
+ @Tasks.setter
5652
+ def Tasks(self, Tasks):
5653
+ self._Tasks = Tasks
5654
+
5655
+ @property
5656
+ def RequestId(self):
5657
+ return self._RequestId
5658
+
5659
+ @RequestId.setter
5660
+ def RequestId(self, RequestId):
5661
+ self._RequestId = RequestId
5662
+
5663
+
5664
+ def _deserialize(self, params):
5665
+ self._TotalCount = params.get("TotalCount")
5666
+ if params.get("Tasks") is not None:
5667
+ self._Tasks = []
5668
+ for item in params.get("Tasks"):
5669
+ obj = RedisBigKeyTask()
5670
+ obj._deserialize(item)
5671
+ self._Tasks.append(obj)
5672
+ self._RequestId = params.get("RequestId")
5673
+
5674
+
5551
5675
  class DescribeRedisProcessListRequest(AbstractModel):
5552
5676
  """DescribeRedisProcessList请求参数结构体
5553
5677
 
@@ -8791,11 +8915,15 @@ class InstanceConfs(AbstractModel):
8791
8915
  :param _ShardNum: 分片节点数量。
8792
8916
  注意:此字段可能返回 null,表示取不到有效值。
8793
8917
  :type ShardNum: str
8918
+ :param _AnalysisTopKey: 是否开启大key周期性分析,仅redis产品有效。
8919
+ 注意:此字段可能返回 null,表示取不到有效值。
8920
+ :type AnalysisTopKey: str
8794
8921
  """
8795
8922
  self._DailyInspection = None
8796
8923
  self._OverviewDisplay = None
8797
8924
  self._KeyDelimiters = None
8798
8925
  self._ShardNum = None
8926
+ self._AnalysisTopKey = None
8799
8927
 
8800
8928
  @property
8801
8929
  def DailyInspection(self):
@@ -8829,12 +8957,21 @@ class InstanceConfs(AbstractModel):
8829
8957
  def ShardNum(self, ShardNum):
8830
8958
  self._ShardNum = ShardNum
8831
8959
 
8960
+ @property
8961
+ def AnalysisTopKey(self):
8962
+ return self._AnalysisTopKey
8963
+
8964
+ @AnalysisTopKey.setter
8965
+ def AnalysisTopKey(self, AnalysisTopKey):
8966
+ self._AnalysisTopKey = AnalysisTopKey
8967
+
8832
8968
 
8833
8969
  def _deserialize(self, params):
8834
8970
  self._DailyInspection = params.get("DailyInspection")
8835
8971
  self._OverviewDisplay = params.get("OverviewDisplay")
8836
8972
  self._KeyDelimiters = params.get("KeyDelimiters")
8837
8973
  self._ShardNum = params.get("ShardNum")
8974
+ self._AnalysisTopKey = params.get("AnalysisTopKey")
8838
8975
  memeber_set = set(params.keys())
8839
8976
  for name, value in vars(self).items():
8840
8977
  property_name = name[1:]
@@ -9948,7 +10085,7 @@ class ModifyDiagDBInstanceConfRequest(AbstractModel):
9948
10085
  :type InstanceConfs: :class:`tencentcloud.dbbrain.v20210527.models.InstanceConfs`
9949
10086
  :param _Regions: 生效实例地域,取值为"All",代表全地域。
9950
10087
  :type Regions: str
9951
- :param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL。
10088
+ :param _Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis
9952
10089
  :type Product: str
9953
10090
  :param _InstanceIds: 指定更改巡检状态的实例ID。
9954
10091
  :type InstanceIds: list of str
@@ -11084,6 +11221,111 @@ class ReceiveUin(AbstractModel):
11084
11221
 
11085
11222
 
11086
11223
 
11224
+ class RedisBigKeyTask(AbstractModel):
11225
+ """Redis大Key分析任务详情。
11226
+
11227
+ """
11228
+
11229
+ def __init__(self):
11230
+ r"""
11231
+ :param _AsyncRequestId: 异步任务请求 ID。
11232
+ :type AsyncRequestId: int
11233
+ :param _CreateTime: 任务创建时间。
11234
+ :type CreateTime: str
11235
+ :param _StartTime: 任务开始时间。
11236
+ :type StartTime: str
11237
+ :param _EndTime: 任务结束时间。
11238
+ :type EndTime: str
11239
+ :param _TaskStatus: 任务状态。
11240
+ :type TaskStatus: str
11241
+ :param _Progress: 任务执行进度。
11242
+ :type Progress: int
11243
+ :param _ShardIds: 任务包含的分片节点序号列表。
11244
+ :type ShardIds: list of int
11245
+ """
11246
+ self._AsyncRequestId = None
11247
+ self._CreateTime = None
11248
+ self._StartTime = None
11249
+ self._EndTime = None
11250
+ self._TaskStatus = None
11251
+ self._Progress = None
11252
+ self._ShardIds = None
11253
+
11254
+ @property
11255
+ def AsyncRequestId(self):
11256
+ return self._AsyncRequestId
11257
+
11258
+ @AsyncRequestId.setter
11259
+ def AsyncRequestId(self, AsyncRequestId):
11260
+ self._AsyncRequestId = AsyncRequestId
11261
+
11262
+ @property
11263
+ def CreateTime(self):
11264
+ return self._CreateTime
11265
+
11266
+ @CreateTime.setter
11267
+ def CreateTime(self, CreateTime):
11268
+ self._CreateTime = CreateTime
11269
+
11270
+ @property
11271
+ def StartTime(self):
11272
+ return self._StartTime
11273
+
11274
+ @StartTime.setter
11275
+ def StartTime(self, StartTime):
11276
+ self._StartTime = StartTime
11277
+
11278
+ @property
11279
+ def EndTime(self):
11280
+ return self._EndTime
11281
+
11282
+ @EndTime.setter
11283
+ def EndTime(self, EndTime):
11284
+ self._EndTime = EndTime
11285
+
11286
+ @property
11287
+ def TaskStatus(self):
11288
+ return self._TaskStatus
11289
+
11290
+ @TaskStatus.setter
11291
+ def TaskStatus(self, TaskStatus):
11292
+ self._TaskStatus = TaskStatus
11293
+
11294
+ @property
11295
+ def Progress(self):
11296
+ return self._Progress
11297
+
11298
+ @Progress.setter
11299
+ def Progress(self, Progress):
11300
+ self._Progress = Progress
11301
+
11302
+ @property
11303
+ def ShardIds(self):
11304
+ return self._ShardIds
11305
+
11306
+ @ShardIds.setter
11307
+ def ShardIds(self, ShardIds):
11308
+ self._ShardIds = ShardIds
11309
+
11310
+
11311
+ def _deserialize(self, params):
11312
+ self._AsyncRequestId = params.get("AsyncRequestId")
11313
+ self._CreateTime = params.get("CreateTime")
11314
+ self._StartTime = params.get("StartTime")
11315
+ self._EndTime = params.get("EndTime")
11316
+ self._TaskStatus = params.get("TaskStatus")
11317
+ self._Progress = params.get("Progress")
11318
+ self._ShardIds = params.get("ShardIds")
11319
+ memeber_set = set(params.keys())
11320
+ for name, value in vars(self).items():
11321
+ property_name = name[1:]
11322
+ if property_name in memeber_set:
11323
+ memeber_set.remove(property_name)
11324
+ if len(memeber_set) > 0:
11325
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11326
+
11327
+
11328
+
11087
11329
  class RedisKeySpaceData(AbstractModel):
11088
11330
  """redis key空间信息。
11089
11331
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-dbbrain
3
- Version: 3.0.1153
3
+ Version: 3.0.1154
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1154
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1153