tencentcloud-sdk-python-dbdc 3.0.1416__tar.gz → 3.1.7__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 (19) hide show
  1. tencentcloud_sdk_python_dbdc-3.1.7/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/setup.py +2 -1
  3. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/tencentcloud/dbdc/v20201029/dbdc_client.py +6 -6
  5. tencentcloud_sdk_python_dbdc-3.1.7/tencentcloud/dbdc/v20201029/dbdc_client_async.py +134 -0
  6. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/tencentcloud/dbdc/v20201029/models.py +320 -199
  7. tencentcloud_sdk_python_dbdc-3.1.7/tencentcloud_sdk_python_dbdc.egg-info/PKG-INFO +46 -0
  8. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/tencentcloud_sdk_python_dbdc.egg-info/SOURCES.txt +1 -0
  9. tencentcloud_sdk_python_dbdc-3.1.7/tencentcloud_sdk_python_dbdc.egg-info/requires.txt +1 -0
  10. tencentcloud-sdk-python-dbdc-3.0.1416/PKG-INFO +0 -45
  11. tencentcloud-sdk-python-dbdc-3.0.1416/tencentcloud_sdk_python_dbdc.egg-info/PKG-INFO +0 -45
  12. tencentcloud-sdk-python-dbdc-3.0.1416/tencentcloud_sdk_python_dbdc.egg-info/requires.txt +0 -1
  13. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/README.rst +0 -0
  14. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/setup.cfg +0 -0
  15. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/tencentcloud/dbdc/__init__.py +0 -0
  16. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/tencentcloud/dbdc/v20201029/__init__.py +0 -0
  17. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/tencentcloud/dbdc/v20201029/errorcodes.py +0 -0
  18. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/tencentcloud_sdk_python_dbdc.egg-info/dependency_links.txt +0 -0
  19. {tencentcloud-sdk-python-dbdc-3.0.1416 → tencentcloud_sdk_python_dbdc-3.1.7}/tencentcloud_sdk_python_dbdc.egg-info/top_level.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-dbdc
3
+ Version: 3.1.7
4
+ Summary: Tencent Cloud Dbdc SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.7
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Dbdc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-dbdc
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common dbdc
46
+
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-dbdc',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1416"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.7,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Dbdc SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1416'
17
+ __version__ = '3.1.7'
@@ -27,7 +27,7 @@ class DbdcClient(AbstractClient):
27
27
 
28
28
 
29
29
  def DescribeDBInstances(self, request):
30
- """本接口用于查询独享集群内的DB实例列表
30
+ r"""本接口用于查询独享集群内的DB实例列表
31
31
 
32
32
  :param request: Request instance for DescribeDBInstances.
33
33
  :type request: :class:`tencentcloud.dbdc.v20201029.models.DescribeDBInstancesRequest`
@@ -50,7 +50,7 @@ class DbdcClient(AbstractClient):
50
50
 
51
51
 
52
52
  def DescribeHostList(self, request):
53
- """本接口用于查询主机列表
53
+ r"""本接口用于查询主机列表
54
54
 
55
55
  :param request: Request instance for DescribeHostList.
56
56
  :type request: :class:`tencentcloud.dbdc.v20201029.models.DescribeHostListRequest`
@@ -73,7 +73,7 @@ class DbdcClient(AbstractClient):
73
73
 
74
74
 
75
75
  def DescribeInstanceDetail(self, request):
76
- """本接口用于查询独享集群详情
76
+ r"""本接口用于查询独享集群详情
77
77
 
78
78
  :param request: Request instance for DescribeInstanceDetail.
79
79
  :type request: :class:`tencentcloud.dbdc.v20201029.models.DescribeInstanceDetailRequest`
@@ -96,7 +96,7 @@ class DbdcClient(AbstractClient):
96
96
 
97
97
 
98
98
  def DescribeInstanceList(self, request):
99
- """本接口用于查询独享集群实例列表
99
+ r"""本接口用于查询独享集群实例列表
100
100
 
101
101
  :param request: Request instance for DescribeInstanceList.
102
102
  :type request: :class:`tencentcloud.dbdc.v20201029.models.DescribeInstanceListRequest`
