tencentcloud-sdk-python-cdb 3.0.1213__tar.gz → 3.0.1220__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.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/setup.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/tencentcloud/cdb/v20170320/models.py +90 -0
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cdb-3.0.1220/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cdb-3.0.1213/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/README.rst +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cdb-3.0.1213 → tencentcloud-sdk-python-cdb-3.0.1220}/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.1220"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cdb SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -4520,6 +4520,66 @@ class CloseWanServiceResponse(AbstractModel):
|
|
|
4520
4520
|
self._RequestId = params.get("RequestId")
|
|
4521
4521
|
|
|
4522
4522
|
|
|
4523
|
+
class ClusterInfo(AbstractModel):
|
|
4524
|
+
"""集群版节点信息
|
|
4525
|
+
|
|
4526
|
+
"""
|
|
4527
|
+
|
|
4528
|
+
def __init__(self):
|
|
4529
|
+
r"""
|
|
4530
|
+
:param _NodeId: 节点id
|
|
4531
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4532
|
+
:type NodeId: str
|
|
4533
|
+
:param _Role: 节点类型:主节点,从节点
|
|
4534
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4535
|
+
:type Role: str
|
|
4536
|
+
:param _Zone: 地域
|
|
4537
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4538
|
+
:type Zone: str
|
|
4539
|
+
"""
|
|
4540
|
+
self._NodeId = None
|
|
4541
|
+
self._Role = None
|
|
4542
|
+
self._Zone = None
|
|
4543
|
+
|
|
4544
|
+
@property
|
|
4545
|
+
def NodeId(self):
|
|
4546
|
+
return self._NodeId
|
|
4547
|
+
|
|
4548
|
+
@NodeId.setter
|
|
4549
|
+
def NodeId(self, NodeId):
|
|
4550
|
+
self._NodeId = NodeId
|
|
4551
|
+
|
|
4552
|
+
@property
|
|
4553
|
+
def Role(self):
|
|
4554
|
+
return self._Role
|
|
4555
|
+
|
|
4556
|
+
@Role.setter
|
|
4557
|
+
def Role(self, Role):
|
|
4558
|
+
self._Role = Role
|
|
4559
|
+
|
|
4560
|
+
@property
|
|
4561
|
+
def Zone(self):
|
|
4562
|
+
return self._Zone
|
|
4563
|
+
|
|
4564
|
+
@Zone.setter
|
|
4565
|
+
def Zone(self, Zone):
|
|
4566
|
+
self._Zone = Zone
|
|
4567
|
+
|
|
4568
|
+
|
|
4569
|
+
def _deserialize(self, params):
|
|
4570
|
+
self._NodeId = params.get("NodeId")
|
|
4571
|
+
self._Role = params.get("Role")
|
|
4572
|
+
self._Zone = params.get("Zone")
|
|
4573
|
+
memeber_set = set(params.keys())
|
|
4574
|
+
for name, value in vars(self).items():
|
|
4575
|
+
property_name = name[1:]
|
|
4576
|
+
if property_name in memeber_set:
|
|
4577
|
+
memeber_set.remove(property_name)
|
|
4578
|
+
if len(memeber_set) > 0:
|
|
4579
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4580
|
+
|
|
4581
|
+
|
|
4582
|
+
|
|
4523
4583
|
class ClusterNodeInfo(AbstractModel):
|
|
4524
4584
|
"""集群版实例节点信息
|
|
4525
4585
|
|
|
@@ -13564,6 +13624,8 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
|
13564
13624
|
:type ProxyIds: list of str
|
|
13565
13625
|
:param _EngineTypes: 数据库引擎类型。
|
|
13566
13626
|
:type EngineTypes: list of str
|
|
13627
|
+
:param _QueryClusterInfo: 是否获取集群版实例节点信息,可填:true或false
|
|
13628
|
+
:type QueryClusterInfo: bool
|
|
13567
13629
|
"""
|
|
13568
13630
|
self._ProjectId = None
|
|
13569
13631
|
self._InstanceTypes = None
|
|
@@ -13600,6 +13662,7 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
|
13600
13662
|
self._ProxyVips = None
|
|
13601
13663
|
self._ProxyIds = None
|
|
13602
13664
|
self._EngineTypes = None
|
|
13665
|
+
self._QueryClusterInfo = None
|
|
13603
13666
|
|
|
13604
13667
|
@property
|
|
13605
13668
|
def ProjectId(self):
|
|
@@ -13881,6 +13944,14 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
|
13881
13944
|
def EngineTypes(self, EngineTypes):
|
|
13882
13945
|
self._EngineTypes = EngineTypes
|
|
13883
13946
|
|
|
13947
|
+
@property
|
|
13948
|
+
def QueryClusterInfo(self):
|
|
13949
|
+
return self._QueryClusterInfo
|
|
13950
|
+
|
|
13951
|
+
@QueryClusterInfo.setter
|
|
13952
|
+
def QueryClusterInfo(self, QueryClusterInfo):
|
|
13953
|
+
self._QueryClusterInfo = QueryClusterInfo
|
|
13954
|
+
|
|
13884
13955
|
|
|
13885
13956
|
def _deserialize(self, params):
|
|
13886
13957
|
self._ProjectId = params.get("ProjectId")
|
|
@@ -13923,6 +13994,7 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
|
13923
13994
|
self._ProxyVips = params.get("ProxyVips")
|
|
13924
13995
|
self._ProxyIds = params.get("ProxyIds")
|
|
13925
13996
|
self._EngineTypes = params.get("EngineTypes")
|
|
13997
|
+
self._QueryClusterInfo = params.get("QueryClusterInfo")
|
|
13926
13998
|
memeber_set = set(params.keys())
|
|
13927
13999
|
for name, value in vars(self).items():
|
|
13928
14000
|
property_name = name[1:]
|
|
@@ -19775,6 +19847,9 @@ class InstanceInfo(AbstractModel):
|
|
|
19775
19847
|
:param _ExpandCpu: 当前扩容的CPU核心数。
|
|
19776
19848
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19777
19849
|
:type ExpandCpu: int
|
|
19850
|
+
:param _ClusterInfo: 实例集群版节点信息
|
|
19851
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19852
|
+
:type ClusterInfo: list of ClusterInfo
|
|
19778
19853
|
"""
|
|
19779
19854
|
self._WanStatus = None
|
|
19780
19855
|
self._Zone = None
|
|
@@ -19823,6 +19898,7 @@ class InstanceInfo(AbstractModel):
|
|
|
19823
19898
|
self._MaxDelayTime = None
|
|
19824
19899
|
self._DiskType = None
|
|
19825
19900
|
self._ExpandCpu = None
|
|
19901
|
+
self._ClusterInfo = None
|
|
19826
19902
|
|
|
19827
19903
|
@property
|
|
19828
19904
|
def WanStatus(self):
|
|
@@ -20200,6 +20276,14 @@ class InstanceInfo(AbstractModel):
|
|
|
20200
20276
|
def ExpandCpu(self, ExpandCpu):
|
|
20201
20277
|
self._ExpandCpu = ExpandCpu
|
|
20202
20278
|
|
|
20279
|
+
@property
|
|
20280
|
+
def ClusterInfo(self):
|
|
20281
|
+
return self._ClusterInfo
|
|
20282
|
+
|
|
20283
|
+
@ClusterInfo.setter
|
|
20284
|
+
def ClusterInfo(self, ClusterInfo):
|
|
20285
|
+
self._ClusterInfo = ClusterInfo
|
|
20286
|
+
|
|
20203
20287
|
|
|
20204
20288
|
def _deserialize(self, params):
|
|
20205
20289
|
self._WanStatus = params.get("WanStatus")
|
|
@@ -20270,6 +20354,12 @@ class InstanceInfo(AbstractModel):
|
|
|
20270
20354
|
self._MaxDelayTime = params.get("MaxDelayTime")
|
|
20271
20355
|
self._DiskType = params.get("DiskType")
|
|
20272
20356
|
self._ExpandCpu = params.get("ExpandCpu")
|
|
20357
|
+
if params.get("ClusterInfo") is not None:
|
|
20358
|
+
self._ClusterInfo = []
|
|
20359
|
+
for item in params.get("ClusterInfo"):
|
|
20360
|
+
obj = ClusterInfo()
|
|
20361
|
+
obj._deserialize(item)
|
|
20362
|
+
self._ClusterInfo.append(obj)
|
|
20273
20363
|
memeber_set = set(params.keys())
|
|
20274
20364
|
for name, value in vars(self).items():
|
|
20275
20365
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1220
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1213
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|