tencentcloud-sdk-python-dbbrain 3.0.1459__tar.gz → 3.0.1463__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.
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/setup.py +1 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud/dbbrain/v20210527/models.py +438 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud_sdk_python_dbbrain.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-dbbrain-3.0.1463/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dbbrain-3.0.1459/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/README.rst +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud/dbbrain/__init__.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud/dbbrain/v20191016/__init__.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud/dbbrain/v20191016/dbbrain_client.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud/dbbrain/v20191016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud/dbbrain/v20191016/models.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud/dbbrain/v20210527/__init__.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud/dbbrain/v20210527/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud_sdk_python_dbbrain.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud_sdk_python_dbbrain.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/tencentcloud_sdk_python_dbbrain.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/setup.py
RENAMED
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1463,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Dbbrain SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -923,6 +923,29 @@ class DbbrainClient(AbstractClient):
|
|
|
923
923
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
924
924
|
|
|
925
925
|
|
|
926
|
+
def DescribeHealthScoreTimeSeries(self, request):
|
|
927
|
+
r"""获取指定时间段内的健康得分趋势
|
|
928
|
+
|
|
929
|
+
:param request: Request instance for DescribeHealthScoreTimeSeries.
|
|
930
|
+
:type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeHealthScoreTimeSeriesRequest`
|
|
931
|
+
:rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeHealthScoreTimeSeriesResponse`
|
|
932
|
+
|
|
933
|
+
"""
|
|
934
|
+
try:
|
|
935
|
+
params = request._serialize()
|
|
936
|
+
headers = request.headers
|
|
937
|
+
body = self.call("DescribeHealthScoreTimeSeries", params, headers=headers)
|
|
938
|
+
response = json.loads(body)
|
|
939
|
+
model = models.DescribeHealthScoreTimeSeriesResponse()
|
|
940
|
+
model._deserialize(response["Response"])
|
|
941
|
+
return model
|
|
942
|
+
except Exception as e:
|
|
943
|
+
if isinstance(e, TencentCloudSDKException):
|
|
944
|
+
raise
|
|
945
|
+
else:
|
|
946
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
947
|
+
|
|
948
|
+
|
|
926
949
|
def DescribeIndexRecommendAggregationSlowLogs(self, request):
|
|
927
950
|
r"""查询某张表的慢查模板概览,这个接口是对用户点击对应的推荐索引后,展示慢日志用的
|
|
928
951
|
|
|
@@ -1245,6 +1268,29 @@ class DbbrainClient(AbstractClient):
|
|
|
1245
1268
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1246
1269
|
|
|
1247
1270
|
|
|
1271
|
+
def DescribeRedisTopCostCommands(self, request):
|
|
1272
|
+
r"""获取指定时间段内Redis 访问命令 cost top N
|
|
1273
|
+
|
|
1274
|
+
:param request: Request instance for DescribeRedisTopCostCommands.
|
|
1275
|
+
:type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeRedisTopCostCommandsRequest`
|
|
1276
|
+
:rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeRedisTopCostCommandsResponse`
|
|
1277
|
+
|
|
1278
|
+
"""
|
|
1279
|
+
try:
|
|
1280
|
+
params = request._serialize()
|
|
1281
|
+
headers = request.headers
|
|
1282
|
+
body = self.call("DescribeRedisTopCostCommands", params, headers=headers)
|
|
1283
|
+
response = json.loads(body)
|
|
1284
|
+
model = models.DescribeRedisTopCostCommandsResponse()
|
|
1285
|
+
model._deserialize(response["Response"])
|
|
1286
|
+
return model
|
|
1287
|
+
except Exception as e:
|
|
1288
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1289
|
+
raise
|
|
1290
|
+
else:
|
|
1291
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1292
|
+
|
|
1293
|
+
|
|
1248
1294
|
def DescribeRedisTopHotKeys(self, request):
|
|
1249
1295
|
r"""热Key分析
|
|
1250
1296
|
|
|
@@ -7334,6 +7334,132 @@ class DescribeHealthScoreResponse(AbstractModel):
|
|
|
7334
7334
|
self._RequestId = params.get("RequestId")
|
|
7335
7335
|
|
|
7336
7336
|
|
|
7337
|
+
class DescribeHealthScoreTimeSeriesRequest(AbstractModel):
|
|
7338
|
+
r"""DescribeHealthScoreTimeSeries请求参数结构体
|
|
7339
|
+
|
|
7340
|
+
"""
|
|
7341
|
+
|
|
7342
|
+
def __init__(self):
|
|
7343
|
+
r"""
|
|
7344
|
+
:param _StartTime: 开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。
|
|
7345
|
+
:type StartTime: str
|
|
7346
|
+
:param _EndTime: 结束时间,如“2021-05-27 01:00:00”,支持的最早查询时间为当前时间的前30天。
|
|
7347
|
+
:type EndTime: str
|
|
7348
|
+
:param _InstanceId: 实例ID列表。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
|
7349
|
+
:type InstanceId: str
|
|
7350
|
+
:param _Product: 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mariadb"-数据库mariadb 默认为"mysql"。
|
|
7351
|
+
:type Product: str
|
|
7352
|
+
"""
|
|
7353
|
+
self._StartTime = None
|
|
7354
|
+
self._EndTime = None
|
|
7355
|
+
self._InstanceId = None
|
|
7356
|
+
self._Product = None
|
|
7357
|
+
|
|
7358
|
+
@property
|
|
7359
|
+
def StartTime(self):
|
|
7360
|
+
r"""开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。
|
|
7361
|
+
:rtype: str
|
|
7362
|
+
"""
|
|
7363
|
+
return self._StartTime
|
|
7364
|
+
|
|
7365
|
+
@StartTime.setter
|
|
7366
|
+
def StartTime(self, StartTime):
|
|
7367
|
+
self._StartTime = StartTime
|
|
7368
|
+
|
|
7369
|
+
@property
|
|
7370
|
+
def EndTime(self):
|
|
7371
|
+
r"""结束时间,如“2021-05-27 01:00:00”,支持的最早查询时间为当前时间的前30天。
|
|
7372
|
+
:rtype: str
|
|
7373
|
+
"""
|
|
7374
|
+
return self._EndTime
|
|
7375
|
+
|
|
7376
|
+
@EndTime.setter
|
|
7377
|
+
def EndTime(self, EndTime):
|
|
7378
|
+
self._EndTime = EndTime
|
|
7379
|
+
|
|
7380
|
+
@property
|
|
7381
|
+
def InstanceId(self):
|
|
7382
|
+
r"""实例ID列表。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
|
7383
|
+
:rtype: str
|
|
7384
|
+
"""
|
|
7385
|
+
return self._InstanceId
|
|
7386
|
+
|
|
7387
|
+
@InstanceId.setter
|
|
7388
|
+
def InstanceId(self, InstanceId):
|
|
7389
|
+
self._InstanceId = InstanceId
|
|
7390
|
+
|
|
7391
|
+
@property
|
|
7392
|
+
def Product(self):
|
|
7393
|
+
r"""服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mariadb"-数据库mariadb 默认为"mysql"。
|
|
7394
|
+
:rtype: str
|
|
7395
|
+
"""
|
|
7396
|
+
return self._Product
|
|
7397
|
+
|
|
7398
|
+
@Product.setter
|
|
7399
|
+
def Product(self, Product):
|
|
7400
|
+
self._Product = Product
|
|
7401
|
+
|
|
7402
|
+
|
|
7403
|
+
def _deserialize(self, params):
|
|
7404
|
+
self._StartTime = params.get("StartTime")
|
|
7405
|
+
self._EndTime = params.get("EndTime")
|
|
7406
|
+
self._InstanceId = params.get("InstanceId")
|
|
7407
|
+
self._Product = params.get("Product")
|
|
7408
|
+
memeber_set = set(params.keys())
|
|
7409
|
+
for name, value in vars(self).items():
|
|
7410
|
+
property_name = name[1:]
|
|
7411
|
+
if property_name in memeber_set:
|
|
7412
|
+
memeber_set.remove(property_name)
|
|
7413
|
+
if len(memeber_set) > 0:
|
|
7414
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7415
|
+
|
|
7416
|
+
|
|
7417
|
+
|
|
7418
|
+
class DescribeHealthScoreTimeSeriesResponse(AbstractModel):
|
|
7419
|
+
r"""DescribeHealthScoreTimeSeries返回参数结构体
|
|
7420
|
+
|
|
7421
|
+
"""
|
|
7422
|
+
|
|
7423
|
+
def __init__(self):
|
|
7424
|
+
r"""
|
|
7425
|
+
:param _Data: 健康得分趋势数据
|
|
7426
|
+
:type Data: :class:`tencentcloud.dbbrain.v20210527.models.HealthScoreTimeSeriesData`
|
|
7427
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7428
|
+
:type RequestId: str
|
|
7429
|
+
"""
|
|
7430
|
+
self._Data = None
|
|
7431
|
+
self._RequestId = None
|
|
7432
|
+
|
|
7433
|
+
@property
|
|
7434
|
+
def Data(self):
|
|
7435
|
+
r"""健康得分趋势数据
|
|
7436
|
+
:rtype: :class:`tencentcloud.dbbrain.v20210527.models.HealthScoreTimeSeriesData`
|
|
7437
|
+
"""
|
|
7438
|
+
return self._Data
|
|
7439
|
+
|
|
7440
|
+
@Data.setter
|
|
7441
|
+
def Data(self, Data):
|
|
7442
|
+
self._Data = Data
|
|
7443
|
+
|
|
7444
|
+
@property
|
|
7445
|
+
def RequestId(self):
|
|
7446
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7447
|
+
:rtype: str
|
|
7448
|
+
"""
|
|
7449
|
+
return self._RequestId
|
|
7450
|
+
|
|
7451
|
+
@RequestId.setter
|
|
7452
|
+
def RequestId(self, RequestId):
|
|
7453
|
+
self._RequestId = RequestId
|
|
7454
|
+
|
|
7455
|
+
|
|
7456
|
+
def _deserialize(self, params):
|
|
7457
|
+
if params.get("Data") is not None:
|
|
7458
|
+
self._Data = HealthScoreTimeSeriesData()
|
|
7459
|
+
self._Data._deserialize(params.get("Data"))
|
|
7460
|
+
self._RequestId = params.get("RequestId")
|
|
7461
|
+
|
|
7462
|
+
|
|
7337
7463
|
class DescribeIndexRecommendAggregationSlowLogsRequest(AbstractModel):
|
|
7338
7464
|
r"""DescribeIndexRecommendAggregationSlowLogs请求参数结构体
|
|
7339
7465
|
|
|
@@ -9729,6 +9855,150 @@ class DescribeRedisTopBigKeysResponse(AbstractModel):
|
|
|
9729
9855
|
self._RequestId = params.get("RequestId")
|
|
9730
9856
|
|
|
9731
9857
|
|
|
9858
|
+
class DescribeRedisTopCostCommandsRequest(AbstractModel):
|
|
9859
|
+
r"""DescribeRedisTopCostCommands请求参数结构体
|
|
9860
|
+
|
|
9861
|
+
"""
|
|
9862
|
+
|
|
9863
|
+
def __init__(self):
|
|
9864
|
+
r"""
|
|
9865
|
+
:param _StartTime: 开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。
|
|
9866
|
+
:type StartTime: str
|
|
9867
|
+
:param _EndTime: 结束时间,如“2021-05-27 01:00:00”,支持的最早查询时间为当前时间的前30天。
|
|
9868
|
+
:type EndTime: str
|
|
9869
|
+
:param _InstanceId: 实例ID列表。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
|
9870
|
+
:type InstanceId: str
|
|
9871
|
+
:param _Product: 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mariadb"-数据库mariadb 默认为"mysql"。
|
|
9872
|
+
:type Product: str
|
|
9873
|
+
:param _Limit: 默认前20条
|
|
9874
|
+
:type Limit: int
|
|
9875
|
+
"""
|
|
9876
|
+
self._StartTime = None
|
|
9877
|
+
self._EndTime = None
|
|
9878
|
+
self._InstanceId = None
|
|
9879
|
+
self._Product = None
|
|
9880
|
+
self._Limit = None
|
|
9881
|
+
|
|
9882
|
+
@property
|
|
9883
|
+
def StartTime(self):
|
|
9884
|
+
r"""开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。
|
|
9885
|
+
:rtype: str
|
|
9886
|
+
"""
|
|
9887
|
+
return self._StartTime
|
|
9888
|
+
|
|
9889
|
+
@StartTime.setter
|
|
9890
|
+
def StartTime(self, StartTime):
|
|
9891
|
+
self._StartTime = StartTime
|
|
9892
|
+
|
|
9893
|
+
@property
|
|
9894
|
+
def EndTime(self):
|
|
9895
|
+
r"""结束时间,如“2021-05-27 01:00:00”,支持的最早查询时间为当前时间的前30天。
|
|
9896
|
+
:rtype: str
|
|
9897
|
+
"""
|
|
9898
|
+
return self._EndTime
|
|
9899
|
+
|
|
9900
|
+
@EndTime.setter
|
|
9901
|
+
def EndTime(self, EndTime):
|
|
9902
|
+
self._EndTime = EndTime
|
|
9903
|
+
|
|
9904
|
+
@property
|
|
9905
|
+
def InstanceId(self):
|
|
9906
|
+
r"""实例ID列表。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
|
9907
|
+
:rtype: str
|
|
9908
|
+
"""
|
|
9909
|
+
return self._InstanceId
|
|
9910
|
+
|
|
9911
|
+
@InstanceId.setter
|
|
9912
|
+
def InstanceId(self, InstanceId):
|
|
9913
|
+
self._InstanceId = InstanceId
|
|
9914
|
+
|
|
9915
|
+
@property
|
|
9916
|
+
def Product(self):
|
|
9917
|
+
r"""服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mariadb"-数据库mariadb 默认为"mysql"。
|
|
9918
|
+
:rtype: str
|
|
9919
|
+
"""
|
|
9920
|
+
return self._Product
|
|
9921
|
+
|
|
9922
|
+
@Product.setter
|
|
9923
|
+
def Product(self, Product):
|
|
9924
|
+
self._Product = Product
|
|
9925
|
+
|
|
9926
|
+
@property
|
|
9927
|
+
def Limit(self):
|
|
9928
|
+
r"""默认前20条
|
|
9929
|
+
:rtype: int
|
|
9930
|
+
"""
|
|
9931
|
+
return self._Limit
|
|
9932
|
+
|
|
9933
|
+
@Limit.setter
|
|
9934
|
+
def Limit(self, Limit):
|
|
9935
|
+
self._Limit = Limit
|
|
9936
|
+
|
|
9937
|
+
|
|
9938
|
+
def _deserialize(self, params):
|
|
9939
|
+
self._StartTime = params.get("StartTime")
|
|
9940
|
+
self._EndTime = params.get("EndTime")
|
|
9941
|
+
self._InstanceId = params.get("InstanceId")
|
|
9942
|
+
self._Product = params.get("Product")
|
|
9943
|
+
self._Limit = params.get("Limit")
|
|
9944
|
+
memeber_set = set(params.keys())
|
|
9945
|
+
for name, value in vars(self).items():
|
|
9946
|
+
property_name = name[1:]
|
|
9947
|
+
if property_name in memeber_set:
|
|
9948
|
+
memeber_set.remove(property_name)
|
|
9949
|
+
if len(memeber_set) > 0:
|
|
9950
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9951
|
+
|
|
9952
|
+
|
|
9953
|
+
|
|
9954
|
+
class DescribeRedisTopCostCommandsResponse(AbstractModel):
|
|
9955
|
+
r"""DescribeRedisTopCostCommands返回参数结构体
|
|
9956
|
+
|
|
9957
|
+
"""
|
|
9958
|
+
|
|
9959
|
+
def __init__(self):
|
|
9960
|
+
r"""
|
|
9961
|
+
:param _TopCostCmdList: 命令列表
|
|
9962
|
+
:type TopCostCmdList: list of RedisCostCmd
|
|
9963
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9964
|
+
:type RequestId: str
|
|
9965
|
+
"""
|
|
9966
|
+
self._TopCostCmdList = None
|
|
9967
|
+
self._RequestId = None
|
|
9968
|
+
|
|
9969
|
+
@property
|
|
9970
|
+
def TopCostCmdList(self):
|
|
9971
|
+
r"""命令列表
|
|
9972
|
+
:rtype: list of RedisCostCmd
|
|
9973
|
+
"""
|
|
9974
|
+
return self._TopCostCmdList
|
|
9975
|
+
|
|
9976
|
+
@TopCostCmdList.setter
|
|
9977
|
+
def TopCostCmdList(self, TopCostCmdList):
|
|
9978
|
+
self._TopCostCmdList = TopCostCmdList
|
|
9979
|
+
|
|
9980
|
+
@property
|
|
9981
|
+
def RequestId(self):
|
|
9982
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9983
|
+
:rtype: str
|
|
9984
|
+
"""
|
|
9985
|
+
return self._RequestId
|
|
9986
|
+
|
|
9987
|
+
@RequestId.setter
|
|
9988
|
+
def RequestId(self, RequestId):
|
|
9989
|
+
self._RequestId = RequestId
|
|
9990
|
+
|
|
9991
|
+
|
|
9992
|
+
def _deserialize(self, params):
|
|
9993
|
+
if params.get("TopCostCmdList") is not None:
|
|
9994
|
+
self._TopCostCmdList = []
|
|
9995
|
+
for item in params.get("TopCostCmdList"):
|
|
9996
|
+
obj = RedisCostCmd()
|
|
9997
|
+
obj._deserialize(item)
|
|
9998
|
+
self._TopCostCmdList.append(obj)
|
|
9999
|
+
self._RequestId = params.get("RequestId")
|
|
10000
|
+
|
|
10001
|
+
|
|
9732
10002
|
class DescribeRedisTopHotKeysRequest(AbstractModel):
|
|
9733
10003
|
r"""DescribeRedisTopHotKeys请求参数结构体
|
|
9734
10004
|
|
|
@@ -13410,6 +13680,123 @@ class HealthScoreInfo(AbstractModel):
|
|
|
13410
13680
|
|
|
13411
13681
|
|
|
13412
13682
|
|
|
13683
|
+
class HealthScoreTimeSeriesData(AbstractModel):
|
|
13684
|
+
r"""健康得分趋势
|
|
13685
|
+
|
|
13686
|
+
"""
|
|
13687
|
+
|
|
13688
|
+
def __init__(self):
|
|
13689
|
+
r"""
|
|
13690
|
+
:param _Avg: 平均得分
|
|
13691
|
+
:type Avg: float
|
|
13692
|
+
:param _HealthStatus: 健康状态
|
|
13693
|
+
1-health
|
|
13694
|
+
2-warning
|
|
13695
|
+
3-critical
|
|
13696
|
+
:type HealthStatus: int
|
|
13697
|
+
:param _Metric: 指标名称
|
|
13698
|
+
:type Metric: str
|
|
13699
|
+
:param _Series: 得分序列
|
|
13700
|
+
:type Series: list of int non-negative
|
|
13701
|
+
:param _Timestamp: 时间序列,单位:毫秒数
|
|
13702
|
+
:type Timestamp: list of int non-negative
|
|
13703
|
+
:param _Unit: 单位
|
|
13704
|
+
:type Unit: str
|
|
13705
|
+
"""
|
|
13706
|
+
self._Avg = None
|
|
13707
|
+
self._HealthStatus = None
|
|
13708
|
+
self._Metric = None
|
|
13709
|
+
self._Series = None
|
|
13710
|
+
self._Timestamp = None
|
|
13711
|
+
self._Unit = None
|
|
13712
|
+
|
|
13713
|
+
@property
|
|
13714
|
+
def Avg(self):
|
|
13715
|
+
r"""平均得分
|
|
13716
|
+
:rtype: float
|
|
13717
|
+
"""
|
|
13718
|
+
return self._Avg
|
|
13719
|
+
|
|
13720
|
+
@Avg.setter
|
|
13721
|
+
def Avg(self, Avg):
|
|
13722
|
+
self._Avg = Avg
|
|
13723
|
+
|
|
13724
|
+
@property
|
|
13725
|
+
def HealthStatus(self):
|
|
13726
|
+
r"""健康状态
|
|
13727
|
+
1-health
|
|
13728
|
+
2-warning
|
|
13729
|
+
3-critical
|
|
13730
|
+
:rtype: int
|
|
13731
|
+
"""
|
|
13732
|
+
return self._HealthStatus
|
|
13733
|
+
|
|
13734
|
+
@HealthStatus.setter
|
|
13735
|
+
def HealthStatus(self, HealthStatus):
|
|
13736
|
+
self._HealthStatus = HealthStatus
|
|
13737
|
+
|
|
13738
|
+
@property
|
|
13739
|
+
def Metric(self):
|
|
13740
|
+
r"""指标名称
|
|
13741
|
+
:rtype: str
|
|
13742
|
+
"""
|
|
13743
|
+
return self._Metric
|
|
13744
|
+
|
|
13745
|
+
@Metric.setter
|
|
13746
|
+
def Metric(self, Metric):
|
|
13747
|
+
self._Metric = Metric
|
|
13748
|
+
|
|
13749
|
+
@property
|
|
13750
|
+
def Series(self):
|
|
13751
|
+
r"""得分序列
|
|
13752
|
+
:rtype: list of int non-negative
|
|
13753
|
+
"""
|
|
13754
|
+
return self._Series
|
|
13755
|
+
|
|
13756
|
+
@Series.setter
|
|
13757
|
+
def Series(self, Series):
|
|
13758
|
+
self._Series = Series
|
|
13759
|
+
|
|
13760
|
+
@property
|
|
13761
|
+
def Timestamp(self):
|
|
13762
|
+
r"""时间序列,单位:毫秒数
|
|
13763
|
+
:rtype: list of int non-negative
|
|
13764
|
+
"""
|
|
13765
|
+
return self._Timestamp
|
|
13766
|
+
|
|
13767
|
+
@Timestamp.setter
|
|
13768
|
+
def Timestamp(self, Timestamp):
|
|
13769
|
+
self._Timestamp = Timestamp
|
|
13770
|
+
|
|
13771
|
+
@property
|
|
13772
|
+
def Unit(self):
|
|
13773
|
+
r"""单位
|
|
13774
|
+
:rtype: str
|
|
13775
|
+
"""
|
|
13776
|
+
return self._Unit
|
|
13777
|
+
|
|
13778
|
+
@Unit.setter
|
|
13779
|
+
def Unit(self, Unit):
|
|
13780
|
+
self._Unit = Unit
|
|
13781
|
+
|
|
13782
|
+
|
|
13783
|
+
def _deserialize(self, params):
|
|
13784
|
+
self._Avg = params.get("Avg")
|
|
13785
|
+
self._HealthStatus = params.get("HealthStatus")
|
|
13786
|
+
self._Metric = params.get("Metric")
|
|
13787
|
+
self._Series = params.get("Series")
|
|
13788
|
+
self._Timestamp = params.get("Timestamp")
|
|
13789
|
+
self._Unit = params.get("Unit")
|
|
13790
|
+
memeber_set = set(params.keys())
|
|
13791
|
+
for name, value in vars(self).items():
|
|
13792
|
+
property_name = name[1:]
|
|
13793
|
+
if property_name in memeber_set:
|
|
13794
|
+
memeber_set.remove(property_name)
|
|
13795
|
+
if len(memeber_set) > 0:
|
|
13796
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13797
|
+
|
|
13798
|
+
|
|
13799
|
+
|
|
13413
13800
|
class HealthStatus(AbstractModel):
|
|
13414
13801
|
r"""实例健康详情。
|
|
13415
13802
|
|
|
@@ -17065,6 +17452,57 @@ class RedisCmdInfo(AbstractModel):
|
|
|
17065
17452
|
|
|
17066
17453
|
|
|
17067
17454
|
|
|
17455
|
+
class RedisCostCmd(AbstractModel):
|
|
17456
|
+
r"""redis命令cost详情
|
|
17457
|
+
|
|
17458
|
+
"""
|
|
17459
|
+
|
|
17460
|
+
def __init__(self):
|
|
17461
|
+
r"""
|
|
17462
|
+
:param _Cmd: 命令
|
|
17463
|
+
:type Cmd: str
|
|
17464
|
+
:param _MaxCost: 最大cost
|
|
17465
|
+
:type MaxCost: int
|
|
17466
|
+
"""
|
|
17467
|
+
self._Cmd = None
|
|
17468
|
+
self._MaxCost = None
|
|
17469
|
+
|
|
17470
|
+
@property
|
|
17471
|
+
def Cmd(self):
|
|
17472
|
+
r"""命令
|
|
17473
|
+
:rtype: str
|
|
17474
|
+
"""
|
|
17475
|
+
return self._Cmd
|
|
17476
|
+
|
|
17477
|
+
@Cmd.setter
|
|
17478
|
+
def Cmd(self, Cmd):
|
|
17479
|
+
self._Cmd = Cmd
|
|
17480
|
+
|
|
17481
|
+
@property
|
|
17482
|
+
def MaxCost(self):
|
|
17483
|
+
r"""最大cost
|
|
17484
|
+
:rtype: int
|
|
17485
|
+
"""
|
|
17486
|
+
return self._MaxCost
|
|
17487
|
+
|
|
17488
|
+
@MaxCost.setter
|
|
17489
|
+
def MaxCost(self, MaxCost):
|
|
17490
|
+
self._MaxCost = MaxCost
|
|
17491
|
+
|
|
17492
|
+
|
|
17493
|
+
def _deserialize(self, params):
|
|
17494
|
+
self._Cmd = params.get("Cmd")
|
|
17495
|
+
self._MaxCost = params.get("MaxCost")
|
|
17496
|
+
memeber_set = set(params.keys())
|
|
17497
|
+
for name, value in vars(self).items():
|
|
17498
|
+
property_name = name[1:]
|
|
17499
|
+
if property_name in memeber_set:
|
|
17500
|
+
memeber_set.remove(property_name)
|
|
17501
|
+
if len(memeber_set) > 0:
|
|
17502
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
17503
|
+
|
|
17504
|
+
|
|
17505
|
+
|
|
17068
17506
|
class RedisInstanceConf(AbstractModel):
|
|
17069
17507
|
r"""Redis实例内存配置参数
|
|
17070
17508
|
|
tencentcloud-sdk-python-dbbrain-3.0.1463/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1463
|
tencentcloud-sdk-python-dbbrain-3.0.1459/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1459
|
{tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-dbbrain-3.0.1459 → tencentcloud-sdk-python-dbbrain-3.0.1463}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|