tencentcloud-sdk-python-dcdb 3.0.1009__tar.gz → 3.0.1015__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-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/setup.py +1 -1
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/tencentcloud/dcdb/v20180411/models.py +158 -2
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/tencentcloud_sdk_python_dcdb.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-dcdb-3.0.1015/tencentcloud_sdk_python_dcdb.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dcdb-3.0.1009/tencentcloud_sdk_python_dcdb.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/README.rst +0 -0
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/tencentcloud/dcdb/__init__.py +0 -0
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/tencentcloud/dcdb/v20180411/__init__.py +0 -0
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/tencentcloud/dcdb/v20180411/dcdb_client.py +0 -0
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/tencentcloud/dcdb/v20180411/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/tencentcloud_sdk_python_dcdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/tencentcloud_sdk_python_dcdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dcdb-3.0.1009 → tencentcloud-sdk-python-dcdb-3.0.1015}/tencentcloud_sdk_python_dcdb.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-dcdb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1015"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Dcdb SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1122,7 +1122,7 @@ class CreateDCDBInstanceRequest(AbstractModel):
|
|
|
1122
1122
|
|
|
1123
1123
|
def __init__(self):
|
|
1124
1124
|
r"""
|
|
1125
|
-
:param _Zones:
|
|
1125
|
+
:param _Zones: 分片节点可用区分布,可填写多个可用区。
|
|
1126
1126
|
注意当前可售卖的可用区需要通过DescribeDCDBSaleInfo接口拉取。
|
|
1127
1127
|
:type Zones: list of str
|
|
1128
1128
|
:param _Period: 欲购买的时长,单位:月。
|
|
@@ -1170,6 +1170,8 @@ class CreateDCDBInstanceRequest(AbstractModel):
|
|
|
1170
1170
|
:type AutoRenewFlag: int
|
|
1171
1171
|
:param _SecurityGroupIds: 安全组ids,安全组可以传数组形式,兼容之前SecurityGroupId参数
|
|
1172
1172
|
:type SecurityGroupIds: list of str
|
|
1173
|
+
:param _DcnSyncMode: DCN同步模式,0:异步, 1:强同步
|
|
1174
|
+
:type DcnSyncMode: int
|
|
1173
1175
|
"""
|
|
1174
1176
|
self._Zones = None
|
|
1175
1177
|
self._Period = None
|
|
@@ -1193,6 +1195,7 @@ class CreateDCDBInstanceRequest(AbstractModel):
|
|
|
1193
1195
|
self._DcnInstanceId = None
|
|
1194
1196
|
self._AutoRenewFlag = None
|
|
1195
1197
|
self._SecurityGroupIds = None
|
|
1198
|
+
self._DcnSyncMode = None
|
|
1196
1199
|
|
|
1197
1200
|
@property
|
|
1198
1201
|
def Zones(self):
|
|
@@ -1370,6 +1373,14 @@ class CreateDCDBInstanceRequest(AbstractModel):
|
|
|
1370
1373
|
def SecurityGroupIds(self, SecurityGroupIds):
|
|
1371
1374
|
self._SecurityGroupIds = SecurityGroupIds
|
|
1372
1375
|
|
|
1376
|
+
@property
|
|
1377
|
+
def DcnSyncMode(self):
|
|
1378
|
+
return self._DcnSyncMode
|
|
1379
|
+
|
|
1380
|
+
@DcnSyncMode.setter
|
|
1381
|
+
def DcnSyncMode(self, DcnSyncMode):
|
|
1382
|
+
self._DcnSyncMode = DcnSyncMode
|
|
1383
|
+
|
|
1373
1384
|
|
|
1374
1385
|
def _deserialize(self, params):
|
|
1375
1386
|
self._Zones = params.get("Zones")
|
|
@@ -1404,6 +1415,7 @@ class CreateDCDBInstanceRequest(AbstractModel):
|
|
|
1404
1415
|
self._DcnInstanceId = params.get("DcnInstanceId")
|
|
1405
1416
|
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
|
1406
1417
|
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
1418
|
+
self._DcnSyncMode = params.get("DcnSyncMode")
|
|
1407
1419
|
memeber_set = set(params.keys())
|
|
1408
1420
|
for name, value in vars(self).items():
|
|
1409
1421
|
property_name = name[1:]
|
|
@@ -1530,6 +1542,8 @@ class CreateDedicatedClusterDCDBInstanceRequest(AbstractModel):
|
|
|
1530
1542
|
:type RollbackInstanceId: str
|
|
1531
1543
|
:param _RollbackTime: 回档时间
|
|
1532
1544
|
:type RollbackTime: str
|
|
1545
|
+
:param _DcnSyncMode: DCN同步模式,0:异步, 1:强同步
|
|
1546
|
+
:type DcnSyncMode: int
|
|
1533
1547
|
"""
|
|
1534
1548
|
self._GoodsNum = None
|
|
1535
1549
|
self._ShardNum = None
|
|
@@ -1560,6 +1574,7 @@ class CreateDedicatedClusterDCDBInstanceRequest(AbstractModel):
|
|
|
1560
1574
|
self._SlaveHostIds = None
|
|
1561
1575
|
self._RollbackInstanceId = None
|
|
1562
1576
|
self._RollbackTime = None
|
|
1577
|
+
self._DcnSyncMode = None
|
|
1563
1578
|
|
|
1564
1579
|
@property
|
|
1565
1580
|
def GoodsNum(self):
|
|
@@ -1793,6 +1808,14 @@ class CreateDedicatedClusterDCDBInstanceRequest(AbstractModel):
|
|
|
1793
1808
|
def RollbackTime(self, RollbackTime):
|
|
1794
1809
|
self._RollbackTime = RollbackTime
|
|
1795
1810
|
|
|
1811
|
+
@property
|
|
1812
|
+
def DcnSyncMode(self):
|
|
1813
|
+
return self._DcnSyncMode
|
|
1814
|
+
|
|
1815
|
+
@DcnSyncMode.setter
|
|
1816
|
+
def DcnSyncMode(self, DcnSyncMode):
|
|
1817
|
+
self._DcnSyncMode = DcnSyncMode
|
|
1818
|
+
|
|
1796
1819
|
|
|
1797
1820
|
def _deserialize(self, params):
|
|
1798
1821
|
self._GoodsNum = params.get("GoodsNum")
|
|
@@ -1834,6 +1857,7 @@ class CreateDedicatedClusterDCDBInstanceRequest(AbstractModel):
|
|
|
1834
1857
|
self._SlaveHostIds = params.get("SlaveHostIds")
|
|
1835
1858
|
self._RollbackInstanceId = params.get("RollbackInstanceId")
|
|
1836
1859
|
self._RollbackTime = params.get("RollbackTime")
|
|
1860
|
+
self._DcnSyncMode = params.get("DcnSyncMode")
|
|
1837
1861
|
memeber_set = set(params.keys())
|
|
1838
1862
|
for name, value in vars(self).items():
|
|
1839
1863
|
property_name = name[1:]
|
|
@@ -1946,7 +1970,7 @@ class CreateHourDCDBInstanceRequest(AbstractModel):
|
|
|
1946
1970
|
:type RollbackTime: str
|
|
1947
1971
|
:param _SecurityGroupIds: 安全组ids,安全组可以传数组形式,兼容之前SecurityGroupId参数
|
|
1948
1972
|
:type SecurityGroupIds: list of str
|
|
1949
|
-
:param _DcnSyncMode: DCN同步模式,0
|
|
1973
|
+
:param _DcnSyncMode: DCN同步模式,0:异步, 1:强同步
|
|
1950
1974
|
:type DcnSyncMode: int
|
|
1951
1975
|
"""
|
|
1952
1976
|
self._ShardMemory = None
|
|
@@ -3733,6 +3757,24 @@ class DcnDetailItem(AbstractModel):
|
|
|
3733
3757
|
:type InstanceType: int
|
|
3734
3758
|
:param _EncryptStatus: 是否开启了 kms
|
|
3735
3759
|
:type EncryptStatus: int
|
|
3760
|
+
:param _DcnStatusDesc: 实例DCN状态描述信息
|
|
3761
|
+
:type DcnStatusDesc: str
|
|
3762
|
+
:param _PolarisInstanceId: DCN实例绑定的北极星服务所属的北极星实例Id,若未绑定则为空
|
|
3763
|
+
:type PolarisInstanceId: str
|
|
3764
|
+
:param _PolarisInstanceName: DCN实例绑定的北极星服务所属的北极星实例名,若未绑定则为空
|
|
3765
|
+
:type PolarisInstanceName: str
|
|
3766
|
+
:param _PolarisNamespace: DCN实例绑定的北极星服务所属的北极星命名空间,若未绑定则为空
|
|
3767
|
+
:type PolarisNamespace: str
|
|
3768
|
+
:param _PolarisService: DCN实例绑定的北极星服务,若未绑定则为空
|
|
3769
|
+
:type PolarisService: str
|
|
3770
|
+
:param _PolarisServiceStatus: DCN实例在北极星服务中的状态 0:未开启; 1:已开启; 2:已隔离; 3:切换中
|
|
3771
|
+
:type PolarisServiceStatus: int
|
|
3772
|
+
:param _PolarisServiceStatusDesc: DCN实例在北极星服务中的状态的描述信息
|
|
3773
|
+
:type PolarisServiceStatusDesc: str
|
|
3774
|
+
:param _PolarisRegion: 北极星管控地域
|
|
3775
|
+
:type PolarisRegion: str
|
|
3776
|
+
:param _IsDcnSwitchSupported: 是否支持DCN切换
|
|
3777
|
+
:type IsDcnSwitchSupported: int
|
|
3736
3778
|
"""
|
|
3737
3779
|
self._InstanceId = None
|
|
3738
3780
|
self._InstanceName = None
|
|
@@ -3753,6 +3795,15 @@ class DcnDetailItem(AbstractModel):
|
|
|
3753
3795
|
self._PeriodEndTime = None
|
|
3754
3796
|
self._InstanceType = None
|
|
3755
3797
|
self._EncryptStatus = None
|
|
3798
|
+
self._DcnStatusDesc = None
|
|
3799
|
+
self._PolarisInstanceId = None
|
|
3800
|
+
self._PolarisInstanceName = None
|
|
3801
|
+
self._PolarisNamespace = None
|
|
3802
|
+
self._PolarisService = None
|
|
3803
|
+
self._PolarisServiceStatus = None
|
|
3804
|
+
self._PolarisServiceStatusDesc = None
|
|
3805
|
+
self._PolarisRegion = None
|
|
3806
|
+
self._IsDcnSwitchSupported = None
|
|
3756
3807
|
|
|
3757
3808
|
@property
|
|
3758
3809
|
def InstanceId(self):
|
|
@@ -3906,6 +3957,78 @@ class DcnDetailItem(AbstractModel):
|
|
|
3906
3957
|
def EncryptStatus(self, EncryptStatus):
|
|
3907
3958
|
self._EncryptStatus = EncryptStatus
|
|
3908
3959
|
|
|
3960
|
+
@property
|
|
3961
|
+
def DcnStatusDesc(self):
|
|
3962
|
+
return self._DcnStatusDesc
|
|
3963
|
+
|
|
3964
|
+
@DcnStatusDesc.setter
|
|
3965
|
+
def DcnStatusDesc(self, DcnStatusDesc):
|
|
3966
|
+
self._DcnStatusDesc = DcnStatusDesc
|
|
3967
|
+
|
|
3968
|
+
@property
|
|
3969
|
+
def PolarisInstanceId(self):
|
|
3970
|
+
return self._PolarisInstanceId
|
|
3971
|
+
|
|
3972
|
+
@PolarisInstanceId.setter
|
|
3973
|
+
def PolarisInstanceId(self, PolarisInstanceId):
|
|
3974
|
+
self._PolarisInstanceId = PolarisInstanceId
|
|
3975
|
+
|
|
3976
|
+
@property
|
|
3977
|
+
def PolarisInstanceName(self):
|
|
3978
|
+
return self._PolarisInstanceName
|
|
3979
|
+
|
|
3980
|
+
@PolarisInstanceName.setter
|
|
3981
|
+
def PolarisInstanceName(self, PolarisInstanceName):
|
|
3982
|
+
self._PolarisInstanceName = PolarisInstanceName
|
|
3983
|
+
|
|
3984
|
+
@property
|
|
3985
|
+
def PolarisNamespace(self):
|
|
3986
|
+
return self._PolarisNamespace
|
|
3987
|
+
|
|
3988
|
+
@PolarisNamespace.setter
|
|
3989
|
+
def PolarisNamespace(self, PolarisNamespace):
|
|
3990
|
+
self._PolarisNamespace = PolarisNamespace
|
|
3991
|
+
|
|
3992
|
+
@property
|
|
3993
|
+
def PolarisService(self):
|
|
3994
|
+
return self._PolarisService
|
|
3995
|
+
|
|
3996
|
+
@PolarisService.setter
|
|
3997
|
+
def PolarisService(self, PolarisService):
|
|
3998
|
+
self._PolarisService = PolarisService
|
|
3999
|
+
|
|
4000
|
+
@property
|
|
4001
|
+
def PolarisServiceStatus(self):
|
|
4002
|
+
return self._PolarisServiceStatus
|
|
4003
|
+
|
|
4004
|
+
@PolarisServiceStatus.setter
|
|
4005
|
+
def PolarisServiceStatus(self, PolarisServiceStatus):
|
|
4006
|
+
self._PolarisServiceStatus = PolarisServiceStatus
|
|
4007
|
+
|
|
4008
|
+
@property
|
|
4009
|
+
def PolarisServiceStatusDesc(self):
|
|
4010
|
+
return self._PolarisServiceStatusDesc
|
|
4011
|
+
|
|
4012
|
+
@PolarisServiceStatusDesc.setter
|
|
4013
|
+
def PolarisServiceStatusDesc(self, PolarisServiceStatusDesc):
|
|
4014
|
+
self._PolarisServiceStatusDesc = PolarisServiceStatusDesc
|
|
4015
|
+
|
|
4016
|
+
@property
|
|
4017
|
+
def PolarisRegion(self):
|
|
4018
|
+
return self._PolarisRegion
|
|
4019
|
+
|
|
4020
|
+
@PolarisRegion.setter
|
|
4021
|
+
def PolarisRegion(self, PolarisRegion):
|
|
4022
|
+
self._PolarisRegion = PolarisRegion
|
|
4023
|
+
|
|
4024
|
+
@property
|
|
4025
|
+
def IsDcnSwitchSupported(self):
|
|
4026
|
+
return self._IsDcnSwitchSupported
|
|
4027
|
+
|
|
4028
|
+
@IsDcnSwitchSupported.setter
|
|
4029
|
+
def IsDcnSwitchSupported(self, IsDcnSwitchSupported):
|
|
4030
|
+
self._IsDcnSwitchSupported = IsDcnSwitchSupported
|
|
4031
|
+
|
|
3909
4032
|
|
|
3910
4033
|
def _deserialize(self, params):
|
|
3911
4034
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -3927,6 +4050,15 @@ class DcnDetailItem(AbstractModel):
|
|
|
3927
4050
|
self._PeriodEndTime = params.get("PeriodEndTime")
|
|
3928
4051
|
self._InstanceType = params.get("InstanceType")
|
|
3929
4052
|
self._EncryptStatus = params.get("EncryptStatus")
|
|
4053
|
+
self._DcnStatusDesc = params.get("DcnStatusDesc")
|
|
4054
|
+
self._PolarisInstanceId = params.get("PolarisInstanceId")
|
|
4055
|
+
self._PolarisInstanceName = params.get("PolarisInstanceName")
|
|
4056
|
+
self._PolarisNamespace = params.get("PolarisNamespace")
|
|
4057
|
+
self._PolarisService = params.get("PolarisService")
|
|
4058
|
+
self._PolarisServiceStatus = params.get("PolarisServiceStatus")
|
|
4059
|
+
self._PolarisServiceStatusDesc = params.get("PolarisServiceStatusDesc")
|
|
4060
|
+
self._PolarisRegion = params.get("PolarisRegion")
|
|
4061
|
+
self._IsDcnSwitchSupported = params.get("IsDcnSwitchSupported")
|
|
3930
4062
|
memeber_set = set(params.keys())
|
|
3931
4063
|
for name, value in vars(self).items():
|
|
3932
4064
|
property_name = name[1:]
|
|
@@ -5588,6 +5720,10 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
|
|
|
5588
5720
|
:type ReservedNetResources: list of ReservedNetResource
|
|
5589
5721
|
:param _IsPhysicalReplicationSupported: 是否支持物理复制
|
|
5590
5722
|
:type IsPhysicalReplicationSupported: bool
|
|
5723
|
+
:param _IsDcnStrongSyncSupported: 是否支持强同步DCN
|
|
5724
|
+
:type IsDcnStrongSyncSupported: int
|
|
5725
|
+
:param _IsDcnSwitchSupported: 是否支持DCN切换
|
|
5726
|
+
:type IsDcnSwitchSupported: int
|
|
5591
5727
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5592
5728
|
:type RequestId: str
|
|
5593
5729
|
"""
|
|
@@ -5643,6 +5779,8 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
|
|
|
5643
5779
|
self._RsAccessStrategy = None
|
|
5644
5780
|
self._ReservedNetResources = None
|
|
5645
5781
|
self._IsPhysicalReplicationSupported = None
|
|
5782
|
+
self._IsDcnStrongSyncSupported = None
|
|
5783
|
+
self._IsDcnSwitchSupported = None
|
|
5646
5784
|
self._RequestId = None
|
|
5647
5785
|
|
|
5648
5786
|
@property
|
|
@@ -6061,6 +6199,22 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
|
|
|
6061
6199
|
def IsPhysicalReplicationSupported(self, IsPhysicalReplicationSupported):
|
|
6062
6200
|
self._IsPhysicalReplicationSupported = IsPhysicalReplicationSupported
|
|
6063
6201
|
|
|
6202
|
+
@property
|
|
6203
|
+
def IsDcnStrongSyncSupported(self):
|
|
6204
|
+
return self._IsDcnStrongSyncSupported
|
|
6205
|
+
|
|
6206
|
+
@IsDcnStrongSyncSupported.setter
|
|
6207
|
+
def IsDcnStrongSyncSupported(self, IsDcnStrongSyncSupported):
|
|
6208
|
+
self._IsDcnStrongSyncSupported = IsDcnStrongSyncSupported
|
|
6209
|
+
|
|
6210
|
+
@property
|
|
6211
|
+
def IsDcnSwitchSupported(self):
|
|
6212
|
+
return self._IsDcnSwitchSupported
|
|
6213
|
+
|
|
6214
|
+
@IsDcnSwitchSupported.setter
|
|
6215
|
+
def IsDcnSwitchSupported(self, IsDcnSwitchSupported):
|
|
6216
|
+
self._IsDcnSwitchSupported = IsDcnSwitchSupported
|
|
6217
|
+
|
|
6064
6218
|
@property
|
|
6065
6219
|
def RequestId(self):
|
|
6066
6220
|
return self._RequestId
|
|
@@ -6138,6 +6292,8 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
|
|
|
6138
6292
|
obj._deserialize(item)
|
|
6139
6293
|
self._ReservedNetResources.append(obj)
|
|
6140
6294
|
self._IsPhysicalReplicationSupported = params.get("IsPhysicalReplicationSupported")
|
|
6295
|
+
self._IsDcnStrongSyncSupported = params.get("IsDcnStrongSyncSupported")
|
|
6296
|
+
self._IsDcnSwitchSupported = params.get("IsDcnSwitchSupported")
|
|
6141
6297
|
self._RequestId = params.get("RequestId")
|
|
6142
6298
|
|
|
6143
6299
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1015
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1009
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|