tencentcloud-sdk-python-cdb 3.0.1114__tar.gz → 3.0.1116__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.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/setup.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/tencentcloud/cdb/v20170320/models.py +91 -0
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cdb-3.0.1116/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cdb-3.0.1114/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/README.rst +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1114 → tencentcloud-sdk-python-cdb-3.0.1116}/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.1116"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cdb SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -5691,6 +5691,10 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
5691
5691
|
:type CageId: str
|
|
5692
5692
|
:param _ProjectId: 项目ID,默认项目ID0
|
|
5693
5693
|
:type ProjectId: int
|
|
5694
|
+
:param _PayType: 付费类型,PRE_PAID:包年包月,USED_PAID:按量计费。默认为按量计费
|
|
5695
|
+
:type PayType: str
|
|
5696
|
+
:param _Period: 实例时长,PayType为PRE_PAID时必传,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
5697
|
+
:type Period: int
|
|
5694
5698
|
"""
|
|
5695
5699
|
self._InstanceId = None
|
|
5696
5700
|
self._SpecifiedRollbackTime = None
|
|
@@ -5713,6 +5717,8 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
5713
5717
|
self._DryRun = None
|
|
5714
5718
|
self._CageId = None
|
|
5715
5719
|
self._ProjectId = None
|
|
5720
|
+
self._PayType = None
|
|
5721
|
+
self._Period = None
|
|
5716
5722
|
|
|
5717
5723
|
@property
|
|
5718
5724
|
def InstanceId(self):
|
|
@@ -5882,6 +5888,22 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
5882
5888
|
def ProjectId(self, ProjectId):
|
|
5883
5889
|
self._ProjectId = ProjectId
|
|
5884
5890
|
|
|
5891
|
+
@property
|
|
5892
|
+
def PayType(self):
|
|
5893
|
+
return self._PayType
|
|
5894
|
+
|
|
5895
|
+
@PayType.setter
|
|
5896
|
+
def PayType(self, PayType):
|
|
5897
|
+
self._PayType = PayType
|
|
5898
|
+
|
|
5899
|
+
@property
|
|
5900
|
+
def Period(self):
|
|
5901
|
+
return self._Period
|
|
5902
|
+
|
|
5903
|
+
@Period.setter
|
|
5904
|
+
def Period(self, Period):
|
|
5905
|
+
self._Period = Period
|
|
5906
|
+
|
|
5885
5907
|
|
|
5886
5908
|
def _deserialize(self, params):
|
|
5887
5909
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -5910,6 +5932,8 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
5910
5932
|
self._DryRun = params.get("DryRun")
|
|
5911
5933
|
self._CageId = params.get("CageId")
|
|
5912
5934
|
self._ProjectId = params.get("ProjectId")
|
|
5935
|
+
self._PayType = params.get("PayType")
|
|
5936
|
+
self._Period = params.get("Period")
|
|
5913
5937
|
memeber_set = set(params.keys())
|
|
5914
5938
|
for name, value in vars(self).items():
|
|
5915
5939
|
property_name = name[1:]
|
|
@@ -28455,6 +28479,55 @@ class TagsInfoOfInstance(AbstractModel):
|
|
|
28455
28479
|
|
|
28456
28480
|
|
|
28457
28481
|
|
|
28482
|
+
class TaskAttachInfo(AbstractModel):
|
|
28483
|
+
"""任务列表中的部分任务支持特定的附加信息
|
|
28484
|
+
|
|
28485
|
+
"""
|
|
28486
|
+
|
|
28487
|
+
def __init__(self):
|
|
28488
|
+
r"""
|
|
28489
|
+
:param _AttachKey: 升级任务:
|
|
28490
|
+
”FastUpgradeStatus“:表示升级类型。1-原地升级;0-普通升级。
|
|
28491
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
28492
|
+
:type AttachKey: str
|
|
28493
|
+
:param _AttachValue: 升级任务:
|
|
28494
|
+
”FastUpgradeStatus“:表示升级类型。1-原地升级;0-普通升级。
|
|
28495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
28496
|
+
:type AttachValue: str
|
|
28497
|
+
"""
|
|
28498
|
+
self._AttachKey = None
|
|
28499
|
+
self._AttachValue = None
|
|
28500
|
+
|
|
28501
|
+
@property
|
|
28502
|
+
def AttachKey(self):
|
|
28503
|
+
return self._AttachKey
|
|
28504
|
+
|
|
28505
|
+
@AttachKey.setter
|
|
28506
|
+
def AttachKey(self, AttachKey):
|
|
28507
|
+
self._AttachKey = AttachKey
|
|
28508
|
+
|
|
28509
|
+
@property
|
|
28510
|
+
def AttachValue(self):
|
|
28511
|
+
return self._AttachValue
|
|
28512
|
+
|
|
28513
|
+
@AttachValue.setter
|
|
28514
|
+
def AttachValue(self, AttachValue):
|
|
28515
|
+
self._AttachValue = AttachValue
|
|
28516
|
+
|
|
28517
|
+
|
|
28518
|
+
def _deserialize(self, params):
|
|
28519
|
+
self._AttachKey = params.get("AttachKey")
|
|
28520
|
+
self._AttachValue = params.get("AttachValue")
|
|
28521
|
+
memeber_set = set(params.keys())
|
|
28522
|
+
for name, value in vars(self).items():
|
|
28523
|
+
property_name = name[1:]
|
|
28524
|
+
if property_name in memeber_set:
|
|
28525
|
+
memeber_set.remove(property_name)
|
|
28526
|
+
if len(memeber_set) > 0:
|
|
28527
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28528
|
+
|
|
28529
|
+
|
|
28530
|
+
|
|
28458
28531
|
class TaskDetail(AbstractModel):
|
|
28459
28532
|
"""实例任务详情
|
|
28460
28533
|
|
|
@@ -28504,6 +28577,9 @@ class TaskDetail(AbstractModel):
|
|
|
28504
28577
|
:type InstanceIds: list of str
|
|
28505
28578
|
:param _AsyncRequestId: 异步任务的请求 ID。
|
|
28506
28579
|
:type AsyncRequestId: str
|
|
28580
|
+
:param _TaskAttachInfo: 任务的附加信息。
|
|
28581
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
28582
|
+
:type TaskAttachInfo: list of TaskAttachInfo
|
|
28507
28583
|
"""
|
|
28508
28584
|
self._Code = None
|
|
28509
28585
|
self._Message = None
|
|
@@ -28515,6 +28591,7 @@ class TaskDetail(AbstractModel):
|
|
|
28515
28591
|
self._EndTime = None
|
|
28516
28592
|
self._InstanceIds = None
|
|
28517
28593
|
self._AsyncRequestId = None
|
|
28594
|
+
self._TaskAttachInfo = None
|
|
28518
28595
|
|
|
28519
28596
|
@property
|
|
28520
28597
|
def Code(self):
|
|
@@ -28596,6 +28673,14 @@ class TaskDetail(AbstractModel):
|
|
|
28596
28673
|
def AsyncRequestId(self, AsyncRequestId):
|
|
28597
28674
|
self._AsyncRequestId = AsyncRequestId
|
|
28598
28675
|
|
|
28676
|
+
@property
|
|
28677
|
+
def TaskAttachInfo(self):
|
|
28678
|
+
return self._TaskAttachInfo
|
|
28679
|
+
|
|
28680
|
+
@TaskAttachInfo.setter
|
|
28681
|
+
def TaskAttachInfo(self, TaskAttachInfo):
|
|
28682
|
+
self._TaskAttachInfo = TaskAttachInfo
|
|
28683
|
+
|
|
28599
28684
|
|
|
28600
28685
|
def _deserialize(self, params):
|
|
28601
28686
|
self._Code = params.get("Code")
|
|
@@ -28608,6 +28693,12 @@ class TaskDetail(AbstractModel):
|
|
|
28608
28693
|
self._EndTime = params.get("EndTime")
|
|
28609
28694
|
self._InstanceIds = params.get("InstanceIds")
|
|
28610
28695
|
self._AsyncRequestId = params.get("AsyncRequestId")
|
|
28696
|
+
if params.get("TaskAttachInfo") is not None:
|
|
28697
|
+
self._TaskAttachInfo = []
|
|
28698
|
+
for item in params.get("TaskAttachInfo"):
|
|
28699
|
+
obj = TaskAttachInfo()
|
|
28700
|
+
obj._deserialize(item)
|
|
28701
|
+
self._TaskAttachInfo.append(obj)
|
|
28611
28702
|
memeber_set = set(params.keys())
|
|
28612
28703
|
for name, value in vars(self).items():
|
|
28613
28704
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1116
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1114
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|