tencentcloud-sdk-python 3.0.1477__py2.py3-none-any.whl → 3.0.1479__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +129 -0
- tencentcloud/cfg/v20210820/models.py +15 -0
- tencentcloud/csip/v20221121/models.py +84 -0
- tencentcloud/dbbrain/v20210527/models.py +12 -12
- tencentcloud/dts/v20211206/dts_client.py +8 -8
- tencentcloud/dts/v20211206/errorcodes.py +9 -0
- tencentcloud/dts/v20211206/models.py +259 -104
- tencentcloud/es/v20180416/models.py +150 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -3
- tencentcloud/essbasic/v20210526/models.py +4 -12
- tencentcloud/gaap/v20180529/models.py +17 -2
- tencentcloud/ioa/v20220601/errorcodes.py +3 -0
- tencentcloud/ioa/v20220601/ioa_client.py +23 -0
- tencentcloud/ioa/v20220601/models.py +224 -0
- tencentcloud/lighthouse/v20200324/models.py +71 -0
- tencentcloud/monitor/v20180724/models.py +182 -2
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +56 -10
- tencentcloud/oceanus/v20190422/models.py +2 -2
- tencentcloud/ocr/v20181119/ocr_client.py +15 -5
- tencentcloud/rum/v20210622/models.py +30 -0
- tencentcloud/teo/v20220901/models.py +22 -14
- tencentcloud/tke/v20180525/models.py +116 -4
- tencentcloud/tmt/v20180321/models.py +139 -0
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +1824 -252
- tencentcloud/vpc/v20170312/vpc_client.py +276 -0
- tencentcloud/wedata/v20250806/models.py +71 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/RECORD +36 -36
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/top_level.txt +0 -0
|
@@ -965,10 +965,22 @@ class CompareOptions(AbstractModel):
|
|
|
965
965
|
:type SampleRate: int
|
|
966
966
|
:param _ThreadCount: 线程数,取值1-8,默认为1
|
|
967
967
|
:type ThreadCount: int
|
|
968
|
+
:param _Type: 对比类型:builtin(内置校验)、independent(独立校验)。默认为builtin,mongodb及redis链路不支持独立校验。
|
|
969
|
+
:type Type: str
|
|
970
|
+
:param _CompareMode: 校验类型,枚举值:structureCheck-结构校验(目前仅postgresql支持)、full-全量校验、increment-增量校验(如果勾选了增量校验,Method只能选dataCheck)、advanceObject-数据库信息校验(目前仅mongodb支持)
|
|
971
|
+
:type CompareMode: list of str
|
|
972
|
+
:param _ReCheckTime: 复检次数
|
|
973
|
+
:type ReCheckTime: int
|
|
974
|
+
:param _ReCheckInterval: 复检时间间隔,单位为分钟,取值 1-60
|
|
975
|
+
:type ReCheckInterval: int
|
|
968
976
|
"""
|
|
969
977
|
self._Method = None
|
|
970
978
|
self._SampleRate = None
|
|
971
979
|
self._ThreadCount = None
|
|
980
|
+
self._Type = None
|
|
981
|
+
self._CompareMode = None
|
|
982
|
+
self._ReCheckTime = None
|
|
983
|
+
self._ReCheckInterval = None
|
|
972
984
|
|
|
973
985
|
@property
|
|
974
986
|
def Method(self):
|
|
@@ -1003,11 +1015,59 @@ class CompareOptions(AbstractModel):
|
|
|
1003
1015
|
def ThreadCount(self, ThreadCount):
|
|
1004
1016
|
self._ThreadCount = ThreadCount
|
|
1005
1017
|
|
|
1018
|
+
@property
|
|
1019
|
+
def Type(self):
|
|
1020
|
+
r"""对比类型:builtin(内置校验)、independent(独立校验)。默认为builtin,mongodb及redis链路不支持独立校验。
|
|
1021
|
+
:rtype: str
|
|
1022
|
+
"""
|
|
1023
|
+
return self._Type
|
|
1024
|
+
|
|
1025
|
+
@Type.setter
|
|
1026
|
+
def Type(self, Type):
|
|
1027
|
+
self._Type = Type
|
|
1028
|
+
|
|
1029
|
+
@property
|
|
1030
|
+
def CompareMode(self):
|
|
1031
|
+
r"""校验类型,枚举值:structureCheck-结构校验(目前仅postgresql支持)、full-全量校验、increment-增量校验(如果勾选了增量校验,Method只能选dataCheck)、advanceObject-数据库信息校验(目前仅mongodb支持)
|
|
1032
|
+
:rtype: list of str
|
|
1033
|
+
"""
|
|
1034
|
+
return self._CompareMode
|
|
1035
|
+
|
|
1036
|
+
@CompareMode.setter
|
|
1037
|
+
def CompareMode(self, CompareMode):
|
|
1038
|
+
self._CompareMode = CompareMode
|
|
1039
|
+
|
|
1040
|
+
@property
|
|
1041
|
+
def ReCheckTime(self):
|
|
1042
|
+
r"""复检次数
|
|
1043
|
+
:rtype: int
|
|
1044
|
+
"""
|
|
1045
|
+
return self._ReCheckTime
|
|
1046
|
+
|
|
1047
|
+
@ReCheckTime.setter
|
|
1048
|
+
def ReCheckTime(self, ReCheckTime):
|
|
1049
|
+
self._ReCheckTime = ReCheckTime
|
|
1050
|
+
|
|
1051
|
+
@property
|
|
1052
|
+
def ReCheckInterval(self):
|
|
1053
|
+
r"""复检时间间隔,单位为分钟,取值 1-60
|
|
1054
|
+
:rtype: int
|
|
1055
|
+
"""
|
|
1056
|
+
return self._ReCheckInterval
|
|
1057
|
+
|
|
1058
|
+
@ReCheckInterval.setter
|
|
1059
|
+
def ReCheckInterval(self, ReCheckInterval):
|
|
1060
|
+
self._ReCheckInterval = ReCheckInterval
|
|
1061
|
+
|
|
1006
1062
|
|
|
1007
1063
|
def _deserialize(self, params):
|
|
1008
1064
|
self._Method = params.get("Method")
|
|
1009
1065
|
self._SampleRate = params.get("SampleRate")
|
|
1010
1066
|
self._ThreadCount = params.get("ThreadCount")
|
|
1067
|
+
self._Type = params.get("Type")
|
|
1068
|
+
self._CompareMode = params.get("CompareMode")
|
|
1069
|
+
self._ReCheckTime = params.get("ReCheckTime")
|
|
1070
|
+
self._ReCheckInterval = params.get("ReCheckInterval")
|
|
1011
1071
|
memeber_set = set(params.keys())
|
|
1012
1072
|
for name, value in vars(self).items():
|
|
1013
1073
|
property_name = name[1:]
|
|
@@ -1422,7 +1482,8 @@ class CompleteMigrateJobRequest(AbstractModel):
|
|
|
1422
1482
|
|
|
1423
1483
|
def __init__(self):
|
|
1424
1484
|
r"""
|
|
1425
|
-
:param _JobId: 数据迁移任务ID
|
|
1485
|
+
:param _JobId: 数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
1486
|
+
|
|
1426
1487
|
:type JobId: str
|
|
1427
1488
|
:param _CompleteMode: 完成任务的方式,仅支持旧版MySQL迁移任务。waitForSync-等待主从差距为0才停止,immediately-立即完成,不会等待主从差距一致。默认为waitForSync
|
|
1428
1489
|
:type CompleteMode: str
|
|
@@ -1432,7 +1493,8 @@ class CompleteMigrateJobRequest(AbstractModel):
|
|
|
1432
1493
|
|
|
1433
1494
|
@property
|
|
1434
1495
|
def JobId(self):
|
|
1435
|
-
r"""数据迁移任务ID
|
|
1496
|
+
r"""数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
1497
|
+
|
|
1436
1498
|
:rtype: str
|
|
1437
1499
|
"""
|
|
1438
1500
|
return self._JobId
|
|
@@ -1501,7 +1563,7 @@ class ConfigureSubscribeJobRequest(AbstractModel):
|
|
|
1501
1563
|
|
|
1502
1564
|
def __init__(self):
|
|
1503
1565
|
r"""
|
|
1504
|
-
:param _SubscribeId: 数据订阅实例的 ID
|
|
1566
|
+
:param _SubscribeId: 数据订阅实例的 ID,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
1505
1567
|
:type SubscribeId: str
|
|
1506
1568
|
:param _SubscribeMode: 数据订阅的类型,当 DatabaseType 不为 mongodb 时,枚举值为:all-全实例更新;dml-数据更新;ddl-结构更新;dmlAndDdl-数据更新+结构更新。当 DatabaseType 为 mongodb 时,枚举值为 all-全实例更新;database-订阅单库;collection-订阅单集合
|
|
1507
1569
|
:type SubscribeMode: str
|
|
@@ -1541,7 +1603,7 @@ mongo选填参数:SubscribeType-订阅类型,目前只支持changeStream,
|
|
|
1541
1603
|
|
|
1542
1604
|
@property
|
|
1543
1605
|
def SubscribeId(self):
|
|
1544
|
-
r"""数据订阅实例的 ID
|
|
1606
|
+
r"""数据订阅实例的 ID,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
1545
1607
|
:rtype: str
|
|
1546
1608
|
"""
|
|
1547
1609
|
return self._SubscribeId
|
|
@@ -2063,9 +2125,9 @@ class ConflictHandleOption(AbstractModel):
|
|
|
2063
2125
|
r"""
|
|
2064
2126
|
:param _ConditionColumn: 条件覆盖的列
|
|
2065
2127
|
:type ConditionColumn: str
|
|
2066
|
-
:param _ConditionOperator:
|
|
2128
|
+
:param _ConditionOperator: 条件覆盖操作,目前仅支持>
|
|
2067
2129
|
:type ConditionOperator: str
|
|
2068
|
-
:param _ConditionOrderInSrcAndDst:
|
|
2130
|
+
:param _ConditionOrderInSrcAndDst: 条件覆盖优先级处理,支持类型有>,<,=
|
|
2069
2131
|
:type ConditionOrderInSrcAndDst: str
|
|
2070
2132
|
"""
|
|
2071
2133
|
self._ConditionColumn = None
|
|
@@ -2085,7 +2147,7 @@ class ConflictHandleOption(AbstractModel):
|
|
|
2085
2147
|
|
|
2086
2148
|
@property
|
|
2087
2149
|
def ConditionOperator(self):
|
|
2088
|
-
r"""
|
|
2150
|
+
r"""条件覆盖操作,目前仅支持>
|
|
2089
2151
|
:rtype: str
|
|
2090
2152
|
"""
|
|
2091
2153
|
return self._ConditionOperator
|
|
@@ -2096,7 +2158,7 @@ class ConflictHandleOption(AbstractModel):
|
|
|
2096
2158
|
|
|
2097
2159
|
@property
|
|
2098
2160
|
def ConditionOrderInSrcAndDst(self):
|
|
2099
|
-
r"""
|
|
2161
|
+
r"""条件覆盖优先级处理,支持类型有>,<,=
|
|
2100
2162
|
:rtype: str
|
|
2101
2163
|
"""
|
|
2102
2164
|
return self._ConditionOrderInSrcAndDst
|
|
@@ -2129,8 +2191,18 @@ class ConsistencyOption(AbstractModel):
|
|
|
2129
2191
|
r"""
|
|
2130
2192
|
:param _Mode: 一致性检测类型: full(全量检测迁移对象)、noCheck(不检测)、notConfigured(未配置)
|
|
2131
2193
|
:type Mode: str
|
|
2194
|
+
:param _ObjectMode: 校验对象选择。枚举值:sameAsMigrate-与迁移同步任务相同、custom-用户自定义,搭配Objects操作
|
|
2195
|
+
:type ObjectMode: str
|
|
2196
|
+
:param _Objects: 校验对象
|
|
2197
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2198
|
+
:type Objects: :class:`tencentcloud.dts.v20211206.models.DatabaseTableObject`
|
|
2199
|
+
:param _Options: 校验配置
|
|
2200
|
+
:type Options: :class:`tencentcloud.dts.v20211206.models.CompareOptions`
|
|
2132
2201
|
"""
|
|
2133
2202
|
self._Mode = None
|
|
2203
|
+
self._ObjectMode = None
|
|
2204
|
+
self._Objects = None
|
|
2205
|
+
self._Options = None
|
|
2134
2206
|
|
|
2135
2207
|
@property
|
|
2136
2208
|
def Mode(self):
|
|
@@ -2143,9 +2215,50 @@ class ConsistencyOption(AbstractModel):
|
|
|
2143
2215
|
def Mode(self, Mode):
|
|
2144
2216
|
self._Mode = Mode
|
|
2145
2217
|
|
|
2218
|
+
@property
|
|
2219
|
+
def ObjectMode(self):
|
|
2220
|
+
r"""校验对象选择。枚举值:sameAsMigrate-与迁移同步任务相同、custom-用户自定义,搭配Objects操作
|
|
2221
|
+
:rtype: str
|
|
2222
|
+
"""
|
|
2223
|
+
return self._ObjectMode
|
|
2224
|
+
|
|
2225
|
+
@ObjectMode.setter
|
|
2226
|
+
def ObjectMode(self, ObjectMode):
|
|
2227
|
+
self._ObjectMode = ObjectMode
|
|
2228
|
+
|
|
2229
|
+
@property
|
|
2230
|
+
def Objects(self):
|
|
2231
|
+
r"""校验对象
|
|
2232
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2233
|
+
:rtype: :class:`tencentcloud.dts.v20211206.models.DatabaseTableObject`
|
|
2234
|
+
"""
|
|
2235
|
+
return self._Objects
|
|
2236
|
+
|
|
2237
|
+
@Objects.setter
|
|
2238
|
+
def Objects(self, Objects):
|
|
2239
|
+
self._Objects = Objects
|
|
2240
|
+
|
|
2241
|
+
@property
|
|
2242
|
+
def Options(self):
|
|
2243
|
+
r"""校验配置
|
|
2244
|
+
:rtype: :class:`tencentcloud.dts.v20211206.models.CompareOptions`
|
|
2245
|
+
"""
|
|
2246
|
+
return self._Options
|
|
2247
|
+
|
|
2248
|
+
@Options.setter
|
|
2249
|
+
def Options(self, Options):
|
|
2250
|
+
self._Options = Options
|
|
2251
|
+
|
|
2146
2252
|
|
|
2147
2253
|
def _deserialize(self, params):
|
|
2148
2254
|
self._Mode = params.get("Mode")
|
|
2255
|
+
self._ObjectMode = params.get("ObjectMode")
|
|
2256
|
+
if params.get("Objects") is not None:
|
|
2257
|
+
self._Objects = DatabaseTableObject()
|
|
2258
|
+
self._Objects._deserialize(params.get("Objects"))
|
|
2259
|
+
if params.get("Options") is not None:
|
|
2260
|
+
self._Options = CompareOptions()
|
|
2261
|
+
self._Options._deserialize(params.get("Options"))
|
|
2149
2262
|
memeber_set = set(params.keys())
|
|
2150
2263
|
for name, value in vars(self).items():
|
|
2151
2264
|
property_name = name[1:]
|
|
@@ -2361,7 +2474,8 @@ class CreateCompareTaskRequest(AbstractModel):
|
|
|
2361
2474
|
|
|
2362
2475
|
def __init__(self):
|
|
2363
2476
|
r"""
|
|
2364
|
-
:param _JobId: 任务 Id
|
|
2477
|
+
:param _JobId: 任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
2478
|
+
|
|
2365
2479
|
:type JobId: str
|
|
2366
2480
|
:param _TaskName: 数据对比任务名称,若为空则默认给CompareTaskId相同值
|
|
2367
2481
|
:type TaskName: str
|
|
@@ -2380,7 +2494,8 @@ class CreateCompareTaskRequest(AbstractModel):
|
|
|
2380
2494
|
|
|
2381
2495
|
@property
|
|
2382
2496
|
def JobId(self):
|
|
2383
|
-
r"""任务 Id
|
|
2497
|
+
r"""任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
2498
|
+
|
|
2384
2499
|
:rtype: str
|
|
2385
2500
|
"""
|
|
2386
2501
|
return self._JobId
|
|
@@ -3214,7 +3329,7 @@ class CreateSyncJobRequest(AbstractModel):
|
|
|
3214
3329
|
:type DstDatabaseType: str
|
|
3215
3330
|
:param _DstRegion: 目标端数据库所在地域,如ap-guangzhou
|
|
3216
3331
|
:type DstRegion: str
|
|
3217
|
-
:param _Specification: 同步任务规格,Standard
|
|
3332
|
+
:param _Specification: 同步任务规格,Standard:标准版,目前仅支持Standard规格。
|
|
3218
3333
|
:type Specification: str
|
|
3219
3334
|
:param _TimeSpan: 购买时长(单位:月),当PayMode值为PrePay则此项配置有意义,默认为1月,取值范围为[1,100]
|
|
3220
3335
|
:type TimeSpan: int
|
|
@@ -3302,7 +3417,7 @@ class CreateSyncJobRequest(AbstractModel):
|
|
|
3302
3417
|
|
|
3303
3418
|
@property
|
|
3304
3419
|
def Specification(self):
|
|
3305
|
-
r"""同步任务规格,Standard
|
|
3420
|
+
r"""同步任务规格,Standard:标准版,目前仅支持Standard规格。
|
|
3306
3421
|
:rtype: str
|
|
3307
3422
|
"""
|
|
3308
3423
|
return self._Specification
|
|
@@ -4646,7 +4761,9 @@ class DatabaseTableObject(AbstractModel):
|
|
|
4646
4761
|
:type ObjectMode: str
|
|
4647
4762
|
:param _Databases: 迁移对象,当 ObjectMode 为 partial 时,不为空
|
|
4648
4763
|
:type Databases: list of DBItem
|
|
4649
|
-
:param _AdvancedObjects: 高级对象类型,如trigger、function、procedure、event
|
|
4764
|
+
:param _AdvancedObjects: 高级对象类型,如trigger(触发器)、function(函数)、procedure(存储过程)、event(事件)。注意:如果要迁移同步高级对象,此配置中应该包含对应的高级对象类型。
|
|
4765
|
+
|
|
4766
|
+
> 当前支持高级对象迁移的场景为MySQL、TDSQL-CMySQL、MariaDB、Percona之间的数据迁移。
|
|
4650
4767
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4651
4768
|
:type AdvancedObjects: list of str
|
|
4652
4769
|
"""
|
|
@@ -4678,7 +4795,9 @@ class DatabaseTableObject(AbstractModel):
|
|
|
4678
4795
|
|
|
4679
4796
|
@property
|
|
4680
4797
|
def AdvancedObjects(self):
|
|
4681
|
-
r"""高级对象类型,如trigger、function、procedure、event
|
|
4798
|
+
r"""高级对象类型,如trigger(触发器)、function(函数)、procedure(存储过程)、event(事件)。注意:如果要迁移同步高级对象,此配置中应该包含对应的高级对象类型。
|
|
4799
|
+
|
|
4800
|
+
> 当前支持高级对象迁移的场景为MySQL、TDSQL-CMySQL、MariaDB、Percona之间的数据迁移。
|
|
4682
4801
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4683
4802
|
:rtype: list of str
|
|
4684
4803
|
"""
|
|
@@ -4768,9 +4887,9 @@ class DeleteCompareTaskRequest(AbstractModel):
|
|
|
4768
4887
|
|
|
4769
4888
|
def __init__(self):
|
|
4770
4889
|
r"""
|
|
4771
|
-
:param _JobId: 迁移任务 Id
|
|
4890
|
+
:param _JobId: 迁移任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
4772
4891
|
:type JobId: str
|
|
4773
|
-
:param _CompareTaskId: 对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9
|
|
4892
|
+
:param _CompareTaskId: 对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9。可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
4774
4893
|
:type CompareTaskId: str
|
|
4775
4894
|
"""
|
|
4776
4895
|
self._JobId = None
|
|
@@ -4778,7 +4897,7 @@ class DeleteCompareTaskRequest(AbstractModel):
|
|
|
4778
4897
|
|
|
4779
4898
|
@property
|
|
4780
4899
|
def JobId(self):
|
|
4781
|
-
r"""迁移任务 Id
|
|
4900
|
+
r"""迁移任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
4782
4901
|
:rtype: str
|
|
4783
4902
|
"""
|
|
4784
4903
|
return self._JobId
|
|
@@ -4789,7 +4908,7 @@ class DeleteCompareTaskRequest(AbstractModel):
|
|
|
4789
4908
|
|
|
4790
4909
|
@property
|
|
4791
4910
|
def CompareTaskId(self):
|
|
4792
|
-
r"""对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9
|
|
4911
|
+
r"""对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9。可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
4793
4912
|
:rtype: str
|
|
4794
4913
|
"""
|
|
4795
4914
|
return self._CompareTaskId
|
|
@@ -5328,7 +5447,8 @@ class DescribeCompareTasksRequest(AbstractModel):
|
|
|
5328
5447
|
|
|
5329
5448
|
def __init__(self):
|
|
5330
5449
|
r"""
|
|
5331
|
-
:param _JobId: 迁移任务 Id
|
|
5450
|
+
:param _JobId: 迁移任务 Id,可通过 [DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084) 接口获取。
|
|
5451
|
+
|
|
5332
5452
|
:type JobId: str
|
|
5333
5453
|
:param _Limit: 分页设置,表示每页显示多少条任务,默认为 20
|
|
5334
5454
|
:type Limit: int
|
|
@@ -5347,7 +5467,8 @@ class DescribeCompareTasksRequest(AbstractModel):
|
|
|
5347
5467
|
|
|
5348
5468
|
@property
|
|
5349
5469
|
def JobId(self):
|
|
5350
|
-
r"""迁移任务 Id
|
|
5470
|
+
r"""迁移任务 Id,可通过 [DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084) 接口获取。
|
|
5471
|
+
|
|
5351
5472
|
:rtype: str
|
|
5352
5473
|
"""
|
|
5353
5474
|
return self._JobId
|
|
@@ -5616,13 +5737,13 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
5616
5737
|
|
|
5617
5738
|
def __init__(self):
|
|
5618
5739
|
r"""
|
|
5619
|
-
:param _DatabaseType: 数据库类型,如mysql,redis
|
|
5740
|
+
:param _DatabaseType: 数据库类型,如mysql,percona,mariadb,tdsqlmysql,mariadb,postgresql,cynosdbmysql,redis,tendis,keewidb,tdstore,mongodb,clickhouse,sqlserver等。
|
|
5620
5741
|
:type DatabaseType: str
|
|
5621
5742
|
:param _MigrateRole: 实例作为迁移的源还是目标,src(表示源),dst(表示目标)
|
|
5622
5743
|
:type MigrateRole: str
|
|
5623
|
-
:param _InstanceId: 云数据库实例ID
|
|
5744
|
+
:param _InstanceId: 云数据库实例ID,可通过对应业务实例列表获取实例信息。
|
|
5624
5745
|
:type InstanceId: str
|
|
5625
|
-
:param _InstanceName:
|
|
5746
|
+
:param _InstanceName: 云数据库名称,可通过对应业务实例列表获取实例信息。
|
|
5626
5747
|
:type InstanceName: str
|
|
5627
5748
|
:param _Limit: 返回数量限制
|
|
5628
5749
|
:type Limit: int
|
|
@@ -5650,7 +5771,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
5650
5771
|
|
|
5651
5772
|
@property
|
|
5652
5773
|
def DatabaseType(self):
|
|
5653
|
-
r"""数据库类型,如mysql,redis
|
|
5774
|
+
r"""数据库类型,如mysql,percona,mariadb,tdsqlmysql,mariadb,postgresql,cynosdbmysql,redis,tendis,keewidb,tdstore,mongodb,clickhouse,sqlserver等。
|
|
5654
5775
|
:rtype: str
|
|
5655
5776
|
"""
|
|
5656
5777
|
return self._DatabaseType
|
|
@@ -5672,7 +5793,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
5672
5793
|
|
|
5673
5794
|
@property
|
|
5674
5795
|
def InstanceId(self):
|
|
5675
|
-
r"""云数据库实例ID
|
|
5796
|
+
r"""云数据库实例ID,可通过对应业务实例列表获取实例信息。
|
|
5676
5797
|
:rtype: str
|
|
5677
5798
|
"""
|
|
5678
5799
|
return self._InstanceId
|
|
@@ -5683,7 +5804,7 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
|
5683
5804
|
|
|
5684
5805
|
@property
|
|
5685
5806
|
def InstanceName(self):
|
|
5686
|
-
r"""
|
|
5807
|
+
r"""云数据库名称,可通过对应业务实例列表获取实例信息。
|
|
5687
5808
|
:rtype: str
|
|
5688
5809
|
"""
|
|
5689
5810
|
return self._InstanceName
|
|
@@ -5981,14 +6102,16 @@ class DescribeMigrationDetailRequest(AbstractModel):
|
|
|
5981
6102
|
|
|
5982
6103
|
def __init__(self):
|
|
5983
6104
|
r"""
|
|
5984
|
-
:param _JobId: 数据迁移任务ID
|
|
6105
|
+
:param _JobId: 数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
6106
|
+
|
|
5985
6107
|
:type JobId: str
|
|
5986
6108
|
"""
|
|
5987
6109
|
self._JobId = None
|
|
5988
6110
|
|
|
5989
6111
|
@property
|
|
5990
6112
|
def JobId(self):
|
|
5991
|
-
r"""数据迁移任务ID
|
|
6113
|
+
r"""数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
6114
|
+
|
|
5992
6115
|
:rtype: str
|
|
5993
6116
|
"""
|
|
5994
6117
|
return self._JobId
|
|
@@ -6983,14 +7106,14 @@ class DescribeSubscribeCheckJobRequest(AbstractModel):
|
|
|
6983
7106
|
|
|
6984
7107
|
def __init__(self):
|
|
6985
7108
|
r"""
|
|
6986
|
-
:param _SubscribeId: 数据订阅实例的 ID
|
|
7109
|
+
:param _SubscribeId: 数据订阅实例的 ID,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
6987
7110
|
:type SubscribeId: str
|
|
6988
7111
|
"""
|
|
6989
7112
|
self._SubscribeId = None
|
|
6990
7113
|
|
|
6991
7114
|
@property
|
|
6992
7115
|
def SubscribeId(self):
|
|
6993
|
-
r"""数据订阅实例的 ID
|
|
7116
|
+
r"""数据订阅实例的 ID,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
6994
7117
|
:rtype: str
|
|
6995
7118
|
"""
|
|
6996
7119
|
return self._SubscribeId
|
|
@@ -7023,7 +7146,7 @@ class DescribeSubscribeCheckJobResponse(AbstractModel):
|
|
|
7023
7146
|
:type SubscribeId: str
|
|
7024
7147
|
:param _Message: 失败或者报错提示,成功则提示success。
|
|
7025
7148
|
:type Message: str
|
|
7026
|
-
:param _Status: 任务运行状态,可能值为 running,failed,success
|
|
7149
|
+
:param _Status: 任务运行状态,可能值为 running(运行中),failed(失败),success(成功),unknown(未知状态)。
|
|
7027
7150
|
:type Status: str
|
|
7028
7151
|
:param _Progress: 当前总体进度,范围 0~100
|
|
7029
7152
|
:type Progress: int
|
|
@@ -7069,7 +7192,7 @@ class DescribeSubscribeCheckJobResponse(AbstractModel):
|
|
|
7069
7192
|
|
|
7070
7193
|
@property
|
|
7071
7194
|
def Status(self):
|
|
7072
|
-
r"""任务运行状态,可能值为 running,failed,success
|
|
7195
|
+
r"""任务运行状态,可能值为 running(运行中),failed(失败),success(成功),unknown(未知状态)。
|
|
7073
7196
|
:rtype: str
|
|
7074
7197
|
"""
|
|
7075
7198
|
return self._Status
|
|
@@ -8117,13 +8240,14 @@ class DescribeSyncJobsRequest(AbstractModel):
|
|
|
8117
8240
|
|
|
8118
8241
|
def __init__(self):
|
|
8119
8242
|
r"""
|
|
8120
|
-
:param _JobId: 同步任务id,如sync-werwfs23
|
|
8243
|
+
:param _JobId: 同步任务id,如sync-werwfs23,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
8244
|
+
|
|
8121
8245
|
:type JobId: str
|
|
8122
|
-
:param _JobIds: 同步任务id列表,如sync-
|
|
8246
|
+
:param _JobIds: 同步任务id列表,如["sync-n3gh7md9"]
|
|
8123
8247
|
:type JobIds: list of str
|
|
8124
8248
|
:param _JobName: 同步任务名
|
|
8125
8249
|
:type JobName: str
|
|
8126
|
-
:param _Order:
|
|
8250
|
+
:param _Order: 排序字段,目前仅支持CreateTime字段排序
|
|
8127
8251
|
:type Order: str
|
|
8128
8252
|
:param _OrderSeq: 排序方式,升序为ASC,降序为DESC,默认为CreateTime降序
|
|
8129
8253
|
:type OrderSeq: str
|
|
@@ -8131,11 +8255,11 @@ class DescribeSyncJobsRequest(AbstractModel):
|
|
|
8131
8255
|
:type Offset: int
|
|
8132
8256
|
:param _Limit: 返回同步任务实例数量,默认20,有效区间[1,100]
|
|
8133
8257
|
:type Limit: int
|
|
8134
|
-
:param _Status: 状态集合,如Initialized,CheckPass,Running,ResumableErr,Stopped
|
|
8258
|
+
:param _Status: 状态集合,如Initialized(初始化),CheckPass(校验通过),Running(运行中),ResumableErr(恢复中),Stopped(已结束)
|
|
8135
8259
|
:type Status: list of str
|
|
8136
8260
|
:param _RunMode: 运行模式,如Immediate:立即运行,Timed:定时运行
|
|
8137
8261
|
:type RunMode: str
|
|
8138
|
-
:param _JobType: 任务类型,如mysql2mysql:msyql同步到mysql
|
|
8262
|
+
:param _JobType: 任务类型,如mysql2mysql:msyql同步到mysql;可取值有mysql2mysql、mysql2kafka、tdsqlmysql2kafka、tdsqlmysql2tdsqlmysql、tdsqlmysql2mysql、mysql2tdsqlmysql、mysql2mariadb、mariadb2mariadb、mariadb2kafka、cynosdbmysql2kafka、cynosdbmysql2cynosdbmysql、cynosdbmysql2mysql、mysql2cynosdbmysql、mariadb2tdsqlmysql、tdsqlmysql2cynosdbmysql、cynosdbmysql2tdsqlmysql、tdstore2mysql、tdstore2percona、tdstore2mariadb、tdstore2cynosdbmysql、cynosdbmysql2mariadb、mariadb2cynosdbmysql、tdsqlmysql2mariadb、mariadb2mysql、percona2mariadb、postgresql2postgresql、tdstore2tdsqlmysql、mongodb2mongodb
|
|
8139
8263
|
:type JobType: str
|
|
8140
8264
|
:param _PayMode: 付费类型,PrePay:预付费,PostPay:后付费
|
|
8141
8265
|
:type PayMode: str
|
|
@@ -8163,7 +8287,8 @@ class DescribeSyncJobsRequest(AbstractModel):
|
|
|
8163
8287
|
|
|
8164
8288
|
@property
|
|
8165
8289
|
def JobId(self):
|
|
8166
|
-
r"""同步任务id,如sync-werwfs23
|
|
8290
|
+
r"""同步任务id,如sync-werwfs23,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
8291
|
+
|
|
8167
8292
|
:rtype: str
|
|
8168
8293
|
"""
|
|
8169
8294
|
return self._JobId
|
|
@@ -8174,7 +8299,7 @@ class DescribeSyncJobsRequest(AbstractModel):
|
|
|
8174
8299
|
|
|
8175
8300
|
@property
|
|
8176
8301
|
def JobIds(self):
|
|
8177
|
-
r"""同步任务id列表,如sync-
|
|
8302
|
+
r"""同步任务id列表,如["sync-n3gh7md9"]
|
|
8178
8303
|
:rtype: list of str
|
|
8179
8304
|
"""
|
|
8180
8305
|
return self._JobIds
|
|
@@ -8196,7 +8321,7 @@ class DescribeSyncJobsRequest(AbstractModel):
|
|
|
8196
8321
|
|
|
8197
8322
|
@property
|
|
8198
8323
|
def Order(self):
|
|
8199
|
-
r"""
|
|
8324
|
+
r"""排序字段,目前仅支持CreateTime字段排序
|
|
8200
8325
|
:rtype: str
|
|
8201
8326
|
"""
|
|
8202
8327
|
return self._Order
|
|
@@ -8240,7 +8365,7 @@ class DescribeSyncJobsRequest(AbstractModel):
|
|
|
8240
8365
|
|
|
8241
8366
|
@property
|
|
8242
8367
|
def Status(self):
|
|
8243
|
-
r"""状态集合,如Initialized,CheckPass,Running,ResumableErr,Stopped
|
|
8368
|
+
r"""状态集合,如Initialized(初始化),CheckPass(校验通过),Running(运行中),ResumableErr(恢复中),Stopped(已结束)
|
|
8244
8369
|
:rtype: list of str
|
|
8245
8370
|
"""
|
|
8246
8371
|
return self._Status
|
|
@@ -8262,7 +8387,7 @@ class DescribeSyncJobsRequest(AbstractModel):
|
|
|
8262
8387
|
|
|
8263
8388
|
@property
|
|
8264
8389
|
def JobType(self):
|
|
8265
|
-
r"""任务类型,如mysql2mysql:msyql同步到mysql
|
|
8390
|
+
r"""任务类型,如mysql2mysql:msyql同步到mysql;可取值有mysql2mysql、mysql2kafka、tdsqlmysql2kafka、tdsqlmysql2tdsqlmysql、tdsqlmysql2mysql、mysql2tdsqlmysql、mysql2mariadb、mariadb2mariadb、mariadb2kafka、cynosdbmysql2kafka、cynosdbmysql2cynosdbmysql、cynosdbmysql2mysql、mysql2cynosdbmysql、mariadb2tdsqlmysql、tdsqlmysql2cynosdbmysql、cynosdbmysql2tdsqlmysql、tdstore2mysql、tdstore2percona、tdstore2mariadb、tdstore2cynosdbmysql、cynosdbmysql2mariadb、mariadb2cynosdbmysql、tdsqlmysql2mariadb、mariadb2mysql、percona2mariadb、postgresql2postgresql、tdstore2tdsqlmysql、mongodb2mongodb
|
|
8266
8391
|
:rtype: str
|
|
8267
8392
|
"""
|
|
8268
8393
|
return self._JobType
|
|
@@ -10674,14 +10799,16 @@ class IsolateMigrateJobRequest(AbstractModel):
|
|
|
10674
10799
|
|
|
10675
10800
|
def __init__(self):
|
|
10676
10801
|
r"""
|
|
10677
|
-
:param _JobId: 任务id
|
|
10802
|
+
:param _JobId: 任务id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
10803
|
+
|
|
10678
10804
|
:type JobId: str
|
|
10679
10805
|
"""
|
|
10680
10806
|
self._JobId = None
|
|
10681
10807
|
|
|
10682
10808
|
@property
|
|
10683
10809
|
def JobId(self):
|
|
10684
|
-
r"""任务id
|
|
10810
|
+
r"""任务id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
10811
|
+
|
|
10685
10812
|
:rtype: str
|
|
10686
10813
|
"""
|
|
10687
10814
|
return self._JobId
|
|
@@ -11815,9 +11942,11 @@ class ModifyCompareTaskNameRequest(AbstractModel):
|
|
|
11815
11942
|
|
|
11816
11943
|
def __init__(self):
|
|
11817
11944
|
r"""
|
|
11818
|
-
:param _JobId: 迁移任务 Id
|
|
11945
|
+
:param _JobId: 迁移任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
11946
|
+
|
|
11819
11947
|
:type JobId: str
|
|
11820
|
-
:param _CompareTaskId: 对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9
|
|
11948
|
+
:param _CompareTaskId: 对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
11949
|
+
|
|
11821
11950
|
:type CompareTaskId: str
|
|
11822
11951
|
:param _TaskName: 一致性校验任务名称
|
|
11823
11952
|
:type TaskName: str
|
|
@@ -11828,7 +11957,8 @@ class ModifyCompareTaskNameRequest(AbstractModel):
|
|
|
11828
11957
|
|
|
11829
11958
|
@property
|
|
11830
11959
|
def JobId(self):
|
|
11831
|
-
r"""迁移任务 Id
|
|
11960
|
+
r"""迁移任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
11961
|
+
|
|
11832
11962
|
:rtype: str
|
|
11833
11963
|
"""
|
|
11834
11964
|
return self._JobId
|
|
@@ -11839,7 +11969,8 @@ class ModifyCompareTaskNameRequest(AbstractModel):
|
|
|
11839
11969
|
|
|
11840
11970
|
@property
|
|
11841
11971
|
def CompareTaskId(self):
|
|
11842
|
-
r"""对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9
|
|
11972
|
+
r"""对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
11973
|
+
|
|
11843
11974
|
:rtype: str
|
|
11844
11975
|
"""
|
|
11845
11976
|
return self._CompareTaskId
|
|
@@ -11909,9 +12040,11 @@ class ModifyCompareTaskRequest(AbstractModel):
|
|
|
11909
12040
|
|
|
11910
12041
|
def __init__(self):
|
|
11911
12042
|
r"""
|
|
11912
|
-
:param _JobId: 任务 Id
|
|
12043
|
+
:param _JobId: 任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12044
|
+
|
|
11913
12045
|
:type JobId: str
|
|
11914
|
-
:param _CompareTaskId: 对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9
|
|
12046
|
+
:param _CompareTaskId: 对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12047
|
+
|
|
11915
12048
|
:type CompareTaskId: str
|
|
11916
12049
|
:param _TaskName: 任务名称
|
|
11917
12050
|
:type TaskName: str
|
|
@@ -11931,7 +12064,8 @@ class ModifyCompareTaskRequest(AbstractModel):
|
|
|
11931
12064
|
|
|
11932
12065
|
@property
|
|
11933
12066
|
def JobId(self):
|
|
11934
|
-
r"""任务 Id
|
|
12067
|
+
r"""任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12068
|
+
|
|
11935
12069
|
:rtype: str
|
|
11936
12070
|
"""
|
|
11937
12071
|
return self._JobId
|
|
@@ -11942,7 +12076,8 @@ class ModifyCompareTaskRequest(AbstractModel):
|
|
|
11942
12076
|
|
|
11943
12077
|
@property
|
|
11944
12078
|
def CompareTaskId(self):
|
|
11945
|
-
r"""对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9
|
|
12079
|
+
r"""对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12080
|
+
|
|
11946
12081
|
:rtype: str
|
|
11947
12082
|
"""
|
|
11948
12083
|
return self._CompareTaskId
|
|
@@ -12276,7 +12411,8 @@ class ModifyMigrateJobSpecRequest(AbstractModel):
|
|
|
12276
12411
|
|
|
12277
12412
|
def __init__(self):
|
|
12278
12413
|
r"""
|
|
12279
|
-
:param _JobId: 任务id
|
|
12414
|
+
:param _JobId: 任务id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12415
|
+
|
|
12280
12416
|
:type JobId: str
|
|
12281
12417
|
:param _NewInstanceClass: 新实例规格大小,包括:micro、small、medium、large、xlarge、2xlarge
|
|
12282
12418
|
:type NewInstanceClass: str
|
|
@@ -12286,7 +12422,8 @@ class ModifyMigrateJobSpecRequest(AbstractModel):
|
|
|
12286
12422
|
|
|
12287
12423
|
@property
|
|
12288
12424
|
def JobId(self):
|
|
12289
|
-
r"""任务id
|
|
12425
|
+
r"""任务id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12426
|
+
|
|
12290
12427
|
:rtype: str
|
|
12291
12428
|
"""
|
|
12292
12429
|
return self._JobId
|
|
@@ -12355,7 +12492,8 @@ class ModifyMigrateNameRequest(AbstractModel):
|
|
|
12355
12492
|
|
|
12356
12493
|
def __init__(self):
|
|
12357
12494
|
r"""
|
|
12358
|
-
:param _JobId: 迁移任务id
|
|
12495
|
+
:param _JobId: 迁移任务id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12496
|
+
|
|
12359
12497
|
:type JobId: str
|
|
12360
12498
|
:param _JobName: 修改后的迁移任务名
|
|
12361
12499
|
:type JobName: str
|
|
@@ -12365,7 +12503,8 @@ class ModifyMigrateNameRequest(AbstractModel):
|
|
|
12365
12503
|
|
|
12366
12504
|
@property
|
|
12367
12505
|
def JobId(self):
|
|
12368
|
-
r"""迁移任务id
|
|
12506
|
+
r"""迁移任务id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12507
|
+
|
|
12369
12508
|
:rtype: str
|
|
12370
12509
|
"""
|
|
12371
12510
|
return self._JobId
|
|
@@ -12434,7 +12573,7 @@ class ModifyMigrateRateLimitRequest(AbstractModel):
|
|
|
12434
12573
|
|
|
12435
12574
|
def __init__(self):
|
|
12436
12575
|
r"""
|
|
12437
|
-
:param _JobId: 迁移任务
|
|
12576
|
+
:param _JobId: 迁移任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12438
12577
|
:type JobId: str
|
|
12439
12578
|
:param _DumpThread: 迁移任务全量导出线程数、有效值为 1-16
|
|
12440
12579
|
:type DumpThread: int
|
|
@@ -12456,7 +12595,7 @@ class ModifyMigrateRateLimitRequest(AbstractModel):
|
|
|
12456
12595
|
|
|
12457
12596
|
@property
|
|
12458
12597
|
def JobId(self):
|
|
12459
|
-
r"""迁移任务
|
|
12598
|
+
r"""迁移任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12460
12599
|
:rtype: str
|
|
12461
12600
|
"""
|
|
12462
12601
|
return self._JobId
|
|
@@ -12573,7 +12712,8 @@ class ModifyMigrateRuntimeAttributeRequest(AbstractModel):
|
|
|
12573
12712
|
|
|
12574
12713
|
def __init__(self):
|
|
12575
12714
|
r"""
|
|
12576
|
-
:param _JobId: 迁移任务id
|
|
12715
|
+
:param _JobId: 迁移任务id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12716
|
+
|
|
12577
12717
|
:type JobId: str
|
|
12578
12718
|
:param _OtherOptions: 需要修改的属性,此结构设计为通用结构,用于屏蔽多个业务的定制属性。<br>例如对于Redis:<br>{<br> "Key": "DstWriteMode", //目标库写入模式<br> "Value": "normal" //clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(跟正常流程一样,不做额外动作,默认为此值) <br>},<br>{<br/> "Key": "IsDstReadOnly", //是否在迁移时设置目标库只读<br/> "Value": "true" //true(设置只读)、false(不设置只读) <br/>}
|
|
12579
12719
|
:type OtherOptions: list of KeyValuePairOption
|
|
@@ -12583,7 +12723,8 @@ class ModifyMigrateRuntimeAttributeRequest(AbstractModel):
|
|
|
12583
12723
|
|
|
12584
12724
|
@property
|
|
12585
12725
|
def JobId(self):
|
|
12586
|
-
r"""迁移任务id
|
|
12726
|
+
r"""迁移任务id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12727
|
+
|
|
12587
12728
|
:rtype: str
|
|
12588
12729
|
"""
|
|
12589
12730
|
return self._JobId
|
|
@@ -12657,7 +12798,8 @@ class ModifyMigrationJobRequest(AbstractModel):
|
|
|
12657
12798
|
|
|
12658
12799
|
def __init__(self):
|
|
12659
12800
|
r"""
|
|
12660
|
-
:param _JobId: 任务id
|
|
12801
|
+
:param _JobId: 任务id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12802
|
+
|
|
12661
12803
|
:type JobId: str
|
|
12662
12804
|
:param _RunMode: 运行模式,取值如:immediate(表示立即运行)、timed(表示定时运行)
|
|
12663
12805
|
:type RunMode: str
|
|
@@ -12688,7 +12830,8 @@ class ModifyMigrationJobRequest(AbstractModel):
|
|
|
12688
12830
|
|
|
12689
12831
|
@property
|
|
12690
12832
|
def JobId(self):
|
|
12691
|
-
r"""任务id
|
|
12833
|
+
r"""任务id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
12834
|
+
|
|
12692
12835
|
:rtype: str
|
|
12693
12836
|
"""
|
|
12694
12837
|
return self._JobId
|
|
@@ -13168,7 +13311,7 @@ class ModifySyncJobConfigRequest(AbstractModel):
|
|
|
13168
13311
|
|
|
13169
13312
|
def __init__(self):
|
|
13170
13313
|
r"""
|
|
13171
|
-
:param _JobId: 同步任务
|
|
13314
|
+
:param _JobId: 同步任务ID,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
13172
13315
|
:type JobId: str
|
|
13173
13316
|
:param _DynamicObjects: 修改后的同步对象
|
|
13174
13317
|
:type DynamicObjects: :class:`tencentcloud.dts.v20211206.models.Objects`
|
|
@@ -13181,7 +13324,7 @@ class ModifySyncJobConfigRequest(AbstractModel):
|
|
|
13181
13324
|
|
|
13182
13325
|
@property
|
|
13183
13326
|
def JobId(self):
|
|
13184
|
-
r"""同步任务
|
|
13327
|
+
r"""同步任务ID,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
13185
13328
|
:rtype: str
|
|
13186
13329
|
"""
|
|
13187
13330
|
return self._JobId
|
|
@@ -13266,11 +13409,11 @@ class ModifySyncRateLimitRequest(AbstractModel):
|
|
|
13266
13409
|
|
|
13267
13410
|
def __init__(self):
|
|
13268
13411
|
r"""
|
|
13269
|
-
:param _JobId:
|
|
13412
|
+
:param _JobId: 同步任务ID,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
13270
13413
|
:type JobId: str
|
|
13271
13414
|
:param _DumpThread: 同步任务全量导出线程数、有效值为 1-16
|
|
13272
13415
|
:type DumpThread: int
|
|
13273
|
-
:param _DumpRps: 同步任务全量导出的 Rps 限制、需要大于 0
|
|
13416
|
+
:param _DumpRps: 同步任务全量导出的 Rps 限制、需要大于 0;对于mongodb最大值为20000,其他数据库最大值为50000000
|
|
13274
13417
|
:type DumpRps: int
|
|
13275
13418
|
:param _LoadThread: 同步任务全量导入线程数、有效值为 1-16
|
|
13276
13419
|
:type LoadThread: int
|
|
@@ -13288,7 +13431,7 @@ class ModifySyncRateLimitRequest(AbstractModel):
|
|
|
13288
13431
|
|
|
13289
13432
|
@property
|
|
13290
13433
|
def JobId(self):
|
|
13291
|
-
r"""
|
|
13434
|
+
r"""同步任务ID,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
13292
13435
|
:rtype: str
|
|
13293
13436
|
"""
|
|
13294
13437
|
return self._JobId
|
|
@@ -13310,7 +13453,7 @@ class ModifySyncRateLimitRequest(AbstractModel):
|
|
|
13310
13453
|
|
|
13311
13454
|
@property
|
|
13312
13455
|
def DumpRps(self):
|
|
13313
|
-
r"""同步任务全量导出的 Rps 限制、需要大于 0
|
|
13456
|
+
r"""同步任务全量导出的 Rps 限制、需要大于 0;对于mongodb最大值为20000,其他数据库最大值为50000000
|
|
13314
13457
|
:rtype: int
|
|
13315
13458
|
"""
|
|
13316
13459
|
return self._DumpRps
|
|
@@ -13627,14 +13770,14 @@ class OnlineDDL(AbstractModel):
|
|
|
13627
13770
|
|
|
13628
13771
|
def __init__(self):
|
|
13629
13772
|
r"""
|
|
13630
|
-
:param _Status:
|
|
13773
|
+
:param _Status: 状态,ON-启用,OFF-不启用。
|
|
13631
13774
|
:type Status: str
|
|
13632
13775
|
"""
|
|
13633
13776
|
self._Status = None
|
|
13634
13777
|
|
|
13635
13778
|
@property
|
|
13636
13779
|
def Status(self):
|
|
13637
|
-
r"""
|
|
13780
|
+
r"""状态,ON-启用,OFF-不启用。
|
|
13638
13781
|
:rtype: str
|
|
13639
13782
|
"""
|
|
13640
13783
|
return self._Status
|
|
@@ -14630,13 +14773,13 @@ class ResetConsumerGroupOffsetRequest(AbstractModel):
|
|
|
14630
14773
|
|
|
14631
14774
|
def __init__(self):
|
|
14632
14775
|
r"""
|
|
14633
|
-
:param _SubscribeId: 订阅实例id
|
|
14776
|
+
:param _SubscribeId: 订阅实例id,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
14634
14777
|
:type SubscribeId: str
|
|
14635
|
-
:param _TopicName: 订阅的kafka topic
|
|
14778
|
+
:param _TopicName: 订阅的kafka topic,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
14636
14779
|
:type TopicName: str
|
|
14637
|
-
:param _ConsumerGroupName: 消费组名称。实际的消费组全称形如:consumer-grp-#{SubscribeId}-#{ConsumerGroupName}
|
|
14780
|
+
:param _ConsumerGroupName: 消费组名称。实际的消费组全称形如:consumer-grp-#{SubscribeId}-#{ConsumerGroupName}。可通过[DescribeConsumerGroups](https://cloud.tencent.com/document/api/571/102947)接口获取。
|
|
14638
14781
|
:type ConsumerGroupName: str
|
|
14639
|
-
:param _PartitionNos: 需要修改offset
|
|
14782
|
+
:param _PartitionNos: 需要修改offset的分区编号,可通过[DescribeOffsetByTime](https://cloud.tencent.com/document/api/571/102946)接口获取。
|
|
14640
14783
|
:type PartitionNos: list of int
|
|
14641
14784
|
:param _ResetMode: 重置方式。枚举值为 earliest-从最开始位置开始消费;latest-从最新位置开始消费;datetime-从指定时间前最近的checkpoint开始消费
|
|
14642
14785
|
:type ResetMode: str
|
|
@@ -14652,7 +14795,7 @@ class ResetConsumerGroupOffsetRequest(AbstractModel):
|
|
|
14652
14795
|
|
|
14653
14796
|
@property
|
|
14654
14797
|
def SubscribeId(self):
|
|
14655
|
-
r"""订阅实例id
|
|
14798
|
+
r"""订阅实例id,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
14656
14799
|
:rtype: str
|
|
14657
14800
|
"""
|
|
14658
14801
|
return self._SubscribeId
|
|
@@ -14663,7 +14806,7 @@ class ResetConsumerGroupOffsetRequest(AbstractModel):
|
|
|
14663
14806
|
|
|
14664
14807
|
@property
|
|
14665
14808
|
def TopicName(self):
|
|
14666
|
-
r"""订阅的kafka topic
|
|
14809
|
+
r"""订阅的kafka topic,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
14667
14810
|
:rtype: str
|
|
14668
14811
|
"""
|
|
14669
14812
|
return self._TopicName
|
|
@@ -14674,7 +14817,7 @@ class ResetConsumerGroupOffsetRequest(AbstractModel):
|
|
|
14674
14817
|
|
|
14675
14818
|
@property
|
|
14676
14819
|
def ConsumerGroupName(self):
|
|
14677
|
-
r"""消费组名称。实际的消费组全称形如:consumer-grp-#{SubscribeId}-#{ConsumerGroupName}
|
|
14820
|
+
r"""消费组名称。实际的消费组全称形如:consumer-grp-#{SubscribeId}-#{ConsumerGroupName}。可通过[DescribeConsumerGroups](https://cloud.tencent.com/document/api/571/102947)接口获取。
|
|
14678
14821
|
:rtype: str
|
|
14679
14822
|
"""
|
|
14680
14823
|
return self._ConsumerGroupName
|
|
@@ -14685,7 +14828,7 @@ class ResetConsumerGroupOffsetRequest(AbstractModel):
|
|
|
14685
14828
|
|
|
14686
14829
|
@property
|
|
14687
14830
|
def PartitionNos(self):
|
|
14688
|
-
r"""需要修改offset
|
|
14831
|
+
r"""需要修改offset的分区编号,可通过[DescribeOffsetByTime](https://cloud.tencent.com/document/api/571/102946)接口获取。
|
|
14689
14832
|
:rtype: list of int
|
|
14690
14833
|
"""
|
|
14691
14834
|
return self._PartitionNos
|
|
@@ -14899,9 +15042,10 @@ class ResizeSyncJobRequest(AbstractModel):
|
|
|
14899
15042
|
|
|
14900
15043
|
def __init__(self):
|
|
14901
15044
|
r"""
|
|
14902
|
-
:param _JobId: 同步任务id
|
|
15045
|
+
:param _JobId: 同步任务id,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
15046
|
+
|
|
14903
15047
|
:type JobId: str
|
|
14904
|
-
:param _NewInstanceClass:
|
|
15048
|
+
:param _NewInstanceClass: 任务规格,可选值包括micro,small,medium,large
|
|
14905
15049
|
:type NewInstanceClass: str
|
|
14906
15050
|
"""
|
|
14907
15051
|
self._JobId = None
|
|
@@ -14909,7 +15053,8 @@ class ResizeSyncJobRequest(AbstractModel):
|
|
|
14909
15053
|
|
|
14910
15054
|
@property
|
|
14911
15055
|
def JobId(self):
|
|
14912
|
-
r"""同步任务id
|
|
15056
|
+
r"""同步任务id,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
15057
|
+
|
|
14913
15058
|
:rtype: str
|
|
14914
15059
|
"""
|
|
14915
15060
|
return self._JobId
|
|
@@ -14920,7 +15065,7 @@ class ResizeSyncJobRequest(AbstractModel):
|
|
|
14920
15065
|
|
|
14921
15066
|
@property
|
|
14922
15067
|
def NewInstanceClass(self):
|
|
14923
|
-
r"""
|
|
15068
|
+
r"""任务规格,可选值包括micro,small,medium,large
|
|
14924
15069
|
:rtype: str
|
|
14925
15070
|
"""
|
|
14926
15071
|
return self._NewInstanceClass
|
|
@@ -14978,7 +15123,8 @@ class ResumeMigrateJobRequest(AbstractModel):
|
|
|
14978
15123
|
|
|
14979
15124
|
def __init__(self):
|
|
14980
15125
|
r"""
|
|
14981
|
-
:param _JobId: 数据迁移任务ID
|
|
15126
|
+
:param _JobId: 数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
15127
|
+
|
|
14982
15128
|
:type JobId: str
|
|
14983
15129
|
:param _ResumeOption: 恢复任务的模式,目前的取值有:clearData 清空目标实例数据,overwrite 以覆盖写的方式执行任务,normal 跟正常流程一样,不做额外动作;注意,clearData、overwrite仅对redis生效,normal仅针对非redis链路生效
|
|
14984
15130
|
:type ResumeOption: str
|
|
@@ -14988,7 +15134,8 @@ class ResumeMigrateJobRequest(AbstractModel):
|
|
|
14988
15134
|
|
|
14989
15135
|
@property
|
|
14990
15136
|
def JobId(self):
|
|
14991
|
-
r"""数据迁移任务ID
|
|
15137
|
+
r"""数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
15138
|
+
|
|
14992
15139
|
:rtype: str
|
|
14993
15140
|
"""
|
|
14994
15141
|
return self._JobId
|
|
@@ -15319,9 +15466,10 @@ class SkipCheckItemRequest(AbstractModel):
|
|
|
15319
15466
|
|
|
15320
15467
|
def __init__(self):
|
|
15321
15468
|
r"""
|
|
15322
|
-
:param _JobId: 数据迁移任务ID
|
|
15469
|
+
:param _JobId: 数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
15470
|
+
|
|
15323
15471
|
:type JobId: str
|
|
15324
|
-
:param _StepIds: 需要跳过校验项的步骤id,需要通过DescribeMigrationCheckJob接口返回StepInfo[i].StepId字段获取,例如:["OptimizeCheck"]
|
|
15472
|
+
:param _StepIds: 需要跳过校验项的步骤id,需要通过[DescribeMigrationCheckJob](https://cloud.tencent.com/document/product/571/82086)接口返回StepInfo[i].StepId字段获取,例如:["OptimizeCheck"]
|
|
15325
15473
|
:type StepIds: list of str
|
|
15326
15474
|
:param _ForeignKeyFlag: 当出现外键依赖检查导致校验不通过时、可以通过该字段选择是否迁移外键依赖,当StepIds包含ConstraintCheck且该字段值为shield时表示不迁移外键依赖、当StepIds包含ConstraintCheck且值为migrate时表示迁移外键依赖
|
|
15327
15475
|
:type ForeignKeyFlag: str
|
|
@@ -15332,7 +15480,8 @@ class SkipCheckItemRequest(AbstractModel):
|
|
|
15332
15480
|
|
|
15333
15481
|
@property
|
|
15334
15482
|
def JobId(self):
|
|
15335
|
-
r"""数据迁移任务ID
|
|
15483
|
+
r"""数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
15484
|
+
|
|
15336
15485
|
:rtype: str
|
|
15337
15486
|
"""
|
|
15338
15487
|
return self._JobId
|
|
@@ -15343,7 +15492,7 @@ class SkipCheckItemRequest(AbstractModel):
|
|
|
15343
15492
|
|
|
15344
15493
|
@property
|
|
15345
15494
|
def StepIds(self):
|
|
15346
|
-
r"""需要跳过校验项的步骤id,需要通过DescribeMigrationCheckJob接口返回StepInfo[i].StepId字段获取,例如:["OptimizeCheck"]
|
|
15495
|
+
r"""需要跳过校验项的步骤id,需要通过[DescribeMigrationCheckJob](https://cloud.tencent.com/document/product/571/82086)接口返回StepInfo[i].StepId字段获取,例如:["OptimizeCheck"]
|
|
15347
15496
|
:rtype: list of str
|
|
15348
15497
|
"""
|
|
15349
15498
|
return self._StepIds
|
|
@@ -15428,7 +15577,8 @@ class SkipSyncCheckItemRequest(AbstractModel):
|
|
|
15428
15577
|
|
|
15429
15578
|
def __init__(self):
|
|
15430
15579
|
r"""
|
|
15431
|
-
:param _JobId: 任务id,如:sync-4ddgid2
|
|
15580
|
+
:param _JobId: 任务id,如:sync-4ddgid2,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
15581
|
+
|
|
15432
15582
|
:type JobId: str
|
|
15433
15583
|
:param _StepIds: 需要跳过校验项的步骤id,需要通过`DescribeCheckSyncJobResult`接口返回StepInfos[i].StepId字段获取,例如:["OptimizeCheck"]
|
|
15434
15584
|
:type StepIds: list of str
|
|
@@ -15438,7 +15588,8 @@ class SkipSyncCheckItemRequest(AbstractModel):
|
|
|
15438
15588
|
|
|
15439
15589
|
@property
|
|
15440
15590
|
def JobId(self):
|
|
15441
|
-
r"""任务id,如:sync-4ddgid2
|
|
15591
|
+
r"""任务id,如:sync-4ddgid2,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
15592
|
+
|
|
15442
15593
|
:rtype: str
|
|
15443
15594
|
"""
|
|
15444
15595
|
return self._JobId
|
|
@@ -15727,14 +15878,16 @@ class StartMigrateJobRequest(AbstractModel):
|
|
|
15727
15878
|
|
|
15728
15879
|
def __init__(self):
|
|
15729
15880
|
r"""
|
|
15730
|
-
:param _JobId: 数据迁移任务ID
|
|
15881
|
+
:param _JobId: 数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
15882
|
+
|
|
15731
15883
|
:type JobId: str
|
|
15732
15884
|
"""
|
|
15733
15885
|
self._JobId = None
|
|
15734
15886
|
|
|
15735
15887
|
@property
|
|
15736
15888
|
def JobId(self):
|
|
15737
|
-
r"""数据迁移任务ID
|
|
15889
|
+
r"""数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
15890
|
+
|
|
15738
15891
|
:rtype: str
|
|
15739
15892
|
"""
|
|
15740
15893
|
return self._JobId
|
|
@@ -15921,14 +16074,14 @@ class StartSyncJobRequest(AbstractModel):
|
|
|
15921
16074
|
|
|
15922
16075
|
def __init__(self):
|
|
15923
16076
|
r"""
|
|
15924
|
-
:param _JobId: 同步任务id
|
|
16077
|
+
:param _JobId: 同步任务id,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
15925
16078
|
:type JobId: str
|
|
15926
16079
|
"""
|
|
15927
16080
|
self._JobId = None
|
|
15928
16081
|
|
|
15929
16082
|
@property
|
|
15930
16083
|
def JobId(self):
|
|
15931
|
-
r"""同步任务id
|
|
16084
|
+
r"""同步任务id,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
15932
16085
|
:rtype: str
|
|
15933
16086
|
"""
|
|
15934
16087
|
return self._JobId
|
|
@@ -16500,14 +16653,16 @@ class StopMigrateJobRequest(AbstractModel):
|
|
|
16500
16653
|
|
|
16501
16654
|
def __init__(self):
|
|
16502
16655
|
r"""
|
|
16503
|
-
:param _JobId: 数据迁移任务ID
|
|
16656
|
+
:param _JobId: 数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
16657
|
+
|
|
16504
16658
|
:type JobId: str
|
|
16505
16659
|
"""
|
|
16506
16660
|
self._JobId = None
|
|
16507
16661
|
|
|
16508
16662
|
@property
|
|
16509
16663
|
def JobId(self):
|
|
16510
|
-
r"""数据迁移任务ID
|
|
16664
|
+
r"""数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
16665
|
+
|
|
16511
16666
|
:rtype: str
|
|
16512
16667
|
"""
|
|
16513
16668
|
return self._JobId
|
|
@@ -16702,7 +16857,7 @@ class SubscribeCheckStepInfo(AbstractModel):
|
|
|
16702
16857
|
:type StepId: str
|
|
16703
16858
|
:param _StepNo: 步骤编号,从 1 开始
|
|
16704
16859
|
:type StepNo: int
|
|
16705
|
-
:param _Status: 当前步骤状态,可能值为 notStarted
|
|
16860
|
+
:param _Status: 当前步骤状态,可能值为 notStarted-未开始,running-运行中,finished-已完成,failed-失败,unknown-未知
|
|
16706
16861
|
:type Status: str
|
|
16707
16862
|
:param _Percent: 当前步骤进度
|
|
16708
16863
|
:type Percent: int
|
|
@@ -16754,7 +16909,7 @@ class SubscribeCheckStepInfo(AbstractModel):
|
|
|
16754
16909
|
|
|
16755
16910
|
@property
|
|
16756
16911
|
def Status(self):
|
|
16757
|
-
r"""当前步骤状态,可能值为 notStarted
|
|
16912
|
+
r"""当前步骤状态,可能值为 notStarted-未开始,running-运行中,finished-已完成,failed-失败,unknown-未知
|
|
16758
16913
|
:rtype: str
|
|
16759
16914
|
"""
|
|
16760
16915
|
return self._Status
|
|
@@ -17689,9 +17844,9 @@ class SyncJobInfo(AbstractModel):
|
|
|
17689
17844
|
:type ExpireTime: str
|
|
17690
17845
|
:param _SrcRegion: 源端地域,如:ap-guangzhou等
|
|
17691
17846
|
:type SrcRegion: str
|
|
17692
|
-
:param _SrcDatabaseType: 源端数据库类型,mysql,cynosdbmysql,
|
|
17847
|
+
:param _SrcDatabaseType: 源端数据库类型,mysql,tdsqlmysql,mariadb,cynosdbmysql(表示tdsql-c实例),tdstore,percona,postgresql,mongodb等。
|
|
17693
17848
|
:type SrcDatabaseType: str
|
|
17694
|
-
:param _SrcAccessType: 源端接入类型,cdb(云数据库)、cvm(
|
|
17849
|
+
:param _SrcAccessType: 源端接入类型,cdb(云数据库)、cvm(云服务器自建)、vpc(私有网络)、extranet(外网)、vpncloud(vpn接入)、dcg(专线接入)、ccn(云联网)、intranet(自研上云)
|
|
17695
17850
|
:type SrcAccessType: str
|
|
17696
17851
|
:param _SrcInfo: 源端信息,单节点数据库使用
|
|
17697
17852
|
:type SrcInfo: :class:`tencentcloud.dts.v20211206.models.Endpoint`
|
|
@@ -17701,7 +17856,7 @@ class SyncJobInfo(AbstractModel):
|
|
|
17701
17856
|
:type SrcInfos: :class:`tencentcloud.dts.v20211206.models.SyncDBEndpointInfos`
|
|
17702
17857
|
:param _DstRegion: 目标端地域,如:ap-guangzhou等
|
|
17703
17858
|
:type DstRegion: str
|
|
17704
|
-
:param _DstDatabaseType: 目标端数据库类型,mysql,cynosdbmysql,
|
|
17859
|
+
:param _DstDatabaseType: 目标端数据库类型,mysql,tdsqlmysql,mariadb,cynosdbmysql(表示tdsql-c实例),tdstore,percona,postgresql,mongodb等。
|
|
17705
17860
|
:type DstDatabaseType: str
|
|
17706
17861
|
:param _DstAccessType: 目标端接入类型,cdb(云数据库)、cvm(云主机自建)、vpc(私有网络)、extranet(外网)、vpncloud(vpn接入)、dcg(专线接入)、ccn(云联网)、intranet(自研上云)
|
|
17707
17862
|
:type DstAccessType: str
|
|
@@ -17910,7 +18065,7 @@ class SyncJobInfo(AbstractModel):
|
|
|
17910
18065
|
|
|
17911
18066
|
@property
|
|
17912
18067
|
def SrcDatabaseType(self):
|
|
17913
|
-
r"""源端数据库类型,mysql,cynosdbmysql,
|
|
18068
|
+
r"""源端数据库类型,mysql,tdsqlmysql,mariadb,cynosdbmysql(表示tdsql-c实例),tdstore,percona,postgresql,mongodb等。
|
|
17914
18069
|
:rtype: str
|
|
17915
18070
|
"""
|
|
17916
18071
|
return self._SrcDatabaseType
|
|
@@ -17921,7 +18076,7 @@ class SyncJobInfo(AbstractModel):
|
|
|
17921
18076
|
|
|
17922
18077
|
@property
|
|
17923
18078
|
def SrcAccessType(self):
|
|
17924
|
-
r"""源端接入类型,cdb(云数据库)、cvm(
|
|
18079
|
+
r"""源端接入类型,cdb(云数据库)、cvm(云服务器自建)、vpc(私有网络)、extranet(外网)、vpncloud(vpn接入)、dcg(专线接入)、ccn(云联网)、intranet(自研上云)
|
|
17925
18080
|
:rtype: str
|
|
17926
18081
|
"""
|
|
17927
18082
|
return self._SrcAccessType
|
|
@@ -17976,7 +18131,7 @@ class SyncJobInfo(AbstractModel):
|
|
|
17976
18131
|
|
|
17977
18132
|
@property
|
|
17978
18133
|
def DstDatabaseType(self):
|
|
17979
|
-
r"""目标端数据库类型,mysql,cynosdbmysql,
|
|
18134
|
+
r"""目标端数据库类型,mysql,tdsqlmysql,mariadb,cynosdbmysql(表示tdsql-c实例),tdstore,percona,postgresql,mongodb等。
|
|
17980
18135
|
:rtype: str
|
|
17981
18136
|
"""
|
|
17982
18137
|
return self._DstDatabaseType
|