tencentcloud-sdk-python-cdb 3.0.1241__tar.gz → 3.0.1263__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-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/setup.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/tencentcloud/cdb/v20170320/cdb_client.py +1 -26
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/tencentcloud/cdb/v20170320/errorcodes.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/tencentcloud/cdb/v20170320/models.py +6027 -112
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cdb-3.0.1263/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cdb-3.0.1241/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/README.rst +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1241 → tencentcloud-sdk-python-cdb-3.0.1263}/tencentcloud_sdk_python_cdb.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cdb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1263"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cdb SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -73,7 +73,7 @@ class CdbClient(AbstractClient):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def AdjustCdbProxyAddress(self, request):
|
|
76
|
-
"""
|
|
76
|
+
"""本接口(AdjustCdbProxyAddress)用于调整数据库代理地址配置。
|
|
77
77
|
|
|
78
78
|
:param request: Request instance for AdjustCdbProxyAddress.
|
|
79
79
|
:type request: :class:`tencentcloud.cdb.v20170320.models.AdjustCdbProxyAddressRequest`
|
|
@@ -2556,31 +2556,6 @@ class CdbClient(AbstractClient):
|
|
|
2556
2556
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2557
2557
|
|
|
2558
2558
|
|
|
2559
|
-
def InitDBInstances(self, request):
|
|
2560
|
-
"""该接口不再维护,参考CreateDBInstance+API文档,在发货时即可完成初始化。
|
|
2561
|
-
|
|
2562
|
-
本接口(InitDBInstances)用于初始化云数据库实例,包括初始化密码、默认字符集、实例端口号等。该接口已经废弃,在发货接口CreateDBInstance、CreateDBInstanceHour可以直接使用参数Password设置密码,使用参数ParamList设置字符集,使用参数Port设置端口号。
|
|
2563
|
-
|
|
2564
|
-
:param request: Request instance for InitDBInstances.
|
|
2565
|
-
:type request: :class:`tencentcloud.cdb.v20170320.models.InitDBInstancesRequest`
|
|
2566
|
-
:rtype: :class:`tencentcloud.cdb.v20170320.models.InitDBInstancesResponse`
|
|
2567
|
-
|
|
2568
|
-
"""
|
|
2569
|
-
try:
|
|
2570
|
-
params = request._serialize()
|
|
2571
|
-
headers = request.headers
|
|
2572
|
-
body = self.call("InitDBInstances", params, headers=headers)
|
|
2573
|
-
response = json.loads(body)
|
|
2574
|
-
model = models.InitDBInstancesResponse()
|
|
2575
|
-
model._deserialize(response["Response"])
|
|
2576
|
-
return model
|
|
2577
|
-
except Exception as e:
|
|
2578
|
-
if isinstance(e, TencentCloudSDKException):
|
|
2579
|
-
raise
|
|
2580
|
-
else:
|
|
2581
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
2559
|
def InquiryPriceUpgradeInstances(self, request):
|
|
2585
2560
|
"""本接口(InquiryPriceUpgradeInstances)用于查询云数据库实例升级的价格,支持查询按量计费或者包年包月实例的升级价格,实例类型支持主实例、灾备实例和只读实例。
|
|
2586
2561
|
|
|
@@ -197,7 +197,7 @@ INTERNALERROR_DBERROR = 'InternalError.DBError'
|
|
|
197
197
|
# 数据库操作失败。
|
|
198
198
|
INTERNALERROR_DBOPERATIONERROR = 'InternalError.DBOperationError'
|
|
199
199
|
|
|
200
|
-
#
|
|
200
|
+
# 数据库实例不存在。
|
|
201
201
|
INTERNALERROR_DBRECORDNOTEXISTERROR = 'InternalError.DBRecordNotExistError'
|
|
202
202
|
|
|
203
203
|
# 数据库内部错误。
|