tencentcloud-sdk-python-cdb 3.1.12__tar.gz → 3.1.21__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.12 → tencentcloud_sdk_python_cdb-3.1.21}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/setup.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/tencentcloud/cdb/v20170320/models.py +29 -8
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cdb-3.1.21/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cdb-3.1.12/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/README.rst +0 -0
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.12 → tencentcloud_sdk_python_cdb-3.1.21}/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.21
|
|
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.21
|
|
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.21,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cdb SDK for Python',
|
|
@@ -7910,7 +7910,7 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
7910
7910
|
说明:此参数和 SpecifiedBackupId 参数需要2选1进行设置。
|
|
7911
7911
|
:type SpecifiedRollbackTime: str
|
|
7912
7912
|
:param _SpecifiedBackupId: 如果需要克隆实例回档到指定备份集,则指定该值为备份文件的 Id。请使用 [查询数据备份文件列表](/document/api/236/15842)。
|
|
7913
|
-
|
|
7913
|
+
说明:如果是克隆双节点、三节点实例,备份文件为物理备份,如果是克隆单节点、云盘版实例,备份文件为快照备份。
|
|
7914
7914
|
:type SpecifiedBackupId: int
|
|
7915
7915
|
:param _UniqVpcId: 私有网络 ID,请使用 [查询私有网络列表](/document/api/215/15778)。
|
|
7916
7916
|
:type UniqVpcId: str
|
|
@@ -7936,7 +7936,7 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
7936
7936
|
:type SlaveZone: str
|
|
7937
7937
|
:param _BackupZone: 备库 2 的可用区信息,默认为空,克隆强同步主实例时可指定该参数。
|
|
7938
7938
|
:type BackupZone: str
|
|
7939
|
-
:param _DeviceType: 克隆实例类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"CLOUD_NATIVE_CLUSTER" -
|
|
7939
|
+
:param _DeviceType: 克隆实例类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"CLOUD_NATIVE_CLUSTER" - 云盘版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 云盘版加强型。不指定则默认为通用型。
|
|
7940
7940
|
:type DeviceType: str
|
|
7941
7941
|
:param _InstanceNodes: 新克隆实例节点数。如果需要克隆出三节点实例, 请将该值设置为3 或指定 BackupZone 参数。如果需要克隆出两节点实例,请将该值设置为2。默认克隆出两节点实例。
|
|
7942
7942
|
:type InstanceNodes: int
|
|
@@ -7952,12 +7952,14 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
7952
7952
|
:type PayType: str
|
|
7953
7953
|
:param _Period: 实例时长,PayType为PRE_PAID时必传,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
7954
7954
|
:type Period: int
|
|
7955
|
-
:param _ClusterTopology:
|
|
7955
|
+
:param _ClusterTopology: 云盘版节点拓扑配置。
|
|
7956
7956
|
:type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
|
7957
7957
|
:param _SrcRegion: 原实例所在地域名,当传入异地备份时为必选项,例:ap-guangzhou
|
|
7958
7958
|
:type SrcRegion: str
|
|
7959
7959
|
:param _SpecifiedSubBackupId: 异地数据备份id
|
|
7960
7960
|
:type SpecifiedSubBackupId: int
|
|
7961
|
+
:param _MasterZone: 新产生的克隆实例主库的可用区信息,默认同源实例 Zone 的值。
|
|
7962
|
+
:type MasterZone: str
|
|
7961
7963
|
"""
|
|
7962
7964
|
self._InstanceId = None
|
|
7963
7965
|
self._SpecifiedRollbackTime = None
|
|
@@ -7985,6 +7987,7 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
7985
7987
|
self._ClusterTopology = None
|
|
7986
7988
|
self._SrcRegion = None
|
|
7987
7989
|
self._SpecifiedSubBackupId = None
|
|
7990
|
+
self._MasterZone = None
|
|
7988
7991
|
|
|
7989
7992
|
@property
|
|
7990
7993
|
def InstanceId(self):
|
|
@@ -8012,7 +8015,7 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
8012
8015
|
@property
|
|
8013
8016
|
def SpecifiedBackupId(self):
|
|
8014
8017
|
r"""如果需要克隆实例回档到指定备份集,则指定该值为备份文件的 Id。请使用 [查询数据备份文件列表](/document/api/236/15842)。
|
|
8015
|
-
|
|
8018
|
+
说明:如果是克隆双节点、三节点实例,备份文件为物理备份,如果是克隆单节点、云盘版实例,备份文件为快照备份。
|
|
8016
8019
|
:rtype: int
|
|
8017
8020
|
"""
|
|
8018
8021
|
return self._SpecifiedBackupId
|
|
@@ -8155,7 +8158,7 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
8155
8158
|
|
|
8156
8159
|
@property
|
|
8157
8160
|
def DeviceType(self):
|
|
8158
|
-
r"""克隆实例类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"CLOUD_NATIVE_CLUSTER" -
|
|
8161
|
+
r"""克隆实例类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"CLOUD_NATIVE_CLUSTER" - 云盘版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 云盘版加强型。不指定则默认为通用型。
|
|
8159
8162
|
:rtype: str
|
|
8160
8163
|
"""
|
|
8161
8164
|
return self._DeviceType
|
|
@@ -8243,7 +8246,7 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
8243
8246
|
|
|
8244
8247
|
@property
|
|
8245
8248
|
def ClusterTopology(self):
|
|
8246
|
-
r"""
|
|
8249
|
+
r"""云盘版节点拓扑配置。
|
|
8247
8250
|
:rtype: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
|
8248
8251
|
"""
|
|
8249
8252
|
return self._ClusterTopology
|
|
@@ -8274,6 +8277,17 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
8274
8277
|
def SpecifiedSubBackupId(self, SpecifiedSubBackupId):
|
|
8275
8278
|
self._SpecifiedSubBackupId = SpecifiedSubBackupId
|
|
8276
8279
|
|
|
8280
|
+
@property
|
|
8281
|
+
def MasterZone(self):
|
|
8282
|
+
r"""新产生的克隆实例主库的可用区信息,默认同源实例 Zone 的值。
|
|
8283
|
+
:rtype: str
|
|
8284
|
+
"""
|
|
8285
|
+
return self._MasterZone
|
|
8286
|
+
|
|
8287
|
+
@MasterZone.setter
|
|
8288
|
+
def MasterZone(self, MasterZone):
|
|
8289
|
+
self._MasterZone = MasterZone
|
|
8290
|
+
|
|
8277
8291
|
|
|
8278
8292
|
def _deserialize(self, params):
|
|
8279
8293
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -8309,6 +8323,7 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
8309
8323
|
self._ClusterTopology._deserialize(params.get("ClusterTopology"))
|
|
8310
8324
|
self._SrcRegion = params.get("SrcRegion")
|
|
8311
8325
|
self._SpecifiedSubBackupId = params.get("SpecifiedSubBackupId")
|
|
8326
|
+
self._MasterZone = params.get("MasterZone")
|
|
8312
8327
|
memeber_set = set(params.keys())
|
|
8313
8328
|
for name, value in vars(self).items():
|
|
8314
8329
|
property_name = name[1:]
|
|
@@ -34068,7 +34083,10 @@ class ReloadBalanceProxyNodeRequest(AbstractModel):
|
|
|
34068
34083
|
r"""
|
|
34069
34084
|
:param _ProxyGroupId: 代理组 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
34070
34085
|
:type ProxyGroupId: str
|
|
34071
|
-
:param _ProxyAddressId: 代理组地址 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585)
|
|
34086
|
+
:param _ProxyAddressId: 代理组地址 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
34087
|
+
说明:
|
|
34088
|
+
1. 对于双节点实例而言,此参数为非必填,如果不传则会对所有代理组地址进行负载均衡。
|
|
34089
|
+
2. 对于云盘版实例而言,此参数为必填。
|
|
34072
34090
|
:type ProxyAddressId: str
|
|
34073
34091
|
"""
|
|
34074
34092
|
self._ProxyGroupId = None
|
|
@@ -34087,7 +34105,10 @@ class ReloadBalanceProxyNodeRequest(AbstractModel):
|
|
|
34087
34105
|
|
|
34088
34106
|
@property
|
|
34089
34107
|
def ProxyAddressId(self):
|
|
34090
|
-
r"""代理组地址 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585)
|
|
34108
|
+
r"""代理组地址 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
34109
|
+
说明:
|
|
34110
|
+
1. 对于双节点实例而言,此参数为非必填,如果不传则会对所有代理组地址进行负载均衡。
|
|
34111
|
+
2. 对于云盘版实例而言,此参数为必填。
|
|
34091
34112
|
:rtype: str
|
|
34092
34113
|
"""
|
|
34093
34114
|
return self._ProxyAddressId
|
|
@@ -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.21
|
|
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.21
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.21
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.12
|
|
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
|