tencentcloud-sdk-python-cdb 3.0.1376__tar.gz → 3.0.1377__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.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/setup.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/tencentcloud/cdb/v20170320/cdb_client.py +0 -25
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/tencentcloud/cdb/v20170320/models.py +0 -113
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cdb-3.0.1377/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cdb-3.0.1376/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/README.rst +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1376 → tencentcloud-sdk-python-cdb-3.0.1377}/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.1377"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cdb SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1543,31 +1543,6 @@ class CdbClient(AbstractClient):
|
|
|
1543
1543
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1544
1544
|
|
|
1545
1545
|
|
|
1546
|
-
def DescribeCpuExpandStrategy(self, request):
|
|
1547
|
-
"""DescribeCpuExpandStrategy
|
|
1548
|
-
|
|
1549
|
-
通过该 API 可以查询实例的 CPU 弹性扩容策略
|
|
1550
|
-
|
|
1551
|
-
:param request: Request instance for DescribeCpuExpandStrategy.
|
|
1552
|
-
:type request: :class:`tencentcloud.cdb.v20170320.models.DescribeCpuExpandStrategyRequest`
|
|
1553
|
-
:rtype: :class:`tencentcloud.cdb.v20170320.models.DescribeCpuExpandStrategyResponse`
|
|
1554
|
-
|
|
1555
|
-
"""
|
|
1556
|
-
try:
|
|
1557
|
-
params = request._serialize()
|
|
1558
|
-
headers = request.headers
|
|
1559
|
-
body = self.call("DescribeCpuExpandStrategy", params, headers=headers)
|
|
1560
|
-
response = json.loads(body)
|
|
1561
|
-
model = models.DescribeCpuExpandStrategyResponse()
|
|
1562
|
-
model._deserialize(response["Response"])
|
|
1563
|
-
return model
|
|
1564
|
-
except Exception as e:
|
|
1565
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1566
|
-
raise
|
|
1567
|
-
else:
|
|
1568
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
1546
|
def DescribeDBFeatures(self, request):
|
|
1572
1547
|
"""本接口(DescribeDBFeatures)用于查询云数据库版本属性,包括是否支持数据库加密、数据库审计等功能。
|
|
1573
1548
|
|
|
@@ -15389,119 +15389,6 @@ class DescribeClusterInfoResponse(AbstractModel):
|
|
|
15389
15389
|
self._RequestId = params.get("RequestId")
|
|
15390
15390
|
|
|
15391
15391
|
|
|
15392
|
-
class DescribeCpuExpandStrategyRequest(AbstractModel):
|
|
15393
|
-
"""DescribeCpuExpandStrategy请求参数结构体
|
|
15394
|
-
|
|
15395
|
-
"""
|
|
15396
|
-
|
|
15397
|
-
def __init__(self):
|
|
15398
|
-
r"""
|
|
15399
|
-
:param _InstanceId: 实例 ID 。
|
|
15400
|
-
:type InstanceId: str
|
|
15401
|
-
"""
|
|
15402
|
-
self._InstanceId = None
|
|
15403
|
-
|
|
15404
|
-
@property
|
|
15405
|
-
def InstanceId(self):
|
|
15406
|
-
"""实例 ID 。
|
|
15407
|
-
:rtype: str
|
|
15408
|
-
"""
|
|
15409
|
-
return self._InstanceId
|
|
15410
|
-
|
|
15411
|
-
@InstanceId.setter
|
|
15412
|
-
def InstanceId(self, InstanceId):
|
|
15413
|
-
self._InstanceId = InstanceId
|
|
15414
|
-
|
|
15415
|
-
|
|
15416
|
-
def _deserialize(self, params):
|
|
15417
|
-
self._InstanceId = params.get("InstanceId")
|
|
15418
|
-
memeber_set = set(params.keys())
|
|
15419
|
-
for name, value in vars(self).items():
|
|
15420
|
-
property_name = name[1:]
|
|
15421
|
-
if property_name in memeber_set:
|
|
15422
|
-
memeber_set.remove(property_name)
|
|
15423
|
-
if len(memeber_set) > 0:
|
|
15424
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15425
|
-
|
|
15426
|
-
|
|
15427
|
-
|
|
15428
|
-
class DescribeCpuExpandStrategyResponse(AbstractModel):
|
|
15429
|
-
"""DescribeCpuExpandStrategy返回参数结构体
|
|
15430
|
-
|
|
15431
|
-
"""
|
|
15432
|
-
|
|
15433
|
-
def __init__(self):
|
|
15434
|
-
r"""
|
|
15435
|
-
:param _Type: 策略类型。可选值 auto、manual。
|
|
15436
|
-
:type Type: str
|
|
15437
|
-
:param _ExpandCpu: 手动扩容的 CPU 。Type为 manual 时有效。
|
|
15438
|
-
:type ExpandCpu: str
|
|
15439
|
-
:param _AutoStrategy: 自动扩容策略。Type 为 auto 时有效
|
|
15440
|
-
:type AutoStrategy: str
|
|
15441
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15442
|
-
:type RequestId: str
|
|
15443
|
-
"""
|
|
15444
|
-
self._Type = None
|
|
15445
|
-
self._ExpandCpu = None
|
|
15446
|
-
self._AutoStrategy = None
|
|
15447
|
-
self._RequestId = None
|
|
15448
|
-
|
|
15449
|
-
@property
|
|
15450
|
-
def Type(self):
|
|
15451
|
-
"""策略类型。可选值 auto、manual。
|
|
15452
|
-
:rtype: str
|
|
15453
|
-
"""
|
|
15454
|
-
return self._Type
|
|
15455
|
-
|
|
15456
|
-
@Type.setter
|
|
15457
|
-
def Type(self, Type):
|
|
15458
|
-
self._Type = Type
|
|
15459
|
-
|
|
15460
|
-
@property
|
|
15461
|
-
def ExpandCpu(self):
|
|
15462
|
-
"""手动扩容的 CPU 。Type为 manual 时有效。
|
|
15463
|
-
:rtype: str
|
|
15464
|
-
"""
|
|
15465
|
-
return self._ExpandCpu
|
|
15466
|
-
|
|
15467
|
-
@ExpandCpu.setter
|
|
15468
|
-
def ExpandCpu(self, ExpandCpu):
|
|
15469
|
-
self._ExpandCpu = ExpandCpu
|
|
15470
|
-
|
|
15471
|
-
@property
|
|
15472
|
-
def AutoStrategy(self):
|
|
15473
|
-
warnings.warn("parameter `AutoStrategy` is deprecated", DeprecationWarning)
|
|
15474
|
-
|
|
15475
|
-
"""自动扩容策略。Type 为 auto 时有效
|
|
15476
|
-
:rtype: str
|
|
15477
|
-
"""
|
|
15478
|
-
return self._AutoStrategy
|
|
15479
|
-
|
|
15480
|
-
@AutoStrategy.setter
|
|
15481
|
-
def AutoStrategy(self, AutoStrategy):
|
|
15482
|
-
warnings.warn("parameter `AutoStrategy` is deprecated", DeprecationWarning)
|
|
15483
|
-
|
|
15484
|
-
self._AutoStrategy = AutoStrategy
|
|
15485
|
-
|
|
15486
|
-
@property
|
|
15487
|
-
def RequestId(self):
|
|
15488
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15489
|
-
:rtype: str
|
|
15490
|
-
"""
|
|
15491
|
-
return self._RequestId
|
|
15492
|
-
|
|
15493
|
-
@RequestId.setter
|
|
15494
|
-
def RequestId(self, RequestId):
|
|
15495
|
-
self._RequestId = RequestId
|
|
15496
|
-
|
|
15497
|
-
|
|
15498
|
-
def _deserialize(self, params):
|
|
15499
|
-
self._Type = params.get("Type")
|
|
15500
|
-
self._ExpandCpu = params.get("ExpandCpu")
|
|
15501
|
-
self._AutoStrategy = params.get("AutoStrategy")
|
|
15502
|
-
self._RequestId = params.get("RequestId")
|
|
15503
|
-
|
|
15504
|
-
|
|
15505
15392
|
class DescribeDBFeaturesRequest(AbstractModel):
|
|
15506
15393
|
"""DescribeDBFeatures请求参数结构体
|
|
15507
15394
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1377
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1376
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|