tencentcloud-sdk-python-cdb 3.1.133__tar.gz → 3.1.145__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-cdb might be problematic. Click here for more details.
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/setup.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/tencentcloud/cdb/v20170320/cdb_client_async.py +18 -0
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/tencentcloud/cdb/v20170320/models.py +124 -0
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cdb-3.1.145/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cdb-3.1.133/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/README.rst +0 -0
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.133 → tencentcloud_sdk_python_cdb-3.1.145}/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.145
|
|
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.145
|
|
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.145,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cdb SDK for Python',
|
|
@@ -4112,6 +4112,29 @@ class CdbClient(AbstractClient):
|
|
|
4112
4112
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4113
4113
|
|
|
4114
4114
|
|
|
4115
|
+
def UpgradeRoGroup(self, request):
|
|
4116
|
+
r"""该接口(UpgradeRoGroup)用于只读组升级为纯网络转发模式。
|
|
4117
|
+
|
|
4118
|
+
:param request: Request instance for UpgradeRoGroup.
|
|
4119
|
+
:type request: :class:`tencentcloud.cdb.v20170320.models.UpgradeRoGroupRequest`
|
|
4120
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.UpgradeRoGroupResponse`
|
|
4121
|
+
|
|
4122
|
+
"""
|
|
4123
|
+
try:
|
|
4124
|
+
params = request._serialize()
|
|
4125
|
+
headers = request.headers
|
|
4126
|
+
body = self.call("UpgradeRoGroup", params, headers=headers)
|
|
4127
|
+
response = json.loads(body)
|
|
4128
|
+
model = models.UpgradeRoGroupResponse()
|
|
4129
|
+
model._deserialize(response["Response"])
|
|
4130
|
+
return model
|
|
4131
|
+
except Exception as e:
|
|
4132
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4133
|
+
raise
|
|
4134
|
+
else:
|
|
4135
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4136
|
+
|
|
4137
|
+
|
|
4115
4138
|
def VerifyRootAccount(self, request):
|
|
4116
4139
|
r"""本接口(VerifyRootAccount)用于校验云数据库实例的 ROOT 账号是否有足够的权限进行授权操作。
|
|
4117
4140
|
|
|
@@ -3236,6 +3236,24 @@ class CdbClient(AbstractClient):
|
|
|
3236
3236
|
|
|
3237
3237
|
return await self.call_and_deserialize(**kwargs)
|
|
3238
3238
|
|
|
3239
|
+
async def UpgradeRoGroup(
|
|
3240
|
+
self,
|
|
3241
|
+
request: models.UpgradeRoGroupRequest,
|
|
3242
|
+
opts: Dict = None,
|
|
3243
|
+
) -> models.UpgradeRoGroupResponse:
|
|
3244
|
+
"""
|
|
3245
|
+
该接口(UpgradeRoGroup)用于只读组升级为纯网络转发模式。
|
|
3246
|
+
"""
|
|
3247
|
+
|
|
3248
|
+
kwargs = {}
|
|
3249
|
+
kwargs["action"] = "UpgradeRoGroup"
|
|
3250
|
+
kwargs["params"] = request._serialize()
|
|
3251
|
+
kwargs["resp_cls"] = models.UpgradeRoGroupResponse
|
|
3252
|
+
kwargs["headers"] = request.headers
|
|
3253
|
+
kwargs["opts"] = opts or {}
|
|
3254
|
+
|
|
3255
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3256
|
+
|
|
3239
3257
|
async def VerifyRootAccount(
|
|
3240
3258
|
self,
|
|
3241
3259
|
request: models.VerifyRootAccountRequest,
|
|
@@ -8669,6 +8669,8 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
8669
8669
|
:type DiskType: str
|
|
8670
8670
|
:param _ClusterType: <p>集群类型:cage——金融围拢,cdc——CDB ON CDC;dedicate——独享集群</p>
|
|
8671
8671
|
:type ClusterType: str
|
|
8672
|
+
:param _DiskEncryption: <p>是否对磁盘进行加密。仅云盘版实例支持该功能。 指定为 "on" 表示开启加密, 否则不加密。 购买只读实例、灾备实例、新克隆实例时该参数自动和主实例保持一致。</p>
|
|
8673
|
+
:type DiskEncryption: str
|
|
8672
8674
|
:param _DestroyProtect: <p>开启或关闭实例销毁保护。on-开启,off-关闭</p>
|
|
8673
8675
|
:type DestroyProtect: str
|
|
8674
8676
|
:param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
|
|
@@ -8715,6 +8717,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
8715
8717
|
self._ClusterTopology = None
|
|
8716
8718
|
self._DiskType = None
|
|
8717
8719
|
self._ClusterType = None
|
|
8720
|
+
self._DiskEncryption = None
|
|
8718
8721
|
self._DestroyProtect = None
|
|
8719
8722
|
self._FourthZone = None
|
|
8720
8723
|
|
|
@@ -9169,6 +9172,17 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
9169
9172
|
def ClusterType(self, ClusterType):
|
|
9170
9173
|
self._ClusterType = ClusterType
|
|
9171
9174
|
|
|
9175
|
+
@property
|
|
9176
|
+
def DiskEncryption(self):
|
|
9177
|
+
r"""<p>是否对磁盘进行加密。仅云盘版实例支持该功能。 指定为 "on" 表示开启加密, 否则不加密。 购买只读实例、灾备实例、新克隆实例时该参数自动和主实例保持一致。</p>
|
|
9178
|
+
:rtype: str
|
|
9179
|
+
"""
|
|
9180
|
+
return self._DiskEncryption
|
|
9181
|
+
|
|
9182
|
+
@DiskEncryption.setter
|
|
9183
|
+
def DiskEncryption(self, DiskEncryption):
|
|
9184
|
+
self._DiskEncryption = DiskEncryption
|
|
9185
|
+
|
|
9172
9186
|
@property
|
|
9173
9187
|
def DestroyProtect(self):
|
|
9174
9188
|
r"""<p>开启或关闭实例销毁保护。on-开启,off-关闭</p>
|
|
@@ -9248,6 +9262,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
9248
9262
|
self._ClusterTopology._deserialize(params.get("ClusterTopology"))
|
|
9249
9263
|
self._DiskType = params.get("DiskType")
|
|
9250
9264
|
self._ClusterType = params.get("ClusterType")
|
|
9265
|
+
self._DiskEncryption = params.get("DiskEncryption")
|
|
9251
9266
|
self._DestroyProtect = params.get("DestroyProtect")
|
|
9252
9267
|
self._FourthZone = params.get("FourthZone")
|
|
9253
9268
|
memeber_set = set(params.keys())
|
|
@@ -9407,6 +9422,8 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
|
9407
9422
|
:type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
|
9408
9423
|
:param _DiskType: <p>磁盘类型,单节点(云盘版)或者云盘版实例可以指定此参数。CLOUD_SSD 表示 SSD 云硬盘,CLOUD_HSSD 表示增强型 SSD 云硬盘,CLOUD_PREMIUM 表示高性能云硬盘。<br>说明:单节点(云盘版)、云盘版实例硬盘类型所支持的地域略有不同,具体支持情况请参考 <a href="https://cloud.tencent.com/document/product/236/8458">地域和可用区</a>。</p>
|
|
9409
9424
|
:type DiskType: str
|
|
9425
|
+
:param _DiskEncryption: <p>是否对磁盘进行加密。仅云盘版实例支持该功能。 指定为 "on" 表示开启加密, 否则不加密。 购买只读实例、灾备实例、新克隆实例时该参数自动和主实例保持一致。</p>
|
|
9426
|
+
:type DiskEncryption: str
|
|
9410
9427
|
:param _DestroyProtect: <p>开启或关闭实例销毁保护。on-开启,off-关闭</p>
|
|
9411
9428
|
:type DestroyProtect: str
|
|
9412
9429
|
:param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
|
|
@@ -9453,6 +9470,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
|
9453
9470
|
self._DataProtectVolume = None
|
|
9454
9471
|
self._ClusterTopology = None
|
|
9455
9472
|
self._DiskType = None
|
|
9473
|
+
self._DiskEncryption = None
|
|
9456
9474
|
self._DestroyProtect = None
|
|
9457
9475
|
self._FourthZone = None
|
|
9458
9476
|
|
|
@@ -9907,6 +9925,17 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
|
9907
9925
|
def DiskType(self, DiskType):
|
|
9908
9926
|
self._DiskType = DiskType
|
|
9909
9927
|
|
|
9928
|
+
@property
|
|
9929
|
+
def DiskEncryption(self):
|
|
9930
|
+
r"""<p>是否对磁盘进行加密。仅云盘版实例支持该功能。 指定为 "on" 表示开启加密, 否则不加密。 购买只读实例、灾备实例、新克隆实例时该参数自动和主实例保持一致。</p>
|
|
9931
|
+
:rtype: str
|
|
9932
|
+
"""
|
|
9933
|
+
return self._DiskEncryption
|
|
9934
|
+
|
|
9935
|
+
@DiskEncryption.setter
|
|
9936
|
+
def DiskEncryption(self, DiskEncryption):
|
|
9937
|
+
self._DiskEncryption = DiskEncryption
|
|
9938
|
+
|
|
9910
9939
|
@property
|
|
9911
9940
|
def DestroyProtect(self):
|
|
9912
9941
|
r"""<p>开启或关闭实例销毁保护。on-开启,off-关闭</p>
|
|
@@ -9986,6 +10015,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
|
9986
10015
|
self._ClusterTopology = ClusterTopology()
|
|
9987
10016
|
self._ClusterTopology._deserialize(params.get("ClusterTopology"))
|
|
9988
10017
|
self._DiskType = params.get("DiskType")
|
|
10018
|
+
self._DiskEncryption = params.get("DiskEncryption")
|
|
9989
10019
|
self._DestroyProtect = params.get("DestroyProtect")
|
|
9990
10020
|
self._FourthZone = params.get("FourthZone")
|
|
9991
10021
|
memeber_set = set(params.keys())
|
|
@@ -40085,6 +40115,100 @@ class UpgradeEngineVersionParams(AbstractModel):
|
|
|
40085
40115
|
|
|
40086
40116
|
|
|
40087
40117
|
|
|
40118
|
+
class UpgradeRoGroupRequest(AbstractModel):
|
|
40119
|
+
r"""UpgradeRoGroup请求参数结构体
|
|
40120
|
+
|
|
40121
|
+
"""
|
|
40122
|
+
|
|
40123
|
+
def __init__(self):
|
|
40124
|
+
r"""
|
|
40125
|
+
:param _InstanceId: 实例id。
|
|
40126
|
+
:type InstanceId: str
|
|
40127
|
+
:param _UniqRoGroupId: RO组的ID。
|
|
40128
|
+
:type UniqRoGroupId: str
|
|
40129
|
+
"""
|
|
40130
|
+
self._InstanceId = None
|
|
40131
|
+
self._UniqRoGroupId = None
|
|
40132
|
+
|
|
40133
|
+
@property
|
|
40134
|
+
def InstanceId(self):
|
|
40135
|
+
r"""实例id。
|
|
40136
|
+
:rtype: str
|
|
40137
|
+
"""
|
|
40138
|
+
return self._InstanceId
|
|
40139
|
+
|
|
40140
|
+
@InstanceId.setter
|
|
40141
|
+
def InstanceId(self, InstanceId):
|
|
40142
|
+
self._InstanceId = InstanceId
|
|
40143
|
+
|
|
40144
|
+
@property
|
|
40145
|
+
def UniqRoGroupId(self):
|
|
40146
|
+
r"""RO组的ID。
|
|
40147
|
+
:rtype: str
|
|
40148
|
+
"""
|
|
40149
|
+
return self._UniqRoGroupId
|
|
40150
|
+
|
|
40151
|
+
@UniqRoGroupId.setter
|
|
40152
|
+
def UniqRoGroupId(self, UniqRoGroupId):
|
|
40153
|
+
self._UniqRoGroupId = UniqRoGroupId
|
|
40154
|
+
|
|
40155
|
+
|
|
40156
|
+
def _deserialize(self, params):
|
|
40157
|
+
self._InstanceId = params.get("InstanceId")
|
|
40158
|
+
self._UniqRoGroupId = params.get("UniqRoGroupId")
|
|
40159
|
+
memeber_set = set(params.keys())
|
|
40160
|
+
for name, value in vars(self).items():
|
|
40161
|
+
property_name = name[1:]
|
|
40162
|
+
if property_name in memeber_set:
|
|
40163
|
+
memeber_set.remove(property_name)
|
|
40164
|
+
if len(memeber_set) > 0:
|
|
40165
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
40166
|
+
|
|
40167
|
+
|
|
40168
|
+
|
|
40169
|
+
class UpgradeRoGroupResponse(AbstractModel):
|
|
40170
|
+
r"""UpgradeRoGroup返回参数结构体
|
|
40171
|
+
|
|
40172
|
+
"""
|
|
40173
|
+
|
|
40174
|
+
def __init__(self):
|
|
40175
|
+
r"""
|
|
40176
|
+
:param _AsyncRequestId: 异步任务ID。
|
|
40177
|
+
:type AsyncRequestId: str
|
|
40178
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
40179
|
+
:type RequestId: str
|
|
40180
|
+
"""
|
|
40181
|
+
self._AsyncRequestId = None
|
|
40182
|
+
self._RequestId = None
|
|
40183
|
+
|
|
40184
|
+
@property
|
|
40185
|
+
def AsyncRequestId(self):
|
|
40186
|
+
r"""异步任务ID。
|
|
40187
|
+
:rtype: str
|
|
40188
|
+
"""
|
|
40189
|
+
return self._AsyncRequestId
|
|
40190
|
+
|
|
40191
|
+
@AsyncRequestId.setter
|
|
40192
|
+
def AsyncRequestId(self, AsyncRequestId):
|
|
40193
|
+
self._AsyncRequestId = AsyncRequestId
|
|
40194
|
+
|
|
40195
|
+
@property
|
|
40196
|
+
def RequestId(self):
|
|
40197
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
40198
|
+
:rtype: str
|
|
40199
|
+
"""
|
|
40200
|
+
return self._RequestId
|
|
40201
|
+
|
|
40202
|
+
@RequestId.setter
|
|
40203
|
+
def RequestId(self, RequestId):
|
|
40204
|
+
self._RequestId = RequestId
|
|
40205
|
+
|
|
40206
|
+
|
|
40207
|
+
def _deserialize(self, params):
|
|
40208
|
+
self._AsyncRequestId = params.get("AsyncRequestId")
|
|
40209
|
+
self._RequestId = params.get("RequestId")
|
|
40210
|
+
|
|
40211
|
+
|
|
40088
40212
|
class UploadInfo(AbstractModel):
|
|
40089
40213
|
r"""文件上传描述
|
|
40090
40214
|
|
|
@@ -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.145
|
|
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.145
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.145
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.133
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|