tencentcloud-sdk-python 3.0.1337__py2.py3-none-any.whl → 3.0.1338__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/acp/v20220105/models.py +0 -10
- tencentcloud/cdwdoris/v20211228/models.py +30 -0
- tencentcloud/cfg/v20210820/models.py +0 -4
- tencentcloud/clb/v20180317/models.py +38 -24
- tencentcloud/cynosdb/v20190107/models.py +15 -0
- tencentcloud/dbbrain/v20191016/models.py +0 -12
- tencentcloud/dbbrain/v20210527/models.py +0 -16
- tencentcloud/dcdb/v20180411/models.py +15 -0
- tencentcloud/dlc/v20210125/models.py +140 -34
- tencentcloud/domain/v20180808/models.py +0 -2
- tencentcloud/dts/v20180330/models.py +0 -16
- tencentcloud/dts/v20211206/models.py +0 -472
- tencentcloud/es/v20180416/errorcodes.py +6 -0
- tencentcloud/ess/v20201111/ess_client.py +27 -0
- tencentcloud/ess/v20201111/models.py +227 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +27 -0
- tencentcloud/essbasic/v20210526/models.py +308 -0
- tencentcloud/goosefs/v20220519/models.py +0 -22
- tencentcloud/lke/v20231130/lke_client.py +6 -1
- tencentcloud/lke/v20231130/models.py +8 -8
- tencentcloud/lowcode/v20210108/models.py +0 -106
- tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
- tencentcloud/mariadb/v20170312/models.py +15 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/ocr/v20181119/models.py +2 -4
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/organization/v20210331/models.py +109 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/redis/v20180412/models.py +21 -2
- tencentcloud/rum/v20210622/models.py +2 -0
- tencentcloud/scf/v20180416/models.py +75 -0
- tencentcloud/tdmq/v20200217/models.py +2 -296
- tencentcloud/tdmq/v20200217/tdmq_client.py +0 -25
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +68 -0
- tencentcloud/tse/v20201207/models.py +164 -104
- tencentcloud/vclm/v20240523/models.py +58 -4
- tencentcloud/vdb/v20230616/models.py +9 -57
- tencentcloud/waf/v20180125/models.py +252 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/wedata/v20210820/models.py +1578 -93
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1337.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1337.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/RECORD +48 -48
- {tencentcloud_sdk_python-3.0.1337.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1337.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1337.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/top_level.txt +0 -0
@@ -277,13 +277,10 @@ class CheckStepInfo(AbstractModel):
|
|
277
277
|
def __init__(self):
|
278
278
|
r"""
|
279
279
|
:param _StartAt: 任务开始时间
|
280
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
281
280
|
:type StartAt: str
|
282
281
|
:param _EndAt: 任务结束时间
|
283
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
284
282
|
:type EndAt: str
|
285
283
|
:param _Progress: 任务步骤信息
|
286
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
287
284
|
:type Progress: :class:`tencentcloud.dts.v20211206.models.ProcessProgress`
|
288
285
|
"""
|
289
286
|
self._StartAt = None
|
@@ -293,7 +290,6 @@ class CheckStepInfo(AbstractModel):
|
|
293
290
|
@property
|
294
291
|
def StartAt(self):
|
295
292
|
"""任务开始时间
|
296
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
297
293
|
:rtype: str
|
298
294
|
"""
|
299
295
|
return self._StartAt
|
@@ -305,7 +301,6 @@ class CheckStepInfo(AbstractModel):
|
|
305
301
|
@property
|
306
302
|
def EndAt(self):
|
307
303
|
"""任务结束时间
|
308
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
309
304
|
:rtype: str
|
310
305
|
"""
|
311
306
|
return self._EndAt
|
@@ -317,7 +312,6 @@ class CheckStepInfo(AbstractModel):
|
|
317
312
|
@property
|
318
313
|
def Progress(self):
|
319
314
|
"""任务步骤信息
|
320
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
321
315
|
:rtype: :class:`tencentcloud.dts.v20211206.models.ProcessProgress`
|
322
316
|
"""
|
323
317
|
return self._Progress
|
@@ -669,7 +663,6 @@ class CompareColumnItem(AbstractModel):
|
|
669
663
|
def __init__(self):
|
670
664
|
r"""
|
671
665
|
:param _ColumnName: 列名
|
672
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
673
666
|
:type ColumnName: str
|
674
667
|
"""
|
675
668
|
self._ColumnName = None
|
@@ -677,7 +670,6 @@ class CompareColumnItem(AbstractModel):
|
|
677
670
|
@property
|
678
671
|
def ColumnName(self):
|
679
672
|
"""列名
|
680
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
681
673
|
:rtype: str
|
682
674
|
"""
|
683
675
|
return self._ColumnName
|
@@ -823,13 +815,10 @@ class CompareObject(AbstractModel):
|
|
823
815
|
def __init__(self):
|
824
816
|
r"""
|
825
817
|
:param _ObjectMode: 对象模式 整实例-all,部分对象-partial
|
826
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
827
818
|
:type ObjectMode: str
|
828
819
|
:param _ObjectItems: 对象列表
|
829
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
830
820
|
:type ObjectItems: list of CompareObjectItem
|
831
821
|
:param _AdvancedObjects: 高级对象类型,目前只支持mongodb链路。如index(索引),shardkey(片键),schema(库表)
|
832
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
833
822
|
:type AdvancedObjects: list of str
|
834
823
|
"""
|
835
824
|
self._ObjectMode = None
|
@@ -839,7 +828,6 @@ class CompareObject(AbstractModel):
|
|
839
828
|
@property
|
840
829
|
def ObjectMode(self):
|
841
830
|
"""对象模式 整实例-all,部分对象-partial
|
842
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
843
831
|
:rtype: str
|
844
832
|
"""
|
845
833
|
return self._ObjectMode
|
@@ -851,7 +839,6 @@ class CompareObject(AbstractModel):
|
|
851
839
|
@property
|
852
840
|
def ObjectItems(self):
|
853
841
|
"""对象列表
|
854
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
855
842
|
:rtype: list of CompareObjectItem
|
856
843
|
"""
|
857
844
|
return self._ObjectItems
|
@@ -863,7 +850,6 @@ class CompareObject(AbstractModel):
|
|
863
850
|
@property
|
864
851
|
def AdvancedObjects(self):
|
865
852
|
"""高级对象类型,目前只支持mongodb链路。如index(索引),shardkey(片键),schema(库表)
|
866
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
867
853
|
:rtype: list of str
|
868
854
|
"""
|
869
855
|
return self._AdvancedObjects
|
@@ -900,22 +886,16 @@ class CompareObjectItem(AbstractModel):
|
|
900
886
|
def __init__(self):
|
901
887
|
r"""
|
902
888
|
:param _DbName: 数据库名
|
903
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
904
889
|
:type DbName: str
|
905
890
|
:param _DbMode: 数据库选择模式: all 为当前对象下的所有对象,partial 为部分对象
|
906
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
907
891
|
:type DbMode: str
|
908
892
|
:param _SchemaName: schema名称
|
909
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
910
893
|
:type SchemaName: str
|
911
894
|
:param _TableMode: 表选择模式: all 为当前对象下的所有表对象,partial 为部分表对象
|
912
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
913
895
|
:type TableMode: str
|
914
896
|
:param _Tables: 用于一致性校验的表配置,当 TableMode 为 partial 时,需要填写
|
915
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
916
897
|
:type Tables: list of CompareTableItem
|
917
898
|
:param _ViewMode: 视图选择模式: all 为当前对象下的所有视图对象,partial 为部分视图对象(一致性校验不校验视图,当前参数未启作用)
|
918
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
919
899
|
:type ViewMode: str
|
920
900
|
:param _Views: 用于一致性校验的视图配置,当 ViewMode 为 partial 时, 需要填写(一致性校验不校验视图,当前参数未启作用)
|
921
901
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -932,7 +912,6 @@ class CompareObjectItem(AbstractModel):
|
|
932
912
|
@property
|
933
913
|
def DbName(self):
|
934
914
|
"""数据库名
|
935
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
936
915
|
:rtype: str
|
937
916
|
"""
|
938
917
|
return self._DbName
|
@@ -944,7 +923,6 @@ class CompareObjectItem(AbstractModel):
|
|
944
923
|
@property
|
945
924
|
def DbMode(self):
|
946
925
|
"""数据库选择模式: all 为当前对象下的所有对象,partial 为部分对象
|
947
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
948
926
|
:rtype: str
|
949
927
|
"""
|
950
928
|
return self._DbMode
|
@@ -956,7 +934,6 @@ class CompareObjectItem(AbstractModel):
|
|
956
934
|
@property
|
957
935
|
def SchemaName(self):
|
958
936
|
"""schema名称
|
959
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
960
937
|
:rtype: str
|
961
938
|
"""
|
962
939
|
return self._SchemaName
|
@@ -968,7 +945,6 @@ class CompareObjectItem(AbstractModel):
|
|
968
945
|
@property
|
969
946
|
def TableMode(self):
|
970
947
|
"""表选择模式: all 为当前对象下的所有表对象,partial 为部分表对象
|
971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
972
948
|
:rtype: str
|
973
949
|
"""
|
974
950
|
return self._TableMode
|
@@ -980,7 +956,6 @@ class CompareObjectItem(AbstractModel):
|
|
980
956
|
@property
|
981
957
|
def Tables(self):
|
982
958
|
"""用于一致性校验的表配置,当 TableMode 为 partial 时,需要填写
|
983
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
984
959
|
:rtype: list of CompareTableItem
|
985
960
|
"""
|
986
961
|
return self._Tables
|
@@ -992,7 +967,6 @@ class CompareObjectItem(AbstractModel):
|
|
992
967
|
@property
|
993
968
|
def ViewMode(self):
|
994
969
|
"""视图选择模式: all 为当前对象下的所有视图对象,partial 为部分视图对象(一致性校验不校验视图,当前参数未启作用)
|
995
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
996
970
|
:rtype: str
|
997
971
|
"""
|
998
972
|
return self._ViewMode
|
@@ -1050,13 +1024,10 @@ class CompareOptions(AbstractModel):
|
|
1050
1024
|
def __init__(self):
|
1051
1025
|
r"""
|
1052
1026
|
:param _Method: 对比方式:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比), 默认为dataCheck
|
1053
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1054
1027
|
:type Method: str
|
1055
1028
|
:param _SampleRate: 抽样比例;范围0,100。默认为100
|
1056
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1057
1029
|
:type SampleRate: int
|
1058
1030
|
:param _ThreadCount: 线程数,取值1-5,默认为1
|
1059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1060
1031
|
:type ThreadCount: int
|
1061
1032
|
"""
|
1062
1033
|
self._Method = None
|
@@ -1066,7 +1037,6 @@ class CompareOptions(AbstractModel):
|
|
1066
1037
|
@property
|
1067
1038
|
def Method(self):
|
1068
1039
|
"""对比方式:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比), 默认为dataCheck
|
1069
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1070
1040
|
:rtype: str
|
1071
1041
|
"""
|
1072
1042
|
return self._Method
|
@@ -1078,7 +1048,6 @@ class CompareOptions(AbstractModel):
|
|
1078
1048
|
@property
|
1079
1049
|
def SampleRate(self):
|
1080
1050
|
"""抽样比例;范围0,100。默认为100
|
1081
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1082
1051
|
:rtype: int
|
1083
1052
|
"""
|
1084
1053
|
return self._SampleRate
|
@@ -1090,7 +1059,6 @@ class CompareOptions(AbstractModel):
|
|
1090
1059
|
@property
|
1091
1060
|
def ThreadCount(self):
|
1092
1061
|
"""线程数,取值1-5,默认为1
|
1093
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1094
1062
|
:rtype: int
|
1095
1063
|
"""
|
1096
1064
|
return self._ThreadCount
|
@@ -1122,13 +1090,10 @@ class CompareTableItem(AbstractModel):
|
|
1122
1090
|
def __init__(self):
|
1123
1091
|
r"""
|
1124
1092
|
:param _TableName: 表名称
|
1125
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1126
1093
|
:type TableName: str
|
1127
1094
|
:param _ColumnMode: column 模式,all 为全部,partial 表示部分(该参数仅对数据同步任务有效)
|
1128
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1129
1095
|
:type ColumnMode: str
|
1130
1096
|
:param _Columns: 当 ColumnMode 为 partial 时必填(该参数仅对数据同步任务有效)
|
1131
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1132
1097
|
:type Columns: list of CompareColumnItem
|
1133
1098
|
"""
|
1134
1099
|
self._TableName = None
|
@@ -1138,7 +1103,6 @@ class CompareTableItem(AbstractModel):
|
|
1138
1103
|
@property
|
1139
1104
|
def TableName(self):
|
1140
1105
|
"""表名称
|
1141
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1142
1106
|
:rtype: str
|
1143
1107
|
"""
|
1144
1108
|
return self._TableName
|
@@ -1150,7 +1114,6 @@ class CompareTableItem(AbstractModel):
|
|
1150
1114
|
@property
|
1151
1115
|
def ColumnMode(self):
|
1152
1116
|
"""column 模式,all 为全部,partial 表示部分(该参数仅对数据同步任务有效)
|
1153
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1154
1117
|
:rtype: str
|
1155
1118
|
"""
|
1156
1119
|
return self._ColumnMode
|
@@ -1162,7 +1125,6 @@ class CompareTableItem(AbstractModel):
|
|
1162
1125
|
@property
|
1163
1126
|
def Columns(self):
|
1164
1127
|
"""当 ColumnMode 为 partial 时必填(该参数仅对数据同步任务有效)
|
1165
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1166
1128
|
:rtype: list of CompareColumnItem
|
1167
1129
|
"""
|
1168
1130
|
return self._Columns
|
@@ -1199,10 +1161,8 @@ class CompareTaskInfo(AbstractModel):
|
|
1199
1161
|
def __init__(self):
|
1200
1162
|
r"""
|
1201
1163
|
:param _CompareTaskId: 一致性校验任务Id
|
1202
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1203
1164
|
:type CompareTaskId: str
|
1204
1165
|
:param _Status: 一致性校验结果,包括:unstart(未启动)、running(校验中)、canceled(已终止)、failed(校验任务失败)、inconsistent(不一致)、consistent(一致)、notexist(不存在校验任务)
|
1205
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1206
1166
|
:type Status: str
|
1207
1167
|
"""
|
1208
1168
|
self._CompareTaskId = None
|
@@ -1211,7 +1171,6 @@ class CompareTaskInfo(AbstractModel):
|
|
1211
1171
|
@property
|
1212
1172
|
def CompareTaskId(self):
|
1213
1173
|
"""一致性校验任务Id
|
1214
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1215
1174
|
:rtype: str
|
1216
1175
|
"""
|
1217
1176
|
return self._CompareTaskId
|
@@ -1223,7 +1182,6 @@ class CompareTaskInfo(AbstractModel):
|
|
1223
1182
|
@property
|
1224
1183
|
def Status(self):
|
1225
1184
|
"""一致性校验结果,包括:unstart(未启动)、running(校验中)、canceled(已终止)、failed(校验任务失败)、inconsistent(不一致)、consistent(一致)、notexist(不存在校验任务)
|
1226
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1227
1185
|
:rtype: str
|
1228
1186
|
"""
|
1229
1187
|
return self._Status
|
@@ -1521,7 +1479,6 @@ class CompareViewItem(AbstractModel):
|
|
1521
1479
|
def __init__(self):
|
1522
1480
|
r"""
|
1523
1481
|
:param _ViewName: 视图名
|
1524
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1525
1482
|
:type ViewName: str
|
1526
1483
|
"""
|
1527
1484
|
self._ViewName = None
|
@@ -1529,7 +1486,6 @@ class CompareViewItem(AbstractModel):
|
|
1529
1486
|
@property
|
1530
1487
|
def ViewName(self):
|
1531
1488
|
"""视图名
|
1532
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1533
1489
|
:rtype: str
|
1534
1490
|
"""
|
1535
1491
|
return self._ViewName
|
@@ -2238,7 +2194,6 @@ class ConsistencyOption(AbstractModel):
|
|
2238
2194
|
def __init__(self):
|
2239
2195
|
r"""
|
2240
2196
|
:param _Mode: 一致性检测类型: full(全量检测迁移对象)、noCheck(不检测)、notConfigured(未配置)
|
2241
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2242
2197
|
:type Mode: str
|
2243
2198
|
"""
|
2244
2199
|
self._Mode = None
|
@@ -2246,7 +2201,6 @@ class ConsistencyOption(AbstractModel):
|
|
2246
2201
|
@property
|
2247
2202
|
def Mode(self):
|
2248
2203
|
"""一致性检测类型: full(全量检测迁移对象)、noCheck(不检测)、notConfigured(未配置)
|
2249
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2250
2204
|
:rtype: str
|
2251
2205
|
"""
|
2252
2206
|
return self._Mode
|
@@ -3560,32 +3514,23 @@ class DBEndpointInfo(AbstractModel):
|
|
3560
3514
|
def __init__(self):
|
3561
3515
|
r"""
|
3562
3516
|
:param _Region: 实例所在地域
|
3563
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3564
3517
|
:type Region: str
|
3565
3518
|
:param _AccessType: 实例网络接入类型,如:extranet(外网)、ipv6(公网ipv6)、cvm(云主机自建)、dcg(专线接入)、vpncloud(vpn接入的实例)、cdb(云数据库)、ccn(云联网)、intranet(自研上云)、vpc(私有网络)等,注意具体可选值依赖当前链路
|
3566
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3567
3519
|
:type AccessType: str
|
3568
3520
|
:param _DatabaseType: 实例数据库类型,如:mysql,redis,mongodb,postgresql,mariadb,percona 等
|
3569
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3570
3521
|
:type DatabaseType: str
|
3571
3522
|
:param _NodeType: 节点类型,为空或者simple表示普通节点、cluster表示集群节点;对于mongo业务,取值为replicaset(mongodb副本集)、standalone(mongodb单节点)、cluster(mongodb集群);对于redis实例,为空或simple(单节点)、cluster(集群)、cluster-cache(cache集群)、cluster-proxy(代理集群)
|
3572
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3573
3523
|
:type NodeType: str
|
3574
3524
|
:param _Info: 数据库信息
|
3575
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3576
3525
|
:type Info: list of DBInfo
|
3577
3526
|
:param _Supplier: 实例服务提供商,如:"aliyun","others"
|
3578
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3579
3527
|
:type Supplier: str
|
3580
3528
|
:param _ExtraAttr: MongoDB可定义如下的参数: ['AuthDatabase':'admin',
|
3581
3529
|
'AuthFlag': "1", 'AuthMechanism':"SCRAM-SHA-1"]
|
3582
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3583
3530
|
:type ExtraAttr: list of KeyValuePairOption
|
3584
3531
|
:param _DatabaseNetEnv: 数据库所属网络环境,AccessType为云联网(ccn)时必填, UserIDC表示用户IDC、TencentVPC表示腾讯云VPC;
|
3585
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3586
3532
|
:type DatabaseNetEnv: str
|
3587
3533
|
:param _ConnectType: tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,Info中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,Info中需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。
|
3588
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3589
3534
|
:type ConnectType: str
|
3590
3535
|
"""
|
3591
3536
|
self._Region = None
|
@@ -3601,7 +3546,6 @@ class DBEndpointInfo(AbstractModel):
|
|
3601
3546
|
@property
|
3602
3547
|
def Region(self):
|
3603
3548
|
"""实例所在地域
|
3604
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3605
3549
|
:rtype: str
|
3606
3550
|
"""
|
3607
3551
|
return self._Region
|
@@ -3613,7 +3557,6 @@ class DBEndpointInfo(AbstractModel):
|
|
3613
3557
|
@property
|
3614
3558
|
def AccessType(self):
|
3615
3559
|
"""实例网络接入类型,如:extranet(外网)、ipv6(公网ipv6)、cvm(云主机自建)、dcg(专线接入)、vpncloud(vpn接入的实例)、cdb(云数据库)、ccn(云联网)、intranet(自研上云)、vpc(私有网络)等,注意具体可选值依赖当前链路
|
3616
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3617
3560
|
:rtype: str
|
3618
3561
|
"""
|
3619
3562
|
return self._AccessType
|
@@ -3625,7 +3568,6 @@ class DBEndpointInfo(AbstractModel):
|
|
3625
3568
|
@property
|
3626
3569
|
def DatabaseType(self):
|
3627
3570
|
"""实例数据库类型,如:mysql,redis,mongodb,postgresql,mariadb,percona 等
|
3628
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3629
3571
|
:rtype: str
|
3630
3572
|
"""
|
3631
3573
|
return self._DatabaseType
|
@@ -3637,7 +3579,6 @@ class DBEndpointInfo(AbstractModel):
|
|
3637
3579
|
@property
|
3638
3580
|
def NodeType(self):
|
3639
3581
|
"""节点类型,为空或者simple表示普通节点、cluster表示集群节点;对于mongo业务,取值为replicaset(mongodb副本集)、standalone(mongodb单节点)、cluster(mongodb集群);对于redis实例,为空或simple(单节点)、cluster(集群)、cluster-cache(cache集群)、cluster-proxy(代理集群)
|
3640
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3641
3582
|
:rtype: str
|
3642
3583
|
"""
|
3643
3584
|
return self._NodeType
|
@@ -3649,7 +3590,6 @@ class DBEndpointInfo(AbstractModel):
|
|
3649
3590
|
@property
|
3650
3591
|
def Info(self):
|
3651
3592
|
"""数据库信息
|
3652
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3653
3593
|
:rtype: list of DBInfo
|
3654
3594
|
"""
|
3655
3595
|
return self._Info
|
@@ -3661,7 +3601,6 @@ class DBEndpointInfo(AbstractModel):
|
|
3661
3601
|
@property
|
3662
3602
|
def Supplier(self):
|
3663
3603
|
"""实例服务提供商,如:"aliyun","others"
|
3664
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3665
3604
|
:rtype: str
|
3666
3605
|
"""
|
3667
3606
|
return self._Supplier
|
@@ -3674,7 +3613,6 @@ class DBEndpointInfo(AbstractModel):
|
|
3674
3613
|
def ExtraAttr(self):
|
3675
3614
|
"""MongoDB可定义如下的参数: ['AuthDatabase':'admin',
|
3676
3615
|
'AuthFlag': "1", 'AuthMechanism':"SCRAM-SHA-1"]
|
3677
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3678
3616
|
:rtype: list of KeyValuePairOption
|
3679
3617
|
"""
|
3680
3618
|
return self._ExtraAttr
|
@@ -3686,7 +3624,6 @@ class DBEndpointInfo(AbstractModel):
|
|
3686
3624
|
@property
|
3687
3625
|
def DatabaseNetEnv(self):
|
3688
3626
|
"""数据库所属网络环境,AccessType为云联网(ccn)时必填, UserIDC表示用户IDC、TencentVPC表示腾讯云VPC;
|
3689
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3690
3627
|
:rtype: str
|
3691
3628
|
"""
|
3692
3629
|
return self._DatabaseNetEnv
|
@@ -3698,7 +3635,6 @@ class DBEndpointInfo(AbstractModel):
|
|
3698
3635
|
@property
|
3699
3636
|
def ConnectType(self):
|
3700
3637
|
"""tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,Info中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,Info中需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。
|
3701
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3702
3638
|
:rtype: str
|
3703
3639
|
"""
|
3704
3640
|
return self._ConnectType
|
@@ -3746,67 +3682,46 @@ class DBInfo(AbstractModel):
|
|
3746
3682
|
def __init__(self):
|
3747
3683
|
r"""
|
3748
3684
|
:param _Role: 表示节点角色,针对分布式数据库,如mongodb中的mongos节点。tdsqlmysql的可选项:proxy表示节点类型为主机,set表示节点类型为节点。proxy类型必须填在数组第一项。tdsqlmysql类型的源/目标配置必填。
|
3749
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3750
3685
|
:type Role: str
|
3751
3686
|
:param _DbKernel: 内核版本,针对mariadb的不同内核版本等
|
3752
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3753
3687
|
:type DbKernel: str
|
3754
3688
|
:param _Host: 实例的IP地址,对于公网、专线、VPN、云联网、自研上云、VPC等接入方式此项必填
|
3755
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3756
3689
|
:type Host: str
|
3757
3690
|
:param _Port: 实例的端口,对于公网、云主机自建、专线、VPN、云联网、自研上云、VPC等接入方式此项必填
|
3758
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3759
3691
|
:type Port: int
|
3760
3692
|
:param _User: 实例的用户名
|
3761
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3762
3693
|
:type User: str
|
3763
3694
|
:param _Password: 实例的密码
|
3764
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3765
3695
|
:type Password: str
|
3766
3696
|
:param _CvmInstanceId: CVM实例短ID,格式如:ins-olgl39y8;与云服务器控制台页面显示的实例ID相同;如果接入类型为云主机自建的方式,此项必填
|
3767
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3768
3697
|
:type CvmInstanceId: str
|
3769
3698
|
:param _UniqVpnGwId: VPN网关ID,格式如:vpngw-9ghexg7q;如果接入类型为vpncloud的方式,此项必填
|
3770
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3771
3699
|
:type UniqVpnGwId: str
|
3772
3700
|
:param _UniqDcgId: 专线网关ID,格式如:dcg-0rxtqqxb;如果接入类型为专线接入的方式,此项必填
|
3773
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3774
3701
|
:type UniqDcgId: str
|
3775
3702
|
:param _InstanceId: 数据库实例ID,格式如:cdb-powiqx8q;如果接入类型为云数据库的方式,此项必填
|
3776
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3777
3703
|
:type InstanceId: str
|
3778
3704
|
:param _CcnGwId: 云联网ID,如:ccn-afp6kltc 注意:此字段可能返回 null,表示取不到有效值。
|
3779
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3780
3705
|
:type CcnGwId: str
|
3781
3706
|
:param _VpcId: 私有网络ID,格式如:vpc-92jblxto;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填
|
3782
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3783
3707
|
:type VpcId: str
|
3784
3708
|
:param _SubnetId: 私有网络下的子网ID,格式如:subnet-3paxmkdz;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填
|
3785
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3786
3709
|
:type SubnetId: str
|
3787
3710
|
:param _EngineVersion: 数据库版本,当实例为RDS实例时才有效,格式如:5.6或者5.7,默认为5.6
|
3788
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3789
3711
|
:type EngineVersion: str
|
3790
3712
|
:param _Account: 实例所属账号
|
3791
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3792
3713
|
:type Account: str
|
3793
3714
|
:param _AccountRole: 跨账号迁移时的角色,只允许[a-zA-Z0-9\-\_]+
|
3794
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3795
3715
|
:type AccountRole: str
|
3796
3716
|
:param _AccountMode: 资源所属账号 为空或self(表示本账号内资源)、other(表示其他账户资源)
|
3797
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3798
3717
|
:type AccountMode: str
|
3799
3718
|
:param _TmpSecretId: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
3800
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3801
3719
|
:type TmpSecretId: str
|
3802
3720
|
:param _TmpSecretKey: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
3803
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3804
3721
|
:type TmpSecretKey: str
|
3805
3722
|
:param _TmpToken: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
3806
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3807
3723
|
:type TmpToken: str
|
3808
3724
|
:param _SetId: tdsql的分片id。如节点类型为set必填。
|
3809
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3810
3725
|
:type SetId: str
|
3811
3726
|
"""
|
3812
3727
|
self._Role = None
|
@@ -3834,7 +3749,6 @@ class DBInfo(AbstractModel):
|
|
3834
3749
|
@property
|
3835
3750
|
def Role(self):
|
3836
3751
|
"""表示节点角色,针对分布式数据库,如mongodb中的mongos节点。tdsqlmysql的可选项:proxy表示节点类型为主机,set表示节点类型为节点。proxy类型必须填在数组第一项。tdsqlmysql类型的源/目标配置必填。
|
3837
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3838
3752
|
:rtype: str
|
3839
3753
|
"""
|
3840
3754
|
return self._Role
|
@@ -3846,7 +3760,6 @@ class DBInfo(AbstractModel):
|
|
3846
3760
|
@property
|
3847
3761
|
def DbKernel(self):
|
3848
3762
|
"""内核版本,针对mariadb的不同内核版本等
|
3849
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3850
3763
|
:rtype: str
|
3851
3764
|
"""
|
3852
3765
|
return self._DbKernel
|
@@ -3858,7 +3771,6 @@ class DBInfo(AbstractModel):
|
|
3858
3771
|
@property
|
3859
3772
|
def Host(self):
|
3860
3773
|
"""实例的IP地址,对于公网、专线、VPN、云联网、自研上云、VPC等接入方式此项必填
|
3861
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3862
3774
|
:rtype: str
|
3863
3775
|
"""
|
3864
3776
|
return self._Host
|
@@ -3870,7 +3782,6 @@ class DBInfo(AbstractModel):
|
|
3870
3782
|
@property
|
3871
3783
|
def Port(self):
|
3872
3784
|
"""实例的端口,对于公网、云主机自建、专线、VPN、云联网、自研上云、VPC等接入方式此项必填
|
3873
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3874
3785
|
:rtype: int
|
3875
3786
|
"""
|
3876
3787
|
return self._Port
|
@@ -3882,7 +3793,6 @@ class DBInfo(AbstractModel):
|
|
3882
3793
|
@property
|
3883
3794
|
def User(self):
|
3884
3795
|
"""实例的用户名
|
3885
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3886
3796
|
:rtype: str
|
3887
3797
|
"""
|
3888
3798
|
return self._User
|
@@ -3894,7 +3804,6 @@ class DBInfo(AbstractModel):
|
|
3894
3804
|
@property
|
3895
3805
|
def Password(self):
|
3896
3806
|
"""实例的密码
|
3897
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3898
3807
|
:rtype: str
|
3899
3808
|
"""
|
3900
3809
|
return self._Password
|
@@ -3906,7 +3815,6 @@ class DBInfo(AbstractModel):
|
|
3906
3815
|
@property
|
3907
3816
|
def CvmInstanceId(self):
|
3908
3817
|
"""CVM实例短ID,格式如:ins-olgl39y8;与云服务器控制台页面显示的实例ID相同;如果接入类型为云主机自建的方式,此项必填
|
3909
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3910
3818
|
:rtype: str
|
3911
3819
|
"""
|
3912
3820
|
return self._CvmInstanceId
|
@@ -3918,7 +3826,6 @@ class DBInfo(AbstractModel):
|
|
3918
3826
|
@property
|
3919
3827
|
def UniqVpnGwId(self):
|
3920
3828
|
"""VPN网关ID,格式如:vpngw-9ghexg7q;如果接入类型为vpncloud的方式,此项必填
|
3921
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3922
3829
|
:rtype: str
|
3923
3830
|
"""
|
3924
3831
|
return self._UniqVpnGwId
|
@@ -3930,7 +3837,6 @@ class DBInfo(AbstractModel):
|
|
3930
3837
|
@property
|
3931
3838
|
def UniqDcgId(self):
|
3932
3839
|
"""专线网关ID,格式如:dcg-0rxtqqxb;如果接入类型为专线接入的方式,此项必填
|
3933
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3934
3840
|
:rtype: str
|
3935
3841
|
"""
|
3936
3842
|
return self._UniqDcgId
|
@@ -3942,7 +3848,6 @@ class DBInfo(AbstractModel):
|
|
3942
3848
|
@property
|
3943
3849
|
def InstanceId(self):
|
3944
3850
|
"""数据库实例ID,格式如:cdb-powiqx8q;如果接入类型为云数据库的方式,此项必填
|
3945
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3946
3851
|
:rtype: str
|
3947
3852
|
"""
|
3948
3853
|
return self._InstanceId
|
@@ -3954,7 +3859,6 @@ class DBInfo(AbstractModel):
|
|
3954
3859
|
@property
|
3955
3860
|
def CcnGwId(self):
|
3956
3861
|
"""云联网ID,如:ccn-afp6kltc 注意:此字段可能返回 null,表示取不到有效值。
|
3957
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3958
3862
|
:rtype: str
|
3959
3863
|
"""
|
3960
3864
|
return self._CcnGwId
|
@@ -3966,7 +3870,6 @@ class DBInfo(AbstractModel):
|
|
3966
3870
|
@property
|
3967
3871
|
def VpcId(self):
|
3968
3872
|
"""私有网络ID,格式如:vpc-92jblxto;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填
|
3969
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3970
3873
|
:rtype: str
|
3971
3874
|
"""
|
3972
3875
|
return self._VpcId
|
@@ -3978,7 +3881,6 @@ class DBInfo(AbstractModel):
|
|
3978
3881
|
@property
|
3979
3882
|
def SubnetId(self):
|
3980
3883
|
"""私有网络下的子网ID,格式如:subnet-3paxmkdz;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填
|
3981
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3982
3884
|
:rtype: str
|
3983
3885
|
"""
|
3984
3886
|
return self._SubnetId
|
@@ -3990,7 +3892,6 @@ class DBInfo(AbstractModel):
|
|
3990
3892
|
@property
|
3991
3893
|
def EngineVersion(self):
|
3992
3894
|
"""数据库版本,当实例为RDS实例时才有效,格式如:5.6或者5.7,默认为5.6
|
3993
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3994
3895
|
:rtype: str
|
3995
3896
|
"""
|
3996
3897
|
return self._EngineVersion
|
@@ -4002,7 +3903,6 @@ class DBInfo(AbstractModel):
|
|
4002
3903
|
@property
|
4003
3904
|
def Account(self):
|
4004
3905
|
"""实例所属账号
|
4005
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4006
3906
|
:rtype: str
|
4007
3907
|
"""
|
4008
3908
|
return self._Account
|
@@ -4014,7 +3914,6 @@ class DBInfo(AbstractModel):
|
|
4014
3914
|
@property
|
4015
3915
|
def AccountRole(self):
|
4016
3916
|
"""跨账号迁移时的角色,只允许[a-zA-Z0-9\-\_]+
|
4017
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4018
3917
|
:rtype: str
|
4019
3918
|
"""
|
4020
3919
|
return self._AccountRole
|
@@ -4026,7 +3925,6 @@ class DBInfo(AbstractModel):
|
|
4026
3925
|
@property
|
4027
3926
|
def AccountMode(self):
|
4028
3927
|
"""资源所属账号 为空或self(表示本账号内资源)、other(表示其他账户资源)
|
4029
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4030
3928
|
:rtype: str
|
4031
3929
|
"""
|
4032
3930
|
return self._AccountMode
|
@@ -4038,7 +3936,6 @@ class DBInfo(AbstractModel):
|
|
4038
3936
|
@property
|
4039
3937
|
def TmpSecretId(self):
|
4040
3938
|
"""临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
4041
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4042
3939
|
:rtype: str
|
4043
3940
|
"""
|
4044
3941
|
return self._TmpSecretId
|
@@ -4050,7 +3947,6 @@ class DBInfo(AbstractModel):
|
|
4050
3947
|
@property
|
4051
3948
|
def TmpSecretKey(self):
|
4052
3949
|
"""临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
4053
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4054
3950
|
:rtype: str
|
4055
3951
|
"""
|
4056
3952
|
return self._TmpSecretKey
|
@@ -4062,7 +3958,6 @@ class DBInfo(AbstractModel):
|
|
4062
3958
|
@property
|
4063
3959
|
def TmpToken(self):
|
4064
3960
|
"""临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
4065
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4066
3961
|
:rtype: str
|
4067
3962
|
"""
|
4068
3963
|
return self._TmpToken
|
@@ -4074,7 +3969,6 @@ class DBInfo(AbstractModel):
|
|
4074
3969
|
@property
|
4075
3970
|
def SetId(self):
|
4076
3971
|
"""tdsql的分片id。如节点类型为set必填。
|
4077
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4078
3972
|
:rtype: str
|
4079
3973
|
"""
|
4080
3974
|
return self._SetId
|
@@ -4124,64 +4018,44 @@ class DBItem(AbstractModel):
|
|
4124
4018
|
def __init__(self):
|
4125
4019
|
r"""
|
4126
4020
|
:param _DbName: 需要迁移或同步的库名,当ObjectMode为partial时,此项必填
|
4127
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4128
4021
|
:type DbName: str
|
4129
4022
|
:param _NewDbName: 迁移或同步后的库名,默认与源库相同
|
4130
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4131
4023
|
:type NewDbName: str
|
4132
4024
|
:param _SchemaName: 迁移或同步的 schema
|
4133
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4134
4025
|
:type SchemaName: str
|
4135
4026
|
:param _NewSchemaName: 迁移或同步后的 schema name
|
4136
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4137
4027
|
:type NewSchemaName: str
|
4138
4028
|
:param _DBMode: DB选择模式: all(为当前对象下的所有对象),partial(部分对象),当ObjectMode为partial时,此项必填
|
4139
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4140
4029
|
:type DBMode: str
|
4141
4030
|
:param _SchemaMode: schema选择模式: all(为当前对象下的所有对象),partial(部分对象)
|
4142
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4143
4031
|
:type SchemaMode: str
|
4144
4032
|
:param _TableMode: 表选择模式: all(为当前对象下的所有对象),partial(部分对象),当DBMode为partial时此项必填
|
4145
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4146
4033
|
:type TableMode: str
|
4147
4034
|
:param _Tables: 表图对象集合,当 TableMode 为 partial 时,此项需要填写
|
4148
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4149
4035
|
:type Tables: list of TableItem
|
4150
4036
|
:param _ViewMode: 视图选择模式: all 为当前对象下的所有视图对象,partial 为部分视图对象
|
4151
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4152
4037
|
:type ViewMode: str
|
4153
4038
|
:param _Views: 视图对象集合,当 ViewMode 为 partial 时, 此项需要填写
|
4154
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4155
4039
|
:type Views: list of ViewItem
|
4156
4040
|
:param _RoleMode: postgresql独有参数,角色选择模式: all 为当前对象下的所有角色对象,partial 为部分角色对象
|
4157
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4158
4041
|
:type RoleMode: str
|
4159
4042
|
:param _Roles: postgresql独有参数,当 RoleMode 为 partial 时, 此项需要填写
|
4160
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4161
4043
|
:type Roles: list of RoleItem
|
4162
4044
|
:param _FunctionMode: 选择要同步的模式,partial为部分,all为整选
|
4163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4164
4045
|
:type FunctionMode: str
|
4165
4046
|
:param _TriggerMode: 选择要同步的模式,partial为部分,all为整选
|
4166
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4167
4047
|
:type TriggerMode: str
|
4168
4048
|
:param _EventMode: 选择要同步的模式,partial为部分,all为整选
|
4169
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4170
4049
|
:type EventMode: str
|
4171
4050
|
:param _ProcedureMode: 选择要同步的模式,partial为部分,all为整选
|
4172
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4173
4051
|
:type ProcedureMode: str
|
4174
4052
|
:param _Functions: FunctionMode取值为partial时需要填写
|
4175
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4176
4053
|
:type Functions: list of str
|
4177
4054
|
:param _Procedures: ProcedureMode取值为partial时需要填写
|
4178
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4179
4055
|
:type Procedures: list of str
|
4180
4056
|
:param _Events: EventMode取值为partial时需要填写
|
4181
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4182
4057
|
:type Events: list of str
|
4183
4058
|
:param _Triggers: TriggerMode取值为partial时需要填写
|
4184
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4185
4059
|
:type Triggers: list of str
|
4186
4060
|
"""
|
4187
4061
|
self._DbName = None
|
@@ -4208,7 +4082,6 @@ class DBItem(AbstractModel):
|
|
4208
4082
|
@property
|
4209
4083
|
def DbName(self):
|
4210
4084
|
"""需要迁移或同步的库名,当ObjectMode为partial时,此项必填
|
4211
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4212
4085
|
:rtype: str
|
4213
4086
|
"""
|
4214
4087
|
return self._DbName
|
@@ -4220,7 +4093,6 @@ class DBItem(AbstractModel):
|
|
4220
4093
|
@property
|
4221
4094
|
def NewDbName(self):
|
4222
4095
|
"""迁移或同步后的库名,默认与源库相同
|
4223
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4224
4096
|
:rtype: str
|
4225
4097
|
"""
|
4226
4098
|
return self._NewDbName
|
@@ -4232,7 +4104,6 @@ class DBItem(AbstractModel):
|
|
4232
4104
|
@property
|
4233
4105
|
def SchemaName(self):
|
4234
4106
|
"""迁移或同步的 schema
|
4235
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4236
4107
|
:rtype: str
|
4237
4108
|
"""
|
4238
4109
|
return self._SchemaName
|
@@ -4244,7 +4115,6 @@ class DBItem(AbstractModel):
|
|
4244
4115
|
@property
|
4245
4116
|
def NewSchemaName(self):
|
4246
4117
|
"""迁移或同步后的 schema name
|
4247
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4248
4118
|
:rtype: str
|
4249
4119
|
"""
|
4250
4120
|
return self._NewSchemaName
|
@@ -4256,7 +4126,6 @@ class DBItem(AbstractModel):
|
|
4256
4126
|
@property
|
4257
4127
|
def DBMode(self):
|
4258
4128
|
"""DB选择模式: all(为当前对象下的所有对象),partial(部分对象),当ObjectMode为partial时,此项必填
|
4259
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4260
4129
|
:rtype: str
|
4261
4130
|
"""
|
4262
4131
|
return self._DBMode
|
@@ -4268,7 +4137,6 @@ class DBItem(AbstractModel):
|
|
4268
4137
|
@property
|
4269
4138
|
def SchemaMode(self):
|
4270
4139
|
"""schema选择模式: all(为当前对象下的所有对象),partial(部分对象)
|
4271
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4272
4140
|
:rtype: str
|
4273
4141
|
"""
|
4274
4142
|
return self._SchemaMode
|
@@ -4280,7 +4148,6 @@ class DBItem(AbstractModel):
|
|
4280
4148
|
@property
|
4281
4149
|
def TableMode(self):
|
4282
4150
|
"""表选择模式: all(为当前对象下的所有对象),partial(部分对象),当DBMode为partial时此项必填
|
4283
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4284
4151
|
:rtype: str
|
4285
4152
|
"""
|
4286
4153
|
return self._TableMode
|
@@ -4292,7 +4159,6 @@ class DBItem(AbstractModel):
|
|
4292
4159
|
@property
|
4293
4160
|
def Tables(self):
|
4294
4161
|
"""表图对象集合,当 TableMode 为 partial 时,此项需要填写
|
4295
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4296
4162
|
:rtype: list of TableItem
|
4297
4163
|
"""
|
4298
4164
|
return self._Tables
|
@@ -4304,7 +4170,6 @@ class DBItem(AbstractModel):
|
|
4304
4170
|
@property
|
4305
4171
|
def ViewMode(self):
|
4306
4172
|
"""视图选择模式: all 为当前对象下的所有视图对象,partial 为部分视图对象
|
4307
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4308
4173
|
:rtype: str
|
4309
4174
|
"""
|
4310
4175
|
return self._ViewMode
|
@@ -4316,7 +4181,6 @@ class DBItem(AbstractModel):
|
|
4316
4181
|
@property
|
4317
4182
|
def Views(self):
|
4318
4183
|
"""视图对象集合,当 ViewMode 为 partial 时, 此项需要填写
|
4319
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4320
4184
|
:rtype: list of ViewItem
|
4321
4185
|
"""
|
4322
4186
|
return self._Views
|
@@ -4328,7 +4192,6 @@ class DBItem(AbstractModel):
|
|
4328
4192
|
@property
|
4329
4193
|
def RoleMode(self):
|
4330
4194
|
"""postgresql独有参数,角色选择模式: all 为当前对象下的所有角色对象,partial 为部分角色对象
|
4331
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4332
4195
|
:rtype: str
|
4333
4196
|
"""
|
4334
4197
|
return self._RoleMode
|
@@ -4340,7 +4203,6 @@ class DBItem(AbstractModel):
|
|
4340
4203
|
@property
|
4341
4204
|
def Roles(self):
|
4342
4205
|
"""postgresql独有参数,当 RoleMode 为 partial 时, 此项需要填写
|
4343
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4344
4206
|
:rtype: list of RoleItem
|
4345
4207
|
"""
|
4346
4208
|
return self._Roles
|
@@ -4352,7 +4214,6 @@ class DBItem(AbstractModel):
|
|
4352
4214
|
@property
|
4353
4215
|
def FunctionMode(self):
|
4354
4216
|
"""选择要同步的模式,partial为部分,all为整选
|
4355
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4356
4217
|
:rtype: str
|
4357
4218
|
"""
|
4358
4219
|
return self._FunctionMode
|
@@ -4364,7 +4225,6 @@ class DBItem(AbstractModel):
|
|
4364
4225
|
@property
|
4365
4226
|
def TriggerMode(self):
|
4366
4227
|
"""选择要同步的模式,partial为部分,all为整选
|
4367
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4368
4228
|
:rtype: str
|
4369
4229
|
"""
|
4370
4230
|
return self._TriggerMode
|
@@ -4376,7 +4236,6 @@ class DBItem(AbstractModel):
|
|
4376
4236
|
@property
|
4377
4237
|
def EventMode(self):
|
4378
4238
|
"""选择要同步的模式,partial为部分,all为整选
|
4379
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4380
4239
|
:rtype: str
|
4381
4240
|
"""
|
4382
4241
|
return self._EventMode
|
@@ -4388,7 +4247,6 @@ class DBItem(AbstractModel):
|
|
4388
4247
|
@property
|
4389
4248
|
def ProcedureMode(self):
|
4390
4249
|
"""选择要同步的模式,partial为部分,all为整选
|
4391
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4392
4250
|
:rtype: str
|
4393
4251
|
"""
|
4394
4252
|
return self._ProcedureMode
|
@@ -4400,7 +4258,6 @@ class DBItem(AbstractModel):
|
|
4400
4258
|
@property
|
4401
4259
|
def Functions(self):
|
4402
4260
|
"""FunctionMode取值为partial时需要填写
|
4403
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4404
4261
|
:rtype: list of str
|
4405
4262
|
"""
|
4406
4263
|
return self._Functions
|
@@ -4412,7 +4269,6 @@ class DBItem(AbstractModel):
|
|
4412
4269
|
@property
|
4413
4270
|
def Procedures(self):
|
4414
4271
|
"""ProcedureMode取值为partial时需要填写
|
4415
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4416
4272
|
:rtype: list of str
|
4417
4273
|
"""
|
4418
4274
|
return self._Procedures
|
@@ -4424,7 +4280,6 @@ class DBItem(AbstractModel):
|
|
4424
4280
|
@property
|
4425
4281
|
def Events(self):
|
4426
4282
|
"""EventMode取值为partial时需要填写
|
4427
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4428
4283
|
:rtype: list of str
|
4429
4284
|
"""
|
4430
4285
|
return self._Events
|
@@ -4436,7 +4291,6 @@ class DBItem(AbstractModel):
|
|
4436
4291
|
@property
|
4437
4292
|
def Triggers(self):
|
4438
4293
|
"""TriggerMode取值为partial时需要填写
|
4439
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4440
4294
|
:rtype: list of str
|
4441
4295
|
"""
|
4442
4296
|
return self._Triggers
|
@@ -4820,10 +4674,8 @@ class DatabaseTableObject(AbstractModel):
|
|
4820
4674
|
def __init__(self):
|
4821
4675
|
r"""
|
4822
4676
|
:param _ObjectMode: 迁移对象类型 all(全实例),partial(部分对象)
|
4823
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4824
4677
|
:type ObjectMode: str
|
4825
4678
|
:param _Databases: 迁移对象,当 ObjectMode 为 partial 时,不为空
|
4826
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4827
4679
|
:type Databases: list of DBItem
|
4828
4680
|
:param _AdvancedObjects: 高级对象类型,如trigger、function、procedure、event。注意:如果要迁移同步高级对象,此配置中应该包含对应的高级对象类型
|
4829
4681
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4836,7 +4688,6 @@ class DatabaseTableObject(AbstractModel):
|
|
4836
4688
|
@property
|
4837
4689
|
def ObjectMode(self):
|
4838
4690
|
"""迁移对象类型 all(全实例),partial(部分对象)
|
4839
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4840
4691
|
:rtype: str
|
4841
4692
|
"""
|
4842
4693
|
return self._ObjectMode
|
@@ -4848,7 +4699,6 @@ class DatabaseTableObject(AbstractModel):
|
|
4848
4699
|
@property
|
4849
4700
|
def Databases(self):
|
4850
4701
|
"""迁移对象,当 ObjectMode 为 partial 时,不为空
|
4851
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4852
4702
|
:rtype: list of DBItem
|
4853
4703
|
"""
|
4854
4704
|
return self._Databases
|
@@ -9578,13 +9428,10 @@ class DistributeRule(AbstractModel):
|
|
9578
9428
|
def __init__(self):
|
9579
9429
|
r"""
|
9580
9430
|
:param _RuleType: 规则类型。非mongo产品的枚举值为: table-按表名分区,pk-按表名+主键分区,cols-按列名分区。mongo的枚举值为:collection-按集合名分区、collectionAndObjectId-按集合+主键分区。
|
9581
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9582
9431
|
:type RuleType: str
|
9583
9432
|
:param _DbPattern: 库名匹配规则,请填写正则表达式
|
9584
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9585
9433
|
:type DbPattern: str
|
9586
9434
|
:param _TablePattern: 表名匹配规则,如果 DatabaseType 为 mongodb,则匹配集合名
|
9587
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9588
9435
|
:type TablePattern: str
|
9589
9436
|
:param _Columns: 列名。如果 RuleType 为 cols,此项必填。订阅任务会用该列的值计算分区。mongo没有按列分区,因此也不用传这个字段。
|
9590
9437
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -9598,7 +9445,6 @@ class DistributeRule(AbstractModel):
|
|
9598
9445
|
@property
|
9599
9446
|
def RuleType(self):
|
9600
9447
|
"""规则类型。非mongo产品的枚举值为: table-按表名分区,pk-按表名+主键分区,cols-按列名分区。mongo的枚举值为:collection-按集合名分区、collectionAndObjectId-按集合+主键分区。
|
9601
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9602
9448
|
:rtype: str
|
9603
9449
|
"""
|
9604
9450
|
return self._RuleType
|
@@ -9610,7 +9456,6 @@ class DistributeRule(AbstractModel):
|
|
9610
9456
|
@property
|
9611
9457
|
def DbPattern(self):
|
9612
9458
|
"""库名匹配规则,请填写正则表达式
|
9613
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9614
9459
|
:rtype: str
|
9615
9460
|
"""
|
9616
9461
|
return self._DbPattern
|
@@ -9622,7 +9467,6 @@ class DistributeRule(AbstractModel):
|
|
9622
9467
|
@property
|
9623
9468
|
def TablePattern(self):
|
9624
9469
|
"""表名匹配规则,如果 DatabaseType 为 mongodb,则匹配集合名
|
9625
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9626
9470
|
:rtype: str
|
9627
9471
|
"""
|
9628
9472
|
return self._TablePattern
|
@@ -9763,94 +9607,64 @@ class Endpoint(AbstractModel):
|
|
9763
9607
|
def __init__(self):
|
9764
9608
|
r"""
|
9765
9609
|
:param _Region: 地域英文名,如:ap-guangzhou
|
9766
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9767
9610
|
:type Region: str
|
9768
9611
|
:param _Role: 节点类型,proxy表示节点类型为主机,set表示节点类型为节点。proxy类型必须填在数组第一项。tdsqlmysql类型的源/目标配置必填
|
9769
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9770
9612
|
:type Role: str
|
9771
9613
|
:param _DbKernel: 数据库内核类型,tdsql中用于区分不同内核:percona,mariadb,mysql。注意TDSQL-C MySQL、TDSQL PostgreSQL无需填写此项值。
|
9772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9773
9614
|
:type DbKernel: str
|
9774
9615
|
:param _InstanceId: 数据库实例ID,格式如:cdb-powiqx8q
|
9775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9776
9616
|
:type InstanceId: str
|
9777
9617
|
:param _Ip: 实例的IP地址,接入类型为非cdb时此项必填
|
9778
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9779
9618
|
:type Ip: str
|
9780
9619
|
:param _Port: 实例端口,接入类型为非cdb时此项必填
|
9781
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9782
9620
|
:type Port: int
|
9783
9621
|
:param _User: 用户名,对于访问需要用户名密码认证的实例必填
|
9784
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9785
9622
|
:type User: str
|
9786
9623
|
:param _Password: 密码,对于访问需要用户名密码认证的实例必填
|
9787
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9788
9624
|
:type Password: str
|
9789
9625
|
:param _DbName: 数据库名,数据库为cdwpg时,需要提供
|
9790
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9791
9626
|
:type DbName: str
|
9792
9627
|
:param _VpcId: 私有网络ID,对于私有网络、专线、VPN的接入方式此项必填,格式如:vpc-92jblxto
|
9793
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9794
9628
|
:type VpcId: str
|
9795
9629
|
:param _SubnetId: 私有网络下的子网ID,对于私有网络、专线、VPN的接入方式此项必填,格式如:subnet-3paxmkdz
|
9796
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9797
9630
|
:type SubnetId: str
|
9798
9631
|
:param _CvmInstanceId: CVM实例短ID,格式如:ins-olgl39y8,与云服务器控制台页面显示的实例ID相同。如果是CVM自建实例,需要传递此字段
|
9799
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9800
9632
|
:type CvmInstanceId: str
|
9801
9633
|
:param _UniqDcgId: 专线网关ID,对于专线接入类型此项必填,格式如:dcg-0rxtqqxb
|
9802
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9803
9634
|
:type UniqDcgId: str
|
9804
9635
|
:param _UniqVpnGwId: VPN网关ID,对于vpn接入类型此项必填,格式如:vpngw-9ghexg7q
|
9805
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9806
9636
|
:type UniqVpnGwId: str
|
9807
9637
|
:param _CcnId: 云联网ID,对于云联网接入类型此项必填,如:ccn-afp6kltc
|
9808
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9809
9638
|
:type CcnId: str
|
9810
9639
|
:param _Supplier: 云厂商类型,当实例为RDS实例时,填写为aliyun, 其他情况均填写others,默认为others
|
9811
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9812
9640
|
:type Supplier: str
|
9813
9641
|
:param _EngineVersion: 数据库版本,当实例为RDS实例时才有效,其他实例忽略,格式如:5.6或者5.7,默认为5.6
|
9814
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9815
9642
|
:type EngineVersion: str
|
9816
9643
|
:param _Account: 实例所属账号,如果为跨账号实例此项必填
|
9817
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9818
9644
|
:type Account: str
|
9819
9645
|
:param _AccountMode: 资源所属账号 为空或self(表示本账号内资源)、other(表示跨账号资源)
|
9820
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9821
9646
|
:type AccountMode: str
|
9822
9647
|
:param _AccountRole: 跨账号同步时的角色,只允许[a-zA-Z0-9\-\_]+,如果为跨账号实例此项必填
|
9823
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9824
9648
|
:type AccountRole: str
|
9825
9649
|
:param _RoleExternalId: 外部角色id
|
9826
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9827
9650
|
:type RoleExternalId: str
|
9828
9651
|
:param _TmpSecretId: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
9829
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9830
9652
|
:type TmpSecretId: str
|
9831
9653
|
:param _TmpSecretKey: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
9832
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9833
9654
|
:type TmpSecretKey: str
|
9834
9655
|
:param _TmpToken: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
9835
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9836
9656
|
:type TmpToken: str
|
9837
9657
|
:param _EncryptConn: 是否走加密传输、UnEncrypted表示不走加密传输,Encrypted表示走加密传输,默认UnEncrypted
|
9838
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9839
9658
|
:type EncryptConn: str
|
9840
9659
|
:param _DatabaseNetEnv: 数据库所属网络环境,AccessType为云联网(ccn)时必填, UserIDC表示用户IDC、TencentVPC表示腾讯云VPC;
|
9841
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9842
9660
|
:type DatabaseNetEnv: str
|
9843
9661
|
:param _CcnOwnerUin: 数据库为跨账号云联网下的实例时、表示云联网所属主账号
|
9844
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9845
9662
|
:type CcnOwnerUin: str
|
9846
9663
|
:param _ChildInstanceId: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的ID
|
9847
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9848
9664
|
:type ChildInstanceId: str
|
9849
9665
|
:param _ChildInstanceType: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的类型、例如:只读实例传ro、读写实例传rw
|
9850
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9851
9666
|
:type ChildInstanceType: str
|
9852
9667
|
:param _SetId: tdsql的分片id。如节点类型为set必填。
|
9853
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9854
9668
|
:type SetId: str
|
9855
9669
|
"""
|
9856
9670
|
self._Region = None
|
@@ -9887,7 +9701,6 @@ class Endpoint(AbstractModel):
|
|
9887
9701
|
@property
|
9888
9702
|
def Region(self):
|
9889
9703
|
"""地域英文名,如:ap-guangzhou
|
9890
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9891
9704
|
:rtype: str
|
9892
9705
|
"""
|
9893
9706
|
return self._Region
|
@@ -9899,7 +9712,6 @@ class Endpoint(AbstractModel):
|
|
9899
9712
|
@property
|
9900
9713
|
def Role(self):
|
9901
9714
|
"""节点类型,proxy表示节点类型为主机,set表示节点类型为节点。proxy类型必须填在数组第一项。tdsqlmysql类型的源/目标配置必填
|
9902
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9903
9715
|
:rtype: str
|
9904
9716
|
"""
|
9905
9717
|
return self._Role
|
@@ -9911,7 +9723,6 @@ class Endpoint(AbstractModel):
|
|
9911
9723
|
@property
|
9912
9724
|
def DbKernel(self):
|
9913
9725
|
"""数据库内核类型,tdsql中用于区分不同内核:percona,mariadb,mysql。注意TDSQL-C MySQL、TDSQL PostgreSQL无需填写此项值。
|
9914
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9915
9726
|
:rtype: str
|
9916
9727
|
"""
|
9917
9728
|
return self._DbKernel
|
@@ -9923,7 +9734,6 @@ class Endpoint(AbstractModel):
|
|
9923
9734
|
@property
|
9924
9735
|
def InstanceId(self):
|
9925
9736
|
"""数据库实例ID,格式如:cdb-powiqx8q
|
9926
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9927
9737
|
:rtype: str
|
9928
9738
|
"""
|
9929
9739
|
return self._InstanceId
|
@@ -9935,7 +9745,6 @@ class Endpoint(AbstractModel):
|
|
9935
9745
|
@property
|
9936
9746
|
def Ip(self):
|
9937
9747
|
"""实例的IP地址,接入类型为非cdb时此项必填
|
9938
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9939
9748
|
:rtype: str
|
9940
9749
|
"""
|
9941
9750
|
return self._Ip
|
@@ -9947,7 +9756,6 @@ class Endpoint(AbstractModel):
|
|
9947
9756
|
@property
|
9948
9757
|
def Port(self):
|
9949
9758
|
"""实例端口,接入类型为非cdb时此项必填
|
9950
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9951
9759
|
:rtype: int
|
9952
9760
|
"""
|
9953
9761
|
return self._Port
|
@@ -9959,7 +9767,6 @@ class Endpoint(AbstractModel):
|
|
9959
9767
|
@property
|
9960
9768
|
def User(self):
|
9961
9769
|
"""用户名,对于访问需要用户名密码认证的实例必填
|
9962
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9963
9770
|
:rtype: str
|
9964
9771
|
"""
|
9965
9772
|
return self._User
|
@@ -9971,7 +9778,6 @@ class Endpoint(AbstractModel):
|
|
9971
9778
|
@property
|
9972
9779
|
def Password(self):
|
9973
9780
|
"""密码,对于访问需要用户名密码认证的实例必填
|
9974
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9975
9781
|
:rtype: str
|
9976
9782
|
"""
|
9977
9783
|
return self._Password
|
@@ -9983,7 +9789,6 @@ class Endpoint(AbstractModel):
|
|
9983
9789
|
@property
|
9984
9790
|
def DbName(self):
|
9985
9791
|
"""数据库名,数据库为cdwpg时,需要提供
|
9986
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9987
9792
|
:rtype: str
|
9988
9793
|
"""
|
9989
9794
|
return self._DbName
|
@@ -9995,7 +9800,6 @@ class Endpoint(AbstractModel):
|
|
9995
9800
|
@property
|
9996
9801
|
def VpcId(self):
|
9997
9802
|
"""私有网络ID,对于私有网络、专线、VPN的接入方式此项必填,格式如:vpc-92jblxto
|
9998
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9999
9803
|
:rtype: str
|
10000
9804
|
"""
|
10001
9805
|
return self._VpcId
|
@@ -10007,7 +9811,6 @@ class Endpoint(AbstractModel):
|
|
10007
9811
|
@property
|
10008
9812
|
def SubnetId(self):
|
10009
9813
|
"""私有网络下的子网ID,对于私有网络、专线、VPN的接入方式此项必填,格式如:subnet-3paxmkdz
|
10010
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10011
9814
|
:rtype: str
|
10012
9815
|
"""
|
10013
9816
|
return self._SubnetId
|
@@ -10019,7 +9822,6 @@ class Endpoint(AbstractModel):
|
|
10019
9822
|
@property
|
10020
9823
|
def CvmInstanceId(self):
|
10021
9824
|
"""CVM实例短ID,格式如:ins-olgl39y8,与云服务器控制台页面显示的实例ID相同。如果是CVM自建实例,需要传递此字段
|
10022
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10023
9825
|
:rtype: str
|
10024
9826
|
"""
|
10025
9827
|
return self._CvmInstanceId
|
@@ -10031,7 +9833,6 @@ class Endpoint(AbstractModel):
|
|
10031
9833
|
@property
|
10032
9834
|
def UniqDcgId(self):
|
10033
9835
|
"""专线网关ID,对于专线接入类型此项必填,格式如:dcg-0rxtqqxb
|
10034
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10035
9836
|
:rtype: str
|
10036
9837
|
"""
|
10037
9838
|
return self._UniqDcgId
|
@@ -10043,7 +9844,6 @@ class Endpoint(AbstractModel):
|
|
10043
9844
|
@property
|
10044
9845
|
def UniqVpnGwId(self):
|
10045
9846
|
"""VPN网关ID,对于vpn接入类型此项必填,格式如:vpngw-9ghexg7q
|
10046
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10047
9847
|
:rtype: str
|
10048
9848
|
"""
|
10049
9849
|
return self._UniqVpnGwId
|
@@ -10055,7 +9855,6 @@ class Endpoint(AbstractModel):
|
|
10055
9855
|
@property
|
10056
9856
|
def CcnId(self):
|
10057
9857
|
"""云联网ID,对于云联网接入类型此项必填,如:ccn-afp6kltc
|
10058
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10059
9858
|
:rtype: str
|
10060
9859
|
"""
|
10061
9860
|
return self._CcnId
|
@@ -10067,7 +9866,6 @@ class Endpoint(AbstractModel):
|
|
10067
9866
|
@property
|
10068
9867
|
def Supplier(self):
|
10069
9868
|
"""云厂商类型,当实例为RDS实例时,填写为aliyun, 其他情况均填写others,默认为others
|
10070
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10071
9869
|
:rtype: str
|
10072
9870
|
"""
|
10073
9871
|
return self._Supplier
|
@@ -10079,7 +9877,6 @@ class Endpoint(AbstractModel):
|
|
10079
9877
|
@property
|
10080
9878
|
def EngineVersion(self):
|
10081
9879
|
"""数据库版本,当实例为RDS实例时才有效,其他实例忽略,格式如:5.6或者5.7,默认为5.6
|
10082
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10083
9880
|
:rtype: str
|
10084
9881
|
"""
|
10085
9882
|
return self._EngineVersion
|
@@ -10091,7 +9888,6 @@ class Endpoint(AbstractModel):
|
|
10091
9888
|
@property
|
10092
9889
|
def Account(self):
|
10093
9890
|
"""实例所属账号,如果为跨账号实例此项必填
|
10094
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10095
9891
|
:rtype: str
|
10096
9892
|
"""
|
10097
9893
|
return self._Account
|
@@ -10103,7 +9899,6 @@ class Endpoint(AbstractModel):
|
|
10103
9899
|
@property
|
10104
9900
|
def AccountMode(self):
|
10105
9901
|
"""资源所属账号 为空或self(表示本账号内资源)、other(表示跨账号资源)
|
10106
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10107
9902
|
:rtype: str
|
10108
9903
|
"""
|
10109
9904
|
return self._AccountMode
|
@@ -10115,7 +9910,6 @@ class Endpoint(AbstractModel):
|
|
10115
9910
|
@property
|
10116
9911
|
def AccountRole(self):
|
10117
9912
|
"""跨账号同步时的角色,只允许[a-zA-Z0-9\-\_]+,如果为跨账号实例此项必填
|
10118
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10119
9913
|
:rtype: str
|
10120
9914
|
"""
|
10121
9915
|
return self._AccountRole
|
@@ -10127,7 +9921,6 @@ class Endpoint(AbstractModel):
|
|
10127
9921
|
@property
|
10128
9922
|
def RoleExternalId(self):
|
10129
9923
|
"""外部角色id
|
10130
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10131
9924
|
:rtype: str
|
10132
9925
|
"""
|
10133
9926
|
return self._RoleExternalId
|
@@ -10139,7 +9932,6 @@ class Endpoint(AbstractModel):
|
|
10139
9932
|
@property
|
10140
9933
|
def TmpSecretId(self):
|
10141
9934
|
"""临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
10142
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10143
9935
|
:rtype: str
|
10144
9936
|
"""
|
10145
9937
|
return self._TmpSecretId
|
@@ -10151,7 +9943,6 @@ class Endpoint(AbstractModel):
|
|
10151
9943
|
@property
|
10152
9944
|
def TmpSecretKey(self):
|
10153
9945
|
"""临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
10154
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10155
9946
|
:rtype: str
|
10156
9947
|
"""
|
10157
9948
|
return self._TmpSecretKey
|
@@ -10163,7 +9954,6 @@ class Endpoint(AbstractModel):
|
|
10163
9954
|
@property
|
10164
9955
|
def TmpToken(self):
|
10165
9956
|
"""临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
10166
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10167
9957
|
:rtype: str
|
10168
9958
|
"""
|
10169
9959
|
return self._TmpToken
|
@@ -10175,7 +9965,6 @@ class Endpoint(AbstractModel):
|
|
10175
9965
|
@property
|
10176
9966
|
def EncryptConn(self):
|
10177
9967
|
"""是否走加密传输、UnEncrypted表示不走加密传输,Encrypted表示走加密传输,默认UnEncrypted
|
10178
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10179
9968
|
:rtype: str
|
10180
9969
|
"""
|
10181
9970
|
return self._EncryptConn
|
@@ -10187,7 +9976,6 @@ class Endpoint(AbstractModel):
|
|
10187
9976
|
@property
|
10188
9977
|
def DatabaseNetEnv(self):
|
10189
9978
|
"""数据库所属网络环境,AccessType为云联网(ccn)时必填, UserIDC表示用户IDC、TencentVPC表示腾讯云VPC;
|
10190
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10191
9979
|
:rtype: str
|
10192
9980
|
"""
|
10193
9981
|
return self._DatabaseNetEnv
|
@@ -10199,7 +9987,6 @@ class Endpoint(AbstractModel):
|
|
10199
9987
|
@property
|
10200
9988
|
def CcnOwnerUin(self):
|
10201
9989
|
"""数据库为跨账号云联网下的实例时、表示云联网所属主账号
|
10202
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10203
9990
|
:rtype: str
|
10204
9991
|
"""
|
10205
9992
|
return self._CcnOwnerUin
|
@@ -10211,7 +9998,6 @@ class Endpoint(AbstractModel):
|
|
10211
9998
|
@property
|
10212
9999
|
def ChildInstanceId(self):
|
10213
10000
|
"""数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的ID
|
10214
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10215
10001
|
:rtype: str
|
10216
10002
|
"""
|
10217
10003
|
return self._ChildInstanceId
|
@@ -10223,7 +10009,6 @@ class Endpoint(AbstractModel):
|
|
10223
10009
|
@property
|
10224
10010
|
def ChildInstanceType(self):
|
10225
10011
|
"""数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的类型、例如:只读实例传ro、读写实例传rw
|
10226
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10227
10012
|
:rtype: str
|
10228
10013
|
"""
|
10229
10014
|
return self._ChildInstanceType
|
@@ -10235,7 +10020,6 @@ class Endpoint(AbstractModel):
|
|
10235
10020
|
@property
|
10236
10021
|
def SetId(self):
|
10237
10022
|
"""tdsql的分片id。如节点类型为set必填。
|
10238
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10239
10023
|
:rtype: str
|
10240
10024
|
"""
|
10241
10025
|
return self._SetId
|
@@ -10294,61 +10078,43 @@ class EndpointItem(AbstractModel):
|
|
10294
10078
|
def __init__(self):
|
10295
10079
|
r"""
|
10296
10080
|
:param _DatabaseRegion: 源库所在地域。如果 AccessType 为 ccn,请填vpc所在地域,因为此时不知道源库在哪个地域。其他接入方式,请填订阅任务所在地域,因为确保订阅任务与源库在同一地域是最优的网络方案。
|
10297
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10298
10081
|
:type DatabaseRegion: str
|
10299
10082
|
:param _User: 用户名
|
10300
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10301
10083
|
:type User: str
|
10302
10084
|
:param _Password: 密码。作为入参时必填,作为出参时为空。
|
10303
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10304
10085
|
:type Password: str
|
10305
10086
|
:param _InstanceId: 目标实例ID。如果 AccessType 为 cdb,此项必填。配置InstanceId时会查询并校验实例信息。mysql的查询接口经过了鉴权,请确保子用户有 cdb:DescribeDBInstances 的接口权限。
|
10306
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10307
10087
|
:type InstanceId: str
|
10308
10088
|
:param _CvmInstanceId: 云主机ID。如果 AccessType 为 cvm,此项必填。
|
10309
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10310
10089
|
:type CvmInstanceId: str
|
10311
10090
|
:param _UniqDcgId: 专线网关ID。如果 AccessType 为 dcg,此项必填。
|
10312
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10313
10091
|
:type UniqDcgId: str
|
10314
10092
|
:param _CcnId: 云联网ID。如果 AccessType 为 ccn,此项必填。
|
10315
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10316
10093
|
:type CcnId: str
|
10317
10094
|
:param _UniqVpnGwId: vpn网关ID。如果 AccessType 为 vpncloud,此项必填。
|
10318
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10319
10095
|
:type UniqVpnGwId: str
|
10320
10096
|
:param _VpcId: VpcID。如果 AccessType 为 dcg\ccn\vpncloud\vpc,此项必填。
|
10321
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10322
10097
|
:type VpcId: str
|
10323
10098
|
:param _SubnetId: 子网ID。如果 AccessType 为 dcg\ccn\vpncloud\vpc,此项必填。
|
10324
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10325
10099
|
:type SubnetId: str
|
10326
10100
|
:param _HostName: 数据库地址,支持域名与IP。如果 AccessType 为 dcg\ccn\vpncloud\vpc\extranet\intranet,此项必填。
|
10327
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10328
10101
|
:type HostName: str
|
10329
10102
|
:param _Port: 数据库端口。如果 AccessType 为 dcg\ccn\vpncloud\vpc\extranet\intranet\cvm,此项必填。
|
10330
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10331
10103
|
:type Port: int
|
10332
10104
|
:param _EncryptConn: 是否走加密传输,枚举值:UnEncrypted-不加密,Encrypted-加密。只有mysql支持,不填默认不加密,其他产品不填。
|
10333
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10334
10105
|
:type EncryptConn: str
|
10335
10106
|
:param _DatabaseNetEnv: 数据库网络环境。如果 AccessType 为 ccn 此项必填。枚举值:UserIDC-自建idc,TencentVPC-腾讯云,Aws-aws,AliYun-阿里云,Others-其他。
|
10336
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10337
10107
|
:type DatabaseNetEnv: str
|
10338
10108
|
:param _CcnOwnerUin: 云联网网关所属的主账号uin、跨账号云联网需要。
|
10339
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10340
10109
|
:type CcnOwnerUin: str
|
10341
10110
|
:param _ExtraAttr: 为业务添加的额外信息。参数名作key,参数值作value。
|
10342
10111
|
tdpg必填参数:PgDatabase-订阅的库名;
|
10343
10112
|
mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-分片集,主要用于控制台跳转到mongo实例页面,如不填不影响任务运行;
|
10344
10113
|
全业务选填参数:EngineVersion-内核版本。
|
10345
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10346
10114
|
:type ExtraAttr: list of KeyValuePairOption
|
10347
10115
|
:param _ChildInstanceId: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的ID
|
10348
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10349
10116
|
:type ChildInstanceId: str
|
10350
10117
|
:param _ChildInstanceType: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的类型、例如:只读实例传ro、读写实例传rw
|
10351
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10352
10118
|
:type ChildInstanceType: str
|
10353
10119
|
"""
|
10354
10120
|
self._DatabaseRegion = None
|
@@ -10373,7 +10139,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10373
10139
|
@property
|
10374
10140
|
def DatabaseRegion(self):
|
10375
10141
|
"""源库所在地域。如果 AccessType 为 ccn,请填vpc所在地域,因为此时不知道源库在哪个地域。其他接入方式,请填订阅任务所在地域,因为确保订阅任务与源库在同一地域是最优的网络方案。
|
10376
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10377
10142
|
:rtype: str
|
10378
10143
|
"""
|
10379
10144
|
return self._DatabaseRegion
|
@@ -10385,7 +10150,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10385
10150
|
@property
|
10386
10151
|
def User(self):
|
10387
10152
|
"""用户名
|
10388
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10389
10153
|
:rtype: str
|
10390
10154
|
"""
|
10391
10155
|
return self._User
|
@@ -10397,7 +10161,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10397
10161
|
@property
|
10398
10162
|
def Password(self):
|
10399
10163
|
"""密码。作为入参时必填,作为出参时为空。
|
10400
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10401
10164
|
:rtype: str
|
10402
10165
|
"""
|
10403
10166
|
return self._Password
|
@@ -10409,7 +10172,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10409
10172
|
@property
|
10410
10173
|
def InstanceId(self):
|
10411
10174
|
"""目标实例ID。如果 AccessType 为 cdb,此项必填。配置InstanceId时会查询并校验实例信息。mysql的查询接口经过了鉴权,请确保子用户有 cdb:DescribeDBInstances 的接口权限。
|
10412
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10413
10175
|
:rtype: str
|
10414
10176
|
"""
|
10415
10177
|
return self._InstanceId
|
@@ -10421,7 +10183,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10421
10183
|
@property
|
10422
10184
|
def CvmInstanceId(self):
|
10423
10185
|
"""云主机ID。如果 AccessType 为 cvm,此项必填。
|
10424
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10425
10186
|
:rtype: str
|
10426
10187
|
"""
|
10427
10188
|
return self._CvmInstanceId
|
@@ -10433,7 +10194,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10433
10194
|
@property
|
10434
10195
|
def UniqDcgId(self):
|
10435
10196
|
"""专线网关ID。如果 AccessType 为 dcg,此项必填。
|
10436
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10437
10197
|
:rtype: str
|
10438
10198
|
"""
|
10439
10199
|
return self._UniqDcgId
|
@@ -10445,7 +10205,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10445
10205
|
@property
|
10446
10206
|
def CcnId(self):
|
10447
10207
|
"""云联网ID。如果 AccessType 为 ccn,此项必填。
|
10448
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10449
10208
|
:rtype: str
|
10450
10209
|
"""
|
10451
10210
|
return self._CcnId
|
@@ -10457,7 +10216,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10457
10216
|
@property
|
10458
10217
|
def UniqVpnGwId(self):
|
10459
10218
|
"""vpn网关ID。如果 AccessType 为 vpncloud,此项必填。
|
10460
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10461
10219
|
:rtype: str
|
10462
10220
|
"""
|
10463
10221
|
return self._UniqVpnGwId
|
@@ -10469,7 +10227,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10469
10227
|
@property
|
10470
10228
|
def VpcId(self):
|
10471
10229
|
"""VpcID。如果 AccessType 为 dcg\ccn\vpncloud\vpc,此项必填。
|
10472
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10473
10230
|
:rtype: str
|
10474
10231
|
"""
|
10475
10232
|
return self._VpcId
|
@@ -10481,7 +10238,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10481
10238
|
@property
|
10482
10239
|
def SubnetId(self):
|
10483
10240
|
"""子网ID。如果 AccessType 为 dcg\ccn\vpncloud\vpc,此项必填。
|
10484
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10485
10241
|
:rtype: str
|
10486
10242
|
"""
|
10487
10243
|
return self._SubnetId
|
@@ -10493,7 +10249,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10493
10249
|
@property
|
10494
10250
|
def HostName(self):
|
10495
10251
|
"""数据库地址,支持域名与IP。如果 AccessType 为 dcg\ccn\vpncloud\vpc\extranet\intranet,此项必填。
|
10496
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10497
10252
|
:rtype: str
|
10498
10253
|
"""
|
10499
10254
|
return self._HostName
|
@@ -10505,7 +10260,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10505
10260
|
@property
|
10506
10261
|
def Port(self):
|
10507
10262
|
"""数据库端口。如果 AccessType 为 dcg\ccn\vpncloud\vpc\extranet\intranet\cvm,此项必填。
|
10508
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10509
10263
|
:rtype: int
|
10510
10264
|
"""
|
10511
10265
|
return self._Port
|
@@ -10517,7 +10271,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10517
10271
|
@property
|
10518
10272
|
def EncryptConn(self):
|
10519
10273
|
"""是否走加密传输,枚举值:UnEncrypted-不加密,Encrypted-加密。只有mysql支持,不填默认不加密,其他产品不填。
|
10520
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10521
10274
|
:rtype: str
|
10522
10275
|
"""
|
10523
10276
|
return self._EncryptConn
|
@@ -10529,7 +10282,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10529
10282
|
@property
|
10530
10283
|
def DatabaseNetEnv(self):
|
10531
10284
|
"""数据库网络环境。如果 AccessType 为 ccn 此项必填。枚举值:UserIDC-自建idc,TencentVPC-腾讯云,Aws-aws,AliYun-阿里云,Others-其他。
|
10532
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10533
10285
|
:rtype: str
|
10534
10286
|
"""
|
10535
10287
|
return self._DatabaseNetEnv
|
@@ -10541,7 +10293,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10541
10293
|
@property
|
10542
10294
|
def CcnOwnerUin(self):
|
10543
10295
|
"""云联网网关所属的主账号uin、跨账号云联网需要。
|
10544
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10545
10296
|
:rtype: str
|
10546
10297
|
"""
|
10547
10298
|
return self._CcnOwnerUin
|
@@ -10556,7 +10307,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10556
10307
|
tdpg必填参数:PgDatabase-订阅的库名;
|
10557
10308
|
mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-分片集,主要用于控制台跳转到mongo实例页面,如不填不影响任务运行;
|
10558
10309
|
全业务选填参数:EngineVersion-内核版本。
|
10559
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10560
10310
|
:rtype: list of KeyValuePairOption
|
10561
10311
|
"""
|
10562
10312
|
return self._ExtraAttr
|
@@ -10568,7 +10318,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10568
10318
|
@property
|
10569
10319
|
def ChildInstanceId(self):
|
10570
10320
|
"""数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的ID
|
10571
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10572
10321
|
:rtype: str
|
10573
10322
|
"""
|
10574
10323
|
return self._ChildInstanceId
|
@@ -10580,7 +10329,6 @@ mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-
|
|
10580
10329
|
@property
|
10581
10330
|
def ChildInstanceType(self):
|
10582
10331
|
"""数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的类型、例如:只读实例传ro、读写实例传rw
|
10583
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10584
10332
|
:rtype: str
|
10585
10333
|
"""
|
10586
10334
|
return self._ChildInstanceType
|
@@ -10634,10 +10382,8 @@ class ErrInfo(AbstractModel):
|
|
10634
10382
|
:param _Reason: 错误原因
|
10635
10383
|
:type Reason: str
|
10636
10384
|
:param _Message: 错误信息
|
10637
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10638
10385
|
:type Message: str
|
10639
10386
|
:param _Solution: 解决方案
|
10640
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10641
10387
|
:type Solution: str
|
10642
10388
|
"""
|
10643
10389
|
self._Reason = None
|
@@ -10658,7 +10404,6 @@ class ErrInfo(AbstractModel):
|
|
10658
10404
|
@property
|
10659
10405
|
def Message(self):
|
10660
10406
|
"""错误信息
|
10661
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10662
10407
|
:rtype: str
|
10663
10408
|
"""
|
10664
10409
|
return self._Message
|
@@ -10670,7 +10415,6 @@ class ErrInfo(AbstractModel):
|
|
10670
10415
|
@property
|
10671
10416
|
def Solution(self):
|
10672
10417
|
"""解决方案
|
10673
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10674
10418
|
:rtype: str
|
10675
10419
|
"""
|
10676
10420
|
return self._Solution
|
@@ -10702,16 +10446,12 @@ class ErrorInfoItem(AbstractModel):
|
|
10702
10446
|
def __init__(self):
|
10703
10447
|
r"""
|
10704
10448
|
:param _Code: 错误码
|
10705
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10706
10449
|
:type Code: str
|
10707
10450
|
:param _Solution: 解决方案
|
10708
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10709
10451
|
:type Solution: str
|
10710
10452
|
:param _ErrorLog: 错误日志信息
|
10711
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10712
10453
|
:type ErrorLog: str
|
10713
10454
|
:param _HelpDoc: 文档提示
|
10714
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10715
10455
|
:type HelpDoc: str
|
10716
10456
|
"""
|
10717
10457
|
self._Code = None
|
@@ -10722,7 +10462,6 @@ class ErrorInfoItem(AbstractModel):
|
|
10722
10462
|
@property
|
10723
10463
|
def Code(self):
|
10724
10464
|
"""错误码
|
10725
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10726
10465
|
:rtype: str
|
10727
10466
|
"""
|
10728
10467
|
return self._Code
|
@@ -10734,7 +10473,6 @@ class ErrorInfoItem(AbstractModel):
|
|
10734
10473
|
@property
|
10735
10474
|
def Solution(self):
|
10736
10475
|
"""解决方案
|
10737
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10738
10476
|
:rtype: str
|
10739
10477
|
"""
|
10740
10478
|
return self._Solution
|
@@ -10746,7 +10484,6 @@ class ErrorInfoItem(AbstractModel):
|
|
10746
10484
|
@property
|
10747
10485
|
def ErrorLog(self):
|
10748
10486
|
"""错误日志信息
|
10749
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10750
10487
|
:rtype: str
|
10751
10488
|
"""
|
10752
10489
|
return self._ErrorLog
|
@@ -10758,7 +10495,6 @@ class ErrorInfoItem(AbstractModel):
|
|
10758
10495
|
@property
|
10759
10496
|
def HelpDoc(self):
|
10760
10497
|
"""文档提示
|
10761
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10762
10498
|
:rtype: str
|
10763
10499
|
"""
|
10764
10500
|
return self._HelpDoc
|
@@ -10795,7 +10531,6 @@ class GroupInfo(AbstractModel):
|
|
10795
10531
|
:param _ConsumerGroupName: 消费者组名称
|
10796
10532
|
:type ConsumerGroupName: str
|
10797
10533
|
:param _Description: 消费者组备注
|
10798
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10799
10534
|
:type Description: str
|
10800
10535
|
:param _ConsumerGroupOffset: 消费组偏移量。该字段是为了兼容以前单Partition的情况,取值为最后一个分区的偏移量。各分区的偏移量详见StateOfPartition字段
|
10801
10536
|
:type ConsumerGroupOffset: int
|
@@ -10812,7 +10547,6 @@ class GroupInfo(AbstractModel):
|
|
10812
10547
|
:param _ConsumerGroupState: 消费者组状态,包括Dead、Empty、Stable等,只有Dead和Empty两种状态可以执行reset操作
|
10813
10548
|
:type ConsumerGroupState: str
|
10814
10549
|
:param _PartitionAssignment: 每个消费者正在消费的分区
|
10815
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10816
10550
|
:type PartitionAssignment: list of PartitionAssignment
|
10817
10551
|
"""
|
10818
10552
|
self._Account = None
|
@@ -10852,7 +10586,6 @@ class GroupInfo(AbstractModel):
|
|
10852
10586
|
@property
|
10853
10587
|
def Description(self):
|
10854
10588
|
"""消费者组备注
|
10855
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10856
10589
|
:rtype: str
|
10857
10590
|
"""
|
10858
10591
|
return self._Description
|
@@ -10941,7 +10674,6 @@ class GroupInfo(AbstractModel):
|
|
10941
10674
|
@property
|
10942
10675
|
def PartitionAssignment(self):
|
10943
10676
|
"""每个消费者正在消费的分区
|
10944
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10945
10677
|
:rtype: list of PartitionAssignment
|
10946
10678
|
"""
|
10947
10679
|
return self._PartitionAssignment
|
@@ -11634,10 +11366,8 @@ class KeyValuePairOption(AbstractModel):
|
|
11634
11366
|
def __init__(self):
|
11635
11367
|
r"""
|
11636
11368
|
:param _Key: 选项key
|
11637
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11638
11369
|
:type Key: str
|
11639
11370
|
:param _Value: 选项value
|
11640
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11641
11371
|
:type Value: str
|
11642
11372
|
"""
|
11643
11373
|
self._Key = None
|
@@ -11646,7 +11376,6 @@ class KeyValuePairOption(AbstractModel):
|
|
11646
11376
|
@property
|
11647
11377
|
def Key(self):
|
11648
11378
|
"""选项key
|
11649
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11650
11379
|
:rtype: str
|
11651
11380
|
"""
|
11652
11381
|
return self._Key
|
@@ -11658,7 +11387,6 @@ class KeyValuePairOption(AbstractModel):
|
|
11658
11387
|
@property
|
11659
11388
|
def Value(self):
|
11660
11389
|
"""选项value
|
11661
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11662
11390
|
:rtype: str
|
11663
11391
|
"""
|
11664
11392
|
return self._Value
|
@@ -11689,10 +11417,8 @@ class MigrateAction(AbstractModel):
|
|
11689
11417
|
def __init__(self):
|
11690
11418
|
r"""
|
11691
11419
|
:param _AllAction: 任务的所有操作列表
|
11692
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11693
11420
|
:type AllAction: list of str
|
11694
11421
|
:param _AllowedAction: 任务在当前状态下允许的操作列表
|
11695
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11696
11422
|
:type AllowedAction: list of str
|
11697
11423
|
"""
|
11698
11424
|
self._AllAction = None
|
@@ -11701,7 +11427,6 @@ class MigrateAction(AbstractModel):
|
|
11701
11427
|
@property
|
11702
11428
|
def AllAction(self):
|
11703
11429
|
"""任务的所有操作列表
|
11704
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11705
11430
|
:rtype: list of str
|
11706
11431
|
"""
|
11707
11432
|
return self._AllAction
|
@@ -11713,7 +11438,6 @@ class MigrateAction(AbstractModel):
|
|
11713
11438
|
@property
|
11714
11439
|
def AllowedAction(self):
|
11715
11440
|
"""任务在当前状态下允许的操作列表
|
11716
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11717
11441
|
:rtype: list of str
|
11718
11442
|
"""
|
11719
11443
|
return self._AllowedAction
|
@@ -11855,19 +11579,14 @@ class MigrateDetailInfo(AbstractModel):
|
|
11855
11579
|
def __init__(self):
|
11856
11580
|
r"""
|
11857
11581
|
:param _StepAll: 总步骤数
|
11858
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11859
11582
|
:type StepAll: int
|
11860
11583
|
:param _StepNow: 当前步骤
|
11861
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11862
11584
|
:type StepNow: int
|
11863
11585
|
:param _MasterSlaveDistance: 主从差距,MB;只在任务正常,迁移或者同步的最后一步(追Binlog的阶段才有校),如果是非法值,返回-1
|
11864
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11865
11586
|
:type MasterSlaveDistance: int
|
11866
11587
|
:param _SecondsBehindMaster: 主从差距,秒;只在任务正常,迁移或者同步的最后一步(追Binlog的阶段才有校),如果是非法值,返回-1
|
11867
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11868
11588
|
:type SecondsBehindMaster: int
|
11869
11589
|
:param _StepInfo: 步骤信息
|
11870
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11871
11590
|
:type StepInfo: list of StepDetailInfo
|
11872
11591
|
"""
|
11873
11592
|
self._StepAll = None
|
@@ -11879,7 +11598,6 @@ class MigrateDetailInfo(AbstractModel):
|
|
11879
11598
|
@property
|
11880
11599
|
def StepAll(self):
|
11881
11600
|
"""总步骤数
|
11882
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11883
11601
|
:rtype: int
|
11884
11602
|
"""
|
11885
11603
|
return self._StepAll
|
@@ -11891,7 +11609,6 @@ class MigrateDetailInfo(AbstractModel):
|
|
11891
11609
|
@property
|
11892
11610
|
def StepNow(self):
|
11893
11611
|
"""当前步骤
|
11894
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11895
11612
|
:rtype: int
|
11896
11613
|
"""
|
11897
11614
|
return self._StepNow
|
@@ -11903,7 +11620,6 @@ class MigrateDetailInfo(AbstractModel):
|
|
11903
11620
|
@property
|
11904
11621
|
def MasterSlaveDistance(self):
|
11905
11622
|
"""主从差距,MB;只在任务正常,迁移或者同步的最后一步(追Binlog的阶段才有校),如果是非法值,返回-1
|
11906
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11907
11623
|
:rtype: int
|
11908
11624
|
"""
|
11909
11625
|
return self._MasterSlaveDistance
|
@@ -11915,7 +11631,6 @@ class MigrateDetailInfo(AbstractModel):
|
|
11915
11631
|
@property
|
11916
11632
|
def SecondsBehindMaster(self):
|
11917
11633
|
"""主从差距,秒;只在任务正常,迁移或者同步的最后一步(追Binlog的阶段才有校),如果是非法值,返回-1
|
11918
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11919
11634
|
:rtype: int
|
11920
11635
|
"""
|
11921
11636
|
return self._SecondsBehindMaster
|
@@ -11927,7 +11642,6 @@ class MigrateDetailInfo(AbstractModel):
|
|
11927
11642
|
@property
|
11928
11643
|
def StepInfo(self):
|
11929
11644
|
"""步骤信息
|
11930
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11931
11645
|
:rtype: list of StepDetailInfo
|
11932
11646
|
"""
|
11933
11647
|
return self._StepInfo
|
@@ -11966,29 +11680,21 @@ class MigrateOption(AbstractModel):
|
|
11966
11680
|
def __init__(self):
|
11967
11681
|
r"""
|
11968
11682
|
:param _DatabaseTable: 迁移对象选项,需要告知迁移服务迁移哪些库表对象
|
11969
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11970
11683
|
:type DatabaseTable: :class:`tencentcloud.dts.v20211206.models.DatabaseTableObject`
|
11971
11684
|
:param _MigrateType: 迁移类型,full(全量迁移),structure(结构迁移),fullAndIncrement(全量加增量迁移), 默认为fullAndIncrement;注意redis,keewidb产品只支持fullAndIncrement类型。
|
11972
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11973
11685
|
:type MigrateType: str
|
11974
11686
|
:param _Consistency: 数据一致性校验选项, 默认为不开启一致性校验
|
11975
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11976
11687
|
:type Consistency: :class:`tencentcloud.dts.v20211206.models.ConsistencyOption`
|
11977
11688
|
:param _IsMigrateAccount: 是否迁移账号,true(迁移账号),false(不迁移账号)
|
11978
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11979
11689
|
:type IsMigrateAccount: bool
|
11980
11690
|
:param _IsOverrideRoot: 是否用源库Root账户覆盖目标库,值包括:false-不覆盖,true-覆盖,选择库表或者结构迁移时应该为false,注意只对旧版迁移有效
|
11981
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11982
11691
|
:type IsOverrideRoot: bool
|
11983
11692
|
:param _IsDstReadOnly: 是否在迁移时设置目标库只读(仅对mysql有效),true(设置只读)、false(不设置只读,默认此值)
|
11984
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11985
11693
|
:type IsDstReadOnly: bool
|
11986
11694
|
:param _ExtraAttr: 其他附加信息,对于特定库可设置额外参数,Redis可定义如下的参数:
|
11987
11695
|
["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自动淘汰]
|
11988
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11989
11696
|
:type ExtraAttr: list of KeyValuePairOption
|
11990
11697
|
:param _MigrateWay: pgsql迁移分类:logical(逻辑迁移)、physical(物理迁移)
|
11991
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11992
11698
|
:type MigrateWay: str
|
11993
11699
|
"""
|
11994
11700
|
self._DatabaseTable = None
|
@@ -12003,7 +11709,6 @@ class MigrateOption(AbstractModel):
|
|
12003
11709
|
@property
|
12004
11710
|
def DatabaseTable(self):
|
12005
11711
|
"""迁移对象选项,需要告知迁移服务迁移哪些库表对象
|
12006
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12007
11712
|
:rtype: :class:`tencentcloud.dts.v20211206.models.DatabaseTableObject`
|
12008
11713
|
"""
|
12009
11714
|
return self._DatabaseTable
|
@@ -12015,7 +11720,6 @@ class MigrateOption(AbstractModel):
|
|
12015
11720
|
@property
|
12016
11721
|
def MigrateType(self):
|
12017
11722
|
"""迁移类型,full(全量迁移),structure(结构迁移),fullAndIncrement(全量加增量迁移), 默认为fullAndIncrement;注意redis,keewidb产品只支持fullAndIncrement类型。
|
12018
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12019
11723
|
:rtype: str
|
12020
11724
|
"""
|
12021
11725
|
return self._MigrateType
|
@@ -12027,7 +11731,6 @@ class MigrateOption(AbstractModel):
|
|
12027
11731
|
@property
|
12028
11732
|
def Consistency(self):
|
12029
11733
|
"""数据一致性校验选项, 默认为不开启一致性校验
|
12030
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12031
11734
|
:rtype: :class:`tencentcloud.dts.v20211206.models.ConsistencyOption`
|
12032
11735
|
"""
|
12033
11736
|
return self._Consistency
|
@@ -12039,7 +11742,6 @@ class MigrateOption(AbstractModel):
|
|
12039
11742
|
@property
|
12040
11743
|
def IsMigrateAccount(self):
|
12041
11744
|
"""是否迁移账号,true(迁移账号),false(不迁移账号)
|
12042
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12043
11745
|
:rtype: bool
|
12044
11746
|
"""
|
12045
11747
|
return self._IsMigrateAccount
|
@@ -12051,7 +11753,6 @@ class MigrateOption(AbstractModel):
|
|
12051
11753
|
@property
|
12052
11754
|
def IsOverrideRoot(self):
|
12053
11755
|
"""是否用源库Root账户覆盖目标库,值包括:false-不覆盖,true-覆盖,选择库表或者结构迁移时应该为false,注意只对旧版迁移有效
|
12054
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12055
11756
|
:rtype: bool
|
12056
11757
|
"""
|
12057
11758
|
return self._IsOverrideRoot
|
@@ -12063,7 +11764,6 @@ class MigrateOption(AbstractModel):
|
|
12063
11764
|
@property
|
12064
11765
|
def IsDstReadOnly(self):
|
12065
11766
|
"""是否在迁移时设置目标库只读(仅对mysql有效),true(设置只读)、false(不设置只读,默认此值)
|
12066
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12067
11767
|
:rtype: bool
|
12068
11768
|
"""
|
12069
11769
|
return self._IsDstReadOnly
|
@@ -12076,7 +11776,6 @@ class MigrateOption(AbstractModel):
|
|
12076
11776
|
def ExtraAttr(self):
|
12077
11777
|
"""其他附加信息,对于特定库可设置额外参数,Redis可定义如下的参数:
|
12078
11778
|
["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自动淘汰]
|
12079
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12080
11779
|
:rtype: list of KeyValuePairOption
|
12081
11780
|
"""
|
12082
11781
|
return self._ExtraAttr
|
@@ -12088,7 +11787,6 @@ class MigrateOption(AbstractModel):
|
|
12088
11787
|
@property
|
12089
11788
|
def MigrateWay(self):
|
12090
11789
|
"""pgsql迁移分类:logical(逻辑迁移)、physical(物理迁移)
|
12091
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12092
11790
|
:rtype: str
|
12093
11791
|
"""
|
12094
11792
|
return self._MigrateWay
|
@@ -12135,13 +11833,10 @@ class ModifiedSubscribeObject(AbstractModel):
|
|
12135
11833
|
r"""
|
12136
11834
|
:param _ObjectsType: 订阅对象的类型,枚举值为:0-库,1-表(该值对于mongo任务来说,是集合) 。
|
12137
11835
|
注意:mongo只支持全实例、单库或者单集合订阅,因此该字段不要与SubscribeObjectType冲突。如:SubscribeObjectType=4,表示mongo单库订阅,那么该字段应该传0。
|
12138
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12139
11836
|
:type ObjectsType: int
|
12140
11837
|
:param _DatabaseName: 订阅数据库的名称
|
12141
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12142
11838
|
:type DatabaseName: str
|
12143
11839
|
:param _TableNames: 订阅数据库中表(或集合)的名称。如果 ObjectsType 为 1,那么此字段为必填,且不为空;
|
12144
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12145
11840
|
:type TableNames: list of str
|
12146
11841
|
"""
|
12147
11842
|
self._ObjectsType = None
|
@@ -12152,7 +11847,6 @@ class ModifiedSubscribeObject(AbstractModel):
|
|
12152
11847
|
def ObjectsType(self):
|
12153
11848
|
"""订阅对象的类型,枚举值为:0-库,1-表(该值对于mongo任务来说,是集合) 。
|
12154
11849
|
注意:mongo只支持全实例、单库或者单集合订阅,因此该字段不要与SubscribeObjectType冲突。如:SubscribeObjectType=4,表示mongo单库订阅,那么该字段应该传0。
|
12155
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12156
11850
|
:rtype: int
|
12157
11851
|
"""
|
12158
11852
|
return self._ObjectsType
|
@@ -12164,7 +11858,6 @@ class ModifiedSubscribeObject(AbstractModel):
|
|
12164
11858
|
@property
|
12165
11859
|
def DatabaseName(self):
|
12166
11860
|
"""订阅数据库的名称
|
12167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12168
11861
|
:rtype: str
|
12169
11862
|
"""
|
12170
11863
|
return self._DatabaseName
|
@@ -12176,7 +11869,6 @@ class ModifiedSubscribeObject(AbstractModel):
|
|
12176
11869
|
@property
|
12177
11870
|
def TableNames(self):
|
12178
11871
|
"""订阅数据库中表(或集合)的名称。如果 ObjectsType 为 1,那么此字段为必填,且不为空;
|
12179
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12180
11872
|
:rtype: list of str
|
12181
11873
|
"""
|
12182
11874
|
return self._TableNames
|
@@ -13988,10 +13680,8 @@ class OffsetTimeMap(AbstractModel):
|
|
13988
13680
|
def __init__(self):
|
13989
13681
|
r"""
|
13990
13682
|
:param _PartitionNo: kafka分区编号
|
13991
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13992
13683
|
:type PartitionNo: int
|
13993
13684
|
:param _Offset: kafka offset
|
13994
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13995
13685
|
:type Offset: int
|
13996
13686
|
"""
|
13997
13687
|
self._PartitionNo = None
|
@@ -14000,7 +13690,6 @@ class OffsetTimeMap(AbstractModel):
|
|
14000
13690
|
@property
|
14001
13691
|
def PartitionNo(self):
|
14002
13692
|
"""kafka分区编号
|
14003
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14004
13693
|
:rtype: int
|
14005
13694
|
"""
|
14006
13695
|
return self._PartitionNo
|
@@ -14012,7 +13701,6 @@ class OffsetTimeMap(AbstractModel):
|
|
14012
13701
|
@property
|
14013
13702
|
def Offset(self):
|
14014
13703
|
"""kafka offset
|
14015
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14016
13704
|
:rtype: int
|
14017
13705
|
"""
|
14018
13706
|
return self._Offset
|
@@ -14515,10 +14203,8 @@ class PipelineInfo(AbstractModel):
|
|
14515
14203
|
def __init__(self):
|
14516
14204
|
r"""
|
14517
14205
|
:param _AggOp: 聚合运算符:$addFields、$match、$project、$replaceRoot、$redact、$replaceWith、$set、$unset。其中 $replaceWith、$set、$unset 只有当订阅实例是4.2及以上版本可选。
|
14518
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14519
14206
|
:type AggOp: str
|
14520
14207
|
:param _AggCmd: 聚合表达式。必须是json格式
|
14521
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14522
14208
|
:type AggCmd: str
|
14523
14209
|
"""
|
14524
14210
|
self._AggOp = None
|
@@ -14527,7 +14213,6 @@ class PipelineInfo(AbstractModel):
|
|
14527
14213
|
@property
|
14528
14214
|
def AggOp(self):
|
14529
14215
|
"""聚合运算符:$addFields、$match、$project、$replaceRoot、$redact、$replaceWith、$set、$unset。其中 $replaceWith、$set、$unset 只有当订阅实例是4.2及以上版本可选。
|
14530
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14531
14216
|
:rtype: str
|
14532
14217
|
"""
|
14533
14218
|
return self._AggOp
|
@@ -14539,7 +14224,6 @@ class PipelineInfo(AbstractModel):
|
|
14539
14224
|
@property
|
14540
14225
|
def AggCmd(self):
|
14541
14226
|
"""聚合表达式。必须是json格式
|
14542
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14543
14227
|
:rtype: str
|
14544
14228
|
"""
|
14545
14229
|
return self._AggCmd
|
@@ -14570,22 +14254,16 @@ class ProcessProgress(AbstractModel):
|
|
14570
14254
|
def __init__(self):
|
14571
14255
|
r"""
|
14572
14256
|
:param _Status: 步骤的状态, 包括:notStarted(未开始)、running(运行中)、success(成功)、failed(失败)等
|
14573
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14574
14257
|
:type Status: str
|
14575
14258
|
:param _Percent: 进度信息
|
14576
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14577
14259
|
:type Percent: int
|
14578
14260
|
:param _StepAll: 总的步骤数
|
14579
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14580
14261
|
:type StepAll: int
|
14581
14262
|
:param _StepNow: 当前进行的步骤
|
14582
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14583
14263
|
:type StepNow: int
|
14584
14264
|
:param _Message: 当前步骤输出提示信息
|
14585
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14586
14265
|
:type Message: str
|
14587
14266
|
:param _Steps: 步骤信息
|
14588
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14589
14267
|
:type Steps: list of StepDetailInfo
|
14590
14268
|
"""
|
14591
14269
|
self._Status = None
|
@@ -14598,7 +14276,6 @@ class ProcessProgress(AbstractModel):
|
|
14598
14276
|
@property
|
14599
14277
|
def Status(self):
|
14600
14278
|
"""步骤的状态, 包括:notStarted(未开始)、running(运行中)、success(成功)、failed(失败)等
|
14601
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14602
14279
|
:rtype: str
|
14603
14280
|
"""
|
14604
14281
|
return self._Status
|
@@ -14610,7 +14287,6 @@ class ProcessProgress(AbstractModel):
|
|
14610
14287
|
@property
|
14611
14288
|
def Percent(self):
|
14612
14289
|
"""进度信息
|
14613
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14614
14290
|
:rtype: int
|
14615
14291
|
"""
|
14616
14292
|
return self._Percent
|
@@ -14622,7 +14298,6 @@ class ProcessProgress(AbstractModel):
|
|
14622
14298
|
@property
|
14623
14299
|
def StepAll(self):
|
14624
14300
|
"""总的步骤数
|
14625
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14626
14301
|
:rtype: int
|
14627
14302
|
"""
|
14628
14303
|
return self._StepAll
|
@@ -14634,7 +14309,6 @@ class ProcessProgress(AbstractModel):
|
|
14634
14309
|
@property
|
14635
14310
|
def StepNow(self):
|
14636
14311
|
"""当前进行的步骤
|
14637
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14638
14312
|
:rtype: int
|
14639
14313
|
"""
|
14640
14314
|
return self._StepNow
|
@@ -14646,7 +14320,6 @@ class ProcessProgress(AbstractModel):
|
|
14646
14320
|
@property
|
14647
14321
|
def Message(self):
|
14648
14322
|
"""当前步骤输出提示信息
|
14649
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14650
14323
|
:rtype: str
|
14651
14324
|
"""
|
14652
14325
|
return self._Message
|
@@ -14658,7 +14331,6 @@ class ProcessProgress(AbstractModel):
|
|
14658
14331
|
@property
|
14659
14332
|
def Steps(self):
|
14660
14333
|
"""步骤信息
|
14661
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14662
14334
|
:rtype: list of StepDetailInfo
|
14663
14335
|
"""
|
14664
14336
|
return self._Steps
|
@@ -14698,13 +14370,10 @@ class ProcessStepTip(AbstractModel):
|
|
14698
14370
|
def __init__(self):
|
14699
14371
|
r"""
|
14700
14372
|
:param _Message: 提示信息
|
14701
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14702
14373
|
:type Message: str
|
14703
14374
|
:param _Solution: 解决方案
|
14704
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14705
14375
|
:type Solution: str
|
14706
14376
|
:param _HelpDoc: 文档提示
|
14707
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14708
14377
|
:type HelpDoc: str
|
14709
14378
|
"""
|
14710
14379
|
self._Message = None
|
@@ -14714,7 +14383,6 @@ class ProcessStepTip(AbstractModel):
|
|
14714
14383
|
@property
|
14715
14384
|
def Message(self):
|
14716
14385
|
"""提示信息
|
14717
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14718
14386
|
:rtype: str
|
14719
14387
|
"""
|
14720
14388
|
return self._Message
|
@@ -14726,7 +14394,6 @@ class ProcessStepTip(AbstractModel):
|
|
14726
14394
|
@property
|
14727
14395
|
def Solution(self):
|
14728
14396
|
"""解决方案
|
14729
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14730
14397
|
:rtype: str
|
14731
14398
|
"""
|
14732
14399
|
return self._Solution
|
@@ -14738,7 +14405,6 @@ class ProcessStepTip(AbstractModel):
|
|
14738
14405
|
@property
|
14739
14406
|
def HelpDoc(self):
|
14740
14407
|
"""文档提示
|
14741
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14742
14408
|
:rtype: str
|
14743
14409
|
"""
|
14744
14410
|
return self._HelpDoc
|
@@ -14770,37 +14436,26 @@ class RateLimitOption(AbstractModel):
|
|
14770
14436
|
def __init__(self):
|
14771
14437
|
r"""
|
14772
14438
|
:param _CurrentDumpThread: 当前生效的全量导出线程数,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为16
|
14773
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14774
14439
|
:type CurrentDumpThread: int
|
14775
14440
|
:param _DefaultDumpThread: 默认的全量导出线程数,该字段仅在出参有意义
|
14776
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14777
14441
|
:type DefaultDumpThread: int
|
14778
14442
|
:param _CurrentDumpRps: 当前生效的全量导出Rps,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为50000000
|
14779
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14780
14443
|
:type CurrentDumpRps: int
|
14781
14444
|
:param _DefaultDumpRps: 默认的全量导出Rps,该字段仅在出参有意义
|
14782
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14783
14445
|
:type DefaultDumpRps: int
|
14784
14446
|
:param _CurrentLoadThread: 当前生效的全量导入线程数,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为16
|
14785
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14786
14447
|
:type CurrentLoadThread: int
|
14787
14448
|
:param _DefaultLoadThread: 默认的全量导入线程数,该字段仅在出参有意义
|
14788
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14789
14449
|
:type DefaultLoadThread: int
|
14790
14450
|
:param _CurrentLoadRps: 当前生效的全量导入Rps,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为50000000
|
14791
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14792
14451
|
:type CurrentLoadRps: int
|
14793
14452
|
:param _DefaultLoadRps: 默认的全量导入Rps,该字段仅在出参有意义
|
14794
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14795
14453
|
:type DefaultLoadRps: int
|
14796
14454
|
:param _CurrentSinkerThread: 当前生效的增量导入线程数,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为128
|
14797
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14798
14455
|
:type CurrentSinkerThread: int
|
14799
14456
|
:param _DefaultSinkerThread: 默认的增量导入线程数,该字段仅在出参有意义
|
14800
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14801
14457
|
:type DefaultSinkerThread: int
|
14802
14458
|
:param _HasUserSetRateLimit: enum:"no"/"yes"、no表示用户未设置过限速、yes表示设置过限速,该字段仅在出参有意义
|
14803
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14804
14459
|
:type HasUserSetRateLimit: str
|
14805
14460
|
"""
|
14806
14461
|
self._CurrentDumpThread = None
|
@@ -14818,7 +14473,6 @@ class RateLimitOption(AbstractModel):
|
|
14818
14473
|
@property
|
14819
14474
|
def CurrentDumpThread(self):
|
14820
14475
|
"""当前生效的全量导出线程数,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为16
|
14821
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14822
14476
|
:rtype: int
|
14823
14477
|
"""
|
14824
14478
|
return self._CurrentDumpThread
|
@@ -14830,7 +14484,6 @@ class RateLimitOption(AbstractModel):
|
|
14830
14484
|
@property
|
14831
14485
|
def DefaultDumpThread(self):
|
14832
14486
|
"""默认的全量导出线程数,该字段仅在出参有意义
|
14833
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14834
14487
|
:rtype: int
|
14835
14488
|
"""
|
14836
14489
|
return self._DefaultDumpThread
|
@@ -14842,7 +14495,6 @@ class RateLimitOption(AbstractModel):
|
|
14842
14495
|
@property
|
14843
14496
|
def CurrentDumpRps(self):
|
14844
14497
|
"""当前生效的全量导出Rps,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为50000000
|
14845
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14846
14498
|
:rtype: int
|
14847
14499
|
"""
|
14848
14500
|
return self._CurrentDumpRps
|
@@ -14854,7 +14506,6 @@ class RateLimitOption(AbstractModel):
|
|
14854
14506
|
@property
|
14855
14507
|
def DefaultDumpRps(self):
|
14856
14508
|
"""默认的全量导出Rps,该字段仅在出参有意义
|
14857
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14858
14509
|
:rtype: int
|
14859
14510
|
"""
|
14860
14511
|
return self._DefaultDumpRps
|
@@ -14866,7 +14517,6 @@ class RateLimitOption(AbstractModel):
|
|
14866
14517
|
@property
|
14867
14518
|
def CurrentLoadThread(self):
|
14868
14519
|
"""当前生效的全量导入线程数,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为16
|
14869
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14870
14520
|
:rtype: int
|
14871
14521
|
"""
|
14872
14522
|
return self._CurrentLoadThread
|
@@ -14878,7 +14528,6 @@ class RateLimitOption(AbstractModel):
|
|
14878
14528
|
@property
|
14879
14529
|
def DefaultLoadThread(self):
|
14880
14530
|
"""默认的全量导入线程数,该字段仅在出参有意义
|
14881
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14882
14531
|
:rtype: int
|
14883
14532
|
"""
|
14884
14533
|
return self._DefaultLoadThread
|
@@ -14890,7 +14539,6 @@ class RateLimitOption(AbstractModel):
|
|
14890
14539
|
@property
|
14891
14540
|
def CurrentLoadRps(self):
|
14892
14541
|
"""当前生效的全量导入Rps,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为50000000
|
14893
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14894
14542
|
:rtype: int
|
14895
14543
|
"""
|
14896
14544
|
return self._CurrentLoadRps
|
@@ -14902,7 +14550,6 @@ class RateLimitOption(AbstractModel):
|
|
14902
14550
|
@property
|
14903
14551
|
def DefaultLoadRps(self):
|
14904
14552
|
"""默认的全量导入Rps,该字段仅在出参有意义
|
14905
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14906
14553
|
:rtype: int
|
14907
14554
|
"""
|
14908
14555
|
return self._DefaultLoadRps
|
@@ -14914,7 +14561,6 @@ class RateLimitOption(AbstractModel):
|
|
14914
14561
|
@property
|
14915
14562
|
def CurrentSinkerThread(self):
|
14916
14563
|
"""当前生效的增量导入线程数,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为128
|
14917
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14918
14564
|
:rtype: int
|
14919
14565
|
"""
|
14920
14566
|
return self._CurrentSinkerThread
|
@@ -14926,7 +14572,6 @@ class RateLimitOption(AbstractModel):
|
|
14926
14572
|
@property
|
14927
14573
|
def DefaultSinkerThread(self):
|
14928
14574
|
"""默认的增量导入线程数,该字段仅在出参有意义
|
14929
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14930
14575
|
:rtype: int
|
14931
14576
|
"""
|
14932
14577
|
return self._DefaultSinkerThread
|
@@ -14938,7 +14583,6 @@ class RateLimitOption(AbstractModel):
|
|
14938
14583
|
@property
|
14939
14584
|
def HasUserSetRateLimit(self):
|
14940
14585
|
"""enum:"no"/"yes"、no表示用户未设置过限速、yes表示设置过限速,该字段仅在出参有意义
|
14941
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14942
14586
|
:rtype: str
|
14943
14587
|
"""
|
14944
14588
|
return self._HasUserSetRateLimit
|
@@ -15595,10 +15239,8 @@ class RoleItem(AbstractModel):
|
|
15595
15239
|
def __init__(self):
|
15596
15240
|
r"""
|
15597
15241
|
:param _RoleName: 角色名称
|
15598
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
15599
15242
|
:type RoleName: str
|
15600
15243
|
:param _NewRoleName: 迁移后的角色名称
|
15601
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
15602
15244
|
:type NewRoleName: str
|
15603
15245
|
"""
|
15604
15246
|
self._RoleName = None
|
@@ -15607,7 +15249,6 @@ class RoleItem(AbstractModel):
|
|
15607
15249
|
@property
|
15608
15250
|
def RoleName(self):
|
15609
15251
|
"""角色名称
|
15610
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
15611
15252
|
:rtype: str
|
15612
15253
|
"""
|
15613
15254
|
return self._RoleName
|
@@ -15619,7 +15260,6 @@ class RoleItem(AbstractModel):
|
|
15619
15260
|
@property
|
15620
15261
|
def NewRoleName(self):
|
15621
15262
|
"""迁移后的角色名称
|
15622
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
15623
15263
|
:rtype: str
|
15624
15264
|
"""
|
15625
15265
|
return self._NewRoleName
|
@@ -16396,31 +16036,22 @@ class StepDetailInfo(AbstractModel):
|
|
16396
16036
|
def __init__(self):
|
16397
16037
|
r"""
|
16398
16038
|
:param _StepNo: 步骤序列
|
16399
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16400
16039
|
:type StepNo: int
|
16401
16040
|
:param _StepName: 步骤展现名称
|
16402
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16403
16041
|
:type StepName: str
|
16404
16042
|
:param _StepId: 步骤英文标识
|
16405
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16406
16043
|
:type StepId: str
|
16407
16044
|
:param _Status: 步骤状态:success(成功)、failed(失败)、running(执行中)、notStarted(未执行)、默认为notStarted
|
16408
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16409
16045
|
:type Status: str
|
16410
16046
|
:param _StartTime: 当前步骤开始的时间,格式为"yyyy-mm-dd hh:mm:ss",该字段不存在或者为空是无意义 注意:此字段可能返回 null,表示取不到有效值。
|
16411
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16412
16047
|
:type StartTime: str
|
16413
16048
|
:param _StepMessage: 步骤错误信息
|
16414
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16415
16049
|
:type StepMessage: str
|
16416
16050
|
:param _Percent: 执行进度
|
16417
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16418
16051
|
:type Percent: int
|
16419
16052
|
:param _Errors: 错误信息
|
16420
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16421
16053
|
:type Errors: list of ProcessStepTip
|
16422
16054
|
:param _Warnings: 告警提示
|
16423
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16424
16055
|
:type Warnings: list of ProcessStepTip
|
16425
16056
|
"""
|
16426
16057
|
self._StepNo = None
|
@@ -16436,7 +16067,6 @@ class StepDetailInfo(AbstractModel):
|
|
16436
16067
|
@property
|
16437
16068
|
def StepNo(self):
|
16438
16069
|
"""步骤序列
|
16439
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16440
16070
|
:rtype: int
|
16441
16071
|
"""
|
16442
16072
|
return self._StepNo
|
@@ -16448,7 +16078,6 @@ class StepDetailInfo(AbstractModel):
|
|
16448
16078
|
@property
|
16449
16079
|
def StepName(self):
|
16450
16080
|
"""步骤展现名称
|
16451
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16452
16081
|
:rtype: str
|
16453
16082
|
"""
|
16454
16083
|
return self._StepName
|
@@ -16460,7 +16089,6 @@ class StepDetailInfo(AbstractModel):
|
|
16460
16089
|
@property
|
16461
16090
|
def StepId(self):
|
16462
16091
|
"""步骤英文标识
|
16463
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16464
16092
|
:rtype: str
|
16465
16093
|
"""
|
16466
16094
|
return self._StepId
|
@@ -16472,7 +16100,6 @@ class StepDetailInfo(AbstractModel):
|
|
16472
16100
|
@property
|
16473
16101
|
def Status(self):
|
16474
16102
|
"""步骤状态:success(成功)、failed(失败)、running(执行中)、notStarted(未执行)、默认为notStarted
|
16475
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16476
16103
|
:rtype: str
|
16477
16104
|
"""
|
16478
16105
|
return self._Status
|
@@ -16484,7 +16111,6 @@ class StepDetailInfo(AbstractModel):
|
|
16484
16111
|
@property
|
16485
16112
|
def StartTime(self):
|
16486
16113
|
"""当前步骤开始的时间,格式为"yyyy-mm-dd hh:mm:ss",该字段不存在或者为空是无意义 注意:此字段可能返回 null,表示取不到有效值。
|
16487
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16488
16114
|
:rtype: str
|
16489
16115
|
"""
|
16490
16116
|
return self._StartTime
|
@@ -16496,7 +16122,6 @@ class StepDetailInfo(AbstractModel):
|
|
16496
16122
|
@property
|
16497
16123
|
def StepMessage(self):
|
16498
16124
|
"""步骤错误信息
|
16499
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16500
16125
|
:rtype: str
|
16501
16126
|
"""
|
16502
16127
|
return self._StepMessage
|
@@ -16508,7 +16133,6 @@ class StepDetailInfo(AbstractModel):
|
|
16508
16133
|
@property
|
16509
16134
|
def Percent(self):
|
16510
16135
|
"""执行进度
|
16511
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16512
16136
|
:rtype: int
|
16513
16137
|
"""
|
16514
16138
|
return self._Percent
|
@@ -16520,7 +16144,6 @@ class StepDetailInfo(AbstractModel):
|
|
16520
16144
|
@property
|
16521
16145
|
def Errors(self):
|
16522
16146
|
"""错误信息
|
16523
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16524
16147
|
:rtype: list of ProcessStepTip
|
16525
16148
|
"""
|
16526
16149
|
return self._Errors
|
@@ -16532,7 +16155,6 @@ class StepDetailInfo(AbstractModel):
|
|
16532
16155
|
@property
|
16533
16156
|
def Warnings(self):
|
16534
16157
|
"""告警提示
|
16535
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16536
16158
|
:rtype: list of ProcessStepTip
|
16537
16159
|
"""
|
16538
16160
|
return self._Warnings
|
@@ -17141,25 +16763,18 @@ class SubscribeCheckStepInfo(AbstractModel):
|
|
17141
16763
|
def __init__(self):
|
17142
16764
|
r"""
|
17143
16765
|
:param _StepName: 步骤名称
|
17144
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17145
16766
|
:type StepName: str
|
17146
16767
|
:param _StepId: 步骤Id
|
17147
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17148
16768
|
:type StepId: str
|
17149
16769
|
:param _StepNo: 步骤编号,从 1 开始
|
17150
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17151
16770
|
:type StepNo: int
|
17152
16771
|
:param _Status: 当前步骤状态,可能值为 notStarted,running,finished,failed
|
17153
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17154
16772
|
:type Status: str
|
17155
16773
|
:param _Percent: 当前步骤进度
|
17156
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17157
16774
|
:type Percent: int
|
17158
16775
|
:param _Errors: 错误提示
|
17159
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17160
16776
|
:type Errors: list of SubscribeCheckStepTip
|
17161
16777
|
:param _Warnings: 告警提示
|
17162
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17163
16778
|
:type Warnings: list of SubscribeCheckStepTip
|
17164
16779
|
"""
|
17165
16780
|
self._StepName = None
|
@@ -17173,7 +16788,6 @@ class SubscribeCheckStepInfo(AbstractModel):
|
|
17173
16788
|
@property
|
17174
16789
|
def StepName(self):
|
17175
16790
|
"""步骤名称
|
17176
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17177
16791
|
:rtype: str
|
17178
16792
|
"""
|
17179
16793
|
return self._StepName
|
@@ -17185,7 +16799,6 @@ class SubscribeCheckStepInfo(AbstractModel):
|
|
17185
16799
|
@property
|
17186
16800
|
def StepId(self):
|
17187
16801
|
"""步骤Id
|
17188
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17189
16802
|
:rtype: str
|
17190
16803
|
"""
|
17191
16804
|
return self._StepId
|
@@ -17197,7 +16810,6 @@ class SubscribeCheckStepInfo(AbstractModel):
|
|
17197
16810
|
@property
|
17198
16811
|
def StepNo(self):
|
17199
16812
|
"""步骤编号,从 1 开始
|
17200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17201
16813
|
:rtype: int
|
17202
16814
|
"""
|
17203
16815
|
return self._StepNo
|
@@ -17209,7 +16821,6 @@ class SubscribeCheckStepInfo(AbstractModel):
|
|
17209
16821
|
@property
|
17210
16822
|
def Status(self):
|
17211
16823
|
"""当前步骤状态,可能值为 notStarted,running,finished,failed
|
17212
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17213
16824
|
:rtype: str
|
17214
16825
|
"""
|
17215
16826
|
return self._Status
|
@@ -17221,7 +16832,6 @@ class SubscribeCheckStepInfo(AbstractModel):
|
|
17221
16832
|
@property
|
17222
16833
|
def Percent(self):
|
17223
16834
|
"""当前步骤进度
|
17224
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17225
16835
|
:rtype: int
|
17226
16836
|
"""
|
17227
16837
|
return self._Percent
|
@@ -17233,7 +16843,6 @@ class SubscribeCheckStepInfo(AbstractModel):
|
|
17233
16843
|
@property
|
17234
16844
|
def Errors(self):
|
17235
16845
|
"""错误提示
|
17236
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17237
16846
|
:rtype: list of SubscribeCheckStepTip
|
17238
16847
|
"""
|
17239
16848
|
return self._Errors
|
@@ -17245,7 +16854,6 @@ class SubscribeCheckStepInfo(AbstractModel):
|
|
17245
16854
|
@property
|
17246
16855
|
def Warnings(self):
|
17247
16856
|
"""告警提示
|
17248
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17249
16857
|
:rtype: list of SubscribeCheckStepTip
|
17250
16858
|
"""
|
17251
16859
|
return self._Warnings
|
@@ -17291,10 +16899,8 @@ class SubscribeCheckStepTip(AbstractModel):
|
|
17291
16899
|
def __init__(self):
|
17292
16900
|
r"""
|
17293
16901
|
:param _Message: 错误或告警的详细信息
|
17294
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17295
16902
|
:type Message: str
|
17296
16903
|
:param _HelpDoc: 帮助文档
|
17297
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17298
16904
|
:type HelpDoc: str
|
17299
16905
|
"""
|
17300
16906
|
self._Message = None
|
@@ -17303,7 +16909,6 @@ class SubscribeCheckStepTip(AbstractModel):
|
|
17303
16909
|
@property
|
17304
16910
|
def Message(self):
|
17305
16911
|
"""错误或告警的详细信息
|
17306
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17307
16912
|
:rtype: str
|
17308
16913
|
"""
|
17309
16914
|
return self._Message
|
@@ -17315,7 +16920,6 @@ class SubscribeCheckStepTip(AbstractModel):
|
|
17315
16920
|
@property
|
17316
16921
|
def HelpDoc(self):
|
17317
16922
|
"""帮助文档
|
17318
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17319
16923
|
:rtype: str
|
17320
16924
|
"""
|
17321
16925
|
return self._HelpDoc
|
@@ -17350,34 +16954,26 @@ class SubscribeInfo(AbstractModel):
|
|
17350
16954
|
:param _SubscribeName: 数据订阅实例的名称
|
17351
16955
|
:type SubscribeName: str
|
17352
16956
|
:param _Topic: 订阅实例发送数据的kafka topic
|
17353
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17354
16957
|
:type Topic: str
|
17355
16958
|
:param _Product: 订阅实例的类型,目前支持 cynosdbmysql,mariadb,mongodb,mysql,percona,tdpg,tdsqlpercona(tdsqlmysql)
|
17356
16959
|
:type Product: str
|
17357
16960
|
:param _InstanceId: 订阅的数据库实例ID(如果订阅的是云数据库)如果实例不是腾讯云上的,此值为空。
|
17358
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17359
16961
|
:type InstanceId: str
|
17360
16962
|
:param _InstanceStatus: 云数据库状态:running 运行中,isolated 已隔离,offline 已下线。如果不是云上,此值为空
|
17361
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17362
16963
|
:type InstanceStatus: str
|
17363
16964
|
:param _Status: 数据订阅生命周期状态,可能的值为:正常 normal, 隔离中 isolating, 已隔离 isolated, 下线中 offlining, 按量转包年包月中 post2PrePayIng
|
17364
16965
|
:type Status: str
|
17365
16966
|
:param _SubsStatus: 数据订阅状态,可能的值为:未启动 notStarted, 校验中 checking, 校验不通过 checkNotPass, 校验通过 checkPass, 启动中 starting, 运行中 running, 异常出错 error
|
17366
16967
|
:type SubsStatus: str
|
17367
16968
|
:param _ModifyTime: 上次修改时间,时间格式如:Y-m-d h:m:s
|
17368
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17369
16969
|
:type ModifyTime: str
|
17370
16970
|
:param _CreateTime: 创建时间,时间格式如:Y-m-d h:m:s
|
17371
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17372
16971
|
:type CreateTime: str
|
17373
16972
|
:param _IsolateTime: 隔离时间,时间格式如:Y-m-d h:m:s。默认:0000-00-00 00:00:00
|
17374
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17375
16973
|
:type IsolateTime: str
|
17376
16974
|
:param _ExpireTime: 包年包月任务的到期时间,时间格式如:Y-m-d h:m:s。默认:0000-00-00 00:00:00
|
17377
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17378
16975
|
:type ExpireTime: str
|
17379
16976
|
:param _OfflineTime: 下线时间,时间格式如:Y-m-d h:m:s。默认:0000-00-00 00:00:00
|
17380
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17381
16977
|
:type OfflineTime: str
|
17382
16978
|
:param _PayType: 计费方式,0 - 包年包月,1 - 按量计费
|
17383
16979
|
:type PayType: int
|
@@ -17386,13 +16982,10 @@ class SubscribeInfo(AbstractModel):
|
|
17386
16982
|
:param _Region: 数据订阅实例所属地域
|
17387
16983
|
:type Region: str
|
17388
16984
|
:param _AccessType: 接入方式。枚举值:extranet(公网) vpncloud(vpn接入) dcg(专线接入) ccn(云联网) cdb(云数据库) cvm(云主机自建) intranet(自研上云) vpc(私有网络vpc)
|
17389
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17390
16985
|
:type AccessType: str
|
17391
16986
|
:param _Endpoints: 数据库节点信息
|
17392
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17393
16987
|
:type Endpoints: list of EndpointItem
|
17394
16988
|
:param _SubscribeVersion: 数据订阅版本, 当前只支持 kafka 版本。
|
17395
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17396
16989
|
:type SubscribeVersion: str
|
17397
16990
|
:param _Tags: 标签
|
17398
16991
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -17448,7 +17041,6 @@ class SubscribeInfo(AbstractModel):
|
|
17448
17041
|
@property
|
17449
17042
|
def Topic(self):
|
17450
17043
|
"""订阅实例发送数据的kafka topic
|
17451
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17452
17044
|
:rtype: str
|
17453
17045
|
"""
|
17454
17046
|
return self._Topic
|
@@ -17471,7 +17063,6 @@ class SubscribeInfo(AbstractModel):
|
|
17471
17063
|
@property
|
17472
17064
|
def InstanceId(self):
|
17473
17065
|
"""订阅的数据库实例ID(如果订阅的是云数据库)如果实例不是腾讯云上的,此值为空。
|
17474
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17475
17066
|
:rtype: str
|
17476
17067
|
"""
|
17477
17068
|
return self._InstanceId
|
@@ -17483,7 +17074,6 @@ class SubscribeInfo(AbstractModel):
|
|
17483
17074
|
@property
|
17484
17075
|
def InstanceStatus(self):
|
17485
17076
|
"""云数据库状态:running 运行中,isolated 已隔离,offline 已下线。如果不是云上,此值为空
|
17486
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17487
17077
|
:rtype: str
|
17488
17078
|
"""
|
17489
17079
|
return self._InstanceStatus
|
@@ -17517,7 +17107,6 @@ class SubscribeInfo(AbstractModel):
|
|
17517
17107
|
@property
|
17518
17108
|
def ModifyTime(self):
|
17519
17109
|
"""上次修改时间,时间格式如:Y-m-d h:m:s
|
17520
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17521
17110
|
:rtype: str
|
17522
17111
|
"""
|
17523
17112
|
return self._ModifyTime
|
@@ -17529,7 +17118,6 @@ class SubscribeInfo(AbstractModel):
|
|
17529
17118
|
@property
|
17530
17119
|
def CreateTime(self):
|
17531
17120
|
"""创建时间,时间格式如:Y-m-d h:m:s
|
17532
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17533
17121
|
:rtype: str
|
17534
17122
|
"""
|
17535
17123
|
return self._CreateTime
|
@@ -17541,7 +17129,6 @@ class SubscribeInfo(AbstractModel):
|
|
17541
17129
|
@property
|
17542
17130
|
def IsolateTime(self):
|
17543
17131
|
"""隔离时间,时间格式如:Y-m-d h:m:s。默认:0000-00-00 00:00:00
|
17544
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17545
17132
|
:rtype: str
|
17546
17133
|
"""
|
17547
17134
|
return self._IsolateTime
|
@@ -17553,7 +17140,6 @@ class SubscribeInfo(AbstractModel):
|
|
17553
17140
|
@property
|
17554
17141
|
def ExpireTime(self):
|
17555
17142
|
"""包年包月任务的到期时间,时间格式如:Y-m-d h:m:s。默认:0000-00-00 00:00:00
|
17556
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17557
17143
|
:rtype: str
|
17558
17144
|
"""
|
17559
17145
|
return self._ExpireTime
|
@@ -17565,7 +17151,6 @@ class SubscribeInfo(AbstractModel):
|
|
17565
17151
|
@property
|
17566
17152
|
def OfflineTime(self):
|
17567
17153
|
"""下线时间,时间格式如:Y-m-d h:m:s。默认:0000-00-00 00:00:00
|
17568
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17569
17154
|
:rtype: str
|
17570
17155
|
"""
|
17571
17156
|
return self._OfflineTime
|
@@ -17610,7 +17195,6 @@ class SubscribeInfo(AbstractModel):
|
|
17610
17195
|
@property
|
17611
17196
|
def AccessType(self):
|
17612
17197
|
"""接入方式。枚举值:extranet(公网) vpncloud(vpn接入) dcg(专线接入) ccn(云联网) cdb(云数据库) cvm(云主机自建) intranet(自研上云) vpc(私有网络vpc)
|
17613
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17614
17198
|
:rtype: str
|
17615
17199
|
"""
|
17616
17200
|
return self._AccessType
|
@@ -17622,7 +17206,6 @@ class SubscribeInfo(AbstractModel):
|
|
17622
17206
|
@property
|
17623
17207
|
def Endpoints(self):
|
17624
17208
|
"""数据库节点信息
|
17625
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17626
17209
|
:rtype: list of EndpointItem
|
17627
17210
|
"""
|
17628
17211
|
return self._Endpoints
|
@@ -17634,7 +17217,6 @@ class SubscribeInfo(AbstractModel):
|
|
17634
17217
|
@property
|
17635
17218
|
def SubscribeVersion(self):
|
17636
17219
|
"""数据订阅版本, 当前只支持 kafka 版本。
|
17637
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17638
17220
|
:rtype: str
|
17639
17221
|
"""
|
17640
17222
|
return self._SubscribeVersion
|
@@ -17723,15 +17305,12 @@ class SubscribeKafkaConfig(AbstractModel):
|
|
17723
17305
|
def __init__(self):
|
17724
17306
|
r"""
|
17725
17307
|
:param _NumberOfPartitions: kafka分区数量,枚举值为1,4,8
|
17726
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17727
17308
|
:type NumberOfPartitions: int
|
17728
17309
|
:param _DistributeRules: 分区规则。当NumberOfPartitions > 1时,该项必填。
|
17729
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17730
17310
|
:type DistributeRules: list of DistributeRule
|
17731
17311
|
:param _DefaultRuleType: 默认分区策略。当NumberOfPartitions > 1时,该项必填。不满足DistributeRules中正则表达式的数据,将按照默认分区策略计算分区。
|
17732
17312
|
非mongo产品的枚举值为: table-按表名分区,pk-按表名+主键分区。mongo的枚举值为:collection-按集合名分区。
|
17733
17313
|
该字段与DistributeRules搭配使用,如果配置了该字段,视为配置了一条DistributeRules。
|
17734
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17735
17314
|
:type DefaultRuleType: str
|
17736
17315
|
"""
|
17737
17316
|
self._NumberOfPartitions = None
|
@@ -17741,7 +17320,6 @@ class SubscribeKafkaConfig(AbstractModel):
|
|
17741
17320
|
@property
|
17742
17321
|
def NumberOfPartitions(self):
|
17743
17322
|
"""kafka分区数量,枚举值为1,4,8
|
17744
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17745
17323
|
:rtype: int
|
17746
17324
|
"""
|
17747
17325
|
return self._NumberOfPartitions
|
@@ -17753,7 +17331,6 @@ class SubscribeKafkaConfig(AbstractModel):
|
|
17753
17331
|
@property
|
17754
17332
|
def DistributeRules(self):
|
17755
17333
|
"""分区规则。当NumberOfPartitions > 1时,该项必填。
|
17756
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17757
17334
|
:rtype: list of DistributeRule
|
17758
17335
|
"""
|
17759
17336
|
return self._DistributeRules
|
@@ -17767,7 +17344,6 @@ class SubscribeKafkaConfig(AbstractModel):
|
|
17767
17344
|
"""默认分区策略。当NumberOfPartitions > 1时,该项必填。不满足DistributeRules中正则表达式的数据,将按照默认分区策略计算分区。
|
17768
17345
|
非mongo产品的枚举值为: table-按表名分区,pk-按表名+主键分区。mongo的枚举值为:collection-按集合名分区。
|
17769
17346
|
该字段与DistributeRules搭配使用,如果配置了该字段,视为配置了一条DistributeRules。
|
17770
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17771
17347
|
:rtype: str
|
17772
17348
|
"""
|
17773
17349
|
return self._DefaultRuleType
|
@@ -17804,10 +17380,8 @@ class SubscribeObject(AbstractModel):
|
|
17804
17380
|
def __init__(self):
|
17805
17381
|
r"""
|
17806
17382
|
:param _ObjectType: 订阅数据的类型,枚举值:database-数据库,table-数据库的表(如果 DatabaseType 为 mongodb,则表示集合)
|
17807
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17808
17383
|
:type ObjectType: str
|
17809
17384
|
:param _Database: 订阅的数据库名称
|
17810
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17811
17385
|
:type Database: str
|
17812
17386
|
:param _Tables: 订阅数据库中表的名称。如果 DatabaseType 为 mongodb,填集合名。mongodb只支持订阅单库或者单集合。
|
17813
17387
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -17820,7 +17394,6 @@ class SubscribeObject(AbstractModel):
|
|
17820
17394
|
@property
|
17821
17395
|
def ObjectType(self):
|
17822
17396
|
"""订阅数据的类型,枚举值:database-数据库,table-数据库的表(如果 DatabaseType 为 mongodb,则表示集合)
|
17823
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17824
17397
|
:rtype: str
|
17825
17398
|
"""
|
17826
17399
|
return self._ObjectType
|
@@ -17832,7 +17405,6 @@ class SubscribeObject(AbstractModel):
|
|
17832
17405
|
@property
|
17833
17406
|
def Database(self):
|
17834
17407
|
"""订阅的数据库名称
|
17835
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17836
17408
|
:rtype: str
|
17837
17409
|
"""
|
17838
17410
|
return self._Database
|
@@ -17876,13 +17448,10 @@ class SyncDBEndpointInfos(AbstractModel):
|
|
17876
17448
|
def __init__(self):
|
17877
17449
|
r"""
|
17878
17450
|
:param _Region: 数据库所在地域
|
17879
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17880
17451
|
:type Region: str
|
17881
17452
|
:param _AccessType: 实例网络接入类型,如:extranet(外网)、ipv6(公网ipv6)、cvm(云主机自建)、dcg(专线接入)、vpncloud(vpn接入的实例)、cdb(云数据库)、ccn(云联网)、intranet(自研上云)、vpc(私有网络)等,注意具体可选值依赖当前链路
|
17882
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17883
17453
|
:type AccessType: str
|
17884
17454
|
:param _DatabaseType: 实例数据库类型,如:mysql,redis,mongodb,postgresql,mariadb,percona 等
|
17885
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17886
17455
|
:type DatabaseType: str
|
17887
17456
|
:param _Info: 数据库信息。注意:如果数据库类型为tdsqlmysql,此处Endpoint数组的顺序应满足规则:proxy节点放在set节点之前。如果SrcConnectType选择proxy接入则只需要填写proxy节点即可。如果选择set接入,数组中第一个set节点必须是shardkey范围起始为0的分片
|
17888
17457
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -17896,7 +17465,6 @@ class SyncDBEndpointInfos(AbstractModel):
|
|
17896
17465
|
@property
|
17897
17466
|
def Region(self):
|
17898
17467
|
"""数据库所在地域
|
17899
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17900
17468
|
:rtype: str
|
17901
17469
|
"""
|
17902
17470
|
return self._Region
|
@@ -17908,7 +17476,6 @@ class SyncDBEndpointInfos(AbstractModel):
|
|
17908
17476
|
@property
|
17909
17477
|
def AccessType(self):
|
17910
17478
|
"""实例网络接入类型,如:extranet(外网)、ipv6(公网ipv6)、cvm(云主机自建)、dcg(专线接入)、vpncloud(vpn接入的实例)、cdb(云数据库)、ccn(云联网)、intranet(自研上云)、vpc(私有网络)等,注意具体可选值依赖当前链路
|
17911
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17912
17479
|
:rtype: str
|
17913
17480
|
"""
|
17914
17481
|
return self._AccessType
|
@@ -17920,7 +17487,6 @@ class SyncDBEndpointInfos(AbstractModel):
|
|
17920
17487
|
@property
|
17921
17488
|
def DatabaseType(self):
|
17922
17489
|
"""实例数据库类型,如:mysql,redis,mongodb,postgresql,mariadb,percona 等
|
17923
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17924
17490
|
:rtype: str
|
17925
17491
|
"""
|
17926
17492
|
return self._DatabaseType
|
@@ -18965,16 +18531,12 @@ class TableItem(AbstractModel):
|
|
18965
18531
|
def __init__(self):
|
18966
18532
|
r"""
|
18967
18533
|
:param _TableName: 迁移的表名,大小写敏感
|
18968
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18969
18534
|
:type TableName: str
|
18970
18535
|
:param _NewTableName: 迁移后的表名,当TableEditMode为rename时此项必填,注意此配置与TmpTables互斥,只能使用其中一种
|
18971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18972
18536
|
:type NewTableName: str
|
18973
18537
|
:param _TmpTables: 迁移临时表,注意此配置与NewTableName互斥,只能使用其中一种。当配置的同步对象为表级别且TableEditMode为pt时此项有意义,针对pt-osc等工具在迁移过程中产生的临时表进行同步,需要提前将可能的临时表配置在这里,否则不会同步任何临时表。示例,如要对t1进行pt-osc操作,此项配置应该为["\_t1\_new","\_t1\_old"];如要对t1进行gh-ost操作,此项配置应该为["\_t1\_ghc","\_t1\_gho","\_t1\_del"],pt-osc与gh-ost产生的临时表可同时配置。
|
18974
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18975
18538
|
:type TmpTables: list of str
|
18976
18539
|
:param _TableEditMode: 编辑表类型,rename(表映射),pt(同步附加表)
|
18977
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18978
18540
|
:type TableEditMode: str
|
18979
18541
|
"""
|
18980
18542
|
self._TableName = None
|
@@ -18985,7 +18547,6 @@ class TableItem(AbstractModel):
|
|
18985
18547
|
@property
|
18986
18548
|
def TableName(self):
|
18987
18549
|
"""迁移的表名,大小写敏感
|
18988
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18989
18550
|
:rtype: str
|
18990
18551
|
"""
|
18991
18552
|
return self._TableName
|
@@ -18997,7 +18558,6 @@ class TableItem(AbstractModel):
|
|
18997
18558
|
@property
|
18998
18559
|
def NewTableName(self):
|
18999
18560
|
"""迁移后的表名,当TableEditMode为rename时此项必填,注意此配置与TmpTables互斥,只能使用其中一种
|
19000
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19001
18561
|
:rtype: str
|
19002
18562
|
"""
|
19003
18563
|
return self._NewTableName
|
@@ -19009,7 +18569,6 @@ class TableItem(AbstractModel):
|
|
19009
18569
|
@property
|
19010
18570
|
def TmpTables(self):
|
19011
18571
|
"""迁移临时表,注意此配置与NewTableName互斥,只能使用其中一种。当配置的同步对象为表级别且TableEditMode为pt时此项有意义,针对pt-osc等工具在迁移过程中产生的临时表进行同步,需要提前将可能的临时表配置在这里,否则不会同步任何临时表。示例,如要对t1进行pt-osc操作,此项配置应该为["\_t1\_new","\_t1\_old"];如要对t1进行gh-ost操作,此项配置应该为["\_t1\_ghc","\_t1\_gho","\_t1\_del"],pt-osc与gh-ost产生的临时表可同时配置。
|
19012
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19013
18572
|
:rtype: list of str
|
19014
18573
|
"""
|
19015
18574
|
return self._TmpTables
|
@@ -19021,7 +18580,6 @@ class TableItem(AbstractModel):
|
|
19021
18580
|
@property
|
19022
18581
|
def TableEditMode(self):
|
19023
18582
|
"""编辑表类型,rename(表映射),pt(同步附加表)
|
19024
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19025
18583
|
:rtype: str
|
19026
18584
|
"""
|
19027
18585
|
return self._TableEditMode
|
@@ -19105,10 +18663,8 @@ class TagItem(AbstractModel):
|
|
19105
18663
|
def __init__(self):
|
19106
18664
|
r"""
|
19107
18665
|
:param _TagKey: 标签键
|
19108
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19109
18666
|
:type TagKey: str
|
19110
18667
|
:param _TagValue: 标签值
|
19111
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19112
18668
|
:type TagValue: str
|
19113
18669
|
"""
|
19114
18670
|
self._TagKey = None
|
@@ -19117,7 +18673,6 @@ class TagItem(AbstractModel):
|
|
19117
18673
|
@property
|
19118
18674
|
def TagKey(self):
|
19119
18675
|
"""标签键
|
19120
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19121
18676
|
:rtype: str
|
19122
18677
|
"""
|
19123
18678
|
return self._TagKey
|
@@ -19129,7 +18684,6 @@ class TagItem(AbstractModel):
|
|
19129
18684
|
@property
|
19130
18685
|
def TagValue(self):
|
19131
18686
|
"""标签值
|
19132
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19133
18687
|
:rtype: str
|
19134
18688
|
"""
|
19135
18689
|
return self._TagValue
|
@@ -19288,37 +18842,26 @@ class TradeInfo(AbstractModel):
|
|
19288
18842
|
def __init__(self):
|
19289
18843
|
r"""
|
19290
18844
|
:param _DealName: 交易订单号
|
19291
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19292
18845
|
:type DealName: str
|
19293
18846
|
:param _LastDealName: 上一次交易订单号
|
19294
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19295
18847
|
:type LastDealName: str
|
19296
18848
|
:param _InstanceClass: 实例规格,包括:micro、small、medium、large、xlarge、2xlarge等
|
19297
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19298
18849
|
:type InstanceClass: str
|
19299
18850
|
:param _TradeStatus: 计费任务状态, normal(计费或待计费)、resizing(变配中)、reversing(冲正中,比较短暂的状态)、isolating(隔离中,比较短暂的状态)、isolated(已隔离)、offlining(下线中)、offlined(已下线)、notBilled(未计费)
|
19300
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19301
18851
|
:type TradeStatus: str
|
19302
18852
|
:param _ExpireTime: 到期时间,格式为"yyyy-mm-dd hh:mm:ss"
|
19303
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19304
18853
|
:type ExpireTime: str
|
19305
18854
|
:param _OfflineTime: 下线时间,格式为"yyyy-mm-dd hh:mm:ss"
|
19306
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19307
18855
|
:type OfflineTime: str
|
19308
18856
|
:param _IsolateTime: 隔离时间,格式为"yyyy-mm-dd hh:mm:ss"
|
19309
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19310
18857
|
:type IsolateTime: str
|
19311
18858
|
:param _OfflineReason: 下线原因
|
19312
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19313
18859
|
:type OfflineReason: str
|
19314
18860
|
:param _IsolateReason: 隔离原因
|
19315
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19316
18861
|
:type IsolateReason: str
|
19317
18862
|
:param _PayType: 付费类型,包括:postpay(后付费)、prepay(预付费)
|
19318
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19319
18863
|
:type PayType: str
|
19320
18864
|
:param _BillingType: 任务计费类型,包括:billing(计费)、notBilling(不计费)、 promotions(促销活动中)
|
19321
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19322
18865
|
:type BillingType: str
|
19323
18866
|
"""
|
19324
18867
|
self._DealName = None
|
@@ -19336,7 +18879,6 @@ class TradeInfo(AbstractModel):
|
|
19336
18879
|
@property
|
19337
18880
|
def DealName(self):
|
19338
18881
|
"""交易订单号
|
19339
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19340
18882
|
:rtype: str
|
19341
18883
|
"""
|
19342
18884
|
return self._DealName
|
@@ -19348,7 +18890,6 @@ class TradeInfo(AbstractModel):
|
|
19348
18890
|
@property
|
19349
18891
|
def LastDealName(self):
|
19350
18892
|
"""上一次交易订单号
|
19351
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19352
18893
|
:rtype: str
|
19353
18894
|
"""
|
19354
18895
|
return self._LastDealName
|
@@ -19360,7 +18901,6 @@ class TradeInfo(AbstractModel):
|
|
19360
18901
|
@property
|
19361
18902
|
def InstanceClass(self):
|
19362
18903
|
"""实例规格,包括:micro、small、medium、large、xlarge、2xlarge等
|
19363
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19364
18904
|
:rtype: str
|
19365
18905
|
"""
|
19366
18906
|
return self._InstanceClass
|
@@ -19372,7 +18912,6 @@ class TradeInfo(AbstractModel):
|
|
19372
18912
|
@property
|
19373
18913
|
def TradeStatus(self):
|
19374
18914
|
"""计费任务状态, normal(计费或待计费)、resizing(变配中)、reversing(冲正中,比较短暂的状态)、isolating(隔离中,比较短暂的状态)、isolated(已隔离)、offlining(下线中)、offlined(已下线)、notBilled(未计费)
|
19375
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19376
18915
|
:rtype: str
|
19377
18916
|
"""
|
19378
18917
|
return self._TradeStatus
|
@@ -19384,7 +18923,6 @@ class TradeInfo(AbstractModel):
|
|
19384
18923
|
@property
|
19385
18924
|
def ExpireTime(self):
|
19386
18925
|
"""到期时间,格式为"yyyy-mm-dd hh:mm:ss"
|
19387
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19388
18926
|
:rtype: str
|
19389
18927
|
"""
|
19390
18928
|
return self._ExpireTime
|
@@ -19396,7 +18934,6 @@ class TradeInfo(AbstractModel):
|
|
19396
18934
|
@property
|
19397
18935
|
def OfflineTime(self):
|
19398
18936
|
"""下线时间,格式为"yyyy-mm-dd hh:mm:ss"
|
19399
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19400
18937
|
:rtype: str
|
19401
18938
|
"""
|
19402
18939
|
return self._OfflineTime
|
@@ -19408,7 +18945,6 @@ class TradeInfo(AbstractModel):
|
|
19408
18945
|
@property
|
19409
18946
|
def IsolateTime(self):
|
19410
18947
|
"""隔离时间,格式为"yyyy-mm-dd hh:mm:ss"
|
19411
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19412
18948
|
:rtype: str
|
19413
18949
|
"""
|
19414
18950
|
return self._IsolateTime
|
@@ -19420,7 +18956,6 @@ class TradeInfo(AbstractModel):
|
|
19420
18956
|
@property
|
19421
18957
|
def OfflineReason(self):
|
19422
18958
|
"""下线原因
|
19423
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19424
18959
|
:rtype: str
|
19425
18960
|
"""
|
19426
18961
|
return self._OfflineReason
|
@@ -19432,7 +18967,6 @@ class TradeInfo(AbstractModel):
|
|
19432
18967
|
@property
|
19433
18968
|
def IsolateReason(self):
|
19434
18969
|
"""隔离原因
|
19435
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19436
18970
|
:rtype: str
|
19437
18971
|
"""
|
19438
18972
|
return self._IsolateReason
|
@@ -19444,7 +18978,6 @@ class TradeInfo(AbstractModel):
|
|
19444
18978
|
@property
|
19445
18979
|
def PayType(self):
|
19446
18980
|
"""付费类型,包括:postpay(后付费)、prepay(预付费)
|
19447
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19448
18981
|
:rtype: str
|
19449
18982
|
"""
|
19450
18983
|
return self._PayType
|
@@ -19456,7 +18989,6 @@ class TradeInfo(AbstractModel):
|
|
19456
18989
|
@property
|
19457
18990
|
def BillingType(self):
|
19458
18991
|
"""任务计费类型,包括:billing(计费)、notBilling(不计费)、 promotions(促销活动中)
|
19459
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19460
18992
|
:rtype: str
|
19461
18993
|
"""
|
19462
18994
|
return self._BillingType
|
@@ -19551,10 +19083,8 @@ class ViewItem(AbstractModel):
|
|
19551
19083
|
def __init__(self):
|
19552
19084
|
r"""
|
19553
19085
|
:param _ViewName: 视图名称
|
19554
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19555
19086
|
:type ViewName: str
|
19556
19087
|
:param _NewViewName: 迁移后的视图名称
|
19557
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19558
19088
|
:type NewViewName: str
|
19559
19089
|
"""
|
19560
19090
|
self._ViewName = None
|
@@ -19563,7 +19093,6 @@ class ViewItem(AbstractModel):
|
|
19563
19093
|
@property
|
19564
19094
|
def ViewName(self):
|
19565
19095
|
"""视图名称
|
19566
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19567
19096
|
:rtype: str
|
19568
19097
|
"""
|
19569
19098
|
return self._ViewName
|
@@ -19575,7 +19104,6 @@ class ViewItem(AbstractModel):
|
|
19575
19104
|
@property
|
19576
19105
|
def NewViewName(self):
|
19577
19106
|
"""迁移后的视图名称
|
19578
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19579
19107
|
:rtype: str
|
19580
19108
|
"""
|
19581
19109
|
return self._NewViewName
|