tencentcloud-sdk-python-cynosdb 3.1.164__tar.gz → 3.1.169__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.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/setup.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +18 -0
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/tencentcloud/cynosdb/v20190107/models.py +132 -6
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/tencentcloud_sdk_python_cynosdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cynosdb-3.1.169/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cynosdb-3.1.164/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/README.rst +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/tencentcloud/cynosdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/tencentcloud/cynosdb/v20190107/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/tencentcloud/cynosdb/v20190107/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/tencentcloud_sdk_python_cynosdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/tencentcloud_sdk_python_cynosdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/tencentcloud_sdk_python_cynosdb.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/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.169
|
|
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.169
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/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.169,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cynosdb SDK for Python',
|
|
@@ -3867,6 +3867,29 @@ class CynosdbClient(AbstractClient):
|
|
|
3867
3867
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3868
3868
|
|
|
3869
3869
|
|
|
3870
|
+
def ModifyClusterLevel(self, request):
|
|
3871
|
+
r"""修改集群级别
|
|
3872
|
+
|
|
3873
|
+
:param request: Request instance for ModifyClusterLevel.
|
|
3874
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ModifyClusterLevelRequest`
|
|
3875
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ModifyClusterLevelResponse`
|
|
3876
|
+
|
|
3877
|
+
"""
|
|
3878
|
+
try:
|
|
3879
|
+
params = request._serialize()
|
|
3880
|
+
headers = request.headers
|
|
3881
|
+
body = self.call("ModifyClusterLevel", params, headers=headers)
|
|
3882
|
+
response = json.loads(body)
|
|
3883
|
+
model = models.ModifyClusterLevelResponse()
|
|
3884
|
+
model._deserialize(response["Response"])
|
|
3885
|
+
return model
|
|
3886
|
+
except Exception as e:
|
|
3887
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3888
|
+
raise
|
|
3889
|
+
else:
|
|
3890
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3891
|
+
|
|
3892
|
+
|
|
3870
3893
|
def ModifyClusterName(self, request):
|
|
3871
3894
|
r"""本接口(ModifyClusterName)用于修改集群名称。
|
|
3872
3895
|
|
|
@@ -3031,6 +3031,24 @@ class CynosdbClient(AbstractClient):
|
|
|
3031
3031
|
|
|
3032
3032
|
return await self.call_and_deserialize(**kwargs)
|
|
3033
3033
|
|
|
3034
|
+
async def ModifyClusterLevel(
|
|
3035
|
+
self,
|
|
3036
|
+
request: models.ModifyClusterLevelRequest,
|
|
3037
|
+
opts: Dict = None,
|
|
3038
|
+
) -> models.ModifyClusterLevelResponse:
|
|
3039
|
+
"""
|
|
3040
|
+
修改集群级别
|
|
3041
|
+
"""
|
|
3042
|
+
|
|
3043
|
+
kwargs = {}
|
|
3044
|
+
kwargs["action"] = "ModifyClusterLevel"
|
|
3045
|
+
kwargs["params"] = request._serialize()
|
|
3046
|
+
kwargs["resp_cls"] = models.ModifyClusterLevelResponse
|
|
3047
|
+
kwargs["headers"] = request.headers
|
|
3048
|
+
kwargs["opts"] = opts or {}
|
|
3049
|
+
|
|
3050
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3051
|
+
|
|
3034
3052
|
async def ModifyClusterName(
|
|
3035
3053
|
self,
|
|
3036
3054
|
request: models.ModifyClusterNameRequest,
|
|
@@ -17520,11 +17520,25 @@ class DeleteAccountsResponse(AbstractModel):
|
|
|
17520
17520
|
|
|
17521
17521
|
def __init__(self):
|
|
17522
17522
|
r"""
|
|
17523
|
+
:param _TaskId: <p>任务 ID</p>
|
|
17524
|
+
:type TaskId: int
|
|
17523
17525
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17524
17526
|
:type RequestId: str
|
|
17525
17527
|
"""
|
|
17528
|
+
self._TaskId = None
|
|
17526
17529
|
self._RequestId = None
|
|
17527
17530
|
|
|
17531
|
+
@property
|
|
17532
|
+
def TaskId(self):
|
|
17533
|
+
r"""<p>任务 ID</p>
|
|
17534
|
+
:rtype: int
|
|
17535
|
+
"""
|
|
17536
|
+
return self._TaskId
|
|
17537
|
+
|
|
17538
|
+
@TaskId.setter
|
|
17539
|
+
def TaskId(self, TaskId):
|
|
17540
|
+
self._TaskId = TaskId
|
|
17541
|
+
|
|
17528
17542
|
@property
|
|
17529
17543
|
def RequestId(self):
|
|
17530
17544
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -17538,6 +17552,7 @@ class DeleteAccountsResponse(AbstractModel):
|
|
|
17538
17552
|
|
|
17539
17553
|
|
|
17540
17554
|
def _deserialize(self, params):
|
|
17555
|
+
self._TaskId = params.get("TaskId")
|
|
17541
17556
|
self._RequestId = params.get("RequestId")
|
|
17542
17557
|
|
|
17543
17558
|
|
|
@@ -18872,11 +18887,11 @@ class DescribeAccountPrivilegesRequest(AbstractModel):
|
|
|
18872
18887
|
:type AccountName: str
|
|
18873
18888
|
:param _Host: 主机
|
|
18874
18889
|
:type Host: str
|
|
18875
|
-
:param _Db:
|
|
18890
|
+
:param _Db: 数据库名。为*时,忽略Type/TableName,表示查询用户全局权限;不传时默认为*。
|
|
18876
18891
|
:type Db: str
|
|
18877
|
-
:param _Type: 指定数据库下的对象类型,可选"table"
|
|
18892
|
+
:param _Type: 指定数据库下的对象类型,可选"table"、"*"。不传时默认为*;Type为table时,必须指定TableName。
|
|
18878
18893
|
:type Type: str
|
|
18879
|
-
:param _TableName: 当Type="table"
|
|
18894
|
+
:param _TableName: 当Type="table"时,用来指定表名;Type为table时必填。
|
|
18880
18895
|
:type TableName: str
|
|
18881
18896
|
"""
|
|
18882
18897
|
self._ClusterId = None
|
|
@@ -18921,7 +18936,7 @@ class DescribeAccountPrivilegesRequest(AbstractModel):
|
|
|
18921
18936
|
|
|
18922
18937
|
@property
|
|
18923
18938
|
def Db(self):
|
|
18924
|
-
r"""
|
|
18939
|
+
r"""数据库名。为*时,忽略Type/TableName,表示查询用户全局权限;不传时默认为*。
|
|
18925
18940
|
:rtype: str
|
|
18926
18941
|
"""
|
|
18927
18942
|
return self._Db
|
|
@@ -18932,7 +18947,7 @@ class DescribeAccountPrivilegesRequest(AbstractModel):
|
|
|
18932
18947
|
|
|
18933
18948
|
@property
|
|
18934
18949
|
def Type(self):
|
|
18935
|
-
r"""指定数据库下的对象类型,可选"table"
|
|
18950
|
+
r"""指定数据库下的对象类型,可选"table"、"*"。不传时默认为*;Type为table时,必须指定TableName。
|
|
18936
18951
|
:rtype: str
|
|
18937
18952
|
"""
|
|
18938
18953
|
return self._Type
|
|
@@ -18943,7 +18958,7 @@ class DescribeAccountPrivilegesRequest(AbstractModel):
|
|
|
18943
18958
|
|
|
18944
18959
|
@property
|
|
18945
18960
|
def TableName(self):
|
|
18946
|
-
r"""当Type="table"
|
|
18961
|
+
r"""当Type="table"时,用来指定表名;Type为table时必填。
|
|
18947
18962
|
:rtype: str
|
|
18948
18963
|
"""
|
|
18949
18964
|
return self._TableName
|
|
@@ -42918,6 +42933,100 @@ class ModifyClusterGlobalEncryptionResponse(AbstractModel):
|
|
|
42918
42933
|
self._RequestId = params.get("RequestId")
|
|
42919
42934
|
|
|
42920
42935
|
|
|
42936
|
+
class ModifyClusterLevelRequest(AbstractModel):
|
|
42937
|
+
r"""ModifyClusterLevel请求参数结构体
|
|
42938
|
+
|
|
42939
|
+
"""
|
|
42940
|
+
|
|
42941
|
+
def __init__(self):
|
|
42942
|
+
r"""
|
|
42943
|
+
:param _ClusterId: <p>集群ID</p>
|
|
42944
|
+
:type ClusterId: str
|
|
42945
|
+
:param _ClusterLevel: <p>集群级别</p>
|
|
42946
|
+
:type ClusterLevel: str
|
|
42947
|
+
"""
|
|
42948
|
+
self._ClusterId = None
|
|
42949
|
+
self._ClusterLevel = None
|
|
42950
|
+
|
|
42951
|
+
@property
|
|
42952
|
+
def ClusterId(self):
|
|
42953
|
+
r"""<p>集群ID</p>
|
|
42954
|
+
:rtype: str
|
|
42955
|
+
"""
|
|
42956
|
+
return self._ClusterId
|
|
42957
|
+
|
|
42958
|
+
@ClusterId.setter
|
|
42959
|
+
def ClusterId(self, ClusterId):
|
|
42960
|
+
self._ClusterId = ClusterId
|
|
42961
|
+
|
|
42962
|
+
@property
|
|
42963
|
+
def ClusterLevel(self):
|
|
42964
|
+
r"""<p>集群级别</p>
|
|
42965
|
+
:rtype: str
|
|
42966
|
+
"""
|
|
42967
|
+
return self._ClusterLevel
|
|
42968
|
+
|
|
42969
|
+
@ClusterLevel.setter
|
|
42970
|
+
def ClusterLevel(self, ClusterLevel):
|
|
42971
|
+
self._ClusterLevel = ClusterLevel
|
|
42972
|
+
|
|
42973
|
+
|
|
42974
|
+
def _deserialize(self, params):
|
|
42975
|
+
self._ClusterId = params.get("ClusterId")
|
|
42976
|
+
self._ClusterLevel = params.get("ClusterLevel")
|
|
42977
|
+
memeber_set = set(params.keys())
|
|
42978
|
+
for name, value in vars(self).items():
|
|
42979
|
+
property_name = name[1:]
|
|
42980
|
+
if property_name in memeber_set:
|
|
42981
|
+
memeber_set.remove(property_name)
|
|
42982
|
+
if len(memeber_set) > 0:
|
|
42983
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42984
|
+
|
|
42985
|
+
|
|
42986
|
+
|
|
42987
|
+
class ModifyClusterLevelResponse(AbstractModel):
|
|
42988
|
+
r"""ModifyClusterLevel返回参数结构体
|
|
42989
|
+
|
|
42990
|
+
"""
|
|
42991
|
+
|
|
42992
|
+
def __init__(self):
|
|
42993
|
+
r"""
|
|
42994
|
+
:param _TaskId: <p>任务ID</p>
|
|
42995
|
+
:type TaskId: int
|
|
42996
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
42997
|
+
:type RequestId: str
|
|
42998
|
+
"""
|
|
42999
|
+
self._TaskId = None
|
|
43000
|
+
self._RequestId = None
|
|
43001
|
+
|
|
43002
|
+
@property
|
|
43003
|
+
def TaskId(self):
|
|
43004
|
+
r"""<p>任务ID</p>
|
|
43005
|
+
:rtype: int
|
|
43006
|
+
"""
|
|
43007
|
+
return self._TaskId
|
|
43008
|
+
|
|
43009
|
+
@TaskId.setter
|
|
43010
|
+
def TaskId(self, TaskId):
|
|
43011
|
+
self._TaskId = TaskId
|
|
43012
|
+
|
|
43013
|
+
@property
|
|
43014
|
+
def RequestId(self):
|
|
43015
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
43016
|
+
:rtype: str
|
|
43017
|
+
"""
|
|
43018
|
+
return self._RequestId
|
|
43019
|
+
|
|
43020
|
+
@RequestId.setter
|
|
43021
|
+
def RequestId(self, RequestId):
|
|
43022
|
+
self._RequestId = RequestId
|
|
43023
|
+
|
|
43024
|
+
|
|
43025
|
+
def _deserialize(self, params):
|
|
43026
|
+
self._TaskId = params.get("TaskId")
|
|
43027
|
+
self._RequestId = params.get("RequestId")
|
|
43028
|
+
|
|
43029
|
+
|
|
42921
43030
|
class ModifyClusterNameRequest(AbstractModel):
|
|
42922
43031
|
r"""ModifyClusterName请求参数结构体
|
|
42923
43032
|
|
|
@@ -49396,6 +49505,9 @@ class Package(AbstractModel):
|
|
|
49396
49505
|
:param _PackageType: 资源包类型
|
|
49397
49506
|
CCU-计算资源包,DISK-存储资源包
|
|
49398
49507
|
:type PackageType: str
|
|
49508
|
+
:param _PackageVersion: 资源包套餐版本
|
|
49509
|
+
base-基础,common-通用,enterprise-企业
|
|
49510
|
+
:type PackageVersion: str
|
|
49399
49511
|
:param _PackageRegion: 资源包使用地域
|
|
49400
49512
|
china-中国内地通用,overseas-港澳台及海外通用
|
|
49401
49513
|
:type PackageRegion: str
|
|
@@ -49426,6 +49538,7 @@ refund-已退费。
|
|
|
49426
49538
|
self._PackageId = None
|
|
49427
49539
|
self._PackageName = None
|
|
49428
49540
|
self._PackageType = None
|
|
49541
|
+
self._PackageVersion = None
|
|
49429
49542
|
self._PackageRegion = None
|
|
49430
49543
|
self._Status = None
|
|
49431
49544
|
self._PackageTotalSpec = None
|
|
@@ -49481,6 +49594,18 @@ CCU-计算资源包,DISK-存储资源包
|
|
|
49481
49594
|
def PackageType(self, PackageType):
|
|
49482
49595
|
self._PackageType = PackageType
|
|
49483
49596
|
|
|
49597
|
+
@property
|
|
49598
|
+
def PackageVersion(self):
|
|
49599
|
+
r"""资源包套餐版本
|
|
49600
|
+
base-基础,common-通用,enterprise-企业
|
|
49601
|
+
:rtype: str
|
|
49602
|
+
"""
|
|
49603
|
+
return self._PackageVersion
|
|
49604
|
+
|
|
49605
|
+
@PackageVersion.setter
|
|
49606
|
+
def PackageVersion(self, PackageVersion):
|
|
49607
|
+
self._PackageVersion = PackageVersion
|
|
49608
|
+
|
|
49484
49609
|
@property
|
|
49485
49610
|
def PackageRegion(self):
|
|
49486
49611
|
r"""资源包使用地域
|
|
@@ -49593,6 +49718,7 @@ refund-已退费。
|
|
|
49593
49718
|
self._PackageId = params.get("PackageId")
|
|
49594
49719
|
self._PackageName = params.get("PackageName")
|
|
49595
49720
|
self._PackageType = params.get("PackageType")
|
|
49721
|
+
self._PackageVersion = params.get("PackageVersion")
|
|
49596
49722
|
self._PackageRegion = params.get("PackageRegion")
|
|
49597
49723
|
self._Status = params.get("Status")
|
|
49598
49724
|
self._PackageTotalSpec = params.get("PackageTotalSpec")
|
|
@@ -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.169
|
|
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.169
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
tencentcloud_sdk_python_cynosdb-3.1.164/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.164
|
{tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_cynosdb-3.1.164 → tencentcloud_sdk_python_cynosdb-3.1.169}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|