tencentcloud-sdk-python-tcaplusdb 3.0.1459__tar.gz → 3.1.17__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.
Files changed (19) hide show
  1. tencentcloud_sdk_python_tcaplusdb-3.1.17/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/setup.py +2 -1
  3. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/tencentcloud/tcaplusdb/v20190823/models.py +15 -337
  5. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
  6. tencentcloud_sdk_python_tcaplusdb-3.1.17/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +966 -0
  7. tencentcloud_sdk_python_tcaplusdb-3.1.17/tencentcloud_sdk_python_tcaplusdb.egg-info/PKG-INFO +46 -0
  8. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/tencentcloud_sdk_python_tcaplusdb.egg-info/SOURCES.txt +1 -0
  9. tencentcloud_sdk_python_tcaplusdb-3.1.17/tencentcloud_sdk_python_tcaplusdb.egg-info/requires.txt +1 -0
  10. tencentcloud-sdk-python-tcaplusdb-3.0.1459/PKG-INFO +0 -45
  11. tencentcloud-sdk-python-tcaplusdb-3.0.1459/tencentcloud_sdk_python_tcaplusdb.egg-info/PKG-INFO +0 -45
  12. tencentcloud-sdk-python-tcaplusdb-3.0.1459/tencentcloud_sdk_python_tcaplusdb.egg-info/requires.txt +0 -1
  13. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/README.rst +0 -0
  14. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/setup.cfg +0 -0
  15. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/tencentcloud/tcaplusdb/__init__.py +0 -0
  16. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/tencentcloud/tcaplusdb/v20190823/__init__.py +0 -0
  17. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/tencentcloud/tcaplusdb/v20190823/errorcodes.py +0 -0
  18. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/tencentcloud_sdk_python_tcaplusdb.egg-info/dependency_links.txt +0 -0
  19. {tencentcloud-sdk-python-tcaplusdb-3.0.1459 → tencentcloud_sdk_python_tcaplusdb-3.1.17}/tencentcloud_sdk_python_tcaplusdb.egg-info/top_level.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-tcaplusdb
3
+ Version: 3.1.17
4
+ Summary: Tencent Cloud Tcaplusdb SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.17
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Tcaplusdb SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-tcaplusdb
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common tcaplusdb
46
+
@@ -8,7 +8,8 @@ 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.0.1459,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.17,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Tcaplusdb SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1459'
17
+ __version__ = '3.1.17'
@@ -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
 
@@ -10820,6 +10671,8 @@ class TableInfoNew(AbstractModel):
10820
10671
  :type TxhBackupExpireDay: int
10821
10672
  :param _SyncTableInfo: 表格的缓写信息
10822
10673
  :type SyncTableInfo: :class:`tencentcloud.tcaplusdb.v20190823.models.SyncTableInfo`
