tencentcloud-sdk-python-dts 3.1.79__tar.gz → 3.1.88__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_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/setup.py +1 -1
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/dts/v20211206/dts_client.py +46 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/dts/v20211206/dts_client_async.py +36 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/dts/v20211206/models.py +677 -78
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud_sdk_python_dts.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dts-3.1.88/tencentcloud_sdk_python_dts.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dts-3.1.79/tencentcloud_sdk_python_dts.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/README.rst +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/dts/__init__.py +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/dts/v20180330/__init__.py +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/dts/v20180330/dts_client.py +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/dts/v20180330/dts_client_async.py +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/dts/v20180330/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/dts/v20180330/models.py +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/dts/v20211206/__init__.py +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud/dts/v20211206/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud_sdk_python_dts.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud_sdk_python_dts.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dts-3.1.79 → tencentcloud_sdk_python_dts-3.1.88}/tencentcloud_sdk_python_dts.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dts
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.88
|
|
4
4
|
Summary: Tencent Cloud Dts 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.88
|
|
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-dts',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.88,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dts SDK for Python',
|
|
@@ -468,6 +468,29 @@ class DtsClient(AbstractClient):
|
|
|
468
468
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
469
469
|
|
|
470
470
|
|
|
471
|
+
def DescribeCompareDiffItems(self, request):
|
|
472
|
+
r"""本接口用于查询一致性校验任务中,不一致数据块的详情信息
|
|
473
|
+
|
|
474
|
+
:param request: Request instance for DescribeCompareDiffItems.
|
|
475
|
+
:type request: :class:`tencentcloud.dts.v20211206.models.DescribeCompareDiffItemsRequest`
|
|
476
|
+
:rtype: :class:`tencentcloud.dts.v20211206.models.DescribeCompareDiffItemsResponse`
|
|
477
|
+
|
|
478
|
+
"""
|
|
479
|
+
try:
|
|
480
|
+
params = request._serialize()
|
|
481
|
+
headers = request.headers
|
|
482
|
+
body = self.call("DescribeCompareDiffItems", params, headers=headers)
|
|
483
|
+
response = json.loads(body)
|
|
484
|
+
model = models.DescribeCompareDiffItemsResponse()
|
|
485
|
+
model._deserialize(response["Response"])
|
|
486
|
+
return model
|
|
487
|
+
except Exception as e:
|
|
488
|
+
if isinstance(e, TencentCloudSDKException):
|
|
489
|
+
raise
|
|
490
|
+
else:
|
|
491
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
492
|
+
|
|
493
|
+
|
|
471
494
|
def DescribeCompareReport(self, request):
|
|
472
495
|
r"""查询一致性校验任务详情
|
|
473
496
|
|
|
@@ -773,6 +796,29 @@ class DtsClient(AbstractClient):
|
|
|
773
796
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
774
797
|
|
|
775
798
|
|
|
799
|
+
def DescribeSyncCompareDiffItems(self, request):
|
|
800
|
+
r"""本接口用于查询一致性校验任务中,不一致数据块的详情信息
|
|
801
|
+
|
|
802
|
+
:param request: Request instance for DescribeSyncCompareDiffItems.
|
|
803
|
+
:type request: :class:`tencentcloud.dts.v20211206.models.DescribeSyncCompareDiffItemsRequest`
|
|
804
|
+
:rtype: :class:`tencentcloud.dts.v20211206.models.DescribeSyncCompareDiffItemsResponse`
|
|
805
|
+
|
|
806
|
+
"""
|
|
807
|
+
try:
|
|
808
|
+
params = request._serialize()
|
|
809
|
+
headers = request.headers
|
|
810
|
+
body = self.call("DescribeSyncCompareDiffItems", params, headers=headers)
|
|
811
|
+
response = json.loads(body)
|
|
812
|
+
model = models.DescribeSyncCompareDiffItemsResponse()
|
|
813
|
+
model._deserialize(response["Response"])
|
|
814
|
+
return model
|
|
815
|
+
except Exception as e:
|
|
816
|
+
if isinstance(e, TencentCloudSDKException):
|
|
817
|
+
raise
|
|
818
|
+
else:
|
|
819
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
820
|
+
|
|
821
|
+
|
|
776
822
|
def DescribeSyncCompareReport(self, request):
|
|
777
823
|
r"""查询一致性校验任务详情
|
|
778
824
|
|
|
@@ -372,6 +372,24 @@ class DtsClient(AbstractClient):
|
|
|
372
372
|
|
|
373
373
|
return await self.call_and_deserialize(**kwargs)
|
|
374
374
|
|
|
375
|
+
async def DescribeCompareDiffItems(
|
|
376
|
+
self,
|
|
377
|
+
request: models.DescribeCompareDiffItemsRequest,
|
|
378
|
+
opts: Dict = None,
|
|
379
|
+
) -> models.DescribeCompareDiffItemsResponse:
|
|
380
|
+
"""
|
|
381
|
+
本接口用于查询一致性校验任务中,不一致数据块的详情信息
|
|
382
|
+
"""
|
|
383
|
+
|
|
384
|
+
kwargs = {}
|
|
385
|
+
kwargs["action"] = "DescribeCompareDiffItems"
|
|
386
|
+
kwargs["params"] = request._serialize()
|
|
387
|
+
kwargs["resp_cls"] = models.DescribeCompareDiffItemsResponse
|
|
388
|
+
kwargs["headers"] = request.headers
|
|
389
|
+
kwargs["opts"] = opts or {}
|
|
390
|
+
|
|
391
|
+
return await self.call_and_deserialize(**kwargs)
|
|
392
|
+
|
|
375
393
|
async def DescribeCompareReport(
|
|
376
394
|
self,
|
|
377
395
|
request: models.DescribeCompareReportRequest,
|
|
@@ -612,6 +630,24 @@ class DtsClient(AbstractClient):
|
|
|
612
630
|
|
|
613
631
|
return await self.call_and_deserialize(**kwargs)
|
|
614
632
|
|
|
633
|
+
async def DescribeSyncCompareDiffItems(
|
|
634
|
+
self,
|
|
635
|
+
request: models.DescribeSyncCompareDiffItemsRequest,
|
|
636
|
+
opts: Dict = None,
|
|
637
|
+
) -> models.DescribeSyncCompareDiffItemsResponse:
|
|
638
|
+
"""
|
|
639
|
+
本接口用于查询一致性校验任务中,不一致数据块的详情信息
|
|
640
|
+
"""
|
|
641
|
+
|
|
642
|
+
kwargs = {}
|
|
643
|
+
kwargs["action"] = "DescribeSyncCompareDiffItems"
|
|
644
|
+
kwargs["params"] = request._serialize()
|
|
645
|
+
kwargs["resp_cls"] = models.DescribeSyncCompareDiffItemsResponse
|
|
646
|
+
kwargs["headers"] = request.headers
|
|
647
|
+
kwargs["opts"] = opts or {}
|
|
648
|
+
|
|
649
|
+
return await self.call_and_deserialize(**kwargs)
|
|
650
|
+
|
|
615
651
|
async def DescribeSyncCompareReport(
|
|
616
652
|
self,
|
|
617
653
|
request: models.DescribeSyncCompareReportRequest,
|
|
@@ -5588,6 +5588,212 @@ class DescribeCheckSyncJobResultResponse(AbstractModel):
|
|
|
5588
5588
|
self._RequestId = params.get("RequestId")
|
|
5589
5589
|
|
|
5590
5590
|
|
|
5591
|
+
class DescribeCompareDiffItemsRequest(AbstractModel):
|
|
5592
|
+
r"""DescribeCompareDiffItems请求参数结构体
|
|
5593
|
+
|
|
5594
|
+
"""
|
|
5595
|
+
|
|
5596
|
+
def __init__(self):
|
|
5597
|
+
r"""
|
|
5598
|
+
:param _JobId: 迁移任务 Id
|
|
5599
|
+
:type JobId: str
|
|
5600
|
+
:param _CompareTaskId: 校验任务 Id
|
|
5601
|
+
:type CompareTaskId: str
|
|
5602
|
+
:param _DBName: 数据库名
|
|
5603
|
+
:type DBName: str
|
|
5604
|
+
:param _SchemaName: schema名
|
|
5605
|
+
:type SchemaName: str
|
|
5606
|
+
:param _TableName: 数据表名
|
|
5607
|
+
:type TableName: str
|
|
5608
|
+
:param _ChunkId: 数据分块号
|
|
5609
|
+
:type ChunkId: int
|
|
5610
|
+
:param _Limit: 分页条件,查询结果返回条数
|
|
5611
|
+
:type Limit: int
|
|
5612
|
+
:param _Offset: 分页条件,查询的起始位置
|
|
5613
|
+
:type Offset: int
|
|
5614
|
+
"""
|
|
5615
|
+
self._JobId = None
|
|
5616
|
+
self._CompareTaskId = None
|
|
5617
|
+
self._DBName = None
|
|
5618
|
+
self._SchemaName = None
|
|
5619
|
+
self._TableName = None
|
|
5620
|
+
self._ChunkId = None
|
|
5621
|
+
self._Limit = None
|
|
5622
|
+
self._Offset = None
|
|
5623
|
+
|
|
5624
|
+
@property
|
|
5625
|
+
def JobId(self):
|
|
5626
|
+
r"""迁移任务 Id
|
|
5627
|
+
:rtype: str
|
|
5628
|
+
"""
|
|
5629
|
+
return self._JobId
|
|
5630
|
+
|
|
5631
|
+
@JobId.setter
|
|
5632
|
+
def JobId(self, JobId):
|
|
5633
|
+
self._JobId = JobId
|
|
5634
|
+
|
|
5635
|
+
@property
|
|
5636
|
+
def CompareTaskId(self):
|
|
5637
|
+
r"""校验任务 Id
|
|
5638
|
+
:rtype: str
|
|
5639
|
+
"""
|
|
5640
|
+
return self._CompareTaskId
|
|
5641
|
+
|
|
5642
|
+
@CompareTaskId.setter
|
|
5643
|
+
def CompareTaskId(self, CompareTaskId):
|
|
5644
|
+
self._CompareTaskId = CompareTaskId
|
|
5645
|
+
|
|
5646
|
+
@property
|
|
5647
|
+
def DBName(self):
|
|
5648
|
+
r"""数据库名
|
|
5649
|
+
:rtype: str
|
|
5650
|
+
"""
|
|
5651
|
+
return self._DBName
|
|
5652
|
+
|
|
5653
|
+
@DBName.setter
|
|
5654
|
+
def DBName(self, DBName):
|
|
5655
|
+
self._DBName = DBName
|
|
5656
|
+
|
|
5657
|
+
@property
|
|
5658
|
+
def SchemaName(self):
|
|
5659
|
+
r"""schema名
|
|
5660
|
+
:rtype: str
|
|
5661
|
+
"""
|
|
5662
|
+
return self._SchemaName
|
|
5663
|
+
|
|
5664
|
+
@SchemaName.setter
|
|
5665
|
+
def SchemaName(self, SchemaName):
|
|
5666
|
+
self._SchemaName = SchemaName
|
|
5667
|
+
|
|
5668
|
+
@property
|
|
5669
|
+
def TableName(self):
|
|
5670
|
+
r"""数据表名
|
|
5671
|
+
:rtype: str
|
|
5672
|
+
"""
|
|
5673
|
+
return self._TableName
|
|
5674
|
+
|
|
5675
|
+
@TableName.setter
|
|
5676
|
+
def TableName(self, TableName):
|
|
5677
|
+
self._TableName = TableName
|
|
5678
|
+
|
|
5679
|
+
@property
|
|
5680
|
+
def ChunkId(self):
|
|
5681
|
+
r"""数据分块号
|
|
5682
|
+
:rtype: int
|
|
5683
|
+
"""
|
|
5684
|
+
return self._ChunkId
|
|
5685
|
+
|
|
5686
|
+
@ChunkId.setter
|
|
5687
|
+
def ChunkId(self, ChunkId):
|
|
5688
|
+
self._ChunkId = ChunkId
|
|
5689
|
+
|
|
5690
|
+
@property
|
|
5691
|
+
def Limit(self):
|
|
5692
|
+
r"""分页条件,查询结果返回条数
|
|
5693
|
+
:rtype: int
|
|
5694
|
+
"""
|
|
5695
|
+
return self._Limit
|
|
5696
|
+
|
|
5697
|
+
@Limit.setter
|
|
5698
|
+
def Limit(self, Limit):
|
|
5699
|
+
self._Limit = Limit
|
|
5700
|
+
|
|
5701
|
+
@property
|
|
5702
|
+
def Offset(self):
|
|
5703
|
+
r"""分页条件,查询的起始位置
|
|
5704
|
+
:rtype: int
|
|
5705
|
+
"""
|
|
5706
|
+
return self._Offset
|
|
5707
|
+
|
|
5708
|
+
@Offset.setter
|
|
5709
|
+
def Offset(self, Offset):
|
|
5710
|
+
self._Offset = Offset
|
|
5711
|
+
|
|
5712
|
+
|
|
5713
|
+
def _deserialize(self, params):
|
|
5714
|
+
self._JobId = params.get("JobId")
|
|
5715
|
+
self._CompareTaskId = params.get("CompareTaskId")
|
|
5716
|
+
self._DBName = params.get("DBName")
|
|
5717
|
+
self._SchemaName = params.get("SchemaName")
|
|
5718
|
+
self._TableName = params.get("TableName")
|
|
5719
|
+
self._ChunkId = params.get("ChunkId")
|
|
5720
|
+
self._Limit = params.get("Limit")
|
|
5721
|
+
self._Offset = params.get("Offset")
|
|
5722
|
+
memeber_set = set(params.keys())
|
|
5723
|
+
for name, value in vars(self).items():
|
|
5724
|
+
property_name = name[1:]
|
|
5725
|
+
if property_name in memeber_set:
|
|
5726
|
+
memeber_set.remove(property_name)
|
|
5727
|
+
if len(memeber_set) > 0:
|
|
5728
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5729
|
+
|
|
5730
|
+
|
|
5731
|
+
|
|
5732
|
+
class DescribeCompareDiffItemsResponse(AbstractModel):
|
|
5733
|
+
r"""DescribeCompareDiffItems返回参数结构体
|
|
5734
|
+
|
|
5735
|
+
"""
|
|
5736
|
+
|
|
5737
|
+
def __init__(self):
|
|
5738
|
+
r"""
|
|
5739
|
+
:param _TotalCount: 查询结果的数量
|
|
5740
|
+
:type TotalCount: int
|
|
5741
|
+
:param _Items: 查询结果详情
|
|
5742
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5743
|
+
:type Items: list of DiffChunkItem
|
|
5744
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5745
|
+
:type RequestId: str
|
|
5746
|
+
"""
|
|
5747
|
+
self._TotalCount = None
|
|
5748
|
+
self._Items = None
|
|
5749
|
+
self._RequestId = None
|
|
5750
|
+
|
|
5751
|
+
@property
|
|
5752
|
+
def TotalCount(self):
|
|
5753
|
+
r"""查询结果的数量
|
|
5754
|
+
:rtype: int
|
|
5755
|
+
"""
|
|
5756
|
+
return self._TotalCount
|
|
5757
|
+
|
|
5758
|
+
@TotalCount.setter
|
|
5759
|
+
def TotalCount(self, TotalCount):
|
|
5760
|
+
self._TotalCount = TotalCount
|
|
5761
|
+
|
|
5762
|
+
@property
|
|
5763
|
+
def Items(self):
|
|
5764
|
+
r"""查询结果详情
|
|
5765
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5766
|
+
:rtype: list of DiffChunkItem
|
|
5767
|
+
"""
|
|
5768
|
+
return self._Items
|
|
5769
|
+
|
|
5770
|
+
@Items.setter
|
|
5771
|
+
def Items(self, Items):
|
|
5772
|
+
self._Items = Items
|
|
5773
|
+
|
|
5774
|
+
@property
|
|
5775
|
+
def RequestId(self):
|
|
5776
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5777
|
+
:rtype: str
|
|
5778
|
+
"""
|
|
5779
|
+
return self._RequestId
|
|
5780
|
+
|
|
5781
|
+
@RequestId.setter
|
|
5782
|
+
def RequestId(self, RequestId):
|
|
5783
|
+
self._RequestId = RequestId
|
|
5784
|
+
|
|
5785
|
+
|
|
5786
|
+
def _deserialize(self, params):
|
|
5787
|
+
self._TotalCount = params.get("TotalCount")
|
|
5788
|
+
if params.get("Items") is not None:
|
|
5789
|
+
self._Items = []
|
|
5790
|
+
for item in params.get("Items"):
|
|
5791
|
+
obj = DiffChunkItem()
|
|
5792
|
+
obj._deserialize(item)
|
|
5793
|
+
self._Items.append(obj)
|
|
5794
|
+
self._RequestId = params.get("RequestId")
|
|
5795
|
+
|
|
5796
|
+
|
|
5591
5797
|
class DescribeCompareReportRequest(AbstractModel):
|
|
5592
5798
|
r"""DescribeCompareReport请求参数结构体
|
|
5593
5799
|
|
|
@@ -6118,25 +6324,25 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
6118
6324
|
|
|
6119
6325
|
def __init__(self):
|
|
6120
6326
|
r"""
|
|
6121
|
-
:param _DatabaseType:
|
|
6327
|
+
:param _DatabaseType: <p>数据库类型,如mysql,percona,mariadb,tdsqlmysql,mariadb,postgresql,cynosdbmysql,redis,tendis,keewidb,tdstore,mongodb,clickhouse,sqlserver等。</p>
|
|
6122
6328
|
:type DatabaseType: str
|
|
6123
|
-
:param _MigrateRole:
|
|
6329
|
+
:param _MigrateRole: <p>实例作为迁移的源还是目标,src(表示源),dst(表示目标)</p>
|
|
6124
6330
|
:type MigrateRole: str
|
|
6125
|
-
:param _InstanceId:
|
|
6331
|
+
:param _InstanceId: <p>云数据库实例ID,可通过对应业务实例列表获取实例信息。</p>
|
|
6126
6332
|
:type InstanceId: str
|
|
6127
|
-
:param _InstanceName:
|
|
6333
|
+
:param _InstanceName: <p>云数据库名称,可通过对应业务实例列表获取实例信息。</p>
|
|
6128
6334
|
:type InstanceName: str
|
|
6129
|
-
:param _Limit:
|
|
6335
|
+
:param _Limit: <p>返回数量限制</p>
|
|
6130
6336
|
:type Limit: int
|
|
6131
|
-
:param _Offset:
|
|
6337
|
+
:param _Offset: <p>偏移量</p>
|
|
6132
6338
|
:type Offset: int
|
|
6133
|
-
:param _AccountMode:
|
|
6339
|
+
:param _AccountMode: <p>资源所属账号 为空值或self(表示本账号内资源)、other(表示其他账户资源)</p>
|
|
6134
6340
|
:type AccountMode: str
|
|
6135
|
-
:param _TmpSecretId:
|
|
6341
|
+
:param _TmpSecretId: <p>临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。</p>
|
|
6136
6342
|
:type TmpSecretId: str
|
|
6137
|
-
:param _TmpSecretKey:
|
|
6343
|
+
:param _TmpSecretKey: <p>临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。</p>
|
|
6138
6344
|
:type TmpSecretKey: str
|
|
6139
|
-
:param _TmpToken:
|
|
6345
|
+
:param _TmpToken: <p>临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。</p>
|
|
6140
6346
|
:type TmpToken: str
|
|
6141
6347
|
"""
|
|
6142
6348
|
self._DatabaseType = None
|
|
@@ -6152,7 +6358,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
6152
6358
|
|
|
6153
6359
|
@property
|
|
6154
6360
|
def DatabaseType(self):
|
|
6155
|
-
r"""
|
|
6361
|
+
r"""<p>数据库类型,如mysql,percona,mariadb,tdsqlmysql,mariadb,postgresql,cynosdbmysql,redis,tendis,keewidb,tdstore,mongodb,clickhouse,sqlserver等。</p>
|
|
6156
6362
|
:rtype: str
|
|
6157
6363
|
"""
|
|
6158
6364
|
return self._DatabaseType
|
|
@@ -6163,7 +6369,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
6163
6369
|
|
|
6164
6370
|
@property
|
|
6165
6371
|
def MigrateRole(self):
|
|
6166
|
-
r"""
|
|
6372
|
+
r"""<p>实例作为迁移的源还是目标,src(表示源),dst(表示目标)</p>
|
|
6167
6373
|
:rtype: str
|
|
6168
6374
|
"""
|
|
6169
6375
|
return self._MigrateRole
|
|
@@ -6174,7 +6380,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
6174
6380
|
|
|
6175
6381
|
@property
|
|
6176
6382
|
def InstanceId(self):
|
|
6177
|
-
r"""
|
|
6383
|
+
r"""<p>云数据库实例ID,可通过对应业务实例列表获取实例信息。</p>
|
|
6178
6384
|
:rtype: str
|
|
6179
6385
|
"""
|
|
6180
6386
|
return self._InstanceId
|
|
@@ -6185,7 +6391,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
6185
6391
|
|
|
6186
6392
|
@property
|
|
6187
6393
|
def InstanceName(self):
|
|
6188
|
-
r"""
|
|
6394
|
+
r"""<p>云数据库名称,可通过对应业务实例列表获取实例信息。</p>
|
|
6189
6395
|
:rtype: str
|
|
6190
6396
|
"""
|
|
6191
6397
|
return self._InstanceName
|
|
@@ -6196,7 +6402,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
6196
6402
|
|
|
6197
6403
|
@property
|
|
6198
6404
|
def Limit(self):
|
|
6199
|
-
r"""
|
|
6405
|
+
r"""<p>返回数量限制</p>
|
|
6200
6406
|
:rtype: int
|
|
6201
6407
|
"""
|
|
6202
6408
|
return self._Limit
|
|
@@ -6207,7 +6413,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
6207
6413
|
|
|
6208
6414
|
@property
|
|
6209
6415
|
def Offset(self):
|
|
6210
|
-
r"""
|
|
6416
|
+
r"""<p>偏移量</p>
|
|
6211
6417
|
:rtype: int
|
|
6212
6418
|
"""
|
|
6213
6419
|
return self._Offset
|
|
@@ -6218,7 +6424,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
6218
6424
|
|
|
6219
6425
|
@property
|
|
6220
6426
|
def AccountMode(self):
|
|
6221
|
-
r"""
|
|
6427
|
+
r"""<p>资源所属账号 为空值或self(表示本账号内资源)、other(表示其他账户资源)</p>
|
|
6222
6428
|
:rtype: str
|
|
6223
6429
|
"""
|
|
6224
6430
|
return self._AccountMode
|
|
@@ -6229,7 +6435,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
6229
6435
|
|
|
6230
6436
|
@property
|
|
6231
6437
|
def TmpSecretId(self):
|
|
6232
|
-
r"""
|
|
6438
|
+
r"""<p>临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。</p>
|
|
6233
6439
|
:rtype: str
|
|
6234
6440
|
"""
|
|
6235
6441
|
return self._TmpSecretId
|
|
@@ -6240,7 +6446,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
6240
6446
|
|
|
6241
6447
|
@property
|
|
6242
6448
|
def TmpSecretKey(self):
|
|
6243
|
-
r"""
|
|
6449
|
+
r"""<p>临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。</p>
|
|
6244
6450
|
:rtype: str
|
|
6245
6451
|
"""
|
|
6246
6452
|
return self._TmpSecretKey
|
|
@@ -6251,7 +6457,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
6251
6457
|
|
|
6252
6458
|
@property
|
|
6253
6459
|
def TmpToken(self):
|
|
6254
|
-
r"""
|
|
6460
|
+
r"""<p>临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。</p>
|
|
6255
6461
|
:rtype: str
|
|
6256
6462
|
"""
|
|
6257
6463
|
return self._TmpToken
|
|
@@ -6289,9 +6495,9 @@ class DescribeMigrateDBInstancesResponse(AbstractModel):
|
|
|
6289
6495
|
|
|
6290
6496
|
def __init__(self):
|
|
6291
6497
|
r"""
|
|
6292
|
-
:param _TotalCount:
|
|
6498
|
+
:param _TotalCount: <p>符合筛选条件的数量</p>
|
|
6293
6499
|
:type TotalCount: int
|
|
6294
|
-
:param _Instances:
|
|
6500
|
+
:param _Instances: <p>实例列表</p>
|
|
6295
6501
|
:type Instances: list of MigrateDBItem
|
|
6296
6502
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6297
6503
|
:type RequestId: str
|
|
@@ -6302,7 +6508,7 @@ class DescribeMigrateDBInstancesResponse(AbstractModel):
|
|
|
6302
6508
|
|
|
6303
6509
|
@property
|
|
6304
6510
|
def TotalCount(self):
|
|
6305
|
-
r"""
|
|
6511
|
+
r"""<p>符合筛选条件的数量</p>
|
|
6306
6512
|
:rtype: int
|
|
6307
6513
|
"""
|
|
6308
6514
|
return self._TotalCount
|
|
@@ -6313,7 +6519,7 @@ class DescribeMigrateDBInstancesResponse(AbstractModel):
|
|
|
6313
6519
|
|
|
6314
6520
|
@property
|
|
6315
6521
|
def Instances(self):
|
|
6316
|
-
r"""
|
|
6522
|
+
r"""<p>实例列表</p>
|
|
6317
6523
|
:rtype: list of MigrateDBItem
|
|
6318
6524
|
"""
|
|
6319
6525
|
return self._Instances
|
|
@@ -6911,37 +7117,37 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
6911
7117
|
|
|
6912
7118
|
def __init__(self):
|
|
6913
7119
|
r"""
|
|
6914
|
-
:param _JobId:
|
|
7120
|
+
:param _JobId: <p>数据迁移任务ID,如:dts-amm1jw5q</p>
|
|
6915
7121
|
:type JobId: str
|
|
6916
|
-
:param _JobName:
|
|
7122
|
+
:param _JobName: <p>数据迁移任务名称</p>
|
|
6917
7123
|
:type JobName: str
|
|
6918
|
-
:param _Status:
|
|
7124
|
+
:param _Status: <p>数据迁移任务状态,可取值包括:created(创建完成)、checking(校验中)、checkPass(校验通过)、checkNotPass(校验不通过)、readyRun(准备运行)、running(任务运行中)、readyComplete(准备完成)、success(任务成功)、failed(任务失败)、stopping(中止中)、completing(完成中)</p>
|
|
6919
7125
|
:type Status: list of str
|
|
6920
|
-
:param _SrcInstanceId:
|
|
7126
|
+
:param _SrcInstanceId: <p>源实例ID,格式如:cdb-c1nl9rpv</p>
|
|
6921
7127
|
:type SrcInstanceId: str
|
|
6922
|
-
:param _SrcRegion:
|
|
7128
|
+
:param _SrcRegion: <p>源实例地域,如:ap-guangzhou</p>
|
|
6923
7129
|
:type SrcRegion: str
|
|
6924
|
-
:param _SrcDatabaseType:
|
|
7130
|
+
:param _SrcDatabaseType: <p>源实例数据库类型,如:sqlserver,mysql,mongodb,redis,tendis,keewidb,clickhouse,cynosdbmysql,percona,tdsqlpercona,mariadb,tdsqlmysql,postgresql</p>
|
|
6925
7131
|
:type SrcDatabaseType: list of str
|
|
6926
|
-
:param _SrcAccessType:
|
|
7132
|
+
:param _SrcAccessType: <p>源实例接入类型,值包括:extranet(外网)、vpncloud(云vpn接入的实例)、dcg(专线接入的实例)、ccn(云联网接入的实例)、cdb(云上cdb实例)、cvm(cvm自建实例)</p>
|
|
6927
7133
|
:type SrcAccessType: list of str
|
|
6928
|
-
:param _DstInstanceId:
|
|
7134
|
+
:param _DstInstanceId: <p>目标实例ID,格式如:cdb-c1nl9rpv</p>
|
|
6929
7135
|
:type DstInstanceId: str
|
|
6930
|
-
:param _DstRegion:
|
|
7136
|
+
:param _DstRegion: <p>目标实例地域,如:ap-guangzhou</p>
|
|
6931
7137
|
:type DstRegion: str
|
|
6932
|
-
:param _DstDatabaseType:
|
|
7138
|
+
:param _DstDatabaseType: <p>目标源实例数据库类型,如:sqlserver,mysql,mongodb,redis,tendis,keewidb,clickhouse,cynosdbmysql,percona,tdsqlpercona,mariadb,tdsqlmysql,postgresql</p>
|
|
6933
7139
|
:type DstDatabaseType: list of str
|
|
6934
|
-
:param _DstAccessType:
|
|
7140
|
+
:param _DstAccessType: <p>目标实例接入类型,值包括:extranet(外网)、vpncloud(云vpn接入的实例)、dcg(专线接入的实例)、ccn(云联网接入的实例)、cdb(云上cdb实例)、cvm(cvm自建实例)</p>
|
|
6935
7141
|
:type DstAccessType: list of str
|
|
6936
|
-
:param _RunMode:
|
|
7142
|
+
:param _RunMode: <p>任务运行模式,值包括:immediate(立即运行),timed(定时运行)</p>
|
|
6937
7143
|
:type RunMode: str
|
|
6938
|
-
:param _OrderSeq:
|
|
7144
|
+
:param _OrderSeq: <p>排序方式,可能取值为asc、desc,默认按照创建时间倒序</p>
|
|
6939
7145
|
:type OrderSeq: str
|
|
6940
|
-
:param _Limit:
|
|
7146
|
+
:param _Limit: <p>返回实例数量,默认20,有效区间[1,100]</p>
|
|
6941
7147
|
:type Limit: int
|
|
6942
|
-
:param _Offset:
|
|
7148
|
+
:param _Offset: <p>偏移量,默认为0</p>
|
|
6943
7149
|
:type Offset: int
|
|
6944
|
-
:param _TagFilters:
|
|
7150
|
+
:param _TagFilters: <p>标签过滤</p>
|
|
6945
7151
|
:type TagFilters: list of TagFilter
|
|
6946
7152
|
"""
|
|
6947
7153
|
self._JobId = None
|
|
@@ -6963,7 +7169,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
6963
7169
|
|
|
6964
7170
|
@property
|
|
6965
7171
|
def JobId(self):
|
|
6966
|
-
r"""
|
|
7172
|
+
r"""<p>数据迁移任务ID,如:dts-amm1jw5q</p>
|
|
6967
7173
|
:rtype: str
|
|
6968
7174
|
"""
|
|
6969
7175
|
return self._JobId
|
|
@@ -6974,7 +7180,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
6974
7180
|
|
|
6975
7181
|
@property
|
|
6976
7182
|
def JobName(self):
|
|
6977
|
-
r"""
|
|
7183
|
+
r"""<p>数据迁移任务名称</p>
|
|
6978
7184
|
:rtype: str
|
|
6979
7185
|
"""
|
|
6980
7186
|
return self._JobName
|
|
@@ -6985,7 +7191,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
6985
7191
|
|
|
6986
7192
|
@property
|
|
6987
7193
|
def Status(self):
|
|
6988
|
-
r"""
|
|
7194
|
+
r"""<p>数据迁移任务状态,可取值包括:created(创建完成)、checking(校验中)、checkPass(校验通过)、checkNotPass(校验不通过)、readyRun(准备运行)、running(任务运行中)、readyComplete(准备完成)、success(任务成功)、failed(任务失败)、stopping(中止中)、completing(完成中)</p>
|
|
6989
7195
|
:rtype: list of str
|
|
6990
7196
|
"""
|
|
6991
7197
|
return self._Status
|
|
@@ -6996,7 +7202,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
6996
7202
|
|
|
6997
7203
|
@property
|
|
6998
7204
|
def SrcInstanceId(self):
|
|
6999
|
-
r"""
|
|
7205
|
+
r"""<p>源实例ID,格式如:cdb-c1nl9rpv</p>
|
|
7000
7206
|
:rtype: str
|
|
7001
7207
|
"""
|
|
7002
7208
|
return self._SrcInstanceId
|
|
@@ -7007,7 +7213,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7007
7213
|
|
|
7008
7214
|
@property
|
|
7009
7215
|
def SrcRegion(self):
|
|
7010
|
-
r"""
|
|
7216
|
+
r"""<p>源实例地域,如:ap-guangzhou</p>
|
|
7011
7217
|
:rtype: str
|
|
7012
7218
|
"""
|
|
7013
7219
|
return self._SrcRegion
|
|
@@ -7018,7 +7224,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7018
7224
|
|
|
7019
7225
|
@property
|
|
7020
7226
|
def SrcDatabaseType(self):
|
|
7021
|
-
r"""
|
|
7227
|
+
r"""<p>源实例数据库类型,如:sqlserver,mysql,mongodb,redis,tendis,keewidb,clickhouse,cynosdbmysql,percona,tdsqlpercona,mariadb,tdsqlmysql,postgresql</p>
|
|
7022
7228
|
:rtype: list of str
|
|
7023
7229
|
"""
|
|
7024
7230
|
return self._SrcDatabaseType
|
|
@@ -7029,7 +7235,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7029
7235
|
|
|
7030
7236
|
@property
|
|
7031
7237
|
def SrcAccessType(self):
|
|
7032
|
-
r"""
|
|
7238
|
+
r"""<p>源实例接入类型,值包括:extranet(外网)、vpncloud(云vpn接入的实例)、dcg(专线接入的实例)、ccn(云联网接入的实例)、cdb(云上cdb实例)、cvm(cvm自建实例)</p>
|
|
7033
7239
|
:rtype: list of str
|
|
7034
7240
|
"""
|
|
7035
7241
|
return self._SrcAccessType
|
|
@@ -7040,7 +7246,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7040
7246
|
|
|
7041
7247
|
@property
|
|
7042
7248
|
def DstInstanceId(self):
|
|
7043
|
-
r"""
|
|
7249
|
+
r"""<p>目标实例ID,格式如:cdb-c1nl9rpv</p>
|
|
7044
7250
|
:rtype: str
|
|
7045
7251
|
"""
|
|
7046
7252
|
return self._DstInstanceId
|
|
@@ -7051,7 +7257,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7051
7257
|
|
|
7052
7258
|
@property
|
|
7053
7259
|
def DstRegion(self):
|
|
7054
|
-
r"""
|
|
7260
|
+
r"""<p>目标实例地域,如:ap-guangzhou</p>
|
|
7055
7261
|
:rtype: str
|
|
7056
7262
|
"""
|
|
7057
7263
|
return self._DstRegion
|
|
@@ -7062,7 +7268,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7062
7268
|
|
|
7063
7269
|
@property
|
|
7064
7270
|
def DstDatabaseType(self):
|
|
7065
|
-
r"""
|
|
7271
|
+
r"""<p>目标源实例数据库类型,如:sqlserver,mysql,mongodb,redis,tendis,keewidb,clickhouse,cynosdbmysql,percona,tdsqlpercona,mariadb,tdsqlmysql,postgresql</p>
|
|
7066
7272
|
:rtype: list of str
|
|
7067
7273
|
"""
|
|
7068
7274
|
return self._DstDatabaseType
|
|
@@ -7073,7 +7279,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7073
7279
|
|
|
7074
7280
|
@property
|
|
7075
7281
|
def DstAccessType(self):
|
|
7076
|
-
r"""
|
|
7282
|
+
r"""<p>目标实例接入类型,值包括:extranet(外网)、vpncloud(云vpn接入的实例)、dcg(专线接入的实例)、ccn(云联网接入的实例)、cdb(云上cdb实例)、cvm(cvm自建实例)</p>
|
|
7077
7283
|
:rtype: list of str
|
|
7078
7284
|
"""
|
|
7079
7285
|
return self._DstAccessType
|
|
@@ -7084,7 +7290,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7084
7290
|
|
|
7085
7291
|
@property
|
|
7086
7292
|
def RunMode(self):
|
|
7087
|
-
r"""
|
|
7293
|
+
r"""<p>任务运行模式,值包括:immediate(立即运行),timed(定时运行)</p>
|
|
7088
7294
|
:rtype: str
|
|
7089
7295
|
"""
|
|
7090
7296
|
return self._RunMode
|
|
@@ -7095,7 +7301,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7095
7301
|
|
|
7096
7302
|
@property
|
|
7097
7303
|
def OrderSeq(self):
|
|
7098
|
-
r"""
|
|
7304
|
+
r"""<p>排序方式,可能取值为asc、desc,默认按照创建时间倒序</p>
|
|
7099
7305
|
:rtype: str
|
|
7100
7306
|
"""
|
|
7101
7307
|
return self._OrderSeq
|
|
@@ -7106,7 +7312,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7106
7312
|
|
|
7107
7313
|
@property
|
|
7108
7314
|
def Limit(self):
|
|
7109
|
-
r"""
|
|
7315
|
+
r"""<p>返回实例数量,默认20,有效区间[1,100]</p>
|
|
7110
7316
|
:rtype: int
|
|
7111
7317
|
"""
|
|
7112
7318
|
return self._Limit
|
|
@@ -7117,7 +7323,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7117
7323
|
|
|
7118
7324
|
@property
|
|
7119
7325
|
def Offset(self):
|
|
7120
|
-
r"""
|
|
7326
|
+
r"""<p>偏移量,默认为0</p>
|
|
7121
7327
|
:rtype: int
|
|
7122
7328
|
"""
|
|
7123
7329
|
return self._Offset
|
|
@@ -7128,7 +7334,7 @@ class DescribeMigrationJobsRequest(AbstractModel):
|
|
|
7128
7334
|
|
|
7129
7335
|
@property
|
|
7130
7336
|
def TagFilters(self):
|
|
7131
|
-
r"""
|
|
7337
|
+
r"""<p>标签过滤</p>
|
|
7132
7338
|
:rtype: list of TagFilter
|
|
7133
7339
|
"""
|
|
7134
7340
|
return self._TagFilters
|
|
@@ -7177,9 +7383,9 @@ class DescribeMigrationJobsResponse(AbstractModel):
|
|
|
7177
7383
|
|
|
7178
7384
|
def __init__(self):
|
|
7179
7385
|
r"""
|
|
7180
|
-
:param _TotalCount:
|
|
7386
|
+
:param _TotalCount: <p>迁移任务数量</p>
|
|
7181
7387
|
:type TotalCount: int
|
|
7182
|
-
:param _JobList:
|
|
7388
|
+
:param _JobList: <p>迁移任务列表</p>
|
|
7183
7389
|
:type JobList: list of JobItem
|
|
7184
7390
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7185
7391
|
:type RequestId: str
|
|
@@ -7190,7 +7396,7 @@ class DescribeMigrationJobsResponse(AbstractModel):
|
|
|
7190
7396
|
|
|
7191
7397
|
@property
|
|
7192
7398
|
def TotalCount(self):
|
|
7193
|
-
r"""
|
|
7399
|
+
r"""<p>迁移任务数量</p>
|
|
7194
7400
|
:rtype: int
|
|
7195
7401
|
"""
|
|
7196
7402
|
return self._TotalCount
|
|
@@ -7201,7 +7407,7 @@ class DescribeMigrationJobsResponse(AbstractModel):
|
|
|
7201
7407
|
|
|
7202
7408
|
@property
|
|
7203
7409
|
def JobList(self):
|
|
7204
|
-
r"""
|
|
7410
|
+
r"""<p>迁移任务列表</p>
|
|
7205
7411
|
:rtype: list of JobItem
|
|
7206
7412
|
"""
|
|
7207
7413
|
return self._JobList
|
|
@@ -8614,6 +8820,212 @@ class DescribeSubscribeReturnableResponse(AbstractModel):
|
|
|
8614
8820
|
self._RequestId = params.get("RequestId")
|
|
8615
8821
|
|
|
8616
8822
|
|
|
8823
|
+
class DescribeSyncCompareDiffItemsRequest(AbstractModel):
|
|
8824
|
+
r"""DescribeSyncCompareDiffItems请求参数结构体
|
|
8825
|
+
|
|
8826
|
+
"""
|
|
8827
|
+
|
|
8828
|
+
def __init__(self):
|
|
8829
|
+
r"""
|
|
8830
|
+
:param _JobId: 迁移任务 Id
|
|
8831
|
+
:type JobId: str
|
|
8832
|
+
:param _CompareTaskId: 校验任务 Id
|
|
8833
|
+
:type CompareTaskId: str
|
|
8834
|
+
:param _DBName: 数据库名
|
|
8835
|
+
:type DBName: str
|
|
8836
|
+
:param _SchemaName: schema名
|
|
8837
|
+
:type SchemaName: str
|
|
8838
|
+
:param _TableName: 数据表名
|
|
8839
|
+
:type TableName: str
|
|
8840
|
+
:param _ChunkId: 数据分块号
|
|
8841
|
+
:type ChunkId: int
|
|
8842
|
+
:param _Limit: 分页条件,查询结果返回条数
|
|
8843
|
+
:type Limit: int
|
|
8844
|
+
:param _Offset: 分页条件,查询的起始位置
|
|
8845
|
+
:type Offset: int
|
|
8846
|
+
"""
|
|
8847
|
+
self._JobId = None
|
|
8848
|
+
self._CompareTaskId = None
|
|
8849
|
+
self._DBName = None
|
|
8850
|
+
self._SchemaName = None
|
|
8851
|
+
self._TableName = None
|
|
8852
|
+
self._ChunkId = None
|
|
8853
|
+
self._Limit = None
|
|
8854
|
+
self._Offset = None
|
|
8855
|
+
|
|
8856
|
+
@property
|
|
8857
|
+
def JobId(self):
|
|
8858
|
+
r"""迁移任务 Id
|
|
8859
|
+
:rtype: str
|
|
8860
|
+
"""
|
|
8861
|
+
return self._JobId
|
|
8862
|
+
|
|
8863
|
+
@JobId.setter
|
|
8864
|
+
def JobId(self, JobId):
|
|
8865
|
+
self._JobId = JobId
|
|
8866
|
+
|
|
8867
|
+
@property
|
|
8868
|
+
def CompareTaskId(self):
|
|
8869
|
+
r"""校验任务 Id
|
|
8870
|
+
:rtype: str
|
|
8871
|
+
"""
|
|
8872
|
+
return self._CompareTaskId
|
|
8873
|
+
|
|
8874
|
+
@CompareTaskId.setter
|
|
8875
|
+
def CompareTaskId(self, CompareTaskId):
|
|
8876
|
+
self._CompareTaskId = CompareTaskId
|
|
8877
|
+
|
|
8878
|
+
@property
|
|
8879
|
+
def DBName(self):
|
|
8880
|
+
r"""数据库名
|
|
8881
|
+
:rtype: str
|
|
8882
|
+
"""
|
|
8883
|
+
return self._DBName
|
|
8884
|
+
|
|
8885
|
+
@DBName.setter
|
|
8886
|
+
def DBName(self, DBName):
|
|
8887
|
+
self._DBName = DBName
|
|
8888
|
+
|
|
8889
|
+
@property
|
|
8890
|
+
def SchemaName(self):
|
|
8891
|
+
r"""schema名
|
|
8892
|
+
:rtype: str
|
|
8893
|
+
"""
|
|
8894
|
+
return self._SchemaName
|
|
8895
|
+
|
|
8896
|
+
@SchemaName.setter
|
|
8897
|
+
def SchemaName(self, SchemaName):
|
|
8898
|
+
self._SchemaName = SchemaName
|
|
8899
|
+
|
|
8900
|
+
@property
|
|
8901
|
+
def TableName(self):
|
|
8902
|
+
r"""数据表名
|
|
8903
|
+
:rtype: str
|
|
8904
|
+
"""
|
|
8905
|
+
return self._TableName
|
|
8906
|
+
|
|
8907
|
+
@TableName.setter
|
|
8908
|
+
def TableName(self, TableName):
|
|
8909
|
+
self._TableName = TableName
|
|
8910
|
+
|
|
8911
|
+
@property
|
|
8912
|
+
def ChunkId(self):
|
|
8913
|
+
r"""数据分块号
|
|
8914
|
+
:rtype: int
|
|
8915
|
+
"""
|
|
8916
|
+
return self._ChunkId
|
|
8917
|
+
|
|
8918
|
+
@ChunkId.setter
|
|
8919
|
+
def ChunkId(self, ChunkId):
|
|
8920
|
+
self._ChunkId = ChunkId
|
|
8921
|
+
|
|
8922
|
+
@property
|
|
8923
|
+
def Limit(self):
|
|
8924
|
+
r"""分页条件,查询结果返回条数
|
|
8925
|
+
:rtype: int
|
|
8926
|
+
"""
|
|
8927
|
+
return self._Limit
|
|
8928
|
+
|
|
8929
|
+
@Limit.setter
|
|
8930
|
+
def Limit(self, Limit):
|
|
8931
|
+
self._Limit = Limit
|
|
8932
|
+
|
|
8933
|
+
@property
|
|
8934
|
+
def Offset(self):
|
|
8935
|
+
r"""分页条件,查询的起始位置
|
|
8936
|
+
:rtype: int
|
|
8937
|
+
"""
|
|
8938
|
+
return self._Offset
|
|
8939
|
+
|
|
8940
|
+
@Offset.setter
|
|
8941
|
+
def Offset(self, Offset):
|
|
8942
|
+
self._Offset = Offset
|
|
8943
|
+
|
|
8944
|
+
|
|
8945
|
+
def _deserialize(self, params):
|
|
8946
|
+
self._JobId = params.get("JobId")
|
|
8947
|
+
self._CompareTaskId = params.get("CompareTaskId")
|
|
8948
|
+
self._DBName = params.get("DBName")
|
|
8949
|
+
self._SchemaName = params.get("SchemaName")
|
|
8950
|
+
self._TableName = params.get("TableName")
|
|
8951
|
+
self._ChunkId = params.get("ChunkId")
|
|
8952
|
+
self._Limit = params.get("Limit")
|
|
8953
|
+
self._Offset = params.get("Offset")
|
|
8954
|
+
memeber_set = set(params.keys())
|
|
8955
|
+
for name, value in vars(self).items():
|
|
8956
|
+
property_name = name[1:]
|
|
8957
|
+
if property_name in memeber_set:
|
|
8958
|
+
memeber_set.remove(property_name)
|
|
8959
|
+
if len(memeber_set) > 0:
|
|
8960
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8961
|
+
|
|
8962
|
+
|
|
8963
|
+
|
|
8964
|
+
class DescribeSyncCompareDiffItemsResponse(AbstractModel):
|
|
8965
|
+
r"""DescribeSyncCompareDiffItems返回参数结构体
|
|
8966
|
+
|
|
8967
|
+
"""
|
|
8968
|
+
|
|
8969
|
+
def __init__(self):
|
|
8970
|
+
r"""
|
|
8971
|
+
:param _TotalCount: 查询结果的数量
|
|
8972
|
+
:type TotalCount: int
|
|
8973
|
+
:param _Items: 查询结果详情
|
|
8974
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8975
|
+
:type Items: list of DiffChunkItem
|
|
8976
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8977
|
+
:type RequestId: str
|
|
8978
|
+
"""
|
|
8979
|
+
self._TotalCount = None
|
|
8980
|
+
self._Items = None
|
|
8981
|
+
self._RequestId = None
|
|
8982
|
+
|
|
8983
|
+
@property
|
|
8984
|
+
def TotalCount(self):
|
|
8985
|
+
r"""查询结果的数量
|
|
8986
|
+
:rtype: int
|
|
8987
|
+
"""
|
|
8988
|
+
return self._TotalCount
|
|
8989
|
+
|
|
8990
|
+
@TotalCount.setter
|
|
8991
|
+
def TotalCount(self, TotalCount):
|
|
8992
|
+
self._TotalCount = TotalCount
|
|
8993
|
+
|
|
8994
|
+
@property
|
|
8995
|
+
def Items(self):
|
|
8996
|
+
r"""查询结果详情
|
|
8997
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8998
|
+
:rtype: list of DiffChunkItem
|
|
8999
|
+
"""
|
|
9000
|
+
return self._Items
|
|
9001
|
+
|
|
9002
|
+
@Items.setter
|
|
9003
|
+
def Items(self, Items):
|
|
9004
|
+
self._Items = Items
|
|
9005
|
+
|
|
9006
|
+
@property
|
|
9007
|
+
def RequestId(self):
|
|
9008
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9009
|
+
:rtype: str
|
|
9010
|
+
"""
|
|
9011
|
+
return self._RequestId
|
|
9012
|
+
|
|
9013
|
+
@RequestId.setter
|
|
9014
|
+
def RequestId(self, RequestId):
|
|
9015
|
+
self._RequestId = RequestId
|
|
9016
|
+
|
|
9017
|
+
|
|
9018
|
+
def _deserialize(self, params):
|
|
9019
|
+
self._TotalCount = params.get("TotalCount")
|
|
9020
|
+
if params.get("Items") is not None:
|
|
9021
|
+
self._Items = []
|
|
9022
|
+
for item in params.get("Items"):
|
|
9023
|
+
obj = DiffChunkItem()
|
|
9024
|
+
obj._deserialize(item)
|
|
9025
|
+
self._Items.append(obj)
|
|
9026
|
+
self._RequestId = params.get("RequestId")
|
|
9027
|
+
|
|
9028
|
+
|
|
8617
9029
|
class DescribeSyncCompareReportRequest(AbstractModel):
|
|
8618
9030
|
r"""DescribeSyncCompareReport请求参数结构体
|
|
8619
9031
|
|
|
@@ -9669,6 +10081,195 @@ class DetailCheckItem(AbstractModel):
|
|
|
9669
10081
|
|
|
9670
10082
|
|
|
9671
10083
|
|
|
10084
|
+
class DiffChunkItem(AbstractModel):
|
|
10085
|
+
r"""数据块内不一致数据的详情信息
|
|
10086
|
+
|
|
10087
|
+
"""
|
|
10088
|
+
|
|
10089
|
+
def __init__(self):
|
|
10090
|
+
r"""
|
|
10091
|
+
:param _DBName: 数据库名
|
|
10092
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10093
|
+
:type DBName: str
|
|
10094
|
+
:param _SchemaName: schema名
|
|
10095
|
+
:type SchemaName: str
|
|
10096
|
+
:param _TableName: 数据表名
|
|
10097
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10098
|
+
:type TableName: str
|
|
10099
|
+
:param _ChunkId: 分块号
|
|
10100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10101
|
+
:type ChunkId: int
|
|
10102
|
+
:param _Identifier: 数据标识符,比如主键信息等
|
|
10103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10104
|
+
:type Identifier: str
|
|
10105
|
+
:param _DiffType: 不一致类型,可能的取值为:data - 两边数据不一致;srcLack - 源缺失;dstLack - 目标缺失
|
|
10106
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10107
|
+
:type DiffType: str
|
|
10108
|
+
:param _SchemaInfo: 表结构信息
|
|
10109
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10110
|
+
:type SchemaInfo: list of str
|
|
10111
|
+
:param _SrcItem: 源端数据
|
|
10112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10113
|
+
:type SrcItem: list of str
|
|
10114
|
+
:param _DstItem: 目标端数据
|
|
10115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10116
|
+
:type DstItem: list of str
|
|
10117
|
+
:param _FinishedAt: 完成时间
|
|
10118
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10119
|
+
:type FinishedAt: str
|
|
10120
|
+
"""
|
|
10121
|
+
self._DBName = None
|
|
10122
|
+
self._SchemaName = None
|
|
10123
|
+
self._TableName = None
|
|
10124
|
+
self._ChunkId = None
|
|
10125
|
+
self._Identifier = None
|
|
10126
|
+
self._DiffType = None
|
|
10127
|
+
self._SchemaInfo = None
|
|
10128
|
+
self._SrcItem = None
|
|
10129
|
+
self._DstItem = None
|
|
10130
|
+
self._FinishedAt = None
|
|
10131
|
+
|
|
10132
|
+
@property
|
|
10133
|
+
def DBName(self):
|
|
10134
|
+
r"""数据库名
|
|
10135
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10136
|
+
:rtype: str
|
|
10137
|
+
"""
|
|
10138
|
+
return self._DBName
|
|
10139
|
+
|
|
10140
|
+
@DBName.setter
|
|
10141
|
+
def DBName(self, DBName):
|
|
10142
|
+
self._DBName = DBName
|
|
10143
|
+
|
|
10144
|
+
@property
|
|
10145
|
+
def SchemaName(self):
|
|
10146
|
+
r"""schema名
|
|
10147
|
+
:rtype: str
|
|
10148
|
+
"""
|
|
10149
|
+
return self._SchemaName
|
|
10150
|
+
|
|
10151
|
+
@SchemaName.setter
|
|
10152
|
+
def SchemaName(self, SchemaName):
|
|
10153
|
+
self._SchemaName = SchemaName
|
|
10154
|
+
|
|
10155
|
+
@property
|
|
10156
|
+
def TableName(self):
|
|
10157
|
+
r"""数据表名
|
|
10158
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10159
|
+
:rtype: str
|
|
10160
|
+
"""
|
|
10161
|
+
return self._TableName
|
|
10162
|
+
|
|
10163
|
+
@TableName.setter
|
|
10164
|
+
def TableName(self, TableName):
|
|
10165
|
+
self._TableName = TableName
|
|
10166
|
+
|
|
10167
|
+
@property
|
|
10168
|
+
def ChunkId(self):
|
|
10169
|
+
r"""分块号
|
|
10170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10171
|
+
:rtype: int
|
|
10172
|
+
"""
|
|
10173
|
+
return self._ChunkId
|
|
10174
|
+
|
|
10175
|
+
@ChunkId.setter
|
|
10176
|
+
def ChunkId(self, ChunkId):
|
|
10177
|
+
self._ChunkId = ChunkId
|
|
10178
|
+
|
|
10179
|
+
@property
|
|
10180
|
+
def Identifier(self):
|
|
10181
|
+
r"""数据标识符,比如主键信息等
|
|
10182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10183
|
+
:rtype: str
|
|
10184
|
+
"""
|
|
10185
|
+
return self._Identifier
|
|
10186
|
+
|
|
10187
|
+
@Identifier.setter
|
|
10188
|
+
def Identifier(self, Identifier):
|
|
10189
|
+
self._Identifier = Identifier
|
|
10190
|
+
|
|
10191
|
+
@property
|
|
10192
|
+
def DiffType(self):
|
|
10193
|
+
r"""不一致类型,可能的取值为:data - 两边数据不一致;srcLack - 源缺失;dstLack - 目标缺失
|
|
10194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10195
|
+
:rtype: str
|
|
10196
|
+
"""
|
|
10197
|
+
return self._DiffType
|
|
10198
|
+
|
|
10199
|
+
@DiffType.setter
|
|
10200
|
+
def DiffType(self, DiffType):
|
|
10201
|
+
self._DiffType = DiffType
|
|
10202
|
+
|
|
10203
|
+
@property
|
|
10204
|
+
def SchemaInfo(self):
|
|
10205
|
+
r"""表结构信息
|
|
10206
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10207
|
+
:rtype: list of str
|
|
10208
|
+
"""
|
|
10209
|
+
return self._SchemaInfo
|
|
10210
|
+
|
|
10211
|
+
@SchemaInfo.setter
|
|
10212
|
+
def SchemaInfo(self, SchemaInfo):
|
|
10213
|
+
self._SchemaInfo = SchemaInfo
|
|
10214
|
+
|
|
10215
|
+
@property
|
|
10216
|
+
def SrcItem(self):
|
|
10217
|
+
r"""源端数据
|
|
10218
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10219
|
+
:rtype: list of str
|
|
10220
|
+
"""
|
|
10221
|
+
return self._SrcItem
|
|
10222
|
+
|
|
10223
|
+
@SrcItem.setter
|
|
10224
|
+
def SrcItem(self, SrcItem):
|
|
10225
|
+
self._SrcItem = SrcItem
|
|
10226
|
+
|
|
10227
|
+
@property
|
|
10228
|
+
def DstItem(self):
|
|
10229
|
+
r"""目标端数据
|
|
10230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10231
|
+
:rtype: list of str
|
|
10232
|
+
"""
|
|
10233
|
+
return self._DstItem
|
|
10234
|
+
|
|
10235
|
+
@DstItem.setter
|
|
10236
|
+
def DstItem(self, DstItem):
|
|
10237
|
+
self._DstItem = DstItem
|
|
10238
|
+
|
|
10239
|
+
@property
|
|
10240
|
+
def FinishedAt(self):
|
|
10241
|
+
r"""完成时间
|
|
10242
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10243
|
+
:rtype: str
|
|
10244
|
+
"""
|
|
10245
|
+
return self._FinishedAt
|
|
10246
|
+
|
|
10247
|
+
@FinishedAt.setter
|
|
10248
|
+
def FinishedAt(self, FinishedAt):
|
|
10249
|
+
self._FinishedAt = FinishedAt
|
|
10250
|
+
|
|
10251
|
+
|
|
10252
|
+
def _deserialize(self, params):
|
|
10253
|
+
self._DBName = params.get("DBName")
|
|
10254
|
+
self._SchemaName = params.get("SchemaName")
|
|
10255
|
+
self._TableName = params.get("TableName")
|
|
10256
|
+
self._ChunkId = params.get("ChunkId")
|
|
10257
|
+
self._Identifier = params.get("Identifier")
|
|
10258
|
+
self._DiffType = params.get("DiffType")
|
|
10259
|
+
self._SchemaInfo = params.get("SchemaInfo")
|
|
10260
|
+
self._SrcItem = params.get("SrcItem")
|
|
10261
|
+
self._DstItem = params.get("DstItem")
|
|
10262
|
+
self._FinishedAt = params.get("FinishedAt")
|
|
10263
|
+
memeber_set = set(params.keys())
|
|
10264
|
+
for name, value in vars(self).items():
|
|
10265
|
+
property_name = name[1:]
|
|
10266
|
+
if property_name in memeber_set:
|
|
10267
|
+
memeber_set.remove(property_name)
|
|
10268
|
+
if len(memeber_set) > 0:
|
|
10269
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10270
|
+
|
|
10271
|
+
|
|
10272
|
+
|
|
9672
10273
|
class DifferenceAdvancedObjectsDetail(AbstractModel):
|
|
9673
10274
|
r"""数据库不一致的详情,mongodb业务用到
|
|
9674
10275
|
|
|
@@ -12746,23 +13347,22 @@ class MigrateOption(AbstractModel):
|
|
|
12746
13347
|
|
|
12747
13348
|
def __init__(self):
|
|
12748
13349
|
r"""
|
|
12749
|
-
:param _DatabaseTable:
|
|
13350
|
+
:param _DatabaseTable: <p>迁移对象选项,需要告知迁移服务迁移哪些库表对象</p>
|
|
12750
13351
|
:type DatabaseTable: :class:`tencentcloud.dts.v20211206.models.DatabaseTableObject`
|
|
12751
|
-
:param _MigrateType:
|
|
13352
|
+
:param _MigrateType: <p>迁移类型,full(全量迁移),structure(结构迁移),fullAndIncrement(全量加增量迁移), 默认为fullAndIncrement;注意redis,keewidb产品只支持fullAndIncrement类型。</p>
|
|
12752
13353
|
:type MigrateType: str
|
|
12753
|
-
:param _Consistency:
|
|
13354
|
+
:param _Consistency: <p>数据一致性校验选项, 默认为不开启一致性校验</p>
|
|
12754
13355
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12755
13356
|
:type Consistency: :class:`tencentcloud.dts.v20211206.models.ConsistencyOption`
|
|
12756
|
-
:param _IsMigrateAccount:
|
|
13357
|
+
:param _IsMigrateAccount: <p>是否迁移账号,true(迁移账号),false(不迁移账号)</p>
|
|
12757
13358
|
:type IsMigrateAccount: bool
|
|
12758
|
-
:param _IsOverrideRoot:
|
|
13359
|
+
:param _IsOverrideRoot: <p>是否用源库Root账户覆盖目标库,值包括:false-不覆盖,true-覆盖,选择库表或者结构迁移时应该为false,注意只对旧版迁移有效</p>
|
|
12759
13360
|
:type IsOverrideRoot: bool
|
|
12760
|
-
:param _IsDstReadOnly:
|
|
13361
|
+
:param _IsDstReadOnly: <p>是否在迁移时设置目标库只读(仅对mysql有效),true(设置只读)、false(不设置只读,默认此值)</p>
|
|
12761
13362
|
:type IsDstReadOnly: bool
|
|
12762
|
-
:param _ExtraAttr:
|
|
12763
|
-
["DstWriteMode":normal, 目标库写入模式,可取值clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(要求目标端为空,否则校验不通过) ,不显示指定默认以覆盖写的方式执行任务 "IsDstReadOnly":true, 是否在迁移时设置目标库只读,true(设置只读)、false(不设置只读) "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB) "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB) "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒) "ReplBacklogSize":512, 环形缓冲区容量限制(MB) "ReplTimeout":120, 复制超时时间(秒) "IsExpireKey":"true",过期key自动淘汰]
|
|
13363
|
+
:param _ExtraAttr: <p>其他附加信息,对于特定库可设置额外参数,Redis可定义如下的参数:<br>["DstWriteMode":normal, 目标库写入模式,可取值clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(要求目标端为空,否则校验不通过) ,不显示指定默认以覆盖写的方式执行任务 "IsDstReadOnly":true, 是否在迁移时设置目标库只读,true(设置只读)、false(不设置只读) "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB) "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB) "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒) "ReplBacklogSize":512, 环形缓冲区容量限制(MB) "ReplTimeout":120, 复制超时时间(秒) "IsExpireKey":"true",过期key自动淘汰]</p>
|
|
12764
13364
|
:type ExtraAttr: list of KeyValuePairOption
|
|
12765
|
-
:param _MigrateWay: pgsql迁移分类:logical(逻辑迁移)、physical(物理迁移)
|
|
13365
|
+
:param _MigrateWay: <p>pgsql迁移分类:logical(逻辑迁移)、physical(物理迁移)</p>
|
|
12766
13366
|
:type MigrateWay: str
|
|
12767
13367
|
"""
|
|
12768
13368
|
self._DatabaseTable = None
|
|
@@ -12776,7 +13376,7 @@ class MigrateOption(AbstractModel):
|
|
|
12776
13376
|
|
|
12777
13377
|
@property
|
|
12778
13378
|
def DatabaseTable(self):
|
|
12779
|
-
r"""
|
|
13379
|
+
r"""<p>迁移对象选项,需要告知迁移服务迁移哪些库表对象</p>
|
|
12780
13380
|
:rtype: :class:`tencentcloud.dts.v20211206.models.DatabaseTableObject`
|
|
12781
13381
|
"""
|
|
12782
13382
|
return self._DatabaseTable
|
|
@@ -12787,7 +13387,7 @@ class MigrateOption(AbstractModel):
|
|
|
12787
13387
|
|
|
12788
13388
|
@property
|
|
12789
13389
|
def MigrateType(self):
|
|
12790
|
-
r"""
|
|
13390
|
+
r"""<p>迁移类型,full(全量迁移),structure(结构迁移),fullAndIncrement(全量加增量迁移), 默认为fullAndIncrement;注意redis,keewidb产品只支持fullAndIncrement类型。</p>
|
|
12791
13391
|
:rtype: str
|
|
12792
13392
|
"""
|
|
12793
13393
|
return self._MigrateType
|
|
@@ -12798,7 +13398,7 @@ class MigrateOption(AbstractModel):
|
|
|
12798
13398
|
|
|
12799
13399
|
@property
|
|
12800
13400
|
def Consistency(self):
|
|
12801
|
-
r"""
|
|
13401
|
+
r"""<p>数据一致性校验选项, 默认为不开启一致性校验</p>
|
|
12802
13402
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12803
13403
|
:rtype: :class:`tencentcloud.dts.v20211206.models.ConsistencyOption`
|
|
12804
13404
|
"""
|
|
@@ -12810,7 +13410,7 @@ class MigrateOption(AbstractModel):
|
|
|
12810
13410
|
|
|
12811
13411
|
@property
|
|
12812
13412
|
def IsMigrateAccount(self):
|
|
12813
|
-
r"""
|
|
13413
|
+
r"""<p>是否迁移账号,true(迁移账号),false(不迁移账号)</p>
|
|
12814
13414
|
:rtype: bool
|
|
12815
13415
|
"""
|
|
12816
13416
|
return self._IsMigrateAccount
|
|
@@ -12821,7 +13421,7 @@ class MigrateOption(AbstractModel):
|
|
|
12821
13421
|
|
|
12822
13422
|
@property
|
|
12823
13423
|
def IsOverrideRoot(self):
|
|
12824
|
-
r"""
|
|
13424
|
+
r"""<p>是否用源库Root账户覆盖目标库,值包括:false-不覆盖,true-覆盖,选择库表或者结构迁移时应该为false,注意只对旧版迁移有效</p>
|
|
12825
13425
|
:rtype: bool
|
|
12826
13426
|
"""
|
|
12827
13427
|
return self._IsOverrideRoot
|
|
@@ -12832,7 +13432,7 @@ class MigrateOption(AbstractModel):
|
|
|
12832
13432
|
|
|
12833
13433
|
@property
|
|
12834
13434
|
def IsDstReadOnly(self):
|
|
12835
|
-
r"""
|
|
13435
|
+
r"""<p>是否在迁移时设置目标库只读(仅对mysql有效),true(设置只读)、false(不设置只读,默认此值)</p>
|
|
12836
13436
|
:rtype: bool
|
|
12837
13437
|
"""
|
|
12838
13438
|
return self._IsDstReadOnly
|
|
@@ -12843,8 +13443,7 @@ class MigrateOption(AbstractModel):
|
|
|
12843
13443
|
|
|
12844
13444
|
@property
|
|
12845
13445
|
def ExtraAttr(self):
|
|
12846
|
-
r"""
|
|
12847
|
-
["DstWriteMode":normal, 目标库写入模式,可取值clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(要求目标端为空,否则校验不通过) ,不显示指定默认以覆盖写的方式执行任务 "IsDstReadOnly":true, 是否在迁移时设置目标库只读,true(设置只读)、false(不设置只读) "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB) "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB) "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒) "ReplBacklogSize":512, 环形缓冲区容量限制(MB) "ReplTimeout":120, 复制超时时间(秒) "IsExpireKey":"true",过期key自动淘汰]
|
|
13446
|
+
r"""<p>其他附加信息,对于特定库可设置额外参数,Redis可定义如下的参数:<br>["DstWriteMode":normal, 目标库写入模式,可取值clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(要求目标端为空,否则校验不通过) ,不显示指定默认以覆盖写的方式执行任务 "IsDstReadOnly":true, 是否在迁移时设置目标库只读,true(设置只读)、false(不设置只读) "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB) "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB) "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒) "ReplBacklogSize":512, 环形缓冲区容量限制(MB) "ReplTimeout":120, 复制超时时间(秒) "IsExpireKey":"true",过期key自动淘汰]</p>
|
|
12848
13447
|
:rtype: list of KeyValuePairOption
|
|
12849
13448
|
"""
|
|
12850
13449
|
return self._ExtraAttr
|
|
@@ -12855,7 +13454,7 @@ class MigrateOption(AbstractModel):
|
|
|
12855
13454
|
|
|
12856
13455
|
@property
|
|
12857
13456
|
def MigrateWay(self):
|
|
12858
|
-
r"""pgsql迁移分类:logical(逻辑迁移)、physical(物理迁移)
|
|
13457
|
+
r"""<p>pgsql迁移分类:logical(逻辑迁移)、physical(物理迁移)</p>
|
|
12859
13458
|
:rtype: str
|
|
12860
13459
|
"""
|
|
12861
13460
|
return self._MigrateWay
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dts
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.88
|
|
4
4
|
Summary: Tencent Cloud Dts 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.88
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.88
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.79
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|