tencentcloud-sdk-python-cynosdb 3.1.161__tar.gz → 3.1.163__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_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/setup.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +18 -0
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/tencentcloud/cynosdb/v20190107/models.py +144 -0
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/tencentcloud_sdk_python_cynosdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cynosdb-3.1.163/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cynosdb-3.1.161/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/README.rst +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/tencentcloud/cynosdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/tencentcloud/cynosdb/v20190107/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/tencentcloud/cynosdb/v20190107/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/tencentcloud_sdk_python_cynosdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/tencentcloud_sdk_python_cynosdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/tencentcloud_sdk_python_cynosdb.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cynosdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.163
|
|
4
4
|
Summary: Tencent Cloud Cynosdb 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.163
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cynosdb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.163,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cynosdb SDK for Python',
|
|
@@ -1958,6 +1958,29 @@ class CynosdbClient(AbstractClient):
|
|
|
1958
1958
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1959
1959
|
|
|
1960
1960
|
|
|
1961
|
+
def DescribeClusterStorageAutoExpand(self, request):
|
|
1962
|
+
r"""本接口(DescribeClusterStorageAutoExpand)用于查询自动库容配置。
|
|
1963
|
+
|
|
1964
|
+
:param request: Request instance for DescribeClusterStorageAutoExpand.
|
|
1965
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterStorageAutoExpandRequest`
|
|
1966
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterStorageAutoExpandResponse`
|
|
1967
|
+
|
|
1968
|
+
"""
|
|
1969
|
+
try:
|
|
1970
|
+
params = request._serialize()
|
|
1971
|
+
headers = request.headers
|
|
1972
|
+
body = self.call("DescribeClusterStorageAutoExpand", params, headers=headers)
|
|
1973
|
+
response = json.loads(body)
|
|
1974
|
+
model = models.DescribeClusterStorageAutoExpandResponse()
|
|
1975
|
+
model._deserialize(response["Response"])
|
|
1976
|
+
return model
|
|
1977
|
+
except Exception as e:
|
|
1978
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1979
|
+
raise
|
|
1980
|
+
else:
|
|
1981
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1982
|
+
|
|
1983
|
+
|
|
1961
1984
|
def DescribeClusterTransparentEncryptInfo(self, request):
|
|
1962
1985
|
r"""查询集群透明加密信息
|
|
1963
1986
|
|
|
@@ -1537,6 +1537,24 @@ class CynosdbClient(AbstractClient):
|
|
|
1537
1537
|
|
|
1538
1538
|
return await self.call_and_deserialize(**kwargs)
|
|
1539
1539
|
|
|
1540
|
+
async def DescribeClusterStorageAutoExpand(
|
|
1541
|
+
self,
|
|
1542
|
+
request: models.DescribeClusterStorageAutoExpandRequest,
|
|
1543
|
+
opts: Dict = None,
|
|
1544
|
+
) -> models.DescribeClusterStorageAutoExpandResponse:
|
|
1545
|
+
"""
|
|
1546
|
+
本接口(DescribeClusterStorageAutoExpand)用于查询自动库容配置。
|
|
1547
|
+
"""
|
|
1548
|
+
|
|
1549
|
+
kwargs = {}
|
|
1550
|
+
kwargs["action"] = "DescribeClusterStorageAutoExpand"
|
|
1551
|
+
kwargs["params"] = request._serialize()
|
|
1552
|
+
kwargs["resp_cls"] = models.DescribeClusterStorageAutoExpandResponse
|
|
1553
|
+
kwargs["headers"] = request.headers
|
|
1554
|
+
kwargs["opts"] = opts or {}
|
|
1555
|
+
|
|
1556
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1557
|
+
|
|
1540
1558
|
async def DescribeClusterTransparentEncryptInfo(
|
|
1541
1559
|
self,
|
|
1542
1560
|
request: models.DescribeClusterTransparentEncryptInfoRequest,
|
|
@@ -3678,6 +3678,8 @@ class BackupFileInfo(AbstractModel):
|
|
|
3678
3678
|
:type SnapShotType: str
|
|
3679
3679
|
:param _BackupName: <p>备份文件备注</p>
|
|
3680
3680
|
:type BackupName: str
|
|
3681
|
+
:param _ExistRegions: <p>备份文件所在地域</p>
|
|
3682
|
+
:type ExistRegions: list of BackupRegionAndIds
|
|
3681
3683
|
:param _CopyStatus: <p>投递状态</p>
|
|
3682
3684
|
:type CopyStatus: str
|
|
3683
3685
|
:param _EncryptKeyId: <p>秘钥id</p>
|
|
@@ -3701,6 +3703,7 @@ class BackupFileInfo(AbstractModel):
|
|
|
3701
3703
|
self._BackupId = None
|
|
3702
3704
|
self._SnapShotType = None
|
|
3703
3705
|
self._BackupName = None
|
|
3706
|
+
self._ExistRegions = None
|
|
3704
3707
|
self._CopyStatus = None
|
|
3705
3708
|
self._EncryptKeyId = None
|
|
3706
3709
|
self._EncryptRegion = None
|
|
@@ -3839,6 +3842,17 @@ class BackupFileInfo(AbstractModel):
|
|
|
3839
3842
|
def BackupName(self, BackupName):
|
|
3840
3843
|
self._BackupName = BackupName
|
|
3841
3844
|
|
|
3845
|
+
@property
|
|
3846
|
+
def ExistRegions(self):
|
|
3847
|
+
r"""<p>备份文件所在地域</p>
|
|
3848
|
+
:rtype: list of BackupRegionAndIds
|
|
3849
|
+
"""
|
|
3850
|
+
return self._ExistRegions
|
|
3851
|
+
|
|
3852
|
+
@ExistRegions.setter
|
|
3853
|
+
def ExistRegions(self, ExistRegions):
|
|
3854
|
+
self._ExistRegions = ExistRegions
|
|
3855
|
+
|
|
3842
3856
|
@property
|
|
3843
3857
|
def CopyStatus(self):
|
|
3844
3858
|
r"""<p>投递状态</p>
|
|
@@ -3908,6 +3922,12 @@ class BackupFileInfo(AbstractModel):
|
|
|
3908
3922
|
self._BackupId = params.get("BackupId")
|
|
3909
3923
|
self._SnapShotType = params.get("SnapShotType")
|
|
3910
3924
|
self._BackupName = params.get("BackupName")
|
|
3925
|
+
if params.get("ExistRegions") is not None:
|
|
3926
|
+
self._ExistRegions = []
|
|
3927
|
+
for item in params.get("ExistRegions"):
|
|
3928
|
+
obj = BackupRegionAndIds()
|
|
3929
|
+
obj._deserialize(item)
|
|
3930
|
+
self._ExistRegions.append(obj)
|
|
3911
3931
|
self._CopyStatus = params.get("CopyStatus")
|
|
3912
3932
|
self._EncryptKeyId = params.get("EncryptKeyId")
|
|
3913
3933
|
self._EncryptRegion = params.get("EncryptRegion")
|
|
@@ -24026,6 +24046,130 @@ class DescribeClusterServerlessScalePlansResponse(AbstractModel):
|
|
|
24026
24046
|
self._RequestId = params.get("RequestId")
|
|
24027
24047
|
|
|
24028
24048
|
|
|
24049
|
+
class DescribeClusterStorageAutoExpandRequest(AbstractModel):
|
|
24050
|
+
r"""DescribeClusterStorageAutoExpand请求参数结构体
|
|
24051
|
+
|
|
24052
|
+
"""
|
|
24053
|
+
|
|
24054
|
+
def __init__(self):
|
|
24055
|
+
r"""
|
|
24056
|
+
:param _ClusterId: <p>集群ID</p>
|
|
24057
|
+
:type ClusterId: str
|
|
24058
|
+
"""
|
|
24059
|
+
self._ClusterId = None
|
|
24060
|
+
|
|
24061
|
+
@property
|
|
24062
|
+
def ClusterId(self):
|
|
24063
|
+
r"""<p>集群ID</p>
|
|
24064
|
+
:rtype: str
|
|
24065
|
+
"""
|
|
24066
|
+
return self._ClusterId
|
|
24067
|
+
|
|
24068
|
+
@ClusterId.setter
|
|
24069
|
+
def ClusterId(self, ClusterId):
|
|
24070
|
+
self._ClusterId = ClusterId
|
|
24071
|
+
|
|
24072
|
+
|
|
24073
|
+
def _deserialize(self, params):
|
|
24074
|
+
self._ClusterId = params.get("ClusterId")
|
|
24075
|
+
memeber_set = set(params.keys())
|
|
24076
|
+
for name, value in vars(self).items():
|
|
24077
|
+
property_name = name[1:]
|
|
24078
|
+
if property_name in memeber_set:
|
|
24079
|
+
memeber_set.remove(property_name)
|
|
24080
|
+
if len(memeber_set) > 0:
|
|
24081
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
24082
|
+
|
|
24083
|
+
|
|
24084
|
+
|
|
24085
|
+
class DescribeClusterStorageAutoExpandResponse(AbstractModel):
|
|
24086
|
+
r"""DescribeClusterStorageAutoExpand返回参数结构体
|
|
24087
|
+
|
|
24088
|
+
"""
|
|
24089
|
+
|
|
24090
|
+
def __init__(self):
|
|
24091
|
+
r"""
|
|
24092
|
+
:param _StorageUsageThreshold: <p>存储使用率阈值</p>
|
|
24093
|
+
:type StorageUsageThreshold: int
|
|
24094
|
+
:param _ExpandStep: <p>扩容步长</p>
|
|
24095
|
+
:type ExpandStep: int
|
|
24096
|
+
:param _MaxStorageLimit: <p>最大存储上限</p>
|
|
24097
|
+
:type MaxStorageLimit: int
|
|
24098
|
+
:param _StorageAutoExpand: <p>是否开启:yes-开启,no-关闭</p>
|
|
24099
|
+
:type StorageAutoExpand: str
|
|
24100
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24101
|
+
:type RequestId: str
|
|
24102
|
+
"""
|
|
24103
|
+
self._StorageUsageThreshold = None
|
|
24104
|
+
self._ExpandStep = None
|
|
24105
|
+
self._MaxStorageLimit = None
|
|
24106
|
+
self._StorageAutoExpand = None
|
|
24107
|
+
self._RequestId = None
|
|
24108
|
+
|
|
24109
|
+
@property
|
|
24110
|
+
def StorageUsageThreshold(self):
|
|
24111
|
+
r"""<p>存储使用率阈值</p>
|
|
24112
|
+
:rtype: int
|
|
24113
|
+
"""
|
|
24114
|
+
return self._StorageUsageThreshold
|
|
24115
|
+
|
|
24116
|
+
@StorageUsageThreshold.setter
|
|
24117
|
+
def StorageUsageThreshold(self, StorageUsageThreshold):
|
|
24118
|
+
self._StorageUsageThreshold = StorageUsageThreshold
|
|
24119
|
+
|
|
24120
|
+
@property
|
|
24121
|
+
def ExpandStep(self):
|
|
24122
|
+
r"""<p>扩容步长</p>
|
|
24123
|
+
:rtype: int
|
|
24124
|
+
"""
|
|
24125
|
+
return self._ExpandStep
|
|
24126
|
+
|
|
24127
|
+
@ExpandStep.setter
|
|
24128
|
+
def ExpandStep(self, ExpandStep):
|
|
24129
|
+
self._ExpandStep = ExpandStep
|
|
24130
|
+
|
|
24131
|
+
@property
|
|
24132
|
+
def MaxStorageLimit(self):
|
|
24133
|
+
r"""<p>最大存储上限</p>
|
|
24134
|
+
:rtype: int
|
|
24135
|
+
"""
|
|
24136
|
+
return self._MaxStorageLimit
|
|
24137
|
+
|
|
24138
|
+
@MaxStorageLimit.setter
|
|
24139
|
+
def MaxStorageLimit(self, MaxStorageLimit):
|
|
24140
|
+
self._MaxStorageLimit = MaxStorageLimit
|
|
24141
|
+
|
|
24142
|
+
@property
|
|
24143
|
+
def StorageAutoExpand(self):
|
|
24144
|
+
r"""<p>是否开启:yes-开启,no-关闭</p>
|
|
24145
|
+
:rtype: str
|
|
24146
|
+
"""
|
|
24147
|
+
return self._StorageAutoExpand
|
|
24148
|
+
|
|
24149
|
+
@StorageAutoExpand.setter
|
|
24150
|
+
def StorageAutoExpand(self, StorageAutoExpand):
|
|
24151
|
+
self._StorageAutoExpand = StorageAutoExpand
|
|
24152
|
+
|
|
24153
|
+
@property
|
|
24154
|
+
def RequestId(self):
|
|
24155
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24156
|
+
:rtype: str
|
|
24157
|
+
"""
|
|
24158
|
+
return self._RequestId
|
|
24159
|
+
|
|
24160
|
+
@RequestId.setter
|
|
24161
|
+
def RequestId(self, RequestId):
|
|
24162
|
+
self._RequestId = RequestId
|
|
24163
|
+
|
|
24164
|
+
|
|
24165
|
+
def _deserialize(self, params):
|
|
24166
|
+
self._StorageUsageThreshold = params.get("StorageUsageThreshold")
|
|
24167
|
+
self._ExpandStep = params.get("ExpandStep")
|
|
24168
|
+
self._MaxStorageLimit = params.get("MaxStorageLimit")
|
|
24169
|
+
self._StorageAutoExpand = params.get("StorageAutoExpand")
|
|
24170
|
+
self._RequestId = params.get("RequestId")
|
|
24171
|
+
|
|
24172
|
+
|
|
24029
24173
|
class DescribeClusterTransparentEncryptInfoRequest(AbstractModel):
|
|
24030
24174
|
r"""DescribeClusterTransparentEncryptInfo请求参数结构体
|
|
24031
24175
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cynosdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.163
|
|
4
4
|
Summary: Tencent Cloud Cynosdb 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.163
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.163
|
tencentcloud_sdk_python_cynosdb-3.1.161/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.161
|
{tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_cynosdb-3.1.161 → tencentcloud_sdk_python_cynosdb-3.1.163}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|