tencentcloud-sdk-python-dbbrain 3.0.1363__tar.gz → 3.0.1365__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 (20) hide show
  1. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/setup.py +1 -1
  3. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
  5. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud/dbbrain/v20210527/models.py +109 -0
  6. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud_sdk_python_dbbrain.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-dbbrain-3.0.1365/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-dbbrain-3.0.1363/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/README.rst +0 -0
  10. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud/dbbrain/__init__.py +0 -0
  12. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud/dbbrain/v20191016/__init__.py +0 -0
  13. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud/dbbrain/v20191016/dbbrain_client.py +0 -0
  14. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud/dbbrain/v20191016/errorcodes.py +0 -0
  15. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud/dbbrain/v20191016/models.py +0 -0
  16. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud/dbbrain/v20210527/__init__.py +0 -0
  17. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud/dbbrain/v20210527/errorcodes.py +0 -0
  18. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud_sdk_python_dbbrain.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud_sdk_python_dbbrain.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-dbbrain-3.0.1363 → tencentcloud-sdk-python-dbbrain-3.0.1365}/tencentcloud_sdk_python_dbbrain.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-dbbrain
3
- Version: 3.0.1363
3
+ Version: 3.0.1365
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.1363"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1365"],
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.1363'
17
+ __version__ = '3.0.1365'
@@ -739,6 +739,29 @@ class DbbrainClient(AbstractClient):
739
739
  raise TencentCloudSDKException(type(e).__name__, str(e))
740
740
 
741
741
 
742
+ def DescribeDBDiagReportContent(self, request):
743
+ """健康报告内容。
744
+
745
+ :param request: Request instance for DescribeDBDiagReportContent.
746
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDBDiagReportContentRequest`
747
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeDBDiagReportContentResponse`
748
+
749
+ """
750
+ try:
751
+ params = request._serialize()
752
+ headers = request.headers
753
+ body = self.call("DescribeDBDiagReportContent", params, headers=headers)
754
+ response = json.loads(body)
755
+ model = models.DescribeDBDiagReportContentResponse()
756
+ model._deserialize(response["Response"])
757
+ return model
758
+ except Exception as e:
759
+ if isinstance(e, TencentCloudSDKException):
760
+ raise
761
+ else:
762
+ raise TencentCloudSDKException(type(e).__name__, str(e))
763
+
764
+
742
765
  def DescribeDBDiagReportTasks(self, request):
743
766
  """查询健康报告生成任务列表。
744
767
 
@@ -5953,6 +5953,115 @@ class DescribeDBDiagHistoryResponse(AbstractModel):
5953
5953
  self._RequestId = params.get("RequestId")
5954
5954
 
5955
5955
 
5956
+ class DescribeDBDiagReportContentRequest(AbstractModel):
5957
+ """DescribeDBDiagReportContent请求参数结构体
5958
+
5959
+ """
5960
+
5961
+ def __init__(self):
5962
+ r"""
5963
+ :param _InstanceId: 实例名
5964
+ :type InstanceId: str
5965
+ :param _AsyncRequestId: 异步任务ID
5966
+ :type AsyncRequestId: int
5967
+ :param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mongodb" - 云数据库 MongoDB,默认为"mysql"。
5968
+ :type Product: str
5969
+ """
5970
+ self._InstanceId = None
5971
+ self._AsyncRequestId = None
5972
+ self._Product = None
5973
+
5974
+ @property
5975
+ def InstanceId(self):
5976
+ """实例名
5977
+ :rtype: str
5978
+ """
5979
+ return self._InstanceId
5980
+
5981
+ @InstanceId.setter
5982
+ def InstanceId(self, InstanceId):
5983
+ self._InstanceId = InstanceId
5984
+
5985
+ @property
5986
+ def AsyncRequestId(self):
5987
+ """异步任务ID
5988
+ :rtype: int
5989
+ """
5990
+ return self._AsyncRequestId
5991
+
5992
+ @AsyncRequestId.setter
5993
+ def AsyncRequestId(self, AsyncRequestId):
5994
+ self._AsyncRequestId = AsyncRequestId
5995
+
5996
+ @property
5997
+ def Product(self):
5998
+ """服务产品类型,支持值:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mongodb" - 云数据库 MongoDB,默认为"mysql"。
5999
+ :rtype: str
6000
+ """
6001
+ return self._Product
6002
+
6003
+ @Product.setter
6004
+ def Product(self, Product):
6005
+ self._Product = Product
6006
+
6007
+
6008
+ def _deserialize(self, params):
6009
+ self._InstanceId = params.get("InstanceId")
6010
+ self._AsyncRequestId = params.get("AsyncRequestId")
6011
+ self._Product = params.get("Product")
6012
+ memeber_set = set(params.keys())
6013
+ for name, value in vars(self).items():
6014
+ property_name = name[1:]
6015
+ if property_name in memeber_set:
6016
+ memeber_set.remove(property_name)
6017
+ if len(memeber_set) > 0:
6018
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6019
+
6020
+
6021
+
6022
+ class DescribeDBDiagReportContentResponse(AbstractModel):
6023
+ """DescribeDBDiagReportContent返回参数结构体
6024
+
6025
+ """
6026
+
6027
+ def __init__(self):
6028
+ r"""
6029
+ :param _Report: 报告内容。
6030
+ :type Report: str
6031
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6032
+ :type RequestId: str
6033
+ """
6034
+ self._Report = None
6035
+ self._RequestId = None
6036
+
6037
+ @property
6038
+ def Report(self):
6039
+ """报告内容。
6040
+ :rtype: str
6041
+ """
6042
+ return self._Report
6043
+
6044
+ @Report.setter
6045
+ def Report(self, Report):
6046
+ self._Report = Report
6047
+
6048
+ @property
6049
+ def RequestId(self):
6050
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6051
+ :rtype: str
6052
+ """
6053
+ return self._RequestId
6054
+
6055
+ @RequestId.setter
6056
+ def RequestId(self, RequestId):
6057
+ self._RequestId = RequestId
6058
+
6059
+
6060
+ def _deserialize(self, params):
6061
+ self._Report = params.get("Report")
6062
+ self._RequestId = params.get("RequestId")
6063
+
6064
+
5956
6065
  class DescribeDBDiagReportTasksRequest(AbstractModel):
5957
6066
  """DescribeDBDiagReportTasks请求参数结构体
5958
6067
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-dbbrain
3
- Version: 3.0.1363
3
+ Version: 3.0.1365
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.1365
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1363