tencentcloud-sdk-python-tcaplusdb 3.1.12__tar.gz → 3.1.104__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_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/setup.py +1 -1
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/tencentcloud/tcaplusdb/v20190823/models.py +24 -361
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/tencentcloud_sdk_python_tcaplusdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcaplusdb-3.1.104/tencentcloud_sdk_python_tcaplusdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcaplusdb-3.1.12/tencentcloud_sdk_python_tcaplusdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/README.rst +0 -0
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/tencentcloud/tcaplusdb/__init__.py +0 -0
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/tencentcloud/tcaplusdb/v20190823/__init__.py +0 -0
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/tencentcloud/tcaplusdb/v20190823/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/tencentcloud_sdk_python_tcaplusdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/tencentcloud_sdk_python_tcaplusdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/tencentcloud_sdk_python_tcaplusdb.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcaplusdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.104
|
|
4
4
|
Summary: Tencent Cloud Tcaplusdb 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.104
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tcaplusdb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.104,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcaplusdb SDK for Python',
|
|
@@ -1837,27 +1837,27 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1837
1837
|
|
|
1838
1838
|
def __init__(self):
|
|
1839
1839
|
r"""
|
|
1840
|
-
:param _IdlType:
|
|
1840
|
+
:param _IdlType: <p>集群数据描述语言类型,统一填<code>MIX</code></p><p>枚举值:</p><ul><li>MIX: 同时支持<code>PROTO</code>,<code>TDR</code>表</li></ul>
|
|
1841
1841
|
:type IdlType: str
|
|
1842
|
-
:param _ClusterName:
|
|
1842
|
+
:param _ClusterName: <p>集群名称,可使用中文或英文字符,最大长度32个字符</p>
|
|
1843
1843
|
:type ClusterName: str
|
|
1844
|
-
:param _VpcId:
|
|
1844
|
+
:param _VpcId: <p>集群所绑定的私有网络实例ID,形如:vpc-f49l6u0z</p>
|
|
1845
1845
|
:type VpcId: str
|
|
1846
|
-
:param _SubnetId:
|
|
1846
|
+
:param _SubnetId: <p>集群所绑定的子网实例ID,形如:subnet-pxir56ns</p>
|
|
1847
1847
|
:type SubnetId: str
|
|
1848
|
-
:param _Password:
|
|
1848
|
+
:param _Password: <p>集群访问密码,必须是a-zA-Z0-9的字符,且必须包含数字和大小写字母</p>
|
|
1849
1849
|
:type Password: str
|
|
1850
|
-
:param _ResourceTags:
|
|
1850
|
+
:param _ResourceTags: <p>集群标签列表</p>
|
|
1851
1851
|
:type ResourceTags: list of TagInfoUnit
|
|
1852
|
-
:param _Ipv6Enable:
|
|
1852
|
+
:param _Ipv6Enable: <p>集群是否开启IPv6功能</p>
|
|
1853
1853
|
:type Ipv6Enable: int
|
|
1854
|
-
:param _ServerList:
|
|
1854
|
+
:param _ServerList: <p>独占集群占用的svr机器</p>
|
|
1855
1855
|
:type ServerList: list of MachineInfo
|
|
1856
|
-
:param _ProxyList:
|
|
1856
|
+
:param _ProxyList: <p>独占集群占用的proxy机器</p>
|
|
1857
1857
|
:type ProxyList: list of MachineInfo
|
|
1858
|
-
:param _ClusterType:
|
|
1858
|
+
:param _ClusterType: <p>集群类型1共享2独占</p>
|
|
1859
1859
|
:type ClusterType: int
|
|
1860
|
-
:param _AuthType:
|
|
1860
|
+
:param _AuthType: <p>密码认证类型,0 静态认证, 1 签名认证</p>
|
|
1861
1861
|
:type AuthType: int
|
|
1862
1862
|
"""
|
|
1863
1863
|
self._IdlType = None
|
|
@@ -1874,7 +1874,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1874
1874
|
|
|
1875
1875
|
@property
|
|
1876
1876
|
def IdlType(self):
|
|
1877
|
-
r"""
|
|
1877
|
+
r"""<p>集群数据描述语言类型,统一填<code>MIX</code></p><p>枚举值:</p><ul><li>MIX: 同时支持<code>PROTO</code>,<code>TDR</code>表</li></ul>
|
|
1878
1878
|
:rtype: str
|
|
1879
1879
|
"""
|
|
1880
1880
|
return self._IdlType
|
|
@@ -1885,7 +1885,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1885
1885
|
|
|
1886
1886
|
@property
|
|
1887
1887
|
def ClusterName(self):
|
|
1888
|
-
r"""
|
|
1888
|
+
r"""<p>集群名称,可使用中文或英文字符,最大长度32个字符</p>
|
|
1889
1889
|
:rtype: str
|
|
1890
1890
|
"""
|
|
1891
1891
|
return self._ClusterName
|
|
@@ -1896,7 +1896,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1896
1896
|
|
|
1897
1897
|
@property
|
|
1898
1898
|
def VpcId(self):
|
|
1899
|
-
r"""
|
|
1899
|
+
r"""<p>集群所绑定的私有网络实例ID,形如:vpc-f49l6u0z</p>
|
|
1900
1900
|
:rtype: str
|
|
1901
1901
|
"""
|
|
1902
1902
|
return self._VpcId
|
|
@@ -1907,7 +1907,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1907
1907
|
|
|
1908
1908
|
@property
|
|
1909
1909
|
def SubnetId(self):
|
|
1910
|
-
r"""
|
|
1910
|
+
r"""<p>集群所绑定的子网实例ID,形如:subnet-pxir56ns</p>
|
|
1911
1911
|
:rtype: str
|
|
1912
1912
|
"""
|
|
1913
1913
|
return self._SubnetId
|
|
@@ -1918,7 +1918,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1918
1918
|
|
|
1919
1919
|
@property
|
|
1920
1920
|
def Password(self):
|
|
1921
|
-
r"""
|
|
1921
|
+
r"""<p>集群访问密码,必须是a-zA-Z0-9的字符,且必须包含数字和大小写字母</p>
|
|
1922
1922
|
:rtype: str
|
|
1923
1923
|
"""
|
|
1924
1924
|
return self._Password
|
|
@@ -1929,7 +1929,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1929
1929
|
|
|
1930
1930
|
@property
|
|
1931
1931
|
def ResourceTags(self):
|
|
1932
|
-
r"""
|
|
1932
|
+
r"""<p>集群标签列表</p>
|
|
1933
1933
|
:rtype: list of TagInfoUnit
|
|
1934
1934
|
"""
|
|
1935
1935
|
return self._ResourceTags
|
|
@@ -1940,7 +1940,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1940
1940
|
|
|
1941
1941
|
@property
|
|
1942
1942
|
def Ipv6Enable(self):
|
|
1943
|
-
r"""
|
|
1943
|
+
r"""<p>集群是否开启IPv6功能</p>
|
|
1944
1944
|
:rtype: int
|
|
1945
1945
|
"""
|
|
1946
1946
|
return self._Ipv6Enable
|
|
@@ -1951,7 +1951,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1951
1951
|
|
|
1952
1952
|
@property
|
|
1953
1953
|
def ServerList(self):
|
|
1954
|
-
r"""
|
|
1954
|
+
r"""<p>独占集群占用的svr机器</p>
|
|
1955
1955
|
:rtype: list of MachineInfo
|
|
1956
1956
|
"""
|
|
1957
1957
|
return self._ServerList
|
|
@@ -1962,7 +1962,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1962
1962
|
|
|
1963
1963
|
@property
|
|
1964
1964
|
def ProxyList(self):
|
|
1965
|
-
r"""
|
|
1965
|
+
r"""<p>独占集群占用的proxy机器</p>
|
|
1966
1966
|
:rtype: list of MachineInfo
|
|
1967
1967
|
"""
|
|
1968
1968
|
return self._ProxyList
|
|
@@ -1973,7 +1973,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1973
1973
|
|
|
1974
1974
|
@property
|
|
1975
1975
|
def ClusterType(self):
|
|
1976
|
-
r"""
|
|
1976
|
+
r"""<p>集群类型1共享2独占</p>
|
|
1977
1977
|
:rtype: int
|
|
1978
1978
|
"""
|
|
1979
1979
|
return self._ClusterType
|
|
@@ -1984,7 +1984,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
1984
1984
|
|
|
1985
1985
|
@property
|
|
1986
1986
|
def AuthType(self):
|
|
1987
|
-
r"""
|
|
1987
|
+
r"""<p>密码认证类型,0 静态认证, 1 签名认证</p>
|
|
1988
1988
|
:rtype: int
|
|
1989
1989
|
"""
|
|
1990
1990
|
return self._AuthType
|
|
@@ -2038,7 +2038,7 @@ class CreateClusterResponse(AbstractModel):
|
|
|
2038
2038
|
|
|
2039
2039
|
def __init__(self):
|
|
2040
2040
|
r"""
|
|
2041
|
-
:param _ClusterId:
|
|
2041
|
+
:param _ClusterId: <p>集群ID</p>
|
|
2042
2042
|
:type ClusterId: str
|
|
2043
2043
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2044
2044
|
:type RequestId: str
|
|
@@ -2048,7 +2048,7 @@ class CreateClusterResponse(AbstractModel):
|
|
|
2048
2048
|
|
|
2049
2049
|
@property
|
|
2050
2050
|
def ClusterId(self):
|
|
2051
|
-
r"""
|
|
2051
|
+
r"""<p>集群ID</p>
|
|
2052
2052
|
:rtype: str
|
|
2053
2053
|
"""
|
|
2054
2054
|
return self._ClusterId
|
|
@@ -8945,155 +8945,6 @@ class RegionInfo(AbstractModel):
|
|
|
8945
8945
|
|
|
8946
8946
|
|
|
8947
8947
|
|
|
8948
|
-
class RollbackTablesRequest(AbstractModel):
|
|
8949
|
-
r"""RollbackTables请求参数结构体
|
|
8950
|
-
|
|
8951
|
-
"""
|
|
8952
|
-
|
|
8953
|
-
def __init__(self):
|
|
8954
|
-
r"""
|
|
8955
|
-
:param _ClusterId: 待回档表格所在集群ID
|
|
8956
|
-
:type ClusterId: str
|
|
8957
|
-
:param _SelectedTables: 待回档表格列表
|
|
8958
|
-
:type SelectedTables: list of SelectedTableInfoNew
|
|
8959
|
-
:param _RollbackTime: 待回档时间
|
|
8960
|
-
:type RollbackTime: str
|
|
8961
|
-
:param _Mode: 回档模式,支持:`KEYS`
|
|
8962
|
-
:type Mode: str
|
|
8963
|
-
"""
|
|
8964
|
-
self._ClusterId = None
|
|
8965
|
-
self._SelectedTables = None
|
|
8966
|
-
self._RollbackTime = None
|
|
8967
|
-
self._Mode = None
|
|
8968
|
-
|
|
8969
|
-
@property
|
|
8970
|
-
def ClusterId(self):
|
|
8971
|
-
r"""待回档表格所在集群ID
|
|
8972
|
-
:rtype: str
|
|
8973
|
-
"""
|
|
8974
|
-
return self._ClusterId
|
|
8975
|
-
|
|
8976
|
-
@ClusterId.setter
|
|
8977
|
-
def ClusterId(self, ClusterId):
|
|
8978
|
-
self._ClusterId = ClusterId
|
|
8979
|
-
|
|
8980
|
-
@property
|
|
8981
|
-
def SelectedTables(self):
|
|
8982
|
-
r"""待回档表格列表
|
|
8983
|
-
:rtype: list of SelectedTableInfoNew
|
|
8984
|
-
"""
|
|
8985
|
-
return self._SelectedTables
|
|
8986
|
-
|
|
8987
|
-
@SelectedTables.setter
|
|
8988
|
-
def SelectedTables(self, SelectedTables):
|
|
8989
|
-
self._SelectedTables = SelectedTables
|
|
8990
|
-
|
|
8991
|
-
@property
|
|
8992
|
-
def RollbackTime(self):
|
|
8993
|
-
r"""待回档时间
|
|
8994
|
-
:rtype: str
|
|
8995
|
-
"""
|
|
8996
|
-
return self._RollbackTime
|
|
8997
|
-
|
|
8998
|
-
@RollbackTime.setter
|
|
8999
|
-
def RollbackTime(self, RollbackTime):
|
|
9000
|
-
self._RollbackTime = RollbackTime
|
|
9001
|
-
|
|
9002
|
-
@property
|
|
9003
|
-
def Mode(self):
|
|
9004
|
-
r"""回档模式,支持:`KEYS`
|
|
9005
|
-
:rtype: str
|
|
9006
|
-
"""
|
|
9007
|
-
return self._Mode
|
|
9008
|
-
|
|
9009
|
-
@Mode.setter
|
|
9010
|
-
def Mode(self, Mode):
|
|
9011
|
-
self._Mode = Mode
|
|
9012
|
-
|
|
9013
|
-
|
|
9014
|
-
def _deserialize(self, params):
|
|
9015
|
-
self._ClusterId = params.get("ClusterId")
|
|
9016
|
-
if params.get("SelectedTables") is not None:
|
|
9017
|
-
self._SelectedTables = []
|
|
9018
|
-
for item in params.get("SelectedTables"):
|
|
9019
|
-
obj = SelectedTableInfoNew()
|
|
9020
|
-
obj._deserialize(item)
|
|
9021
|
-
self._SelectedTables.append(obj)
|
|
9022
|
-
self._RollbackTime = params.get("RollbackTime")
|
|
9023
|
-
self._Mode = params.get("Mode")
|
|
9024
|
-
memeber_set = set(params.keys())
|
|
9025
|
-
for name, value in vars(self).items():
|
|
9026
|
-
property_name = name[1:]
|
|
9027
|
-
if property_name in memeber_set:
|
|
9028
|
-
memeber_set.remove(property_name)
|
|
9029
|
-
if len(memeber_set) > 0:
|
|
9030
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9034
|
-
class RollbackTablesResponse(AbstractModel):
|
|
9035
|
-
r"""RollbackTables返回参数结构体
|
|
9036
|
-
|
|
9037
|
-
"""
|
|
9038
|
-
|
|
9039
|
-
def __init__(self):
|
|
9040
|
-
r"""
|
|
9041
|
-
:param _TotalCount: 表格回档任务结果数量
|
|
9042
|
-
:type TotalCount: int
|
|
9043
|
-
:param _TableResults: 表格回档任务结果列表
|
|
9044
|
-
:type TableResults: list of TableRollbackResultNew
|
|
9045
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9046
|
-
:type RequestId: str
|
|
9047
|
-
"""
|
|
9048
|
-
self._TotalCount = None
|
|
9049
|
-
self._TableResults = None
|
|
9050
|
-
self._RequestId = None
|
|
9051
|
-
|
|
9052
|
-
@property
|
|
9053
|
-
def TotalCount(self):
|
|
9054
|
-
r"""表格回档任务结果数量
|
|
9055
|
-
:rtype: int
|
|
9056
|
-
"""
|
|
9057
|
-
return self._TotalCount
|
|
9058
|
-
|
|
9059
|
-
@TotalCount.setter
|
|
9060
|
-
def TotalCount(self, TotalCount):
|
|
9061
|
-
self._TotalCount = TotalCount
|
|
9062
|
-
|
|
9063
|
-
@property
|
|
9064
|
-
def TableResults(self):
|
|
9065
|
-
r"""表格回档任务结果列表
|
|
9066
|
-
:rtype: list of TableRollbackResultNew
|
|
9067
|
-
"""
|
|
9068
|
-
return self._TableResults
|
|
9069
|
-
|
|
9070
|
-
@TableResults.setter
|
|
9071
|
-
def TableResults(self, TableResults):
|
|
9072
|
-
self._TableResults = TableResults
|
|
9073
|
-
|
|
9074
|
-
@property
|
|
9075
|
-
def RequestId(self):
|
|
9076
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9077
|
-
:rtype: str
|
|
9078
|
-
"""
|
|
9079
|
-
return self._RequestId
|
|
9080
|
-
|
|
9081
|
-
@RequestId.setter
|
|
9082
|
-
def RequestId(self, RequestId):
|
|
9083
|
-
self._RequestId = RequestId
|
|
9084
|
-
|
|
9085
|
-
|
|
9086
|
-
def _deserialize(self, params):
|
|
9087
|
-
self._TotalCount = params.get("TotalCount")
|
|
9088
|
-
if params.get("TableResults") is not None:
|
|
9089
|
-
self._TableResults = []
|
|
9090
|
-
for item in params.get("TableResults"):
|
|
9091
|
-
obj = TableRollbackResultNew()
|
|
9092
|
-
obj._deserialize(item)
|
|
9093
|
-
self._TableResults.append(obj)
|
|
9094
|
-
self._RequestId = params.get("RequestId")
|
|
9095
|
-
|
|
9096
|
-
|
|
9097
8948
|
class SelectedTableInfoNew(AbstractModel):
|
|
9098
8949
|
r"""被选中的表信息
|
|
9099
8950
|
|
|
@@ -11393,194 +11244,6 @@ class TableResultNew(AbstractModel):
|
|
|
11393
11244
|
|
|
11394
11245
|
|
|
11395
11246
|
|
|
11396
|
-
class TableRollbackResultNew(AbstractModel):
|
|
11397
|
-
r"""表格回档结果信息
|
|
11398
|
-
|
|
11399
|
-
"""
|
|
11400
|
-
|
|
11401
|
-
def __init__(self):
|
|
11402
|
-
r"""
|
|
11403
|
-
:param _TableInstanceId: 表格实例ID,形如:tcaplus-3be64cbb
|
|
11404
|
-
:type TableInstanceId: str
|
|
11405
|
-
:param _TaskId: 任务ID,对于创建单任务的接口有效
|
|
11406
|
-
:type TaskId: str
|
|
11407
|
-
:param _TableName: 表格名称
|
|
11408
|
-
:type TableName: str
|
|
11409
|
-
:param _TableType: 表格数据结构类型,如:`GENERIC`或`LIST`
|
|
11410
|
-
:type TableType: str
|
|
11411
|
-
:param _TableIdlType: 表格数据描述语言(IDL)类型,如:`PROTO`或`TDR`
|
|
11412
|
-
:type TableIdlType: str
|
|
11413
|
-
:param _TableGroupId: 表格所属表格组ID
|
|
11414
|
-
:type TableGroupId: str
|
|
11415
|
-
:param _Error: 错误信息
|
|
11416
|
-
:type Error: :class:`tencentcloud.tcaplusdb.v20190823.models.ErrorInfo`
|
|
11417
|
-
:param _TaskIds: 任务ID列表,对于创建多任务的接口有效
|
|
11418
|
-
:type TaskIds: list of str
|
|
11419
|
-
:param _FileId: 上传的key文件ID
|
|
11420
|
-
:type FileId: str
|
|
11421
|
-
:param _SuccKeyNum: 校验成功Key数量
|
|
11422
|
-
:type SuccKeyNum: int
|
|
11423
|
-
:param _TotalKeyNum: Key文件中包含总的Key数量
|
|
11424
|
-
:type TotalKeyNum: int
|
|
11425
|
-
"""
|
|
11426
|
-
self._TableInstanceId = None
|
|
11427
|
-
self._TaskId = None
|
|
11428
|
-
self._TableName = None
|
|
11429
|
-
self._TableType = None
|
|
11430
|
-
self._TableIdlType = None
|
|
11431
|
-
self._TableGroupId = None
|
|
11432
|
-
self._Error = None
|
|
11433
|
-
self._TaskIds = None
|
|
11434
|
-
self._FileId = None
|
|
11435
|
-
self._SuccKeyNum = None
|
|
11436
|
-
self._TotalKeyNum = None
|
|
11437
|
-
|
|
11438
|
-
@property
|
|
11439
|
-
def TableInstanceId(self):
|
|
11440
|
-
r"""表格实例ID,形如:tcaplus-3be64cbb
|
|
11441
|
-
:rtype: str
|
|
11442
|
-
"""
|
|
11443
|
-
return self._TableInstanceId
|
|
11444
|
-
|
|
11445
|
-
@TableInstanceId.setter
|
|
11446
|
-
def TableInstanceId(self, TableInstanceId):
|
|
11447
|
-
self._TableInstanceId = TableInstanceId
|
|
11448
|
-
|
|
11449
|
-
@property
|
|
11450
|
-
def TaskId(self):
|
|
11451
|
-
r"""任务ID,对于创建单任务的接口有效
|
|
11452
|
-
:rtype: str
|
|
11453
|
-
"""
|
|
11454
|
-
return self._TaskId
|
|
11455
|
-
|
|
11456
|
-
@TaskId.setter
|
|
11457
|
-
def TaskId(self, TaskId):
|
|
11458
|
-
self._TaskId = TaskId
|
|
11459
|
-
|
|
11460
|
-
@property
|
|
11461
|
-
def TableName(self):
|
|
11462
|
-
r"""表格名称
|
|
11463
|
-
:rtype: str
|
|
11464
|
-
"""
|
|
11465
|
-
return self._TableName
|
|
11466
|
-
|
|
11467
|
-
@TableName.setter
|
|
11468
|
-
def TableName(self, TableName):
|
|
11469
|
-
self._TableName = TableName
|
|
11470
|
-
|
|
11471
|
-
@property
|
|
11472
|
-
def TableType(self):
|
|
11473
|
-
r"""表格数据结构类型,如:`GENERIC`或`LIST`
|
|
11474
|
-
:rtype: str
|
|
11475
|
-
"""
|
|
11476
|
-
return self._TableType
|
|
11477
|
-
|
|
11478
|
-
@TableType.setter
|
|
11479
|
-
def TableType(self, TableType):
|
|
11480
|
-
self._TableType = TableType
|
|
11481
|
-
|
|
11482
|
-
@property
|
|
11483
|
-
def TableIdlType(self):
|
|
11484
|
-
r"""表格数据描述语言(IDL)类型,如:`PROTO`或`TDR`
|
|
11485
|
-
:rtype: str
|
|
11486
|
-
"""
|
|
11487
|
-
return self._TableIdlType
|
|
11488
|
-
|
|
11489
|
-
@TableIdlType.setter
|
|
11490
|
-
def TableIdlType(self, TableIdlType):
|
|
11491
|
-
self._TableIdlType = TableIdlType
|
|
11492
|
-
|
|
11493
|
-
@property
|
|
11494
|
-
def TableGroupId(self):
|
|
11495
|
-
r"""表格所属表格组ID
|
|
11496
|
-
:rtype: str
|
|
11497
|
-
"""
|
|
11498
|
-
return self._TableGroupId
|
|
11499
|
-
|
|
11500
|
-
@TableGroupId.setter
|
|
11501
|
-
def TableGroupId(self, TableGroupId):
|
|
11502
|
-
self._TableGroupId = TableGroupId
|
|
11503
|
-
|
|
11504
|
-
@property
|
|
11505
|
-
def Error(self):
|
|
11506
|
-
r"""错误信息
|
|
11507
|
-
:rtype: :class:`tencentcloud.tcaplusdb.v20190823.models.ErrorInfo`
|
|
11508
|
-
"""
|
|
11509
|
-
return self._Error
|
|
11510
|
-
|
|
11511
|
-
@Error.setter
|
|
11512
|
-
def Error(self, Error):
|
|
11513
|
-
self._Error = Error
|
|
11514
|
-
|
|
11515
|
-
@property
|
|
11516
|
-
def TaskIds(self):
|
|
11517
|
-
r"""任务ID列表,对于创建多任务的接口有效
|
|
11518
|
-
:rtype: list of str
|
|
11519
|
-
"""
|
|
11520
|
-
return self._TaskIds
|
|
11521
|
-
|
|
11522
|
-
@TaskIds.setter
|
|
11523
|
-
def TaskIds(self, TaskIds):
|
|
11524
|
-
self._TaskIds = TaskIds
|
|
11525
|
-
|
|
11526
|
-
@property
|
|
11527
|
-
def FileId(self):
|
|
11528
|
-
r"""上传的key文件ID
|
|
11529
|
-
:rtype: str
|
|
11530
|
-
"""
|
|
11531
|
-
return self._FileId
|
|
11532
|
-
|
|
11533
|
-
@FileId.setter
|
|
11534
|
-
def FileId(self, FileId):
|
|
11535
|
-
self._FileId = FileId
|
|
11536
|
-
|
|
11537
|
-
@property
|
|
11538
|
-
def SuccKeyNum(self):
|
|
11539
|
-
r"""校验成功Key数量
|
|
11540
|
-
:rtype: int
|
|
11541
|
-
"""
|
|
11542
|
-
return self._SuccKeyNum
|
|
11543
|
-
|
|
11544
|
-
@SuccKeyNum.setter
|
|
11545
|
-
def SuccKeyNum(self, SuccKeyNum):
|
|
11546
|
-
self._SuccKeyNum = SuccKeyNum
|
|
11547
|
-
|
|
11548
|
-
@property
|
|
11549
|
-
def TotalKeyNum(self):
|
|
11550
|
-
r"""Key文件中包含总的Key数量
|
|
11551
|
-
:rtype: int
|
|
11552
|
-
"""
|
|
11553
|
-
return self._TotalKeyNum
|
|
11554
|
-
|
|
11555
|
-
@TotalKeyNum.setter
|
|
11556
|
-
def TotalKeyNum(self, TotalKeyNum):
|
|
11557
|
-
self._TotalKeyNum = TotalKeyNum
|
|
11558
|
-
|
|
11559
|
-
|
|
11560
|
-
def _deserialize(self, params):
|
|
11561
|
-
self._TableInstanceId = params.get("TableInstanceId")
|
|
11562
|
-
self._TaskId = params.get("TaskId")
|
|
11563
|
-
self._TableName = params.get("TableName")
|
|
11564
|
-
self._TableType = params.get("TableType")
|
|
11565
|
-
self._TableIdlType = params.get("TableIdlType")
|
|
11566
|
-
self._TableGroupId = params.get("TableGroupId")
|
|
11567
|
-
if params.get("Error") is not None:
|
|
11568
|
-
self._Error = ErrorInfo()
|
|
11569
|
-
self._Error._deserialize(params.get("Error"))
|
|
11570
|
-
self._TaskIds = params.get("TaskIds")
|
|
11571
|
-
self._FileId = params.get("FileId")
|
|
11572
|
-
self._SuccKeyNum = params.get("SuccKeyNum")
|
|
11573
|
-
self._TotalKeyNum = params.get("TotalKeyNum")
|
|
11574
|
-
memeber_set = set(params.keys())
|
|
11575
|
-
for name, value in vars(self).items():
|
|
11576
|
-
property_name = name[1:]
|
|
11577
|
-
if property_name in memeber_set:
|
|
11578
|
-
memeber_set.remove(property_name)
|
|
11579
|
-
if len(memeber_set) > 0:
|
|
11580
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11581
|
-
|
|
11582
|
-
|
|
11583
|
-
|
|
11584
11247
|
class TagInfoUnit(AbstractModel):
|
|
11585
11248
|
r"""标签信息单元
|
|
11586
11249
|
|
|
@@ -1111,31 +1111,6 @@ class TcaplusdbClient(AbstractClient):
|
|
|
1111
1111
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1112
1112
|
|
|
1113
1113
|
|
|
1114
|
-
def RollbackTables(self, request):
|
|
1115
|
-
r"""不再使用
|
|
1116
|
-
|
|
1117
|
-
表格数据回档
|
|
1118
|
-
|
|
1119
|
-
:param request: Request instance for RollbackTables.
|
|
1120
|
-
:type request: :class:`tencentcloud.tcaplusdb.v20190823.models.RollbackTablesRequest`
|
|
1121
|
-
:rtype: :class:`tencentcloud.tcaplusdb.v20190823.models.RollbackTablesResponse`
|
|
1122
|
-
|
|
1123
|
-
"""
|
|
1124
|
-
try:
|
|
1125
|
-
params = request._serialize()
|
|
1126
|
-
headers = request.headers
|
|
1127
|
-
body = self.call("RollbackTables", params, headers=headers)
|
|
1128
|
-
response = json.loads(body)
|
|
1129
|
-
model = models.RollbackTablesResponse()
|
|
1130
|
-
model._deserialize(response["Response"])
|
|
1131
|
-
return model
|
|
1132
|
-
except Exception as e:
|
|
1133
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1134
|
-
raise
|
|
1135
|
-
else:
|
|
1136
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
1114
|
def SetBackupExpireRule(self, request):
|
|
1140
1115
|
r"""新增、删除、修改备份过期策略, ClusterId必须为具体的集群Id(appid)
|
|
1141
1116
|
|
|
@@ -875,26 +875,6 @@ class TcaplusdbClient(AbstractClient):
|
|
|
875
875
|
|
|
876
876
|
return await self.call_and_deserialize(**kwargs)
|
|
877
877
|
|
|
878
|
-
async def RollbackTables(
|
|
879
|
-
self,
|
|
880
|
-
request: models.RollbackTablesRequest,
|
|
881
|
-
opts: Dict = None,
|
|
882
|
-
) -> models.RollbackTablesResponse:
|
|
883
|
-
"""
|
|
884
|
-
不再使用
|
|
885
|
-
|
|
886
|
-
表格数据回档
|
|
887
|
-
"""
|
|
888
|
-
|
|
889
|
-
kwargs = {}
|
|
890
|
-
kwargs["action"] = "RollbackTables"
|
|
891
|
-
kwargs["params"] = request._serialize()
|
|
892
|
-
kwargs["resp_cls"] = models.RollbackTablesResponse
|
|
893
|
-
kwargs["headers"] = request.headers
|
|
894
|
-
kwargs["opts"] = opts or {}
|
|
895
|
-
|
|
896
|
-
return await self.call_and_deserialize(**kwargs)
|
|
897
|
-
|
|
898
878
|
async def SetBackupExpireRule(
|
|
899
879
|
self,
|
|
900
880
|
request: models.SetBackupExpireRuleRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcaplusdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.104
|
|
4
4
|
Summary: Tencent Cloud Tcaplusdb 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.104
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
tencentcloud_sdk_python_tcaplusdb-3.1.104/tencentcloud_sdk_python_tcaplusdb.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.104
|
tencentcloud_sdk_python_tcaplusdb-3.1.12/tencentcloud_sdk_python_tcaplusdb.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.12
|
{tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_tcaplusdb-3.1.12 → tencentcloud_sdk_python_tcaplusdb-3.1.104}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|