tencentcloud-sdk-python-cdb 3.0.1192__tar.gz → 3.0.1195__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.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/setup.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/tencentcloud/cdb/v20170320/models.py +66 -1
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cdb-3.0.1195/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cdb-3.0.1192/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/README.rst +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1192 → tencentcloud-sdk-python-cdb-3.0.1195}/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.1195"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cdb SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3893,7 +3893,7 @@ class CdbClient(AbstractClient):
|
|
|
3893
3893
|
|
|
3894
3894
|
|
|
3895
3895
|
def UpgradeDBInstanceEngineVersion(self, request):
|
|
3896
|
-
"""本接口(UpgradeDBInstanceEngineVersion)
|
|
3896
|
+
"""本接口(UpgradeDBInstanceEngineVersion)用于升级云数据库实例版本,实例类型支持主实例、灾备实例和只读实例等。
|
|
3897
3897
|
|
|
3898
3898
|
:param request: Request instance for UpgradeDBInstanceEngineVersion.
|
|
3899
3899
|
:type request: :class:`tencentcloud.cdb.v20170320.models.UpgradeDBInstanceEngineVersionRequest`
|
|
@@ -7151,7 +7151,8 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
|
7151
7151
|
:type ParamTemplateType: str
|
|
7152
7152
|
:param _AlarmPolicyIdList: 告警策略名数组,例如:["policy-uyoee9wg"],AlarmPolicyList不为空时该参数无效。
|
|
7153
7153
|
:type AlarmPolicyIdList: list of str
|
|
7154
|
-
:param _DryRun: 是否只预检此次请求。true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制等。如果检查不通过,则返回对应错误码;如果检查通过,则返回RequestId
|
|
7154
|
+
:param _DryRun: 是否只预检此次请求。true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制等。如果检查不通过,则返回对应错误码;如果检查通过,则返回 RequestId。false:发送正常请求,通过检查后直接创建实例。
|
|
7155
|
+
默认为 false。
|
|
7155
7156
|
:type DryRun: bool
|
|
7156
7157
|
:param _EngineType: 实例引擎类型,默认为"InnoDB",支持值包括:"InnoDB","RocksDB"。
|
|
7157
7158
|
:type EngineType: str
|
|
@@ -30307,12 +30308,15 @@ class UpgradeDBInstanceEngineVersionRequest(AbstractModel):
|
|
|
30307
30308
|
:type UpgradeSubversion: int
|
|
30308
30309
|
:param _MaxDelayTime: 延迟阈值。取值范围1~10
|
|
30309
30310
|
:type MaxDelayTime: int
|
|
30311
|
+
:param _ParamList: 版本升级支持指定参数
|
|
30312
|
+
:type ParamList: list of UpgradeEngineVersionParams
|
|
30310
30313
|
"""
|
|
30311
30314
|
self._InstanceId = None
|
|
30312
30315
|
self._EngineVersion = None
|
|
30313
30316
|
self._WaitSwitch = None
|
|
30314
30317
|
self._UpgradeSubversion = None
|
|
30315
30318
|
self._MaxDelayTime = None
|
|
30319
|
+
self._ParamList = None
|
|
30316
30320
|
|
|
30317
30321
|
@property
|
|
30318
30322
|
def InstanceId(self):
|
|
@@ -30354,6 +30358,14 @@ class UpgradeDBInstanceEngineVersionRequest(AbstractModel):
|
|
|
30354
30358
|
def MaxDelayTime(self, MaxDelayTime):
|
|
30355
30359
|
self._MaxDelayTime = MaxDelayTime
|
|
30356
30360
|
|
|
30361
|
+
@property
|
|
30362
|
+
def ParamList(self):
|
|
30363
|
+
return self._ParamList
|
|
30364
|
+
|
|
30365
|
+
@ParamList.setter
|
|
30366
|
+
def ParamList(self, ParamList):
|
|
30367
|
+
self._ParamList = ParamList
|
|
30368
|
+
|
|
30357
30369
|
|
|
30358
30370
|
def _deserialize(self, params):
|
|
30359
30371
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -30361,6 +30373,12 @@ class UpgradeDBInstanceEngineVersionRequest(AbstractModel):
|
|
|
30361
30373
|
self._WaitSwitch = params.get("WaitSwitch")
|
|
30362
30374
|
self._UpgradeSubversion = params.get("UpgradeSubversion")
|
|
30363
30375
|
self._MaxDelayTime = params.get("MaxDelayTime")
|
|
30376
|
+
if params.get("ParamList") is not None:
|
|
30377
|
+
self._ParamList = []
|
|
30378
|
+
for item in params.get("ParamList"):
|
|
30379
|
+
obj = UpgradeEngineVersionParams()
|
|
30380
|
+
obj._deserialize(item)
|
|
30381
|
+
self._ParamList.append(obj)
|
|
30364
30382
|
memeber_set = set(params.keys())
|
|
30365
30383
|
for name, value in vars(self).items():
|
|
30366
30384
|
property_name = name[1:]
|
|
@@ -30685,6 +30703,53 @@ class UpgradeDBInstanceResponse(AbstractModel):
|
|
|
30685
30703
|
self._RequestId = params.get("RequestId")
|
|
30686
30704
|
|
|
30687
30705
|
|
|
30706
|
+
class UpgradeEngineVersionParams(AbstractModel):
|
|
30707
|
+
"""5.7升级8.0指定参数的结构
|
|
30708
|
+
|
|
30709
|
+
"""
|
|
30710
|
+
|
|
30711
|
+
def __init__(self):
|
|
30712
|
+
r"""
|
|
30713
|
+
:param _Name: 参数名称
|
|
30714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30715
|
+
:type Name: str
|
|
30716
|
+
:param _Value: 参数值
|
|
30717
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30718
|
+
:type Value: str
|
|
30719
|
+
"""
|
|
30720
|
+
self._Name = None
|
|
30721
|
+
self._Value = None
|
|
30722
|
+
|
|
30723
|
+
@property
|
|
30724
|
+
def Name(self):
|
|
30725
|
+
return self._Name
|
|
30726
|
+
|
|
30727
|
+
@Name.setter
|
|
30728
|
+
def Name(self, Name):
|
|
30729
|
+
self._Name = Name
|
|
30730
|
+
|
|
30731
|
+
@property
|
|
30732
|
+
def Value(self):
|
|
30733
|
+
return self._Value
|
|
30734
|
+
|
|
30735
|
+
@Value.setter
|
|
30736
|
+
def Value(self, Value):
|
|
30737
|
+
self._Value = Value
|
|
30738
|
+
|
|
30739
|
+
|
|
30740
|
+
def _deserialize(self, params):
|
|
30741
|
+
self._Name = params.get("Name")
|
|
30742
|
+
self._Value = params.get("Value")
|
|
30743
|
+
memeber_set = set(params.keys())
|
|
30744
|
+
for name, value in vars(self).items():
|
|
30745
|
+
property_name = name[1:]
|
|
30746
|
+
if property_name in memeber_set:
|
|
30747
|
+
memeber_set.remove(property_name)
|
|
30748
|
+
if len(memeber_set) > 0:
|
|
30749
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30750
|
+
|
|
30751
|
+
|
|
30752
|
+
|
|
30688
30753
|
class UploadInfo(AbstractModel):
|
|
30689
30754
|
"""文件上传描述
|
|
30690
30755
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1195
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1192
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|