tencentcloud-sdk-python-cdb 3.1.170__tar.gz → 3.1.177__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.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/setup.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/tencentcloud/cdb/v20170320/models.py +103 -38
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cdb-3.1.177/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cdb-3.1.170/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/README.rst +0 -0
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.170 → tencentcloud_sdk_python_cdb-3.1.177}/tencentcloud_sdk_python_cdb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.177
|
|
4
4
|
Summary: Tencent Cloud Cdb SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.177,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cdb SDK for Python',
|
|
@@ -840,33 +840,29 @@ class AdjustCdbProxyRequest(AbstractModel):
|
|
|
840
840
|
|
|
841
841
|
def __init__(self):
|
|
842
842
|
r"""
|
|
843
|
-
:param _InstanceId:
|
|
843
|
+
:param _InstanceId: <p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
844
844
|
:type InstanceId: str
|
|
845
|
-
:param _ProxyGroupId:
|
|
845
|
+
:param _ProxyGroupId: <p>代理组 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
846
846
|
:type ProxyGroupId: str
|
|
847
|
-
:param _ProxyNodeCustom:
|
|
848
|
-
备注:数据库代理支持的节点规格为:2C4000MB、4C8000MB、8C16000MB。
|
|
849
|
-
示例中参数说明:
|
|
850
|
-
NodeCount:节点个数
|
|
851
|
-
Region:节点地域
|
|
852
|
-
Zone:节点可用区
|
|
853
|
-
Cpu:单个代理节点核数(单位:核)
|
|
854
|
-
Mem:单个代理节点内存数(单位:MB)
|
|
847
|
+
:param _ProxyNodeCustom: <p>节点规格配置<br>备注:数据库代理支持的节点规格为:2C4000MB、4C8000MB、8C16000MB。<br>示例中参数说明:<br>NodeCount:节点个数<br>Region:节点地域<br>Zone:节点可用区<br>Cpu:单个代理节点核数(单位:核)<br>Mem:单个代理节点内存数(单位:MB)</p>
|
|
855
848
|
:type ProxyNodeCustom: list of ProxyNodeCustom
|
|
856
|
-
:param _ReloadBalance:
|
|
849
|
+
:param _ReloadBalance: <p>重新负载均衡:auto(自动),manual(手动)</p>
|
|
857
850
|
:type ReloadBalance: str
|
|
858
|
-
:param _UpgradeTime:
|
|
851
|
+
:param _UpgradeTime: <p>升级切换时间。</p><p>枚举值:</p><ul><li>nowTime: 升级完成时</li><li>timeWindow: 维护时间内</li><li>rollUpgrade: 滚动升级</li></ul>
|
|
859
852
|
:type UpgradeTime: str
|
|
853
|
+
:param _RollUpgradeWaitingTime: <p>滚动升级或平滑变配等待时间</p><p>取值范围:[0, 3600]</p><p>单位:秒</p>
|
|
854
|
+
:type RollUpgradeWaitingTime: int
|
|
860
855
|
"""
|
|
861
856
|
self._InstanceId = None
|
|
862
857
|
self._ProxyGroupId = None
|
|
863
858
|
self._ProxyNodeCustom = None
|
|
864
859
|
self._ReloadBalance = None
|
|
865
860
|
self._UpgradeTime = None
|
|
861
|
+
self._RollUpgradeWaitingTime = None
|
|
866
862
|
|
|
867
863
|
@property
|
|
868
864
|
def InstanceId(self):
|
|
869
|
-
r"""
|
|
865
|
+
r"""<p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
870
866
|
:rtype: str
|
|
871
867
|
"""
|
|
872
868
|
return self._InstanceId
|
|
@@ -877,7 +873,7 @@ Mem:单个代理节点内存数(单位:MB)
|
|
|
877
873
|
|
|
878
874
|
@property
|
|
879
875
|
def ProxyGroupId(self):
|
|
880
|
-
r"""
|
|
876
|
+
r"""<p>代理组 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
881
877
|
:rtype: str
|
|
882
878
|
"""
|
|
883
879
|
return self._ProxyGroupId
|
|
@@ -888,14 +884,7 @@ Mem:单个代理节点内存数(单位:MB)
|
|
|
888
884
|
|
|
889
885
|
@property
|
|
890
886
|
def ProxyNodeCustom(self):
|
|
891
|
-
r"""
|
|
892
|
-
备注:数据库代理支持的节点规格为:2C4000MB、4C8000MB、8C16000MB。
|
|
893
|
-
示例中参数说明:
|
|
894
|
-
NodeCount:节点个数
|
|
895
|
-
Region:节点地域
|
|
896
|
-
Zone:节点可用区
|
|
897
|
-
Cpu:单个代理节点核数(单位:核)
|
|
898
|
-
Mem:单个代理节点内存数(单位:MB)
|
|
887
|
+
r"""<p>节点规格配置<br>备注:数据库代理支持的节点规格为:2C4000MB、4C8000MB、8C16000MB。<br>示例中参数说明:<br>NodeCount:节点个数<br>Region:节点地域<br>Zone:节点可用区<br>Cpu:单个代理节点核数(单位:核)<br>Mem:单个代理节点内存数(单位:MB)</p>
|
|
899
888
|
:rtype: list of ProxyNodeCustom
|
|
900
889
|
"""
|
|
901
890
|
return self._ProxyNodeCustom
|
|
@@ -906,7 +895,7 @@ Mem:单个代理节点内存数(单位:MB)
|
|
|
906
895
|
|
|
907
896
|
@property
|
|
908
897
|
def ReloadBalance(self):
|
|
909
|
-
r"""
|
|
898
|
+
r"""<p>重新负载均衡:auto(自动),manual(手动)</p>
|
|
910
899
|
:rtype: str
|
|
911
900
|
"""
|
|
912
901
|
return self._ReloadBalance
|
|
@@ -917,7 +906,7 @@ Mem:单个代理节点内存数(单位:MB)
|
|
|
917
906
|
|
|
918
907
|
@property
|
|
919
908
|
def UpgradeTime(self):
|
|
920
|
-
r"""
|
|
909
|
+
r"""<p>升级切换时间。</p><p>枚举值:</p><ul><li>nowTime: 升级完成时</li><li>timeWindow: 维护时间内</li><li>rollUpgrade: 滚动升级</li></ul>
|
|
921
910
|
:rtype: str
|
|
922
911
|
"""
|
|
923
912
|
return self._UpgradeTime
|
|
@@ -926,6 +915,17 @@ Mem:单个代理节点内存数(单位:MB)
|
|
|
926
915
|
def UpgradeTime(self, UpgradeTime):
|
|
927
916
|
self._UpgradeTime = UpgradeTime
|
|
928
917
|
|
|
918
|
+
@property
|
|
919
|
+
def RollUpgradeWaitingTime(self):
|
|
920
|
+
r"""<p>滚动升级或平滑变配等待时间</p><p>取值范围:[0, 3600]</p><p>单位:秒</p>
|
|
921
|
+
:rtype: int
|
|
922
|
+
"""
|
|
923
|
+
return self._RollUpgradeWaitingTime
|
|
924
|
+
|
|
925
|
+
@RollUpgradeWaitingTime.setter
|
|
926
|
+
def RollUpgradeWaitingTime(self, RollUpgradeWaitingTime):
|
|
927
|
+
self._RollUpgradeWaitingTime = RollUpgradeWaitingTime
|
|
928
|
+
|
|
929
929
|
|
|
930
930
|
def _deserialize(self, params):
|
|
931
931
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -938,6 +938,7 @@ Mem:单个代理节点内存数(单位:MB)
|
|
|
938
938
|
self._ProxyNodeCustom.append(obj)
|
|
939
939
|
self._ReloadBalance = params.get("ReloadBalance")
|
|
940
940
|
self._UpgradeTime = params.get("UpgradeTime")
|
|
941
|
+
self._RollUpgradeWaitingTime = params.get("RollUpgradeWaitingTime")
|
|
941
942
|
memeber_set = set(params.keys())
|
|
942
943
|
for name, value in vars(self).items():
|
|
943
944
|
property_name = name[1:]
|
|
@@ -955,7 +956,7 @@ class AdjustCdbProxyResponse(AbstractModel):
|
|
|
955
956
|
|
|
956
957
|
def __init__(self):
|
|
957
958
|
r"""
|
|
958
|
-
:param _AsyncRequestId:
|
|
959
|
+
:param _AsyncRequestId: <p>异步任务ID</p>
|
|
959
960
|
:type AsyncRequestId: str
|
|
960
961
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
961
962
|
:type RequestId: str
|
|
@@ -965,7 +966,7 @@ class AdjustCdbProxyResponse(AbstractModel):
|
|
|
965
966
|
|
|
966
967
|
@property
|
|
967
968
|
def AsyncRequestId(self):
|
|
968
|
-
r"""
|
|
969
|
+
r"""<p>异步任务ID</p>
|
|
969
970
|
:rtype: str
|
|
970
971
|
"""
|
|
971
972
|
return self._AsyncRequestId
|
|
@@ -8665,6 +8666,8 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
8665
8666
|
:type DestroyProtect: str
|
|
8666
8667
|
:param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
|
|
8667
8668
|
:type FourthZone: str
|
|
8669
|
+
:param _AutoStrategy: <p>弹性扩容参数(如果不传,则不开启)</p>
|
|
8670
|
+
:type AutoStrategy: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
|
|
8668
8671
|
"""
|
|
8669
8672
|
self._GoodsNum = None
|
|
8670
8673
|
self._Memory = None
|
|
@@ -8711,6 +8714,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
8711
8714
|
self._DiskEncryption = None
|
|
8712
8715
|
self._DestroyProtect = None
|
|
8713
8716
|
self._FourthZone = None
|
|
8717
|
+
self._AutoStrategy = None
|
|
8714
8718
|
|
|
8715
8719
|
@property
|
|
8716
8720
|
def GoodsNum(self):
|
|
@@ -9207,6 +9211,17 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
9207
9211
|
def FourthZone(self, FourthZone):
|
|
9208
9212
|
self._FourthZone = FourthZone
|
|
9209
9213
|
|
|
9214
|
+
@property
|
|
9215
|
+
def AutoStrategy(self):
|
|
9216
|
+
r"""<p>弹性扩容参数(如果不传,则不开启)</p>
|
|
9217
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
|
|
9218
|
+
"""
|
|
9219
|
+
return self._AutoStrategy
|
|
9220
|
+
|
|
9221
|
+
@AutoStrategy.setter
|
|
9222
|
+
def AutoStrategy(self, AutoStrategy):
|
|
9223
|
+
self._AutoStrategy = AutoStrategy
|
|
9224
|
+
|
|
9210
9225
|
|
|
9211
9226
|
def _deserialize(self, params):
|
|
9212
9227
|
self._GoodsNum = params.get("GoodsNum")
|
|
@@ -9268,6 +9283,9 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
9268
9283
|
self._DiskEncryption = params.get("DiskEncryption")
|
|
9269
9284
|
self._DestroyProtect = params.get("DestroyProtect")
|
|
9270
9285
|
self._FourthZone = params.get("FourthZone")
|
|
9286
|
+
if params.get("AutoStrategy") is not None:
|
|
9287
|
+
self._AutoStrategy = AutoStrategy()
|
|
9288
|
+
self._AutoStrategy._deserialize(params.get("AutoStrategy"))
|
|
9271
9289
|
memeber_set = set(params.keys())
|
|
9272
9290
|
for name, value in vars(self).items():
|
|
9273
9291
|
property_name = name[1:]
|
|
@@ -9431,6 +9449,8 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
|
9431
9449
|
:type DestroyProtect: str
|
|
9432
9450
|
:param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
|
|
9433
9451
|
:type FourthZone: str
|
|
9452
|
+
:param _AutoStrategy: <p>弹性扩容参数(如果不传,则不开启)</p>
|
|
9453
|
+
:type AutoStrategy: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
|
|
9434
9454
|
"""
|
|
9435
9455
|
self._Memory = None
|
|
9436
9456
|
self._Volume = None
|
|
@@ -9476,6 +9496,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
|
9476
9496
|
self._DiskEncryption = None
|
|
9477
9497
|
self._DestroyProtect = None
|
|
9478
9498
|
self._FourthZone = None
|
|
9499
|
+
self._AutoStrategy = None
|
|
9479
9500
|
|
|
9480
9501
|
@property
|
|
9481
9502
|
def Memory(self):
|
|
@@ -9961,6 +9982,17 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
|
9961
9982
|
def FourthZone(self, FourthZone):
|
|
9962
9983
|
self._FourthZone = FourthZone
|
|
9963
9984
|
|
|
9985
|
+
@property
|
|
9986
|
+
def AutoStrategy(self):
|
|
9987
|
+
r"""<p>弹性扩容参数(如果不传,则不开启)</p>
|
|
9988
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
|
|
9989
|
+
"""
|
|
9990
|
+
return self._AutoStrategy
|
|
9991
|
+
|
|
9992
|
+
@AutoStrategy.setter
|
|
9993
|
+
def AutoStrategy(self, AutoStrategy):
|
|
9994
|
+
self._AutoStrategy = AutoStrategy
|
|
9995
|
+
|
|
9964
9996
|
|
|
9965
9997
|
def _deserialize(self, params):
|
|
9966
9998
|
self._Memory = params.get("Memory")
|
|
@@ -10021,6 +10053,9 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
|
10021
10053
|
self._DiskEncryption = params.get("DiskEncryption")
|
|
10022
10054
|
self._DestroyProtect = params.get("DestroyProtect")
|
|
10023
10055
|
self._FourthZone = params.get("FourthZone")
|
|
10056
|
+
if params.get("AutoStrategy") is not None:
|
|
10057
|
+
self._AutoStrategy = AutoStrategy()
|
|
10058
|
+
self._AutoStrategy._deserialize(params.get("AutoStrategy"))
|
|
10024
10059
|
memeber_set = set(params.keys())
|
|
10025
10060
|
for name, value in vars(self).items():
|
|
10026
10061
|
property_name = name[1:]
|
|
@@ -39601,26 +39636,29 @@ class UpgradeCDBProxyVersionRequest(AbstractModel):
|
|
|
39601
39636
|
|
|
39602
39637
|
def __init__(self):
|
|
39603
39638
|
r"""
|
|
39604
|
-
:param _InstanceId:
|
|
39639
|
+
:param _InstanceId: <p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
39605
39640
|
:type InstanceId: str
|
|
39606
|
-
:param _ProxyGroupId:
|
|
39641
|
+
:param _ProxyGroupId: <p>数据库代理 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
39607
39642
|
:type ProxyGroupId: str
|
|
39608
|
-
:param _SrcProxyVersion:
|
|
39643
|
+
:param _SrcProxyVersion: <p>数据库代理当前版本</p>
|
|
39609
39644
|
:type SrcProxyVersion: str
|
|
39610
|
-
:param _DstProxyVersion:
|
|
39645
|
+
:param _DstProxyVersion: <p>数据库代理升级版本</p>
|
|
39611
39646
|
:type DstProxyVersion: str
|
|
39612
|
-
:param _UpgradeTime:
|
|
39647
|
+
:param _UpgradeTime: <p>升级切换时间</p><p>枚举值:</p><ul><li>nowTime: 升级完成时</li><li>timeWindow: 实例维护时间</li><li>rollUpgrade: 滚动升级</li></ul>
|
|
39613
39648
|
:type UpgradeTime: str
|
|
39649
|
+
:param _RollUpgradeWaitingTime: <p>滚动升级等待时间</p><p>取值范围:[10, 3600]</p><p>单位:秒</p>
|
|
39650
|
+
:type RollUpgradeWaitingTime: int
|
|
39614
39651
|
"""
|
|
39615
39652
|
self._InstanceId = None
|
|
39616
39653
|
self._ProxyGroupId = None
|
|
39617
39654
|
self._SrcProxyVersion = None
|
|
39618
39655
|
self._DstProxyVersion = None
|
|
39619
39656
|
self._UpgradeTime = None
|
|
39657
|
+
self._RollUpgradeWaitingTime = None
|
|
39620
39658
|
|
|
39621
39659
|
@property
|
|
39622
39660
|
def InstanceId(self):
|
|
39623
|
-
r"""
|
|
39661
|
+
r"""<p>实例 ID。可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
39624
39662
|
:rtype: str
|
|
39625
39663
|
"""
|
|
39626
39664
|
return self._InstanceId
|
|
@@ -39631,7 +39669,7 @@ class UpgradeCDBProxyVersionRequest(AbstractModel):
|
|
|
39631
39669
|
|
|
39632
39670
|
@property
|
|
39633
39671
|
def ProxyGroupId(self):
|
|
39634
|
-
r"""
|
|
39672
|
+
r"""<p>数据库代理 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
39635
39673
|
:rtype: str
|
|
39636
39674
|
"""
|
|
39637
39675
|
return self._ProxyGroupId
|
|
@@ -39642,7 +39680,7 @@ class UpgradeCDBProxyVersionRequest(AbstractModel):
|
|
|
39642
39680
|
|
|
39643
39681
|
@property
|
|
39644
39682
|
def SrcProxyVersion(self):
|
|
39645
|
-
r"""
|
|
39683
|
+
r"""<p>数据库代理当前版本</p>
|
|
39646
39684
|
:rtype: str
|
|
39647
39685
|
"""
|
|
39648
39686
|
return self._SrcProxyVersion
|
|
@@ -39653,7 +39691,7 @@ class UpgradeCDBProxyVersionRequest(AbstractModel):
|
|
|
39653
39691
|
|
|
39654
39692
|
@property
|
|
39655
39693
|
def DstProxyVersion(self):
|
|
39656
|
-
r"""
|
|
39694
|
+
r"""<p>数据库代理升级版本</p>
|
|
39657
39695
|
:rtype: str
|
|
39658
39696
|
"""
|
|
39659
39697
|
return self._DstProxyVersion
|
|
@@ -39664,7 +39702,7 @@ class UpgradeCDBProxyVersionRequest(AbstractModel):
|
|
|
39664
39702
|
|
|
39665
39703
|
@property
|
|
39666
39704
|
def UpgradeTime(self):
|
|
39667
|
-
r"""
|
|
39705
|
+
r"""<p>升级切换时间</p><p>枚举值:</p><ul><li>nowTime: 升级完成时</li><li>timeWindow: 实例维护时间</li><li>rollUpgrade: 滚动升级</li></ul>
|
|
39668
39706
|
:rtype: str
|
|
39669
39707
|
"""
|
|
39670
39708
|
return self._UpgradeTime
|
|
@@ -39673,6 +39711,17 @@ class UpgradeCDBProxyVersionRequest(AbstractModel):
|
|
|
39673
39711
|
def UpgradeTime(self, UpgradeTime):
|
|
39674
39712
|
self._UpgradeTime = UpgradeTime
|
|
39675
39713
|
|
|
39714
|
+
@property
|
|
39715
|
+
def RollUpgradeWaitingTime(self):
|
|
39716
|
+
r"""<p>滚动升级等待时间</p><p>取值范围:[10, 3600]</p><p>单位:秒</p>
|
|
39717
|
+
:rtype: int
|
|
39718
|
+
"""
|
|
39719
|
+
return self._RollUpgradeWaitingTime
|
|
39720
|
+
|
|
39721
|
+
@RollUpgradeWaitingTime.setter
|
|
39722
|
+
def RollUpgradeWaitingTime(self, RollUpgradeWaitingTime):
|
|
39723
|
+
self._RollUpgradeWaitingTime = RollUpgradeWaitingTime
|
|
39724
|
+
|
|
39676
39725
|
|
|
39677
39726
|
def _deserialize(self, params):
|
|
39678
39727
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -39680,6 +39729,7 @@ class UpgradeCDBProxyVersionRequest(AbstractModel):
|
|
|
39680
39729
|
self._SrcProxyVersion = params.get("SrcProxyVersion")
|
|
39681
39730
|
self._DstProxyVersion = params.get("DstProxyVersion")
|
|
39682
39731
|
self._UpgradeTime = params.get("UpgradeTime")
|
|
39732
|
+
self._RollUpgradeWaitingTime = params.get("RollUpgradeWaitingTime")
|
|
39683
39733
|
memeber_set = set(params.keys())
|
|
39684
39734
|
for name, value in vars(self).items():
|
|
39685
39735
|
property_name = name[1:]
|
|
@@ -39697,7 +39747,7 @@ class UpgradeCDBProxyVersionResponse(AbstractModel):
|
|
|
39697
39747
|
|
|
39698
39748
|
def __init__(self):
|
|
39699
39749
|
r"""
|
|
39700
|
-
:param _AsyncRequestId:
|
|
39750
|
+
:param _AsyncRequestId: <p>异步处理ID</p>
|
|
39701
39751
|
:type AsyncRequestId: str
|
|
39702
39752
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
39703
39753
|
:type RequestId: str
|
|
@@ -39707,7 +39757,7 @@ class UpgradeCDBProxyVersionResponse(AbstractModel):
|
|
|
39707
39757
|
|
|
39708
39758
|
@property
|
|
39709
39759
|
def AsyncRequestId(self):
|
|
39710
|
-
r"""
|
|
39760
|
+
r"""<p>异步处理ID</p>
|
|
39711
39761
|
:rtype: str
|
|
39712
39762
|
"""
|
|
39713
39763
|
return self._AsyncRequestId
|
|
@@ -39873,10 +39923,13 @@ class UpgradeDBInstanceEngineVersionResponse(AbstractModel):
|
|
|
39873
39923
|
r"""
|
|
39874
39924
|
:param _AsyncRequestId: <p>异步任务 ID,可使用 <a href="https://cloud.tencent.com/document/api/236/20410">查询异步任务的执行结果</a> 获取其执行情况。</p>
|
|
39875
39925
|
:type AsyncRequestId: str
|
|
39926
|
+
:param _JobId: <p>任务列表ID</p>
|
|
39927
|
+
:type JobId: int
|
|
39876
39928
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
39877
39929
|
:type RequestId: str
|
|
39878
39930
|
"""
|
|
39879
39931
|
self._AsyncRequestId = None
|
|
39932
|
+
self._JobId = None
|
|
39880
39933
|
self._RequestId = None
|
|
39881
39934
|
|
|
39882
39935
|
@property
|
|
@@ -39890,6 +39943,17 @@ class UpgradeDBInstanceEngineVersionResponse(AbstractModel):
|
|
|
39890
39943
|
def AsyncRequestId(self, AsyncRequestId):
|
|
39891
39944
|
self._AsyncRequestId = AsyncRequestId
|
|
39892
39945
|
|
|
39946
|
+
@property
|
|
39947
|
+
def JobId(self):
|
|
39948
|
+
r"""<p>任务列表ID</p>
|
|
39949
|
+
:rtype: int
|
|
39950
|
+
"""
|
|
39951
|
+
return self._JobId
|
|
39952
|
+
|
|
39953
|
+
@JobId.setter
|
|
39954
|
+
def JobId(self, JobId):
|
|
39955
|
+
self._JobId = JobId
|
|
39956
|
+
|
|
39893
39957
|
@property
|
|
39894
39958
|
def RequestId(self):
|
|
39895
39959
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -39904,6 +39968,7 @@ class UpgradeDBInstanceEngineVersionResponse(AbstractModel):
|
|
|
39904
39968
|
|
|
39905
39969
|
def _deserialize(self, params):
|
|
39906
39970
|
self._AsyncRequestId = params.get("AsyncRequestId")
|
|
39971
|
+
self._JobId = params.get("JobId")
|
|
39907
39972
|
self._RequestId = params.get("RequestId")
|
|
39908
39973
|
|
|
39909
39974
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.177
|
|
4
4
|
Summary: Tencent Cloud Cdb SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.170
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|