@@ -119,7 +119,7 @@ class DbdcClient(AbstractClient):
119
119
 
120
120
 
121
121
  def DescribeInstances(self, request):
122
- """根据不同地域不同用户,获取集群列表信息
122
+ r"""根据不同地域不同用户,获取集群列表信息
123
123
 
124
124
  :param request: Request instance for DescribeInstances.
125
125
  :type request: :class:`tencentcloud.dbdc.v20201029.models.DescribeInstancesRequest`
@@ -142,7 +142,7 @@ class DbdcClient(AbstractClient):
142
142
 
143
143
 
144
144
  def ModifyInstanceName(self, request):
145
- """本接口用于修改集群名称
145
+ r"""本接口用于修改集群名称
146
146
 
147
147
  :param request: Request instance for ModifyInstanceName.
148
148
  :type request: :class:`tencentcloud.dbdc.v20201029.models.ModifyInstanceNameRequest`
@@ -0,0 +1,134 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+
18
+ from tencentcloud.common.abstract_client_async import AbstractClient
19
+ from tencentcloud.dbdc.v20201029 import models
20
+ from typing import Dict
21
+
22
+
23
+ class DbdcClient(AbstractClient):
24
+ _apiVersion = '2020-10-29'
25
+ _endpoint = 'dbdc.tencentcloudapi.com'
26
+ _service = 'dbdc'
27
+
28
+ async def DescribeDBInstances(
29
+ self,
30
+ request: models.DescribeDBInstancesRequest,
31
+ opts: Dict = None,
32
+ ) -> models.DescribeDBInstancesResponse:
33
+ """
34
+ 本接口用于查询独享集群内的DB实例列表
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "DescribeDBInstances"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.DescribeDBInstancesResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def DescribeHostList(
47
+ self,
48
+ request: models.DescribeHostListRequest,
49
+ opts: Dict = None,
50
+ ) -> models.DescribeHostListResponse:
51
+ """
52
+ 本接口用于查询主机列表
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "DescribeHostList"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.DescribeHostListResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
64
+ async def DescribeInstanceDetail(
65
+ self,
66
+ request: models.DescribeInstanceDetailRequest,
67
+ opts: Dict = None,
68
+ ) -> models.DescribeInstanceDetailResponse:
69
+ """
70
+ 本接口用于查询独享集群详情
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "DescribeInstanceDetail"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.DescribeInstanceDetailResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
82
+ async def DescribeInstanceList(
83
+ self,
84
+ request: models.DescribeInstanceListRequest,
85
+ opts: Dict = None,
86
+ ) -> models.DescribeInstanceListResponse:
87
+ """
88
+ 本接口用于查询独享集群实例列表
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "DescribeInstanceList"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.DescribeInstanceListResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
100
+ async def DescribeInstances(
101
+ self,
102
+ request: models.DescribeInstancesRequest,
103
+ opts: Dict = None,
104
+ ) -> models.DescribeInstancesResponse:
105
+ """
106
+ 根据不同地域不同用户,获取集群列表信息
107
+ """
108
+
109
+ kwargs = {}
110
+ kwargs["action"] = "DescribeInstances"
111
+ kwargs["params"] = request._serialize()
112
+ kwargs["resp_cls"] = models.DescribeInstancesResponse
113
+ kwargs["headers"] = request.headers
114
+ kwargs["opts"] = opts or {}
115
+
116
+ return await self.call_and_deserialize(**kwargs)
117
+
118
+ async def ModifyInstanceName(
119
+ self,
120
+ request: models.ModifyInstanceNameRequest,
121
+ opts: Dict = None,
122
+ ) -> models.ModifyInstanceNameResponse:
123
+ """
124
+ 本接口用于修改集群名称
125
+ """
126
+
127
+ kwargs = {}
128
+ kwargs["action"] = "ModifyInstanceName"
129
+ kwargs["params"] = request._serialize()
130
+ kwargs["resp_cls"] = models.ModifyInstanceNameResponse
131
+ kwargs["headers"] = request.headers
132
+ kwargs["opts"] = opts or {}
133
+
134
+ return await self.call_and_deserialize(**kwargs)