10674
+ :param _ShardNum: 表格分片数量
10675
+ :type ShardNum: int
10823
10676
  """
10824
10677
  self._TableName = None
10825
10678
  self._TableInstanceId = None
@@ -10850,6 +10703,7 @@ class TableInfoNew(AbstractModel):
10850
10703
  self._DbClusterInfoStruct = None
10851
10704
  self._TxhBackupExpireDay = None
10852
10705
  self._SyncTableInfo = None
10706
+ self._ShardNum = None
10853
10707
 
10854
10708
  @property
10855
10709
  def TableName(self):
@@ -11170,6 +11024,17 @@ class TableInfoNew(AbstractModel):
11170
11024
  def SyncTableInfo(self, SyncTableInfo):
11171
11025
  self._SyncTableInfo = SyncTableInfo
11172
11026
 
11027
+ @property
11028
+ def ShardNum(self):
11029
+ r"""表格分片数量
11030
+ :rtype: int
11031
+ """
11032
+ return self._ShardNum
11033
+
11034
+ @ShardNum.setter
11035
+ def ShardNum(self, ShardNum):
11036
+ self._ShardNum = ShardNum
11037
+
11173
11038
 
11174
11039
  def _deserialize(self, params):
11175
11040
  self._TableName = params.get("TableName")
@@ -11210,6 +11075,7 @@ class TableInfoNew(AbstractModel):
11210
11075
  if params.get("SyncTableInfo") is not None:
11211
11076
  self._SyncTableInfo = SyncTableInfo()
11212
11077
  self._SyncTableInfo._deserialize(params.get("SyncTableInfo"))
11078
+ self._ShardNum = params.get("ShardNum")
11213
11079
  memeber_set = set(params.keys())
11214
11080
  for name, value in vars(self).items():
11215
11081
  property_name = name[1:]
@@ -11378,194 +11244,6 @@ class TableResultNew(AbstractModel):
11378
11244
 
11379
11245
 
11380
11246
 
11381
- class TableRollbackResultNew(AbstractModel):
11382
- r"""表格回档结果信息
11383
-
11384
- """
11385
-
11386
- def __init__(self):
11387
- r"""
11388
- :param _TableInstanceId: 表格实例ID,形如:tcaplus-3be64cbb
11389
- :type TableInstanceId: str
11390
- :param _TaskId: 任务ID,对于创建单任务的接口有效
11391
- :type TaskId: str
11392
- :param _TableName: 表格名称
11393
- :type TableName: str
11394
- :param _TableType: 表格数据结构类型,如:`GENERIC`或`LIST`
11395
- :type TableType: str
11396
- :param _TableIdlType: 表格数据描述语言(IDL)类型,如:`PROTO`或`TDR`
11397
- :type TableIdlType: str
11398
- :param _TableGroupId: 表格所属表格组ID
11399
- :type TableGroupId: str
11400
- :param _Error: 错误信息
11401
- :type Error: :class:`tencentcloud.tcaplusdb.v20190823.models.ErrorInfo`
11402
- :param _TaskIds: 任务ID列表,对于创建多任务的接口有效
11403
- :type TaskIds: list of str
11404
- :param _FileId: 上传的key文件ID
11405
- :type FileId: str
11406
- :param _SuccKeyNum: 校验成功Key数量
11407
- :type SuccKeyNum: int
11408
- :param _TotalKeyNum: Key文件中包含总的Key数量
11409
- :type TotalKeyNum: int
11410
- """
11411
- self._TableInstanceId = None
11412
- self._TaskId = None
11413
- self._TableName = None
11414
- self._TableType = None
11415
- self._TableIdlType = None
11416
- self._TableGroupId = None
11417
- self._Error = None
11418
- self._TaskIds = None
11419
- self._FileId = None
11420
- self._SuccKeyNum = None
11421
- self._TotalKeyNum = None
11422
-
11423
- @property
11424
- def TableInstanceId(self):
11425
- r"""表格实例ID,形如:tcaplus-3be64cbb
11426
- :rtype: str
11427
- """
11428
- return self._TableInstanceId
11429
-
11430
- @TableInstanceId.setter
11431
- def TableInstanceId(self, TableInstanceId):
11432
- self._TableInstanceId = TableInstanceId
11433
-
11434
- @property
11435
- def TaskId(self):
11436
- r"""任务ID,对于创建单任务的接口有效
11437
- :rtype: str
11438
- """
11439
- return self._TaskId
11440
-
11441
- @TaskId.setter
11442
- def TaskId(self, TaskId):
11443
- self._TaskId = TaskId
11444
-
11445
- @property
11446
- def TableName(self):
11447
- r"""表格名称
11448
- :rtype: str
11449
- """
11450
- return self._TableName
11451
-
11452
- @TableName.setter
11453
- def TableName(self, TableName):
11454
- self._TableName = TableName
11455
-
11456
- @property
11457
- def TableType(self):
11458
- r"""表格数据结构类型,如:`GENERIC`或`LIST`
11459
- :rtype: str
11460
- """
11461
- return self._TableType
11462
-
11463
- @TableType.setter
11464
- def TableType(self, TableType):
11465
- self._TableType = TableType
11466
-
11467
- @property
11468
- def TableIdlType(self):
11469
- r"""表格数据描述语言(IDL)类型,如:`PROTO`或`TDR`
11470
- :rtype: str
11471
- """
11472
- return self._TableIdlType
11473
-
11474
- @TableIdlType.setter
11475
- def TableIdlType(self, TableIdlType):
11476
- self._TableIdlType = TableIdlType
11477
-
11478
- @property
11479
- def TableGroupId(self):
11480
- r"""表格所属表格组ID
11481
- :rtype: str
11482
- """
11483
- return self._TableGroupId
11484
-
11485
- @TableGroupId.setter
11486
- def TableGroupId(self, TableGroupId):
11487
- self._TableGroupId = TableGroupId
11488
-
11489
- @property
11490
- def Error(self):
11491
- r"""错误信息
11492
- :rtype: :class:`tencentcloud.tcaplusdb.v20190823.models.ErrorInfo`
11493
- """
11494
- return self._Error
11495
-
11496
- @Error.setter
11497
- def Error(self, Error):
11498
- self._Error = Error
11499
-
11500
- @property
11501
- def TaskIds(self):
11502
- r"""任务ID列表,对于创建多任务的接口有效
11503
- :rtype: list of str
11504
- """
11505
- return self._TaskIds
11506
-
11507
- @TaskIds.setter
11508
- def TaskIds(self, TaskIds):
11509
- self._TaskIds = TaskIds
11510
-
11511
- @property
11512
- def FileId(self):
11513
- r"""上传的key文件ID
11514
- :rtype: str
11515
- """
11516
- return self._FileId
11517
-
11518
- @FileId.setter
11519
- def FileId(self, FileId):
11520
- self._FileId = FileId
11521
-
11522
- @property
11523
- def SuccKeyNum(self):
11524
- r"""校验成功Key数量
11525
- :rtype: int
11526
- """
11527
- return self._SuccKeyNum
11528
-
11529
- @SuccKeyNum.setter
11530
- def SuccKeyNum(self, SuccKeyNum):
11531
- self._SuccKeyNum = SuccKeyNum
11532
-
11533
- @property
11534
- def TotalKeyNum(self):
11535
- r"""Key文件中包含总的Key数量
11536
- :rtype: int
11537
- """
11538
- return self._TotalKeyNum
11539
-
11540
- @TotalKeyNum.setter
11541
- def TotalKeyNum(self, TotalKeyNum):
11542
- self._TotalKeyNum = TotalKeyNum
11543
-
11544
-
11545
- def _deserialize(self, params):
11546
- self._TableInstanceId = params.get("TableInstanceId")
11547
- self._TaskId = params.get("TaskId")
11548
- self._TableName = params.get("TableName")
11549
- self._TableType = params.get("TableType")
11550
- self._TableIdlType = params.get("TableIdlType")
11551
- self._TableGroupId = params.get("TableGroupId")
11552
- if params.get("Error") is not None:
11553
- self._Error = ErrorInfo()
11554
- self._Error._deserialize(params.get("Error"))
11555
- self._TaskIds = params.get("TaskIds")
11556
- self._FileId = params.get("FileId")
11557
- self._SuccKeyNum = params.get("SuccKeyNum")
11558
- self._TotalKeyNum = params.get("TotalKeyNum")
11559
- memeber_set = set(params.keys())
11560
- for name, value in vars(self).items():
11561
- property_name = name[1:]
11562
- if property_name in memeber_set:
11563
- memeber_set.remove(property_name)
11564
- if len(memeber_set) > 0:
11565
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11566
-
11567
-
11568
-
11569
11247
  class TagInfoUnit(AbstractModel):
11570
11248
  r"""标签信息单元
11571
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